:root {
  --paper: #F4F1EA;
  --paper-2: #ECE7DC;
  --ink: #111111;
  --muted: #5F5A51;
  --line: rgba(17, 17, 17, 0.14);
  --signal: #FF4D1F;
  --dark: #111111;
  --cream: #F4F1EA;
  --max: 1360px;
  --pad: clamp(20px, 4vw, 56px);
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
::selection { background: var(--signal); color: #fff; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.mono { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.1em; text-transform: uppercase; }
.muted { color: var(--muted); }
.display { font-family: var(--display); font-weight: 800; letter-spacing: -0.04em; line-height: 0.95; }
.dot { display: inline-block; width: 0.55em; height: 0.55em; border-radius: 50%; background: var(--signal); vertical-align: 0.05em; }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(244, 241, 234, 0.9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -0.03em; }
.brand small { font-family: var(--mono); font-weight: 500; font-size: 11px; letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; }
.nav ul { display: flex; list-style: none; gap: 28px; }
.nav ul a { text-decoration: none; font-size: 15px; color: var(--muted); }
.nav ul a:hover { color: var(--ink); }
.btn { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 600; font-size: 15px; padding: 12px 20px; border-radius: 999px; border: 1px solid var(--ink); background: var(--ink); color: var(--cream); transition: transform 0.15s ease, background 0.15s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); background: var(--signal); border-color: var(--signal); }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }
@media (max-width: 860px) { .nav ul { display: none; } }

/* hero */
.hero { padding: clamp(48px, 8vw, 110px) 0 40px; }
.hero .kick { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.hero h1 { font-size: clamp(48px, 9.2vw, 148px); margin-top: 22px; max-width: 12ch; }
.hero h1 em { font-style: normal; color: var(--signal); }
.hero .sub { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; margin-top: 36px; align-items: end; }
.hero .sub p { font-size: clamp(18px, 1.6vw, 21px); max-width: 34ch; }
.hero .ctas { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 860px) { .hero .sub { grid-template-columns: 1fr; } .hero .ctas { justify-content: flex-start; } }

.reel { position: relative; margin-top: 44px; border-radius: 18px; overflow: hidden; background: #111; aspect-ratio: 16 / 9; }
.reel video { width: 100%; height: 100%; object-fit: cover; }
.reel .sound { position: absolute; right: 18px; bottom: 18px; background: rgba(17, 17, 17, 0.78); color: #fff; border: 0; border-radius: 999px; padding: 11px 18px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; }
.reel .sound:hover { background: var(--signal); }
.reel .tag { position: absolute; left: 18px; top: 18px; background: rgba(244, 241, 234, 0.92); padding: 8px 14px; border-radius: 999px; }

/* ticker */
.ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; margin-top: 56px; }
.ticker .row { display: flex; gap: 48px; padding: 18px 0; width: max-content; animation: tick 38s linear infinite; font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: -0.02em; }
.ticker .row span { display: flex; align-items: center; gap: 48px; }
.ticker .row span::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--signal); }
@keyframes tick { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker .row { animation: none; } }

/* sections */
section { padding: clamp(64px, 9vw, 120px) 0; }
.shead { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; margin-bottom: 44px; align-items: start; }
.shead h2 { font-size: clamp(36px, 5.4vw, 76px); }
.shead p { margin-top: 16px; max-width: 58ch; color: var(--muted); }
@media (max-width: 760px) { .shead { grid-template-columns: 1fr; } }

.note { border: 1px dashed var(--line); border-radius: 14px; padding: 18px 22px; display: flex; gap: 16px; align-items: flex-start; margin-bottom: 36px; background: rgba(255, 255, 255, 0.35); }
.note b { font-weight: 600; }

/* work cards */
.work { display: grid; grid-template-columns: repeat(12, 1fr); gap: 22px; }
.card { grid-column: span 6; text-decoration: none; display: block; }
.card.wide { grid-column: span 12; }
.card .media { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 9; background: #ddd; }
.card.wide .media { aspect-ratio: 21 / 9; }
.card .media img, .card .media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease, opacity 0.3s ease; }
.card .media video { opacity: 0; }
.card:hover .media video, .card.playing .media video { opacity: 1; }
.card:hover .media img { transform: scale(1.02); }
.card .badge { position: absolute; left: 14px; top: 14px; background: rgba(244, 241, 234, 0.94); padding: 7px 12px; border-radius: 999px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; }
.card .meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 4px 0; }
.card h3 { font-family: var(--display); font-weight: 800; font-size: clamp(26px, 2.6vw, 36px); letter-spacing: -0.03em; }
.card .meta p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.card .arrow { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; }
@media (max-width: 860px) { .card, .card.wide { grid-column: span 12; } .card.wide .media { aspect-ratio: 16 / 9; } }

/* services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.svc { padding: 28px 24px 34px 0; border-bottom: 1px solid var(--line); }
.svc:not(:nth-child(3n)) { border-right: 1px solid var(--line); }
.svc:not(:nth-child(3n + 1)) { padding-left: 24px; }
.svc h3 { font-family: var(--display); font-weight: 700; font-size: 26px; letter-spacing: -0.02em; margin: 12px 0 8px; }
.svc p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 860px) { .services { grid-template-columns: 1fr; } .svc { border-right: 0 !important; padding-left: 0 !important; } }

/* dark band */
.band { background: var(--dark); color: var(--cream); }
.band .muted, .band .shead p { color: rgba(244, 241, 234, 0.66); }
.band .line { border-color: rgba(244, 241, 234, 0.16); }

/* teaser offer */
.offer { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 40px; align-items: center; background: var(--signal); color: #111; border-radius: 22px; padding: clamp(28px, 5vw, 60px); }
.offer h2 { font-size: clamp(38px, 5vw, 72px); }
.offer p { font-size: 18px; margin-top: 16px; max-width: 42ch; }
.offer .btn { background: #111; border-color: #111; }
.offer .btn:hover { background: #fff; color: #111; border-color: #fff; }
.offer ol { list-style: none; counter-reset: s; display: grid; gap: 14px; }
.offer li { counter-increment: s; display: flex; gap: 14px; background: rgba(255, 255, 255, 0.22); border-radius: 14px; padding: 14px 16px; font-weight: 500; }
.offer li::before { content: counter(s, decimal-leading-zero); font-family: var(--mono); font-size: 13px; padding-top: 3px; }
@media (max-width: 860px) { .offer { grid-template-columns: 1fr; } }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.plan { border: 1px solid rgba(244, 241, 234, 0.18); border-radius: 18px; padding: 28px; display: flex; flex-direction: column; gap: 18px; }
.plan.hot { background: var(--cream); color: var(--ink); border-color: var(--cream); }
.plan.hot .muted { color: var(--muted); }
.plan .price { font-family: var(--display); font-weight: 800; font-size: 58px; letter-spacing: -0.04em; line-height: 1; }
.plan .price small { font-family: var(--body); font-weight: 500; font-size: 16px; letter-spacing: 0; opacity: 0.7; }
.plan ul { list-style: none; display: grid; gap: 10px; font-size: 15.5px; }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: "→"; color: var(--signal); }
.plan .btn { margin-top: auto; justify-content: center; background: transparent; color: inherit; border-color: currentColor; }
.plan.hot .btn { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.plan .btn:hover { background: var(--signal); color: #fff; border-color: var(--signal); }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; } }

/* process */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--line); }
.step { padding: 22px 18px 26px 0; }
.step + .step { border-left: 1px solid var(--line); padding-left: 18px; }
.step .d { font-family: var(--display); font-weight: 800; font-size: 44px; letter-spacing: -0.04em; }
.step h3 { font-size: 17px; font-weight: 600; margin: 8px 0 6px; }
.step p { font-size: 14.5px; color: var(--muted); }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } .step + .step { border-left: 0; padding-left: 0; } .step { border-bottom: 1px solid var(--line); } }

/* faq */
.faq details { border-top: 1px solid var(--line); padding: 20px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; font-family: var(--display); font-weight: 700; font-size: clamp(20px, 2vw, 26px); letter-spacing: -0.02em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--signal); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 12px; max-width: 70ch; color: var(--muted); }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; }
.contact h2 { font-size: clamp(44px, 7vw, 110px); }
.form { display: grid; gap: 14px; }
.form label { display: grid; gap: 6px; font-size: 14px; color: rgba(244, 241, 234, 0.7); }
.form input, .form textarea, .form select { font: inherit; color: var(--cream); background: transparent; border: 1px solid rgba(244, 241, 234, 0.22); border-radius: 12px; padding: 13px 14px; }
.form textarea { min-height: 110px; resize: vertical; }
.form select option { color: #111; }
.form input:focus, .form textarea:focus, .form select:focus { outline: 2px solid var(--signal); border-color: transparent; }
.form .btn { justify-self: start; background: var(--signal); border-color: var(--signal); color: #111; }
.form .btn:hover { background: var(--cream); border-color: var(--cream); }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

footer { border-top: 1px solid rgba(244, 241, 234, 0.14); padding: 28px 0 40px; color: rgba(244, 241, 234, 0.6); }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

/* case study pages */
.case-hero { padding: clamp(40px, 7vw, 90px) 0 30px; }
.case-hero h1 { font-size: clamp(52px, 9vw, 140px); margin-top: 16px; }
.case-hero .lede { font-size: clamp(19px, 1.8vw, 24px); max-width: 44ch; margin-top: 22px; }
.player { border-radius: 18px; overflow: hidden; background: #111; aspect-ratio: 16 / 9; margin-top: 36px; }
.player video { width: 100%; height: 100%; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 40px; }
.facts div { padding: 18px 16px 20px 0; }
.facts div + div { border-left: 1px solid var(--line); padding-left: 16px; }
.facts b { display: block; font-weight: 600; margin-top: 6px; }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr 1fr; } .facts div + div { border-left: 0; padding-left: 0; } }
.prose { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; padding: 48px 0; border-bottom: 1px solid var(--line); }
.prose h2 { font-family: var(--display); font-weight: 800; font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.03em; margin-bottom: 12px; }
.prose p + p { margin-top: 12px; }
.prose p { max-width: 64ch; }
@media (max-width: 760px) { .prose { grid-template-columns: 1fr; } }
.frames { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 48px 0; }
.frames figure { margin: 0; }
.frames img { border-radius: 12px; aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.frames figcaption { margin-top: 8px; font-size: 13.5px; color: var(--muted); }
@media (max-width: 760px) { .frames { grid-template-columns: 1fr; } }
.palette { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.palette span { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px 6px 6px; }
.palette i { width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--line); }
.next { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 48px 0 80px; flex-wrap: wrap; }
.next a.big { font-family: var(--display); font-weight: 800; font-size: clamp(32px, 5vw, 64px); letter-spacing: -0.04em; text-decoration: none; }
.next a.big:hover { color: var(--signal); }
