/* =========================================================
   Kasset Studio — design tokens
   ========================================================= */
:root {
  --bg: #0A0A0B;
  --bg-2: #111113;
  --bg-3: #18181B;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --text: #EEEEEA;
  --muted: #8C8C87;
  --dim: #55554F;
  --brand: #3D6BFF;
  --accent: var(--brand);
  --accent-ink: #FFFFFF;

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(16px, 4vw, 56px);
  --max: 1440px;
  --radius: 20px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --section: clamp(96px, 14vw, 200px);
}

/* =========================================================
   Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.muted { color: var(--muted); }
.dot { color: var(--accent); font-weight: inherit; }

.skip { position: absolute; left: -9999px; top: 12px; z-index: 100; background: var(--text); color: var(--bg); padding: 10px 14px; border-radius: 8px; }
.skip:focus { left: 12px; }

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; gap: 12px;
  height: var(--h); padding: 0 22px;
  background: var(--text); color: var(--bg);
  border-radius: 999px;
  font-size: 15px; font-weight: 500; letter-spacing: -.005em;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
  white-space: nowrap;
}
.btn:hover { background: var(--accent); color: var(--accent-ink); }
.btn:active { transform: scale(.98); }
.btn__arrow { display: inline-block; transition: transform .35s var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--small { --h: 40px; padding: 0 16px; font-size: 14px; }
.btn--ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost:hover { background: var(--bg-3); color: var(--text); }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: var(--text); color: var(--bg); }

/* =========================================================
   Nav
   ========================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .4s var(--ease), border-color .4s var(--ease), transform .5s var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(10, 10, 11, .72);
  backdrop-filter: saturate(160%) blur(18px);
  -webkit-backdrop-filter: saturate(160%) blur(18px);
  border-color: var(--line);
}
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 17px; letter-spacing: -.02em; }
.logo__mark {
  position: relative; display: grid; place-items: center;
  width: 28px; height: 28px; background: var(--text); color: var(--bg);
  font-weight: 700; font-size: 16px; line-height: 1; padding-bottom: 2px;
}
.logo__mark::after { content: ""; position: absolute; right: -3px; bottom: -3px; width: 7px; height: 7px; background: var(--brand); }
.logo__word em { font-style: normal; color: var(--muted); font-weight: 400; }

.nav__links { display: flex; gap: 6px; }
.nav__links a {
  padding: 8px 14px; border-radius: 999px; font-size: 14px; color: var(--muted);
  transition: color .25s, background .25s;
}
.nav__links a:hover, .nav__links a.is-active { color: var(--text); background: var(--bg-3); }

.nav__right { display: flex; align-items: center; gap: 20px; }
.nav__clock { color: var(--muted); font-size: 11px; }
.nav__clock span { color: var(--text); }

.nav__burger { display: none; width: 40px; height: 40px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); position: relative; }
.nav__burger span { position: absolute; left: 12px; right: 12px; height: 1.5px; background: var(--text); transition: transform .4s var(--ease-out), top .4s var(--ease-out); }
.nav__burger span:first-child { top: 16px; }
.nav__burger span:last-child { top: 23px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 19.5px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 19.5px; transform: rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 40; background: var(--bg);
  padding: 104px var(--gutter) 32px; display: flex; flex-direction: column; justify-content: space-between;
}
.menu[hidden] { display: none; }
.menu__links { display: flex; flex-direction: column; }
.menu__links a {
  display: flex; align-items: baseline; gap: 16px; padding: 14px 0;
  font-size: clamp(36px, 11vw, 56px); font-weight: 500; letter-spacing: -.04em; line-height: 1;
  border-bottom: 1px solid var(--line);
  animation: menuIn .6s var(--ease-out) both;
}
.menu__links a:nth-child(2) { animation-delay: .04s; }
.menu__links a:nth-child(3) { animation-delay: .08s; }
.menu__links a:nth-child(4) { animation-delay: .12s; }
.menu__links a:nth-child(5) { animation-delay: .16s; }
.menu__links .mono { color: var(--muted); font-size: 11px; letter-spacing: .06em; }
.menu__mail { font-size: 20px; color: var(--muted); }
@keyframes menuIn { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* =========================================================
   Hero
   ========================================================= */
.hero { padding-top: clamp(140px, 20vh, 220px); padding-bottom: clamp(64px, 8vw, 112px); }

.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--muted); margin-bottom: clamp(28px, 4vw, 48px); }
.sq { width: 7px; height: 7px; background: var(--accent); display: inline-block; }

.hero__title {
  font-size: clamp(46px, 8.6vw, 148px);
  font-weight: 500;
  line-height: .94;
  letter-spacing: -.055em;
  margin-left: -.04em;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero__title .line > span { display: inline-block; transition: transform 1.2s var(--ease-out); }
.js .hero__title .line > span { transform: translateY(105%); }
.js.is-loaded .hero__title .line > span { transform: none; }
.is-loaded .hero__title .line:nth-child(2) > span { transition-delay: .08s; }
.is-loaded .hero__title .line:nth-child(3) > span { transition-delay: .16s; }

.hero__bottom {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px;
  margin-top: clamp(56px, 8vw, 120px); align-items: end;
}
.meta { grid-column: 1 / span 6; display: grid; grid-template-columns: repeat(2, minmax(0, 220px)); gap: 28px 32px; }
.meta dt { color: var(--dim); margin-bottom: 6px; font-size: 11px; }
.meta dd { font-size: 15px; }
.hero__lead { grid-column: 8 / span 5; }
.hero__lead p { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.5; color: #C8C8C2; letter-spacing: -.01em; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }

/* =========================================================
   Showreel
   ========================================================= */
.reel { overflow: hidden; padding: 8px 0 clamp(24px, 4vw, 48px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.reel__track { display: flex; width: max-content; animation: reel 70s linear infinite; }
.reel:hover .reel__track { animation-play-state: paused; }
.reel__group { display: flex; align-items: center; gap: 20px; padding-right: 20px; }
@keyframes reel { to { transform: translateX(-50%); } }

.frame { height: clamp(220px, 28vw, 400px); border-radius: 14px; overflow: hidden; background: var(--bg-3); box-shadow: 0 0 0 1px var(--line); flex: none; }
.frame img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.frame--desk { aspect-ratio: 16 / 10; }
.frame--phone { aspect-ratio: 390 / 844; border-radius: 22px; box-shadow: 0 0 0 1px var(--line), 0 0 0 5px #000, 0 0 0 6px var(--line-2); margin-inline: 6px; }

/* =========================================================
   Sections
   ========================================================= */
.section { padding-top: var(--section); }
.section__head {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px;
  padding-top: 20px; border-top: 1px solid var(--line);
  margin-bottom: clamp(48px, 7vw, 96px);
}
.label { grid-column: 1 / span 3; color: var(--muted); display: flex; gap: 12px; }
.label span { color: var(--text); }
.section__title {
  grid-column: 4 / span 8;
  font-size: clamp(32px, 4.4vw, 68px); font-weight: 500; line-height: 1.02; letter-spacing: -.045em;
  text-wrap: balance;
}

/* =========================================================
   Work
   ========================================================= */
.work { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(40px, 5vw, 72px) 24px; }
.work-card--feature { grid-column: 1 / -1; }
.work-card--wide { grid-column: span 7; }
.work-card--narrow { grid-column: span 5; }

.work-card__media {
  position: relative; display: block; overflow: hidden; isolation: isolate;
  height: clamp(380px, 44vw, 660px);
  border-radius: var(--radius);
  background: var(--tint);
  cursor: none;
}
.work-card__media::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(60% 60% at 70% 30%, var(--glow), transparent 70%);
  transition: opacity .6s var(--ease);
}

.work-card__desk {
  position: absolute; left: 11%; top: 11%; width: 104%;
  border-radius: 10px; overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.06);
  transition: transform 1s var(--ease-out);
}
.work-card__desk img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }

.work-card__phone {
  position: absolute; height: 78%; aspect-ratio: 390 / 844;
  border-radius: 26px; overflow: hidden; background: #000;
  box-shadow: 0 0 0 5px #0B0B0B, 0 0 0 6px rgba(255,255,255,.12), 0 40px 80px -20px rgba(0,0,0,.6);
  transition: transform 1s var(--ease-out);
}
.work-card__phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.work-card--wide .work-card__phone { left: 5%; bottom: -10%; height: 70%; }
.work-card--narrow .work-card__phone { left: 50%; top: 11%; transform: translateX(-50%); }

/* feature: three phones */
.work-card--feature .work-card__media { height: clamp(460px, 50vw, 740px); }
.work-card__phones { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 4%; }
.work-card__phones .work-card__phone { position: relative; flex: none; }
.work-card__phone--c { height: 80%; z-index: 1; }
.work-card__phone--l, .work-card__phone--r { height: 68%; opacity: .92; }
.work-card__phone--l { transform: translateY(8%) rotate(-3deg); }
.work-card__phone--r { transform: translateY(8%) rotate(3deg); }
.work-card--feature .work-card__media:hover .work-card__phone--c { transform: translateY(-3%); }
.work-card--feature .work-card__media:hover .work-card__phone--l { transform: translate(-10%, 5%) rotate(-6deg); }
.work-card--feature .work-card__media:hover .work-card__phone--r { transform: translate(10%, 5%) rotate(6deg); }

.work-card__media:hover .work-card__desk { transform: translate(-2%, -2%) scale(1.01); }
.work-card--wide .work-card__media:hover .work-card__phone { transform: translateY(-8%); }
.work-card--narrow .work-card__media:hover .work-card__phone { transform: translate(-50%, -4%); }

.work-card__meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; padding-top: 22px; }
.work-card__meta h3 { font-size: clamp(20px, 1.7vw, 26px); font-weight: 500; letter-spacing: -.03em; margin-bottom: 6px; }
.work-card__meta p { color: var(--muted); max-width: 46ch; font-size: 15px; }
.work-card__links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.gp { width: 14px; height: 14px; margin-right: -4px; }
.tags { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; flex: none; max-width: 45%; }
.tags li { padding: 6px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); color: var(--muted); font-size: 10.5px; }

/* =========================================================
   Services
   ========================================================= */
.services { border-top: 1px solid var(--line); }
.service { border-bottom: 1px solid var(--line); }
.service__row {
  width: 100%; text-align: left;
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: center;
  padding: clamp(24px, 3vw, 40px) 0;
  transition: padding .5s var(--ease-out);
}
.service__num { grid-column: 1 / span 3; color: var(--dim); transition: color .3s; }
.service__name {
  grid-column: 4 / span 5;
  font-size: clamp(28px, 3.6vw, 56px); font-weight: 500; letter-spacing: -.045em; line-height: 1;
  transition: transform .6s var(--ease-out), color .3s;
}
.service__short { grid-column: 9 / span 3; color: var(--muted); font-size: 14px; }
.service__icon { grid-column: 12; justify-self: end; position: relative; width: 40px; height: 40px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); transition: background .3s, transform .5s var(--ease-out); }
.service__icon::before, .service__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); transition: transform .5s var(--ease-out); }
.service__icon::after { transform: translate(-50%, -50%) rotate(90deg); }

.service__row:hover .service__num { color: var(--accent); }
.service__row:hover .service__name { transform: translateX(10px); }
.service__row:hover .service__icon { background: var(--bg-3); }
.service__row[aria-expanded="true"] .service__icon { background: var(--accent); box-shadow: none; transform: rotate(180deg); }
.service__row[aria-expanded="true"] .service__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.service__row[aria-expanded="true"] .service__num { color: var(--accent); }

.service__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease-out); }
.service.is-open .service__panel { grid-template-rows: 1fr; }
.service__panel > div {
  overflow: hidden;
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px;
}
.service__panel p { grid-column: 4 / span 5; color: #C8C8C2; font-size: 17px; padding-bottom: 40px; max-width: 52ch; }
.service__panel ul { grid-column: 9 / span 4; display: grid; gap: 10px; padding-bottom: 40px; color: var(--muted); font-size: 11.5px; }
.service__panel li::before { content: "→ "; color: var(--accent); }

/* =========================================================
   Process
   ========================================================= */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; padding-top: 40px; }
.process::before, .process::after { content: ""; position: absolute; top: 0; left: 0; height: 1px; }
.process::before { right: 0; background: var(--line); }
.process::after { width: calc(var(--p, 0) * 100%); background: var(--accent); transition: width .2s linear; }
.step { position: relative; }
.step::before { content: ""; position: absolute; top: -44px; left: 0; width: 9px; height: 9px; border-radius: 99px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line-2); transition: background .4s, box-shadow .4s; }
.step.is-on::before { background: var(--accent); box-shadow: 0 0 0 4px rgba(61,107,255,.2); }
.step__num { color: var(--dim); display: block; margin-bottom: 40px; }
.step h3 { font-size: clamp(22px, 2vw, 30px); font-weight: 500; letter-spacing: -.035em; line-height: 1.1; }
.step__time { color: var(--accent); margin: 10px 0 16px; font-size: 11px; }
.step p:last-child { color: var(--muted); font-size: 15px; max-width: 32ch; }

/* =========================================================
   Studio
   ========================================================= */
.statement {
  font-size: clamp(28px, 3.9vw, 60px); font-weight: 500; letter-spacing: -.04em; line-height: 1.1;
  max-width: 22em; text-wrap: pretty;
}
.statement .w { color: var(--text); opacity: .16; transition: opacity .25s linear; }
.statement .w.is-on { opacity: 1; }

.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: clamp(72px, 9vw, 128px); }
.principle { padding: 28px; border-radius: var(--radius); background: var(--bg-2); box-shadow: inset 0 0 0 1px var(--line); min-height: 260px; display: flex; flex-direction: column; transition: background .4s; }
.principle:hover { background: var(--bg-3); }
.principle .mono { color: var(--accent); }
.principle h3 { font-size: 22px; font-weight: 500; letter-spacing: -.03em; margin: 64px 0 10px; }
.principle p { color: var(--muted); font-size: 15px; }
.inline-link { color: var(--text); white-space: nowrap; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: color .25s; }
.inline-link:hover { color: var(--accent); }

.stack { margin-top: clamp(72px, 9vw, 128px); display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.stack__label { grid-column: 1 / span 3; color: var(--muted); padding-top: 18px; }
.stack ul { grid-column: 4 / span 9; display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.stack li { padding: 18px 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 11.5px; color: #C8C8C2; transition: background .3s, color .3s; }
.stack li:hover { background: var(--text); color: var(--bg); }

/* =========================================================
   Contact
   ========================================================= */
.contact { padding-top: var(--section); padding-bottom: clamp(80px, 10vw, 140px); }
.contact__title { font-size: clamp(48px, 8.6vw, 148px); font-weight: 500; line-height: .94; letter-spacing: -.055em; margin-left: -.04em; }
.contact__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; margin-top: clamp(56px, 7vw, 104px); }
.contact__info { grid-column: 1 / span 5; }
.contact__mail {
  display: inline-flex; gap: 12px; font-size: clamp(26px, 2.6vw, 40px); font-weight: 500; letter-spacing: -.035em;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; padding-bottom: 4px;
  transition: background-size .6s var(--ease-out), color .3s;
}
.contact__mail:hover { background-size: 100% 1px; color: var(--accent); }
.contact__info dl { margin-top: 48px; display: grid; gap: 24px; }
.contact__info dt { color: var(--dim); margin-bottom: 6px; font-size: 11px; }
.contact__info dd { font-size: 16px; }
.contact__info dd a:hover { color: var(--accent); }

.form { grid-column: 7 / span 6; display: grid; gap: 32px; padding: clamp(24px, 3vw, 40px); background: var(--bg-2); border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line); }
.form legend { color: var(--muted); margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { height: 40px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line-2); font-size: 14px; color: #C8C8C2; transition: background .25s, color .25s, box-shadow .25s; }
.chip:hover { box-shadow: inset 0 0 0 1px var(--muted); color: var(--text); }
.chip[aria-pressed="true"] { background: var(--text); color: var(--bg); box-shadow: none; }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field { display: grid; gap: 8px; }
.field .mono { color: var(--muted); }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 17px; color: var(--text);
  background: transparent; border: 0; border-bottom: 1px solid var(--line-2);
  padding: 8px 0 12px; border-radius: 0; resize: vertical;
  transition: border-color .3s;
}
.field textarea { min-height: 96px; }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field.is-invalid input { border-color: #FF5A4E; }
.form__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.form__note { color: var(--muted); font-size: 11px; }

/* =========================================================
   Footer
   ========================================================= */
.footer { border-top: 1px solid var(--line); padding-top: 24px; overflow: hidden; }
.footer__top { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--muted); }
.footer__links { display: flex; gap: 24px; }
.footer__links a:hover { color: var(--text); }
.footer__word {
  font-size: min(16.3vw, 235px); font-weight: 600; letter-spacing: -.07em; line-height: .78;
  white-space: nowrap; margin: clamp(40px, 6vw, 80px) 0 0 -.05em; padding-bottom: .02em;
  background: linear-gradient(180deg, var(--text) 0%, rgba(238,238,234,.08) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  user-select: none;
}
.footer__word span { margin-left: .18em; }

/* =========================================================
   Case study — Better Morning
   ========================================================= */
.page-bm { --accent: #E9A85A; --accent-ink: #1A120A; --warm: #15100B; }
.page-bm ::selection { background: var(--accent); color: var(--accent-ink); }

.phone {
  display: block; flex: none; aspect-ratio: 720 / 1565;
  border-radius: 28px; overflow: hidden; background: #000;
  box-shadow: 0 0 0 5px #0B0B0B, 0 0 0 6px rgba(255,255,255,.12), 0 40px 90px -24px rgba(0,0,0,.7);
}
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

.cs-hero { padding-top: clamp(120px, 16vh, 180px); padding-bottom: clamp(48px, 6vw, 80px); }
.cs-back { display: inline-flex; gap: 8px; color: var(--muted); margin-bottom: 40px; transition: color .25s; }
.cs-back:hover { color: var(--text); }
.cs-title { font-size: clamp(56px, 12.4vw, 196px); }
.cs-sub {
  font-family: "Instrument Serif", Georgia, serif; font-weight: 400;
  font-size: clamp(30px, 4vw, 60px); line-height: 1.1; letter-spacing: -.01em; color: #CFC8BC; margin-top: 12px;
}
.cs-sub em { color: var(--accent); }
.cs-hero__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; margin-top: clamp(48px, 6vw, 88px); }
.cs-meta { display: grid; grid-template-columns: repeat(5, auto); gap: 24px 40px; }
.cs-meta dt { color: var(--dim); margin-bottom: 6px; font-size: 11px; }
.cs-meta dd { font-size: 15px; }
.cs-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.btn .gp { width: 16px; height: 16px; margin-right: 0; }

.cs-showcase {
  position: relative; overflow: hidden; isolation: isolate;
  display: flex; align-items: center; justify-content: center; gap: 2.4%;
  height: clamp(480px, 56vw, 820px); border-radius: var(--radius);
  background: radial-gradient(70% 70% at 50% 100%, rgba(240,170,80,.32), transparent 70%), var(--warm);
}
.cs-showcase .phone--lg { height: 82%; }
.cs-showcase .phone--sm { height: 70%; transform: translateY(6%); opacity: .95; }
.cs-showcase .phone--xs { height: 58%; transform: translateY(12%); opacity: .6; }

.cs-cols { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; }
.cs-cols > div:first-child { grid-column: 4 / span 4; }
.cs-cols > div:last-child { grid-column: 9 / span 4; }
.cs-cols h3 { color: var(--accent); margin-bottom: 14px; font-weight: 400; }
.cs-cols p { color: #C8C8C2; font-size: 17px; }

.cs-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: clamp(72px, 9vw, 128px); }
.cs-stats li { border-top: 1px solid var(--line); padding-top: 20px; }
.cs-stats b { display: block; font-size: clamp(56px, 7vw, 112px); font-weight: 500; letter-spacing: -.06em; line-height: 1; }
.cs-stats span { display: block; color: var(--muted); font-size: 15px; margin-top: 12px; max-width: 22ch; }

.cs-chapters { display: grid; gap: clamp(72px, 10vw, 140px); }
.cs-chapter { display: grid; grid-template-columns: repeat(12, 1fr); gap: 24px; align-items: center; }
.cs-chapter__text { grid-column: 1 / span 5; }
.cs-chapter__media { grid-column: 7 / span 6; }
.cs-chapter.is-flip .cs-chapter__text { grid-column: 8 / span 5; order: 2; }
.cs-chapter.is-flip .cs-chapter__media { grid-column: 1 / span 6; order: 1; }
.cs-chapter__num { color: var(--accent); margin-bottom: 20px; }
.cs-chapter h3 { font-size: clamp(30px, 3.4vw, 52px); font-weight: 500; letter-spacing: -.045em; line-height: 1.04; text-wrap: balance; }
.cs-chapter__text > p:not(.mono) { color: #C8C8C2; font-size: 17px; margin-top: 20px; max-width: 46ch; }
.cs-chapter__text ul { margin-top: 28px; display: grid; gap: 10px; color: var(--muted); font-size: 11.5px; }
.cs-chapter__text li::before { content: "→ "; color: var(--accent); }
.cs-chapter__media {
  display: grid; place-items: center; aspect-ratio: 1 / 1; border-radius: var(--radius);
  background: radial-gradient(60% 60% at 50% 40%, rgba(240,170,80,.16), transparent 70%), var(--bg-2);
  box-shadow: inset 0 0 0 1px var(--line); overflow: hidden;
}
.cs-chapter__media .phone { height: 84%; transition: transform 1s var(--ease-out); }
.cs-chapter__media:hover .phone { transform: translateY(-2%) rotate(-1.5deg); }

.cs-moves { background: #F3EFE8; color: #15100B; border-radius: var(--radius); padding: clamp(28px, 5vw, 72px); }
.cs-moves__head { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px 24px; margin-bottom: clamp(40px, 5vw, 72px); }
.cs-moves__head .mono { grid-column: 1 / span 3; color: #8A7A66; }
.cs-moves__head h2 { grid-column: 4 / span 6; font-size: clamp(30px, 3.6vw, 56px); font-weight: 500; letter-spacing: -.045em; line-height: 1.04; }
.cs-moves__head p:last-child { grid-column: 4 / span 6; color: #5E554B; font-size: 17px; max-width: 52ch; }
.cs-moves__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.cs-moves__grid li { background: #fff; border-radius: 14px; overflow: hidden; }
.cs-moves__grid img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.cs-moves__grid span { display: block; padding: 14px 16px 16px; color: #5E554B; font-size: 11px; border-top: 1px solid #EEE8DE; }

.cs-palette { display: grid; grid-template-columns: 2fr 1.4fr 1fr 1.2fr; height: clamp(120px, 14vw, 200px); border-radius: var(--radius); overflow: hidden; margin-bottom: 24px; box-shadow: inset 0 0 0 1px var(--line); }
.cs-palette div { background: var(--c); padding: 18px 20px; display: flex; align-items: flex-end; }
.cs-palette span { color: rgba(255,255,255,.7); font-size: 11px; }
.cs-palette .is-light span { color: rgba(21,16,11,.7); }

.cs-deliver { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 24px; border-top: 1px solid var(--line); }
.cs-deliver li { display: flex; align-items: baseline; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); font-size: clamp(18px, 1.6vw, 24px); letter-spacing: -.02em; }
.cs-deliver .mono { color: var(--accent); font-size: 11px; }

.cs-cta { padding-top: var(--section); padding-bottom: clamp(80px, 10vw, 140px); }
.cs-cta__app {
  display: grid; grid-template-columns: auto 1fr; align-items: center; gap: clamp(28px, 5vw, 80px);
  padding: clamp(28px, 4vw, 56px) clamp(28px, 5vw, 80px); border-radius: var(--radius); overflow: hidden;
  background: radial-gradient(60% 90% at 0% 100%, rgba(240,170,80,.28), transparent 70%), var(--warm);
}
.cs-cta__app .phone { height: clamp(300px, 30vw, 440px); margin-bottom: calc(-1 * clamp(80px, 8vw, 140px)); }
.cs-cta__app .mono { color: var(--accent); margin-bottom: 16px; }
.cs-cta__app h2 { font-size: clamp(36px, 4.4vw, 68px); font-weight: 500; letter-spacing: -.045em; line-height: 1.02; margin-bottom: 32px; }
.cs-cta__next { margin-top: var(--section); }
.cs-cta__next .hero__ctas { margin-top: 40px; }

@media (max-width: 1080px) {
  .cs-meta { grid-template-columns: repeat(3, auto); }
  .cs-showcase .phone--xs { display: none; }
  .cs-showcase { gap: 4%; }
  .cs-cols > div:first-child, .cs-cols > div:last-child { grid-column: span 6; }
  .cs-stats { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .cs-chapter__text, .cs-chapter.is-flip .cs-chapter__text { grid-column: 1 / -1; order: 1; }
  .cs-chapter__media, .cs-chapter.is-flip .cs-chapter__media { grid-column: 1 / -1; order: 2; aspect-ratio: 4 / 3.4; margin-top: 16px; }
  .cs-moves__head .mono, .cs-moves__head h2, .cs-moves__head p:last-child { grid-column: 1 / -1; }
  .cs-moves__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .cs-meta { grid-template-columns: 1fr 1fr; width: 100%; padding-top: 28px; border-top: 1px solid var(--line); }
  .cs-ctas, .cs-ctas .btn { width: 100%; justify-content: center; }
  .cs-showcase { height: auto; aspect-ratio: 4 / 4.6; }
  .cs-showcase .phone--sm { display: none; }
  .cs-showcase .phone--lg { height: 84%; }
  .cs-cols > div:first-child, .cs-cols > div:last-child { grid-column: 1 / -1; }
  .cs-chapter__media, .cs-chapter.is-flip .cs-chapter__media { aspect-ratio: 4 / 4.6; }
  .cs-moves__grid { gap: 10px; }
  .cs-palette { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; height: 220px; }
  .cs-deliver { grid-template-columns: 1fr; }
  .cs-cta__app { grid-template-columns: 1fr; text-align: left; }
  .cs-cta__app .phone { order: 2; height: 360px; justify-self: center; margin-bottom: calc(-1 * clamp(28px, 4vw, 56px) - 80px); }
  .cs-cta__app .btn { width: 100%; justify-content: center; }
}

/* =========================================================
   Cursor
   ========================================================= */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 60; pointer-events: none;
  width: 104px; height: 104px; margin: -52px 0 0 -52px; border-radius: 999px;
  background: var(--accent); color: var(--accent-ink); display: grid; place-items: center;
  font-size: 13px; font-weight: 500; text-align: center; line-height: 1.2;
  transform: translate3d(var(--x, -200px), var(--y, -200px), 0) scale(0);
  transition: transform .35s var(--ease-out);
}
.cursor span { padding: 0 14px; }
.cursor.is-on { transform: translate3d(var(--x), var(--y), 0) scale(1); }
@media (hover: none) { .cursor { display: none; } .work-card__media { cursor: pointer; } }

/* =========================================================
   Reveal
   ========================================================= */
.js .reveal { opacity: 0; transform: translateY(28px); }
.reveal { transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .nav__links, .nav__clock { display: none; }
  .nav__burger { display: block; }
  .meta { grid-column: 1 / -1; order: 2; grid-template-columns: repeat(4, 1fr); }
  .hero__lead { grid-column: 1 / span 9; }
  .work-card--wide, .work-card--narrow { grid-column: 1 / -1; }
  .work-card--feature .work-card__media { height: clamp(440px, 72vw, 640px); }
  .work-card--narrow .work-card__media { height: clamp(460px, 70vw, 640px); }
  .service__short { display: none; }
  .service__name { grid-column: 4 / span 8; }
  .process { grid-template-columns: repeat(2, 1fr); row-gap: 56px; }
  .process::before, .process::after { display: none; }
  .step { border-top: 1px solid var(--line); padding-top: 24px; }
  .step::before { display: none; }
  .step__num { margin-bottom: 24px; }
  .principles { grid-template-columns: 1fr 1fr; }
  .principle { min-height: 0; }
  .principle h3 { margin-top: 40px; }
  .stack ul { grid-template-columns: repeat(4, 1fr); }
  .contact__info, .form { grid-column: 1 / -1; }
  .form { margin-top: 24px; }
}

@media (max-width: 720px) {
  .nav .btn--small { display: none; }
  .hero { padding-top: 128px; }
  .eyebrow { flex-wrap: wrap; font-size: 10.5px; row-gap: 4px; }
  .hero__bottom { margin-top: 48px; }
  .hero__lead { grid-column: 1 / -1; }
  .meta { grid-template-columns: 1fr 1fr; gap: 20px; padding-top: 32px; border-top: 1px solid var(--line); }
  .section__head { grid-template-columns: 1fr; gap: 16px; }
  .label, .section__title { grid-column: 1 / -1; }
  .work-card__media { height: auto; aspect-ratio: 4 / 4.4; }
  .work-card--narrow .work-card__media { height: auto; aspect-ratio: 4 / 4.6; }
  .work-card--wide .work-card__desk { left: 8%; top: 8%; width: 150%; }
  .work-card--wide .work-card__phone { height: 66%; left: 6%; }
  .work-card--feature .work-card__media { height: auto; aspect-ratio: 4 / 4.4; }
  .work-card__phones { gap: 3%; }
  .work-card__phone--c { height: 76%; }
  .work-card__phone--l, .work-card__phone--r { height: 62%; }
  .work-card__phones .work-card__phone { border-radius: 18px; box-shadow: 0 0 0 3px #0B0B0B, 0 0 0 4px rgba(255,255,255,.12), 0 30px 60px -20px rgba(0,0,0,.6); }
  .work-card__meta { flex-direction: column; gap: 14px; }
  .tags { justify-content: flex-start; max-width: none; }
  .service__row { grid-template-columns: auto 1fr auto; gap: 16px; }
  .service__num, .service__name, .service__icon { grid-column: auto; }
  .service__panel > div { grid-template-columns: 1fr; gap: 0; }
  .service__panel p, .service__panel ul { grid-column: 1; }
  .service__panel p { padding-bottom: 24px; }
  .process { grid-template-columns: 1fr; row-gap: 40px; }
  .stack { grid-template-columns: 1fr; gap: 16px; }
  .stack__label, .stack ul { grid-column: 1; }
  .stack ul { grid-template-columns: repeat(2, 1fr); }
  .field-row { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
  .form__foot .btn { width: 100%; justify-content: center; }
  .footer__links { gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .reel__track { animation: none; }
  .js .hero__title .line > span { transform: none; }
  .js .reveal { opacity: 1; transform: none; }
  .statement .w { opacity: 1; }
}
