@font-face { font-family: "Bricolage"; src: url("fonts/bricolage.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
@font-face { font-family: "Instrument Sans"; src: url("fonts/instrument-sans.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }

:root {
  --paper: #f2ede4; --paper-2: #e8e1d4; --ink: #121110; --muted: #6e675d; --line: #d6cdbd;
  --hot: #ff5b1f; --display: "Bricolage", "Arial Black", system-ui, sans-serif; --text: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--text); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 100; opacity: .05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); margin: 0; font-weight: 700; letter-spacing: -.045em; line-height: .92; }
em { font-style: normal; color: var(--hot); }
section { padding-inline: var(--gutter); }

/* header */
.top { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px var(--gutter); background: color-mix(in srgb, var(--paper) 82%, transparent); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.brand { font-family: var(--display); font-weight: 800; font-size: 1.35rem; letter-spacing: -.04em; text-decoration: none; }
.brand sup { font-size: .5em; font-weight: 500; margin-left: 2px; }
.top nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 32px); }
.top nav a { text-decoration: none; font-weight: 500; position: relative; }
.top nav a:not(.pill)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s cubic-bezier(.7,0,.2,1); }
.top nav a:not(.pill):hover::after { transform: scaleX(1); transform-origin: left; }
.pill { padding: 9px 18px; border-radius: 999px; background: var(--ink); color: var(--paper); transition: background .25s; }
.pill:hover { background: var(--hot); }

/* hero */
.hero { padding-top: clamp(40px, 8vw, 110px); padding-bottom: clamp(40px, 6vw, 72px); }
.meta { display: flex; align-items: center; gap: 10px; margin: 0 0 clamp(18px, 3vw, 32px); font-weight: 500; color: var(--muted); }
.live { width: 9px; height: 9px; border-radius: 50%; background: #2ebd59; box-shadow: 0 0 0 0 rgba(46,189,89,.6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(46,189,89,0); } 100% { box-shadow: 0 0 0 0 rgba(46,189,89,0); } }
h1 { font-size: clamp(3.4rem, 10.6vw, 11rem); font-weight: 800; max-width: 9.5em; text-wrap: balance; }
h1 .dot { color: var(--hot); }
.hero-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-top: clamp(28px, 5vw, 64px); }
.lead { max-width: 30em; margin: 0; font-size: clamp(1.05rem, 1.7vw, 1.3rem); line-height: 1.5; }
.badge { position: relative; flex: none; width: clamp(130px, 14vw, 180px); aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: var(--hot); color: var(--ink); text-decoration: none; transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.badge:hover { transform: scale(1.06) rotate(-6deg); }
.badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 16s linear infinite; }
.badge text { font-family: var(--display); font-size: 15.5px; font-weight: 700; letter-spacing: 2.4px; fill: var(--ink); }
.badge span { font-size: 2.4rem; line-height: 1; }
@keyframes spin { to { transform: rotate(360deg); } }

/* marquee */
.marquee { overflow: hidden; border-block: 1.5px solid var(--ink); background: var(--ink); color: var(--paper); padding: 16px 0; }
.track { display: flex; width: max-content; gap: 28px; align-items: center; animation: slide 32s linear infinite; font-family: var(--display); font-size: clamp(1.4rem, 3vw, 2.4rem); font-weight: 600; letter-spacing: -.03em; white-space: nowrap; }
.track i { font-style: normal; color: var(--hot); }
@keyframes slide { to { transform: translateX(-50%); } }

/* section heads */
.sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; border-bottom: 1.5px solid var(--ink); padding-bottom: 18px; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head h2 { font-size: clamp(2.4rem, 6vw, 5rem); }
.sec-head p { margin: 0; color: var(--muted); font-weight: 500; }

/* work */
.work { padding-block: clamp(72px, 10vw, 140px); }
.cases { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(16px, 2.4vw, 32px); }
.case { text-decoration: none; display: block; }
.c1 { grid-column: 1 / 8; } .c2 { grid-column: 8 / 13; margin-top: clamp(40px, 9vw, 140px); }
.c3 { grid-column: 1 / 6; } .c4 { grid-column: 6 / 13; margin-top: clamp(-80px, -6vw, -40px); }
.art { border-radius: 6px; overflow: hidden; background: var(--paper-2); }
.art svg { display: block; width: 100%; height: auto; transition: transform .9s cubic-bezier(.2,.8,.2,1); }
.art text { font-family: var(--display); }
.case:hover .art svg { transform: scale(1.045); }
.case-info { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-top: 14px; }
.case-info h3 { font-size: clamp(1.3rem, 2.2vw, 1.8rem); letter-spacing: -.03em; }
.case-info p { margin: 0; color: var(--muted); font-size: .95rem; text-align: right; }

/* services */
.services { padding-bottom: clamp(72px, 10vw, 140px); }
.svc { list-style: none; margin: 0; padding: 0; }
.svc li { position: relative; display: grid; grid-template-columns: 80px minmax(0, 1.1fr) minmax(0, 1fr) 48px; align-items: center; gap: 24px; padding: clamp(20px, 3vw, 34px) 0; border-bottom: 1.5px solid var(--line); transition: padding .4s cubic-bezier(.2,.8,.2,1), color .3s; }
.svc li::before { content: ""; position: absolute; inset: 0 calc(-1 * var(--gutter)); background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .45s cubic-bezier(.7,0,.2,1); z-index: -1; }
.svc li:hover { color: var(--paper); padding-left: 20px; }
.svc li:hover::before { transform: scaleY(1); }
.svc { position: relative; z-index: 0; }
.n { font-family: var(--display); font-weight: 500; color: var(--muted); }
.svc h3 { font-size: clamp(1.8rem, 4.2vw, 3.4rem); }
.svc p { margin: 0; color: inherit; opacity: .75; }
.arrow { font-size: 2rem; justify-self: end; transition: transform .4s; }
.svc li:hover .arrow { transform: rotate(45deg); color: var(--hot); }

/* about */
.about { padding-bottom: clamp(72px, 10vw, 140px); }
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.about h2 { font-size: clamp(2.2rem, 5vw, 4.4rem); text-wrap: balance; }
.about p { margin: 0 0 18px; font-size: 1.1rem; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 32px 0 0; }
.facts div { border-top: 1.5px solid var(--ink); padding-top: 12px; }
.facts dt { color: var(--muted); font-size: .9rem; }
.facts dd { margin: 0; font-family: var(--display); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; letter-spacing: -.04em; line-height: 1.1; }
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: clamp(48px, 8vw, 100px); }
.process article { padding: 24px; border-radius: 6px; background: var(--paper-2); transition: background .3s, transform .3s; }
.process article:hover { background: var(--hot); transform: translateY(-4px); }
.process b { font-size: .85rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.process h3 { font-size: 2rem; margin: 40px 0 10px; }
.process p { margin: 0; font-size: .98rem; }

/* clients */
.clients { padding-bottom: clamp(56px, 8vw, 110px); text-align: center; }
.clients > p { color: var(--muted); margin: 0 0 20px; }
.client-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px clamp(28px, 5vw, 72px); font-family: var(--display); font-size: clamp(1.4rem, 2.8vw, 2.2rem); font-weight: 600; letter-spacing: -.03em; color: #8d8579; }
.client-row .i { font-family: var(--text); font-style: italic; font-weight: 500; }
.client-row .b { font-weight: 800; letter-spacing: .08em; }

/* quote */
.quote { padding-block: clamp(64px, 9vw, 120px); background: var(--ink); color: var(--paper); }
.quote figure { margin: 0 auto; max-width: 1100px; }
.quote blockquote { margin: 0 0 40px; font-family: var(--display); font-size: clamp(1.8rem, 4.2vw, 3.6rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.08; text-wrap: balance; }
.quote blockquote::before { content: "\201C"; color: var(--hot); }
.quote blockquote::after { content: "\201D"; color: var(--hot); }
.quote figcaption { display: flex; align-items: center; gap: 16px; color: #b6ad9f; }
.quote figcaption strong { display: block; color: var(--paper); }
.face { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--hot); color: var(--ink); font-family: var(--display); font-weight: 700; }

/* contact */
.contact { padding-block: clamp(80px, 12vw, 170px) clamp(56px, 8vw, 100px); }
.contact h2 { font-size: clamp(3rem, 10vw, 9.5rem); font-weight: 800; max-width: 8em; }
.mail { display: inline-flex; align-items: center; gap: .3em; margin-top: clamp(28px, 5vw, 56px); font-family: var(--display); font-size: clamp(1.4rem, 4.4vw, 3.6rem); font-weight: 600; letter-spacing: -.04em; text-decoration: none; border-bottom: 3px solid var(--ink); overflow-wrap: anywhere; transition: color .25s, border-color .25s; }
.mail:hover { color: var(--hot); border-color: var(--hot); }
.mail span { transition: transform .35s; } .mail:hover span { transform: translate(4px, -4px); }
.contact-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(40px, 6vw, 80px); }
.contact-row p { margin: 0; border-top: 1.5px solid var(--ink); padding-top: 12px; }
.contact-row b { display: block; color: var(--muted); font-weight: 500; font-size: .9rem; }

/* footer */
.foot { overflow: hidden; background: var(--hot); padding: 0 var(--gutter) 24px; }
.giant { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(3.6rem, 15.5vw, 16rem); letter-spacing: -.06em; line-height: .85; white-space: nowrap; padding-top: clamp(24px, 4vw, 48px); }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 28px; font-weight: 500; }
.foot-row p { margin: 0; }

/* reveal */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
  [data-reveal].in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

@media (max-width: 900px) {
  .top nav a:not(.pill) { display: none; }
  .hero-foot { flex-direction: column; align-items: flex-start; }
  .cases { grid-template-columns: 1fr; } .c1, .c2, .c3, .c4 { grid-column: auto; margin-top: 0; }
  .svc li { grid-template-columns: 48px 1fr 32px; } .svc p { grid-column: 2 / 3; }
  .about-grid { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .contact-row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .process { grid-template-columns: 1fr; } .facts { grid-template-columns: 1fr 1fr 1fr; } }
