:root {
    --paper: #fbfaf5;
    --paper-2: #f1efe8;
    --ink: #151515;
    --muted: #626057;
    --line: rgba(21, 21, 21, .15);
    --line-soft: rgba(21, 21, 21, .09);
    --box: rgba(245, 244, 239, .82);
    --green: #575757;
    --lime: #d7d7d2;
    --rose: #303030;
    --max: 1180px;
    --ease: cubic-bezier(.2, .9, .2, 1);
}

* { box-sizing: border-box; }
html { background: var(--paper); color: var(--ink); scroll-behavior: smooth; scroll-padding-top: 86px; }
body {
    margin: 0;
    min-height: 100vh;
    background:
        linear-gradient(90deg, rgba(21, 21, 21, .042) 1px, transparent 1px),
        linear-gradient(rgba(21, 21, 21, .032) 1px, transparent 1px),
        var(--paper);
    background-size: 64px 64px, 64px 64px, auto;
    color: var(--ink);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    overflow-x: hidden;
}
body::before {
    background:
        linear-gradient(118deg, transparent 0 24%, rgba(21, 21, 21, .035) 24.2% 24.45%, transparent 24.7% 100%),
        linear-gradient(18deg, transparent 0 62%, rgba(21, 21, 21, .026) 62.2% 62.45%, transparent 62.7% 100%),
        radial-gradient(ellipse at 78% 44%, transparent 0 42%, rgba(21, 21, 21, .035) 42.3% 42.55%, transparent 42.9% 100%);
    content: "";
    inset: 0;
    opacity: .7;
    pointer-events: none;
    position: fixed;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--rose); outline-offset: 4px; }
.skip-link { background: var(--ink); color: var(--paper); left: 16px; padding: 10px 14px; position: absolute; top: -80px; z-index: 30; }
.skip-link:focus { top: 16px; }
.paper-texture { background-image: radial-gradient(rgba(21, 21, 21, .16) .7px, transparent .7px); background-size: 7px 7px; inset: 0; opacity: .06; pointer-events: none; position: absolute; }

.site-header, .hero, .solutions, .process, .reference-flow, .portfolio-plan, .briefing, .site-footer {
    margin-inline: auto;
    max-width: var(--max);
    position: relative;
    z-index: 1;
}
.site-header {
    align-items: center;
    display: flex;
    gap: 34px;
    isolation: isolate;
    justify-content: space-between;
    padding: 18px clamp(18px, 4vw, 36px) 14px;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 20;
}
.site-header::after {
    backdrop-filter: blur(20px) saturate(1.05);
    background: linear-gradient(180deg, rgba(251, 250, 245, .96), rgba(251, 250, 245, .88));
    border-bottom: 1px solid rgba(21, 21, 21, .18);
    box-shadow: 0 18px 52px rgba(21, 21, 21, .07);
    content: "";
    inset-block: 0;
    left: 50%;
    position: absolute;
    transform: translateX(-50%);
    width: 100vw;
    z-index: -1;
}
.site-header::before { background: var(--ink); bottom: -1px; content: ""; height: 3px; left: clamp(18px, 4vw, 36px); position: absolute; width: 84px; z-index: 1; }
.brand-mark { display: inline-flex; }
.brand-mark img { height: 42px; object-fit: contain; width: auto; }
.site-nav { align-items: center; display: flex; flex-wrap: wrap; gap: clamp(14px, 2vw, 26px); justify-content: flex-end; }
.site-nav a, .kicker, .button, .solution-grid article > span, .process-line article > span, .case-slots article > span, .quick-links a, .brief-form label span, .reference-card span { letter-spacing: .1em; text-transform: uppercase; }
.site-nav a { color: rgba(21, 21, 21, .62); font-size: .72rem; font-weight: 900; padding: 9px 0; position: relative; transition: color 180ms var(--ease), transform 180ms var(--ease); }
.site-nav a::after { background: currentColor; bottom: 0; content: ""; height: 2px; left: 0; position: absolute; transform: scaleX(0); transform-origin: left; transition: transform 180ms var(--ease); width: 100%; }
.site-nav a:hover, .site-nav a.is-active { color: var(--ink); transform: translateY(-1px); }
.site-nav a:hover::after, .site-nav a.is-active::after { transform: scaleX(1); }

.hero { display: grid; gap: clamp(28px, 5vw, 64px); grid-template-columns: minmax(0, .86fr) minmax(360px, .58fr); padding: clamp(34px, 5vw, 70px) clamp(18px, 4vw, 36px) clamp(42px, 6vw, 74px); }
.hero-copy { align-self: center; }
.kicker { color: var(--green); display: inline-block; font-size: .72rem; font-weight: 900; margin-bottom: 16px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-weight: 900; letter-spacing: -.035em; line-height: .94; text-wrap: balance; }
h1 { font-size: clamp(2.85rem, 5.25vw, 5.65rem); margin-bottom: 20px; }
h2 { font-size: clamp(2.5rem, 4.6vw, 5rem); margin-bottom: 22px; }
h3 { line-height: 1.05; }
p { color: var(--muted); line-height: 1.6; }
.hero-copy p { font-size: clamp(1rem, 1.3vw, 1.16rem); max-width: 720px; }
.hero-signature { border-left: 3px solid var(--ink); color: rgba(21,21,21,.72); font-size: .88rem !important; font-weight: 800; letter-spacing: .03em; margin-bottom: 0; margin-top: 18px; max-width: 560px !important; padding-left: 14px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { align-items: center; border: 1px solid var(--ink); border-radius: 999px; cursor: pointer; display: inline-flex; font-size: .72rem; font-weight: 900; justify-content: center; min-height: 48px; overflow: hidden; padding: 0 20px; position: relative; transition: background 240ms var(--ease), box-shadow 240ms var(--ease), color 240ms var(--ease), transform 240ms var(--ease); }
.button::before { background: rgba(255,255,255,.18); content: ""; inset: 0; position: absolute; transform: translateX(-105%) skewX(-18deg); transition: transform 520ms var(--ease); }
.button:hover { box-shadow: 0 12px 26px rgba(21,21,21,.16); transform: translateY(-3px); }
.button:hover::before { transform: translateX(105%) skewX(-18deg); }
.button:active { box-shadow: 0 5px 12px rgba(21,21,21,.12); transform: translateY(-1px) scale(.98); }
.button.solid { background: var(--ink); color: var(--paper); }
.button.outline { background: rgba(255,255,255,.36); }
.button.outline:hover { background: var(--ink); color: var(--paper); }
.word-rotator-shell { align-self: center; display: grid; gap: 12px; }
.word-frame { align-items: center; background: rgba(255,255,255,.54); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 24px 50px rgba(21,21,21,.07); display: grid; justify-items: center; min-height: 300px; overflow: hidden; padding: clamp(32px, 4vw, 48px); position: relative; text-align: center; transition: border-color 280ms var(--ease), box-shadow 280ms var(--ease), transform 280ms var(--ease); }
.word-frame::before { background-image: radial-gradient(rgba(21,21,21,.16) .7px, transparent .7px); background-size: 8px 8px; content: ""; inset: 0; opacity: .08; pointer-events: none; position: absolute; }
.word-frame::after { background: linear-gradient(135deg, rgba(21,21,21,.08), transparent 42%); content: ""; height: 220px; pointer-events: none; position: absolute; right: -90px; top: -90px; transform: rotate(12deg); width: 220px; }
.word-frame:hover { border-color: rgba(21,21,21,.24); box-shadow: 0 28px 54px rgba(21,21,21,.1); transform: translateY(-4px); }
.word-frame-kicker { color: rgba(21,21,21,.58); font-size: .68rem; font-weight: 900; letter-spacing: .1em; padding-left: 4px; text-transform: uppercase; white-space: nowrap; }
.word-frame strong { color: var(--ink); display: block; font-size: clamp(2rem, 3.25vw, 3.35rem); font-weight: 900; letter-spacing: -.05em; line-height: .9; max-width: 100%; overflow-wrap: normal; text-wrap: balance; }
.word-frame strong.is-changing { animation: word-pop 540ms var(--ease); }
@keyframes word-pop {
    0% { opacity: 0; transform: translateY(14px) scale(.96); }
    58% { opacity: 1; transform: translateY(-4px) scale(1.025); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.solutions, .process, .reference-flow, .portfolio-plan, .briefing { padding: clamp(50px, 7vw, 84px) clamp(18px, 4vw, 36px); }
.section-head, .reference-copy { margin-bottom: clamp(22px, 4vw, 36px); max-width: 930px; }
.section-head.compact { max-width: 760px; }
.solutions { min-height: calc(100svh - 112px); padding-bottom: clamp(18px, 3vw, 30px); padding-top: clamp(22px, 3.5vw, 38px); }
.solutions .section-head h2 { font-size: clamp(2rem, 3.35vw, 3.55rem); max-width: 860px; }
.solutions .section-head p { font-size: clamp(.95rem, 1.05vw, 1rem); max-width: 700px; }
.solution-grid, .process-line, .case-slots { display: grid; gap: 12px; }
.solution-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.solution-grid article, .process-line article, .case-slots article { background: var(--box); border: 1px solid var(--line-soft); min-height: 278px; padding: clamp(16px, 2.1vw, 22px); }
.solution-grid article { border-radius: 18px; display: flex; flex-direction: column; transition: background 280ms var(--ease), border-color 280ms var(--ease), box-shadow 280ms var(--ease), transform 280ms var(--ease); }
.solution-grid article:hover, .process-line article:hover { background: rgba(255,255,255,.86); border-color: rgba(21,21,21,.2); box-shadow: 0 18px 34px rgba(21,21,21,.08); transform: translateY(-5px); }
.solution-grid article > span, .process-line article > span, .case-slots article > span { color: var(--green); display: block; font-size: .68rem; font-weight: 900; margin-bottom: clamp(20px, 3.2vw, 38px); }
.solution-grid h3 { font-size: clamp(1.16rem, 1.55vw, 1.65rem); min-height: 3em; }
.solution-grid p { flex: 1 1 auto; font-size: .9rem; line-height: 1.5; }
.solution-grid b { display: block; font-size: .86rem; line-height: 1.38; margin-top: 16px; }

.process { background: rgba(255,255,255,.36); border-block: 1px solid var(--line); max-width: none; }
.process > * { margin-inline: auto; max-width: var(--max); }
.process .section-head.compact { max-width: var(--max); }
.process .section-head.compact h2 { max-width: 760px; }
.process-line { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.process-line article { border-radius: 18px; min-height: 260px; transition: background 280ms var(--ease), border-color 280ms var(--ease), box-shadow 280ms var(--ease), transform 280ms var(--ease); }

.reference-flow { display: grid; align-items: center; gap: clamp(36px, 5vw, 72px); grid-template-columns: minmax(0, .7fr) minmax(0, 1fr); max-width: min(1360px, calc(100vw - 28px)); }
.reference-copy { min-width: 0; margin-bottom: 0; }
.reference-copy h2 { font-size: clamp(2.35rem, 3.4vw, 3.6rem); line-height: 1.04; overflow-wrap: anywhere; margin-bottom: 28px; }
.reference-copy p { max-width: 46ch; line-height: 1.75; }
.reference-copy .kicker { line-height: 1.5; margin-bottom: 22px; }
.reference-rail { display: grid; gap: 12px; grid-template-columns: repeat(4, minmax(0, 1fr)); min-width: 0; }
.reference-column { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.reference-card { aspect-ratio: 4 / 5; background: var(--ink); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; position: relative; transition: box-shadow 300ms var(--ease), transform 300ms var(--ease); width: 100%; }
.reference-card:hover { box-shadow: 0 20px 36px rgba(21,21,21,.18); transform: translateY(-5px); }
.reference-card.is-square { aspect-ratio: 1 / 1; }
.reference-card img { filter: saturate(.86) contrast(.98); height: 100%; object-fit: cover; opacity: .9; transition: filter 500ms var(--ease), opacity 500ms var(--ease), transform 700ms var(--ease); width: 100%; }
.reference-card:hover img { filter: saturate(1) contrast(1); opacity: 1; transform: scale(1.035); }
.reference-card span { background: var(--paper); border-radius: 0 10px 10px 0; bottom: 10px; font-size: .68rem; font-weight: 900; left: 0; padding: 8px 13px 7px; position: absolute; }

.portfolio-plan { background: var(--ink); border-radius: 28px; color: var(--paper); max-width: min(1360px, calc(100vw - 28px)); }
.portfolio-plan p { color: rgba(248,244,234,.72); }
.portfolio-plan .kicker, .portfolio-plan .featured-case-copy > span, .portfolio-plan .case-slots article > span { color: var(--lime); }
.featured-case { display: grid; gap: clamp(24px, 4vw, 52px); grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr); margin-bottom: 12px; }
.portfolio-plan > .featured-case { align-items: center; }
.case-carousel { aspect-ratio: 1 / 1; border-radius: 20px; overflow: hidden; position: relative; }
.case-carousel-viewport, .case-carousel-slide, .case-carousel-image { height: 100%; }
.case-carousel-viewport { position: relative; }
.case-carousel-slide { background: var(--paper); inset: 0; margin: 0; opacity: 0; pointer-events: none; position: absolute; transform: scale(1.025); transition: opacity 520ms var(--ease), transform 720ms var(--ease); z-index: 0; }
.case-carousel-slide[hidden] { display: none; }
.case-carousel-slide.is-active { opacity: 1; pointer-events: auto; transform: scale(1); z-index: 1; }
.case-carousel-image { overflow: hidden; }
.case-carousel-image img { height: 100%; object-fit: cover; width: 100%; }
.case-carousel-slide figcaption { background: linear-gradient(180deg, transparent, rgba(0,0,0,.68)); bottom: 0; color: var(--paper); font-size: .68rem; font-weight: 900; left: 0; letter-spacing: .1em; padding: 54px 80px 20px 22px; position: absolute; right: 0; text-transform: uppercase; }
.case-carousel-arrow { align-items: center; backdrop-filter: blur(12px); background: rgba(21,21,21,.72); border: 1px solid rgba(255,255,255,.22); border-radius: 999px; color: var(--paper); cursor: pointer; display: flex; height: 46px; justify-content: center; position: absolute; top: 50%; transform: translateY(-50%); transition: background 180ms var(--ease), transform 180ms var(--ease); width: 46px; z-index: 2; }
.case-carousel-arrow:hover { background: rgba(248,244,234,.94); color: var(--ink); transform: translateY(-50%) scale(1.08); }
.case-carousel-arrow.is-previous { left: 16px; }
.case-carousel-arrow.is-next { right: 16px; }
.case-carousel-arrow span { border-right: 2px solid currentColor; border-top: 2px solid currentColor; display: block; height: 10px; width: 10px; }
.case-carousel-arrow.is-previous span { margin-left: 4px; transform: rotate(-135deg); }
.case-carousel-arrow.is-next span { margin-right: 4px; transform: rotate(45deg); }
.case-carousel-status { align-items: center; bottom: 18px; color: var(--paper); display: flex; font-size: .65rem; font-weight: 900; gap: 8px; letter-spacing: .08em; position: absolute; right: 20px; z-index: 2; }
.case-carousel-status i { background: currentColor; height: 1px; opacity: .55; width: 18px; }
.case-audio-slide { background: linear-gradient(145deg, #363636, #111 58%, #242424); }
.case-audio-slide figcaption { display: none; }
.case-carousel.has-audio-active .case-carousel-status { display: none; }
.case-audio-player { align-items: center; color: var(--paper); display: flex; flex-direction: column; height: 100%; justify-content: center; padding: clamp(52px, 8vw, 86px) clamp(58px, 8vw, 90px); position: relative; text-align: center; z-index: 3; }
.case-audio-kicker { color: rgba(248,244,234,.72); font-size: .68rem; font-weight: 900; letter-spacing: .14em; margin-bottom: 14px; text-transform: uppercase; }
.case-audio-brand { height: auto; margin-bottom: 16px; max-width: 154px; object-fit: contain; width: 42%; }
.case-audio-art { align-items: center; display: flex; gap: 6px; height: 54px; justify-content: center; margin-bottom: 18px; }
.case-audio-art span { animation: audio-wave 1.1s ease-in-out infinite alternate; background: linear-gradient(180deg, #f2f2ee, #777); border-radius: 999px; height: 36px; width: 7px; }
.case-audio-art span:nth-child(2), .case-audio-art span:nth-child(4) { animation-delay: -.35s; height: 46px; }
.case-audio-art span:nth-child(3) { animation-delay: -.7s; height: 54px; }
.case-audio-player:not(.is-playing) .case-audio-art span { animation-play-state: paused; }
.case-audio-player h4 { font-size: clamp(1.6rem, 3vw, 2.6rem); letter-spacing: -.03em; line-height: 1; margin: 0 0 14px; }
.case-audio-player p { color: rgba(248,244,234,.68); font-size: .82rem; line-height: 1.5; margin-bottom: 28px; max-width: 380px; }
.case-audio-controls { align-items: center; display: flex; gap: 16px; max-width: 430px; width: 100%; }
.case-audio-toggle { align-items: center; background: var(--paper); border: 0; border-radius: 999px; color: var(--ink); cursor: pointer; display: flex; flex: 0 0 auto; height: 48px; justify-content: center; width: 48px; }
.case-audio-toggle span { border-bottom: 7px solid transparent; border-left: 11px solid currentColor; border-top: 7px solid transparent; margin-left: 3px; }
.case-audio-player.is-playing .case-audio-toggle span { border: 0; border-left: 4px solid currentColor; border-right: 4px solid currentColor; height: 14px; margin: 0; width: 12px; }
.case-audio-timeline { flex: 1 1 auto; min-width: 0; }
.case-audio-time { color: rgba(248,244,234,.62); display: flex; font-size: .62rem; font-weight: 800; justify-content: space-between; margin-top: 5px; }
.case-audio-controls input[type="range"] { accent-color: #bdbdb8; cursor: pointer; height: 4px; width: 100%; }
.case-audio-volume { align-items: center; color: rgba(248,244,234,.6); display: flex; flex: 0 0 74px; font-size: .55rem; font-weight: 900; gap: 6px; }
.case-audio-volume input { min-width: 0; }
@keyframes audio-wave { to { transform: scaleY(.35); } }
.featured-case-copy { align-self: center; padding-block: clamp(12px, 3vw, 32px); }
.featured-case-copy > span { display: block; font-size: .68rem; font-weight: 900; letter-spacing: .1em; margin-bottom: 22px; text-transform: uppercase; }
.featured-case-copy h3 { font-size: clamp(2rem, 3.8vw, 4.4rem); letter-spacing: -.035em; line-height: .95; margin-bottom: 28px; }
.featured-case-copy p { font-size: clamp(.92rem, 1.1vw, 1.04rem); line-height: 1.65; }
.featured-case-copy p:last-child { margin-bottom: 0; }
.portfolio-case { border-top: 1px solid rgba(248,244,234,.16); margin-top: clamp(48px, 7vw, 84px); padding-top: clamp(48px, 7vw, 84px); }
.portfolio-case > .featured-case:not(.is-reversed) { align-items: center; }
.featured-case.is-reversed .case-carousel { order: 2; }
.featured-case.is-reversed .featured-case-copy { order: 1; }
.case-details { display: grid; gap: 12px; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 12px; }
.case-details article { background: rgba(255,255,255,.075); border: 1px solid rgba(248,244,234,.16); border-radius: 18px; padding: clamp(20px, 2.4vw, 28px); transition: background 280ms var(--ease), border-color 280ms var(--ease), transform 280ms var(--ease); }
.case-details article:hover { background: rgba(255,255,255,.11); border-color: rgba(248,244,234,.3); transform: translateY(-4px); }
.case-details span { color: var(--lime); display: block; font-size: .68rem; font-weight: 900; letter-spacing: .1em; margin-bottom: 20px; text-transform: uppercase; }
.case-details p { font-size: .88rem; line-height: 1.6; margin: 0; }
.case-slots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.case-slots.is-single { grid-template-columns: minmax(0, 1fr); }
.case-slots article { background: rgba(255,255,255,.075); border-color: rgba(248,244,234,.16); border-radius: 18px; min-height: 300px; }

.briefing { display: grid; gap: clamp(24px, 5vw, 52px); grid-template-columns: minmax(0, .72fr) minmax(360px, .7fr); }
.briefing-copy { align-self: center; }
.quick-links { display: flex; gap: 20px; margin-top: 24px; }
.quick-links a { border-bottom: 1px solid var(--line); color: var(--muted); font-size: .72rem; font-weight: 900; padding-bottom: 6px; position: relative; transition: color 220ms var(--ease), transform 220ms var(--ease); }
.quick-links a:hover { color: var(--ink); transform: translateY(-2px); }
.brief-form { background: var(--ink); border-radius: 22px; color: var(--paper); display: grid; gap: 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: clamp(20px, 3vw, 30px); }
.brief-form label { display: grid; gap: 8px; }
.brief-form .full { grid-column: 1 / -1; }
.brief-form label span { color: rgba(248,244,234,.72); font-size: .7rem; font-weight: 900; }
.brief-form input, .brief-form select, .brief-form textarea { background: rgba(255,255,255,.08); border: 1px solid rgba(248,244,234,.18); border-radius: 14px; color: var(--paper); min-height: 52px; padding: 13px 14px; transition: background 220ms var(--ease), border-color 220ms var(--ease), box-shadow 220ms var(--ease); width: 100%; }
.brief-form input:hover, .brief-form select:hover, .brief-form textarea:hover { border-color: rgba(248,244,234,.36); }
.brief-form input:focus, .brief-form select:focus, .brief-form textarea:focus { background: rgba(255,255,255,.12); border-color: rgba(248,244,234,.68); box-shadow: 0 0 0 4px rgba(248,244,234,.08); }
.brief-form option { background: var(--ink); color: var(--paper); }
.brief-form textarea { min-height: 142px; resize: vertical; }
.brief-form .button { width: 100%; }

.site-footer { align-items: center; border-top: 1px solid var(--line); display: flex; gap: 20px; justify-content: space-between; padding: 30px clamp(18px, 4vw, 36px) 42px; }
.site-footer img { height: 48px; object-fit: contain; width: auto; }
.site-footer p { font-size: .9rem; margin: 0; max-width: 660px; text-align: right; }
.scroll-top { align-items: center; background: var(--ink); border: 1px solid rgba(248,244,234,.24); border-radius: 999px; bottom: 22px; box-shadow: 0 18px 42px rgba(0,0,0,.18); color: var(--paper); cursor: pointer; display: inline-flex; height: 48px; justify-content: center; opacity: 0; pointer-events: none; position: fixed; right: 22px; transform: translateY(10px); transition: opacity 180ms var(--ease), transform 180ms var(--ease), background 180ms var(--ease); width: 48px; z-index: 30; }
.scroll-top:hover { background: #444; transform: translateY(-3px); }
.scroll-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.scroll-top.is-visible:hover { transform: translateY(-3px); }
.scroll-top span { border-left: 3px solid currentColor; border-top: 3px solid currentColor; display: block; height: 13px; margin-top: 6px; transform: rotate(45deg); width: 13px; }

@media (max-width: 1080px) {
    .hero, .reference-flow, .featured-case, .briefing { grid-template-columns: 1fr; }
    .featured-case.is-reversed .case-carousel, .featured-case.is-reversed .featured-case-copy { order: initial; }
    .solution-grid, .process-line { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .solutions { min-height: auto; }
    .case-slots { grid-template-columns: 1fr; }
    .case-details { grid-template-columns: 1fr; }
    .reference-flow { max-width: min(980px, calc(100vw - 28px)); }
    .reference-rail { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
    .reference-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
    html { scroll-padding-top: 88px; }
    .site-header { align-items: center; flex-direction: row; gap: 16px; padding: 12px 16px; }
    .site-header::before { display: none; }
    .brand-mark { flex: 0 0 auto; }
    .brand-mark img { height: 36px; }
    .site-nav {
        flex: 1 1 auto;
        flex-wrap: nowrap;
        gap: 18px;
        justify-content: flex-start;
        margin-right: -16px;
        overflow-x: auto;
        padding: 5px 16px 6px 0;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .site-nav::-webkit-scrollbar { display: none; }
    .site-nav a { flex: 0 0 auto; font-size: .62rem; padding: 8px 0; white-space: nowrap; }
    .word-frame { min-height: 230px; padding: 28px; }
    .word-frame strong { font-size: clamp(2.1rem, 11vw, 4rem); }
    .hero, .solutions, .process, .reference-flow, .portfolio-plan, .briefing { padding-left: 16px; padding-right: 16px; }
    h1 { font-size: clamp(2.55rem, 12vw, 3.8rem); }
    h2 { font-size: clamp(2.15rem, 11vw, 3.45rem); }
    .solution-grid, .process-line, .brief-form { grid-template-columns: 1fr; }
    .reference-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .solution-grid article, .process-line article, .case-slots article { min-height: 0; }
    .solution-grid h3 { min-height: 0; }
    .solution-grid article > span, .process-line article > span, .case-slots article > span { margin-bottom: 34px; }
    .portfolio-plan { border-radius: 20px; max-width: calc(100vw - 12px); }
    .case-audio-player { padding: 34px 28px 74px; }
    .case-audio-kicker { font-size: .58rem; margin-bottom: 10px; }
    .case-audio-brand { margin-bottom: 12px; max-width: 128px; width: 48%; }
    .case-audio-art { height: 38px; margin-bottom: 14px; }
    .case-audio-art span { height: 28px; width: 6px; }
    .case-audio-art span:nth-child(2), .case-audio-art span:nth-child(4) { height: 36px; }
    .case-audio-art span:nth-child(3) { height: 42px; }
    .case-audio-player h4 { font-size: clamp(1.55rem, 8vw, 2.15rem); line-height: 1.02; margin-bottom: 12px; }
    .case-audio-player p { font-size: .78rem; line-height: 1.45; margin-bottom: 20px; max-width: 300px; }
    .case-audio-controls { gap: 12px; max-width: 100%; }
    .case-audio-toggle { height: 44px; width: 44px; }
    .case-audio-volume { display: none; }
    .brief-form .full { grid-column: auto; }
    .site-footer { align-items: flex-start; flex-direction: column; }
    .site-footer p { text-align: left; }
}
@media (max-width: 460px) {
    .reference-rail { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Produtos próprios da agência */
.agency-products { margin-inline: auto; max-width: var(--max); position: relative; z-index: 1; padding: clamp(50px,7vw,84px) clamp(18px,4vw,36px); }
.product-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.product-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: rgba(251,250,245,.8); }
.product-brand { display: flex; align-items: center; justify-content: center; min-height: 160px; padding: 30px; background: var(--paper-2); border-bottom: 1px solid var(--line); }
.product-brand img { width: 220px; height: auto; max-height: 90px; object-fit: contain; }
.product-brand.is-hubin { background: #151515; }
.product-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: clamp(24px,3vw,34px); flex: 1; }
.product-copy .kicker { margin-bottom: 8px; }
.product-copy h3 { font-size: clamp(1.65rem,2.5vw,2.35rem); letter-spacing: -.035em; margin-bottom: 8px; }
.product-copy p { margin-bottom: 20px; flex: 1; }
.product-copy .button { gap: 12px; }
.product-guidance { margin: 24px 0 0; font-size: .9rem; }
.product-guidance a { text-decoration: underline; text-underline-offset: 4px; }
.footer-products { display: flex; gap: 22px; justify-content: flex-end; font-size: .78rem; font-weight: 800; }
.footer-products a { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 680px) { .product-grid { grid-template-columns: 1fr; } .agency-products { padding-inline: 16px; } .footer-products { justify-content: flex-start; } }

/* Respiro entre a assinatura institucional e os links dos produtos. */
.site-footer > div { display: flex; flex-direction: column; gap: 22px; }
.site-footer > div > p { margin: 0; }
.footer-products { column-gap: 28px; row-gap: 12px; flex-wrap: wrap; }
.footer-products a { display: inline-block; padding-block: 8px; }
