/* ============================================================
   e11even — Agency Landing Page
   Bold-editorial big-tech composition on the design-system tokens.
   Tokens come from ../../colors_and_type.css
   ============================================================ */

:root {
  /* one-off decorative greens used only inside content stickers (IG references) */
  --sticker-green: #1FB85A;
  --sticker-green-soft: #DCF7E6;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg-surface);
  color: var(--fg-primary);
  font-family: var(--font-latin);
  overflow-x: hidden;
}

::selection { background: var(--primary); color: #fff; }

.wrap {
  max-width: 1320px;
  margin: 0 auto;
  padding-inline: 56px;
}
@media (max-width: 1024px) { .wrap { padding-inline: 40px; } }
@media (max-width: 640px)  { .wrap { padding-inline: 22px; } }

/* shared eyebrow / mono label ----------------------------------- */
.eyebrow {
  font-family: ui-monospace, 'SF Mono', 'JetBrains Mono', Consolas, monospace;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--fg-muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--primary);
}
.eyebrow.on-ink { color: var(--text-on-ink-muted); }

.serif {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.005em;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--bg-surface) 78%, transparent);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--duration-base) var(--ease-standard),
              background var(--duration-base) var(--ease-standard);
}
.nav.is-scrolled { border-bottom-color: var(--border-hairline); }
.nav__inner {
  max-width: 1320px; margin: 0 auto;
  height: 72px;
  padding-inline: 56px;
  display: flex; align-items: center; gap: 28px;
}
@media (max-width: 1024px) { .nav__inner { padding-inline: 40px; } }
@media (max-width: 640px)  { .nav__inner { padding-inline: 22px; height: 64px; } }

.nav__logo { height: 32px; display: block; }
[data-theme="dark"] .nav__logo { filter: invert(1); }

.nav__links {
  display: flex; gap: 30px; margin-left: 14px;
}
.nav__links a {
  font-size: 14px; color: var(--fg-primary); text-decoration: none;
  opacity: 0.78; transition: opacity var(--duration-fast) var(--ease-standard);
}
.nav__links a:hover { opacity: 1; text-decoration: none; }
.nav__links a.is-active { opacity: 1; color: var(--primary); }
@media (max-width: 860px) { .nav__links { display: none; } }

.nav__right { margin-left: auto; display: flex; align-items: center; gap: 14px; }

.lang {
  display: inline-flex; gap: 5px; align-items: center;
  font-family: ui-monospace, monospace; font-size: 13px; color: var(--fg-faint);
}
.lang button {
  background: none; border: none; cursor: pointer; font: inherit; color: var(--fg-faint);
  padding: 2px;
}
.lang button.on { color: var(--fg-primary); font-weight: 600; }
@media (max-width: 480px) { .lang { display: none; } }

.theme-btn {
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--border-hairline);
  background: var(--bg-card); color: var(--fg-primary);
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: transform var(--duration-fast) var(--ease-standard);
}
.theme-btn:active { transform: scale(0.94); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-weight: 500; cursor: pointer; border: none;
  text-decoration: none; white-space: nowrap;
  border-radius: var(--radius-pill);
  transition: transform var(--duration-fast) var(--ease-standard),
              background var(--duration-fast) var(--ease-standard),
              color var(--duration-fast) var(--ease-standard);
}
.btn:active { transform: scale(0.97); }
.btn:focus-visible { outline: 2px solid var(--primary-focus); outline-offset: 2px; }

.btn--sm { height: 40px; padding: 0 20px; font-size: 14px; }
.btn--md { height: 50px; padding: 0 26px; font-size: 16px; }
.btn--lg { height: 58px; padding: 0 34px; font-size: 17px; }

.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:active { background: var(--primary-pressed); }

.btn--ghost {
  background: transparent; color: var(--fg-primary);
  border: 1.5px solid var(--border-hairline);
}
.btn--ghost:hover { border-color: var(--fg-primary); }
.btn--on-ink-ghost {
  background: transparent; color: var(--text-on-ink);
  border: 1.5px solid rgba(255,255,255,0.28);
}
.btn--on-ink-ghost:hover { border-color: rgba(255,255,255,0.7); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  padding-top: clamp(96px, 11vw, 168px);
  padding-bottom: clamp(40px, 6vw, 72px);
}
.hero__eyebrow { margin-bottom: 30px; }

.hero__title {
  font-size: clamp(46px, 8.2vw, 116px);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.045em;
  margin: 0;
  font-feature-settings: "ss01","ss02";
  max-width: 16ch;
}
.hero__title .serif {
  font-size: 1.02em;
  letter-spacing: -0.02em;
}
.hero__title .em-blue { color: var(--primary); }

.hero__lead {
  margin: clamp(28px, 4vw, 40px) 0 0;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--fg-muted);
  max-width: 56ch;
}
.hero__ctas {
  margin-top: 36px;
  display: flex; gap: 14px; flex-wrap: wrap; align-items: center;
}

/* proof stats row */
.hero__proof {
  margin-top: clamp(48px, 7vw, 84px);
  border-top: 1px solid var(--border-hairline);
  padding-top: 28px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
@media (max-width: 720px) { .hero__proof { grid-template-columns: repeat(2, 1fr); row-gap: 32px; } }
.proof__num {
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 500; letter-spacing: -0.03em; line-height: 1;
}
.proof__label {
  margin-top: 9px; font-size: 14px; color: var(--fg-muted); line-height: 1.4;
}

/* floating notes around the headline — kept in the empty right-hand space */
.hero { position: relative; }
.hero__deco { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.sticker {
  position: absolute;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 15px; font-weight: 600; letter-spacing: -0.01em;
  white-space: nowrap; user-select: none;
  background: #fff; color: #0a0a0a;
  border: 1px solid rgba(0,0,0,.06);
  box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 14px 34px -10px rgba(0,0,0,.22);
  --r: 0deg;
  transform: rotate(var(--r));
  animation: sticker-float 6.4s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}
[data-theme="dark"] .sticker {
  background: #17171c; color: #fff;
  border-color: rgba(255,255,255,.1);
  box-shadow: 0 0 0 1px rgba(255,255,255,.02), 0 18px 40px -12px rgba(0,0,0,.9), 0 0 40px -18px rgba(74,74,255,.55);
}
@keyframes sticker-float {
  0%, 100% { transform: translateY(0) rotate(var(--r)); }
  50% { transform: translateY(-8px) rotate(var(--r)); }
}
@media (prefers-reduced-motion: reduce) { .sticker { animation: none; } }

.sticker--search {
  top: 150px; right: 64px; --r: 8deg; --d: .6s;
  width: 60px; height: 60px; padding: 0; justify-content: center;
  background: var(--deco-sunray) !important; border-color: transparent !important;
}
.sticker--accepted {
  top: 268px; right: 104px; --r: -4deg; --d: 1.2s;
  color: #138a43; background: #dcf7e6; border-color: transparent;
}
[data-theme="dark"] .sticker--accepted { color: #4ade80; background: #0f2a1a; border-color: rgba(74,222,128,.22); }
.sticker--order {
  top: 520px; right: 56px; --r: -3deg; --d: 0s;
  border-radius: 18px; padding: 10px 16px 10px 10px; gap: 12px;
}
.sticker__icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: #eef0ff; color: var(--primary); }
[data-theme="dark"] .sticker__icon { background: rgba(74,74,255,.18); color: #9ea0ff; }
.sticker__text { display: flex; flex-direction: column; line-height: 1.2; }
.sticker__text b { font-size: 14.5px; font-weight: 600; }
.sticker__text small { font-size: 12.5px; font-weight: 400; opacity: .6; margin-top: 2px; }
.sticker--reel {
  top: 640px; right: 300px; --r: 5deg; --d: 1.8s;
  background: var(--primary) !important; color: #fff !important; border-color: transparent !important;
}
.sticker--chat {
  top: 400px; right: 40px; --r: -6deg; --d: 2.4s;
}
.sticker--chat .badge {
  background: var(--deco-ember); color: #fff; border-radius: 999px;
  min-width: 20px; height: 20px; padding: 0 6px;
  display: inline-flex; align-items: center; justify-content: center; font-size: 12px;
}

/* narrower screens: fewer notes, never over the text */
@media (max-width: 1260px) { .sticker--chat { display: none; } .sticker--accepted { right: 56px; } .sticker--reel { right: 120px; top: 610px; } }
@media (max-width: 1080px) { .hero__deco { display: none; } }

/* ============================================================
   MARQUEE  (seamless, device-agnostic)
   Track = 2 identical groups; each group repeats the full list
   twice so a single group is always wider than the viewport.
   Animating to -50% shifts exactly one group → no gap, ever.
   ============================================================ */
.marquee {
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
  overflow: hidden;
  padding-block: clamp(14px, 2vw, 22px);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 48s linear infinite;
}
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }
.marquee__group {
  display: flex;
  align-items: center;
  flex: none;
}
.marquee__group span {
  font-size: clamp(19px, 2.4vw, 30px);
  font-weight: 500; letter-spacing: -0.02em;
  white-space: nowrap;
  padding-inline: clamp(16px, 2.4vw, 28px);
  display: inline-flex; align-items: center;
  color: var(--fg-primary);
}
.marquee__group span::after {
  content: "";
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--primary);
  margin-left: clamp(16px, 2.4vw, 28px);
}
.marquee__group .alt { color: var(--fg-faint); }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   SERVICES  (Ink surface)
   ============================================================ */
.services {
  background: var(--ink);
  color: var(--text-on-ink);
  padding-block: clamp(72px, 9vw, 130px);
}
[data-theme="dark"] .services { background: var(--dk-raised); }

.services__head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 40px; flex-wrap: wrap;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.services__title {
  font-size: clamp(34px, 5vw, 66px);
  font-weight: 500; line-height: 1.0; letter-spacing: -0.035em;
  margin: 16px 0 0; max-width: 14ch;
  font-feature-settings: "ss01","ss02";
}
.services__intro {
  font-size: 17px; line-height: 1.55; color: var(--text-on-ink-muted);
  max-width: 34ch;
}

.svc-list { border-top: 1px solid var(--hairline-dark); }
.svc {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) minmax(0, 1.25fr) 150px;
  align-items: center;
  gap: 28px;
  padding: 30px 0;
  border-bottom: 1px solid var(--hairline-dark);
  position: relative;
  transition: padding var(--duration-base) var(--ease-standard);
}
.svc__no {
  font-family: ui-monospace, monospace; font-size: 14px;
  color: var(--text-on-ink-faint);
  display: inline-flex; align-items: center; gap: 12px;
}
.svc__dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--accent, var(--primary));
  flex: none;
  transition: transform var(--duration-base) var(--ease-standard);
}
.svc__name {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 500; letter-spacing: -0.025em; line-height: 1.05;
}
.svc__desc {
  font-size: 16px; line-height: 1.5; color: var(--text-on-ink-muted);
}
.svc__tag {
  font-family: ui-monospace, monospace; font-size: 13px;
  color: var(--text-on-ink-faint);
  justify-self: end; white-space: nowrap;
}
.svc:hover .svc__dot { transform: scale(1.8); }
.svc:hover .svc__name { color: var(--accent, #fff); }
.svc__name { transition: color var(--duration-base) var(--ease-standard); }

@media (max-width: 860px) {
  .svc {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 26px 0;
  }
  .svc__tag { justify-self: start; }
}

/* ============================================================
   CONTACT  (Cloud surface)
   ============================================================ */
.contact-bg {
  position: relative;
}
[data-theme="dark"] .contact-bg { background: var(--dk-accent); }
.contact {
  padding-block: clamp(72px, 9vw, 130px);
  position: relative;
}
.contact__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
@media (max-width: 880px) { .contact__grid { grid-template-columns: 1fr; gap: 48px; } }

.contact__title {
  font-size: clamp(40px, 6vw, 84px);
  font-weight: 500; line-height: 0.95; letter-spacing: -0.04em;
  margin: 22px 0 0;
  font-feature-settings: "ss01","ss02";
}
.contact__lead {
  margin-top: 26px; font-size: 18px; line-height: 1.55;
  color: var(--fg-muted); max-width: 40ch;
}
.contact__direct {
  margin-top: 36px; display: flex; flex-direction: column; gap: 18px;
}
.contact__row { display: flex; flex-direction: column; gap: 4px; }
.contact__row .k {
  font-family: ui-monospace, monospace; font-size: 12px;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-faint);
}
.contact__row .v {
  font-size: 22px; font-weight: 500; letter-spacing: -0.02em;
  color: var(--fg-primary); text-decoration: none;
}
a.contact__row .v { color: var(--primary); }
a.contact__row:hover .v { text-decoration: underline; }

/* form card */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3vw, 38px);
}
.form-card__eyebrow { margin-bottom: 22px; }
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label {
  font-family: ui-monospace, monospace; font-size: 12px;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--fg-muted);
}
.field input, .field textarea {
  width: 100%;
  background: var(--bg-surface);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font: inherit; font-size: 16px;
  color: var(--fg-primary);
  outline: none;
  transition: border-color var(--duration-fast) var(--ease-standard);
}
.field textarea { border-radius: var(--radius-md); min-height: 110px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: var(--fg-faint); }
.field input:focus, .field textarea:focus { border-color: var(--primary); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  font-family: ui-monospace, monospace; font-size: 13px;
  padding: 8px 13px; border-radius: var(--radius-pill);
  border: 1px solid var(--border-hairline);
  background: var(--bg-surface); color: var(--fg-muted);
  cursor: pointer; user-select: none;
  transition: all var(--duration-fast) var(--ease-standard);
}
.chip:active { transform: scale(0.96); }
.chip.on { background: var(--primary); color: #fff; border-color: var(--primary); }

.form-card .btn { width: 100%; margin-top: 22px; }

.form-sent {
  display: flex; flex-direction: column; gap: 14px;
  padding: 20px 0; text-align: left;
}
.form-sent h4 {
  font-size: 30px; font-weight: 500; letter-spacing: -0.025em; margin: 0; line-height: 1.1;
}
.form-sent .check {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--sticker-green-soft); color: var(--sticker-green);
  display: inline-flex; align-items: center; justify-content: center;
}

/* ============================================================
   FOOTER  (always Ink)
   ============================================================ */
.footer {
  background: var(--ink); color: var(--text-on-ink);
  padding-block: clamp(88px, 9vw, 128px) 44px;
}
.footer__top {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 48px;
  padding-bottom: 80px;
}
@media (max-width: 720px) { .footer__top { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 460px) { .footer__top { grid-template-columns: 1fr; } }
.footer__logo { height: 37px; filter: invert(1); margin-bottom: 20px; }
.footer__tag { font-size: 15px; color: var(--text-on-ink-muted); max-width: 30ch; line-height: 1.6; margin: 0; }

/* Social icon strip */
.footer__socials {
  display: flex; gap: 10px; margin-top: 28px;
}
.footer__social {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-on-ink-muted);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-standard),
              border-color var(--duration-fast) var(--ease-standard),
              background var(--duration-fast) var(--ease-standard);
}
.footer__social:hover {
  color: var(--text-on-ink);
  border-color: rgba(255,255,255,0.32);
  background: rgba(255,255,255,0.09);
  text-decoration: none;
}

.footer__col h5 {
  font-family: ui-monospace, monospace; font-size: 12px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--text-on-ink-faint);
  margin: 0 0 20px;
}
.footer__col a, .footer__col span {
  display: block; font-size: 16px; color: var(--text-on-ink);
  text-decoration: none; margin-bottom: 12px; opacity: 0.8;
}
.footer__col a:hover { opacity: 1; text-decoration: underline; }
.footer__col .footer__city {
  color: var(--text-on-ink-muted); font-size: 15px; opacity: 1;
  margin-top: 4px;
}
.footer__legal {
  border-top: 1px solid var(--hairline-dark);
  padding-top: 28px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 12px; color: var(--text-on-ink-faint);
  font-family: ui-monospace, monospace;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(18px); }
.reveal.in {
  opacity: 1; transform: none;
  transition: opacity 0.7s var(--ease-standard), transform 0.7s var(--ease-standard);
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   BRANDS / ENTERPRISE  (Alternate surface, between Services + Contact)
   ============================================================ */
.brands { padding-block: clamp(72px, 9vw, 120px); background: var(--bg-card); }
.brands__head { max-width: 40ch; }
.brands__title {
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 500; line-height: 1.0; letter-spacing: -0.035em;
  margin: 16px 0 0;
  font-feature-settings: "ss01","ss02";
}
.brands__lead {
  margin-top: 22px; font-size: 18px; line-height: 1.55;
  color: var(--fg-muted); max-width: 52ch;
}
.brands__grid {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
}
@media (max-width: 900px) { .brands__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px) { .brands__grid { grid-template-columns: repeat(2, 1fr); } }
.brand-slot {
  width: 100%; height: 104px;
  --is-empty-bg: var(--bg-card);
}
.brands__foot {
  margin-top: 36px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.brands__note {
  font-family: ui-monospace, monospace; font-size: 13px;
  color: var(--fg-faint); max-width: 42ch; line-height: 1.5;
}
[data-theme="dark"] .brands { background: var(--dk-base); }

/* ============================================================
   CLIENT LOGO WALL  (replaces the placeholder brand slots)
   Grey and quiet by default; the brand's own colour on hover.
   Mono logos (black artwork) go from grey to full ink.
   ============================================================ */
.clients {
  margin-top: clamp(40px, 5vw, 64px);
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 12px;
}
.client {
  flex: 0 0 calc((100% - 5 * 12px) / 6);
  height: 116px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid transparent;
  transition: background 0.5s var(--ease-standard), border-color 0.5s var(--ease-standard);
}
@media (max-width: 1024px) { .client { flex-basis: calc((100% - 3 * 12px) / 4); } }
@media (max-width: 640px)  { .client { flex-basis: calc((100% - 2 * 12px) / 3); height: 96px; } }
@media (max-width: 420px)  { .client { flex-basis: calc((100% - 12px) / 2); } }

.client__logo {
  display: block;
  max-width: 72%;
  max-height: var(--h, 46px);
  width: auto; height: auto;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.4;
  transition: filter 0.55s var(--ease-standard),
              opacity 0.55s var(--ease-standard),
              transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.client:hover { background: var(--bg-card); border-color: var(--border-hairline); }
.client:hover .client__logo { filter: grayscale(0); opacity: 1; transform: scale(1.06); }

/* colour logos ship a light-on-dark version for the dark theme */
.client__logo--dark { display: none; }
[data-theme="dark"] .client__logo--light { display: none; }
[data-theme="dark"] .client__logo--dark { display: block; }

/* mono (black) artwork turns white on dark surfaces */
[data-theme="dark"] .client--mono .client__logo,
[data-theme="dark"] .client--mono:hover .client__logo { filter: invert(1); }
[data-theme="dark"] .client { background: rgba(255, 255, 255, 0.03); }
[data-theme="dark"] .client:hover { background: rgba(255, 255, 255, 0.07); }

/* no hover on touch screens: show the logos as they are */
@media (hover: none) {
  .client__logo { filter: none; opacity: 0.85; }
}
@media (prefers-reduced-motion: reduce) {
  .client:hover .client__logo { transform: none; }
}

/* ============================================================
   SUB-PAGE HERO  (Portfolio / Case Studies headers)
   ============================================================ */
.page-hero {
  padding-top: clamp(64px, 9vw, 112px);
  padding-bottom: clamp(36px, 5vw, 60px);
}
.page-hero__eyebrow { margin-bottom: 22px; }
.page-hero__title {
  font-size: clamp(46px, 8vw, 104px);
  font-weight: 500; line-height: 0.92; letter-spacing: -0.045em;
  margin: 0; max-width: 16ch;
  font-feature-settings: "ss01","ss02";
}
.page-hero__lead {
  margin-top: clamp(22px, 3vw, 32px); font-size: clamp(18px, 2vw, 21px);
  line-height: 1.5; color: var(--fg-muted); max-width: 58ch;
}
.page-hero__back {
  display: flex; width: fit-content;
  align-items: center; gap: 8px;
  font-family: ui-monospace, monospace; font-size: 13px;
  color: var(--fg-muted); text-decoration: none; margin-bottom: 28px;
}
.page-hero__back:hover { color: var(--primary); }

/* ============================================================
   PORTFOLIO
   ============================================================ */
.pf-filters {
  display: flex; flex-wrap: wrap; gap: 10px;
  padding-block: 8px clamp(28px, 4vw, 44px);
}
.pf-filter {
  font-family: ui-monospace, monospace; font-size: 13px;
  padding: 9px 16px; border-radius: var(--radius-pill);
  border: 1px solid var(--border-hairline);
  background: transparent; color: var(--fg-muted);
  cursor: pointer; transition: all var(--duration-fast) var(--ease-standard);
}
.pf-filter:hover { border-color: var(--fg-primary); color: var(--fg-primary); }
.pf-filter.on { background: var(--fg-primary); color: var(--bg-surface); border-color: var(--fg-primary); }

.pf-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.4vw, 30px);
  padding-bottom: clamp(72px, 9vw, 120px);
}
@media (max-width: 920px) { .pf-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .pf-grid { grid-template-columns: 1fr; } }
.pf-tile { display: flex; flex-direction: column; gap: 16px; }
.pf-tile.is-hidden { display: none; }
.pf-tile__media {
  width: 100%; height: 100%;
  aspect-ratio: 4 / 3;
  transition: transform var(--duration-base) var(--ease-standard);
}
.pf-tile:hover .pf-tile__media { transform: translateY(-4px); }
.pf-tile__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.pf-tile__name {
  font-size: clamp(20px, 2.2vw, 26px); font-weight: 500;
  letter-spacing: -0.025em; line-height: 1.1;
}
.pf-tile__cat {
  font-family: ui-monospace, monospace; font-size: 12px;
  color: var(--fg-faint); white-space: nowrap;
}
.pf-tile__desc { font-size: 15px; line-height: 1.5; color: var(--fg-muted); margin-top: -4px; }

/* tall tile spanning two rows for rhythm */
.pf-tile--tall .pf-tile__media { aspect-ratio: 4 / 5; }

/* ============================================================
   CASE STUDIES
   ============================================================ */
.cs-list {
  padding-bottom: clamp(72px, 9vw, 120px);
  display: flex; flex-direction: column;
  gap: clamp(56px, 8vw, 104px);
}
.cs {
  border-top: 1px solid var(--border-hairline);
  padding-top: clamp(32px, 4vw, 52px);
}
.cs__head {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 28px; flex-wrap: wrap; margin-bottom: clamp(28px, 3vw, 40px);
}
.cs__no {
  font-family: ui-monospace, monospace; font-size: 14px; color: var(--fg-faint);
}
.cs__titlewrap { flex: 1 1 320px; }
.cs__client {
  font-family: ui-monospace, monospace; font-size: 13px;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--primary); margin: 0 0 12px;
}
.cs__title {
  font-size: clamp(28px, 3.6vw, 48px); font-weight: 500;
  letter-spacing: -0.03em; line-height: 1.05; margin: 0;
  font-feature-settings: "ss01","ss02"; max-width: 18ch;
}
.cs__tags { display: flex; flex-wrap: wrap; gap: 8px; align-self: flex-start; }
.cs__tag {
  font-family: ui-monospace, monospace; font-size: 12px;
  padding: 6px 12px; border-radius: var(--radius-pill);
  border: 1px solid var(--border-hairline); color: var(--fg-muted);
}
.cs__media { width: 100%; aspect-ratio: 16 / 9; margin-bottom: clamp(28px, 3vw, 40px); }

.cs__body {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 44px);
}
@media (max-width: 820px) { .cs__body { grid-template-columns: 1fr; gap: 28px; } }
.cs__block h4 {
  font-family: ui-monospace, monospace; font-size: 12px;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--fg-faint); margin: 0 0 12px;
  display: flex; align-items: center; gap: 8px;
}
.cs__block h4::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--primary);
}
.cs__block p { font-size: 16px; line-height: 1.6; color: var(--fg-muted); margin: 0; }

.cs__metrics {
  margin-top: clamp(28px, 3vw, 40px);
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  border-top: 1px solid var(--border-hairline);
  padding-top: clamp(24px, 3vw, 36px);
}
@media (max-width: 620px) { .cs__metrics { grid-template-columns: 1fr 1fr; } }
.cs__metric .n {
  font-size: clamp(34px, 4.4vw, 56px); font-weight: 500;
  letter-spacing: -0.03em; line-height: 1; color: var(--fg-primary);
  display: block;
}
.cs__metric .l {
  margin-top: 10px; font-size: 14px; line-height: 1.4; color: var(--fg-muted);
  display: block;
}
.placeholder-num {
  position: relative;
}
.placeholder-num::after {
  content: "edit";
  position: absolute; top: 2px; right: -6px;
  transform: translateX(100%);
  font-family: ui-monospace, monospace; font-size: 9px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--bg-surface);
  background: var(--deco-sunray, #FFD631); color: #000;
  padding: 2px 5px; border-radius: 4px;
  opacity: 0.9;
}

/* CTA band reused on sub-pages */
.cta-band {
  background: var(--ink); color: var(--text-on-ink);
  padding-block: clamp(64px, 8vw, 104px);
}
.cta-band__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.cta-band__title {
  font-size: clamp(32px, 4.6vw, 60px); font-weight: 500;
  letter-spacing: -0.035em; line-height: 1.0; margin: 0; max-width: 18ch;
  font-feature-settings: "ss01","ss02";
}
.cta-band .serif { color: #fff; }

/* ============================================================
   NAV — SERVICES DROPDOWN
   ============================================================ */
.nav__item { position: relative; display: inline-flex; align-items: center; }
.nav__trigger { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; }
.nav__trigger .caret { transition: transform var(--duration-fast) var(--ease-standard); }
.nav__item:hover .nav__trigger .caret,
.nav__item:focus-within .nav__trigger .caret { transform: rotate(180deg); }
/* invisible hover bridge across the gap to the menu */
.nav__item--has-menu::after {
  content: ""; position: absolute; top: 100%; left: -16px; right: -16px; height: 18px;
}
.nav__menu {
  position: absolute; top: calc(100% + 14px); left: 0;
  transform: translateY(8px);
  width: 320px;
  background: var(--bg-card);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  padding: 8px;
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; gap: 2px;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity var(--duration-fast) var(--ease-standard),
              transform var(--duration-fast) var(--ease-standard);
  z-index: 70;
}
.nav__item:hover .nav__menu,
.nav__item:focus-within .nav__menu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateY(0);
}
.nav__menu a {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px; border-radius: var(--radius-sm);
  font-size: 14px; color: var(--fg-primary); opacity: 1;
  text-decoration: none;
  transition: background var(--duration-fast) var(--ease-standard);
}
.nav__menu a:hover { background: var(--bg-surface); text-decoration: none; }
.nav__menu a .dot {
  width: 8px; height: 8px; border-radius: 50%; flex: none;
  background: var(--swatch, var(--primary));
}
.nav__menu a .label { font-weight: 500; }
.nav__menu a .tag {
  margin-left: auto; font-family: ui-monospace, monospace; font-size: 11px; color: var(--fg-faint);
}

/* homepage Services rows are now links */
a.svc { text-decoration: none; color: inherit; cursor: pointer; }
a.svc:hover { text-decoration: none; }
.svc__arrow {
  display: inline-block; margin-left: 12px;
  opacity: 0; transform: translateX(-8px);
  color: var(--accent, var(--primary));
  transition: opacity var(--duration-base) var(--ease-standard),
              transform var(--duration-base) var(--ease-standard);
}
.svc:hover .svc__arrow { opacity: 1; transform: translateX(0); }

/* ============================================================
   SERVICE DETAIL PAGE
   Per-page accent set via style="--accent:#xxxxxx" on <main class="svc-detail">
   ============================================================ */
.svc-detail .eyebrow::before { background: var(--accent, var(--primary)); }
.svc-detail .page-hero__title .em-blue { color: var(--accent, var(--primary)); }
.svc-detail .page-hero__back:hover { color: var(--accent, var(--primary)); }

/* hero stat trio */
.svc-hero__stats {
  margin-top: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--border-hairline);
  padding-top: 28px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
@media (max-width: 640px) { .svc-hero__stats { grid-template-columns: 1fr; gap: 22px; } }
.svc-hero__stats .n {
  font-size: clamp(30px, 4vw, 46px); font-weight: 500; letter-spacing: -0.03em; line-height: 1; display: block;
}
.svc-hero__stats .l { margin-top: 10px; font-size: 14px; color: var(--fg-muted); line-height: 1.4; display: block; }

/* shared section head */
.svc-sec-head { margin-bottom: clamp(36px, 5vw, 56px); }
.svc-sec-head h2 {
  font-size: clamp(30px, 4.4vw, 54px); font-weight: 500; line-height: 1.02; letter-spacing: -0.035em;
  margin: 16px 0 0; max-width: 18ch; font-feature-settings: "ss01","ss02";
}
.svc-sec-head p { margin-top: 18px; font-size: 18px; line-height: 1.55; color: var(--fg-muted); max-width: 54ch; }

/* HOW WE THINK — principles */
.svc-think { padding-block: clamp(64px, 8vw, 110px); }
.svc-principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 860px) { .svc-principles { grid-template-columns: 1fr; } }
.svc-principle {
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3vw, 34px);
  background: var(--bg-card);
  display: flex; flex-direction: column; gap: 14px;
}
.svc-principle__mark { width: 14px; height: 14px; border-radius: 50%; background: var(--accent, var(--primary)); }
.svc-principle h3 {
  font-size: clamp(22px, 2.4vw, 28px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; margin: 0;
}
.svc-principle p { font-size: 16px; line-height: 1.55; color: var(--fg-muted); margin: 0; }

/* HOW WE WORK — phases (ink band) */
.svc-phases-band {
  background: var(--ink); color: var(--text-on-ink);
  padding-block: clamp(64px, 8vw, 110px);
}
[data-theme="dark"] .svc-phases-band { background: var(--dk-raised); }
.svc-phases-band .svc-sec-head h2 { color: var(--text-on-ink); }
.svc-phases-band .svc-sec-head p { color: var(--text-on-ink-muted); }
.svc-phases-band .eyebrow { color: var(--text-on-ink-muted); }
.svc-phases { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--hairline-dark); }
@media (max-width: 860px) { .svc-phases { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .svc-phases { grid-template-columns: 1fr; } }
.svc-phase { padding: 32px 26px; border-left: 1px solid var(--hairline-dark); }
.svc-phase:first-child { border-left: none; padding-left: 0; }
@media (max-width: 860px) {
  .svc-phase { border-left: none; padding-inline: 0 26px; border-top: 1px solid var(--hairline-dark); }
  .svc-phase:nth-child(-n+2) { border-top: none; }
}
@media (max-width: 520px) {
  .svc-phase:nth-child(2) { border-top: 1px solid var(--hairline-dark); }
}
.svc-phase__no {
  font-family: ui-monospace, monospace; font-size: 13px; color: var(--accent, var(--primary));
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px;
}
.svc-phase__no::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--accent, var(--primary)); }
.svc-phase__name { font-size: clamp(20px, 2.2vw, 25px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 11px; }
.svc-phase__line { font-size: 15px; line-height: 1.5; color: var(--text-on-ink-muted); max-width: 28ch; }

/* WHAT YOU GET — deliverables */
.svc-deliver { padding-block: clamp(64px, 8vw, 110px); }
.svc-deliver__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; border-top: 1px solid var(--border-hairline); }
@media (max-width: 760px) { .svc-deliver__grid { grid-template-columns: 1fr; } }
.svc-deliver__item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 22px 0; border-bottom: 1px solid var(--border-hairline);
  font-size: clamp(17px, 1.8vw, 19px); line-height: 1.4; letter-spacing: -0.01em;
}
.svc-deliver__item .tick {
  width: 26px; height: 26px; border-radius: 50%; flex: none; margin-top: 1px;
  background: color-mix(in srgb, var(--accent, var(--primary)) 15%, transparent);
  color: var(--accent, var(--primary));
  display: inline-flex; align-items: center; justify-content: center;
}
.svc-deliver__item small { display: block; font-size: 14px; color: var(--fg-muted); margin-top: 4px; }

/* SELECTED WORK — reuse pf-tile, custom grid */
.svc-work { padding-block: clamp(64px, 8vw, 110px); }
.svc-work__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 48px); }
.svc-work__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.4vw, 30px); }
@media (max-width: 920px) { .svc-work__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .svc-work__grid { grid-template-columns: 1fr; } }

/* FAQ */
.svc-faq { padding-block: clamp(64px, 8vw, 110px); }
.svc-faq__list { border-top: 1px solid var(--border-hairline); max-width: 940px; }
.svc-faq__item { border-bottom: 1px solid var(--border-hairline); }
.svc-faq__item summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 26px 0; font-size: clamp(19px, 2.2vw, 25px); font-weight: 500; letter-spacing: -0.02em; line-height: 1.2;
}
.svc-faq__item summary::-webkit-details-marker { display: none; }
.svc-faq__icon {
  width: 32px; height: 32px; border-radius: 50%; flex: none;
  border: 1px solid var(--border-hairline);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--accent, var(--primary));
  transition: transform var(--duration-base) var(--ease-standard);
}
.svc-faq__item[open] .svc-faq__icon { transform: rotate(45deg); }
.svc-faq__answer { padding: 0 56px 30px 0; font-size: 17px; line-height: 1.6; color: var(--fg-muted); max-width: 74ch; }

/* ===== contact form: budget + contact page ===== */
.field label .opt { text-transform: none; letter-spacing: 0; color: var(--fg-faint); font-family: inherit; }
.field__hint { margin: 2px 0 0; font-size: 13px; color: var(--fg-faint); }
.contact__where { margin-top: 30px; font-size: 15px; line-height: 1.55; color: var(--fg-muted); max-width: 40ch; }
.next-steps { margin: 44px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--border-hairline); }
.next-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--border-hairline); }
.next-steps .no { font-family: ui-monospace, monospace; font-size: 12px; color: var(--fg-faint); padding-top: 4px; }
.next-steps h4 { margin: 0 0 4px; font-size: 18px; font-weight: 500; letter-spacing: -0.02em; }
.next-steps p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--fg-muted); }
.about-us { padding-top: clamp(80px, 10vw, 140px); }
.about-us__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: end; }
@media (max-width: 880px) { .about-us__grid { grid-template-columns: 1fr; } }
.about-us__title { font-size: clamp(38px, 5.4vw, 72px); font-weight: 500; line-height: 0.95; letter-spacing: -0.04em; margin: 0; }
.about-us__text p { margin: 0 0 16px; font-size: 18px; line-height: 1.6; color: var(--fg-muted); }
.about-us__stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 24px; margin-top: clamp(40px, 5vw, 64px); padding-top: 28px; border-top: 1px solid var(--border-hairline); }
@media (max-width: 720px) { .about-us__stats { grid-template-columns: 1fr 1fr; } }
.about-us__stats .n { display: block; font-size: clamp(34px, 4vw, 52px); font-weight: 500; letter-spacing: -0.04em; line-height: 1; }
.about-us__stats .l { display: block; margin-top: 8px; font-size: 14px; color: var(--fg-muted); }
.about-us .clients { margin-top: clamp(48px, 6vw, 72px); }
.about-us__more { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.contact-page .svc-faq { padding-bottom: clamp(80px, 10vw, 140px); }
@media (max-width: 880px) { .contact-page .contact__grid .form-card { order: -1; } }


/* ============================================================
   DARK MODE — one system
   base (page) · raised (alternate bands) · accent (the ask: contact + CTA)
   ============================================================ */
[data-theme="dark"] {
  --dk-base: #000000;
  --dk-raised: #0c0c0f;
  --dk-accent: #070a26;
  --dk-line: rgba(255,255,255,.08);
}
[data-theme="dark"] .services,
[data-theme="dark"] .svc-phases-band { border-block: 1px solid var(--dk-line); }
[data-theme="dark"] .contact-bg,
[data-theme="dark"] .cta-band {
  background:
    radial-gradient(60% 80% at 85% 0%, rgba(45,45,232,.28), transparent 70%),
    radial-gradient(50% 70% at 0% 100%, rgba(45,45,232,.14), transparent 70%),
    var(--dk-accent);
  border-top: 1px solid rgba(74,74,255,.22);
}
[data-theme="dark"] .contact-bg .form-card { background: rgba(255,255,255,.035); border-color: rgba(255,255,255,.1); }
[data-theme="dark"] .footer { border-top: 1px solid var(--dk-line); }

/* light: the CTA band was black on a black footer — make it the brand blue */
html:not([data-theme="dark"]) .cta-band {
  background:
    radial-gradient(60% 90% at 90% 0%, rgba(255,255,255,.16), transparent 70%),
    var(--primary);
}
html:not([data-theme="dark"]) .cta-band .btn--primary { background: #fff; color: #000; border-color: #fff; }
html:not([data-theme="dark"]) .cta-band .btn--primary:hover { background: #000; color: #fff; border-color: #000; }

/* ============================================================
   TWO-TONE HEADLINES
   ============================================================ */
.tone { color: color-mix(in srgb, currentColor 42%, transparent); }
.tone .serif { color: inherit; }

/* ============================================================
   SERVICES — stacking cards
   ============================================================ */
.svc-stack { display: flex; flex-direction: column; gap: 28px; padding-bottom: 8px; }
.svc-card {
  position: sticky; top: calc(96px + var(--i) * 14px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(24px, 3vw, 48px);
  min-height: 460px;
  padding: clamp(22px, 2.6vw, 34px);
  border-radius: 28px;
  background: #111114;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 -24px 60px -30px rgba(0,0,0,.65);
  transform-origin: 50% 0;
  transition: transform .2s linear, filter .2s linear;
  color: #fff;
}
.svc-card__body { display: flex; flex-direction: column; padding: 6px 4px; }
.svc-card__top { display: flex; align-items: center; gap: 12px; }
.svc-card__no { font-family: ui-monospace, monospace; font-size: 13px; color: rgba(255,255,255,.45); }
.svc-card__dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 18px var(--accent); }
.svc-card__name { margin: 22px 0 0; font-size: clamp(30px, 3.6vw, 50px); font-weight: 500; line-height: 1; letter-spacing: -0.035em; }
.svc-card__name a { color: inherit; text-decoration: none; }
.svc-card__desc { margin: 18px 0 0; font-size: 17px; line-height: 1.55; color: rgba(255,255,255,.62); max-width: 40ch; }
.svc-card__chips { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.svc-card__chips li { font-size: 13px; padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.75); }
.svc-card__foot { margin-top: auto; padding-top: 28px; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; border-top: 1px solid rgba(255,255,255,.08); }
.svc-card__stat .n { display: block; font-size: clamp(34px, 3.4vw, 46px); font-weight: 500; letter-spacing: -0.04em; line-height: 1; color: #fff; }
.svc-card__stat .l { display: block; margin-top: 6px; font-size: 13px; color: rgba(255,255,255,.5); }
.svc-card__more { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 18px; border-radius: 999px; background: #fff; color: #000; font-size: 14px; font-weight: 500; text-decoration: none; white-space: nowrap; transition: background .2s, color .2s; }
.svc-card__more:hover { background: var(--accent); color: #fff; }
.svc-card__media { position: relative; display: block; border-radius: 18px; overflow: hidden; background: #1b1b20; min-height: 280px; }
.svc-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.svc-card__media:hover img { transform: scale(1.04); }
.svc-card__proj { position: absolute; left: 14px; bottom: 14px; font-size: 12.5px; padding: 7px 12px; border-radius: 999px; background: rgba(0,0,0,.55); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
[data-theme="dark"] .svc-card { background: #141418; }
@media (max-width: 860px) {
  .svc-card { position: relative; top: auto; grid-template-columns: 1fr; min-height: 0; }
  .svc-card__media { order: -1; aspect-ratio: 4/3; min-height: 0; }
}
@media (prefers-reduced-motion: reduce) { .svc-card { transition: none; } }

/* ============================================================
   HOW WE WORK — steps + changing visual
   ============================================================ */
.how { padding-block: clamp(80px, 10vw, 140px); }
[data-theme="dark"] .how { background: var(--dk-base); }
[data-theme="dark"] .brands { background: var(--dk-raised); border-block: 1px solid var(--dk-line); }
.how__title { font-size: clamp(34px, 5vw, 66px); font-weight: 500; line-height: 1; letter-spacing: -0.035em; margin: 0; max-width: 18ch; font-feature-settings: "ss01","ss02"; }
.how__grid { margin-top: clamp(40px, 6vw, 72px); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.hw-steps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--border-hairline); }
.hw-step { border-bottom: 1px solid var(--border-hairline); }
.hw-step__head { all: unset; box-sizing: border-box; width: 100%; cursor: pointer; display: grid; grid-template-columns: 44px 1fr 24px; align-items: center; gap: 12px; padding: 22px 0; }
.hw-step__head:focus-visible { outline: 2px solid var(--primary); outline-offset: 4px; border-radius: 6px; }
.hw-step__no { font-family: ui-monospace, monospace; font-size: 12px; color: var(--fg-faint); }
.hw-step__title { font-size: clamp(20px, 2vw, 26px); font-weight: 500; letter-spacing: -0.02em; color: var(--fg-muted); transition: color .25s; }
.hw-step.is-open .hw-step__title, .hw-step__head:hover .hw-step__title { color: var(--fg-primary); }
.hw-step__icon { position: relative; width: 14px; height: 14px; justify-self: end; }
.hw-step__icon::before, .hw-step__icon::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 2px; border-radius: 2px; background: currentColor; color: var(--fg-muted); transition: transform .3s; }
.hw-step__icon::after { transform: rotate(90deg); }
.hw-step.is-open .hw-step__icon::after { transform: rotate(0deg); }
.hw-step__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s cubic-bezier(.2,.7,.2,1); }
.hw-step__inner { overflow: hidden; min-height: 0; }
.hw-step.is-open .hw-step__body { grid-template-rows: 1fr; }
.hw-step__body p { margin: 0; padding: 0 0 24px 56px; font-size: 16px; line-height: 1.6; color: var(--fg-muted); max-width: 46ch; }
.hw-step__visual-m { display: none; }
.hw-step.is-open .hw-step__body { position: relative; }

.hw-stage { position: sticky; top: 110px; aspect-ratio: 5/4; border-radius: 28px; overflow: hidden;
  background: radial-gradient(70% 70% at 80% 10%, rgba(45,45,232,.18), transparent 70%), var(--bg-card);
  border: 1px solid var(--border-hairline); }
[data-theme="dark"] .hw-stage { background: radial-gradient(70% 70% at 80% 10%, rgba(45,45,232,.25), transparent 70%), #0c0c0f; }
.hw-vis { position: absolute; inset: 0; display: grid; place-items: center; padding: 8%; opacity: 0; transform: translateY(12px) scale(.985); transition: opacity .45s, transform .45s cubic-bezier(.2,.7,.2,1); pointer-events: none; }
.hw-vis.is-on { opacity: 1; transform: none; }

/* visual mocks */
.hwv-card { width: min(100%, 420px); background: #fff; color: #0a0a0a; border-radius: 20px; padding: 22px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.35); font-size: 14px; display: flex; flex-direction: column; gap: 14px; }
.hwv-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.hwv-k { font-family: ui-monospace, monospace; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: #8a8a8a; }
.hwv-v { font-weight: 500; }
.hwv-pill { font-size: 11.5px; padding: 4px 10px; border-radius: 999px; background: #f0f0f3; color: #555; }
.hwv-name { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; }
.hwv-chips { display: flex; gap: 6px; }
.hwv-chips span { font-family: ui-monospace, monospace; font-size: 12px; padding: 6px 11px; border-radius: 999px; background: #f0f0f3; color: #777; }
.hwv-chips .on { background: #2d2de8; color: #fff; }
.hwv-msg { background: #f5f5f7; border-radius: 14px; padding: 14px; line-height: 1.5; color: #333; }
.hwv-gantt { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.hwv-gantt div { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 10px; font-size: 13px; color: #444; }
.hwv-gantt div::after { content: ""; grid-column: 2; grid-row: 1; height: 10px; border-radius: 6px; background: #f0f0f3; }
.hwv-gantt i { grid-column: 2; grid-row: 1; z-index: 1; height: 10px; border-radius: 6px; background: #2d2de8; margin-left: var(--s); width: var(--w); }
.hwv-gantt i.dot { background: #ff4a1f; width: 10px; height: 10px; }
.hwv-weeks { display: flex; justify-content: space-between; padding-left: 106px; font-family: ui-monospace, monospace; font-size: 10.5px; color: #999; }
.hwv-photos { position: relative; width: 100%; height: 100%; }
.hwv-photos img { position: absolute; border-radius: 16px; object-fit: cover; box-shadow: 0 24px 50px -18px rgba(0,0,0,.5); }
.hwv-photos img:nth-child(1) { left: 0; top: 10%; width: 52%; aspect-ratio: 4/3; transform: rotate(-4deg); }
.hwv-photos img:nth-child(2) { left: 36%; top: 0; width: 30%; aspect-ratio: 3/4; transform: rotate(3deg); z-index: 2; }
.hwv-photos img:nth-child(3) { right: 0; bottom: 4%; width: 54%; aspect-ratio: 3/2; transform: rotate(-2deg); z-index: 1; }
.hwv-browser { position: relative; width: 100%; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -20px rgba(0,0,0,.4); }
.hwv-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; background: #f0f0f3; }
.hwv-bar i { width: 9px; height: 9px; border-radius: 50%; background: #d4d4d8; }
.hwv-bar span { margin-left: 10px; font-size: 11.5px; color: #666; background: #fff; border-radius: 6px; padding: 3px 10px; }
.hwv-browser img { display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.hwv-live { position: absolute; right: 12px; top: 48px; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 500; padding: 6px 11px; border-radius: 999px; background: #fff; color: #0a0a0a; box-shadow: 0 6px 20px rgba(0,0,0,.18); }
.hwv-live span { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.2); }
.hwv-big span { display: block; font-size: 52px; font-weight: 500; letter-spacing: -0.04em; line-height: 1; color: #2d2de8; }
.hwv-big small { display: block; margin-top: 6px; color: #666; font-size: 13px; }
.hwv-bars { display: flex; align-items: flex-end; gap: 8px; height: 90px; }
.hwv-bars i { flex: 1; height: var(--h); border-radius: 6px 6px 3px 3px; background: linear-gradient(#2d2de8, #8e8ef5); }

@media (max-width: 860px) {
  .how__grid { grid-template-columns: 1fr; }
  .hw-stage { display: none; }
  .hw-step__visual-m { display: block; position: relative; aspect-ratio: 5/4; margin: 0 0 24px; border-radius: 20px; overflow: hidden; background: radial-gradient(70% 70% at 80% 10%, rgba(45,45,232,.18), transparent 70%), var(--bg-card); border: 1px solid var(--border-hairline); }
  .hw-step__visual-m .hw-vis { opacity: 1; transform: none; padding: 7%; }
  .hw-step__body p { padding-left: 0; }
  .hwv-card { font-size: 13px; padding: 16px; gap: 10px; }
  .hwv-big span { font-size: 40px; }
}
@media (max-width: 860px) {
  .hw-step__visual-m { aspect-ratio: auto; }
  .hw-step__visual-m .hw-vis { position: relative; inset: auto; padding: 22px 16px; }
  .hw-step__visual-m .hwv-photos { height: 260px; }
}

/* How we work · Make — a board of real work from different brands */
.hw-vis--board { padding: 5%; place-items: stretch; }
.hwv-board { position: relative; width: 100%; height: 100%; display: grid; gap: 8px;
  grid-template-columns: 1.1fr .9fr 1fr 1fr; grid-template-rows: repeat(3, minmax(0, 1fr)); min-height: 0; }
.hwv-board .t { position: relative; margin: 0; border-radius: 12px; overflow: hidden; background: #ddd; box-shadow: 0 10px 24px -14px rgba(0,0,0,.5); }
.hwv-board .t { min-height: 0; min-width: 0; }
.hwv-board .t img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.hwv-board figcaption { position: absolute; left: 6px; bottom: 6px; font-size: 10.5px; font-weight: 500; line-height: 1; padding: 5px 8px; border-radius: 999px; background: rgba(0,0,0,.55); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); white-space: nowrap; }
.hwv-board .t1 { grid-column: 1 / 3; grid-row: 1; }
.hwv-board .t2 { grid-column: 3; grid-row: 1 / 3; }
.hwv-board .t3 { grid-column: 4; grid-row: 1; }
.hwv-board .t3 img { object-fit: cover; object-position: 30% 50%; background: #f8f8f8; }
.hwv-board .t4 { grid-column: 1; grid-row: 2 / 4; }
.hwv-board .t5 { grid-column: 2; grid-row: 2; }
.hwv-board .t6 { grid-column: 4; grid-row: 2 / 4; }
.hwv-board .t7 { grid-column: 2 / 4; grid-row: 3; }
.hwv-board .cut { position: absolute; pointer-events: none; filter: drop-shadow(0 10px 16px rgba(0,0,0,.35)); animation: sticker-float 6s ease-in-out infinite; }
.hwv-board .c1 { width: 13%; right: -3%; bottom: -5%; --r: 8deg; animation-delay: .4s; }
.hwv-board .c2 { width: 17%; left: -4%; bottom: -6%; --r: -6deg; animation-delay: 1.4s; }
.hwv-board .c3 { width: 11%; right: -2%; top: -4%; --r: 12deg; animation-delay: 2.2s; }
.hw-vis:not(.is-on) .cut { animation-play-state: paused; }
@media (max-width: 860px) {
  .hw-step__visual-m .hw-vis--board { padding: 12px; }
  .hw-step__visual-m .hwv-board { aspect-ratio: 5/4; height: auto; }
  .hwv-board figcaption { display: none; }
}

/* How we work · Launch — checklist */
.hwv-todo { gap: 0; padding: 20px 20px 16px; }
.hwv-todo .hwv-row:first-child { margin-bottom: 6px; }
.hwv-todo-title { font-size: 19px; font-weight: 500; letter-spacing: -0.02em; margin: 0 0 12px; }
.hwv-todo ul { list-style: none; margin: 0; padding: 0; }
.hwv-todo li { display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid #eee; font-size: 14px; }
.hwv-todo li .box { width: 20px; height: 20px; border-radius: 6px; background: #2d2de8; display: grid; place-items: center; }
.hwv-todo li .box svg { width: 12px; height: 12px; }
.hwv-todo li .txt { color: #8a8a8a; text-decoration: line-through; text-decoration-color: #c9c9c9; }
.hwv-todo li .done { font-family: ui-monospace, monospace; font-size: 10.5px; letter-spacing: .06em; padding: 4px 8px; border-radius: 999px; background: #e9f9ef; color: #138a43; }
.hwv-todo li.last .txt { color: #0a0a0a; text-decoration: none; font-weight: 500; }
.hwv-todo li.last .box { background: #22c55e; }
.hwv-todo li.last small { display: block; font-weight: 400; color: #8a8a8a; font-size: 12px; margin-top: 2px; }
.hwv-progress { margin-top: 12px; height: 6px; border-radius: 6px; background: #eee; overflow: hidden; }
.hwv-progress i { display: block; height: 100%; width: 100%; background: linear-gradient(90deg, #2d2de8, #22c55e); }
.hw-vis.is-on .hwv-todo li { animation: todo-in .45s cubic-bezier(.2,.7,.2,1) both; }
.hw-vis.is-on .hwv-todo li:nth-child(2) { animation-delay: .06s; } .hw-vis.is-on .hwv-todo li:nth-child(3) { animation-delay: .12s; }
.hw-vis.is-on .hwv-todo li:nth-child(4) { animation-delay: .18s; } .hw-vis.is-on .hwv-todo li:nth-child(5) { animation-delay: .24s; }
.hw-vis.is-on .hwv-todo li:nth-child(6) { animation-delay: .3s; }
@keyframes todo-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hw-vis.is-on .hwv-todo li { animation: none; } }
.hwv-board .t4 figcaption, .hwv-board .t6 figcaption { top: 6px; bottom: auto; }

.form-error { margin: 12px 0 0; font-size: 14px; line-height: 1.45; color: #d93a1a; }
[data-theme="dark"] .form-error { color: #ff8a6b; }
