/* ==========================================================================
   Volux Co — ASCII editorial theme
   Warm cream, ink text, amber accent. Instrument Serif italics + Inter +
   IBM Plex Mono labels over ASCII-textured photography.
   ========================================================================== */

:root {
  --bg: #f7f7f5;
  --surface: #ffffff;
  --ink: #161616;
  --ink-soft: #3a3a38;
  --muted: #6e6e6c;
  --accent: #161616;
  --accent-deep: #6e6e6c;
  --accent-light: #d6d6d4;
  --band: #ededeb;
  --border: rgba(20, 20, 20, 0.1);
  --border-strong: rgba(20, 20, 20, 0.16);
  --dark: #161616;
  --dark-ink: #f5f5f3;
  --dark-muted: rgba(245, 245, 243, 0.68);

  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --container: 1120px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow-soft: 0 1px 2px rgba(20, 20, 20, 0.04), 0 8px 24px rgba(20, 20, 20, 0.06);
  --shadow-lift: 0 2px 4px rgba(20, 20, 20, 0.05), 0 16px 40px rgba(20, 20, 20, 0.1);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

::selection {
  background: rgba(20, 20, 20, 0.14);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 32px);
}

section[id] {
  scroll-margin-top: 96px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 999px;
  font-size: 0.875rem;
  text-decoration: none;
  transition: top 0.2s var(--ease-out);
}

.skip-link:focus {
  top: 16px;
}

/* --------------------------------------------------------------------------
   Type helpers
   -------------------------------------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

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

.accent {
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 550;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color 0.2s var(--ease-out), border-color 0.2s var(--ease-out),
    color 0.2s var(--ease-out), transform 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out);
}

.btn .arrow {
  transition: transform 0.25s var(--ease-out);
}

.btn:hover .arrow {
  transform: translateX(4px);
}

.btn-primary {
  background: var(--ink);
  color: var(--bg);
}

.btn-primary:hover {
  background: #2e2e2c;
  transform: translateY(-1px);
  box-shadow: var(--shadow-lift);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.65);
  border-color: var(--border-strong);
  color: var(--ink);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  background: var(--surface);
  border-color: rgba(20, 20, 20, 0.3);
  transform: translateY(-1px);
}

.btn-light {
  background: var(--bg);
  color: var(--ink);
}

.btn-light:hover {
  background: #fff;
  transform: translateY(-1px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.btn-sm {
  min-height: 42px;
  padding: 10px 20px;
  font-size: 0.875rem;
}

/* --------------------------------------------------------------------------
   Header — floating glass pill
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding-top: 16px;
  pointer-events: none;
}

.header-wrap {
  padding-inline: clamp(16px, 3vw, 32px);
}

.glass-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* Liquid glass: refraction (Chromium) or blur fallback, plus specular
   inset highlights and a diagonal sheen */
.header-pill {
  pointer-events: auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1060px;
  margin-inline: auto;
  padding: 10px 12px 10px 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(12px) saturate(1.6);
  -webkit-backdrop-filter: blur(12px) saturate(1.6);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.65), inset 0 -1px 1px rgba(255, 255, 255, 0.2),
    0 8px 28px rgba(20, 20, 20, 0.14);
  overflow: hidden;
  transition: max-width 0.55s var(--ease-out), background-color 0.3s var(--ease-out),
    box-shadow 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

@supports (backdrop-filter: url("#liquid-glass")) {
  .header-pill {
    backdrop-filter: url(#liquid-glass) blur(7px) saturate(1.6) brightness(1.04);
  }
}

.header-pill::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0.38) 0%,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0) 70%,
    rgba(255, 255, 255, 0.16) 100%
  );
}

.site-header.scrolled .header-pill {
  background: rgba(255, 255, 255, 0.42);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.7), inset 0 -1px 1px rgba(255, 255, 255, 0.25),
    0 12px 32px rgba(20, 20, 20, 0.16);
}

/* Mobile menu button + compact CTA — hidden on desktop */
.menu-btn,
.cta-mini {
  display: none;
}

.logo {
  flex: none;
  white-space: nowrap;
}

.nav-links,
.header-pill > .btn {
  white-space: nowrap;
  transition: opacity 0.35s var(--ease-out) 0.15s, transform 0.35s var(--ease-out) 0.15s,
    visibility 0s linear 0.15s;
}

/* Compact mode: the pill closes in around the logo once the page scrolls.
   Hover or keyboard focus re-opens it; touch layouts keep the full pill. */
@media (min-width: 821px) and (hover: hover) {
  .site-header.compact .header-pill {
    max-width: 134px;
  }

  .site-header.has-logo-img.compact .header-pill {
    max-width: 76px;
  }

  .site-header.compact .nav-links,
  .site-header.compact .header-pill > .btn {
    opacity: 0;
    transform: scale(0.94);
    visibility: hidden;
    transition: opacity 0.18s var(--ease-out), transform 0.18s var(--ease-out),
      visibility 0s linear 0.18s;
  }

  /* Once shut, the wordmark yields to the running-man mark */
  .site-header.compact .logo-full {
    opacity: 0;
  }

  .site-header.compact .logo-mark-img {
    opacity: 1;
    left: 4px;
  }

  .site-header.compact:hover .header-pill,
  .site-header.compact:focus-within .header-pill {
    max-width: 1060px;
  }

  .site-header.compact:hover .nav-links,
  .site-header.compact:hover .header-pill > .btn,
  .site-header.compact:focus-within .nav-links,
  .site-header.compact:focus-within .header-pill > .btn {
    opacity: 1;
    transform: none;
    visibility: visible;
    transition: opacity 0.35s var(--ease-out) 0.15s, transform 0.35s var(--ease-out) 0.15s,
      visibility 0s linear 0.15s;
  }

  .site-header.compact:hover .logo-full,
  .site-header.compact:focus-within .logo-full {
    opacity: 1;
  }

  .site-header.compact:hover .logo-mark-img,
  .site-header.compact:focus-within .logo-mark-img {
    opacity: 0;
  }
}

.logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  font-size: 1.1875rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  line-height: 1;
  padding-block: 8px;
}

.logo .logo-co {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  margin-left: 4px;
}

.logo .logo-full {
  display: block;
  height: 26px;
  width: auto;
  transition: opacity 0.25s var(--ease-out);
}

/* Optical centering: the running man's star rises above the wordmark text,
   so shift the image up to center the text itself */
.header-pill .logo-full {
  transform: translateY(-3px);
}

.logo .logo-mark-img {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 30px;
  width: auto;
  opacity: 0;
  transition: opacity 0.25s var(--ease-out);
}

.site-footer .logo .logo-full {
  height: 22px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}

.nav-links a:hover {
  background: rgba(20, 20, 20, 0.06);
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   Hero — full-bleed ASCII meadow, light wash
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
  padding-top: clamp(120px, 18vh, 176px);
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 78%;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to bottom,
    rgba(250, 250, 249, 0.94) 0%,
    rgba(250, 250, 249, 0.82) 26%,
    rgba(250, 250, 249, 0.45) 52%,
    rgba(250, 250, 249, 0.08) 78%,
    rgba(250, 250, 249, 0) 100%
  );
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Wide screens: text column left, subject breathing room right */
@media (min-width: 960px) {
  .hero-inner {
    align-items: flex-start;
    text-align: left;
  }

  .hero::before {
    background: linear-gradient(
        100deg,
        rgba(250, 250, 249, 0.62) 0%,
        rgba(250, 250, 249, 0.42) 32%,
        rgba(250, 250, 249, 0.16) 52%,
        rgba(250, 250, 249, 0) 68%
      ),
      linear-gradient(to bottom, rgba(250, 250, 249, 0.4), rgba(250, 250, 249, 0) 26%);
  }

  .hero-actions {
    justify-content: flex-start;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.pulse {
  position: relative;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #2e8b57;
  flex: none;
}

.pulse::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid #2e8b57;
  animation: pulse-ring 2.4s var(--ease-out) infinite;
}

@keyframes pulse-ring {
  0% {
    transform: scale(0.5);
    opacity: 0.9;
  }
  70%,
  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

.hero h1 {
  margin-top: 28px;
  font-size: clamp(2.75rem, 7.4vw, 5.5rem);
  font-weight: 640;
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: 18ch;
  text-wrap: balance;
}

.hero h1 .serif {
  display: block;
  margin-top: 0.08em;
  font-size: 1.06em;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--accent);
}

.hero-lead {
  margin-top: 26px;
  max-width: 34rem;
  font-size: clamp(1.0625rem, 1.6vw, 1.1875rem);
  line-height: 1.65;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 36px;
}

/* Drifting design-tile marquee pinned to the hero's bottom edge */
.hero-tiles {
  margin-top: auto;
  width: 100%;
  overflow: hidden;
  padding-top: 44px;
  padding-bottom: 40px;
  mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent);
}

.tiles-track {
  display: flex;
  width: max-content;
  animation: tiles-drift 60s linear infinite;
}

.hero-tiles:hover .tiles-track,
.hero-tiles:focus-within .tiles-track {
  animation-play-state: paused;
}

@keyframes tiles-drift {
  to {
    transform: translateX(-50%);
  }
}

.tile-set {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-right: 24px;
}

.tile {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: var(--tw, 210px);
  flex: none;
  padding: 18px;
  border-radius: 18px;
  background: var(--surface);
  border: 1px solid rgba(20, 20, 20, 0.08);
  box-shadow: 0 4px 10px rgba(20, 20, 20, 0.08), 0 18px 44px rgba(20, 20, 20, 0.22);
}

/* Hand-placed rhythm: alternating tilts and vertical drift */
.tile-set .tile:nth-child(1) { transform: rotate(-2.25deg) translateY(4px); }
.tile-set .tile:nth-child(2) { transform: rotate(1.5deg) translateY(-6px); }
.tile-set .tile:nth-child(3) { transform: rotate(-1.25deg) translateY(8px); }
.tile-set .tile:nth-child(4) { transform: rotate(2deg) translateY(-3px); }
.tile-set .tile:nth-child(5) { transform: rotate(-1.75deg) translateY(6px); }
.tile-set .tile:nth-child(6) { transform: rotate(1.25deg) translateY(-4px); }

.t-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.t-metric {
  font-size: 1.6rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1;
  color: var(--ink);
}

.t-delta {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--accent-deep);
}

.t-bars {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  height: 52px;
  margin-top: 4px;
}

.t-bars i {
  flex: 1;
  height: var(--h, 50%);
  border-radius: 4px;
  background: rgba(20, 20, 20, 0.16);
}

.t-bars i:nth-child(6) {
  background: var(--accent);
}

/* App tile (Larped) */
.tile-app {
  --tw: 200px;
}

.t-apphead {
  display: flex;
  align-items: center;
  gap: 10px;
}

.t-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  flex: none;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
}

.t-applines b {
  display: block;
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.t-applines span {
  display: block;
  font-size: 0.65rem;
  color: var(--muted);
}

.t-chips {
  display: flex;
  gap: 6px;
}

.t-chip {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.04em;
  padding: 4px 9px;
  border-radius: 999px;
  background: var(--band);
  color: var(--accent-deep);
  white-space: nowrap;
}

.t-chip-accent {
  background: var(--accent);
  color: #fff;
}

.t-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-top: 2px;
}

.t-grid i {
  aspect-ratio: 1;
  border-radius: 8px;
  background: var(--band);
}

.t-grid i:nth-child(1) { background: rgba(20, 20, 20, 0.18); }
.t-grid i:nth-child(4) { background: var(--accent); }
.t-grid i:nth-child(6) { background: var(--accent-light); }

/* Type specimen tile */
.tile-type {
  --tw: 176px;
}

.t-aa {
  display: flex;
  align-items: baseline;
  gap: 3px;
  line-height: 1;
}

.t-aa b {
  font-size: 2.7rem;
  font-weight: 680;
  letter-spacing: -0.04em;
}

.t-aa em {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 2.9rem;
  color: var(--accent);
}

.t-typeline {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.t-swatches {
  display: flex;
  gap: 6px;
}

.t-swatches i {
  width: 22px;
  height: 22px;
  border-radius: 7px;
}

.t-swatches .s1 { background: var(--ink); }
.t-swatches .s2 { background: #8a8a88; }
.t-swatches .s3 { background: var(--accent-light); }
.t-swatches .s4 { background: var(--bg); border: 1px solid var(--border-strong); }

/* Landing page miniature */
.tile-web {
  --tw: 216px;
  gap: 14px;
}

.t-nav {
  display: flex;
  align-items: center;
  gap: 7px;
}

.t-navdot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

.t-navpill {
  height: 8px;
  flex: 1;
  border-radius: 999px;
  background: var(--band);
}

.t-navbtn {
  width: 28px;
  height: 13px;
  border-radius: 999px;
  background: var(--ink);
  flex: none;
}

.t-hlines span {
  display: block;
  border-radius: 5px;
}

.t-hlines .l1 {
  width: 92%;
  height: 13px;
  background: var(--ink);
  opacity: 0.88;
}

.t-hlines .l2 {
  width: 70%;
  height: 13px;
  margin-top: 6px;
  background: #a3a3a1;
}

.t-hlines .l3 {
  width: 84%;
  height: 7px;
  margin-top: 9px;
  background: var(--band);
}

.t-btns {
  display: flex;
  gap: 8px;
}

.t-btns span {
  border-radius: 999px;
  height: 20px;
}

.t-btns .b1 {
  width: 58px;
  background: var(--ink);
}

.t-btns .b2 {
  width: 46px;
  border: 1px solid var(--border-strong);
  background: var(--surface);
}

/* Dark stats tile */
.tile-dark {
  --tw: 186px;
  background: var(--dark);
  border-color: rgba(255, 255, 255, 0.1);
}

.tile-dark .t-label {
  color: var(--dark-muted);
}

.tile-dark .t-metric {
  color: #fff;
}

.tile-dark .t-bars {
  height: 40px;
}

.tile-dark .t-bars i {
  background: rgba(245, 245, 243, 0.26);
}

.tile-dark .t-bars i:nth-child(6) {
  background: var(--accent-light);
}

.t-caption {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  color: var(--dark-muted);
}

/* Commerce tile */
.tile-shop {
  --tw: 212px;
}

.t-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.t-thumb {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  flex: none;
  background: var(--band);
}

.t-thumb-alt {
  background: rgba(20, 20, 20, 0.14);
}

.t-rowlines {
  flex: 1;
  min-width: 0;
}

.t-rowlines b {
  display: block;
  font-size: 0.75rem;
  font-weight: 620;
  letter-spacing: -0.01em;
}

.t-rowlines span {
  display: block;
  font-size: 0.62rem;
  color: var(--muted);
}

.t-price {
  font-size: 0.75rem;
  font-weight: 650;
}

.t-pay {
  margin-top: 4px;
  text-align: center;
  padding: 8px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Sections — shared
   -------------------------------------------------------------------------- */

.section {
  padding-block: clamp(88px, 12vw, 140px);
}

/* Tinted and dark full-bleed section variants — break up the cream */
.section-tint {
  background: var(--band);
}

.section-dark {
  background: var(--dark);
}

.section-dark .eyebrow {
  color: var(--dark-muted);
}

.section-dark .eyebrow .dot {
  background: var(--accent-light);
}

.section-dark .section-title {
  color: #fff;
}

.section-dark .section-title .serif {
  color: var(--accent-light);
}

.section-dark .studio-copy > p {
  color: var(--dark-muted);
}

.section-dark .principle {
  color: var(--dark-ink);
  border-color: rgba(244, 241, 250, 0.16);
}

.section-dark .principle svg {
  color: var(--accent-light);
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  max-width: 44rem;
  margin-bottom: clamp(44px, 6vw, 72px);
}

.section-title {
  font-size: clamp(2.125rem, 4.6vw, 3.375rem);
  font-weight: 630;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.section-title .serif {
  font-size: 1.06em;
  color: var(--accent);
}

.section-sub {
  font-size: 1.0625rem;
  color: var(--muted);
  max-width: 36rem;
  text-wrap: pretty;
}

/* --------------------------------------------------------------------------
   Services
   -------------------------------------------------------------------------- */

/* Proof row — relocated hero chips */
.proof-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-block: 20px;
  border-top: 1px solid var(--border-strong);
  margin-bottom: clamp(40px, 6vw, 64px);
}

.proof-item {
  display: flex;
  gap: 14px;
  align-items: baseline;
}

.proof-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--accent-deep);
}

.proof-copy b {
  display: block;
  font-size: 0.95rem;
  font-weight: 620;
  letter-spacing: -0.01em;
}

.proof-copy span {
  display: block;
  font-size: 0.8125rem;
  color: var(--muted);
}

.services {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border-strong);
}

.service {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: clamp(20px, 4vw, 56px);
  align-items: start;
  padding-block: clamp(30px, 4.5vw, 48px);
  border-bottom: 1px solid var(--border-strong);
}

.service-num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--accent-deep);
  padding-top: 0.6em;
}

.service-main {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-title {
  font-size: clamp(1.5rem, 2.6vw, 2.125rem);
  font-weight: 620;
  letter-spacing: -0.025em;
  line-height: 1.1;
  transition: color 0.25s var(--ease-out), transform 0.35s var(--ease-out);
}

.service:hover .service-title {
  transform: translateX(6px);
}

.service-body {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 46ch;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding-top: 0.4em;
  max-width: 220px;
}

.tag {
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--bg);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
}

/* --------------------------------------------------------------------------
   Work — process row + typographic statement
   -------------------------------------------------------------------------- */

.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.process-step {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid var(--border-strong);
}

.process-num {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--accent-deep);
}

.process-title {
  font-size: 1.0625rem;
  font-weight: 620;
  letter-spacing: -0.01em;
}

.process-body {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

.statement {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  margin-top: clamp(64px, 9vw, 110px);
  padding-block: clamp(48px, 7vw, 80px);
  border-top: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
}

.statement-line {
  font-size: clamp(2.125rem, 5vw, 3.75rem);
  font-weight: 620;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.statement-line .serif {
  color: var(--accent);
  font-size: 1.06em;
}

/* --------------------------------------------------------------------------
   Studio — copy + principles columns
   -------------------------------------------------------------------------- */

.studio-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}

.studio-copy > p {
  color: var(--ink-soft);
  font-size: 1.0425rem;
  line-height: 1.7;
  max-width: 34rem;
}

.studio-copy > p + p {
  margin-top: 18px;
}

.principles {
  display: flex;
  flex-direction: column;
  list-style: none;
  margin: 0;
  padding: 0;
}

.principle {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-block: 16px;
  border-top: 1px solid var(--border);
  font-weight: 560;
  font-size: 1rem;
  letter-spacing: -0.01em;
}

.principle:last-child {
  border-bottom: 1px solid var(--border);
}

.principle svg {
  width: 18px;
  height: 18px;
  color: var(--accent-deep);
  flex: none;
}

/* --------------------------------------------------------------------------
   Plans — two engagement models
   -------------------------------------------------------------------------- */

.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  background: var(--surface);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.plan {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(28px, 4vw, 48px);
}

.plan + .plan {
  border-left: 1px solid var(--border-strong);
}

.plan-kicker {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-deep);
}

.plan-name {
  font-size: clamp(1.75rem, 3vw, 2.375rem);
  font-weight: 630;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.plan-name .serif {
  color: var(--accent);
  font-size: 1.06em;
}

.plan-desc {
  color: var(--muted);
  line-height: 1.65;
  max-width: 40ch;
}

.plan-list {
  list-style: none;
  margin: 10px 0 26px;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.plan-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-block: 11px;
  border-top: 1px solid var(--border);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.plan-list svg {
  width: 16px;
  height: 16px;
  margin-top: 3px;
  color: var(--accent-deep);
  flex: none;
}

.plan .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* --------------------------------------------------------------------------
   FAQ — native details accordions
   -------------------------------------------------------------------------- */

.faq {
  max-width: 50rem;
  border-top: 1px solid var(--border-strong);
}

.faq-item {
  border-bottom: 1px solid var(--border-strong);
}

.faq-item summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding-block: 22px;
  cursor: pointer;
  list-style: none;
  touch-action: manipulation;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-q {
  font-size: 1.125rem;
  font-weight: 620;
  letter-spacing: -0.015em;
  transition: color 0.2s var(--ease-out);
}

.faq-item summary:hover .faq-q {
  color: var(--accent-deep);
}

.faq-icon {
  width: 18px;
  height: 18px;
  color: var(--muted);
  transition: transform 0.3s var(--ease-out), color 0.2s var(--ease-out);
}

.faq-item[open] .faq-icon {
  transform: rotate(45deg);
  color: var(--accent-deep);
}

.faq-body {
  margin: 0;
  padding: 0 40px 26px 0;
  color: var(--muted);
  line-height: 1.7;
  max-width: 62ch;
}

/* --------------------------------------------------------------------------
   Contact — solid dark panel with warm glow
   -------------------------------------------------------------------------- */

.contact-panel {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  padding: clamp(72px, 11vw, 130px) clamp(24px, 6vw, 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--dark);
  background-image: radial-gradient(110% 85% at 50% 118%, rgba(255, 255, 255, 0.12), transparent 62%);
  box-shadow: 0 24px 64px rgba(20, 20, 20, 0.22);
}

.contact-panel .eyebrow {
  color: var(--dark-muted);
}

.contact-panel .eyebrow .dot {
  background: var(--accent-light);
}

.contact-title {
  margin-top: 18px;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 630;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: #fff;
  text-wrap: balance;
}

.contact-title .serif {
  color: var(--accent-light);
  font-size: 1.06em;
}

.contact-sub {
  margin-top: 20px;
  max-width: 30rem;
  color: var(--dark-muted);
  font-size: 1.0625rem;
  text-wrap: pretty;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 18px;
  margin-top: 38px;
}

.email-link {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  color: var(--dark-ink);
  text-decoration: underline;
  text-decoration-color: rgba(245, 241, 233, 0.4);
  text-underline-offset: 5px;
  transition: text-decoration-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}

.email-link:hover {
  color: #fff;
  text-decoration-color: var(--accent-light);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--border);
  padding-block: 44px;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.foot-meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

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

.footer-links a {
  padding: 10px 12px;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
  transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}

.footer-links a:hover {
  background: rgba(20, 20, 20, 0.06);
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   Inner pages (support / privacy)
   -------------------------------------------------------------------------- */

.page-main {
  padding-top: clamp(140px, 20vh, 200px);
  padding-bottom: clamp(72px, 10vw, 120px);
}

.page-main .container {
  max-width: 760px;
}

.page-title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 630;
  letter-spacing: -0.03em;
  line-height: 1.06;
  margin: 14px 0 0;
}

.page-title .serif {
  color: var(--accent);
  font-size: 1.06em;
}

.page-updated {
  margin: 18px 0 0;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.page-body address {
  font-style: normal;
}

.page-body {
  margin-top: 36px;
  color: var(--ink-soft);
  font-size: 1.0425rem;
  line-height: 1.75;
}

.page-body h2 {
  margin: 2.2em 0 0.6em;
  font-size: 1.375rem;
  font-weight: 620;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.page-body h3 {
  margin: 1.8em 0 0.5em;
  font-size: 1.125rem;
  font-weight: 620;
  color: var(--ink);
}

.page-body p {
  margin: 0 0 1em;
}

.page-body ul,
.page-body ol {
  padding-left: 1.2em;
  margin: 0 0 1em;
}

.page-body li {
  margin-bottom: 0.4em;
}

.page-body a,
.ulink {
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(154, 74, 12, 0.4);
  transition: text-decoration-color 0.2s var(--ease-out);
}

.page-body a:hover,
.ulink:hover {
  text-decoration-color: var(--accent-deep);
}

/* --------------------------------------------------------------------------
   Reveal animations
   -------------------------------------------------------------------------- */

/* Hidden state only applies once JS confirms it can reveal (progressive enhancement) */
html.js .fx {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out);
  transition-delay: var(--d, 0ms);
}

html.js .fx.in {
  opacity: 1;
  transform: none;
}

/* Hero image settle-in */
.hero-bg {
  animation: hero-settle 1.8s var(--ease-out) both;
}

@keyframes hero-settle {
  from {
    transform: scale(1.045);
  }
  to {
    transform: scale(1);
  }
}

@media (prefers-reduced-transparency: reduce) {
  .header-pill,
  .mobile-menu {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255, 255, 255, 0.94);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .mobile-menu,
  .menu-btn path,
  .cta-mini {
    transition: none;
  }

  html.js .fx {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .hero-bg {
    animation: none;
  }

  .tiles-track {
    animation: none;
  }

  .pulse::after {
    animation: none;
  }

  .btn,
  .service-title,
  .faq-icon,
  .header-pill,
  .nav-links,
  .header-pill > .btn {
    transition: none;
  }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 960px) {
  .service {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 16px 20px;
  }

  .tags {
    grid-column: 2;
    justify-content: flex-start;
    max-width: none;
    padding-top: 4px;
  }

  .studio-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .process {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 20px;
  }

  .plans {
    grid-template-columns: 1fr;
  }

  .plan + .plan {
    border-left: 0;
    border-top: 1px solid var(--border-strong);
  }
}

/* --------------------------------------------------------------------------
   Mobile header — menu left, centered logo, compact CTA
   -------------------------------------------------------------------------- */

.mobile-menu {
  pointer-events: none;
  position: relative;
  max-width: 480px;
  margin: 10px auto 0;
  padding: 12px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(16px) saturate(1.6);
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.7), 0 18px 44px rgba(20, 20, 20, 0.18);
  opacity: 0;
  transform: translateY(-10px) scale(0.98);
  visibility: hidden;
  transition: opacity 0.28s var(--ease-out), transform 0.28s var(--ease-out),
    visibility 0s linear 0.28s;
}

@supports (backdrop-filter: url("#liquid-glass")) {
  .mobile-menu {
    backdrop-filter: url(#liquid-glass) blur(10px) saturate(1.6) brightness(1.04);
  }
}

.site-header.menu-open .mobile-menu {
  pointer-events: auto;
  opacity: 1;
  transform: none;
  visibility: visible;
  transition: opacity 0.28s var(--ease-out), transform 0.28s var(--ease-out), visibility 0s;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
}

.mobile-menu nav a {
  padding: 13px 16px;
  border-radius: 16px;
  font-size: 1.0625rem;
  font-weight: 550;
  color: var(--ink);
  text-decoration: none;
  transition: background-color 0.2s var(--ease-out);
}

.mobile-menu nav a:hover,
.mobile-menu nav a:active {
  background: rgba(20, 20, 20, 0.06);
}

.mobile-menu .btn {
  width: 100%;
  margin-top: 10px;
}

@media (min-width: 821px) {
  .mobile-menu {
    display: none;
  }
}

@media (max-width: 820px) {
  .nav-links,
  .header-cta {
    display: none;
  }

  .header-pill {
    display: grid;
    grid-template-columns: 42px 1fr 42px;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
  }

  .header-pill .logo {
    justify-self: center;
  }

  .menu-btn {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(20, 20, 20, 0.12);
    background: rgba(255, 255, 255, 0.55);
    color: var(--ink);
    cursor: pointer;
    touch-action: manipulation;
  }

  .menu-btn svg {
    width: 20px;
    height: 20px;
  }

  .menu-btn path {
    transition: transform 0.25s var(--ease-out);
    transform-origin: center;
  }

  .site-header.menu-open .mi-top {
    transform: translateY(4px) rotate(45deg);
  }

  .site-header.menu-open .mi-bot {
    transform: translateY(-4px) rotate(-45deg);
  }

  .cta-mini {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--ink);
    color: var(--bg);
    transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out);
  }

  .cta-mini svg {
    width: 18px;
    height: 18px;
  }

  .header-pill .logo {
    padding-block: 4px;
  }

  .logo .logo-full {
    height: 22px;
  }

  .logo .logo-mark-img {
    left: 50%;
    transform: translate(-50%, -50%);
    height: 27px;
  }

  /* Collapse on scroll: pill closes around menu button + mark */
  .site-header.compact:not(.menu-open) .header-pill {
    max-width: 196px;
  }

  .site-header.has-logo-img.compact:not(.menu-open) .header-pill {
    max-width: 150px;
  }

  .site-header.compact:not(.menu-open) .cta-mini {
    opacity: 0;
    transform: scale(0.8);
  }

  .site-header.has-logo-img.compact:not(.menu-open) .logo-full {
    opacity: 0;
  }

  .site-header.has-logo-img.compact:not(.menu-open) .logo-mark-img {
    opacity: 1;
  }
}

@media (max-width: 720px) {
  .hero-tiles {
    padding-top: 36px;
    padding-bottom: 32px;
  }

  .tile {
    zoom: 0.85;
  }

  .proof-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .hero-actions .btn {
    flex: 1 1 auto;
  }

  .band-panel {
    min-height: 440px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 600px) {
  .faq-item summary {
    gap: 12px;
  }

  .faq-body {
    padding: 0 8px 24px 0;
  }
}

@media (max-width: 480px) {
  .process {
    grid-template-columns: 1fr;
  }

  .hero-badge {
    font-size: 0.62rem;
    padding: 8px 14px;
  }

  .contact-actions {
    flex-direction: column;
  }
}
