@import url("./fonts.css?v=20261003b");

/* A wide, rounded display face for the titles (second lines lighter), a clean geometric
   sans for reading and for the small uppercase labels. */
:root {
    --display: 'Unbounded', 'Helvetica Neue', Arial, sans-serif;
    --sans: 'Manrope', 'Helvetica Neue', Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; user-select: none; }

html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    background-color: #000000;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

body {
    font-family: var(--sans);
    color: #ffffff;
    overflow-x: hidden;
    cursor: none;
}

* { cursor: none !important; }

::-webkit-scrollbar { display: none; width: 0; }

#webgl {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
    outline: none;
}
@media (pointer: coarse) { #webgl { height: 100lvh; } }

/* ---- Cursor: dot, thin ring, a credits-style label, blend for contrast ---- */
.cursor-inner {
    position: fixed; top: 0; left: 0;
    width: 4px; height: 4px; background: #ffffff; border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none; z-index: 9999; mix-blend-mode: difference;
    transition: width 0.25s, height 0.25s, border-radius 0.25s, opacity 0.3s;
}
.cursor-outer {
    position: fixed; top: 0; left: 0;
    width: 34px; height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none; z-index: 9998; mix-blend-mode: difference;
    transition: width 0.35s cubic-bezier(0.25, 1, 0.5, 1), height 0.35s cubic-bezier(0.25, 1, 0.5, 1),
                border-color 0.35s, opacity 0.3s;
}
.cursor-label {
    position: fixed; top: 0; left: 0; transform: translate(26px, 14px);
    font: 500 11px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap;
    color: rgba(255, 255, 255, 0.55);
    pointer-events: none; z-index: 9997; mix-blend-mode: difference; transition: opacity 0.3s;
}
body.cursor-hover .cursor-outer { width: 64px; height: 64px; border-color: #ffffff; }
body.cursor-hover .cursor-inner { width: 6px; height: 6px; }
body.cursor-text .cursor-inner { width: 1px; height: 18px; border-radius: 0; }
body.cursor-text .cursor-outer { opacity: 0.35; }
body.cursor-hidden .cursor-inner, body.cursor-hidden .cursor-outer, body.cursor-hidden .cursor-label { opacity: 0; }
@media (hover: none), (pointer: coarse) {
    .cursor-inner, .cursor-outer, .cursor-label { display: none; }
    * { cursor: auto !important; }
}

/* Until the module has run, the chapter titles are raw text stacked on each other:
   keep them hidden on slow connections rather than show them in a heap. */
html:not(.js-ready) .slide { visibility: hidden; }

.cinematic-container {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 10;
    pointer-events: none;          /* clicks pass through to canvas */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0 60px 40px 60px;
    box-sizing: border-box;
}

/* ---- Header: a serif masthead, credits-style navigation ---- */
.main-header {
    position: relative;
    display: flex; justify-content: space-between; align-items: center;
    width: 100%; height: 70px; z-index: 20; gap: 24px;
    pointer-events: auto;
}
/* Past the stage, pages scroll under the header: give it a smoked glass backing. */
.main-header::before {
    content: ''; position: absolute; top: 0; bottom: 0; left: -100vw; right: -100vw; z-index: -1;
    background: rgba(0, 0, 0, 0.62); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    opacity: 0; transition: opacity 0.4s;
}
body.contact-open .main-header::before { opacity: 1; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: #ffffff; text-decoration: none; }
.brand-mark { display: block; width: 18px; height: 18px; flex: 0 0 18px; }
.brand-mark svg { display: block; width: 100%; height: 100%; }
.brand-text { font: 400 14px/1 var(--display); letter-spacing: -0.02em; }
.header-nav { display: flex; align-items: center; gap: 34px; }
.nav-link {
    position: relative; padding: 6px 0;
    font: 500 12.5px/1 var(--sans); letter-spacing: 0.08em; text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55); text-decoration: none; transition: color 0.4s;
}
.nav-link::after {
    content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
    background: #c9d1dc; transition: width 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-link:hover, .nav-link.is-active { color: #ffffff; }
.nav-link.is-active::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 26px; }
@media (max-width: 1240px) {
    .header-nav { gap: 22px; }
    .header-actions { gap: 16px; }
}
/* Six chapter links plus the social buttons need room: below this width the
   chapters are reached by scrolling, as on phones. */
@media (max-width: 1140px) { .header-nav { display: none; } }
.social-links { display: inline-flex; align-items: center; gap: 8px; }
.social-links a {
    display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.22); color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s, border-color 0.3s, background 0.3s;
}
.social-links a:hover { color: #c9d1dc; border-color: #c9d1dc; background: rgba(201, 209, 220, 0.08); }
.social-links svg { width: 16px; height: 16px; }
.lang-switch { display: inline-flex; align-items: center; font: 500 12px/1 var(--sans); letter-spacing: 0.1em; }
.lang-switch a { padding: 4px 8px; line-height: 1; color: rgba(255, 255, 255, 0.4); text-decoration: none; transition: color 0.3s; }
.lang-switch a + a { border-left: 1px solid rgba(255, 255, 255, 0.2); }
.lang-switch a:hover, .lang-switch a[aria-current] { color: #ffffff; }
.header-counter {
    display: inline-flex; align-items: center; gap: 8px;
    font: 500 12px/1 var(--sans); letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.45);
}
.header-counter #brand-chapter { color: #ffffff; }
.counter-sep { width: 14px; height: 1px; background: rgba(255, 255, 255, 0.3); }
.contact-btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 9px 16px; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 999px;
    color: #ffffff; text-decoration: none; background: transparent;
    font-size: 13.5px; font-weight: 500; letter-spacing: 0.04em;
    transition: border-color 0.4s, background 0.4s;
}
.btn-arrow { font-size: 13px; line-height: 1; transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1); }
.contact-btn:hover { border-color: rgba(255, 255, 255, 0.75); background: rgba(255, 255, 255, 0.06); }
.contact-btn:hover .btn-arrow { transform: translate(2px, -2px); }
.header-progress { position: fixed; top: 70px; left: 0; right: 0; height: 1px; z-index: 6; pointer-events: none; }
.header-progress span {
    display: block; height: 100%; width: 0;
    background: linear-gradient(90deg, rgba(201, 209, 220, 0.85), rgba(201, 209, 220, 0.15));
}

.slide { position: absolute; bottom: 12%; pointer-events: none; }

#slide-1 { left: 0; width: 100%; bottom: 15%; }
#slide-1 .slide-title { margin-left: 60px; }
#slide-1 .desc-row { position: relative; display: flex; width: 100%; }
#slide-1 .col-1 {
    margin-left: 60px;
    width: calc(40vw - 60px);
    max-width: calc(40vw - 60px);
}
#slide-1 .col-2 { display: none; }

#slide-2 { left: calc(50vw + 20px); right: 60px; width: auto; bottom: 12%; }
#slide-2 .slide-desc { max-width: min(60ch, 100%); }   /* the paragraph runs almost as wide as its title */

/* Slide 2: four benefits, icon first */
.benefits { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 260px)); gap: 26px 40px; margin-top: 10px; }
.benefit {
    display: flex; align-items: flex-start; gap: 14px;
    opacity: 0; transform: translateY(14px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.benefit:nth-child(1) { transition-delay: 0.28s; }
.benefit:nth-child(2) { transition-delay: 0.36s; }
.benefit:nth-child(3) { transition-delay: 0.44s; }
.benefit:nth-child(4) { transition-delay: 0.52s; }
.slide.active .benefit { opacity: 1; transform: none; }
.benefit-icon {
    flex: 0 0 30px; width: 30px; height: 30px; border-radius: 7px;
    border: 1px solid rgba(255, 255, 255, 0.35); color: #ffffff;
    display: grid; place-items: center;
}
.benefit-icon svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.benefit p { margin: 0; font-size: 16px; line-height: 1.5; font-weight: 300; color: #d1d5db; }
.benefit strong { display: block; margin-bottom: 3px; font-weight: 500; color: #ffffff; }

/* Slide 4: key figures */
.figures { display: flex; gap: clamp(28px, 4vw, 64px); margin: 28px 0 0; }
.figure {
    opacity: 0; transform: translateY(14px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.figure:nth-child(1) { transition-delay: 0.45s; }
.figure:nth-child(2) { transition-delay: 0.53s; }
.figure:nth-child(3) { transition-delay: 0.61s; }
.slide.active .figure { opacity: 1; transform: none; }
.figure dt { font-family: var(--display); font-size: clamp(32px, 3vw, 46px); font-weight: 400; line-height: 1; letter-spacing: -0.04em; color: #f2f7ff; font-variant-numeric: tabular-nums; }
.figure dd { margin: 10px 0 0; font-size: 13.5px; line-height: 1.5; font-weight: 400; color: #aeb6c4; }

#slide-3 { left: 60px; width: min(620px, 46vw); bottom: 10%; }

#slide-3 .slide-desc { max-width: 52ch; margin-bottom: 26px; }

/* Slide 4: references, text on the right like slide 2 */
#slide-4 { left: calc(50vw + 20px); right: 60px; width: auto; bottom: 12%; }
#slide-4 .slide-desc { max-width: 52ch; }
.clients { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 240px)); gap: 0 40px; margin: 26px 0 0; padding: 0; }
.client {
    display: flex; flex-direction: column; gap: 4px; padding: 14px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    opacity: 0; transform: translateY(14px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}
.client:nth-child(1) { transition-delay: 0.36s; }
.client:nth-child(2) { transition-delay: 0.44s; }
.client:nth-child(3) { transition-delay: 0.52s; }
.client:nth-child(4) { transition-delay: 0.60s; }
.slide.active .client { opacity: 1; transform: none; }
.client strong { font-family: var(--display); font-size: 17px; font-weight: 400; letter-spacing: -0.02em; color: #f2f7ff; }
.client span { font-size: 13.5px; font-weight: 400; color: #aeb6c4; }
.slide-cta {
    display: inline-flex; align-items: center; gap: 24px; margin-top: 22px; padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff; text-decoration: none; font-size: 17.5px; font-weight: 400;
    opacity: 0; transition: opacity 1s ease 0.7s, gap 0.35s, border-color 0.35s;
}
.slide.active .slide-cta { opacity: 1; }
.slide-cta .arrow, .contact-mail .arrow { color: #c9d1dc; }
.slide-cta:hover { gap: 36px; border-color: #ffffff; }

/* Slide 5: key figures */
#slide-5 { left: 60px; max-width: 640px; }
#slide-5 .slide-desc { max-width: 48ch; }
.figures-note {
    margin: 26px 0 0; font: 500 12px/1.4 var(--sans); letter-spacing: 0.12em; text-transform: uppercase;
    color: #aeb6c4; opacity: 0; transition: opacity 1s ease 0.7s;
}
.slide.active .figures-note { opacity: 1; }

.slide-title {
    font-family: var(--display);
    font-size: clamp(36px, 4.3vw, 64px);
    line-height: 1.06;
    font-weight: 400;
    letter-spacing: -0.04em;
    margin-bottom: 22px;
    color: #f2f7ff;
}
.slide-desc {
    font-size: 18px; line-height: 1.7; font-weight: 300;
    color: #d1d5db; letter-spacing: 0.3px;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: 0.3s;
}
.slide.active .slide-desc { opacity: 1; transform: translateY(0); }
/* No word left alone on the last line of a paragraph (browsers that support it). */
.slide-desc, .contact-lead, .portfolio-lead, .faq-item p, .benefit p { text-wrap: pretty; }

/* Title reveal: each line rises out of its own mask with a long exponential ease.
   Transform and opacity only, so it stays on the compositor and silky. */
.slide-title .line, .contact-title .line {
    display: block; overflow: hidden; white-space: nowrap;   /* two lines, never three: see fitTitles() */
    padding: 0.06em 0 0.16em; margin: -0.06em 0 -0.16em;
}
.line-inner {
    display: block; transform: translateY(112%); opacity: 0; filter: blur(12px);
    transition: transform 1.15s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.7s ease-out,
                filter 1.05s cubic-bezier(0.16, 1, 0.3, 1);
}
.line.muted .line-inner { transition-delay: 0.09s; }
.slide.active .slide-title .line-inner, .contact.is-visible .contact-title .line-inner,
.portfolio.is-visible .contact-title .line-inner, .reviews.is-visible .contact-title .line-inner {
    transform: none; opacity: 1; filter: blur(0);
}
.slide-title .line.muted, .contact-title .line.muted { font-weight: 300; color: #b9c1d1; }
.slide.active { pointer-events: auto; }

.story-progress {
    position: fixed; top: 50%; right: 40px; transform: translateY(-50%);
    z-index: 5; pointer-events: none; transition: opacity 0.6s;
}
.story-dashes { display: flex; flex-direction: column; gap: 12px; }
.story-dash { width: 1px; height: 40px; background: rgba(255, 255, 255, 0.15); border-radius: 2px; }
.story-dash-fill { width: 100%; height: 0%; background: #c9d1dc; border-radius: 2px; }

.grid-horizontal-line {
    position: fixed; top: 70px; left: 0; right: 0;
    width: 100%; height: 1px;
    background: rgba(255, 255, 255, 0.065);
    z-index: 5; pointer-events: none;
}

/* ---- Contact chapter: a real section that rises over the fixed 3D stage ---- */
.scroll-stage { height: 860vh; pointer-events: none; }
.grid-horizontal-line { transition: opacity 0.6s; }
body.contact-open .story-progress, body.contact-open .grid-horizontal-line { opacity: 0; }

.contact {
    position: relative; z-index: 8;
    min-height: 100vh;
    display: flex; align-items: center;
    padding: 150px 60px 90px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.22) 20%, rgba(0, 0, 0, 0.30) 100%);
}
.contact-inner {
    width: 100%; max-width: 1760px; margin: 0 auto;
    display: grid; grid-template-columns: minmax(300px, 1fr) minmax(0, 600px);
    justify-content: space-between; gap: clamp(40px, 6vw, 130px); align-items: center;
}
.contact-eyebrow {
    display: flex; align-items: center; gap: 14px; margin-bottom: 48px;
    font: 500 12px/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: #cfd6e6;
}
.eyebrow-dot { width: 6px; height: 6px; border-radius: 50%; background: #c9d1dc; }
.contact-title {
    font-family: var(--display);
    font-size: clamp(40px, 4.8vw, 74px); line-height: 1.06; letter-spacing: -0.04em; font-weight: 400;
    color: #f2f7ff; margin-bottom: 40px;
}

.contact-lead { font-size: 19px; line-height: 1.7; font-weight: 300; color: #d1d5db; margin-bottom: 60px; }
.contact-mail {
    display: inline-flex; align-items: center; gap: 30px; padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff; text-decoration: none; font-size: 20px; font-weight: 400; transition: gap 0.35s, border-color 0.35s;
}
.contact-mail:hover { gap: 44px; border-color: #ffffff; }
.arrow { font-size: 1.15em; line-height: 1; }
.contact-lead, .contact-mail, .contact-card {
    opacity: 0; transform: translateY(34px);
    transition: opacity 0.9s cubic-bezier(0.25, 1, 0.5, 1) 0.2s, transform 0.9s cubic-bezier(0.25, 1, 0.5, 1) 0.2s;
}
.contact-mail { transition-delay: 0.3s; }
.contact-card { transition-delay: 0.35s; }
.contact.is-visible .contact-lead, .contact.is-visible .contact-mail, .contact.is-visible .contact-card {
    opacity: 1; transform: none;
}

/* The card. By default a CSS glass; when the 3D slab is active (body.has-glass-card)
   the CSS body turns transparent and the WebGL glass shows through behind the fields. */
.contact-card {
    position: relative; width: 100%; max-width: 600px; justify-self: end;
    border-radius: 30px; padding: 40px 44px 38px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.015));
    -webkit-backdrop-filter: blur(20px) saturate(160%); backdrop-filter: blur(20px) saturate(160%);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
body.has-glass-card .contact-card {
    border-color: transparent; background: transparent;
    -webkit-backdrop-filter: none; backdrop-filter: none;
    box-shadow: none;
}
/* Specular rim on top of the 3D glass: a bright hairline that fades along the edge. */
body.has-glass-card .contact-card::before {
    content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
    padding: 1px; -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.08) 28%,
                                rgba(255, 255, 255, 0.04) 60%, rgba(255, 255, 255, 0.35) 100%);
}
body.has-glass-card .contact-card::after {
    content: ''; position: absolute; inset: 1px; border-radius: inherit; pointer-events: none;
    background: radial-gradient(120% 80% at 18% 0%, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0) 55%);
}
.contact-card > * { position: relative; z-index: 1; }
.card-head {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px;
    font: 500 12px/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: #d7deea;
}
.card-head .arrow { font-size: 20px; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 32px; }
.field { display: flex; flex-direction: column; gap: 10px; }
.field-wide { grid-column: 1 / -1; }
.field-label { font: 500 13.5px/1 var(--sans); letter-spacing: 0.04em; color: #dfe6f3; }
.field-label em { font-style: normal; color: #c9d1dc; }
.field-label small { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: #8d97ab; margin-left: 8px; }
.field input, .field textarea {
    width: 100%; background: transparent; border: 0; border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.20);
    padding: 6px 0 12px; color: #ffffff; outline: none; -webkit-appearance: none; appearance: none;
    font: 300 17px/1.4 var(--sans); transition: border-color 0.3s;
    user-select: text; -webkit-user-select: text;
}
.field textarea { min-height: 104px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: #8b94a6; }
.field input:focus, .field textarea:focus { border-bottom-color: #ffffff; }
.field input:-webkit-autofill { -webkit-box-shadow: 0 0 0 1000px #0b0b10 inset; -webkit-text-fill-color: #ffffff; }
.card-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 34px; }
.card-note { font-size: 12px; line-height: 1.7; color: #b3bccb; letter-spacing: 0.3px; }
.pill-btn {
    display: inline-flex; align-items: center; gap: 18px; padding: 16px 26px; border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.55); background: rgba(255, 255, 255, 0.04); color: #ffffff;
    font: 500 14.5px/1 var(--sans); letter-spacing: 0.2px;
    transition: background 0.3s, color 0.3s, transform 0.3s, border-color 0.3s;
}
.pill-btn .arrow { font-size: 16px; }
.pill-btn:hover { background: #ffffff; color: #000000; border-color: #ffffff; transform: translateY(-2px); }
@media (max-width: 1000px) {
    .contact { padding: 120px 24px 60px; }
    .contact-inner { grid-template-columns: 1fr; gap: 56px; }
    .contact-card { justify-self: stretch; max-width: none; padding: 32px 26px; }
    .field-grid { grid-template-columns: 1fr; gap: 24px; }
    .card-foot { flex-direction: column; align-items: flex-start; }
}

/* ---- Portfolio: masonry grid, category filters, full-screen viewer ---- */
.portfolio {
    position: relative; z-index: 8;
    padding: 150px 60px 120px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.45) 14%, rgba(0, 0, 0, 0.55) 100%);
}
.portfolio-inner { width: 100%; max-width: 1760px; margin: 0 auto; }
.portfolio-head {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
    gap: 32px 60px; align-items: end; margin-bottom: 44px;
}
.portfolio-head .contact-title { margin-bottom: 0; }
.portfolio-lead, .portfolio-filters { opacity: 0; transform: translateY(24px);
    transition: opacity 0.9s cubic-bezier(0.25, 1, 0.5, 1), transform 0.9s cubic-bezier(0.25, 1, 0.5, 1); }
.portfolio-lead { font-size: 19px; line-height: 1.7; font-weight: 300; color: #d1d5db; transition-delay: 0.2s; }
.portfolio-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; transition-delay: 0.3s; }
.tile {
    opacity: 0; transform: translateY(40px) scale(0.97);
    transition: opacity 1.1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
}
.tile.is-in { opacity: 1; transform: none; }
.tile-media { background: linear-gradient(110deg, #0a0e17 30%, #141a28 50%, #0a0e17 70%) 0 0 / 300% 100%; animation: tile-wait 1.6s linear infinite; }
.tile-media:has(img.is-loaded), .tile.is-placeholder .tile-media { animation: none; }
@keyframes tile-wait { to { background-position: -150% 0; } }
.tile-media img { opacity: 0; }
.tile-media img.is-loaded { opacity: 1; }
.portfolio.is-visible .portfolio-lead, .portfolio.is-visible .portfolio-filters {
    opacity: 1; transform: none;
}
.portfolio-filter {
    padding: 11px 18px; border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.03);
    font: 500 12px/1 var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7);
    transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.portfolio-filter:hover { border-color: rgba(255, 255, 255, 0.5); color: #ffffff; }
.portfolio-filter.is-active { border-color: #c9d1dc; background: rgba(201, 209, 220, 0.10); color: #ffffff; }

.portfolio-grid { list-style: none; margin: 0; padding: 0; display: flex; align-items: flex-start; gap: 16px; transition: opacity 0.18s; }
.portfolio-col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 16px; margin: 0; padding: 0; list-style: none; }
.portfolio-grid.is-filtering { opacity: 0; }
.tile { margin: 0; list-style: none; }
.tile[hidden] { display: none; }
.tile-btn {
    position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 14px;
    overflow: hidden; background: none; color: inherit; text-align: left;
}
.tile-media { position: relative; display: block; width: 100%; overflow: hidden; border-radius: 14px; }
.tile-media img, .tile-media video {
    display: block; width: 100%; height: auto; object-fit: cover;
    transition: opacity 0.7s ease, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), filter 0.6s;
}
.tile-media[style*="aspect-ratio"] img, .tile-media[style*="aspect-ratio"] video { height: 100%; }
.tile-btn:hover .tile-media img, .tile-btn:hover .tile-media video { transform: scale(1.04); filter: brightness(1.08); }
.tile-media-empty { background: linear-gradient(135deg, rgba(31, 86, 224, 0.35), rgba(10, 14, 23, 0.9)); }
.tile-tag {
    position: absolute; left: 12px; bottom: 12px; padding: 7px 11px; border-radius: 999px;
    background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    font: 500 11px/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: #ffffff;
    opacity: 0; transform: translateY(6px); transition: opacity 0.35s, transform 0.35s;
}
.tile-btn:hover .tile-tag, .tile-btn:focus-visible .tile-tag, .tile.is-placeholder .tile-tag { opacity: 1; transform: none; }
.tile-btn:focus-visible { outline: 2px solid #c9d1dc; outline-offset: 3px; }
.tile-play {
    position: absolute; top: 50%; left: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.55); background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.tile-play::after {
    content: ''; position: absolute; top: 50%; left: 50%; margin: -8px 0 0 -5px;
    border-style: solid; border-width: 8px 0 8px 13px; border-color: transparent transparent transparent #ffffff;
}
.tile.is-placeholder .tile-media {
    display: grid; place-items: center;
    background: linear-gradient(135deg, rgba(31, 86, 224, 0.16), rgba(158, 171, 192, 0.05));
    border: 1px dashed rgba(255, 255, 255, 0.16);
}
.tile-empty { font: 500 10px/1 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.4); }

html.lightbox-open { overflow: hidden; }
/* The custom cursor cannot follow the pointer over a video frame: use the system one. */
html.lightbox-open .cursor-inner, html.lightbox-open .cursor-outer, html.lightbox-open .cursor-label { opacity: 0 !important; }
html.lightbox-open .lightbox, html.lightbox-open .lightbox * { cursor: auto !important; }
html.lightbox-open .lightbox button { cursor: pointer !important; }
.lightbox {
    position: fixed; inset: 0; z-index: 9000;
    display: grid; grid-template-columns: 96px minmax(0, 1fr) 96px; align-items: center;
    background: rgba(2, 4, 9, 0.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    opacity: 0; transition: opacity 0.3s;
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lb-stage { grid-column: 2; margin: 0; height: calc(100vh - 150px); display: flex; align-items: center; justify-content: center; }
.lb-stage img, .lb-stage video { max-width: 100%; max-height: 100%; border-radius: 10px; }
.lb-stage iframe { width: min(100%, calc((100vh - 150px) * 16 / 9)); aspect-ratio: 16 / 9; border: 0; border-radius: 10px; }
.lb-close, .lb-prev, .lb-next {
    width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.04); color: #ffffff; font: 400 18px/1 var(--sans);
    transition: border-color 0.3s, background 0.3s;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { border-color: #c9d1dc; background: rgba(201, 209, 220, 0.1); }
.lb-close { position: absolute; top: 22px; right: 24px; font-size: 24px; }
.lb-prev, .lb-next { justify-self: center; }
.lb-prev { grid-column: 1; grid-row: 1; }
.lb-next { grid-column: 3; grid-row: 1; }
.lb-stage { grid-row: 1; }
.lb-caption {
    position: absolute; left: 0; right: 0; bottom: 26px; text-align: center; white-space: pre;
    font: 500 12px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6);
}
@media (max-width: 900px) {
    .portfolio { padding: 110px 24px 80px; }
    .portfolio-head { grid-template-columns: 1fr; margin-bottom: 30px; }
    .portfolio-lead { font-size: 17px; }
    .portfolio-filters { flex-wrap: nowrap; overflow-x: auto; margin: 0 -24px 24px; padding: 0 24px; scrollbar-width: none; }
    .portfolio-filters::-webkit-scrollbar { display: none; }
    .portfolio-filter { flex: 0 0 auto; }
    .portfolio-grid, .portfolio-col { gap: 10px; }
    .tile-tag { left: 8px; bottom: 8px; padding: 6px 8px; font-size: 10px; }
    .tile-play { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
    .lightbox { grid-template-columns: 0 minmax(0, 1fr) 0; }
    .lb-stage { padding: 0 12px; height: calc(100vh - 190px); }
    .lb-prev, .lb-next { position: absolute; bottom: 60px; }
    .lb-prev { left: calc(50% - 64px); }
    .lb-next { right: calc(50% - 64px); }
    .lb-caption { bottom: 24px; }
}

/* ---- Client reviews: cards, average, and the form to leave one ---- */
.reviews {
    position: relative; z-index: 8; padding: 120px 60px 110px;
    background: rgba(0, 0, 0, 0.55);
}
.reviews-inner { width: 100%; max-width: 1760px; margin: 0 auto; }
.reviews-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px 60px; flex-wrap: wrap; margin-bottom: 44px; }
.reviews-head .contact-title { margin-bottom: 0; }
.reviews-summary { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.reviews-average { font-family: var(--display); font-size: 54px; font-weight: 400; line-height: 1; letter-spacing: -0.04em; color: #f2f7ff; }
.reviews-count { font-size: 14.5px; color: #aeb6c4; }
.review-stars { display: inline-flex; gap: 2px; font-size: 16px; letter-spacing: 0; color: rgba(255, 255, 255, 0.18); }
.review-stars .on { color: #e4e9f0; }
.review-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 16px; }
.review-card {
    display: flex; flex-direction: column; gap: 18px; padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 18px;
    background: rgba(255, 255, 255, 0.03); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.review-card[hidden] { display: none; }
.review-empty { grid-column: 1 / -1; align-items: flex-start; border-style: dashed; }
.review-text { margin: 0; font-size: 17.5px; line-height: 1.65; font-weight: 300; color: #e3e8f2; }
.review-meta { margin: auto 0 0; display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: #8d97ab; }
.review-meta strong { font-size: 15.5px; font-weight: 500; color: #f2f7ff; }
.review-translate {
    align-self: flex-start; margin: -6px 0 0; padding: 0; border: 0; background: none;
    font: 500 12.5px/1.4 var(--sans); color: #8d97ab;
    text-decoration: underline; text-decoration-color: rgba(141, 151, 171, 0.45); text-underline-offset: 3px;
    transition: color 0.3s;
}
.review-translate:hover { color: #e4e9f0; }
.reviews-head, .review-grid, .reviews-actions, .reviews-note {
    opacity: 0; transform: translateY(24px);
    transition: opacity 0.9s cubic-bezier(0.25, 1, 0.5, 1), transform 0.9s cubic-bezier(0.25, 1, 0.5, 1);
}
.review-grid { transition-delay: 0.15s; }
.reviews-actions { transition-delay: 0.25s; }
.reviews-note { transition-delay: 0.3s; }
.reviews.is-visible .reviews-head, .reviews.is-visible .review-grid,
.reviews.is-visible .reviews-actions, .reviews.is-visible .reviews-note { opacity: 1; transform: none; }
.reviews-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 34px; }
.reviews-more { padding: 10px 0; border: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.35); background: none; color: #ffffff; font: 400 15.5px/1 var(--sans); }
.reviews-more:hover { border-color: #c9d1dc; }
.reviews-note { margin: 22px 0 0; max-width: 70ch; font-size: 13px; line-height: 1.6; color: #8d97ab; }
.reviews-note a { color: #cfd6e6; }

/* The form opens in a native dialog, in the top layer above the custom cursor:
   the system cursor takes over there. */
html.dialog-open { overflow: hidden; }
.review-dialog {
    position: fixed; inset: 0; margin: auto; height: fit-content; overflow-y: auto;
    width: min(620px, calc(100% - 32px)); max-height: calc(100% - 32px); padding: 34px 32px 30px;
    border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 22px;
    background: #070a12; color: #f2f7ff; box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
}
.review-dialog::backdrop { background: rgba(2, 4, 9, 0.75); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.review-dialog, .review-dialog * { cursor: auto !important; }
.review-dialog button, .review-dialog label, .review-dialog select { cursor: pointer !important; }
.review-dialog input[type="text"], .review-dialog textarea { cursor: text !important; }
.review-dialog .card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px;
    font: 500 12px/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: #d7deea; }
.dialog-close { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.3); background: none; color: #fff; font-size: 20px; line-height: 1; }
.dialog-close:hover { border-color: #c9d1dc; }
.rating-input { margin: 0 0 26px; padding: 0; border: 0; }
.rating-input legend { margin-bottom: 10px; padding: 0; }
.rating-stars { display: inline-flex; flex-direction: row-reverse; gap: 4px; }
.rating-stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rating-stars label { font-size: 30px; line-height: 1; color: rgba(255, 255, 255, 0.2); transition: color 0.2s, transform 0.2s; }
.rating-stars input:checked ~ label, .rating-stars label:hover, .rating-stars label:hover ~ label { color: #c9d1dc; }
.rating-stars label:hover { transform: scale(1.12); }
.rating-stars input:focus-visible + label { outline: 2px solid #c9d1dc; outline-offset: 2px; border-radius: 4px; }
.field select {
    width: 100%; background: transparent; border: 0; border-radius: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.20);
    padding: 6px 0 12px; color: #ffffff; outline: none; -webkit-appearance: none; appearance: none;
    font: 300 17px/1.4 var(--sans);
    background-image: linear-gradient(45deg, transparent 50%, #aeb6c4 50%), linear-gradient(-45deg, transparent 50%, #aeb6c4 50%);
    background-position: right 6px top 14px, right 0 top 14px; background-size: 6px 6px; background-repeat: no-repeat;
}
.field select option { background: #070a12; color: #ffffff; }
.consent { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.5; color: #b3bccb; }
.consent input { margin-top: 3px; accent-color: #c9d1dc; width: 16px; height: 16px; flex: 0 0 16px; }
@media (max-width: 900px) {
    .reviews { padding: 90px 24px 80px; }
    .reviews-average { font-size: 42px; }
    .review-grid { grid-template-columns: 1fr; }
    .review-card { padding: 22px; }
    .review-dialog { padding: 26px 20px 22px; }
    .review-dialog .field-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px), (max-aspect-ratio: 4/5) {
    #slide-1 .slide-desc { line-height: 1.5; }
}

/* ---- FAQ: a quiet accordion ---- */
.faq { position: relative; z-index: 8; padding: 110px 60px 110px; background: rgba(0, 0, 0, 0.55); }
.faq-inner { width: 100%; max-width: 1760px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 820px); gap: 40px 80px; align-items: start; }
.faq-head .contact-title { margin-bottom: 0; }
/* How a booking goes, in four steps, under the FAQ title. */
.process { margin-top: 56px; max-width: 470px; }
.process-label { margin: 0 0 24px; font: 500 12px/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: #8d97ab; }
.process-steps { list-style: none; margin: 0; padding: 0; }
.process-steps li {
    position: relative; display: grid; grid-template-columns: 42px 1fr; gap: 0 20px; padding-bottom: 26px;
    opacity: 0; transform: translateY(14px);
    transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.process-steps li:last-child { padding-bottom: 0; }
.process-steps li:nth-child(1) { transition-delay: 0.3s; }
.process-steps li:nth-child(2) { transition-delay: 0.4s; }
.process-steps li:nth-child(3) { transition-delay: 0.5s; }
.process-steps li:nth-child(4) { transition-delay: 0.6s; }
.faq.is-visible .process-steps li { opacity: 1; transform: none; }
/* a hairline links each step to the next */
.process-steps li:not(:last-child)::before {
    content: ''; position: absolute; left: 21px; top: 48px; bottom: 6px; width: 1px;
    background: linear-gradient(rgba(201, 209, 220, 0.45), rgba(201, 209, 220, 0.06));
}
.process-num {
    display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
    border: 1px solid rgba(201, 209, 220, 0.4); font: 400 12px/1 var(--display); letter-spacing: -0.02em; color: #e4e9f0;
}
.process-steps strong { display: block; margin: 4px 0 8px; font: 400 16px/1.2 var(--display); letter-spacing: -0.02em; color: #f2f7ff; }
.process-steps p { margin: 0; font-size: 15.5px; line-height: 1.6; font-weight: 300; color: #aeb6c4; text-wrap: pretty; }
.faq-list { border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.faq-item { border-top: 1px solid rgba(255, 255, 255, 0.12); }
.faq-item summary {
    display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0;
    list-style: none; font-size: 20.5px; font-weight: 500; line-height: 1.35; color: #f2f7ff; transition: color 0.3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: #ffffff; }
.faq-icon { position: relative; flex: 0 0 30px; width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.3); transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s; }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; top: 50%; left: 50%; width: 11px; height: 1.5px; margin: -0.75px 0 0 -5.5px; background: #ffffff; }
.faq-icon::after { transform: rotate(90deg); }
.faq-item[open] .faq-icon { transform: rotate(45deg); border-color: #c9d1dc; }
.faq-item[open] .faq-icon::before, .faq-item[open] .faq-icon::after { background: #c9d1dc; }
.faq-item p { margin: 0; padding: 0 60px 26px 0; font-size: 17.5px; line-height: 1.7; font-weight: 300; color: #c7cedb; }
.faq-head, .faq-list { opacity: 0; transform: translateY(24px); transition: opacity 0.9s cubic-bezier(0.25, 1, 0.5, 1), transform 0.9s cubic-bezier(0.25, 1, 0.5, 1); }
.faq-list { transition-delay: 0.15s; }
.faq.is-visible .faq-head, .faq.is-visible .faq-list { opacity: 1; transform: none; }
.faq.is-visible .contact-title .line-inner { transform: none; opacity: 1; filter: blur(0); }
@media (max-width: 900px) {
    .faq { padding: 80px 24px; }
    .faq-inner { grid-template-columns: 1fr; }
    .faq-item summary { font-size: 18px; padding: 20px 0; }
    .faq-item p { padding-right: 0; font-size: 16.5px; }
    .process { margin: 40px 0 16px; max-width: none; }
}

/* Form sending state and honeypot */
.hidden-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { margin: 18px 0 0; font-size: 14px; line-height: 1.5; color: #cfd6e6; }
.form-status:empty { display: none; }
.form-status[data-state="sent"] { color: #c9d1dc; }
.form-status[data-state="error"] { color: #ffb4a6; }
.pill-btn:disabled { opacity: 0.5; pointer-events: none; }

/* ---- Mini footer: hairline, quiet, technical ---- */
.contact-footer {
    position: absolute; left: 60px; right: 60px; bottom: 0;
    display: flex; justify-content: space-between; align-items: center; gap: 24px;
    padding: 18px 0 20px; border-top: 1px solid rgba(255, 255, 255, 0.06);
    font: 500 11px/1 var(--sans); letter-spacing: 0.12em; text-transform: uppercase;
    color: rgba(255, 255, 255, 0.32);
    opacity: 0; transition: opacity 1s ease 0.6s;
}
.contact.is-visible .contact-footer { opacity: 1; }
.contact-footer a { color: inherit; text-decoration: none; transition: color 0.3s; }
.contact-footer a:hover { color: rgba(255, 255, 255, 0.8); }
.footer-spec { color: rgba(255, 255, 255, 0.22); }
@media (max-width: 1000px) {
    .contact-footer { left: 24px; right: 24px; flex-wrap: wrap; gap: 10px 24px; }
    .footer-spec { display: none; }
}

/* ============================================================================
   Portrait / narrow screens: stacked composition. Text on top with the 3D
   object below on slides 1, 3 and 5; object on top, text below on slides 2 and 4
   (the camera framing in cameraFrame() follows the same alternation).
   ============================================================================ */
@media (max-width: 900px), (max-aspect-ratio: 4/5) {
    .cinematic-container { padding: 0 24px 24px; }
    .story-progress { right: 12px; }
    .slide, #slide-1, #slide-2, #slide-3, #slide-4, #slide-5 { left: 24px; right: 24px; width: auto; max-width: none; bottom: auto; }
    #slide-1, #slide-3, #slide-5 { top: 98px; bottom: auto; }
    #slide-2, #slide-4 { bottom: 6%; top: auto; }
    #slide-1 .slide-title, #slide-2 .slide-title, .slide-title {
        margin-left: 0; margin-bottom: 14px;
        font-size: clamp(28px, 8.2vw, 50px); letter-spacing: -0.04em; line-height: 1.06;
    }
    #slide-1 .desc-row { flex-direction: column; }
    #slide-1 .col-1, #slide-1 .col-2 { position: static; margin-left: 0; width: 100%; max-width: 36ch; }
    #slide-1 .col-2 { display: none; }
    .benefits { grid-template-columns: 1fr 1fr; gap: 16px 14px; }
    .benefit { gap: 10px; }
    .benefit-icon { flex-basis: 26px; width: 26px; height: 26px; border-radius: 6px; }
    .benefit-icon svg { width: 14px; height: 14px; }
    .benefit p { font-size: 14.5px; line-height: 1.45; }
    .figures { gap: 22px; margin-top: 20px; }
    .figure dt { font-size: 28px; }
    .figure dd { font-size: 12.5px; }
    #slide-3, #slide-4, #slide-5 { left: 24px; width: auto; max-width: none; }
    .wide-only { display: none; }
    .clients { grid-template-columns: 1fr 1fr; gap: 0 16px; margin-top: 16px; }
    .client { padding: 10px 0; }
    .client strong { font-size: 14px; }
    .client span { font-size: 12.5px; }
    .slide-cta { margin-top: 16px; font-size: 16.5px; }
    .figures-note { margin-top: 18px; font-size: 11px; }
    .slide-desc { font-size: 16.5px; line-height: 1.6; max-width: 36ch; }
    .contact { padding: 110px 24px 100px; }
    .contact-title { font-size: clamp(32px, 9vw, 80px); letter-spacing: -0.04em; }
    .contact-lead { margin-bottom: 40px; }
}
/* Header compaction */
@media (max-width: 820px) {
    .header-nav { display: none; }
    .brand-text { white-space: nowrap; }
    .contact-btn { padding: 8px 14px; font-size: 12px; }
    .header-actions { gap: 12px; }
    .social-links { gap: 6px; }
    .social-links a { width: 30px; height: 30px; }
}
/* phones: the chapter counter gives its room to the Contact button */
@media (max-width: 820px) { .header-counter { display: none; } }
@media (max-width: 420px) {
    /* small phones: the JA mark alone leaves room for the social buttons */
    .brand-text { display: none; }
    .brand-mark { width: 24px; height: 24px; flex-basis: 24px; }
}

/* ---- Preloader ---- */
.loader {
    position: fixed; inset: 0; z-index: 9990; background: #000000;
    display: grid; place-items: center;
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), visibility 0s linear 0.7s;
}
.loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { display: grid; justify-items: center; text-align: center; gap: 20px; width: min(320px, 70vw); }
/* The JA monogram draws itself while the scene loads, then fills in. */
.loader-mark { width: 64px; height: 64px; margin-bottom: 6px; overflow: visible; }
.loader-mark path {
    fill: #ffffff; fill-opacity: 0; fill-rule: evenodd;
    stroke: #ffffff; stroke-width: 7; stroke-linejoin: round;
    stroke-dasharray: 1; stroke-dashoffset: 1;
    animation: mark-draw 1.6s cubic-bezier(0.65, 0, 0.35, 1) forwards, mark-fill 0.8s ease 1.4s forwards;
}
.loader-mark path:nth-child(2) { animation-delay: 0.25s, 1.5s; }
.loader-mark path:nth-child(3) { animation-delay: 0.45s, 1.6s; }
.loader-mark path:nth-child(4) { animation-delay: 0.6s, 1.7s; }
@keyframes mark-draw { to { stroke-dashoffset: 0; } }
@keyframes mark-fill { to { fill-opacity: 1; stroke-opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .loader-mark path { animation: none; stroke-dashoffset: 0; fill-opacity: 1; } }
.loader-value {
    font-family: var(--display); font-size: clamp(48px, 6.5vw, 84px); font-weight: 300; line-height: 1; letter-spacing: -0.05em;
    color: #ffffff; font-variant-numeric: tabular-nums;
}
.loader-unit { font-size: 0.4em; letter-spacing: 0; margin-left: 0.1em; color: rgba(255, 255, 255, 0.5); }
.loader-bar { width: 100%; height: 1px; background: rgba(255, 255, 255, 0.12); overflow: hidden; }
.loader-bar span { display: block; width: 100%; height: 100%; background: #ffffff; transform: scaleX(0); transform-origin: left center; }
.loader-hint { font-size: 12px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.35); }
body.is-loading { overflow: hidden; }
