:root {
    --red: #df311b;
    --red-dark: #b8260f;
    --black: #090909;
    --ink: #161616;
    --white: #ffffff;
    --paper: #f7f5f1;
    --paper-deep: #eee9e1;
    --line: rgba(9, 9, 9, 0.13);
    --muted: #66635e;
    --container: min(1240px, calc(100vw - 48px));
    --radius: 26px;
    --shadow: 0 24px 70px rgba(23, 18, 12, 0.12);
    --gold-gradient: linear-gradient(100deg, #f6d385 0%, #d99a2b 55%, #a8650f 100%);
    --font-title: "obvia", "Inter", system-ui, sans-serif;
    --font-body: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    margin: 0;
    min-width: 320px;
    color: var(--ink);
    background: var(--paper);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

body.menu-open { overflow: hidden; }

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

a { color: inherit; text-decoration: none; }

button, input, select, textarea { font: inherit; }
button { appearance: none; -webkit-appearance: none; background-color: transparent; }

button, a { -webkit-tap-highlight-color: transparent; }

h1, h2, h3, p { margin-top: 0; }

h1, h2, h3 {
    font-family: var(--font-title);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.045em;
}

h1 { font-size: clamp(3.4rem, 8vw, 7.6rem); }
h2 { font-size: clamp(2.5rem, 5.3vw, 5rem); }
h3 { font-size: clamp(1.55rem, 2.2vw, 2.25rem); }

.container { width: var(--container); margin-inline: auto; }

.section { padding: clamp(88px, 10vw, 150px) 0; }

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

.skip-link {
    position: fixed;
    left: 16px;
    top: -100px;
    z-index: 1000;
    padding: 12px 18px;
    background: var(--black);
    color: var(--white);
    border-radius: 8px;
}

.skip-link:focus { top: 16px; }

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 24px;
    border: 2px solid transparent;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.92rem;
    letter-spacing: -0.01em;
    cursor: pointer;
    background-origin: border-box;
    background-clip: padding-box, border-box;
    transition: transform 180ms ease, background-image 180ms ease, color 180ms ease;
}

.button:hover { transform: translateY(-2px); }
.button:focus-visible, .text-link:focus-visible, .primary-nav a:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }
.button--small { min-height: 44px; padding-inline: 20px; }
.button--dark, .button--light, .header-cta { color: var(--white); background-image: linear-gradient(var(--red), var(--red)), var(--gold-gradient); }
.button--ghost-light { position: relative; isolation: isolate; color: var(--white); background-color: transparent; background-image: none; border-color: transparent; }
.button--ghost-light::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    box-sizing: border-box;
    border-radius: inherit;
    padding: 2px;
    background: var(--gold-gradient);
    -webkit-mask-image: linear-gradient(#fff 0 0), linear-gradient(#fff 0 0);
    -webkit-mask-clip: content-box, border-box;
    -webkit-mask-composite: xor;
    mask-image: linear-gradient(#fff 0 0), linear-gradient(#fff 0 0);
    mask-clip: content-box, border-box;
    mask-composite: exclude;
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    border-bottom: 2px solid;
    border-image: var(--gold-gradient) 1;
    padding-bottom: 5px;
}

.text-link span { transition: transform 180ms ease; }
.text-link:hover span { transform: translateX(4px); }

.eyebrow {
    margin-bottom: 18px;
    color: var(--red);
    font-size: .79rem;
    font-weight: 900;
    letter-spacing: .13em;
    line-height: 1.35;
    text-transform: uppercase;
}

.eyebrow--light { color: var(--white); }

.topbar { background: var(--red); color: var(--white); }
.topbar__inner { min-height: 34px; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: .75rem; font-weight: 700; }
.topbar a { border-bottom: 1px solid rgba(255,255,255,.5); }
.topbar__links { display: flex; align-items: center; gap: 20px; }
.topbar__instagram { display: inline-flex; align-items: center; gap: 6px; border-bottom-color: transparent; }
.topbar__instagram:hover { border-bottom-color: rgba(255,255,255,.5); }

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,.96);
    border-bottom: 1px solid transparent;
    transition: box-shadow 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 8px 30px rgba(0,0,0,.06); }
.site-header__inner { min-height: 88px; display: grid; grid-template-columns: 150px 1fr auto; align-items: center; gap: 34px; }
.brand { display: inline-flex; width: 126px; }
.brand img { width: 126px; height: auto; }

.primary-nav { display: flex; align-items: center; justify-content: center; gap: clamp(18px, 2.5vw, 36px); }
.primary-nav a { position: relative; padding: 10px 0; font-size: .9rem; font-weight: 700; }
.primary-nav a::after { content: ""; position: absolute; left: 0; bottom: 3px; width: 100%; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: right; transition: transform 180ms ease; }
.primary-nav a:hover::after, .primary-nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.menu-toggle { display: none; }

.hero {
    position: relative;
    isolation: isolate;
    min-height: min(790px, calc(100svh - 122px));
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--white);
    background: #5e1c08;
}

.hero__media, .hero__shade { position: absolute; inset: 0; }
.hero__media { overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center; animation: hero-zoom 12s cubic-bezier(.2,.65,.25,1) forwards; }
.hero__shade { background: linear-gradient(90deg, rgba(26,10,3,.93) 0%, rgba(40,14,4,.78) 36%, rgba(40,14,4,.12) 74%, rgba(40,14,4,.03) 100%); }
.hero::before { content: ""; position: absolute; inset: 0 auto 0 0; width: min(58vw, 900px); background: linear-gradient(120deg, rgba(223,49,27,.86), rgba(184,38,15,.3) 58%, transparent); mix-blend-mode: multiply; }
.hero__content { position: relative; z-index: 2; padding: 90px 0 115px; }
.hero__content h1 { max-width: 800px; margin-bottom: 28px; opacity: 0; animation: hero-rise 820ms cubic-bezier(.2,.65,.25,1) forwards; }
.hero__lead { max-width: 610px; margin-bottom: 34px; font-size: clamp(1.08rem, 2vw, 1.35rem); line-height: 1.5; opacity: 0; animation: hero-rise 820ms cubic-bezier(.2,.65,.25,1) 220ms forwards; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; opacity: 0; animation: hero-rise 820ms cubic-bezier(.2,.65,.25,1) 320ms forwards; }

@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes hero-rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.proof-strip { position: relative; overflow: hidden; margin-bottom: -1px; padding: clamp(70px, 9vw, 120px) 0; background: url("../images/brand/trama-sarita.webp") center/cover no-repeat, var(--red); color: var(--white); }
.proof-strip--curved {
    margin-top: -170px;
    padding-top: calc(170px + clamp(40px, 5vw, 70px));
    clip-path: polygon(
        0% 26px, 10% 51.92px, 20% 72.08px, 30% 86.48px, 40% 95.12px, 50% 98px,
        60% 95.12px, 70% 86.48px, 80% 72.08px, 90% 51.92px, 100% 26px,
        100% 100%, 0% 100%
    );
}
.proof-strip__curve-line { position: absolute; top: 0; left: 0; width: 100%; height: 170px; z-index: 2; }
.proof-strip__curve-line path { stroke-width: 16; }
.proof-strip__tagline { position: relative; z-index: 1; margin: 0 0 30px; font-size: 1.15rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.85); }
.proof-strip__grid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.proof-strip__grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; transition: transform 320ms cubic-bezier(.2,.65,.25,1); }
.proof-strip__grid > div:hover { transform: translateY(-4px); }
.proof-strip strong { font-family: var(--font-title); font-size: clamp(2.8rem, 4.2vw, 4.4rem); line-height: 1; color: var(--white); }
.proof-strip span { font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.78); }

.section-heading { max-width: 820px; margin-bottom: clamp(42px, 6vw, 76px); }
.section-heading h2 { margin-bottom: 28px; }
.section-heading > p:last-child { max-width: 600px; margin-bottom: 0; color: var(--muted); font-size: 1.05rem; }
.section-heading > p.products-showcase__badge { margin-top: 10px; margin-bottom: 0; font-size: 1.05rem; font-weight: 800; color: var(--ink); max-width: none; }
.section-heading--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .65fr); gap: 80px; align-items: end; }
.section-heading--split h2 { margin-bottom: 0; }
.section-heading--split > p { margin-bottom: 10px !important; }

.audience { background: var(--paper); }
.audience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.audience-card { position: relative; min-height: 610px; display: flex; align-items: end; overflow: hidden; border-radius: var(--radius); color: var(--white); box-shadow: var(--shadow); }
.audience-card img, .audience-card__overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
.audience-card img { object-fit: cover; transition: transform 700ms cubic-bezier(.2,.65,.25,1); }
.audience-card:hover img { transform: scale(1.035); }
.audience-card__overlay { background: linear-gradient(180deg, transparent 22%, rgba(8,8,8,.86) 100%); }
.audience-card__content { position: relative; z-index: 2; padding: clamp(30px, 4vw, 52px); }
.audience-card__content > span { display: block; margin-bottom: 10px; font-size: .74rem; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; }
.audience-card h3 { margin-bottom: 16px; font-size: clamp(2.3rem, 4vw, 4.1rem); }
.audience-card p { max-width: 490px; margin-bottom: 24px; color: rgba(255,255,255,.82); }

.products-showcase { background: var(--white); }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.product-grid--catalog { row-gap: 54px; }
.product-grid--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-card { min-width: 0; }
.product-card__visual { position: relative; isolation: isolate; min-height: 430px; display: flex; align-items: center; justify-content: center; border-radius: 24px; background: var(--paper); border: 1px solid var(--line); }
.product-card__visual img { width: 78%; height: 360px; object-fit: contain; mix-blend-mode: multiply; will-change: transform; transition: transform 350ms cubic-bezier(.2,.65,.25,1); }
.product-card:hover .product-card__visual img { transform: translateY(-8px) scale(1.025); }

.product-card__visual--rotate { cursor: ew-resize; }
.product-card__visual--rotate .product-card__frame {
    position: absolute;
    inset: 0;
    margin: auto;
    opacity: 0;
    pointer-events: none;
    transition: opacity 120ms ease, transform 350ms cubic-bezier(.2,.65,.25,1);
}
.product-card__visual--rotate .product-card__frame.is-active { opacity: 1; }
.product-card:hover .product-card__visual--rotate .product-card__frame.is-active { transform: translateY(-8px) scale(1.025); }
.product-card__body { padding: 26px 8px 6px; }
.product-card__body .eyebrow { margin-bottom: 9px; color: var(--product-accent); font-size: .7rem; }
.product-card__body h3 { margin-bottom: 13px; font-size: clamp(1.65rem, 2.4vw, 2.35rem); }
.product-card__weight { display: block; margin-top: 2px; font-size: clamp(1.05rem, 1.5vw, 1.3rem); font-weight: 700; color: var(--muted); letter-spacing: 0; }
.product-card__body p:not(.eyebrow) { min-height: 76px; margin-bottom: 20px; color: var(--muted); }
.product-card__uses { min-height: 0 !important; margin-top: -10px !important; font-size: .84rem; }
.section-action { display: flex; justify-content: center; margin-top: 58px; }

.history-split { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; min-height: 720px; overflow: hidden; color: var(--ink); background: var(--paper); }
.history-split__image, .history-split__shade { position: absolute; inset: 0; }
.history-split__image img { width: 100%; height: 100%; object-fit: cover; }
.history-split__shade { background: linear-gradient(90deg, var(--paper) 0%, rgba(247,245,241,.82) 30%, rgba(247,245,241,.55) 50%, rgba(247,245,241,.82) 70%, var(--paper) 100%); }
.history-split__story { position: relative; z-index: 1; display: flex; align-items: center; }
.history-split__timeline { position: relative; z-index: 1; padding: clamp(60px, 8vw, 110px) clamp(40px, 6vw, 90px); display: flex; align-items: center; }
.story-block__copy { width: 100%; padding: clamp(60px, 8vw, 130px) clamp(40px, 6vw, 90px); }
.story-block__logo { width: 241px; max-width: 100%; height: auto; margin-bottom: 22px; }
.story-block__copy .eyebrow { color: var(--red); }
.story-block__copy h2 { margin-bottom: 28px; }
.story-block__copy > p:not(.eyebrow) { max-width: 520px; color: var(--muted); }

.process-section { background: var(--white); }
.process-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; margin-bottom: clamp(56px, 7vw, 90px); }
.process-heading__copy .eyebrow { color: var(--red); }
.process-heading__copy h2 { margin-bottom: 20px; }
.process-heading__copy > p:not(.eyebrow) { max-width: 460px; color: var(--muted); }
.process-heading__image { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 5 / 4; }
.process-heading__image img { width: 100%; height: 100%; object-fit: cover; display: block; }

.process-steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; }
.process-steps::before { content: ""; position: absolute; top: 22px; left: 0; right: 0; height: 1px; background: var(--line); }
.process-step { position: relative; padding-top: 46px; }
.process-step::before { content: ""; position: absolute; top: 14px; left: 0; width: 17px; height: 17px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px var(--white); }
.process-step__number { display: block; margin-bottom: 16px; font-family: var(--font-title); font-size: 2.4rem; font-weight: 900; color: var(--paper-deep); }
.process-step h3 { margin-bottom: 10px; font-size: 1.25rem; }
.process-step p { margin: 0; color: var(--muted); }

.timeline-vertical { position: relative; width: 100%; list-style: none; margin: 0; padding: 0 0 0 34px; }
.timeline-vertical::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 1px; background: var(--line); }
.timeline-vertical .timeline-item { position: relative; padding: 0 0 44px; }
.timeline-vertical .timeline-item:last-child { padding-bottom: 0; }
.timeline-vertical .timeline-item::before { content: ""; position: absolute; left: -34px; top: 5px; width: 11px; height: 11px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px var(--paper); }
.timeline-vertical .timeline-item > span { display: block; margin-bottom: 14px; color: var(--muted); font-size: .76rem; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.timeline-vertical .timeline-item h3 { margin-bottom: 10px; font-size: 1.6rem; }
.timeline-vertical .timeline-item p { margin: 0; color: var(--muted); }

.map-section { --container: min(1560px, calc(100vw - 48px)); padding-top: clamp(28px, 3vw, 48px); padding-bottom: clamp(28px, 3vw, 48px); }
.map-section iframe { display: block; width: 100%; height: 480px; border-radius: var(--radius); }

.ig-feed { --container: min(1560px, calc(100vw - 48px)); }
.ig-feed__follow { margin-top: 18px; }
.ig-feed__grid {
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}
.ig-feed__item {
    display: block;
    aspect-ratio: 1080 / 1440;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--black);
}
.ig-feed__item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 320ms ease; }
.ig-feed__item:hover img { transform: scale(1.05); }
@media (max-width: 900px) {
    .ig-feed__grid {
        display: flex;
        grid-template-columns: none;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 6px;
        margin-inline: -24px;
        padding-inline: 24px;
        scrollbar-width: none;
    }
    .ig-feed__grid::-webkit-scrollbar { display: none; }
    .ig-feed__item { flex: 0 0 46%; scroll-snap-align: start; }
}
@media (max-width: 640px) {
    .ig-feed__item { flex-basis: 78%; }
}

.history-gallery { background: var(--paper); --container: min(1560px, calc(100vw - 48px)); }
.showcase-gallery { padding-top: clamp(28px, 3vw, 48px); padding-bottom: clamp(28px, 3vw, 48px); }
.history-gallery__wrap { position: relative; }
.history-gallery__viewport { overflow: hidden; }
.history-gallery__track { display: flex; gap: 22px; will-change: transform; transition: transform 520ms cubic-bezier(.4,0,.2,1); }
.history-gallery__track.is-jumping { transition: none !important; }
.history-gallery__item {
    flex: 0 0 calc((100% - 44px) / 3);
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--black);
}
.history-gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.history-gallery__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: var(--red);
    color: var(--white);
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: transform 180ms ease, background 180ms ease;
    z-index: 2;
}
.history-gallery__nav:hover { background: var(--red-dark); transform: translateY(-50%) scale(1.06); }
.history-gallery__nav--prev { left: -22px; }
.history-gallery__nav--next { right: -22px; }

.section-curve { display: block; margin-bottom: -1px; line-height: 0; background: var(--paper); }
.section-curve svg { display: block; width: 100%; height: 130px; }
.section-curve__fill { fill: var(--red); }
.section-curve__line { fill: none; stroke: url(#curve-gold); stroke-width: 16px; }

.site-footer { padding: 80px 0 24px; background: var(--red); color: var(--white); }
.site-footer__grid { display: grid; grid-template-columns: 1.45fr .7fr .7fr 1fr; gap: 60px; padding-bottom: 70px; }
.site-footer__brand img { width: 152px; height: auto; margin-bottom: 26px; }
.site-footer__brand p { max-width: 350px; color: rgba(255,255,255,.58); }
.site-footer__grid > div:not(.site-footer__brand), .site-footer address { display: flex; flex-direction: column; gap: 10px; font-style: normal; }
.site-footer__grid a, .site-footer__grid address span { color: rgba(255,255,255,.64); font-size: .9rem; transition: color 160ms ease; }
.site-footer__grid a:hover { color: var(--white); }
.footer-title { margin-bottom: 10px; color: var(--white); font-size: .72rem; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; }
.site-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.46); font-size: .76rem; }
.site-footer__martelletti { width: 86px; height: auto; }



.contact-section { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: start; }
.contact-info { position: sticky; top: 140px; }
.contact-info h2 { margin-bottom: 24px; font-size: clamp(2.1rem, 3.4vw, 3.1rem); }
.contact-info h3 { margin-bottom: 24px; font-size: clamp(1.7rem, 2.6vw, 2.35rem); }
.contact-info > p:not(.eyebrow) { color: var(--muted); }
.contact-info__lead { margin-bottom: 36px; max-width: 420px; font-size: 1.05rem; }
.contact-methods { margin-top: 40px; border-top: 1px solid var(--line); }
.contact-methods > * { display: flex; flex-direction: column; gap: 5px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.contact-methods span { color: var(--muted); font-size: .73rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.contact-methods strong { font-size: 1rem; overflow-wrap: anywhere; }
.contact-methods a:hover strong { color: var(--red); }
.contact-form-wrap { padding: clamp(28px, 4vw, 52px); border-radius: var(--radius); background: var(--paper); }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 18px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field--full { grid-column: 1 / -1; }
.form-field--hidden { position: absolute; left: -10000px; }
.form-field label { font-size: .8rem; font-weight: 800; }
.form-field label span { color: var(--muted); font-weight: 500; }
.form-field input, .form-field select, .form-field textarea { width: 100%; border: 1px solid rgba(0,0,0,.18); border-radius: 12px; background: var(--white); color: var(--ink); padding: 14px 15px; outline: none; transition: border-color 160ms ease, box-shadow 160ms ease; }
.form-field textarea { resize: vertical; min-height: 140px; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(239,43,29,.12); }
.contact-form .button { justify-self: start; }
.form-privacy { align-self: center; margin: 0; color: var(--muted); font-size: .74rem; }
.form-notice { margin-bottom: 24px; padding: 16px 18px; border-radius: 12px; font-weight: 700; }
.form-notice--success { background: #e4f6e7; color: #155f25; }
.form-notice--error { background: #ffe6e3; color: #8e1e16; }

.error-page { min-height: 650px; display: grid; place-items: center; padding: 100px 0; text-align: center; background: var(--paper); }
.error-page__inner { position: relative; }
.error-page__inner > span:first-child { display: block; margin-bottom: -30px; font-size: clamp(8rem, 22vw, 18rem); line-height: .8; font-weight: 900; color: var(--paper-deep); letter-spacing: -.09em; }
.error-page h1 { margin-bottom: 18px; font-size: clamp(2.8rem, 5vw, 5rem); }
.error-page__inner > p:not(.eyebrow) { color: var(--muted); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 650ms ease, transform 650ms cubic-bezier(.2,.65,.25,1); }
.reveal.is-visible { opacity: 1; transform: none; }
.proof-strip__grid > .reveal:nth-child(1) { transition-delay: 0ms; }
.proof-strip__grid > .reveal:nth-child(2) { transition-delay: 80ms; }
.proof-strip__grid > .reveal:nth-child(3) { transition-delay: 160ms; }
.proof-strip__grid > .reveal:nth-child(4) { transition-delay: 240ms; }
.audience-grid > .reveal:nth-child(2) { transition-delay: 100ms; }
.product-grid > .reveal:nth-child(2) { transition-delay: 60ms; }
.product-grid > .reveal:nth-child(3) { transition-delay: 120ms; }
.product-grid > .reveal:nth-child(4) { transition-delay: 180ms; }
.product-grid > .reveal:nth-child(5) { transition-delay: 240ms; }
.product-grid > .reveal:nth-child(6) { transition-delay: 300ms; }
.product-grid > .reveal:nth-child(7) { transition-delay: 360ms; }

@media (max-width: 1080px) {
    .site-header__inner { grid-template-columns: 130px 1fr auto; gap: 18px; }
    .primary-nav { gap: 19px; }
    .primary-nav a { font-size: .82rem; }
    .product-card__visual { min-height: 380px; }
    .product-card__visual img { height: 320px; }
    .history-split__timeline { padding: 70px; }
    .site-footer__grid { grid-template-columns: 1.2fr .7fr .7fr; }
    .site-footer address { grid-column: 2 / -1; }
}

@media (max-width: 900px) {
    :root { --container: min(100% - 36px, 760px); --radius: 22px; }
    .history-gallery__item { flex-basis: calc((100% - 22px) / 2); }
    .topbar__inner span { display: none; }
    .topbar__inner { justify-content: center; }
    .site-header__inner { min-height: 76px; grid-template-columns: 1fr auto; }
    .brand { width: 108px; }
    .brand img { width: 108px; }
    .header-cta { display: none; }
    .menu-toggle { width: 44px; height: 44px; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; border: 0; border-radius: 50%; background: var(--black); cursor: pointer; }
    .menu-toggle > span:not(.sr-only) { width: 18px; height: 2px; background: var(--white); transition: transform 180ms ease, opacity 180ms ease; }
    .menu-toggle[aria-expanded="true"] > span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] > span:nth-child(2) { opacity: 0; }
    .menu-toggle[aria-expanded="true"] > span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .primary-nav { position: fixed; z-index: 90; inset: 110px 0 0; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; padding: 36px 24px; background: var(--white); transform: translateX(100%); transition: transform 260ms ease; }
    .primary-nav.is-open { transform: translateX(0); }
    .primary-nav a { padding: 17px 0; border-bottom: 1px solid var(--line); font-size: 1.25rem; }
    .primary-nav a::after { display: none; }
    .hero { min-height: 720px; }
    .hero__shade { background: linear-gradient(90deg, rgba(20,8,2,.92), rgba(20,8,2,.34)); }
    .hero::before { width: 100%; }
    .hero__content { padding-top: 80px; }
    .hero__lead { max-width: 540px; }
    .proof-strip__grid { grid-template-columns: 1fr 1fr; }
    .section-heading--split { grid-template-columns: 1fr; gap: 28px; }
    .audience-grid { grid-template-columns: 1fr; }
    .audience-card { min-height: 560px; }
    .product-grid { grid-template-columns: 1fr 1fr; }
    .history-split { grid-template-columns: 1fr; min-height: auto; }
    .history-split__story { min-height: 520px; }
    .process-heading { grid-template-columns: 1fr; gap: 32px; }
    .process-heading__image { order: -1; }
    .process-steps { grid-template-columns: 1fr 1fr; gap: 40px 28px; }
    .process-steps::before { display: none; }
    .contact-grid { grid-template-columns: 1fr; gap: 58px; }
    .contact-info { position: static; }
}

@media (max-width: 640px) {
    :root { --container: calc(100% - 28px); }
    .section { padding: 76px 0; }
    .history-gallery__item { flex-basis: 82%; }
    .history-gallery__nav { width: 42px; height: 42px; }
    .history-gallery__nav--prev { left: 4px; }
    .history-gallery__nav--next { right: 4px; }
    .hero { min-height: 690px; }
    .hero__media img { object-position: 63% center; }
    .hero__shade { background: linear-gradient(90deg, rgba(24,9,2,.92), rgba(24,9,2,.44)); }
    .hero__content { padding: 72px 0 112px; }
    .hero__content h1 { font-size: clamp(3.55rem, 17vw, 5rem); }
    .hero__actions { flex-direction: column; align-items: stretch; max-width: 330px; }
    .proof-strip__grid { grid-template-columns: 1fr 1fr; row-gap: 36px; }
    .audience-card { min-height: 520px; }
    .audience-card__content { padding: 28px; }
    .product-grid { grid-template-columns: 1fr; }
    .product-card__visual { min-height: 390px; }
    .process-steps { grid-template-columns: 1fr; gap: 32px; }
    .product-card__body p:not(.eyebrow) { min-height: 0; }
    .history-split__story { min-height: 460px; }
    .history-split__shade { background: linear-gradient(180deg, rgba(247,245,241,.6) 0%, var(--paper) 18%, var(--paper) 82%, rgba(247,245,241,.6) 100%); }
    .story-block__copy { padding: 62px 24px 40px; align-self: flex-end; }
    .history-split__timeline { padding: 56px 24px; }
    .section-curve svg { height: 64px; }
    .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 42px 24px; }
    .site-footer__brand { grid-column: 1 / -1; }
    .site-footer address { grid-column: 1 / -1; }
    .site-footer__bottom { flex-direction: column; }
    .contact-form { grid-template-columns: 1fr; }
    .form-field--full { grid-column: auto; }
    .contact-form .button { width: 100%; }
    .form-privacy { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
}
