/* ==========================================================================
   CE Marking — monochrome editorial theme with motion
   ========================================================================== */
:root {
    --black: #000;
    --ink: #111;
    --ink-soft: #5c5c5c;
    --paper: #fff;
    --warm: #f4f1eb;
    --line: #e7e5e0;
    --line-dark: rgba(255, 255, 255, .14);
    --radius: 14px;
    --radius-lg: 22px;
    --display: "Inter Tight", "Inter", system-ui, sans-serif;
    --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --serif: "Instrument Serif", Georgia, serif;
    --ease: cubic-bezier(.22, .61, .36, 1);
    --wrap: 1240px;
    --header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font: 400 16px/1.6 var(--sans);
    color: var(--ink);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.04; letter-spacing: -.035em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: 1.3rem; letter-spacing: -.02em; font-weight: 500; }
p { margin: 0 0 1em; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; color: #000; padding: 8px 14px; z-index: 200; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.wrap--narrow { max-width: 780px; }

.eyebrow { font: 500 .8rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 1.25rem; }
.lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 60ch; }

/* Buttons */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    padding: .9em 1.6em; border-radius: 6px; border: 1px solid transparent;
    font: 500 .92rem/1 var(--sans); letter-spacing: .02em; text-decoration: none; cursor: pointer;
    transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--white { background: #fff; color: #000; }
.btn--white:hover { background: #e9e9e9; }
.btn--black, .btn--primary, .btn--accent { background: #000; color: #fff; }
.btn--black:hover, .btn--primary:hover, .btn--accent:hover { background: #2a2a2a; }
.btn--line { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn--line:hover { background: rgba(255, 255, 255, .1); }
.btn--lg { padding: 1.05em 1.9em; font-size: .98rem; }
.btn--block { width: 100%; }

/* ------------------------------------------------------------------ Header */
.header { position: sticky; top: 0; z-index: 100; background: #000; color: #fff; }
.header__inner { display: flex; align-items: center; gap: 2rem; height: var(--header-h); padding: 0 clamp(12px, 2vw, 24px); }
.brand { display: flex; align-items: center; gap: .65rem; color: #fff; text-decoration: none; flex: none; }
.brand__mark { position: relative; display: inline-block; width: 26px; height: 26px; }
.brand__mark i { position: absolute; inset: 0; border: 2px solid currentColor; border-radius: 50%; }
.brand__mark i + i { inset: auto -2px -2px auto; width: 11px; height: 11px; border-radius: 0; border-width: 0 2px 2px 0; transform: rotate(-8deg); }
.brand__text { font: 500 1.15rem/1 var(--display); letter-spacing: .08em; }

.nav { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.nav__list { flex: 1; display: flex; justify-content: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav__item { position: relative; }
.nav__link {
    display: inline-flex; align-items: center; gap: .35rem; padding: .55rem .8rem; background: none; border: 0; color: #fff;
    font: 500 .82rem/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; cursor: pointer; opacity: .92;
}
.nav__link:hover, .nav__link.is-active { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }
.chev { width: 12px; height: 12px; transition: transform .2s; }
.nav__item.is-open .chev { transform: rotate(180deg); }
.nav__side { display: flex; align-items: center; gap: 1.5rem; }
.nav__login { font: 500 .82rem/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; color: #fff; text-decoration: none; }
.nav__side .btn { text-transform: uppercase; font-size: .8rem; letter-spacing: .06em; padding: 1.1em 1.9em; }

.mega {
    position: fixed; left: 0; right: 0; top: var(--header-h); padding: 2.5rem clamp(16px, 6vw, 96px) 2.25rem;
    background: #000; border-top: 1px solid var(--line-dark); color: #fff;
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: .25s var(--ease);
}
.nav__item--mega:hover .mega, .nav__item--mega.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 2rem; max-width: var(--wrap); margin: 0 auto; }
.mega__title { font: 500 .75rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: #8d8d8d; margin-bottom: 1rem; }
.mega ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.mega li a { color: #fff; text-decoration: none; font-size: .92rem; opacity: .85; }
.mega li a:hover { opacity: 1; text-decoration: underline; }
.mega__all { display: block; max-width: var(--wrap); margin: 2rem auto 0; color: #fff; font-weight: 500; text-decoration: none; }
.mega small, .drop small { display: block; margin-top: .2rem; font-size: .78rem; color: #9b9b9b; }

/* Simple dropdown: a short list under one menu item */
.drop {
    position: absolute; left: 50%; top: calc(100% + 17px); min-width: 240px; max-width: 340px; padding: .75rem;
    background: #000; border: 1px solid var(--line-dark); color: #fff;
    opacity: 0; visibility: hidden; transform: translate(-50%, -8px); transition: .25s var(--ease);
}
.drop::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; } /* keeps hover alive across the gap */
.nav__item--drop:hover .drop, .nav__item--drop.is-open .drop { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.drop ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; }
.drop a { display: block; padding: .55rem .65rem; color: #fff; text-decoration: none; font-size: .92rem; opacity: .88; }
.drop a:hover { opacity: 1; background: rgba(255, 255, 255, .08); }
.drop .drop__head { font-weight: 600; opacity: 1; border-bottom: 1px solid var(--line-dark); margin-bottom: .35rem; padding-bottom: .75rem; }

.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; }
.nav-toggle span:not(.sr) { position: absolute; left: 11px; right: 11px; height: 1.5px; background: #fff; transition: .25s var(--ease); }
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 26px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1080px) {
    .nav-toggle { display: block; }
    .nav {
        position: fixed; inset: var(--header-h) 0 0 0; flex-direction: column; align-items: stretch; justify-content: flex-start;
        padding: 1.5rem 20px 2rem; background: #000; overflow-y: auto;
        opacity: 0; visibility: hidden; transform: translateY(-10px); transition: .3s var(--ease);
    }
    .nav.is-open { opacity: 1; visibility: visible; transform: none; }
    .nav__list { flex: none; flex-direction: column; }
    .nav__item { border-bottom: 1px solid var(--line-dark); }
    .nav__link { width: 100%; justify-content: space-between; padding: 1.2rem 0; font-size: 1.4rem; letter-spacing: -.01em; text-transform: none; font-family: var(--display); }
    .mega { position: static; display: none; padding: 0 0 1.25rem; border: 0; opacity: 1; visibility: visible; transform: none; }
    .nav__item--mega:hover .mega { display: none; }
    .nav__item--mega.is-open .mega { display: block; }
    .drop { position: static; display: none; min-width: 0; max-width: none; padding: 0 0 1rem; border: 0; opacity: 1; visibility: visible; transform: none; }
    .drop::before { content: none; }
    .nav__item--drop.is-open .drop { display: block; transform: none; }
    .drop a { padding-left: 0; }
    .mega__grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
    .nav__side { flex-direction: column; align-items: stretch; margin-top: 2rem; }
    .nav__login { padding: .5rem 0; }
}

/* ------------------------------------------------------------------ Reveal animations */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ Hero + 3D showcase */
.hero { position: relative; background: #000; color: #fff; padding: clamp(4rem, 9vw, 7.5rem) 0 0; overflow: hidden; }
.hero__copy { text-align: center; position: relative; z-index: 2; will-change: transform, opacity; }
.hero__eyebrow { font: 500 .8rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #9b9b9b; margin-bottom: 1.75rem; }
.hero__title { max-width: 15ch; margin: 0 auto .35em; font-weight: 400; animation: rise 1.1s var(--ease) both; }
.hero__lead { max-width: 58ch; margin: 0 auto; color: #bdbdbd; font-size: clamp(1rem, 1.4vw, 1.15rem); animation: rise 1.1s .12s var(--ease) both; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; margin: 2.25rem 0 1.5rem; animation: rise 1.1s .22s var(--ease) both; }
.hero__highlights { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem 2rem; font-size: .85rem; color: #8d8d8d; animation: rise 1.1s .3s var(--ease) both; }
.hero__highlights li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #fff; margin-right: .6rem; vertical-align: middle; }
@keyframes rise { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

.showcase {
    --card-w: min(620px, 72vw);
    position: relative; height: calc(var(--card-w) * .6 + 130px); margin-top: clamp(2.5rem, 5vw, 4rem);
    perspective: 1400px; perspective-origin: 50% 40%;
    animation: rise 1.4s .35s var(--ease) both;
}
.shot {
    position: absolute; left: 50%; top: 40px; width: var(--card-w); aspect-ratio: 5 / 3;
    border-radius: 10px; overflow: hidden; background: var(--bg, #efe6d6); color: var(--fg, #1b1b1b);
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9);
    transform: translateX(-50%); transform-style: preserve-3d; backface-visibility: hidden; will-change: transform;
    display: flex; flex-direction: column;
}
.shot__photo { width: 100%; height: 100%; object-fit: cover; }
.shot__bar { display: flex; align-items: center; gap: 1rem; padding: .85rem 1.1rem; font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; border-bottom: 1px solid color-mix(in srgb, currentColor 18%, transparent); }
.shot__brand { font-weight: 600; }
.shot__nav { flex: 1; display: flex; justify-content: center; gap: 1.25rem; opacity: .75; }
.shot__nav i { font-style: normal; }
.shot__btn { border: 1px solid currentColor; padding: .35rem .7rem; border-radius: 3px; }
.shot__body { flex: 1; display: grid; grid-template-columns: 1fr 1fr; min-height: 0; }
.shot__text { padding: 1.4rem 1.4rem 1.2rem; display: flex; flex-direction: column; }
.shot__kicker { font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; opacity: .7; margin-bottom: .7rem; }
.shot__title { font: 400 clamp(1.4rem, 3.2vw, 2.5rem)/.98 var(--serif); letter-spacing: -.01em; text-transform: uppercase; margin: 0; }
.shot__summary { margin-top: auto; font-size: .7rem; line-height: 1.45; opacity: .8; max-width: 30ch; margin-bottom: 0; }
.shot__art { position: relative; overflow: hidden; background: var(--art, #9fb8a3); }
.shot__orb { position: absolute; width: 70%; aspect-ratio: 1; left: 15%; top: 18%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0) 60%), var(--orb, #d9c7a8); box-shadow: 0 30px 50px -20px rgba(0, 0, 0, .45); }
.shot__ring { position: absolute; width: 120%; aspect-ratio: 1; right: -60%; bottom: -70%; border-radius: 50%; border: 18px solid rgba(255, 255, 255, .18); }
.shot__code { position: absolute; left: 1rem; bottom: .9rem; font: 600 .75rem/1 var(--sans); letter-spacing: .08em; color: #fff; background: rgba(0, 0, 0, .35); padding: .4rem .6rem; border-radius: 4px; backdrop-filter: blur(4px); }

.shot--1 { --bg: #f1e8d8; --fg: #1d1b18; --art: #b9c9b4; --orb: #e8dcc6; }
.shot--2 { --bg: #1c1d1b; --fg: #f1f0ea; --art: #56624a; --orb: #b8c49b; }
.shot--3 { --bg: #dccab0; --fg: #2a1f16; --art: #b86f4a; --orb: #f0c9a2; }
.shot--4 { --bg: #1a1fa8; --fg: #fff; --art: #0d106a; --orb: #7b82ff; }
.shot--5 { --bg: #e9ede6; --fg: #17201a; --art: #7f9b86; --orb: #d7e3d3; }
.shot--6 { --bg: #2a2420; --fg: #f3e7d3; --art: #a0773b; --orb: #f1c677; }
.shot--7 { --bg: #3a2940; --fg: #f4eaf5; --art: #6d4c73; --orb: #e7b8e6; }
.shot--8 { --bg: #d4cfc5; --fg: #1a1a1a; --art: #3f4a55; --orb: #9fb3c8; }

@media (max-width: 700px) {
    .showcase { --card-w: 84vw; }
    .shot__nav { display: none; }
    .shot__summary { display: none; }
}

/* ------------------------------------------------------------------ Stats */
.stats { background: #000; color: #fff; padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem); }
.hero + .stats { padding-top: 1rem; }
.stats__intro { text-align: center; color: #d4d4d4; margin-bottom: 3.25rem; font-size: 1.05rem; }
.stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 2.5rem 1rem; margin: 0 auto; max-width: 1000px; text-align: center; }
.stats__item { display: flex; flex-direction: column; }
.stats__item dd { order: -1; }
.stats dd { margin: 0; font: 300 clamp(3rem, 6.5vw, 5rem)/1 var(--display); letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.stats dt { margin-top: 1.1rem; font-size: .85rem; color: #d4d4d4; }
@media (max-width: 600px) {
    .stats__grid { grid-template-columns: 1fr 1fr; gap: 2.5rem .75rem; }
    .stats dd { font-size: 2.8rem; }
}

/* ------------------------------------------------------------------ Sections */
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; }
.section--tight { padding: 2rem 0 clamp(4.5rem, 9vw, 8rem); }
.section__head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 3.75rem); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .lead { margin-inline: auto; }
.tone-tint { background: var(--warm); }
.tone-dark { background: #000; color: #fff; }
.tone-dark .lead, .tone-dark .eyebrow { color: #a3a3a3; }
.tone-dark .prose p { color: #bdbdbd; }

/* ------------------------------------------------------------------ Tabbed slider */
.section--slider { overflow: hidden; }
.section--slider .section__head { margin-bottom: 2.25rem; }
.tabslider__tabs { display: flex; justify-content: center; flex-wrap: wrap; gap: .25rem 1.5rem; margin-bottom: 2.75rem; }
.tabslider__tab {
    position: relative; padding: .5rem .1rem; background: none; border: 0; cursor: pointer;
    font: 400 1rem/1.2 var(--sans); color: #3a3a3a;
}
.tabslider__tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: #000; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.tabslider__tab.is-active { color: #000; }
.tabslider__tab.is-active::after { transform: scaleX(1); }
.tabslider__tab.is-active.is-timing::after { animation: tabtimer var(--slide-ms, 6000ms) linear both; }
@keyframes tabtimer { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.tabslider__viewport { overflow: hidden; touch-action: pan-y; }
.tabslider__track { display: flex; gap: clamp(16px, 2.6vw, 36px); transition: transform .8s var(--ease); will-change: transform; }
.slide {
    --slide-w: min(820px, 82vw);
    position: relative; flex: 0 0 var(--slide-w); aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden;
    color: #fff; background: var(--sbg, linear-gradient(135deg, #8b7a62, #3b3127));
    transition: opacity .6s var(--ease), transform .8s var(--ease);
    opacity: .55; transform: scale(.94);
}
.slide.is-active { opacity: 1; transform: none; }
.slide::before { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 70% at 90% 100%, rgba(255, 255, 255, .22), transparent 60%); }
.slide__copy { position: relative; z-index: 2; padding: clamp(1.4rem, 3vw, 2.25rem); max-width: 30rem; }
.slide__copy h3 { font: 400 clamp(1.6rem, 3vw, 2.2rem)/1.05 var(--serif); letter-spacing: 0; margin-bottom: .6rem; }
.slide__copy p { font-size: .95rem; line-height: 1.5; opacity: .92; }
.slide__link { display: inline-block; margin-top: .25rem; color: #fff; font-weight: 500; font-size: .92rem; text-decoration: underline; text-underline-offset: 5px; }
.slide__mock {
    position: absolute; z-index: 1; right: 6%; bottom: -1px; width: min(52%, 430px);
    background: #fff; color: #111; border-radius: 10px 10px 0 0; box-shadow: 0 -20px 60px -20px rgba(0, 0, 0, .5);
    transform: translateY(40px); opacity: 0; transition: transform .9s .15s var(--ease), opacity .9s .15s var(--ease);
}
.slide.is-active .slide__mock { transform: none; opacity: 1; }
.mock__bar { display: flex; align-items: center; gap: 5px; padding: .6rem .8rem; border-bottom: 1px solid var(--line); }
.mock__bar span { width: 7px; height: 7px; border-radius: 50%; background: #d9d9d9; }
.mock__bar em { margin-left: auto; font: 600 .62rem/1 var(--sans); font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: #777; }
.mock__body { padding: 1rem 1rem 1.2rem; }
.mock__head { display: flex; flex-direction: column; margin-bottom: .9rem; }
.mock__head strong { font: 400 1.5rem/1 var(--serif); }
.mock__head span { font-size: .72rem; color: #777; margin-top: .3rem; }
.mock__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: .9rem; }
.mock__grid i { aspect-ratio: 1; border-radius: 5px; background: var(--mock, #e9e1d3); }
.mock__grid i:nth-child(2) { filter: brightness(.92); }
.mock__grid i:nth-child(3) { filter: brightness(.84); }
.mock__row { display: flex; flex-wrap: wrap; gap: 5px; }
.mock__pill { font-size: .62rem; padding: .35rem .55rem; border-radius: 99px; background: #f1f1f1; }
.mock__pill--dark { background: #111; color: #fff; }

.slide--1 { --sbg: linear-gradient(140deg, #b09a78 0%, #5b4b37 100%); --mock: #e9dcc4; }
.slide--2 { --sbg: linear-gradient(140deg, #6f8a6c 0%, #2d3b2c 100%); --mock: #d5e0cf; }
.slide--3 { --sbg: linear-gradient(140deg, #c07a52 0%, #4a2618 100%); --mock: #f1d2bd; }
.slide--4 { --sbg: linear-gradient(140deg, #3c43d6 0%, #0b0d52 100%); --mock: #d7d9ff; }
.slide--5 { --sbg: linear-gradient(140deg, #9a8f7c 0%, #37322a 100%); --mock: #ece5d8; }
.slide--6 { --sbg: linear-gradient(140deg, #555c66 0%, #16191d 100%); --mock: #d9dee5; }
.slide--7 { --sbg: linear-gradient(140deg, #7a5a7f 0%, #2a1a2d 100%); --mock: #eed9ef; }
.slide--8 { --sbg: linear-gradient(140deg, #b8a03e 0%, #3f360f 100%); --mock: #f1e7b8; }
@media (max-width: 700px) {
    .slide { aspect-ratio: 3 / 4; }
    .slide__mock { width: 80%; right: 10%; }
}

/* ------------------------------------------------------------------ Split features */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.split--reverse .split__visual { order: -1; }
.split .section__head { margin-bottom: 1.5rem; }
.split__img { border-radius: var(--radius-lg); }
.panel-art {
    position: relative; overflow: hidden; min-height: clamp(320px, 38vw, 480px); border-radius: var(--radius-lg);
    display: flex; flex-direction: column; justify-content: center; gap: 1rem; padding: clamp(1.5rem, 4vw, 3rem);
    background: linear-gradient(150deg, #2b2b2b, #050505);
}
.tone-tint .panel-art { background: linear-gradient(150deg, #cdbfa7, #6b5b44); }
.panel-art__glow { position: absolute; width: 70%; aspect-ratio: 1; right: -20%; top: -25%; border-radius: 50%; background: radial-gradient(circle, rgba(255, 255, 255, .35), transparent 65%); animation: drift 12s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(-30%, 40%) scale(1.2); } }
.panel-art__row {
    position: relative; display: flex; align-items: center; gap: .9rem; padding: 1.1rem 1.25rem; border-radius: 12px; max-width: 360px;
    background: rgba(255, 255, 255, .96); color: #111; font-weight: 500; box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .6);
    transition: .8s var(--ease); transition-delay: calc(.25s + var(--d) * .15s);
}
.js .panel-art__row { opacity: 0; transform: translateX(-30px); }
.panel-art__row:nth-child(3) { margin-left: 12%; }
.panel-art__row:nth-child(4) { margin-left: 6%; }
.is-in .panel-art__row { opacity: 1; transform: none; }
.panel-art__dot { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #000; color: #fff; font-size: .75rem; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split--reverse .split__visual { order: 0; } }

.ticks { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .8rem; }
.ticks li { position: relative; padding-left: 1.9rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 7px; border: solid currentColor; border-width: 0 0 1.5px 1.5px; transform: rotate(-45deg); }

/* ------------------------------------------------------------------ Carousel */
.carousel__track {
    display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 24px) / 4); gap: 24px;
    overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 4px;
}
.carousel__track::-webkit-scrollbar { display: none; }
.ccard {
    position: relative; scroll-snap-align: start; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden;
    display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem; color: #fff; text-decoration: none;
    background: var(--cbg, #1b1b1b); transition: transform .5s var(--ease);
}
.ccard::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 60% at 20% 10%, rgba(255, 255, 255, .25), transparent 60%); transition: transform 1s var(--ease); }
.ccard:hover::before { transform: scale(1.3) translate(10%, 10%); }
.ccard__num { position: absolute; top: 1.25rem; left: 1.5rem; font: 300 3.5rem/1 var(--display); letter-spacing: -.05em; opacity: .85; }
.ccard__copy { position: relative; }
.ccard__badge { display: inline-block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; opacity: .75; margin-bottom: .5rem; }
.ccard h3 { font-size: 1.35rem; margin-bottom: .45rem; }
.ccard p { font-size: .9rem; line-height: 1.5; opacity: .85; margin: 0; padding-right: 2rem; }
.ccard__arrow { position: absolute; right: 1.4rem; bottom: 1.4rem; font-size: 1.3rem; transition: transform .3s var(--ease); }
.ccard:hover .ccard__arrow { transform: translateX(4px); }
.ccard--1 { --cbg: linear-gradient(160deg, #3d3a35, #0d0c0b); }
.ccard--2 { --cbg: linear-gradient(160deg, #6f7f69, #1d2419); }
.ccard--3 { --cbg: linear-gradient(160deg, #a58663, #2e2217); }
.ccard--4 { --cbg: linear-gradient(160deg, #3f4c66, #0f131c); }
.ccard--5 { --cbg: linear-gradient(160deg, #8b5e4b, #2a1811); }
.ccard--6 { --cbg: linear-gradient(160deg, #5a5a5a, #111); }
.carousel__controls { display: flex; align-items: center; justify-content: space-between; margin-top: 1.75rem; }
.carousel__dots { flex: 1; display: flex; justify-content: center; gap: 6px; }
.carousel__dots button { width: 6px; height: 6px; padding: 0; border: 0; border-radius: 99px; background: #c9c9c9; cursor: pointer; transition: width .35s var(--ease), background .35s; }
.carousel__dots button.is-active { width: 32px; background: #7a7a7a; }
.carousel__arrows { display: flex; gap: .5rem; }
.carousel__arrows button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: none; font-size: 1.6rem; line-height: 1; cursor: pointer; color: #111; }
.carousel__arrows button:hover { background: #f0f0f0; }
.carousel__arrows button:disabled { opacity: .3; cursor: default; background: none; }
@media (max-width: 1000px) { .carousel__track { grid-auto-columns: calc((100% - 24px) / 2); } }
@media (max-width: 600px) { .carousel__track { grid-auto-columns: 82%; } }

/* ------------------------------------------------------------------ Duo cards */
.section--glow { background: radial-gradient(120% 60% at 50% 100%, #efe5d6 0%, #fff 70%); }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 36px); max-width: 1000px; margin: 0 auto; }
.duo__card { display: flex; flex-direction: column; min-height: 520px; border-radius: 8px; overflow: hidden; background: #000; color: #fff; text-decoration: none; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.duo__card:hover { transform: translateY(-6px); box-shadow: 0 40px 70px -35px rgba(0, 0, 0, .6); }
.duo__visual { flex: 1; display: grid; place-items: center; padding: 2rem; min-height: 300px; overflow: hidden; }
.duo__copy { padding: 0 2rem 2.25rem; text-align: center; }
.duo__badge { font-size: .85rem; font-weight: 500; margin-bottom: .9rem; }
.duo__text { color: #a8a8a8; max-width: 36ch; margin: 0 auto 1.25rem; }
.duo__link { font: 500 1.15rem/1 var(--display); }

.typer { display: flex; align-items: center; gap: .75rem; width: 100%; max-width: 360px; padding: .9rem 1.1rem; border-radius: 99px; background: #161616; border: 1px solid #2c2c2c; box-shadow: 0 0 0 6px rgba(255, 255, 255, .03); font-size: 1rem; }
.typer__dots { position: relative; flex: none; width: 18px; height: 16px; }
.typer__dots i { position: absolute; border-radius: 50%; background: #fff; }
.typer__dots i:first-child { width: 11px; height: 11px; left: 0; top: 0; }
.typer__dots i:last-child { width: 7px; height: 7px; right: 0; bottom: 0; }
.typer__text { white-space: nowrap; overflow: hidden; text-overflow: clip; }
.typer__text i { font-style: normal; }
.typer__caret { flex: none; width: 2px; height: 1.2em; background: #6ea8ff; animation: blink 1s steps(1) infinite; margin-left: -8px; }
@keyframes blink { 50% { opacity: 0; } }

.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 100%; transform: rotate(-6deg) scale(1.15); }
.mosaic__tile { display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 4 / 3; padding: .6rem; border-radius: 6px; background: var(--mt, #333); animation: floaty 7s ease-in-out infinite alternate; animation-delay: calc(var(--i, 0) * -1s); }
.mosaic__tile b { font: 400 1rem/1 var(--serif); }
.mosaic__tile small { font-size: .58rem; opacity: .7; margin-top: .2rem; }
.mosaic__tile--1 { --mt: #d9c7aa; color: #222; --i: 1; }
.mosaic__tile--2 { --mt: #56624a; --i: 2; }
.mosaic__tile--3 { --mt: #b86f4a; --i: 3; }
.mosaic__tile--4 { --mt: #1a1fa8; --i: 4; }
.mosaic__tile--5 { --mt: #a9bfa8; color: #111; --i: 5; }
.mosaic__tile--6 { --mt: #a0773b; --i: 6; }
.mosaic__tile--7 { --mt: #6d4c73; --i: 7; }
.mosaic__tile--8 { --mt: #d4cfc5; color: #111; --i: 8; }
@keyframes floaty { to { transform: translateY(-10px); } }
@media (max-width: 800px) { .duo { grid-template-columns: 1fr; } .duo__card { min-height: 440px; } }

/* ------------------------------------------------------------------ Cards (generic) */
.cards { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card {
    position: relative; display: flex; flex-direction: column; padding: 1.75rem; border-radius: var(--radius);
    background: var(--paper); border: 1px solid var(--line); color: inherit; text-decoration: none;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s, opacity .9s var(--ease);
}
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--ink-soft); font-size: .95rem; margin: 0; }
.card--link:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(0, 0, 0, .35); border-color: transparent; }
.card__badge { align-self: flex-start; margin-bottom: 1.1rem; padding: .4em .75em; border-radius: 4px; font: 500 .75rem/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; background: #000; color: #fff; }
.card__more { margin-top: auto; padding-top: 1.25rem; font-weight: 500; font-size: .9rem; }
.card__num { font: 300 2.6rem/1 var(--display); letter-spacing: -.05em; margin-bottom: 1.25rem; }
.cards--bento { grid-template-columns: repeat(4, 1fr); }
.cards--bento .card:nth-child(1) { grid-column: span 2; grid-row: span 2; background: #000; color: #fff; border: 0; }
.cards--bento .card:nth-child(1) p { color: #bdbdbd; }
@media (max-width: 1000px) { .cards--bento { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards--bento { grid-template-columns: 1fr; } .cards--bento .card:nth-child(1) { grid-column: auto; grid-row: auto; } }
.tone-dark .card { background: #0f0f0f; border-color: var(--line-dark); color: #fff; }
.tone-dark .card p { color: #a3a3a3; }
.tone-dark .card__badge { background: #fff; color: #000; }
.tone-tint .card { border-color: transparent; }

/* ------------------------------------------------------------------ Timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: #fff; transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease); }
.timeline.is-in::before { transform: scaleX(1); }
.js .timeline.timeline { opacity: 1; transform: none; }
.timeline__step { padding-top: 2rem; }
.js .timeline__step { opacity: 0; transform: translateY(20px); transition: .8s var(--ease); transition-delay: calc(.3s + var(--d) * .18s); }
.timeline.is-in .timeline__step { opacity: 1; transform: none; }
.timeline__num { display: block; font: 300 3.2rem/1 var(--display); letter-spacing: -.05em; margin-bottom: 1.5rem; color: #fff; }
.timeline__step h3 { color: #fff; }
.timeline__step p { color: #a3a3a3; font-size: .95rem; }
@media (max-width: 600px) {
    .timeline { gap: 0; }
    .timeline__step { padding-top: 1.75rem; }
    .timeline__num { font-size: 2.4rem; margin-bottom: 1rem; }
}

/* ------------------------------------------------------------------ 3D tunnel */
.tunnel { position: relative; background: #000; color: #fff; height: clamp(520px, 62vw, 760px); overflow: hidden; display: grid; place-items: center; }
.tunnel__stage { position: absolute; inset: 0; perspective: 900px; perspective-origin: 50% 50%; }
.tunnel__ring { position: absolute; left: 50%; top: 50%; transform-style: preserve-3d; }
.tunnel__src { display: none; }
.tunnel__tile {
    position: absolute; left: 0; top: 0; width: 150px; height: 100px; margin: -50px 0 0 -75px;
    border-radius: 4px; overflow: hidden; backface-visibility: hidden; will-change: transform, opacity;
    background: var(--tb, #222); color: var(--tf, #fff); padding: .5rem .55rem; display: flex; flex-direction: column; justify-content: space-between;
    font-size: .6rem; line-height: 1.2; box-shadow: 0 10px 30px rgba(0, 0, 0, .6);
}
.tunnel__tile::after { content: ""; display: block; height: 42%; border-radius: 2px; background: var(--ta, rgba(255, 255, 255, .2)); }
.tunnel__tile b { font: 400 .8rem/1.1 var(--serif); }
.tunnel::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(34% 36% at 50% 50%, #000 0%, rgba(0, 0, 0, .9) 45%, rgba(0, 0, 0, .35) 75%, transparent 100%); }
.tunnel__title { position: relative; z-index: 2; text-align: center; padding: 0 16px; max-width: 640px; }
.tunnel__eyebrow { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: #9b9b9b; margin-bottom: 1rem; }
.tunnel__title h2 { font: 400 clamp(2.2rem, 5vw, 3.6rem)/1.02 var(--serif); letter-spacing: -.01em; }
.tunnel__intro { color: #bdbdbd; }
@media (max-width: 700px) { .tunnel__ring { transform: scale(.62); } }

/* ------------------------------------------------------------------ Chips / logos */
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }
.chip { display: inline-block; padding: .65em 1.15em; border-radius: 99px; background: var(--paper); border: 1px solid var(--line); font: 400 .92rem/1 var(--sans); color: var(--ink); cursor: default; }
button.chip { cursor: pointer; transition: .2s; }
button.chip.is-active, button.chip:hover { background: #000; color: #fff; border-color: #000; }
.logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 2rem 3rem; margin-bottom: 2.5rem; }
.logos__img { filter: grayscale(1); opacity: .7; }

/* ------------------------------------------------------------------ Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 3rem); }
.quote { margin: 0; padding-top: 1.75rem; border-top: 1px solid #111; display: flex; flex-direction: column; }
.quote__stars { letter-spacing: .2em; font-size: .85rem; margin-bottom: 1.25rem; }
.quote blockquote { margin: 0 0 1.75rem; font: 400 1.45rem/1.3 var(--serif); }
.quote figcaption { margin-top: auto; display: flex; flex-direction: column; font-size: .9rem; }
.quote figcaption span { color: var(--ink-soft); }
@media (max-width: 900px) { .quotes { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ CTA */
.cta { position: relative; overflow: hidden; padding: clamp(3rem, 8vw, 6.5rem) clamp(1.5rem, 5vw, 4rem); border-radius: var(--radius-lg); background: #000; color: #fff; text-align: center; }
.cta__glow { position: absolute; width: 60%; aspect-ratio: 1; left: 20%; top: 40%; border-radius: 50%; background: radial-gradient(circle, rgba(239, 229, 214, .35), transparent 65%); animation: drift 10s ease-in-out infinite alternate; }
.cta h2 { position: relative; max-width: 18ch; margin-inline: auto; }
.cta p { position: relative; max-width: 52ch; margin: 0 auto 2rem; color: #bdbdbd; }
.cta .btn { position: relative; }

/* ------------------------------------------------------------------ Page header (inner pages) */
.page-header { padding: clamp(4rem, 8vw, 7rem) 0 clamp(3rem, 6vw, 5rem); background: #000; color: #fff; }
.page-header h1 { max-width: 18ch; animation: rise 1s var(--ease) both; }
.page-header .lead { color: #bdbdbd; animation: rise 1s .1s var(--ease) both; }
.page-header .eyebrow { color: #9b9b9b; }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .8rem; letter-spacing: .04em; color: #8d8d8d; margin-bottom: 2rem; }
.crumbs a { color: #fff; text-decoration: none; }

/* ------------------------------------------------------------------ Standards index */
.filter { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 3rem; }
.std-group { margin-bottom: 3.5rem; }
.std-group[hidden] { display: none; }
.std-group__title { font-size: 1.9rem; padding-bottom: 1rem; border-bottom: 1px solid #111; margin-bottom: 1.5rem; }
.std-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.std-card { display: flex; flex-direction: column; padding: 1.5rem; border-radius: var(--radius); background: var(--warm); text-decoration: none; color: inherit; transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease); }
.std-card:hover { background: #000; color: #fff; transform: translateY(-3px); }
.std-card:hover .std-card__text { color: #bdbdbd; }
.std-card__code { font: 400 1.6rem/1.1 var(--serif); }
.std-card__title { font-weight: 500; font-size: .92rem; margin: .25rem 0 .7rem; }
.std-card__text { font-size: .88rem; color: var(--ink-soft); transition: color .3s; }
.std-card__more { margin-top: auto; padding-top: 1rem; font-size: .85rem; font-weight: 500; }

/* ------------------------------------------------------------------ Service detail */
.service { display: grid; grid-template-columns: 1fr 360px; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.service__aside { position: sticky; top: calc(var(--header-h) + 24px); display: grid; gap: 1rem; }
.aside-card { padding: 2rem; border-radius: var(--radius); background: #000; color: #fff; }
.aside-card__code { display: block; font: 400 2.4rem/1 var(--serif); margin-bottom: 1rem; }
.aside-card p { color: #bdbdbd; }
.aside-card .btn { background: #fff; color: #000; }
.aside-card__phone { display: block; text-align: center; margin-top: 1rem; color: #bdbdbd; font-size: .9rem; }
.aside-list { padding: 1.5rem; border-radius: var(--radius); background: var(--warm); display: grid; gap: .7rem; }
.aside-list__title { font-weight: 600; margin: 0 0 .25rem; }
.aside-list a { text-decoration: none; font-size: .92rem; }
.aside-list a:hover { text-decoration: underline; }
.mini-steps { padding-left: 1.2rem; display: grid; gap: .7rem; }
@media (max-width: 900px) { .service { grid-template-columns: 1fr; } .service__aside { position: static; } }

.prose h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-top: 2.5rem; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: var(--ink-soft); }

/* ------------------------------------------------------------------ Team */
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.25rem; }
.member { padding: 1.75rem; border-radius: var(--radius); background: var(--paper); }
.member__img { border-radius: 50%; width: 80px; height: 80px; margin-bottom: 1rem; }
.member__avatar { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; margin-bottom: 1.1rem; background: #000; color: #fff; font: 400 1.6rem/1 var(--serif); }
.member h3 { margin-bottom: .2rem; }
.member__role { font-weight: 500; margin: 0; font-size: .92rem; }
.member__exp { display: inline-block; margin: .7rem 0 .8rem; padding: .3em .75em; border-radius: 99px; font-size: .78rem; background: var(--warm); }
.member p:last-child { color: var(--ink-soft); font-size: .92rem; margin: 0; }

/* ------------------------------------------------------------------ Courses */
.course-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
.course-group { border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; }
.course-group header { padding: 1.6rem 1.75rem; background: #000; color: #fff; }
.course-group header p { margin: 0; color: #bdbdbd; font-size: .93rem; }
.course-list { list-style: none; margin: 0; padding: .5rem 1.75rem 1rem; }
.course-list li { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.course-list li:last-child { border-bottom: 0; }
.course-list li div { display: flex; flex-direction: column; }
.course-list li span { color: var(--ink-soft); font-size: .9rem; }
.course-list__dur { flex: none; align-self: flex-start; padding: .35em .75em; border-radius: 99px; background: var(--warm); color: var(--ink) !important; font-weight: 500; font-size: .78rem !important; }
@media (max-width: 860px) { .course-groups { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ FAQ */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 3rem; align-items: start; }
.faq__list { border-top: 1px solid #111; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { padding: 1.35rem 0; font-weight: 500; font-size: 1.05rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 1.4rem; line-height: 1; font-weight: 300; transition: transform .3s var(--ease); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 0 1.35rem; margin: 0; color: var(--ink-soft); max-width: 62ch; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; gap: 0; } }

/* ------------------------------------------------------------------ Contact */
.contact { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid #111; }
.contact-list li { display: flex; flex-direction: column; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.contact-list span { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .45rem; }
.contact > * { min-width: 0; }
.contact-list a { font: 400 1.35rem/1.3 var(--display); letter-spacing: -.02em; text-decoration: none; overflow-wrap: anywhere; }
.contact-list small { color: var(--ink-soft); }
.card.form { padding: clamp(1.5rem, 3vw, 2.5rem); background: var(--warm); border: 0; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.25rem; }
.form h2, .form .btn, .form__field:has(textarea), .form__field:has(select), .form__field--check { grid-column: 1 / -1; }
.form .btn { justify-self: start; }
.form__field { display: flex; flex-direction: column; gap: .4rem; min-width: 0; }
.form__field input:not([type="checkbox"]), .form__field select, .form__field textarea { width: 100%; min-width: 0; }
.form__field label { font-weight: 500; font-size: .88rem; }
.form__field input, .form__field select, .form__field textarea { font: inherit; padding: .85rem 1rem; border-radius: 6px; border: 1px solid #d8d4cc; background: #fff; color: var(--ink); transition: border-color .2s; }
.form__field textarea { min-height: 150px; resize: vertical; }
.form__field input:focus, .form__field select:focus, .form__field textarea:focus { outline: none; border-color: #000; box-shadow: 0 0 0 3px rgba(0, 0, 0, .08); }
.form__field--check { flex-direction: row-reverse; justify-content: flex-end; align-items: center; }
.form__error { color: #b3261e; }
@media (max-width: 860px) { .contact, .form { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ Footer */
.footer { background: #000; color: #fff; padding: clamp(3.5rem, 7vw, 5.5rem) 0 0; font-size: .9rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(var(--cols, 3), 1fr); gap: 2.5rem; padding-top: 2.5rem; border-top: 1px solid var(--line-dark); }
.footer__brand .brand__mark { color: #fff; margin-bottom: 1.25rem; }
.footer__tagline { font: 400 clamp(1.5rem, 2.4vw, 1.9rem)/1.15 var(--display); letter-spacing: -.03em; max-width: 16ch; }
.footer__blurb { color: #8d8d8d; max-width: 36ch; font-size: .88rem; }
.footer__title { font-weight: 500; margin-bottom: 1.1rem; }
.footer__title--gap { margin-top: 1.75rem; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; color: #a3a3a3; }
.footer a { color: #a3a3a3; text-decoration: none; transition: color .2s; }
.footer a:hover { color: #fff; }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 4rem; padding: 1.5rem 0 2rem; border-top: 1px solid var(--line-dark); color: #8d8d8d; font-size: .8rem; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ Photography */
@keyframes slowzoom { from { transform: scale(1.12); } to { transform: scale(1); } }

/* Hero background photo */
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .38; animation: slowzoom 14s var(--ease) both; }
.hero--photo::before {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: linear-gradient(180deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .7) 45%, #000 88%);
}
.hero--photo .showcase { z-index: 2; }

/* Showcase card photo panel */
.shot__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.shot__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .35), transparent 45%); }
.shot__code { z-index: 1; }

/* Inner page headers */
.page-header { position: relative; overflow: hidden; }
.page-header__inner { position: relative; z-index: 2; }
.page-header--photo { padding: clamp(6rem, 12vw, 10rem) 0 clamp(3.5rem, 7vw, 6rem); }
.page-header__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: slowzoom 12s var(--ease) both; }
.page-header--photo::after {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(90deg, rgba(0, 0, 0, .88) 0%, rgba(0, 0, 0, .62) 55%, rgba(0, 0, 0, .35) 100%),
                linear-gradient(0deg, rgba(0, 0, 0, .55), transparent 50%);
}
.page-header--photo .lead { color: #e2e2e2; }

/* Tabbed slider photo backgrounds */
.slide__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 6s var(--ease); }
.slide.is-active .slide__bg { transform: scale(1); }
.slide--photo::before { z-index: 1; background: linear-gradient(100deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .45) 45%, rgba(0, 0, 0, .05) 80%); }
.slide__copy { z-index: 3; }
.slide__mock { z-index: 2; }

/* Carousel photo cards */
.ccard__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ccard:hover .ccard__bg { transform: scale(1.06); }
.ccard:has(.ccard__bg)::before { z-index: 1; background: linear-gradient(0deg, rgba(0, 0, 0, .88) 0%, rgba(0, 0, 0, .35) 55%, rgba(0, 0, 0, .15) 100%); }
.ccard:has(.ccard__bg):hover::before { transform: none; }
.ccard__num, .ccard__copy, .ccard__arrow { z-index: 2; }

/* Duo cards */
.duo__visual { position: relative; }
.duo__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; transition: transform 1.2s var(--ease), opacity .6s; }
.duo__card:hover .duo__bg { transform: scale(1.05); opacity: .55; }
.duo__visual:has(.duo__bg)::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #000 0%, transparent 60%); }
.duo__visual .typer, .duo__visual .mosaic { position: relative; z-index: 1; }
.mosaic__tile { position: relative; overflow: hidden; }
.mosaic__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mosaic__tile:has(.mosaic__img)::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .75), transparent 70%); }
.mosaic__tile:has(.mosaic__img) b, .mosaic__tile:has(.mosaic__img) small { position: relative; z-index: 1; color: #fff; }

/* Plain / numbered cards with a photo */
.card--photo { padding-top: 0; overflow: hidden; }
.card__media { display: block; margin: 0 -1.75rem 1.5rem; aspect-ratio: 16 / 10; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card--link:hover .card__media img { transform: scale(1.06); }

/* Standards index cards */
.std-card { overflow: hidden; }
.std-card__media { display: block; margin: -1.5rem -1.5rem 1.25rem; aspect-ratio: 5 / 3; overflow: hidden; }
.std-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.std-card:hover .std-card__media img { transform: scale(1.06); }

/* Related standards list */
.aside-list__item { display: flex; align-items: center; gap: .8rem; }
.aside-list__item img { flex: none; width: 48px; height: 48px; border-radius: 8px; object-fit: cover; }

/* Tunnel photo tiles */
.tunnel__tile--photo { background-size: cover; background-position: center; justify-content: flex-end; }
.tunnel__tile--photo::after { display: none; }
.tunnel__tile--photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .7), transparent 60%); }
.tunnel__tile--photo b { position: relative; color: #fff; }

/* CTA with photo */
.cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .4; }
.cta--photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: radial-gradient(70% 90% at 50% 50%, rgba(0, 0, 0, .55), rgba(0, 0, 0, .85)); }
.cta--photo h2, .cta--photo p, .cta--photo .btn { z-index: 2; }
.cta--photo .cta__glow { display: none; }

/* ------------------------------------------------------------------ Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    [data-reveal], .panel-art__row, .timeline__step { opacity: 1 !important; transform: none !important; }
}

/* Location pages */
.loc-preview { background: #fff4d6; color: #5a4300; padding: .7rem 1rem; text-align: center; font-size: .9rem; position: relative; z-index: 5; }
.loc-geo { margin-top: 2.5rem; }
.loc-geo .faq__list { margin-top: 1rem; }
