/* AZ Digital — site stylesheet.
   Palette is pulled from the generated still-life set (assets/images/still):
   fog/plaster backdrops, cobalt and marigold objects. Marigold is reserved
   for prices, so a yellow tag always means "this is what it costs". */

:root {
    --fog: #eceee9;
    --plaster: #dcdfd9;
    --ink: #16204a;
    --cobalt: #2b45e0;
    --cobalt-deep: #1f33b0;
    --marigold: #f2b705;
    --slate: #535b6b;
    --rule: #c4c8c0;
    --paper: #f7f8f5;

    --font: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;

    /* Type scale, ratio ~1.25 from 17px body */
    --t-sm: 0.875rem;
    --t-base: 1.0625rem;
    --t-md: 1.3125rem;
    --t-lg: clamp(1.6rem, 1.2rem + 1.4vw, 2.1rem);
    --t-xl: clamp(2.2rem, 1.4rem + 3vw, 3.4rem);
    --t-hero: clamp(2.6rem, 1rem + 6.2vw, 6.2rem);

    --gutter: 16px;
    --wrap: 1240px;
    --space: clamp(4.5rem, 3rem + 6vw, 8.5rem);
}

@media (min-width: 720px) {
    :root { --gutter: 32px; }
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
[id] { scroll-margin-top: 90px; }

body {
    margin: 0;
    background: var(--fog);
    color: var(--ink);
    font-family: var(--font);
    font-size: var(--t-base);
    line-height: 1.55;
    font-feature-settings: "ss01";
    -webkit-font-smoothing: antialiased;
}

body.is-locked { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }

a { color: var(--cobalt); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--cobalt-deep); }

:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 3px; }

h1, h2, h3, h4 { margin: 0; font-weight: 800; letter-spacing: -0.025em; line-height: 1.05; }
h2 { font-size: var(--t-xl); }
h3 { font-size: var(--t-md); letter-spacing: -0.01em; line-height: 1.2; font-weight: 700; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.lede { font-size: var(--t-md); line-height: 1.45; color: var(--ink); max-width: 36em; }
.muted { color: var(--slate); }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.skip {
    position: absolute; left: -9999px; top: 8px; z-index: 100;
    background: var(--ink); color: var(--fog); padding: 10px 16px;
}
.skip:focus { left: 8px; }

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
    min-height: 48px; padding: 0.7em 1.4em;
    border: 2px solid var(--cobalt); border-radius: 999px;
    background: var(--cobalt); color: #fff;
    font: inherit; font-weight: 700; font-size: 1rem; line-height: 1.1;
    text-decoration: none; cursor: pointer;
    transition: background-color .15s, color .15s, border-color .15s;
}
.btn:hover { background: var(--cobalt-deep); border-color: var(--cobalt-deep); color: #fff; }
.btn--line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--ink); border-color: var(--ink); color: var(--fog); }
.btn--block { width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 2rem; }

/* ---------- Price tag (the recurring motif) ---------- */

.tag {
    --hole: 6px;
    position: relative; display: inline-flex; align-items: baseline; gap: 0.3em;
    padding: 0.38em 0.85em 0.38em 1.55em;
    background:
        radial-gradient(circle at 0.75em 50%, var(--fog) var(--hole), transparent calc(var(--hole) + 0.5px)),
        var(--marigold);
    clip-path: polygon(0.6em 0, 100% 0, 100% 100%, 0.6em 100%, 0 50%);
    color: var(--ink); font-weight: 700; font-size: 0.95rem; line-height: 1.2;
    white-space: nowrap;
}
.tag small { font-size: 0.8em; font-weight: 500; }
.on-plaster .tag { background: radial-gradient(circle at 0.75em 50%, var(--plaster) var(--hole), transparent calc(var(--hole) + 0.5px)), var(--marigold); }
.tag--quote { background: radial-gradient(circle at 0.75em 50%, var(--fog) var(--hole), transparent calc(var(--hole) + 0.5px)), var(--paper); box-shadow: inset 0 0 0 1px var(--rule); }

/* ---------- Header ---------- */

.site-head {
    position: sticky; top: 0; z-index: 40;
    background: var(--fog);
    border-bottom: 1px solid transparent;
    transition: border-color .2s;
}
.site-head.is-scrolled { border-bottom-color: var(--rule); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }

.logo img { width: 148px; height: auto; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav > a:not(.btn), .nav-toggle-services {
    display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
    color: var(--ink); text-decoration: none; font-weight: 500; font-size: 1rem;
    background: none; border: 0; font-family: inherit; cursor: pointer; border-radius: 999px;
}
.nav > a:not(.btn):hover, .nav-toggle-services:hover { background: var(--plaster); color: var(--ink); }
.nav > a:not(.btn)[aria-current="page"], .nav-toggle-services.is-current { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.35em; }
.nav-toggle-services svg { margin-left: 6px; transition: transform .2s; }
.nav-toggle-services[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav .btn { margin-left: 10px; min-height: 44px; }

.services-panel {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--rule);
    box-shadow: 0 30px 60px -40px rgba(22, 32, 74, .35);
}
.services-panel[hidden] { display: none; }
.services-panel .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding-block: 32px 40px; min-height: 0; align-items: start; }
.services-panel h2 { font-size: var(--t-md); margin-bottom: 0.4rem; }
.services-panel p { color: var(--slate); font-size: var(--t-sm); margin-bottom: 1rem; max-width: 30em; }
.services-panel ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.services-panel li a {
    display: flex; justify-content: space-between; align-items: center; gap: 12px;
    padding: 12px 0; border-bottom: 1px solid var(--rule);
    color: var(--ink); text-decoration: none; font-weight: 600;
}
.services-panel li a:hover { color: var(--cobalt); }
.services-panel li a[aria-current="page"] { color: var(--cobalt); }
.services-panel .tag { font-size: 0.8rem; }
.services-panel .tag { background: radial-gradient(circle at 0.75em 50%, var(--paper) var(--hole), transparent calc(var(--hole) + 0.5px)), var(--marigold); }
.services-panel .tag--quote { background: radial-gradient(circle at 0.75em 50%, var(--paper) var(--hole), transparent calc(var(--hole) + 0.5px)), var(--fog); }

.menu-btn { display: none; }

@media (max-width: 960px) {
    .menu-btn {
        display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px;
        border: 2px solid var(--ink); border-radius: 999px; background: none;
        font: inherit; font-weight: 700; color: var(--ink); cursor: pointer;
    }
    .nav {
        position: fixed; inset: 76px 0 0 0; z-index: 39;
        flex-direction: column; align-items: stretch; gap: 0;
        padding: 16px var(--gutter) 40px; background: var(--fog); overflow-y: auto;
    }
    .nav:not(.is-open) { display: none; }
    .nav > a:not(.btn), .nav-toggle-services { min-height: 56px; font-size: var(--t-md); border-bottom: 1px solid var(--rule); border-radius: 0; padding: 0; justify-content: space-between; }
    .nav > a:not(.btn):hover, .nav-toggle-services:hover { background: none; }
    .nav .btn { margin: 24px 0 0; min-height: 52px; }
    .services-panel { position: static; box-shadow: none; background: none; border: 0; }
    .services-panel .tag { background: radial-gradient(circle at 0.75em 50%, var(--fog) var(--hole), transparent calc(var(--hole) + 0.5px)), var(--marigold); }
    .services-panel .tag--quote { background: radial-gradient(circle at 0.75em 50%, var(--fog) var(--hole), transparent calc(var(--hole) + 0.5px)), var(--paper); }
    .services-panel .wrap { grid-template-columns: 1fr; padding: 16px 0 8px; gap: 24px; }
}

/* ---------- Home hero ---------- */

.hero { padding-block: clamp(2rem, 1rem + 4vw, 4.5rem) var(--space); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 380px); gap: clamp(24px, 4vw, 64px); align-items: end; }

.hero-lines { list-style: none; margin: 0 0 2.2rem; padding: 0; }
.hero-lines li { display: flex; flex-wrap: wrap; align-items: center; column-gap: 0.4em; row-gap: 0.3rem; }
.hero-lines li + li { margin-top: 0.08em; }
.hero-lines a {
    font-size: var(--t-hero); font-weight: 800; letter-spacing: -0.045em; line-height: 0.98;
    color: var(--ink); text-decoration: none;
}
.hero-lines a:hover { color: var(--cobalt); }
@media (min-width: 600px) { .hero-lines a { white-space: nowrap; } }
.hero-lines .tag { transform: rotate(-4deg); transform-origin: 0 50%; }
.hero-lines li:nth-child(2) .tag { transform: rotate(3deg); }
.hero h1 { font-size: var(--t-md); font-weight: 500; letter-spacing: 0; line-height: 1.45; max-width: 34em; }
.hero h1 strong { font-weight: 700; }

.hero-figure { margin: 0; background: var(--plaster); }
.hero-figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

@media (max-width: 860px) {
    .hero .wrap { grid-template-columns: 1fr; }
    .hero-figure { max-width: 420px; }
    .hero-figure img { aspect-ratio: 5 / 4; }
}

/* One orchestrated moment: the hero lines arrive in order and each tag swings onto its line. */
@media (prefers-reduced-motion: no-preference) {
    .js .hero-lines li { opacity: 0; transform: translateY(0.35em); animation: rise .7s cubic-bezier(.2, .7, .2, 1) forwards; }
    .js .hero-lines li:nth-child(2) { animation-delay: .12s; }
    .js .hero-lines li:nth-child(3) { animation-delay: .24s; }
    .js .hero-lines .tag { animation: swing 1.1s cubic-bezier(.3, 1.6, .5, 1) both; }
    .js .hero-lines li:nth-child(1) .tag { animation-delay: .55s; }
    .js .hero-lines li:nth-child(2) .tag { animation-delay: .67s; --end: 3deg; }
    .js .hero-lines li:nth-child(3) .tag { animation-delay: .79s; }
}
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes swing { from { opacity: 0; transform: rotate(-28deg); } to { opacity: 1; transform: rotate(var(--end, -4deg)); } }

/* ---------- Sections ---------- */

.section { padding-block: var(--space); }
.section--plaster { background: var(--plaster); }
.section--paper { background: var(--paper); }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 1rem + 3vw, 3.5rem); }
.section-head h2 + p { margin-top: 1.1rem; color: var(--slate); font-size: var(--t-md); line-height: 1.45; }

/* Service groups on the home page */
.group { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.group + .group { margin-top: var(--space); }
.group:nth-of-type(even) { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.group:nth-of-type(even) .group-figure { order: 2; }
.group-figure { margin: 0; position: sticky; top: 100px; }
.group-figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--plaster); }
.group h2 { font-size: var(--t-xl); }
.group-intro { margin: 1rem 0 2rem; color: var(--slate); font-size: var(--t-md); line-height: 1.45; max-width: 30em; }

.svc-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.svc-list li { border-bottom: 1px solid var(--rule); }
.svc-list a {
    display: grid; grid-template-columns: 1fr auto; gap: 6px 24px; align-items: center;
    padding: 22px 0; color: var(--ink); text-decoration: none;
}
.svc-list h3 { font-size: var(--t-lg); font-weight: 800; letter-spacing: -0.03em; }
.svc-list p { grid-column: 1; color: var(--slate); margin: 0; max-width: 34em; }
.svc-list .tag { grid-row: 1; grid-column: 2; justify-self: end; }
.svc-list a:hover h3 { color: var(--cobalt); }

@media (max-width: 860px) {
    .group, .group:nth-of-type(even) { grid-template-columns: 1fr; }
    .group:nth-of-type(even) .group-figure { order: 0; }
    .group-figure { position: static; max-width: 420px; }
    .group-figure img { aspect-ratio: 5 / 4; }
    .svc-list a { grid-template-columns: 1fr; }
    .svc-list .tag { grid-row: auto; grid-column: 1; justify-self: start; margin-top: 8px; }
}

/* Plain commitments: what the published pricing actually promises */
.terms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 5vw, 80px); border-top: 2px solid var(--ink); }
.terms div { padding: 24px 0 28px; border-bottom: 1px solid var(--rule); }
.terms h3 { margin-bottom: 0.5rem; }
.terms p { color: var(--slate); max-width: 32em; }
@media (max-width: 720px) { .terms { grid-template-columns: 1fr; } }

/* Process: a real sequence, so it is numbered */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 32px; }
.steps li { counter-increment: step; padding: 22px 0 28px; border-top: 2px solid var(--ink); }
.steps li::before {
    content: counter(step); display: block; margin-bottom: 1.4rem;
    font-size: var(--t-lg); font-weight: 800; color: var(--cobalt); font-variant-numeric: tabular-nums;
}
.steps h3 { margin-bottom: 0.45rem; }
.steps p { color: var(--slate); font-size: 1rem; }

/* FAQ */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(24px, 5vw, 80px); }
.faq-list { border-top: 2px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
    list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px;
    padding: 22px 0; font-size: var(--t-md); font-weight: 700; letter-spacing: -0.01em; line-height: 1.3;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: ""; flex: none; width: 14px; height: 14px; margin-top: 0.35em;
    background: linear-gradient(var(--ink), var(--ink)) center / 100% 2px no-repeat,
                linear-gradient(var(--ink), var(--ink)) center / 2px 100% no-repeat;
    transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 24px; color: var(--slate); max-width: 40em; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } }

/* Closing call to action */
.closing { background: var(--ink); color: var(--fog); padding-block: var(--space); }
.closing .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.closing h2 { font-size: var(--t-xl); color: #fff; }
.closing p { color: #c9cfe6; font-size: var(--t-md); line-height: 1.45; margin-top: 1rem; max-width: 30em; }
.closing .btn { background: var(--marigold); border-color: var(--marigold); color: var(--ink); }
.closing .btn:hover { background: #fff; border-color: #fff; }
.closing .btn--line { background: transparent; border-color: #c9cfe6; color: #fff; }
.closing .btn--line:hover { background: #fff; color: var(--ink); }
.closing-figure { margin: 0; }
.closing-figure img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }
.closing a:not(.btn) { color: #fff; }
@media (max-width: 860px) { .closing .wrap { grid-template-columns: 1fr; } .closing-figure { max-width: 420px; } }

/* ---------- Inner page hero ---------- */

.page-hero { padding-block: clamp(2rem, 1rem + 4vw, 4.5rem) clamp(3rem, 2rem + 4vw, 6rem); }
.page-hero .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.crumb { font-size: var(--t-sm); color: var(--slate); margin-bottom: 1.25rem; }
.crumb a { color: var(--slate); }
.page-hero h1 { font-size: clamp(2.1rem, 1.3rem + 2.6vw, 3.6rem); letter-spacing: -0.035em; line-height: 1.04; max-width: 18em; }
.page-hero h1 + .lede { margin-top: 1.5rem; }
.page-hero .tag { margin-top: 1.75rem; font-size: 1.05rem; }
.page-hero figure { margin: 0; background: var(--plaster); }
.page-hero figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.page-hero--text .wrap { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 860px) {
    .page-hero .wrap { grid-template-columns: 1fr; }
    .page-hero figure { max-width: 420px; }
    .page-hero figure img { aspect-ratio: 5 / 4; }
}

/* Two-column prose block used on service pages */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 80px); }
.split .prose { max-width: 40em; }
.prose p { color: var(--slate); }
.prose h3 { margin: 2rem 0 0.5rem; }
.prose h3:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; color: var(--slate); }
.prose li + li { margin-top: 0.35em; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

/* Definition-style list of what a service covers */
.covers { margin: 0; border-top: 2px solid var(--ink); }
.covers div { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 8px 32px; padding: 22px 0; border-bottom: 1px solid var(--rule); }
.covers dt { font-weight: 700; font-size: var(--t-md); letter-spacing: -0.01em; line-height: 1.3; }
.covers dd { margin: 0; color: var(--slate); max-width: 36em; }
@media (max-width: 720px) { .covers div { grid-template-columns: 1fr; } }

/* ---------- Packages ---------- */

.pkg-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 2rem; }
.pkg-tabs button {
    min-height: 44px; padding: 0 18px; border-radius: 999px; border: 2px solid var(--ink);
    background: transparent; color: var(--ink); font: inherit; font-weight: 600; cursor: pointer;
}
.pkg-tabs button:hover { background: var(--plaster); }
.pkg-tabs button[aria-selected="true"] { background: var(--ink); color: var(--fog); }

.pkg-note { color: var(--slate); margin: 0 0 1.5rem; }

.pkgs {
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr);
    gap: 0; overflow-x: auto; scroll-snap-type: x mandatory;
    border-top: 2px solid var(--ink); border-left: 1px solid var(--rule);
    scrollbar-width: thin;
}
.pkg { scroll-snap-align: start; display: flex; flex-direction: column; padding: 24px 24px 28px; border-right: 1px solid var(--rule); background: var(--paper); }
.pkg h3 { font-size: var(--t-md); }
.pkg-price { margin: 1rem 0 1.25rem; display: flex; align-items: baseline; gap: 6px; }
.pkg-price strong { font-size: var(--t-xl); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.pkg-price span { color: var(--slate); }
.pkg ul { list-style: none; margin: 0 0 1.5rem; padding: 0; flex: 1; font-size: 0.97rem; }
.pkg li { padding: 8px 0 8px 20px; border-top: 1px solid var(--rule); position: relative; }
.pkg li::before { content: ""; position: absolute; left: 0; top: 0.95em; width: 8px; height: 8px; background: var(--cobalt); border-radius: 50%; }
.pkg .btn { width: 100%; }
.pkg-more { margin-top: 1.5rem; }

[role="tabpanel"][hidden] { display: none; }

/* Price index on the pricing page */
.index { width: 100%; border-collapse: collapse; border-top: 2px solid var(--ink); }
.index th, .index td { text-align: left; padding: 16px 12px 16px 0; border-bottom: 1px solid var(--rule); vertical-align: baseline; }
.index thead th { font-size: var(--t-sm); color: var(--slate); font-weight: 500; }
.index tbody th { font-weight: 700; font-size: var(--t-md); }
.index tbody th a { color: var(--ink); text-decoration: none; }
.index tbody th a:hover { color: var(--cobalt); }
.index td:last-child, .index th:last-child { text-align: right; padding-right: 0; }
@media (max-width: 640px) { .index .hide-sm { display: none; } }

/* ---------- Forms ---------- */

.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; font-size: var(--t-sm); margin-bottom: 6px; }
.field input, .field textarea, .field select {
    width: 100%; min-height: 48px; padding: 12px 14px;
    border: 1px solid var(--rule); border-bottom: 2px solid var(--ink); border-radius: 0;
    background: var(--paper); color: var(--ink); font: inherit;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 1px var(--cobalt); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .grid-2 { grid-template-columns: 1fr; } }

.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; margin-bottom: 14px; font-size: 0.85rem; line-height: 1.5; color: var(--slate); }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--cobalt); }
.consent > input { grid-row: 1; grid-column: 1; }
.consent > label:not(.error) { grid-row: 1; grid-column: 2; }
.consent label.error { grid-row: 2; grid-column: 2; margin-top: 0; }
.fineprint { font-size: 0.82rem; color: var(--slate); line-height: 1.55; }
.fineprint p { margin-bottom: 0.7em; }

label.error { display: block; color: #b42318; font-size: 0.85rem; font-weight: 600; margin-top: 6px; }
input.error, textarea.error { border-bottom-color: #b42318 !important; }

.form-status .loader { display: none; margin-top: 12px; }
.form-status .loader img { width: 40px; }
.form-status .success:not(:empty), .form-status .error:not(:empty) { margin-top: 12px; font-weight: 600; }
.form-status .error { color: #b42318; }

/* ---------- Modal ---------- */

.modal { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 16px; }
.modal[hidden] { display: none; }
.modal-scrim { position: absolute; inset: 0; background: rgba(22, 32, 74, .55); }
.modal-card {
    position: relative; width: min(560px, 100%); max-height: calc(100vh - 32px); overflow-y: auto;
    background: var(--fog); padding: clamp(24px, 4vw, 40px);
}
.modal-card h2 { font-size: var(--t-lg); margin-bottom: 0.5rem; padding-right: 40px; }
.modal-card > p { color: var(--slate); margin-bottom: 1.5rem; }
.modal-close {
    position: absolute; top: 12px; right: 12px; width: 44px; height: 44px;
    border: 0; background: none; cursor: pointer; border-radius: 50%; color: var(--ink);
}
.modal-close:hover { background: var(--plaster); }
.modal-pkg { margin: -0.5rem 0 1.25rem; }
.modal-pkg[hidden] { display: none; }

/* ---------- Contact page ---------- */

.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 80px); align-items: start; }
.contact-form { background: var(--paper); padding: clamp(20px, 4vw, 40px); }
.contact-details { margin: 0; border-top: 2px solid var(--ink); }
.contact-details div { padding: 18px 0; border-bottom: 1px solid var(--rule); }
.contact-details dt { font-size: var(--t-sm); color: var(--slate); }
.contact-details dd { margin: 4px 0 0; font-weight: 700; font-size: var(--t-md); line-height: 1.3; }
.contact-details a { color: var(--ink); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* Domain enquiry */
.domain-form { display: flex; gap: 8px; margin-top: 2rem; max-width: 36rem; flex-wrap: wrap; }
.domain-form input {
    flex: 1 1 240px; min-height: 56px; padding: 0 18px; font: inherit; font-size: var(--t-md);
    border: 2px solid var(--ink); border-radius: 999px; background: var(--paper); color: var(--ink);
}
.domain-form .btn { min-height: 56px; }

/* ---------- Legal pages ---------- */

.legal > * { max-width: 46rem; }
.legal h4, .legal h3, .legal h2 { font-size: var(--t-md); margin: 2.25rem 0 0.75rem; }
.legal p, .legal li { color: var(--slate); }
.legal ul { padding-left: 1.2em; }
.legal ul.roman { list-style: none; padding: 0; }
.legal ul.roman > li + li { margin-top: 0.5rem; }

/* ---------- Footer ---------- */

.site-foot { background: var(--ink); color: #c9cfe6; padding-block: 64px 32px; border-top: 1px solid #2a3566; font-size: 0.97rem; }
.closing + .site-foot { padding-top: 0; }
.closing + .site-foot .foot-grid { border-top: 1px solid #2a3566; padding-top: 56px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 32px; }
.site-foot h2 { font-size: 1rem; font-weight: 700; letter-spacing: 0; color: #fff; margin-bottom: 14px; }
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li + li { margin-top: 8px; }
.site-foot a { color: #c9cfe6; text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.foot-logo img { width: 150px; margin-bottom: 18px; }
.foot-contact { font-style: normal; line-height: 1.7; }
.foot-disclaimer { margin-top: 48px; font-size: var(--t-sm); line-height: 1.6; color: #c9cfe6; }
.foot-disclaimer h2 { margin-bottom: 8px; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid #2a3566; font-size: var(--t-sm); }
.foot-base ul { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot-base li + li { margin-top: 0; }
@media (max-width: 960px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

/* Small-print notices, e.g. the Shopify trademark disclaimer */
.disclaimer { padding-block: 0 var(--space); }

/* Thank-you page */
.thanks { min-height: 60vh; display: grid; align-items: center; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* =====================================================================
   Motion and 3D layer (assets/js/motion.js, assets/js/hero3d.js)
   ===================================================================== */

/* Page wipe: covers the page on arrival and on internal navigation. */
.wipe {
    position: fixed; inset: 0; z-index: 100; display: none; place-items: center;
    background: var(--cobalt); pointer-events: none; will-change: transform;
}
.wipe img { width: 120px; filter: brightness(0) invert(1); }
.has-wipe .wipe { display: grid; }

.progress {
    position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 50;
    background: var(--marigold); transform: scaleX(0); transform-origin: 0 50%;
}
.motion-off .progress { display: none; }

.site-head { transition: transform .45s cubic-bezier(.2, .7, .2, 1), border-color .2s; }
.site-head.is-hidden { transform: translateY(-100%); }

/* Split headline words. */
.w { display: inline-block; perspective: 700px; }
.wi { display: inline-block; will-change: transform; }

/* Tilt glare. */
[data-tilt] { position: relative; }
.glare {
    position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; z-index: 2;
    background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .45), transparent 55%);
    mix-blend-mode: soft-light;
}
[data-reveal-img] { overflow: hidden; }
.group-figure[data-tilt] { position: sticky; }
.page-hero figure[data-reveal-img] { overflow: visible; }
.page-hero figure[data-reveal-img] > model-viewer, .page-hero figure[data-tilt] { overflow: hidden; }

/* Cursor ring (fine pointers only, created by motion.js). */
.cursor {
    position: fixed; top: 0; left: 0; z-index: 90; width: 36px; height: 36px; margin: -18px 0 0 -18px;
    border: 1.5px solid #fff; border-radius: 50%; pointer-events: none; mix-blend-mode: difference;
    opacity: 0; transition: opacity .3s, width .35s, height .35s, margin .35s, background-color .35s;
    display: grid; place-items: center;
}
.cursor.is-on { opacity: 1; }
.cursor.is-hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: #fff; }
.cursor.is-drag { width: 84px; height: 84px; margin: -42px 0 0 -42px; background: #fff; }
.cursor.is-text { opacity: 0; }
.cursor-label { color: #000; font-size: 0.8rem; font-weight: 700; }

/* Price tags swing when you point at them. */
@keyframes tag-swing {
    0% { transform: rotate(-4deg); } 30% { transform: rotate(9deg); } 55% { transform: rotate(-7deg); }
    75% { transform: rotate(3deg); } 100% { transform: rotate(-2deg); }
}
.svc-list a:hover .tag, .hero-lines li.is-lit .tag, .services-panel a:hover .tag { animation: tag-swing .9s cubic-bezier(.3, .7, .3, 1) both; transform-origin: 0 50%; }
.hero-lines li.is-lit a { color: var(--cobalt); }

/* ---------- Home hero stage ---------- */
.hero .wrap { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; }
.hero-lines a { font-size: clamp(2.6rem, 0.8rem + 5vw, 5.2rem); }
.hero-stage { position: relative; margin: 0; height: clamp(380px, 62vh, 660px); margin-right: calc(var(--gutter) * -1); }
.hero-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .8s; }
.hero-stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; opacity: 0; transition: opacity .8s; }
.hero-stage.is-ready canvas { opacity: 1; }
.hero-stage.is-ready img { opacity: 0; }
.hero-hint { position: absolute; right: var(--gutter); bottom: 12px; font-size: var(--t-sm); color: var(--slate); opacity: 0; transition: opacity .6s .8s; }
.hero-stage.is-ready .hero-hint { opacity: 1; }
.hero-lines li { cursor: default; }
@media (max-width: 860px) {
    .hero .wrap { grid-template-columns: 1fr; }
    .hero-stage { height: 64vw; min-height: 300px; margin-right: 0; order: -1; }
    .hero-hint { display: none; }
}

/* ---------- Ticker ---------- */
.ticker { overflow: hidden; border-block: 2px solid var(--ink); padding-block: clamp(14px, 2vw, 26px); background: var(--fog); }
.ticker-track { display: flex; width: max-content; align-items: center; will-change: transform; }
.ticker-item {
    display: inline-flex; align-items: center; gap: clamp(20px, 3vw, 44px); padding-right: clamp(20px, 3vw, 44px);
    font-size: clamp(2.4rem, 1.4rem + 4vw, 5.6rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; white-space: nowrap;
    color: var(--ink); text-decoration: none;
}
.ticker-item:nth-child(even) { color: transparent; -webkit-text-stroke: 2px var(--ink); }
.ticker { contain: paint; }
.ticker-item::after {
    content: ""; width: 0.5em; height: 0.5em; border-radius: 50%; background: var(--marigold); flex: none;
}
.ticker-item:nth-child(3n)::after { background: var(--cobalt); border-radius: 0.12em; transform: rotate(12deg); }
.ticker-item:nth-child(3n+1)::after { background: var(--plaster); border-radius: 0; }

/* ---------- Process strip, horizontal on wide screens ---------- */
.steps-section.is-horizontal { overflow: hidden; }
.steps-section.is-horizontal .steps { display: flex; gap: 24px; width: max-content; will-change: transform; }
.steps-section.is-horizontal .steps li {
    flex: 0 0 clamp(300px, 28vw, 400px); min-height: 360px; padding: 32px; border-top: 0;
    background: var(--paper); display: flex; flex-direction: column;
}
.steps-section.is-horizontal .steps li::before {
    font-size: clamp(4rem, 3rem + 3vw, 7rem); line-height: 0.9; margin-bottom: auto; padding-bottom: 2rem;
    color: transparent; -webkit-text-stroke: 2px var(--cobalt);
}
.steps-section.is-horizontal .steps li:nth-child(odd) { background: var(--fog); }

/* ---------- 3D models on service pages ---------- */
.group-figure model-viewer { width: 100%; height: auto; aspect-ratio: 4 / 5; display: block; background: var(--plaster); --poster-color: transparent; --progress-bar-color: var(--cobalt); }
@media (max-width: 860px) { .group-figure model-viewer { aspect-ratio: 5 / 4; } }
.page-hero model-viewer {
    width: 100%; height: auto; aspect-ratio: 4 / 5; display: block; background: var(--plaster);
    --poster-color: transparent; --progress-bar-color: var(--cobalt);
}
.model-hint { margin: 10px 0 0; font-size: var(--t-sm); color: var(--slate); }
@media (max-width: 860px) { .page-hero model-viewer { aspect-ratio: 5 / 4; } }

/* ---------- Disclaimer panel ---------- */
.disclaimer { padding-block: 0 var(--space); }
.disclaimer-card {
    display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px 28px; align-items: start;
    padding: clamp(24px, 3.5vw, 40px); background: var(--paper); border: 1px solid var(--rule); border-left: 6px solid var(--cobalt);
}
.disclaimer-mark {
    width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
    background: var(--cobalt); color: #fff; font-weight: 800; font-size: 1.2rem; font-style: italic; font-family: Georgia, serif;
}
.disclaimer h2 { font-size: var(--t-md); letter-spacing: -0.01em; margin-bottom: 0.6rem; }
.disclaimer p { font-size: 0.97rem; color: var(--slate); max-width: 62em; }
@media (max-width: 560px) { .disclaimer-card { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
    .wipe, .cursor, .progress { display: none !important; }
}
