/*
  Curve + Corner
  Grotesk for structure, Vollkorn italic for feeling. Yellow and charcoal from the mark.
  Pills from the logo. One easing curve for all motion: long and soft.
*/
:root {
  --ground: #f3f2ee;
  --paper: #fbfaf7;
  --ink: #4b4846;
  --deep: #2f2d2b;
  --ink-2: #6f6b67;
  --line: #dcdad4;
  --accent: #ffe000;
  --on-dark: #d4d1cc;
  --on-dark-2: #a19d98;

  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --serif: "Vollkorn", Georgia, serif;

  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --max: 1360px;
  --gut: clamp(20px, 3vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--sans); font-size: 18px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; text-wrap: pretty; }
li, figcaption, .desc, .what { text-wrap: pretty; }
h1, h2, h3 { margin: 0; color: var(--deep); font-weight: 700; letter-spacing: -.012em; line-height: 1; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--deep); outline-offset: 3px; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.wrap { max-width: var(--max); margin: 0 auto; padding-inline: var(--gut); }
.eyebrow { margin: 0 0 22px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); }
.muted { color: var(--ink-2); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--paper); padding: 10px 16px; border-radius: 999px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--ground) 88%, transparent); backdrop-filter: blur(12px) saturate(1.3); -webkit-backdrop-filter: blur(12px) saturate(1.3); border-bottom: 1px solid transparent; transition: border-color .4s; animation: drop 1s var(--ease) 1.2s both; }
.site-header.scrolled { border-bottom-color: var(--line); }
@keyframes drop { from { opacity: 0; transform: translateY(-24px); } to { opacity: 1; transform: none; } }
.inner-page .site-header { animation-delay: .1s; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 78px; }
.brand img { height: 34px; width: auto; }
.nav { display: flex; align-items: center; gap: 30px; font-size: 15px; font-weight: 500; }
.nav a:not(.btn) { text-decoration: none; }
.navlink, .nav a:not(.btn) { background-image: linear-gradient(currentColor, currentColor); background-size: 0 1.5px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size .5s var(--ease); padding-bottom: 3px; }
.navlink:hover, .nav a:not(.btn):hover, .nav a[aria-current="page"]:not(.btn) { background-size: 100% 1.5px; }
.menu-btn { display: none; }
@media (max-width: 860px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; flex-direction: column; justify-content: center; gap: 7px; width: 48px; height: 48px; padding: 12px; border: 2px solid var(--deep); border-radius: 999px; background: none; cursor: pointer; }
  .menu-btn span { display: block; height: 2px; background: var(--deep); }
}

/* full-screen mobile menu */
.mobile-menu { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; background: var(--ground); overflow-y: auto; padding-bottom: env(safe-area-inset-bottom, 0px); }
.mobile-menu[hidden] { display: none; }
.mobile-menu.open { animation: mmIn .6s var(--ease) both; }
@keyframes mmIn { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: none; } }
.mobile-menu > .wrap { width: 100%; }
.mm-top { display: flex; align-items: center; justify-content: space-between; height: 78px; flex: none; }
.mm-top .brand img { height: 34px; width: auto; }
.mm-close { position: relative; width: 48px; height: 48px; border: 2px solid var(--deep); border-radius: 999px; background: var(--accent); cursor: pointer; }
.mm-close span { position: absolute; left: 13px; right: 13px; top: 21px; height: 2px; background: var(--deep); }
.mm-close span:first-child { transform: rotate(45deg); }
.mm-close span:last-child { transform: rotate(-45deg); }
.mm-links { display: flex; flex-direction: column; gap: 4px; padding-block: 32px 24px; flex: 1; }
.mm-links a { font-size: clamp(40px, 11vw, 64px); font-weight: 700; letter-spacing: -.016em; line-height: 1.1; color: var(--deep); text-decoration: none; padding-block: 6px; border-bottom: 1px solid var(--line); }
.mm-links a[aria-current="page"] { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.mm-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; padding-block: 24px 40px; flex: none; font-weight: 600; }
.mobile-menu.open .mm-links a, .mobile-menu.open .mm-foot { animation: mmUp .7s var(--ease) both; animation-delay: calc(.1s + var(--i) * 55ms); }
@keyframes mmUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
body.menu-open { overflow: hidden; }

/* ---------- buttons: pills that fill from the bottom ---------- */
.btn { position: relative; overflow: hidden; isolation: isolate; display: inline-flex; align-items: center; gap: 10px; padding: 15px 28px; border-radius: 999px; border: 2px solid var(--ink); background: var(--ink); color: var(--paper); font-family: var(--sans); font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; transition: transform .45s var(--ease), color .5s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: var(--wipe, var(--accent)); transform: translateY(101%); transition: transform .5s var(--ease); z-index: -1; }
.btn:hover::before { transform: none; }
.btn:hover { color: var(--wipe-ink, var(--deep)); }
.btn:active { transform: scale(.97); }
.btn .arr { display: inline-block; transition: transform .5s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn--ghost { background: transparent; color: var(--ink); --wipe: var(--deep); --wipe-ink: var(--paper); }
.btn--yellow { background: var(--accent); border-color: var(--accent); color: var(--deep); --wipe: var(--paper); }
.btn--sm { padding: 12px 22px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- hero (home) ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: center; gap: 56px; padding-block: 88px 96px; }
.hero h1 { font-size: clamp(46px, 6.6vw, 112px); line-height: .95; letter-spacing: -.018em; }
.hero .lede { margin-top: 36px; }
.hero .btn-row { margin-top: 40px; }
.lede { font-size: clamp(20px, 1.8vw, 25px); line-height: 1.45; max-width: 34em; color: var(--ink); }
.hero-art { width: 100%; max-width: 500px; justify-self: end; }
.hero-art svg { display: block; width: 100%; height: auto; overflow: visible; }
.art-cap { display: grid; grid-template-columns: 1fr 1fr; margin-top: 18px; text-align: center; font-size: clamp(20px, 1.8vw, 26px); font-weight: 700; letter-spacing: -.008em; line-height: 1; color: var(--deep); }
.art-cap .serif { font-weight: 400; letter-spacing: 0; }
@media (max-width: 720px) { .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 56px; } .hero-art { order: -1; max-width: 300px; justify-self: start; } }

/* intro motion: hidden states live in keyframes only, so paused motion still shows everything */
.in-hero { animation: up 1.2s var(--ease) both; }
@keyframes up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .2em; margin-bottom: -.2em; }
.w > span { display: inline-block; animation: word 1.1s var(--ease) both; animation-delay: calc(.35s + var(--i) * 70ms); }
@keyframes word { from { transform: translateY(110%); } to { transform: none; } }
.half { transform-box: view-box; transform-origin: 0 84.37px; animation: half 1.3s var(--ease) .2s both; }
.half-r { animation-delay: .35s; }
@keyframes half { from { transform: scaleY(0); } to { transform: none; } }
.stroke { stroke-dasharray: 1; animation: draw 1.9s var(--ease-io) .7s both; }
.stroke.l1 { animation-duration: .8s; animation-delay: 1.75s; }
.stroke.l2 { animation-duration: .8s; animation-delay: 2.05s; }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
.seal { animation: seal .3s linear 2.5s both; }
@keyframes seal { from { opacity: 0; } to { opacity: 1; } }
.art-cap { animation: up 1s var(--ease) 2.6s both; }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; background: var(--accent); color: var(--deep); border-block: 2px solid var(--deep); padding-block: 22px; }
.track { display: flex; align-items: center; gap: 40px; width: max-content; font-size: clamp(22px, 2.4vw, 32px); font-weight: 700; letter-spacing: -.008em; white-space: nowrap; animation: marquee 40s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.pill { display: inline-block; flex: none; width: 34px; height: 17px; border-radius: 999px; border: 3px solid var(--deep); animation: spin 8s var(--ease-io) infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- sections ---------- */
.section { padding-block: clamp(80px, 9vw, 120px); }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 56px; margin-bottom: 48px; }
.sec-head h2 { font-size: clamp(40px, 4.6vw, 68px); flex: 1 1 480px; }
.sec-head p { margin: 0; max-width: 30em; color: var(--ink-2); flex: 0 1 30em; }
.rule { height: 2px; background: var(--deep); }

/* proof */
.proof { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.proof > div { padding: 32px 32px 8px 0; min-width: 0; container-type: inline-size; }
.proof > div + div { padding-left: 32px; border-left: 1px solid var(--line); }
.proof .big { margin: 0; white-space: nowrap; font-size: min(76px, 15cqi); font-weight: 700; letter-spacing: -.016em; line-height: 1; color: var(--deep); }
.proof .who { margin: 18px 0 0; font-weight: 600; color: var(--deep); }
.proof .what { margin: 6px 0 0; font-size: 16px; color: var(--ink-2); max-width: 22em; }
.fineprint { margin: 22px 0 0; font-size: 14px; color: var(--ink-2); }
@media (max-width: 600px) { .proof > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }

/* the idea: curve + corner joined */
.dark { background: var(--deep); color: var(--ground); }
.dark h2 { color: var(--paper); }
.dark .eyebrow { color: var(--on-dark-2); }
.dark .sec-head p { color: var(--on-dark); font-size: clamp(19px, 1.7vw, 23px); line-height: 1.45; }
.pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.pair > div { min-height: 340px; padding: 56px; display: flex; flex-direction: column; justify-content: center; }
.pair .curve { background: var(--paper); color: var(--ink); padding-left: 120px; border-radius: 999px 0 0 999px; }
.pair .corner { background: var(--accent); color: var(--deep); padding-right: 120px; }
.pair .word { margin: 0 0 18px; font-size: clamp(56px, 6vw, 88px); line-height: 1; color: var(--deep); }
.pair .corner .word { font-weight: 700; letter-spacing: -.01em; }
.pair p:last-child { margin: 0; max-width: 24em; font-size: 19px; }
@media (max-width: 700px) { .pair .curve { padding-left: 72px; } .pair .corner { padding-right: 56px; } }

/* work cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 56px 32px; }
.card { display: block; text-decoration: none; color: var(--ink); min-width: 0; }
.cover { aspect-ratio: 16 / 10; border-radius: 0; overflow: hidden; background: var(--line); transition: transform .8s var(--ease); }
.cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .cover { transform: translateY(-6px); }
.card:hover .cover img { transform: scale(1.04); }
.card-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding-top: 18px; }
.card h3 { font-size: 26px; letter-spacing: -.008em; }
.tag { font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); white-space: nowrap; }
.card p { margin: 8px 0 0; font-size: 16px; color: var(--ink-2); max-width: 36em; }
.sec-foot { margin-top: 48px; }

/* services list */
.svc-list a { display: flex; flex-wrap: wrap; gap: 8px 40px; padding: 26px 0; border-bottom: 1px solid var(--line); align-items: baseline; text-decoration: none; transition: padding-left .6s var(--ease), background-color .4s; }
.svc-list a:hover { padding-left: 20px; background: var(--paper); }
.svc-list .name { flex: 1 1 380px; font-size: clamp(22px, 2.2vw, 30px); font-weight: 700; letter-spacing: -.008em; color: var(--deep); }
.svc-list .desc { flex: 1 1 380px; color: var(--ink-2); }
.dot { display: inline-block; width: 0; height: 14px; margin-right: 0; vertical-align: middle; background: var(--accent); border-radius: 999px; transition: width .6s var(--ease), margin-right .6s var(--ease); }
.svc-list a:hover .dot { width: 28px; margin-right: 14px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { padding: 26px 28px 0 0; counter-increment: step; }
.steps li::before { content: counter(step, decimal-leading-zero); display: inline-block; background: var(--accent); color: var(--deep); font-size: 13px; font-weight: 700; letter-spacing: .12em; padding: 4px 12px; border-radius: 999px; }
.steps h3 { margin: 18px 0 10px; font-size: 26px; letter-spacing: -.008em; }
.steps p { margin: 0; font-size: 16px; color: var(--ink-2); }

/* studio panel */
.panel { background: var(--paper); border-radius: 32px; padding: clamp(32px, 5vw, 64px); display: flex; flex-wrap: wrap; gap: 48px 64px; }
.panel > div { flex: 1 1 360px; min-width: 0; }
.panel h2 { font-size: clamp(38px, 4.2vw, 62px); }
.trio { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 16px; margin-top: 24px; }
.trio div { border-top: 2px solid var(--deep); padding-top: 14px; }
.trio strong { display: block; margin-bottom: 4px; color: var(--deep); }
.trio span { font-size: 15px; color: var(--ink-2); }

/* closing band */
.band { position: relative; overflow: hidden; background: var(--ink); color: var(--paper); }
.band .ring { position: absolute; right: -120px; top: 50%; translate: 0 -50%; width: 560px; height: 280px; border: 6px solid #5f5b58; border-radius: 999px; animation: breathe 8s var(--ease-io) infinite; }
@keyframes breathe { 0%, 40% { border-radius: 999px; } 50%, 90% { border-radius: 0; } 100% { border-radius: 999px; } }
.band .wrap { position: relative; padding-block: clamp(90px, 10vw, 130px); display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 40px; }
.band h2 { color: var(--paper); font-size: clamp(44px, 6.4vw, 100px); line-height: .98; letter-spacing: -.016em; }
.band h2 .serif { color: var(--accent); }
.band p { margin: 24px 0 0; max-width: 30em; font-size: 19px; color: var(--on-dark); }

/* ---------- inner page heads ---------- */
.page-head { padding-block: clamp(56px, 8vw, 110px) clamp(40px, 5vw, 64px); }
.page-head h1 { font-size: clamp(44px, 6.6vw, 104px); line-height: .96; letter-spacing: -.018em; max-width: 14em; }
.page-head .lede { margin-top: 32px; }
.page-head .in-hero:nth-child(1) { animation-delay: .15s; }

/* ---------- case studies ---------- */
.founder-note { display: inline-flex; align-items: center; gap: 12px; margin-top: 30px; padding: 10px 20px 10px 12px; background: var(--paper); border-radius: 999px; font-size: 15px; color: var(--ink-2); max-width: 100%; }
.founder-note::before { content: ""; flex: none; width: 26px; height: 13px; border-radius: 999px; background: var(--accent); border: 2px solid var(--ink); }
.project .block { margin: 0 0 clamp(24px, 3.5vw, 44px); }
.project .block--text { max-width: 820px; }
.project .block img { width: 100%; border-radius: 0; background: none; }
.project .video { border-radius: 0; }
.logo-cell { display: flex; justify-content: center; }
.project .block img.logo-img { width: 100%; max-width: 340px; mix-blend-mode: multiply; }
@media (max-width: 760px) { .project .block img.logo-img { max-width: 240px; } }
.eq-row { display: flex; align-items: flex-start; gap: clamp(16px, 2.5vw, 32px); }
.eq-item { min-width: 0; }
.eq-item img { width: 100%; height: auto; }
@media (max-width: 600px) { .eq-row { flex-direction: column; } .eq-item { flex: none !important; width: 100%; } }
.project .section-title { font-size: clamp(26px, 3vw, 42px); margin: clamp(56px, 7vw, 96px) 0 24px; max-width: 900px; }
.project figure { margin: 0; }
.project figcaption, .project .caption { margin: 12px 0 0; font-size: 14px; color: var(--ink-2); }
.cols { display: grid; gap: clamp(16px, 2.5vw, 32px); align-items: start; }
.cols > div { min-width: 0; }
.cols--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cols--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cols--split { grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 80px); align-items: center; }
@media (max-width: 760px) { .cols--2, .cols--3, .cols--4, .cols--split { grid-template-columns: 1fr; } }
.meta { display: grid; gap: 26px; }
.meta-row h3 { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 8px; }
.meta-row p { margin: 0; }
.meta--loose .meta-row h3 { font-size: clamp(20px, 2vw, 26px); letter-spacing: -.01em; text-transform: none; color: var(--deep); }
.prose { max-width: 42em; }
.prose h3 { font-size: 14px; letter-spacing: .12em; text-transform: uppercase; margin: 1.6em 0 .5em; }
.prose h3:first-child { margin-top: 0; }
.prose a, .meta a { font-weight: 600; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--accent); }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #191919; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.next { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; margin-top: clamp(64px, 8vw, 110px); padding-block: 48px 100px; }
.next-link { text-decoration: none; }
.next-title { display: block; font-weight: 700; font-size: clamp(40px, 6vw, 84px); letter-spacing: -.016em; line-height: 1; color: var(--deep); background-image: linear-gradient(var(--accent), var(--accent)); background-size: 0 .22em; background-repeat: no-repeat; background-position: 0 92%; transition: background-size .8s var(--ease); }
.next-link:hover .next-title { background-size: 100% .22em; }
.more ul { list-style: none; padding: 0; margin: 0; columns: 2; column-gap: 24px; }
.more li { margin-bottom: 8px; }
.more a { text-decoration: none; font-size: 16px; }
@media (max-width: 760px) { .next { grid-template-columns: 1fr; } }

/* ---------- services page ---------- */
.svc { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px clamp(32px, 6vw, 96px); padding-block: clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.svc h2 { font-size: clamp(30px, 3.6vw, 48px); }
.svc .promise { margin: 16px 0 0; font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2; color: var(--deep); }
.svc-body > p { max-width: 36em; }
.chips { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-size: 14px; padding: 7px 14px; border: 1px solid var(--line); background: var(--paper); border-radius: 999px; }
@media (max-width: 820px) { .svc { grid-template-columns: 1fr; } }
.ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.ways article { background: var(--paper); border-radius: 28px; padding: 34px 32px 38px; }
.ways h3 { font-size: 30px; margin-bottom: 14px; }
.ways p { margin: 0; color: var(--ink-2); }

/* ---------- studio page ---------- */
.two-col { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); }
.two-col h2 { font-size: clamp(32px, 4vw, 56px); }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; } }
.prose-lg p { font-size: 20px; line-height: 1.5; max-width: 36em; }
.principles { list-style: none; padding: 0; margin: 0; }
.principles li { padding: 26px 0; border-bottom: 1px solid var(--line); }
.principles h3 { font-size: 26px; margin-bottom: 8px; letter-spacing: -.008em; }
.principles p { margin: 0; color: var(--ink-2); }
.chip-row { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; }
.chip-row li { padding: 10px 18px; border: 2px solid var(--deep); border-radius: 999px; font-weight: 600; font-size: 16px; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(36px, 6vw, 96px); padding-bottom: clamp(80px, 10vw, 140px); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 600px) { .field-row { grid-template-columns: 1fr; } }
label, legend { font-size: 14px; font-weight: 600; letter-spacing: .02em; color: var(--deep); }
.optional { font-weight: 400; color: var(--ink-2); }
input[type="text"], input[type="email"], select, textarea { width: 100%; font: inherit; font-size: 17px; color: var(--deep); background: var(--paper); border: 1.5px solid var(--line); border-radius: 18px; padding: 14px 18px; transition: border-color .3s; }
input[type="text"], input[type="email"], select { border-radius: 999px; }
input:focus, select:focus, textarea:focus { border-color: var(--deep); outline: none; }
textarea { min-height: 170px; resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.checks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.checks label { font-weight: 500; font-size: 15px; letter-spacing: 0; position: relative; }
.checks input { position: absolute; opacity: 0; pointer-events: none; }
.checks span { display: inline-block; padding: 10px 18px; background: var(--paper); border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; transition: background-color .3s, border-color .3s; user-select: none; }
.checks input:checked + span { background: var(--accent); border-color: var(--deep); color: var(--deep); }
.checks input:focus-visible + span { outline: 3px solid var(--deep); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; }
.aside-block { border-top: 2px solid var(--deep); padding-top: 24px; margin-bottom: 40px; }
.aside-block h2 { font-size: 22px; letter-spacing: -.01em; margin-bottom: 14px; }
.aside-block ol { margin: 0; padding-left: 1.2em; color: var(--ink-2); }
.aside-block li { margin-bottom: 10px; }
.big-email { font-weight: 700; font-size: clamp(18px, 1.6vw, 22px); overflow-wrap: anywhere; }

/* ---------- footer ---------- */
.site-footer { background: var(--deep); color: var(--paper); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 40px; padding-block: 64px 36px; }
.footer-inner > div { min-width: 0; }
.footer-brand { flex: 2 1 320px; }
.footer-brand img { height: 30px; width: auto; }
.footer-brand p { margin: 18px 0 0; max-width: 26em; color: var(--on-dark); }
.footer-col { flex: 1 1 200px; }
.footer-col h4 { margin: 0 0 14px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-2); }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 8px; overflow-wrap: anywhere; }
.footer-col a { text-decoration: none; }
.footer-base { flex: 1 1 100%; border-top: 1px solid #45423f; padding-top: 24px; font-size: 13px; color: var(--on-dark-2); }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.footer-base a { color: var(--on-dark-2); text-decoration: none; }
.footer-base a:hover { color: var(--paper); }

/* ---------- reveal system (opt-in once the script runs) ---------- */
.rv-on .reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease) var(--d, 0s), transform 1.2s var(--ease) var(--d, 0s); }
.rv-on .reveal.in { opacity: 1; transform: none; }
.mask { overflow: hidden; padding-bottom: .22em; margin-bottom: -.22em; }
.rv-on .mask > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease) var(--d, 0s); }
.rv-on .mask.in > span { transform: none; }
.rv-on .rule { transform: scaleX(0); transform-origin: left; transition: transform 1.6s var(--ease) .2s; }
.rv-on .rule.in { transform: scaleX(1); }

/* ---------- scroll-linked, where supported ---------- */
@supports (animation-timeline: scroll()) {
  .run-up { animation: runUp linear both; animation-timeline: scroll(); animation-range: 0 150vh; }
  .run-down { animation: runDown linear both; animation-timeline: scroll(); animation-range: 0 150vh; }
  @keyframes runUp { from { translate: 0 0; } to { translate: 0 -405px; } }
  @keyframes runDown { from { translate: 0 0; } to { translate: 0 405px; } }
  /* the whole mark turns as you scroll; scrolling back turns it back */
  .hero-art svg { animation: turn linear both; animation-timeline: scroll(); animation-range: 0 150vh; transform-origin: 50% 50%; }
  @keyframes turn { from { rotate: 0deg; } to { rotate: 180deg; } }
}
@supports (animation-timeline: view()) {
  .pair .curve { animation: toCurve linear both; animation-timeline: view(); animation-range: entry 20% cover 45%; }
  .pair .corner { animation: toCorner linear both; animation-timeline: view(); animation-range: entry 20% cover 45%; }
  @keyframes toCurve { from { border-radius: 0; } to { border-radius: 999px 0 0 999px; } }
  @keyframes toCorner { from { border-radius: 0 999px 999px 0; } to { border-radius: 0; } }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv-on .reveal, .rv-on .mask > span, .rv-on .rule { opacity: 1; transform: none; }
}

.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
