
/* Layout: matches the Framer build. Alternating stone and black bands, red accent strip and footer, square controls, // headings with a grey second line, sticky stacking service rows and a pinned process row whose steps rise in and land level. */
:root {
  color-scheme: light;
  --stone: #E4E2DD;
  --stone-2: #D8D5CF;
  --paper: #F4F3F0;
  --ink: #050505;
  --ink-2: #161616;
  --grey: #525B63;
  --grey-light: #9AA0A7;
  --line-l: rgba(11, 11, 11, .16);
  --line-d: rgba(255, 255, 255, .14);
  --red: #B70303;
  --red-2: #D10A0A;
  --on-dark: #F2F1EE;
  --on-dark-muted: #A7A7A7;
  --display: "TASA Orbiter", "Helvetica Neue", Arial, sans-serif;
  --body: "Inter", "Helvetica Neue", Arial, sans-serif;
  --mono: "Roboto Mono", ui-monospace, Menlo, Consolas, monospace;
  --nav: 64px;
  --cream: #E4E2DD;
  --wrap: 1240px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.55; color: var(--ink); background: var(--stone); }
a { color: inherit; }
h1, h2, h3 { margin: 0; text-wrap: balance; }
:focus-visible { outline: 2px solid var(--red-2); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: clamp(16px, 3vw, 36px); }
.tag-label { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; }
.slash { letter-spacing: -0.08em; margin-right: .14em; }
.h-display { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.045em; line-height: .95; }
.h-display .g { color: var(--grey); }
.dark .h-display .g { color: var(--grey-light); }

/* nav */
@media (min-width: 900px) { :root { --nav: 100px; } }
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30; background: var(--stone); }
.nav .wrap { max-width: none; padding-inline: clamp(16px, 2.1vw, 40px); height: var(--nav); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--red); font-family: var(--mono); font-weight: 400; font-size: clamp(18px, 1.4vw, 26px); letter-spacing: -0.02em; }
.logo i { width: 1.3em; height: 1.3em; background: var(--red); display: block; flex: none; clip-path: polygon(0 0, 65% 0, 65% 37%, 100% 37%, 100% 100%, 65% 100%, 65% 74%, 34% 74%, 34% 100%, 0 100%); }
.nav ul { list-style: none; display: flex; gap: clamp(16px, 2.1vw, 40px); margin: 0; padding: 0; }
.nav ul a { text-decoration: none; font-family: var(--mono); font-size: clamp(13px, 0.9vw, 17px); letter-spacing: .02em; text-transform: uppercase; }
.nav ul a:hover { color: var(--red); }
@media (max-width: 560px) { .nav ul li:not(:last-child) { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px; border: 0; border-radius: 0; font-family: var(--mono); font-weight: 500; font-size: 13px; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .2s, color .2s; }
.btn.red { background: var(--red); color: var(--cream); }
.btn.red:hover { background: var(--red-2); }
.btn.black { background: var(--ink); color: var(--cream); }
.btn.black:hover { background: #2a2a2a; }

/* hero */
.hero { min-height: calc(80svh - var(--nav)); display: flex; align-items: flex-end; padding: clamp(48px, 8vw, 120px) clamp(16px, 3vw, 36px) clamp(56px, 5.3vw, 100px); }
.hero-in { width: 100%; max-width: 1380px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, auto) minmax(260px, 304px); justify-content: space-between; align-items: end; gap: clamp(32px, 4.2vw, 80px); }
.hero h1 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(44px, 5.45vw, 104px); line-height: .83; letter-spacing: -0.042em; }
.hero h1 > span { display: block; white-space: nowrap; }
.hero h1 .l1 { display: flex; align-items: center; gap: .14em; }
.hero h1 .g { color: var(--grey); }
.hero .slash { letter-spacing: -0.09em; margin-right: .06em; }
.hero-side { display: grid; gap: 20px; }
.hero-side .btn { min-height: 58px; width: 100%; font-size: clamp(14px, 0.9vw, 17px); letter-spacing: .01em; }
.hero-side > p { margin: 2px 0 0; font-size: 18px; line-height: 1.35; letter-spacing: -0.015em; color: #111; }
@media (max-width: 1080px) {
  .hero { min-height: 0; }
  .hero-in { grid-template-columns: 1fr; justify-content: stretch; }
  .hero h1 { font-size: clamp(28px, 9.2vw, 96px); line-height: .88; }
  .hero-side { max-width: 420px; }
}

/* red strip */
.strip { background: var(--red); color: var(--cream); overflow: hidden; }
.strip .track { display: flex; width: max-content; animation: slide 40s linear infinite; }
.strip span { font-family: var(--mono); font-size: clamp(13px, 0.9vw, 17px); letter-spacing: .02em; text-transform: uppercase; line-height: 40px; margin-right: clamp(90px, 10.6vw, 200px); white-space: nowrap; }
@keyframes slide { to { transform: translateX(-50%); } }

/* dark bands */
.dark { background: var(--ink); color: var(--on-dark); }
.band { padding-block: clamp(64px, 9vw, 120px); }
.wide { padding-inline: clamp(16px, 2.1vw, 40px); }
.intro { padding-block: clamp(72px, 8.2vw, 156px) 0; }
.intro-row { display: grid; grid-template-columns: clamp(110px, 13.6vw, 260px) repeat(4, minmax(0, 1fr)); align-items: start; border-bottom: 1px solid #505050; }
.intro-row .lbl { font-family: var(--mono); font-size: clamp(13px, 0.95vw, 18px); text-transform: uppercase; color: #858585; line-height: 1; padding-top: .3em; }
.intro-row.lead { padding-bottom: clamp(48px, 4.4vw, 84px); }
.intro-row.lead h2 { grid-column: 2 / 5; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(26px, 2.05vw, 39px); line-height: 1.02; letter-spacing: -0.045em; color: #919191; max-width: 16em; }
.intro-row.lead p { grid-column: 5; justify-self: end; max-width: 13.1em; margin: 0; font-size: clamp(16px, 1.15vw, 22px); line-height: 1.34; letter-spacing: -0.02em; color: #919191; }
.intro-row.metrics { padding-block: clamp(48px, 4.6vw, 88px) clamp(48px, 4.4vw, 84px); }
.metric b { display: flex; align-items: center; gap: .14em; font-family: var(--display); font-weight: 800; font-size: clamp(56px, 5.1vw, 98px); line-height: .8; letter-spacing: -0.05em; color: var(--cream); font-variant-numeric: tabular-nums; }
.metric b i { font-style: normal; font-size: .42em; letter-spacing: 0; color: #919191; }
.metric > span { display: block; margin-top: clamp(20px, 1.7vw, 32px); font-family: var(--mono); font-size: clamp(13px, 0.95vw, 18px); text-transform: uppercase; color: #858585; line-height: 1.3; }
@media (max-width: 1000px) {
  .intro-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; }
  .intro-row .lbl { grid-column: 1 / -1; margin-bottom: 24px; }
  .intro-row.lead h2, .intro-row.lead p { grid-column: 1 / -1; justify-self: start; }
  .intro-row.lead p { margin-top: 24px; max-width: 30em; }
  .metric { margin-bottom: 40px; }
  .intro-row.metrics { padding-bottom: 8px; }
}

/* case studies */
.work { padding-block: clamp(64px, 6vw, 110px) clamp(64px, 6vw, 110px); }
.work-head { display: grid; grid-template-columns: clamp(110px, 13.6vw, 260px) repeat(4, minmax(0, 1fr)); align-items: end; margin-bottom: clamp(48px, 5.7vw, 86px); }
.work-head .lbl { align-self: start; font-family: var(--mono); font-size: clamp(14px, 1.2vw, 18px); text-transform: uppercase; color: #858585; line-height: 1; padding-top: .3em; }
.work-head h2 { grid-column: 2 / 5; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(44px, 5.3vw, 80px); line-height: .96; letter-spacing: -0.045em; color: var(--cream); }
.work-head h2 .slash { letter-spacing: -0.09em; margin-right: .04em; }
.work-head p { grid-column: 5; margin: 0 0 .2em; max-width: 12em; font-size: clamp(16px, 1.47vw, 22px); line-height: 1.32; letter-spacing: -0.02em; color: #919191; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 1.4vw, 21px) clamp(14px, 1.2vw, 20px); }
.card { position: relative; display: flex; flex-direction: column; border: 1px solid #484848; text-decoration: none; color: inherit; overflow: hidden; }
.card .img { position: relative; aspect-ratio: 1.48; overflow: hidden; background: #E9E8E2; }
.card .img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.card:hover .img img { transform: scale(1.03); }
.card .body { position: relative; padding: clamp(40px, 4vw, 60px) clamp(22px, 2.3vw, 34px) clamp(40px, 4vw, 60px); }
.card .num { font-family: var(--mono); font-size: clamp(14px, 1.2vw, 18px); color: #7C7C7C; line-height: 1; }
.card h3 { margin-top: clamp(16px, 1.6vw, 24px); font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(28px, 2.95vw, 44px); line-height: .95; letter-spacing: -0.045em; color: #E2E2E2; }
.card .tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: clamp(16px, 1.7vw, 26px); padding-left: 5px; }
.card .tag { font-family: var(--mono); font-size: clamp(13px, 1.2vw, 18px); text-transform: uppercase; color: #7E7E7E; line-height: 1; padding: .4em .55em; border: 1px solid #767676; border-radius: 999px; white-space: nowrap; }
/* hover strip: a red band of the project keyword, dropped across the top of the card body */
.lanyard { position: absolute; left: 0; right: 0; top: 0; z-index: 2; background: var(--red); color: var(--cream); overflow: hidden; clip-path: inset(0 100% 0 0); transition: clip-path .45s cubic-bezier(.7,0,.2,1); }
.lanyard .track { display: flex; width: max-content; animation: slide 14s linear infinite; animation-play-state: paused; }
.lanyard span { font-family: var(--mono); font-weight: 500; font-size: clamp(14px, 1.3vw, 20px); text-transform: uppercase; line-height: 2; margin-right: 2.4em; white-space: nowrap; }
.card:hover .lanyard, .card:focus-visible .lanyard { clip-path: inset(0 0 0 0); }
.card:hover .lanyard .track, .card:focus-visible .lanyard .track { animation-play-state: running; }
.cards .more { display: grid; place-content: center; justify-items: center; gap: 22px; padding: 40px 16px; }
.cards .more .btn { min-height: 58px; padding: 0 40px; font-size: clamp(14px, 1.2vw, 18px); }
.cards .more p { margin: 0; font-family: var(--mono); font-size: clamp(14px, 1.2vw, 18px); text-transform: uppercase; color: #919191; }
@media (hover: none) { .lanyard { clip-path: none; } .lanyard .track { animation-play-state: running; } }
@media (max-width: 1000px) {
  .work-head { grid-template-columns: 1fr; gap: 20px; }
  .work-head h2, .work-head p { grid-column: 1; }
  .work-head p { max-width: 24em; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } .cards .more { padding-block: 24px; } }

/* custom cursor: white square in difference mode (black on stone, white on black, cyan on red); becomes a label over case studies */
.cursor { position: fixed; left: 0; top: 0; z-index: 9999; pointer-events: none; opacity: 0; transition: opacity .2s; }
.cursor.on { opacity: 1; }
.cursor i { position: absolute; left: 0; top: 0; width: 16px; height: 16px; background: #fff; mix-blend-mode: difference; transform: translate(-50%, -50%); transition: transform .2s, opacity .2s; }
.cursor b { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%) scale(.6); opacity: 0; font-family: var(--mono); font-weight: 400; font-size: clamp(14px, 1.2vw, 18px); text-transform: uppercase; white-space: nowrap; color: var(--ink); background: #fff; padding: .25em .4em; line-height: 1.1; transition: transform .2s, opacity .2s; }
.cursor.label i { opacity: 0; transform: translate(-50%, -50%) scale(.4); }
.cursor.label b { opacity: 1; transform: translate(-50%, -50%) scale(1); }
html.has-cursor, html.has-cursor * { cursor: none !important; }
html.has-cursor input:not([type=radio]), html.has-cursor textarea { cursor: text !important; }

/* mock screenshots */
.shot { position: relative; aspect-ratio: 16 / 10; max-width: 100%; overflow: hidden; background: var(--paper); }
.shot.dk { background: #1D1D1F; }
.screen { position: absolute; inset: 10% 9% -4% 9%; background: #fff; box-shadow: 0 20px 40px rgba(0,0,0,.18); display: flex; flex-direction: column; overflow: hidden; }
.shot.dk .screen { box-shadow: 0 20px 40px rgba(0,0,0,.5); }
.screen .bar { height: 22px; flex: none; background: #EEECE8; display: flex; align-items: center; gap: 5px; padding: 0 9px; }
.screen .bar i { width: 7px; height: 7px; border-radius: 50%; background: #D3CFC9; display: block; }
.screen .body { flex: 1; display: grid; gap: 9px; padding: 12px; }
.u { background: #ECEAE6; }
.u.k { background: #151515; }
.u.r { background: var(--red); }
.u.s { background: #F3D6D4; }
.b-portal { grid-template-columns: 26% 1fr; }
.b-portal .side, .b-tasks .col { display: grid; gap: 7px; align-content: start; }
.b-portal .side .u { height: 12px; }
.b-portal .main { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; align-content: start; }
.b-portal .main .u { height: 62px; }
.b-portal .main .w { grid-column: 1 / -1; height: 34px; }
.b-tasks { grid-template-columns: repeat(3, 1fr); align-content: start; }
.b-tasks .col .u { height: 30px; }
.b-tasks .col .u:first-child { height: 10px; width: 60%; }
.b-shop { grid-template-columns: repeat(3, 1fr); align-content: start; }
.b-shop .hu { grid-column: 1 / -1; height: 64px; }
.b-shop .u { height: 56px; }
.b-site { align-content: start; }
.b-site .u { height: 12px; }
.b-site .big { height: 76px; }
.b-app { place-items: center; background: #151515; }
.ph { width: 38%; height: 94%; border-radius: 16px; background: #fff; display: grid; gap: 7px; padding: 11px; align-content: start; }
.ph .u { height: 22px; border-radius: 8px; }
.ph .av { width: 26px; height: 26px; border-radius: 50%; background: var(--red); }

/* section heads on stone */
.sec-head { display: grid; grid-template-columns: 140px minmax(0, 1fr) minmax(0, 300px); gap: clamp(20px, 3vw, 40px); align-items: start; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head .tag-label { color: var(--grey); padding-top: 10px; }
.sec-head h2 { font-size: clamp(34px, 5vw, 64px); }
.sec-head p { margin: 0; color: #3B3F45; font-size: 15px; }
@media (max-width: 820px) { .sec-head { grid-template-columns: 1fr; } }

/* services: full-width stacking rows */
.services { padding-block: clamp(64px, 7vw, 120px); }
.svc-head { display: grid; grid-template-columns: clamp(110px, 13.6vw, 260px) repeat(4, minmax(0, 1fr)); align-items: end; margin-bottom: clamp(40px, 4.5vw, 72px); }
.svc-head .lbl { align-self: start; font-family: var(--mono); font-size: clamp(14px, 0.95vw, 18px); text-transform: uppercase; color: var(--grey); line-height: 1; padding-top: .3em; }
.svc-head h2 { grid-column: 2 / 5; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(44px, 4.2vw, 80px); line-height: .96; letter-spacing: -0.045em; }
.svc-head h2 .g { color: var(--grey); }
.svc-head h2 .slash { letter-spacing: -0.09em; margin-right: .04em; }
.svc-head p { grid-column: 5; margin: 0 0 .2em; max-width: 13em; font-size: clamp(16px, 1.15vw, 22px); line-height: 1.32; letter-spacing: -0.02em; color: #3B3F45; }
.svc-stack { --line: #A3A29E; --step: min(74px, 8vh); border-top: 1px solid var(--line); }
.svc { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--nav) + var(--i, 0) * var(--step)); background: var(--stone); display: grid; grid-template-columns: minmax(0, 509fr) minmax(0, 948fr) minmax(0, 364fr); min-height: 412px; border: 1px solid var(--line); border-top: 0; }
.svc:nth-child(2) { --i: 1; } .svc:nth-child(3) { --i: 2; } .svc:nth-child(4) { --i: 3; }
.svc + .svc { border-top: 1px solid var(--line); margin-top: -1px; }
.svc .c1 { padding: clamp(28px, 2.9vw, 52px) clamp(20px, 2.1vw, 40px) clamp(28px, 2.6vw, 48px); border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-width: 0; }
.svc .num { font-family: var(--mono); font-size: clamp(14px, 0.95vw, 18px); color: #5A636A; line-height: 1; }
.svc h3 { margin-top: clamp(20px, 1.9vw, 34px); font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.045em; line-height: 1.02; font-size: clamp(26px, 2.1vw, 40px); }
.svc h3 span { display: block; color: var(--grey); }
.svc .dur { font-family: var(--mono); font-size: clamp(14px, 0.95vw, 18px); text-transform: uppercase; color: var(--ink); }
.svc .c2 { padding: clamp(28px, 2.1vw, 40px) clamp(20px, 2.1vw, 40px) clamp(28px, 2.6vw, 48px) clamp(20px, 11.4vw, 219px); display: flex; flex-direction: column; justify-content: space-between; gap: 28px; min-width: 0; }
.svc .tags { display: flex; flex-wrap: wrap; gap: 10px 10px; max-width: 30em; }
.svc .tag { font-family: var(--mono); font-size: clamp(13px, 0.95vw, 18px); text-transform: uppercase; color: #4A5056; line-height: 1; padding: .4em .65em; border: 1px solid #9DA0A2; border-radius: 999px; white-space: nowrap; }
.svc .c2 p { margin: 0; max-width: 19em; font-size: clamp(17px, 1.15vw, 22px); line-height: 1.36; letter-spacing: -0.015em; color: var(--ink); }
.svc .art { position: relative; overflow: hidden; background: #9FB2B4; }
.svc .art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; display: block; }
.svc .art.blank { background: linear-gradient(180deg, #8FA8AA, #BFCACB); }
.svc .art.blank::before { content: ""; position: absolute; left: 50%; top: 22%; width: 60%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50% 50% 46% 46%; background: radial-gradient(circle at 40% 35%, #DDE3E3, #6F7D80 70%); }
.svc .art.blank::after { content: ""; position: absolute; left: 22%; right: 14%; top: 42%; height: 6px; border-radius: 6px; background: var(--red-2); box-shadow: 0 0 18px 4px rgba(209,10,10,.6); }
@media (max-width: 900px) {
  .svc-head { grid-template-columns: 1fr; gap: 18px; }
  .svc-head h2, .svc-head p { grid-column: 1; }
  .svc { grid-template-columns: 1fr; position: static; min-height: 0; }
  .svc .c1 { border-right: 0; border-bottom: 1px solid var(--line); }
  .svc .c2 { padding-left: clamp(20px, 2.1vw, 40px); }
  .svc .art { height: 200px; }
}

/* process: four full-width boxes; on desktop the row pins and steps 2-4 rise in one after another, landing level */
.process { padding-top: clamp(64px, 7vw, 120px); }
.proc-head { margin-bottom: clamp(40px, 4.5vw, 72px); }
.proc-track { padding-bottom: clamp(64px, 7vw, 120px); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.step { border: 1px solid #505050; margin-left: -1px; background: var(--ink); min-height: clamp(380px, 29vw, 555px); padding: clamp(28px, 2.9vw, 52px) clamp(20px, 2.1vw, 40px) clamp(28px, 2.1vw, 40px); display: flex; flex-direction: column; gap: 40px; will-change: transform; }
.step:first-child { margin-left: 0; }
.step .num { font-family: var(--mono); font-size: clamp(14px, 0.95vw, 18px); color: #8B8B8B; line-height: 1; }
.step > div { margin-top: auto; }
.step h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.045em; line-height: 1.02; font-size: clamp(24px, 2.1vw, 40px); color: var(--cream); }
.step h3 span { display: block; color: #919191; }
.step p { margin: clamp(16px, 1.4vw, 26px) 0 0; max-width: 21em; color: #919191; font-size: clamp(15px, 0.95vw, 17px); line-height: 1.33; letter-spacing: -0.01em; }
@media (min-width: 900px) {
  .process.pinned .proc-track { height: 260vh; padding-bottom: 0; }
  .process.pinned .proc-pin { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--nav)); height: calc(100vh - var(--nav)); display: flex; align-items: center; overflow: hidden; }
  .process.pinned .steps { width: 100%; }
  .process.pinned .step { min-height: min(555px, calc(100vh - var(--nav) - 120px)); }
}
@media (max-width: 899px) { .steps { grid-template-columns: 1fr 1fr; } .step { min-height: 300px; margin-top: -1px; } .step:nth-child(odd) { margin-left: 0; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } .step { margin-left: 0; min-height: 260px; } }

/* motion: snappy hero entrance, intro reveal, dark nav */
@keyframes rise { from { opacity: 0; transform: translateY(28px); } }
.hero h1 > span, .hero-side > * { animation: rise .55s cubic-bezier(.2, .8, .2, 1) both; }
.hero h1 > span:nth-child(2) { animation-delay: .06s; }
.hero h1 > span:nth-child(3) { animation-delay: .12s; }
.hero-side > :nth-child(2) { animation-delay: .16s; }
.hero-side > :nth-child(3) { animation-delay: .21s; }
.hero-side > :nth-child(4) { animation-delay: .26s; }
.js-motion .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0s); }
.js-motion .reveal.in { opacity: 1; transform: none; }
.metric .n { display: inline-block; }
.nav { transition: background-color .25s ease; }
.nav ul a { transition: color .25s ease; }
.nav.on-dark { background: var(--ink); }
.nav.on-dark ul a { color: var(--cream); }
.nav.on-dark ul a:hover { color: var(--red-2); }

/* faq */
.faq { padding-block: clamp(64px, 9vw, 120px); }
.faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(28px, 5vw, 72px); }
.faq h2 { font-size: clamp(34px, 5vw, 60px); }
.faq details { border-bottom: 1px solid var(--line-l); }
.faq details:first-child { border-top: 1px solid var(--line-l); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; font-size: 16px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--red); }
.faq details p { margin: 0 0 18px; color: #3B3F45; max-width: 58ch; }
@media (max-width: 820px) { .faq-grid { grid-template-columns: 1fr; } }

/* contact */
.contact .split-c { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 96px); margin-top: clamp(40px, 6vw, 72px); }
.contact-head { display: grid; grid-template-columns: 140px minmax(0, 1fr) minmax(0, 300px); gap: clamp(20px, 3vw, 40px); align-items: start; }
.contact-head .tag-label { color: var(--on-dark-muted); padding-top: 8px; }
.contact-head h2 { font-size: clamp(28px, 3.6vw, 44px); }
.contact-head p { margin: 0; color: var(--on-dark-muted); font-size: 15px; }
.details { display: grid; gap: 22px; align-content: start; }
.details .tag-label { color: var(--on-dark-muted); display: block; margin-bottom: 6px; }
.details .val { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 15.5px; overflow-wrap: anywhere; }
.copy { font-family: var(--mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; background: transparent; color: var(--on-dark); border: 1px solid var(--line-d); padding: 5px 9px; cursor: pointer; }
.copy:hover { border-color: var(--on-dark); }
form { display: grid; gap: 18px; align-content: start; }
.field { display: grid; gap: 8px; }
.field label, .fs legend { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); }
.field input, .field textarea { font: 15px var(--body); color: var(--on-dark); background: transparent; border: 1px solid var(--line-d); border-radius: 0; padding: 13px 14px; width: 100%; }
.field input::placeholder, .field textarea::placeholder { color: #6A6A6A; }
.field textarea { min-height: 120px; resize: vertical; }
.fs { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; }
.fs legend { float: left; margin-right: 6px; }
.fs label { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.fs input { accent-color: var(--red); width: 15px; height: 15px; }
form .btn { width: 100%; }
.note { margin: 0; font-size: 14px; color: var(--on-dark-muted); min-height: 1.4em; }
@media (max-width: 820px) { .contact .split-c, .contact-head { grid-template-columns: 1fr; } }

/* footer */
footer { background: var(--red); color: #fff; overflow: hidden; }
.f-top { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-block: 18px; border-bottom: 1px solid rgba(255,255,255,.25); }
.f-top a { font-family: var(--mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.f-mid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; padding-block: clamp(48px, 7vw, 88px) clamp(32px, 4vw, 48px); font-size: 15px; }
.f-mid nav { display: grid; gap: 6px; justify-items: start; }
.f-mid nav a { text-decoration: none; font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.f-mid p { margin: 0; max-width: 24ch; }
.wordmark { font-family: var(--display); font-weight: 900; text-transform: uppercase; letter-spacing: -0.06em; line-height: .78; font-size: clamp(56px, 15.5vw, 236px); color: var(--stone); white-space: nowrap; padding-bottom: .04em; }
@media (max-width: 640px) { .f-mid { grid-template-columns: 1fr; } }

/* case study view */
.cs { background: var(--stone); }
.cs-top { padding-block: clamp(40px, 6vw, 72px) clamp(28px, 4vw, 40px); }
.back { display: inline-block; margin-bottom: 32px; text-decoration: none; font-family: var(--mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); }
.back:hover { color: var(--red); }
.cs-top .tag-label { color: var(--grey); display: block; margin-bottom: 16px; }
.cs-top h1 { font-size: clamp(40px, 7vw, 96px); }
.cs-top .sub { max-width: 52ch; font-size: clamp(17px, 1.8vw, 20px); color: #3B3F45; margin: 22px 0 0; }
.meta { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-l); border-bottom: 1px solid var(--line-l); margin-top: 40px; }
.meta div { padding: 16px 16px 16px 0; min-width: 0; }
.meta div + div { padding-left: 16px; border-left: 1px solid var(--line-l); }
.meta .tag-label { color: var(--grey); }
.meta b { display: block; margin-top: 6px; font-weight: 600; font-size: 15px; }
.meta .live { color: var(--red); }
@media (max-width: 720px) {
  .meta { grid-template-columns: 1fr 1fr; }
  .meta div:nth-child(3) { padding-left: 0; border-left: 0; }
  .meta div:nth-child(-n+2) { border-bottom: 1px solid var(--line-l); }
}
.cs-hero .shot { aspect-ratio: 16 / 7.5; }
.cs-body { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: clamp(24px, 5vw, 72px); padding-block: clamp(56px, 8vw, 96px); }
.toc { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--nav) + 32px); align-self: start; display: grid; gap: 10px; }
.toc a { text-decoration: none; font-family: var(--mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }
.toc a:hover { color: var(--red); }
.prose { max-width: 700px; min-width: 0; }
.prose section + section { margin-top: 72px; }
.prose h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.035em; line-height: 1; font-size: clamp(26px, 3vw, 36px); margin-bottom: 20px; }
.prose h3 { font-weight: 700; font-size: 19px; letter-spacing: -0.01em; margin: 36px 0 10px; }
.prose p { margin: 0 0 16px; color: #2E3237; font-size: 16.5px; }
.prose strong { color: var(--ink); }
figure { margin: 26px 0 8px; }
figcaption { margin-top: 10px; font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; color: var(--grey); }
.result { margin-top: 28px; background: var(--ink); color: var(--on-dark); padding: 24px 26px; border-left: 4px solid var(--red); }
.result b { display: block; font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.03em; line-height: 1.05; font-size: clamp(20px, 2.4vw, 28px); }
.result span { display: block; margin-top: 10px; color: var(--on-dark-muted); font-size: 14.5px; }
.cta-band { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-block: 36px; border-top: 1px solid var(--line-l); margin-bottom: 56px; }
.cta-band p { margin: 0; font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.03em; font-size: clamp(20px, 2.4vw, 28px); }
@media (max-width: 820px) { .cs-body { grid-template-columns: 1fr; } .toc { display: none; } }

/* multi-page additions */
.nav ul a[aria-current="page"] { color: var(--red); }
.nav.on-dark ul a[aria-current="page"] { color: var(--red-2); }
.hero-side .kicker { margin: 0; font-family: var(--mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); }
.card .img .shot { position: absolute; inset: 0; aspect-ratio: auto; height: 100%; }
.svc-more { display: flex; justify-content: flex-end; margin-top: 28px; }
.page-head { padding-block: clamp(56px, 8vw, 120px) clamp(40px, 5vw, 72px); }
.page-head h1 { font-size: clamp(44px, 7vw, 104px); }
.page-head p { max-width: 40ch; margin: 24px 0 0; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.4; color: #3B3F45; }
.dark .page-head p { color: #919191; }
.work.page { padding-top: 0; }
.cs-hero img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: #DAD8D2; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 26px 0 8px; }
.gallery img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: #DAD8D2; }
@media (max-width: 640px) { .gallery { grid-template-columns: 1fr; } }
.next { padding-block: 8px clamp(56px, 7vw, 96px); }
.next h2 { font-family: var(--mono); font-weight: 400; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--grey); margin-bottom: 18px; }
.next-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.next-grid a { display: flex; justify-content: space-between; align-items: end; gap: 16px; min-height: 140px; padding: 24px; border: 1px solid var(--line-l); text-decoration: none; transition: background .2s, color .2s; }
.next-grid a:hover { background: var(--ink); color: var(--cream); }
.next-grid b { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.04em; line-height: .95; font-size: clamp(24px, 2.6vw, 34px); }
.next-grid span { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--grey); white-space: nowrap; }
.next-grid a:hover span { color: var(--on-dark-muted); }
@media (max-width: 640px) { .next-grid { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.note.ok { color: #9FD8A4; }
.note.err { color: #FF9A9A; }
.contact.page { min-height: calc(100svh - var(--nav)); }
@media (max-width: 1080px) { .hero h1 { font-size: clamp(26px, 8.1vw, 88px); } }
.wordmark { font-size: clamp(44px, 10.4vw, 190px); }
/* smooth scroll (Lenis) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
section[id], main[id], [id^="sec-"] { scroll-margin-top: calc(var(--nav) + 24px); }
/* brand-red cursor; flips to cream over red areas so it never disappears */
.cursor i { background: var(--red); mix-blend-mode: normal; }
.cursor.on-red i { background: var(--cream); }
.cursor b { background: var(--red); color: var(--cream); }
.cursor.on-red b { background: var(--cream); color: var(--red); }
/* scroll reveals: quick fade-up for text, settle-in for images, a bigger lift for the footer wordmark */
.js-motion .reveal { transition-duration: .6s, .6s; }
.js-motion .reveal-img { transform: translateY(32px) scale(.97); }
.js-motion .reveal-img.in { transform: none; }
.js-motion .reveal-big { transform: translateY(28%); transition-duration: .9s, .9s; }
.js-motion .reveal-big.in { transform: none; }
.js-motion .card.reveal { transition: opacity .6s ease, transform .6s cubic-bezier(.2,.8,.2,1), border-color .2s; }
.hero h1 { font-size: clamp(44px, 5vw, 98px); }
@media (max-width: 1080px) { .hero h1 { font-size: clamp(24px, 7.2vw, 80px); } }
.opt { text-transform: none; letter-spacing: .02em; opacity: .7; }
/* cursor takes the logo mark's shape */
.cursor i { width: 20px; height: 20px; clip-path: polygon(0 0, 65% 0, 65% 37%, 100% 37%, 100% 100%, 65% 100%, 65% 74%, 34% 74%, 34% 100%, 0 100%); }
/* name wordmark beside the logo mark */
.logo { color: var(--ink); }
.logo .wm { display: block; height: clamp(22px, 1.9vw, 30px); width: auto; }
.logo .wm .mk { fill: var(--red); }
.nav.on-dark .logo { color: var(--cream); }
/* blog */
.posts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 1.4vw, 21px); }
.post { display: flex; flex-direction: column; border: 1px solid #484848; text-decoration: none; color: inherit; transition: border-color .2s; }
.post:hover { border-color: var(--red-2); }
.post .pimg { aspect-ratio: 16 / 9; overflow: hidden; background: #1D1D1F; }
.post .pimg img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.post:hover .pimg img { transform: scale(1.03); }
.pimg-blank { width: 100%; height: 100%; display: grid; place-items: center; background: var(--red); }
.pimg-blank span { font-family: var(--display); font-weight: 800; font-size: clamp(80px, 10vw, 160px); letter-spacing: -0.1em; color: var(--cream); }
.post .pb { padding: clamp(22px, 2.3vw, 34px); }
.pmeta { font-family: var(--mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: #8B8B8B; }
.post h2 { margin: 14px 0 10px; font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: -0.04em; line-height: .98; font-size: clamp(24px, 2.4vw, 36px); color: #E2E2E2; }
.post p { margin: 0; color: #919191; font-size: 16px; line-height: 1.45; max-width: 40ch; }
@media (max-width: 760px) { .posts { grid-template-columns: 1fr; } }
.article .art-top { max-width: 860px; margin: 0 auto; }
.article .art-top h1 { font-size: clamp(34px, 5vw, 72px); }
.byline { margin: 18px 0 0; font-family: var(--mono); font-size: 12.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); }
.byline a { color: var(--ink); }
.art-fig { max-width: 1100px; margin: 8px auto 56px; }
.art-fig img { display: block; width: 100%; height: auto; box-shadow: 0 20px 40px rgba(0,0,0,.08); }
.art-prose { max-width: 720px; margin: 0 auto 40px; }
.prose h2 { margin-top: 48px; }
.prose ul, .prose ol { margin: 0 0 18px; padding-left: 1.25em; color: #2E3237; font-size: 16.5px; }
.prose li { margin-bottom: 10px; }
.prose a { color: var(--red); text-underline-offset: 3px; }
.writing { padding-block: clamp(64px, 8vw, 110px) 0; }
.writing-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.writing-head h2 { font-size: clamp(34px, 5vw, 60px); }
.next-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) { .next-grid.three { grid-template-columns: 1fr; } }
