/* ============================================================
   ARSENIC DIGITAL — Page components (light)
   ============================================================ */

/* ---------- Hero (centered, elegant) — fills the fold ---------- */
.hero {
  position: relative;
  min-height: 100svh;            /* fit the fold exactly */
  display: flex;
  flex-direction: column;
  justify-content: center;       /* vertically center content in the viewport */
  padding: 90px 0 48px;          /* clear the 74px fixed header, keep balance */
  background:
    radial-gradient(66% 70% at 6% 4%, rgba(245,158,11,0.28), transparent 66%),
    radial-gradient(66% 70% at 94% 100%, rgba(234,179,8,0.22), transparent 68%),
    var(--bg);
  overflow: hidden;
}
.hero > .container { position: relative; z-index: 1; }  /* text above the floating icons */

/* Cursor-following dynamic gradient glow (subpage heroes) */
.hero-glow {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  opacity: 0;                          /* invisible at rest — only shows under the cursor */
  background: radial-gradient(440px circle at var(--mx, 50%) var(--my, 50%), rgba(245,158,11,.22), transparent 60%);
  transition: opacity .4s ease;        /* fade ONLY — position is instant, so it never slides/teleports */
}
.hero-glow.is-on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hero-glow { transition: none; } }

/* ---------- Subpage heroes: half-height + layered background ----------
   Scoped to [data-hero-glow] so the full-fold landing hero is untouched.
   Layers, back to front: section washes (.hero bg) → drifting orbs + faint
   grid (.hero-bg-sub, z0) → cursor glow (.hero-glow, z0, later in DOM) →
   text (.container, z1). */
.hero[data-hero-glow] {
  min-height: 52vh;                                /* was 100svh — about half the fold */
  padding: clamp(96px, 13vh, 150px) 0 clamp(40px, 7vh, 70px);  /* clears 74px fixed header */
}
.hero[data-hero-glow] .hero-glow {                 /* a touch more punch so it reads over the grid */
  background: radial-gradient(440px circle at var(--mx, 50%) var(--my, 50%), rgba(245,158,11,.28), transparent 60%);
}

/* shared decoration layer — sits below the cursor glow, above the section bg */
.hero-bg-sub { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

/* faint grid, radially masked so it fades out at the edges */
.hero-bg-sub.bg-grid {
  background-image:
    linear-gradient(to right,  rgba(28,23,20,.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(28,23,20,.055) 1px, transparent 1px);
  background-size: 40px 40px; background-position: center;
  -webkit-mask-image: radial-gradient(115% 120% at 50% 42%, #000 28%, transparent 76%);
          mask-image: radial-gradient(115% 120% at 50% 42%, #000 28%, transparent 76%);
}

/* slow-drifting soft gradient orbs (the .hero overflow:hidden clips the bleed) */
.hero-orb { position: absolute; border-radius: 50%; filter: blur(46px); opacity: .55; will-change: transform; }
.hero-orb.o1 { width: 360px; height: 360px; top: -60px; left: 8%;
  background: radial-gradient(circle, rgba(var(--g3-rgb),.55), transparent 68%);
  animation: hero-drift1 19s ease-in-out infinite; }
.hero-orb.o2 { width: 300px; height: 300px; bottom: -70px; right: 12%;
  background: radial-gradient(circle, rgba(var(--g2-rgb),.50), transparent 68%);
  animation: hero-drift2 23s ease-in-out infinite; }
@keyframes hero-drift1 { 0%,100% { transform: translate(0,0); }  50% { transform: translate(46px,30px); } }
@keyframes hero-drift2 { 0%,100% { transform: translate(0,0); }  50% { transform: translate(-40px,-26px); } }
@media (prefers-reduced-motion: reduce) { .hero-orb { animation: none; } }

/* Slowly-spinning concentric rings of social/marketing logos (decorative) */
.hero-deco { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero-rings {
  position: absolute; inset: 0;
  perspective: 1200px;
  transform: rotateX(14deg);
  transform-origin: center 60%;
}
.ring {
  position: absolute; top: 50%; left: 50%; width: 0; height: 0;
  animation: ring-spin var(--dur, 90s) linear infinite;
}
.ring[data-dir="ccw"] { animation-name: ring-spin-rev; }
.ring-ico {
  position: absolute; top: 0; left: 0;
  width: var(--sz, 36px); height: var(--sz, 36px);
  margin-left: calc(var(--sz, 36px) / -2);
  margin-top:  calc(var(--sz, 36px) / -2);
}
.ring-ico img { width: 100%; height: 100%; display: block; opacity: .55; filter: blur(2.5px); }
.ring-1 .ring-ico img { opacity: .45; filter: blur(3.5px); }  /* back ring: softer, dimmer */
.ring-2 .ring-ico img { opacity: .62; filter: blur(2px); }    /* front ring: a touch crisper */
@keyframes ring-spin     { from { transform: rotate(0deg); }  to { transform: rotate(360deg); } }
@keyframes ring-spin-rev { from { transform: rotate(0deg); }  to { transform: rotate(-360deg); } }
/* center fade keeps the headline + buttons crisp above the faint icons */
.hero-veil {
  position: absolute; inset: 0;
  background: radial-gradient(56% 54% at 50% 47%, var(--bg) 0%, rgba(251,247,242,.66) 40%, transparent 74%);
}
@media (prefers-reduced-motion: reduce) { .ring { animation: none; } }
@media (max-width: 960px) {
  .hero-rings { transform: rotateX(14deg) scale(.5); }
  .ring-1 .ring-ico img { opacity: .3; filter: blur(4px); }
  .ring-2 .ring-ico img { opacity: .4; filter: blur(2.5px); }
  .hero-veil { background: radial-gradient(62% 52% at 50% 44%, var(--bg) 0%, rgba(251,247,242,.74) 44%, transparent 78%); }
}
.hero-center {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}
.hero-center .eyebrow { margin-bottom: 20px; }
.hero-center h1 { margin-bottom: 22px; }
.hero-center .lead { font-size: 1.1875rem; max-width: 56ch; margin: 0 auto 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
/* Trust strip (home hero) — uppercase label + auto-scrolling client logo marquee.
   Two identical sets in .trust-strip__track; translateX(-50%) loops seamlessly
   because padding-right matches the inter-item gap. */
.trust-strip { margin-top: 32px; width: 100%; }
.trust-strip__label {
  margin: 0 0 18px;
  text-align: center;
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
}
.trust-strip__viewport {
  position: relative;
  overflow: hidden;
  --edge: min(64px, 12%);       /* transparency fade width per side */
  --blur-edge: min(56px, 11%);  /* progressive-blur zone; kept <= --edge so the
                                   whole blur ramp stays inside the visible (un-
                                   masked) band instead of being clipped away. */
  /* True transparency fade at both edges (masks the pixels, not paints over
     them) so the marquee reads correctly over any section background, not just
     --bg. Replaces the old fixed-color gradient overlays. */
  -webkit-mask-image: linear-gradient(90deg,
    transparent 0, #000 var(--edge),
    #000 calc(100% - var(--edge)), transparent 100%);
  mask-image: linear-gradient(90deg,
    transparent 0, #000 var(--edge),
    #000 calc(100% - var(--edge)), transparent 100%);
}
/* Progressive-blur edges: a backdrop-blurred layer pinned to each side and
   gradient-masked so logos go sharp -> soft as they slide out toward the edge.
   Same perceptual result as the reference ProgressiveBlur, in dependency-free
   CSS (the uniform blur reads as a ramp because the mask reveals more of the
   blurred layer the closer you get to the edge). */
.trust-strip__viewport::before,
.trust-strip__viewport::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: var(--blur-edge);
  z-index: 2;
  pointer-events: none;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}
.trust-strip__viewport::before {
  left: 0;
  -webkit-mask-image: linear-gradient(90deg, #000 0, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0, transparent 100%);
}
.trust-strip__viewport::after {
  right: 0;
  -webkit-mask-image: linear-gradient(270deg, #000 0, transparent 100%);
  mask-image: linear-gradient(270deg, #000 0, transparent 100%);
}
.trust-strip__track {
  display: inline-flex;
  align-items: center;
  gap: 72px;
  padding-right: 72px;
  animation: trust-marquee 32s linear infinite;  /* calm, premium pace */
  will-change: transform;
}
.trust-strip__viewport:hover .trust-strip__track { animation-play-state: paused; }
@keyframes trust-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.trust-logo {
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 auto;
  height: 76px;
  max-width: 220px;
  overflow: hidden;
}
/* Full-colour logos on transparent backgrounds (white knocked out of the PNGs
   themselves) so nothing sits in a card. */
.trust-logo img {
  display: block;
  max-height: 100%;
  max-width: 100%;
  width: auto; height: auto;
  opacity: 0.9;
  transition: opacity .25s ease;
}
.trust-logo:hover img { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .trust-strip__track { animation: none; }
}

/* ============================================================
   "Website on a screen" — a browser-window device with a LIVE,
   editable mini-site inside, plus a scroll-driven 3D tilt. The
   React refs (Aceternity ContainerScroll) are reimplemented in
   vanilla CSS/JS: JS sets --p (0..1) from scroll; CSS derives the
   rotateX + scale below. transform-origin near the bottom so the
   window pivots from its base (reclined -> upright, facing you).
   ============================================================ */
.device-wrap { max-width: 1000px; margin: 8px auto 0; position: relative; }

/* "Click any text to edit" affordance for the live playground — BOLD yellow chip (unmissable on cream) */
.ms-badge {
  position: absolute; top: -16px; right: 16px; z-index: 3;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px;
  font-family: var(--font-display); font-size: 0.9rem; font-weight: 700; letter-spacing: -0.01em;
  color: #1C1714; background: #FACC15;          /* solid brand yellow, dark text */
  border: 1px solid rgba(28,23,20,.14); border-radius: var(--r-pill);
  box-shadow: 0 8px 20px rgba(250,204,21,.42), 0 2px 6px rgba(28,23,20,.12);
  animation: ms-badge-pulse 2.4s ease-in-out infinite;
}
.ms-badge svg {                                 /* dark pencil (visible on yellow) + a little "writing" wiggle */
  width: 17px; height: 17px; color: #1C1714;
  transform-origin: 70% 70%;
  animation: ms-badge-wig 2.4s ease-in-out infinite;
}
@keyframes ms-badge-pulse {
  0%, 100% { transform: translateY(0);    box-shadow: 0 8px 20px rgba(250,204,21,.40), 0 2px 6px rgba(28,23,20,.12); }
  50%      { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(250,204,21,.55), 0 4px 10px rgba(28,23,20,.16); }
}
@keyframes ms-badge-wig {
  0%, 86%, 100% { transform: rotate(0deg); }
  91%           { transform: rotate(-13deg); }
  96%           { transform: rotate(10deg); }
}
@media (prefers-reduced-motion: reduce) { .ms-badge, .ms-badge svg { animation: none; } }
@media (max-width: 600px) {
  .ms-badge { font-size: 0.82rem; padding: 8px 13px; top: -14px; right: 10px; }
  .ms-badge svg { width: 15px; height: 15px; }
}

/* Stage = perspective container (never transformed itself) */
.device-stage { perspective: 1100px; perspective-origin: 50% 16%; }

/* The tilting unit. --p 0 = reclined/tilted, 1 = flat & facing viewer.
   --tilt-max is applied per-element by JS from data-tilt-max. */
.device {
  position: relative;
  margin-inline: auto;
  transform-origin: 50% 82%;
  transform:
    rotateX(calc((1 - var(--p, 0)) * var(--tilt-max, 26deg)))
    scale(calc(0.92 + 0.08 * var(--p, 0))); /* <=1, never overflows non-clipped sections */
  will-change: transform;
}

/* The lid = the browser window */
.device-lid {
  position: relative; border-radius: var(--r-media); overflow: hidden;
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-card-hover);
}

/* Browser chrome bar */
.device-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 11px 14px; background: var(--bg-2); border-bottom: 1px solid var(--border);
}
.device-dots { display: flex; gap: 6px; }
.device-dots span { width: 10px; height: 10px; border-radius: 50%; background: #D9D4CD; }
.device-url {
  flex: 1; margin-left: 8px; text-align: left;
  font-family: ui-monospace, Menlo, monospace; font-size: 0.75rem; color: var(--text-muted);
  background: var(--surface); padding: 5px 12px; border-radius: var(--r-pill); border: 1px solid var(--border);
}

/* The screen viewport — a container so the mini-site scales with it (cqw) */
.screen { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface); container-type: inline-size; }

/* ---------- The concrete mini-site (scales with .screen via cqw) ---------- */
.ms {
  position: absolute; inset: 0; display: flex; flex-direction: column; gap: 3.2cqw;
  padding: 4.2cqw 4.6cqw; text-align: left; font-family: var(--font-body); color: var(--text);
  background: radial-gradient(95% 70% at 100% 0%, rgba(var(--g2-rgb),0.10), transparent 60%), var(--surface);
}
.ms-nav { display: flex; align-items: center; justify-content: space-between; }
.ms-logo { display: inline-flex; align-items: center; gap: 1.3cqw; font-family: var(--font-display); font-weight: 700; font-size: 2.1cqw; }
.ms-logo-mark {
  width: 3.4cqw; height: 3.4cqw; border-radius: 0.8cqw; background: #1C1714; color: #FACC15;
  display: inline-grid; place-items: center; font-size: 1.6cqw; font-weight: 700; letter-spacing: -0.02em;
}
.ms-links { display: inline-flex; gap: 2.6cqw; color: var(--text-muted); font-size: 1.6cqw; font-weight: 500; }
.ms-cta { font-size: 1.5cqw; font-weight: 600; background: #FACC15; color: #1C1714; padding: 1.1cqw 2.2cqw; border-radius: 999px; }
.ms-hero { display: grid; grid-template-columns: 1.12fr 0.88fr; gap: 3.8cqw; align-items: center; flex: 1; min-height: 0; }
.ms-hero-copy { display: flex; flex-direction: column; gap: 1.7cqw; }
.ms-eyebrow { font-size: 1.35cqw; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--link); }
.ms-h1 { font-family: var(--font-display); font-weight: 700; font-size: 4cqw; line-height: 1.08; letter-spacing: -0.02em; margin: 0; }
.ms-sub { font-size: 1.7cqw; line-height: 1.45; color: var(--text-muted); margin: 0; }
.ms-btns { display: flex; gap: 1.5cqw; margin-top: 0.6cqw; }
.ms-btn { font-size: 1.5cqw; font-weight: 600; background: #FACC15; color: #1C1714; padding: 1.4cqw 2.6cqw; border-radius: 0.9cqw; white-space: nowrap; }
.ms-btn.ghost { background: #EFE9E0; color: #1C1714; }
.ms-media {
  align-self: stretch; min-height: 0; border-radius: 1.4cqw; position: relative; overflow: hidden;
  background: linear-gradient(150deg, rgba(var(--g3-rgb),.92), rgba(var(--g1-rgb),.82)), var(--bg-2);
  box-shadow: inset 0 0 0 1px rgba(28,23,20,.05);
}
.ms-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ms-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqw; }
.ms-card { display: flex; flex-direction: column; gap: 0.7cqw; padding: 2cqw; border: 1px solid var(--border); border-radius: 1.2cqw; background: #FFFDFB; min-width: 0; /* let the caption ellipsis-truncate instead of growing the card */ }
.ms-card b { font-family: var(--font-display); font-size: 1.7cqw; }
.ms-card span { font-size: 1.35cqw; color: var(--text-muted); }
.ms-ic { width: 3.4cqw; height: 3.4cqw; border-radius: 0.8cqw; background: rgba(var(--g3-rgb),.22); }
.ms-ic.ic2 { background: rgba(var(--g2-rgb),.20); }
.ms-ic.ic3 { background: rgba(var(--g1-rgb),.18); }

/* ---------- Interactive playground (.ms--play) — fields a visitor can type into ---------- */
/* Editable fields read as real text, but hint they're editable on hover/focus */
.ms-edit { outline: none; border-radius: 0.6cqw; cursor: text; transition: background-color .15s ease, box-shadow .15s ease; }
.ms-edit:hover { background: rgba(var(--g2-rgb), .14); }
.ms-edit:focus { background: rgba(var(--g2-rgb), .18); box-shadow: 0 0 0 0.4cqw rgba(var(--g2-rgb), .18); }
/* Placeholder text for empty contenteditable fields */
.ms-edit:empty::before { content: attr(data-placeholder); color: #B4A99C; pointer-events: none; }
.ms--play .ms-name { font-family: var(--font-display); font-weight: 700; }
/* Monogram: solid square w/ initials; empty state = subtle placeholder */
.ms-logo-mark.is-empty { background: #EFE9E0; color: #B4A99C; box-shadow: inset 0 0 0 1.5px #DFD6C8; }

/* Headline auto-accent: a clean yellow underline on one word (not a block) */
.ms-underline { text-decoration: underline; text-decoration-color: #EAB308; text-decoration-thickness: 0.1em; text-underline-offset: 0.14em; }

/* Service caption: ALWAYS clamp to 2 lines + ellipsis so it never stretches the card */
.ms-card .cap { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; max-width: 100%; }
/* Service title: single line + ellipsis */
.ms-card b { display: block; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* Mock buttons: a clear press cue, but they do nothing */
.ms-btn, .ms-cta { cursor: pointer; user-select: none; transition: transform .08s ease, filter .15s ease; }
.ms-btn:hover, .ms-cta:hover { filter: brightness(.97); }
.ms-btn:active, .ms-cta:active, .ms-btn.is-press, .ms-cta.is-press { transform: scale(.95); }

/* Hint line under the playground */
.ms-hint { text-align: center; margin-top: 18px; color: var(--text-muted); font-size: 0.875rem; }

/* Reduced motion: no tilt at all */
@media (prefers-reduced-motion: reduce) { .device { transform: none !important; } }

/* Tablets (641–768px): gentler 3D, window still legible */
@media (max-width: 768px) {
  .device-stage { perspective: 820px; }
  .device { --tilt-max: 16deg; }
}

/* Phones (≤640px): the cqw-scaled mini-site becomes illegible/untappable inside
   the tiny tilted window, so reflow it into a natural-height, single-column card
   with rem-based sizing. No 3D, no browser chrome — just a clean, editable card. */
@media (max-width: 640px) {
  /* kill the 3D tilt + perspective entirely */
  .device-stage { perspective: none; }
  .device { transform: none; --tilt-max: 0deg; will-change: auto; }

  /* drop the fake browser chrome → plain card */
  .device-bar { display: none; }

  /* let the mini-site flow at its natural height instead of a fixed 16:10 box */
  .screen { aspect-ratio: auto; height: auto; overflow: visible; container-type: normal; }
  .ms { position: static; inset: auto; gap: 18px; padding: 22px 18px; }

  /* top bar: keep the brand + CTA, hide the decorative nav links */
  .ms-links { display: none; }
  .ms-logo { font-size: 1.1rem; gap: 9px; }
  .ms-logo-mark { width: 28px; height: 28px; border-radius: 7px; font-size: 13px; }
  .ms-cta { font-size: 0.85rem; padding: 8px 15px; }

  /* hero → single column, photo stacked on top */
  .ms-hero { grid-template-columns: 1fr; gap: 18px; }
  .ms-media { order: -1; height: 168px; border-radius: 14px; }
  .ms-hero-copy { gap: 11px; }
  .ms-eyebrow { font-size: 0.72rem; }
  .ms-h1 { font-size: 1.7rem; }
  .ms-sub { font-size: 0.97rem; }
  .ms-btns { gap: 11px; margin-top: 4px; }
  .ms-btn { font-size: 0.92rem; padding: 11px 20px; border-radius: 9px; }

  /* services → single column with comfortable tap targets */
  .ms-cards { grid-template-columns: 1fr; gap: 11px; }
  .ms-card { flex-direction: row; align-items: center; gap: 12px; padding: 13px 15px; border-radius: 13px; }
  .ms-card .ms-ic { flex: none; width: 30px; height: 30px; border-radius: 8px; }
  .ms-card b { font-size: 1rem; flex: 1 1 auto; min-width: 0; }   /* fills space, ellipsis if long */
  .ms-card .cap { font-size: 0.85rem; flex: none; -webkit-line-clamp: 1; white-space: nowrap; text-align: right; }

  /* editable affordance in rem (the base 0.4cqw ring would be ~1px here) */
  .ms-edit { border-radius: 6px; }
  .ms-edit:focus { box-shadow: 0 0 0 3px rgba(var(--g2-rgb), .22); }

  /* the badge pointed at the tilted window corner — reflow it above the card, centered */
  .ms-badge { position: static; margin: 0 auto 14px; width: max-content; }
}

/* Page hero (interior) — centered */
.hero-page { max-width: 720px; margin-inline: auto; text-align: center; }
.hero-page .eyebrow { margin-bottom: 18px; }
.hero-page h1 { margin-bottom: 18px; }
.hero-page .lead { max-width: 54ch; margin-inline: auto; }

/* ---------- Recent work strip ---------- */
.work-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.work-thumb {
  position: relative;
  border-radius: var(--r-media);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.work-thumb .ph { border: none; border-radius: 0; aspect-ratio: 16/11; }
.work-thumb .shot { display: block; width: 100%; aspect-ratio: 16/11; object-fit: cover; }
.work-thumb:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); border-color: rgba(var(--g3-rgb),.4); }
.work-thumb-meta {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: linear-gradient(0deg, rgba(24,20,31,.86), transparent);
  opacity: 0;
  transition: opacity .18s ease;
}
.work-thumb:hover .work-thumb-meta, .work-thumb:focus-within .work-thumb-meta { opacity: 1; }
.work-thumb-meta b { font-family: var(--font-display); font-weight: 600; font-size: 0.9375rem; color: #fff; }
.work-thumb-meta span { font-size: 0.75rem; color: rgba(255,255,255,.75); text-transform: uppercase; letter-spacing: .06em; }

.diff-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 0;
  margin-top: 36px;
  color: var(--text-muted);
  font-size: 0.9375rem;
}
.diff-row span { display: inline-flex; align-items: center; }
.diff-row span:not(:last-child)::after { content: "·"; margin: 0 16px; color: var(--g2); }
@media (max-width: 640px) { .diff-row { display: none; } }  /* hide the trust row on mobile */

/* ---------- Recent Work: horizontal thumbnail strips → scrollable modal ---------- */
.wk-layout { display: grid; grid-template-columns: 0.82fr 1.18fr; gap: 40px; align-items: center; }
.wk-intro h2 { margin: 10px 0 14px; }
.wk-intro .lead { margin-bottom: 26px; }

/* Stacked horizontal strip rows (each opens the modal) */
.wk-list { display: flex; flex-direction: column; gap: 12px; }
.wk-strip {
  display: flex; align-items: center; gap: 16px; width: 100%; text-align: left; cursor: pointer;
  padding: 14px 16px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; box-shadow: var(--shadow-card);
  transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.wk-strip:hover, .wk-strip:focus-visible {
  transform: translateY(-2px); box-shadow: var(--shadow-card-hover);
  border-color: rgba(28,23,20,.16); outline: none;
}
/* category icon chip — gold at rest (lively), deepens to amber on hover */
.wk-ico {
  width: 52px; height: 52px; flex: 0 0 auto; display: grid; place-items: center;
  border-radius: 12px; color: #1C1714;
  background: linear-gradient(160deg, #FDE68A, #FACC15); border: 1px solid #F1D98A;
  box-shadow: 0 2px 8px rgba(250,204,21,.28);
  transition: background .18s ease, border-color .18s ease;
}
.wk-ico svg { width: 26px; height: 26px; }
.wk-strip:hover .wk-ico, .wk-strip:focus-visible .wk-ico { background: linear-gradient(160deg, #FACC15, #F59E0B); border-color: #F59E0B; }

/* Logo variant of the badge — real client logo on a clean white tile */
.wk-logo {
  width: 52px; height: 52px; flex: 0 0 auto;
  display: grid; place-items: center; padding: 6px; overflow: hidden;
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  box-shadow: 0 2px 8px rgba(28, 23, 20, .08);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.wk-logo img { width: 100%; height: 100%; object-fit: contain; }
.wk-strip:hover .wk-logo, .wk-strip:focus-visible .wk-logo { border-color: var(--g3); box-shadow: 0 3px 12px rgba(28, 23, 20, .12); }

.wk-meta { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.wk-meta > * { max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wk-meta b { font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; color: var(--text); }
.wk-cat { font-size: 0.7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); font-weight: 600; }
.wk-go { margin-left: auto; flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 0.9rem; color: var(--text-muted); transition: color .18s ease; }
.wk-go svg { width: 16px; height: 16px; transition: transform .18s ease; }
.wk-strip:hover .wk-go { color: #1C1714; }
.wk-strip:hover .wk-go svg { transform: translate(2px, -2px); }

@media (max-width: 900px) { .wk-layout { grid-template-columns: 1fr; gap: 24px; align-items: start; } }

@media (max-width: 560px) {
  .wk-strip { gap: 12px; padding: 10px 12px 10px 10px; }
  .wk-ico, .wk-logo { width: 44px; height: 44px; }
  .wk-ico svg { width: 22px; height: 22px; }
  .wk-go { font-size: 0; gap: 0; }      /* collapse the "View site" text, keep the arrow */
  .wk-go svg { width: 20px; height: 20px; }
}

/* ---------- What we do — LIGHT frosted-glass cards (icon + 3D tilt + glare) ---------- */
.wwd-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; perspective: 1200px; }
.wwd {
  position: relative; display: block; overflow: hidden;
  padding: 32px; border-radius: var(--r-card);
  background: linear-gradient(160deg, rgba(255,255,255,.92), rgba(255,255,255,.74)); /* light frosted — blends with the cream bg */
  backdrop-filter: blur(10px) saturate(1.05); -webkit-backdrop-filter: blur(10px) saturate(1.05);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  color: var(--text); text-decoration: none;
  transform-style: preserve-3d;
  transition: transform .15s ease, box-shadow .25s ease, border-color .2s ease;
}
.wwd:hover { box-shadow: var(--shadow-card-hover); border-color: rgba(var(--g3-rgb),.45); }
.wwd-glare {
  position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .2s ease;
  background: radial-gradient(280px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(250,204,21,.20), transparent 60%);
}
.wwd:hover .wwd-glare { opacity: 1; }
.wwd-ico, .wwd .step, .wwd h3, .wwd p, .wwd-go { position: relative; z-index: 1; }
.wwd-ico {
  width: 56px; height: 56px; border-radius: 50%; margin-bottom: 18px;
  background: #FACC15; color: #1C1714; display: grid; place-items: center;
  box-shadow: 0 6px 16px rgba(250,204,21,.25);
}
.wwd-ico svg { width: 26px; height: 26px; }
.wwd .step {
  display: block; font-family: var(--font-display); font-size: 0.8125rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--link); margin-bottom: 10px;
}
.wwd h3 { font-size: 1.375rem; margin-bottom: 10px; color: var(--text); }
.wwd p { color: var(--text-muted); font-size: 1rem; margin-bottom: 0; }
.wwd-go {
  position: absolute; top: 24px; right: 24px; color: var(--link); font-size: 1.125rem; line-height: 1;
  opacity: .55; transform: translate(-4px, 4px); transition: opacity .2s ease, transform .2s ease;
}
.wwd:hover .wwd-go { opacity: 1; transform: translate(0, 0); }
@media (prefers-reduced-motion: reduce) { .wwd { transition: box-shadow .2s ease; } }
/* Mobile/tablet: drop the frosted-glass blur + 3D context (hover-only anyway) so cards render crisp */
@media (max-width: 900px) {
  .wwd {
    background: var(--surface);                 /* solid white — no backdrop sampling = sharp */
    backdrop-filter: none; -webkit-backdrop-filter: none;
    transform: none; transform-style: flat;
  }
  .wwd-glare { display: none; }
}

/* Mobile swipe-carousel dot indicators (shared; hidden on desktop) */
.swipe-dots { display: none; }
.swipe-dot {
  position: relative; width: 8px; height: 8px; padding: 0; border: none;
  border-radius: 999px; background: var(--border); cursor: pointer;
  transition: width .2s ease, background-color .2s ease;
}
.swipe-dot::after { content: ""; position: absolute; inset: -10px; }  /* ~28px tap target */
.swipe-dot.is-active { width: 22px; background: #FACC15; }

/* ≤640px: [data-swipe-carousel] sections become a horizontal snap-scroller
   (one card + a peek of the next). Shared by "How it works" and Reviews.
   Compound selectors keep these winning over the base grid display. */
@media (max-width: 640px) {
  .wwd-row[data-swipe-carousel],
  .reviews-grid[data-swipe-carousel] {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* bleed to the screen edges so the peeking card sits at the viewport edge */
    margin-inline: calc(var(--pad-x) * -1);
    padding-inline: var(--pad-x);
    scroll-padding-inline: var(--pad-x);
  }
  .wwd-row[data-swipe-carousel]::-webkit-scrollbar,
  .reviews-grid[data-swipe-carousel]::-webkit-scrollbar { display: none; }
  .wwd-row[data-swipe-carousel] > *,
  .reviews-grid[data-swipe-carousel] > * {
    flex: 0 0 84%;
    scroll-snap-align: center;
  }
  .wwd-row[data-swipe-carousel] .wwd { padding: 24px; }
  .swipe-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
}

/* ---------- Service pillars (alternating, Services page) ---------- */
.pillar { display: grid; grid-template-columns: 1fr 1.12fr; gap: clamp(40px, 5vw, 72px); align-items: center; }
.pillar + .pillar { margin-top: 96px; }
.pillar.flip .pillar-media { order: -1; }
.pillar-num {
  font-family: var(--font-display); font-size: 0.8125rem; font-weight: 600;
  letter-spacing: .1em; color: var(--link); margin-bottom: 16px;
}
.pillar h3 { margin-bottom: 14px; }
.pillar p { color: var(--text-muted); margin-bottom: 24px; font-size: 1.0625rem; }
.pillar-media .ph { aspect-ratio: 4/3; }
.pillar-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.pillar-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--text); font-size: 1rem; }
.check { flex: 0 0 auto; margin-top: 2px; width: 18px; height: 18px; display: grid; place-items: center; color: var(--link); }

/* ---------- Services page: per-service pillar sections ---------- */
/* `overflow-x: hidden` on <body> (styles.css) would turn body into a scroll container;
   `clip` clips the hero's horizontal bleed WITHOUT a scroll container. Scoped to this page. */
body[data-page="services"] { overflow-x: clip; }
/* Real image inside each service pillar (unique class — About's .pillar-media is untouched).
   Frameless: no radius, no shadow — just the image filling its side. */
.pillar-media .svc-shot {
  display: block; width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: center;
  border-radius: 0; box-shadow: none;
}
/* Desktop: give the visual a bit more of the row so it fills its side, not a small floating box */
@media (min-width: 901px) {
  body[data-page="services"] .pillar { grid-template-columns: 1fr 1.2fr; }
}
@media (max-width: 900px) {
  /* Phone/tablet: image first + full-bleed so each service visual is large and easy to see */
  body[data-page="services"] .pillar { gap: 28px; }
  body[data-page="services"] .pillar .pillar-media { order: -1; }   /* image above the copy */
  /* Phone: keep every grid item from blowing out the track (prevents the page
     from becoming wider than the screen, which made content hug the left). */
  body[data-page="services"] .pillar,
  body[data-page="services"] .pillar-copy,
  body[data-page="services"] .pillar-media { min-width: 0; }
  /* Image: a plain centred block — equal gutters both sides, no negative margins */
  body[data-page="services"] .pillar-media .svc-shot {
    display: block;
    width: 100%; max-width: 100%; margin-inline: auto;
    aspect-ratio: auto; height: auto;          /* natural ratio — show the whole image, never cropped */
    border: 0; border-radius: 0;               /* clean, no frame */
  }
  /* Centre the copy so nothing hugs the left edge */
  body[data-page="services"] .pillar-copy { text-align: center; }
  body[data-page="services"] .pillar-copy .btn { margin-inline: auto; }
  body[data-page="services"] .pillar-list { align-items: center; }
  body[data-page="services"] .pillar-list li { text-align: left; }
}

/* Services pricing: make the WHOLE tier card clickable via the CTA's stretched link.
   Each .price-card holds exactly one <a class="btn"> and no other links, so the link's
   ::after can cover the card with no nested-anchor / accessibility problems. The button
   stays statically positioned so its ::after resolves against .price-card (position:relative). */
body[data-page="services"] .price-card { cursor: pointer; transition: transform .15s ease, box-shadow .2s ease; }
body[data-page="services"] .price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
body[data-page="services"] .price-card.gold:hover { transform: translateY(-12px); } /* gold already sits at -8px */
body[data-page="services"] .price-card > .btn::after { content: ""; position: absolute; inset: 0; z-index: 1; }

/* ---------- Tabbed "What you get" ---------- */
.tabs-wrap { max-width: 960px; margin-inline: auto; }
.tabs-nav {
  position: relative;
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  margin: 0 auto 40px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
}
.tabs-nav-outer { display: flex; justify-content: center; }
.tab-btn {
  position: relative;
  z-index: 2;
  font-family: var(--font-body);
  font-size: 0.9375rem; font-weight: 600;
  color: var(--text-muted);
  background: transparent;
  border: none;
  padding: 10px 22px;
  border-radius: var(--r-pill);
  transition: color .2s ease;
}
.tab-btn[aria-selected="true"] { color: var(--text); } /* no-JS fallback indicator */
/* SlideTabs — hard ORANGE marker stays on the selected tab; a subtle gray ghost follows the hover */
.tab-cursor, .tab-ghost {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 0;
  width: 0;
  border-radius: var(--r-pill);
  opacity: 0;
  pointer-events: none;
  transition: left .28s cubic-bezier(.4,0,.2,1), width .28s cubic-bezier(.4,0,.2,1), background-color .28s ease, opacity .2s ease;
}
.tab-cursor {            /* hard / selected marker */
  z-index: 1;
  background: var(--marker, #FACC15);
  box-shadow: 0 2px 10px rgba(var(--g3-rgb), .30);
}
.tab-ghost {             /* subtle gray hover preview — slides out from beneath the marker */
  z-index: 0;
  background: rgba(28,23,20,.08);
}
.tab-btn.is-selected { color: var(--marker-text, #1C1714); } /* dark on gold, white on darker tier markers */
.tab-btn.is-hover { color: var(--text); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: tabIn .35s ease-out; }
@keyframes tabIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.tab-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-media);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.tab-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 0; }
.tab-info { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
/* Tier-specific wash on the left info card */
.tab-panel[aria-labelledby="tab-gold"]     .tab-info { background: linear-gradient(160deg, #FEF9EC 0%, #FBEFCE 100%); }
.tab-panel[aria-labelledby="tab-diamond"]  .tab-info { background: linear-gradient(160deg, #F1F6FF 0%, #DEEAFF 100%); }
.tab-panel[aria-labelledby="tab-platinum"] .tab-info { background: linear-gradient(160deg, #F7F3FE 0%, #EADFFC 100%); }
.tab-panel[aria-labelledby="tab-custom"]   .tab-info { background: linear-gradient(160deg, #EFEDEA 0%, #DEDBD5 100%); }
.tab-info h3 { font-size: 1.5rem; margin-bottom: 12px; }
.tab-info p { color: var(--text-muted); margin-bottom: 22px; }
.tab-info ul { display: flex; flex-direction: column; gap: 12px; }
.tab-info li { display: flex; align-items: flex-start; gap: 10px; color: var(--text); font-size: 0.9375rem; }
.tab-media { background: var(--bg-2); border-left: 1px solid var(--border); padding: 28px; display: grid; place-items: center; }
.tab-media .ph { width: 100%; aspect-ratio: 16/11; }
/* Real-photo media panels: full-bleed image meeting the card's rounded edge */
.tab-media--img { padding: 0; border-left: 0; display: block; }
.tab-shot { display: block; width: 100%; height: 100%; object-fit: cover; }
.tab-cta { margin-top: 26px; align-self: flex-start; }
/* Illustrated tier visuals (in-code SVG) — replaces the photo mockups */
.tab-media--art {
  background: linear-gradient(160deg, #FDF6E3 0%, #F3EADB 100%);
  display: grid; place-items: center; padding: 40px;
}
.tab-art { width: 100%; height: auto; max-width: 480px;
  filter: drop-shadow(0 18px 30px rgba(28,23,20,.12)); }

/* ---- "What you get" deliverable mockups (on-brand CSS/SVG) ---- */
.tm { width: 100%; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: 0 1px 3px rgba(28,23,20,.05); overflow: hidden; font-family: var(--font-body); }

/* Website — browser mock */
.tm-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: var(--bg-2); border-bottom: 1px solid var(--border); }
.tm-dot { width: 8px; height: 8px; border-radius: 50%; background: #D9D4CD; }
.tm-url { flex: 1; margin-left: 8px; font: 500 11px/1 ui-monospace, Menlo, monospace; color: var(--text-muted); background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 4px 10px; }
.tm-screen { padding: 16px 18px; display: flex; flex-direction: column; gap: 13px; background: radial-gradient(90% 70% at 100% 0%, rgba(var(--g2-rgb),.08), transparent 60%), var(--surface); }
.tm-nav { display: flex; align-items: center; gap: 10px; }
.tm-logo { width: 16px; height: 16px; border-radius: 5px; background: #1C1714; }
.tm-links { display: flex; gap: 8px; flex: 1; }
.tm-links i { width: 26px; height: 7px; border-radius: 999px; background: #E8E1D7; display: block; }
.tm-pill { width: 48px; height: 16px; border-radius: 999px; background: #FACC15; }
.tm-hero { display: flex; flex-direction: column; gap: 8px; }
.tm-h { height: 13px; width: 70%; border-radius: 5px; background: #D9D1C5; }
.tm-h.tm-accent { width: 42%; background: #FACC15; }
.tm-sub { height: 7px; width: 88%; border-radius: 999px; background: #ECE5DB; }
.tm-sub.w70 { width: 60%; }
.tm-btns { display: flex; gap: 8px; margin-top: 5px; }
.tm-btn { width: 74px; height: 22px; border-radius: 7px; background: #FACC15; }
.tm-btn.ghost { width: 58px; background: transparent; border: 1.5px solid var(--border); }
.tm-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 2px; }
.tm-card { height: 38px; border-radius: 8px; border: 1px solid var(--border); background: #FFFDFB; }
/* taller second content band so the Build browser mock reads as a full, image-forward page */
.tm-cards.tm-cards-2 { grid-template-columns: 1fr 1fr; }
.tm-card.tall { height: 60px; }
.tm-foot { display: flex; flex-direction: column; gap: 8px; margin-top: 2px; }

/* SEO + Ads — padded data cards */
.tm-seo, .tm-ads { padding: 16px 18px; display: flex; flex-direction: column; gap: 9px; }
.tm-head { display: flex; align-items: center; justify-content: space-between; font-family: var(--font-display); font-weight: 600; font-size: 0.8125rem; color: var(--text); }
.tm-trend { font-family: var(--font-body); font-weight: 600; font-size: 0.6875rem; color: #16A34A; background: rgba(22,163,74,.10); padding: 3px 8px; border-radius: 999px; }
.tm-ads .tm-trend { color: var(--text-muted); background: var(--bg-2); }

/* SEO rows + sparkline */
.tm-row { display: flex; align-items: center; gap: 10px; padding: 7px 10px; border: 1px solid var(--border); border-radius: 9px; background: #FFFDFB; }
.tm-kw { flex: 1; font-size: 0.75rem; color: var(--text); }
.tm-rank { font-family: var(--font-display); font-weight: 700; font-size: 0.8125rem; color: #1C1714; }
.tm-up { color: #16A34A; font-size: 0.6875rem; }
.tm-spark { margin-top: 2px; }
.tm-spark svg { display: block; width: 100%; height: 48px; }

/* Ads stats + bars */
.tm-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tm-stat { border: 1px solid var(--border); border-radius: 9px; background: #FFFDFB; padding: 8px 11px; }
.tm-stat b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.0625rem; color: #1C1714; line-height: 1.15; }
.tm-stat span { font-size: 0.6875rem; color: var(--text-muted); }
.tm-bars svg { display: block; width: 100%; height: 64px; margin-top: 4px; }

.tm-cap { display: block; margin-top: 6px; font-size: 0.6875rem; color: var(--text-muted); }

/* ---------- Dashboard mock (light) ---------- */
.dash {
  border-radius: var(--r-media);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: 0 30px 60px rgba(28,23,20,.14), 0 6px 16px rgba(28,23,20,.08);
  overflow: hidden;
  max-width: 980px;
  margin-inline: auto;
}
.dash-shot { display: block; width: 100%; height: auto; }
.dash-top { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--border); }
.dash-top .logo { font-size: 0.9375rem; }
.dash-tabs { display: flex; gap: 6px; }
.dash-tabs span { font-size: 0.75rem; color: var(--text-muted); padding: 6px 12px; border-radius: var(--r-pill); border: 1px solid var(--border); }
.dash-tabs span.on { color: #1C1714; background: var(--grad); border-color: transparent; }
.dash-body { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); }
.dash-stat { background: var(--surface); padding: 26px 24px; }
.dash-stat .k { font-size: 0.8125rem; color: var(--text-muted); margin-bottom: 12px; letter-spacing: .02em; }
.dash-stat .v { font-family: var(--font-display); font-size: 2.25rem; font-weight: 700; line-height: 1; color: var(--text); }
.dash-stat .v .u { font-size: 0.9375rem; font-weight: 600; color: var(--text-muted); margin-left: 2px; }
.dash-stat .d { font-size: 0.8125rem; color: var(--text-muted); margin-top: 12px; }
.dash-stat .d.up { color: #16A34A; font-weight: 600; }
.dash-chart { background: var(--surface); padding: 22px 24px 10px; grid-column: 1 / -1; }
.dash-chart-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.dash-chart-head .k { font-size: 0.8125rem; color: var(--text-muted); letter-spacing: .02em; }
.dash-chart-head .d.up { font-size: 0.8125rem; color: #16A34A; font-weight: 600; }
.dash-spark { display: block; width: 100%; height: auto; }
.dash-spark .grid line { stroke: #ECE4DA; stroke-width: 1; }
.dash-spark text { font-family: var(--font-body); font-size: 12px; font-weight: 600; }
.dash-spark .ylab text { fill: var(--text-muted); text-anchor: end; }
.dash-spark .xlab text { fill: var(--text-muted); text-anchor: middle; }
.dash-chart .ph { aspect-ratio: 16/5; }
/* Taller, bolder visitors chart for phones (swaps out the wide sparkline) */
.dash-growth { display: none; }
@media (max-width: 768px) { .dash-body { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  /* phones: stack the stat cards (2-up is too cramped at this width) and give
     the chart the full width — swap in the taller, bolder visitors chart */
  .dash-body { grid-template-columns: 1fr; }
  .dash-chart-head { flex-wrap: wrap; }
  .dash-chart .dash-spark { display: none; }
  .dash-growth { display: block; width: 100%; height: auto; margin-top: 4px; }
}
@media (max-width: 420px) { .dash-stat { padding: 20px 18px; } .dash-stat .v { font-size: 1.875rem; } }

/* ---------- Why Arsenic — comparison table ---------- */
.compare {
  max-width: 760px; margin-inline: auto;       /* keep columns close — avoid wide gaps */
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-card);
  padding: 20px 28px;
}
.compare-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0,1.3fr) 1fr 1fr;
  /* row count MUST match markup: 1 header + 5 data rows = 6 */
  grid-template-rows: repeat(6, auto);
  align-items: stretch;
}

.cmp-cell {
  position: relative; z-index: 1;
  padding: 14px 20px;
  display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9375rem;
}
.cmp-crit { color: var(--text); font-weight: 500; }
/* clean white table — color lives only in the ✓/✗ marks (no backgrounds/washes) */
/* left-aligned so every badge lines up vertically (centering shifts them by text width) */
.cmp-ars { justify-content: flex-start; color: var(--text); font-weight: 600; }  /* bold dark = the good column */
.cmp-oth { justify-content: flex-start; color: var(--text-muted); }              /* muted = the lesser column */
.cmp-ic { align-self: flex-start; }                                              /* badge aligns to the first line */

/* drop the divider on the last row of each column */
.compare-grid > .cmp-cell:nth-last-child(-n+3) { border-bottom: none; }

/* header row */
.cmp-head { border-bottom: none; padding-top: 4px; padding-bottom: 14px;
            font-family: var(--font-display); }
.cmp-head.cmp-ars { font-size: 1.25rem; }
.cmp-head.cmp-oth { font-size: 1.0625rem; color: var(--text-muted); }
.cmp-logo { width: 30px; height: 30px; }

/* check / ex marks sit in soft colored badges — visible green/red without column washes */
.cmp-ic { width: 17px; height: 17px; flex: none; padding: 6px; border-radius: 50%; box-sizing: content-box; }
.cmp-ic.check { color: #15803D; background: rgba(22,163,74,.15); }
.cmp-ic.ex    { color: #DC2626; background: rgba(220,38,38,.12); }

.compare-cta { text-align: center; margin-top: 28px; }

/* ---------- Reviews ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.review-card { position: relative; overflow: hidden; padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.review-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card-hover); border-color: rgba(var(--g3-rgb),.4); }
/* big faint serif quote mark, top-right (decorative) */
.rv-quote {
  position: absolute; top: -8px; right: 22px; z-index: 0;
  font-family: Georgia, "Times New Roman", serif; font-size: 5.5rem; line-height: 1;
  color: rgba(var(--g3-rgb), .18); pointer-events: none; user-select: none;
}
/* keep card content above the quote mark */
.review-card .stars, .review-card blockquote, .review-card .who { position: relative; z-index: 1; }
/* stars that POP — bigger, brand yellow, soft gold glow */
.stars { display: inline-flex; gap: 4px; }
.stars .star { width: 22px; height: 22px; fill: #FACC15; filter: drop-shadow(0 1px 3px rgba(245,158,11,.55)); }
.review-card blockquote { font-size: 1.0625rem; line-height: 1.6; color: var(--text); }
.review-card .who { margin-top: auto; }
.review-card .who b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 0.9375rem; }
.review-card .who span { color: var(--text-muted); font-size: 0.875rem; }
.review-card .who .ph-note { font-style: italic; font-family: ui-monospace, Menlo, monospace; font-size: 0.8125rem; color: var(--text-muted); }

/* Review wall (About) — featured lead testimonial + 5-up compact grid.
   .reviews-grid.compact (0,2,0) intentionally out-specifies the generic
   900px .reviews-grid{1fr} fallback in the Responsive block, so columns
   go 5 → 3 → 2 → 1. */
.reviews-grid.compact { grid-template-columns: repeat(5, 1fr); gap: 16px; }
.reviews-grid.compact .review-card { padding: 20px; gap: 12px; }
.reviews-grid.compact .review-card blockquote { font-size: 0.9375rem; line-height: 1.55; }
.reviews-grid.compact .rv-quote { font-size: 4rem; top: -6px; right: 16px; }
.reviews-grid.compact .stars { gap: 3px; }
.reviews-grid.compact .stars .star { width: 18px; height: 18px; }
.reviews-grid.compact .review-card .who b { font-size: 0.875rem; }
.reviews-grid.compact .review-card .who span { font-size: 0.8125rem; }
@media (max-width: 1200px) { .reviews-grid.compact { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px)  { .reviews-grid.compact { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .reviews-grid.compact { grid-template-columns: 1fr; } }

/* Featured lead testimonial — pulled out of the grid for the longest, strongest review. */
.review-lead { margin-bottom: 24px; }
.review-lead .review-card--lead { padding: 36px 40px; max-width: 880px; margin-inline: auto; gap: 18px; }
.review-lead .review-card--lead blockquote { font-size: 1.125rem; line-height: 1.65; }
.review-lead .review-card--lead .rv-quote { font-size: 7rem; top: -16px; right: 28px; }
.review-lead .review-card--lead .stars .star { width: 22px; height: 22px; }
.review-lead .review-card--lead .who b { font-size: 1rem; }
.review-lead .review-card--lead .who span { font-size: 0.9375rem; }
@media (max-width: 640px) {
  .review-lead .review-card--lead { padding: 26px 22px; }
  .review-lead .review-card--lead blockquote { font-size: 1rem; line-height: 1.6; }
  .review-lead .review-card--lead .rv-quote { font-size: 5rem; top: -10px; right: 18px; }
}

/* ---------- Pricing (colorized) ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.price-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 32px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  border-top: 3px solid var(--tier, var(--border));
}
.price-card.gold     { --tier: #B45309; background: linear-gradient(160deg, #FDEFC4, #F7D277); border-color: #ECC25A; box-shadow: var(--shadow-card-hover); transform: translateY(-8px); }
.price-card.diamond  { --tier: #2563EB; background: linear-gradient(160deg, #DFEAFF, #B6D1FF); border-color: #95BEF6; }
.price-card.platinum { --tier: #7C3AED; background: linear-gradient(160deg, #EBE2FE, #D0BAFA); border-color: #BBA2F2; }
.price-card.custom   { --tier: #FACC15; background: linear-gradient(165deg, #2A241F, #1C1714); border-color: #3A332C; }
.price-card.custom .tier-sub, .price-card.custom .price-term { color: rgba(255,255,255,.66); }
.price-card.custom .price-features li { color: rgba(255,255,255,.80); }
.price-card.custom .price-amount .num { color: #fff; }
.price-badge {
  position: absolute; top: 0; right: 16px; transform: translateY(-50%);
  font-size: 0.6875rem; font-weight: 700; letter-spacing: .03em;
  color: #fff; background: var(--tier);
  padding: 5px 12px; border-radius: 8px;
  box-shadow: 0 4px 12px rgba(28,23,20,.18);
}
.price-card h3 { font-size: 1.5rem; margin-bottom: 6px; color: var(--tier); }
.price-card .tier-sub { color: var(--text-muted); font-size: 0.9375rem; margin-bottom: 24px; }
.price-amount { min-height: 52px; display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.price-amount .num { font-family: var(--font-display); font-size: 2.5rem; font-weight: 700; color: var(--tier); line-height: 1; }
.price-amount .per { color: var(--text-muted); font-size: 0.875rem; }
.price-term { color: var(--text-muted); font-size: 0.8125rem; margin-bottom: 24px; min-height: 20px; }
.price-card .btn { margin-bottom: 28px; }
.btn-tier { background: var(--tier); border: none; color: #fff; }
.btn-tier:hover { filter: brightness(1.06); }
.btn-pop { background: var(--tier); color: #fff; border: none; }
.btn-pop:hover { filter: brightness(1.06); }
.btn-quote { background: #FACC15; color: #1C1714; border: none; }
.btn-quote:hover { filter: brightness(1.04); }
.price-features { display: flex; flex-direction: column; gap: 14px; margin-top: auto; }
.price-features li { display: flex; align-items: flex-start; gap: 10px; color: var(--text-muted); font-size: 0.9375rem; }
.price-features .check { color: var(--tier); }
/* Pricing responsive: 4-up → 2×2 → 1-col */
@media (max-width: 1080px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .price-card.gold { transform: none; }
}
@media (max-width: 560px) { .pricing-grid { grid-template-columns: 1fr; } }

/* ---------- Trust badges — small credibility chips (hero + Why-Arsenic) ---------- */
.trust-badges { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin-top: 28px; }
.trust-badge {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 14px; font-size: 0.875rem; font-weight: 600; color: var(--text);
  background: var(--bg-plain); border: 1px solid var(--border);
  border-radius: var(--r-pill); box-shadow: 0 2px 8px rgba(28,23,20,.04);
}
.trust-badge svg { width: 15px; height: 15px; flex: none; color: var(--link); }  /* gold check; the 4-color Google G keeps its own fills */
.trust-badge.is-free { background: rgba(var(--g2-rgb),.16); border-color: rgba(var(--g2-rgb),.40); }  /* gold-tinted = the "free" highlight */
.trust-badges.hero-badges { justify-content: center; margin-top: 24px; }  /* centered to match the centered .hero-page; stays balanced as badges wrap at any width */

/* ---------- "Every plan includes" reassurance strip (Pricing page) ---------- */
.includes-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 28px; max-width: 860px; margin-inline: auto; }
.includes-strip li { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: 0.9375rem; font-weight: 500; }
.includes-strip .check { color: var(--link); }

/* Mobile: drop the "Every plan includes" checklist section entirely */
@media (max-width: 640px) {
  section[data-screen-label="Every plan includes"] { display: none; }
}

/* ---------- FAQ — one rounded box, dashed dividers, soft brand-yellow accent ---------- */
.faq {
  max-width: 720px; margin-inline: auto;
  background: var(--surface);
  border: 1px solid rgba(var(--g2-rgb),.32);
  border-radius: var(--r-media);
  box-shadow: 0 0 0 5px rgba(var(--g2-rgb),.12), var(--shadow-card);
  padding: 4px 32px;
}
.faq-item { border-bottom: 1px dashed rgba(28,23,20,.13); }
.faq-item:last-child { border-bottom: 0; }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  background: transparent; border: none; color: var(--text);
  font-family: var(--font-display); font-weight: 600; font-size: 1.125rem;
  text-align: left; padding: 24px 0;
}
.faq-q .ico {
  flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; position: relative;
  background: rgba(var(--g2-rgb),.16); transition: background .25s;
}
.faq-q .ico::before, .faq-q .ico::after {
  content: ""; position: absolute; background: var(--link); border-radius: 2px;
  top: 50%; left: 50%; transform: translate(-50%,-50%); transition: background .25s;
}
.faq-q .ico::before { width: 14px; height: 2px; }
.faq-q .ico::after { width: 2px; height: 14px; transition: transform .2s ease, background .25s; }
.faq-item.open .faq-q .ico { background: #FACC15; }
.faq-item.open .faq-q .ico::before, .faq-item.open .faq-q .ico::after { background: #1C1714; }
.faq-item.open .faq-q .ico::after { transform: translate(-50%,-50%) scaleY(0); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .28s ease; color: var(--text-muted); font-size: 1rem; }
.faq-a p { padding-bottom: 24px; max-width: 64ch; }
@media (max-width: 560px) {
  .faq { padding: 2px 22px; }
  .faq-q { font-size: 1.05rem; gap: 16px; }
}

/* ---------- Process row ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.process-step { padding-top: 24px; border-top: 2px solid var(--border); }
.process-step .n { font-family: var(--font-display); font-size: 0.8125rem; font-weight: 600; color: var(--link); letter-spacing: .1em; margin-bottom: 14px; }
.process-step h4 { font-size: 1.25rem; margin-bottom: 8px; }
.process-step p { color: var(--text-muted); font-size: 0.9375rem; }

/* ============================================================
   FINAL CTA — full-bleed split: photo (left) -> warm charcoal (right)
   Replaces the old .section.cta-wash.cta-band centred CTA.
   ============================================================ */
.cta-split {
  --cta-c1: #26211C;        /* charcoal — REAL two-stop gradient, never flat (anti-hairline) */
  --cta-c2: #141110;        /* charcoal-dark */
  --cta-img: none;          /* per-page override via inline style */
  --cta-img-pos: left center;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(56px, 7vw, 84px);   /* compact band, not a full section */
  background: linear-gradient(152deg, var(--cta-c1) 0%, var(--cta-c2) 100%);
  color: #fff;
}
/* Decorative photo: full-bleed left, dissolving to TRANSPARENT so the base gradient shows under the text */
.cta-split::before {
  content: ""; position: absolute; inset: 0 auto 0 0;
  width: 54%; max-width: 1040px;
  background: var(--cta-img) var(--cta-img-pos) / cover no-repeat;
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 34%, transparent 80%);
          mask-image: linear-gradient(to right, #000 0%, #000 34%, transparent 80%);
  z-index: 0; pointer-events: none;
}
/* Scoped grain (cannot reuse .noise-overlay — globally display:none) */
.cta-split::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  opacity: .035; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/></svg>");
}
/* Text block pushed into the RIGHT column; .inner keeps .reveal */
.cta-split .inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.1fr 1fr;
  column-gap: clamp(40px, 5vw, 72px); row-gap: 0; align-items: center;
}
.cta-split .inner > * { grid-column: 2; }
.cta-split h2    { color: #FCFAF7; margin-bottom: 16px; }
.cta-split .lead { color: rgba(255,255,255,.72); margin-bottom: 32px; max-width: 46ch; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.cta-split .cta-actions { justify-content: flex-start; }
.cta-split .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.28); box-shadow: none; }
.cta-split .btn-ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.5); }
.cta-split :focus-visible { outline-color: #FACC15; }

@media (max-width: 900px) {
  .cta-split { padding-block: 0 72px; }
  .cta-split::before {
    inset: 0 0 auto 0; width: 100%; max-width: none;
    height: clamp(220px, 56vw, 340px); background-position: center 28%;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 40%, transparent 96%);
            mask-image: linear-gradient(to bottom, #000 0%, #000 40%, transparent 96%);
  }
  .cta-split .inner { display: block; text-align: center; padding-top: clamp(200px, 52vw, 320px); }
  .cta-split .inner > * { max-width: none; }
  .cta-split .lead { margin-inline: auto; max-width: 52ch; }
  .cta-split .cta-actions { justify-content: center; }
}
@media print {
  .cta-split { background: #fff !important; color: #1C1714; padding-block: 28px; }
  .cta-split::before, .cta-split::after { display: none !important; }
  .cta-split h2, .cta-split .lead { color: #1C1714; }
  .cta-split .btn-ghost { color: #1C1714; border-color: #1C1714; }
  .cta-split .inner { display: block; text-align: left; }
}

/* ---------- Work / portfolio grid ---------- */
.filter-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; justify-content: center; }
.filter-tab {
  font-size: 0.875rem; font-weight: 600; color: var(--text-muted);
  background: var(--surface); border: 1px solid var(--border);
  padding: 8px 18px; border-radius: var(--r-pill);
  transition: color .15s ease, border-color .15s ease, background .15s ease;
}
.filter-tab.active { color: #FBF7F2; background: var(--text); border-color: transparent; }
.filter-tab:not(.active):hover { color: var(--text); border-color: var(--link); }

.work-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.work-card { overflow: hidden; }
.work-card .ph { border: none; border-radius: 0; aspect-ratio: 16/10; }
.work-card .shot { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.work-card.placeholder .ph { opacity: .7; }
.work-card-body { padding: 24px; }
.work-card-body .tags { display: flex; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.work-card-body h3 { font-size: 1.375rem; margin-bottom: 8px; }
.work-card-body .result { color: var(--text-muted); font-size: 0.9375rem; }
.work-card-body .placeholder-note { color: var(--text-muted); font-size: 0.875rem; font-style: italic; font-family: ui-monospace, Menlo, monospace; }

/* ---------- Portfolio: 2-up + centered solo (outcome-led) ---------- */
.pf-pair { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.pf-pair .work-card, .pf-solo .work-card { display: flex; flex-direction: column; }
.pf-pair .work-card-body, .pf-solo .work-card-body { display: flex; flex-direction: column; flex: 1; }
.pf-pair .work-card-body .link-arrow, .pf-solo .work-card-body .link-arrow { margin-top: auto; align-self: flex-start; }

/* TJS sits beneath the pair, same width, centered */
.pf-solo { margin-top: 28px; display: flex; justify-content: center; }
.pf-solo > .work-card { width: calc((100% - 28px) / 2); }

/* inline client pull-quote (proof) on portfolio cards */
.pf-quote {
  border-left: 2px solid #FACC15;
  padding-left: 14px;
  margin: 0 0 20px;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text);
}
.pf-quote cite {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
}

@media (max-width: 640px) {
  .pf-pair { grid-template-columns: 1fr; }
  .pf-solo > .work-card { width: 100%; }
}

/* ---------- Portfolio: editorial logo cards (index numeral + big name) ---------- */
.pf-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.pf-card { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 14px; padding: 28px; text-decoration: none; color: var(--text); }
/* faint oversized index numeral, top-right */
.pf-idx { position: absolute; top: 2px; right: 18px; font-family: var(--font-display); font-weight: 700; font-size: 5.5rem; line-height: 1; color: rgba(28,23,20,.05); pointer-events: none; }
.pf-head { display: flex; align-items: center; gap: 18px; position: relative; z-index: 1; }
/* logo only — no tile/box, sized big by height */
.pf-logo { height: 64px; width: auto; max-width: 150px; object-fit: contain; flex: 0 0 auto; display: block; }
.pf-id { min-width: 0; flex: 1; }
.pf-cat { display: block; font-size: 0.68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--link); font-weight: 600; }
.pf-name { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; line-height: 1.08; letter-spacing: -.01em; margin-top: 3px; }
.pf-desc { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; margin: 0; position: relative; z-index: 1; }
.pf-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: #1C1714; font-size: 0.95rem; }
.pf-link b { box-shadow: inset 0 -.5em 0 #FACC15; }
.pf-link svg { width: 17px; height: 17px; transition: transform .18s ease; }
.pf-card:hover .pf-link svg, .pf-card:focus-visible .pf-link svg { transform: translate(3px, -3px); }

@media (max-width: 640px) {
  .pf-grid { grid-template-columns: 1fr; }
  .pf-idx { font-size: 4.5rem; }
  .pf-name { font-size: 1.375rem; }
}

/* ---------- Values (about) ---------- */
.values-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 56px; }
.value h4 { font-size: 1.25rem; margin-bottom: 10px; display: flex; align-items: baseline; gap: 12px; }
.value h4 .vn { font-family: var(--font-display); font-size: 0.875rem; color: var(--link); }
.value p { color: var(--text-muted); font-size: 0.9375rem; }

/* ---------- Team ---------- */
.team { display: flex; gap: 32px; align-items: center; max-width: 760px; margin-inline: auto; }
.team-photo { flex: 0 0 200px; }
.team-photo .ph { aspect-ratio: 1; border-radius: var(--r-media); }
.team-info h4 { font-size: 1.375rem; margin-bottom: 4px; }
.team-info .role { color: var(--link); font-size: 0.875rem; font-weight: 600; margin-bottom: 14px; }
.team-info p { color: var(--text-muted); font-size: 0.9375rem; max-width: 56ch; }

/* ---------- Story ---------- */
.story { max-width: 720px; margin-inline: auto; text-align: center; }
.story p { font-size: 1.1875rem; color: var(--text-muted); margin-bottom: 22px; }
.story p strong { color: var(--text); font-weight: 600; }

/* ---------- Contact form ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1.3fr; gap: 56px; align-items: start; max-width: 1040px; margin-inline: auto; }
.contact-aside h3 { font-size: 1.375rem; margin-bottom: 14px; }
.contact-aside p { color: var(--text-muted); margin-bottom: 28px; }
.contact-detail { display: grid; gap: 20px; }
.contact-detail-item h5 { font-family: var(--font-body); font-size: 0.75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--text-muted); margin-bottom: 6px; }
.contact-detail-item a, .contact-detail-item p { color: var(--text); font-size: 1rem; margin: 0; }
.contact-detail-item a:hover { color: var(--link); }

.form-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); padding: clamp(26px, 4.5vw, 44px); box-shadow: var(--shadow-card); }
/* a hairline of the signature gradient along the top edge — a touch of craft, on-brand */
.form-card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: var(--r-card) var(--r-card) 0 0; background: var(--grad); opacity: .85; }
.field { margin-bottom: 26px; }
.field label { display: block; font-size: 0.875rem; font-weight: 600; color: var(--text); margin-bottom: 10px; }
.field label .opt { color: var(--text-muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-btn);
  color: var(--text);
  font-family: inherit; font-size: 0.9375rem;
  padding: 13px 15px;
  box-shadow: 0 1px 2px rgba(28, 23, 20, .04);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder, .field textarea::placeholder { color: #A39FAB; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--link); box-shadow: 0 0 0 3px rgba(var(--g3-rgb),.12); }
.field.error input, .field.error select, .field.error textarea { border-color: #E0426A; }
.field-error { display: none; color: #C2305A; font-size: 0.8125rem; margin-top: 6px; }
.field.error .field-error { display: block; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }

.chips { display: flex; flex-wrap: wrap; gap: 12px; }
.chip { font-size: 0.8125rem; font-weight: 600; color: var(--text-muted); background: var(--surface); border: 1px solid var(--border); padding: 9px 18px; border-radius: var(--r-pill); transition: all .15s ease; }
.chip[aria-pressed="true"] { color: #FBF7F2; background: var(--text); border-color: transparent; }

.form-success { background: var(--surface); border: 1px solid #BBF7D0; border-radius: var(--r-card); padding: 48px 36px; text-align: center; box-shadow: var(--shadow-card); }
.form-success .ico { width: 56px; height: 56px; margin: 0 auto 20px; border-radius: 50%; background: #DCFCE7; display: grid; place-items: center; color: #16A34A; }
.form-success h3 { margin-bottom: 10px; }
.form-success p { color: var(--text-muted); }

.reassure { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 28px; color: var(--text-muted); font-size: 0.875rem; }
.reassure span { display: inline-flex; align-items: center; gap: 8px; }

/* trust rail — compact testimonial pulled from the homepage reviews */
.contact-quote { margin: 0 0 28px; padding: 18px 20px; background: var(--bg); border: 1px solid var(--border); border-left: 3px solid var(--g3); border-radius: var(--r-card); }
.contact-quote blockquote { margin: 0 0 12px; font-size: 0.95rem; line-height: 1.6; color: var(--text); }
.contact-quote .who { display: flex; flex-direction: column; gap: 1px; }
.contact-quote .who b { font-size: 0.875rem; }
.contact-quote .who span { font-size: 0.8125rem; color: var(--text-muted); }

/* trust rail — confident outcome promises (replaces the old defensive badges) */
.promises { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.promises li { display: flex; align-items: center; gap: 10px; color: var(--text); font-size: 0.9375rem; }
.promises .check { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; flex: none; border-radius: 50%; background: rgba(22,163,74,.12); color: var(--green); font-size: 0.7rem; font-weight: 700; }

/* optional-details reveal — keeps the first impression to name/email/message */
.form-extra-toggle { display: inline-flex; align-items: center; gap: 8px; background: none; border: none; padding: 0 0 2px; margin: -2px 0 22px; color: var(--link); font-family: var(--font-body); font-size: 0.875rem; font-weight: 600; cursor: pointer; }
.form-extra-toggle:hover { color: var(--text); }
.form-extra-toggle:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 4px; }
.form-extra-toggle .opt { color: var(--text-muted); font-weight: 400; }
.form-extra-toggle .pm { position: relative; width: 14px; height: 14px; flex: none; }
.form-extra-toggle .pm::before, .form-extra-toggle .pm::after { content: ""; position: absolute; background: currentColor; border-radius: 2px; }
.form-extra-toggle .pm::before { left: 0; top: 6px; width: 14px; height: 2px; }
.form-extra-toggle .pm::after { left: 6px; top: 0; width: 2px; height: 14px; transition: transform .25s ease; }
.form-extra-toggle[aria-expanded="true"] .pm::after { transform: scaleY(0); }
/* visibility:hidden is the cross-browser fallback for [inert] — it drops the collapsed
   controls from the tab order even where `inert` is unsupported; held until the collapse finishes */
.form-extra { max-height: 0; overflow: hidden; opacity: 0; visibility: hidden; transition: max-height .32s ease, opacity .25s ease, visibility 0s linear .32s; }
.form-extra.open { opacity: 1; visibility: visible; transition: max-height .32s ease, opacity .25s ease, visibility 0s; }

/* async submit states */
.form-submit-error { margin: 0 0 14px; padding: 12px 14px; background: rgba(224,66,106,.08); border: 1px solid rgba(224,66,106,.3); border-radius: var(--r-btn); color: #C2305A; font-size: 0.875rem; }
.btn[aria-busy="true"] { opacity: .72; cursor: progress; }
.form-success-cta { margin-top: 14px; font-size: 0.9375rem; }
.form-success-cta a { color: var(--link); font-weight: 600; }

/* ---------- Application wizard (multi-step) ---------- */
/* borderless fieldsets so each step inherits the .form-card surface */
.wizard-step { border: 0; padding: 0; margin: 0; min-inline-size: 0; }
.wizard-step legend { display: block; width: 100%; padding: 0; margin: 0 0 28px; font-family: var(--font-display); font-size: 1.375rem; font-weight: 600; line-height: 1.2; color: var(--text); }
.wizard-step legend:focus { outline: none; }
.wizard-step legend:focus-visible { outline: 2px solid var(--link); outline-offset: 4px; border-radius: 4px; }
.wizard-step .field:last-child { margin-bottom: 0; }

/* segmented progress — gold gradient = done, link = current, soft = upcoming */
.wizard-progress { list-style: none; margin: 0 0 36px; padding: 0; display: flex; gap: 12px; }
.wizard-progress .seg { flex: 1; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.wizard-progress .seg-label { font-size: 0.75rem; font-weight: 600; color: var(--text-muted); transition: color .2s ease; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wizard-progress .seg-bar { height: 6px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--border); transition: background .25s ease, border-color .25s ease; }
.wizard-progress .seg.is-done .seg-bar { background: var(--grad); border-color: transparent; }
.wizard-progress .seg.is-active .seg-bar { background: var(--link); border-color: transparent; }
.wizard-progress .seg.is-active .seg-label,
.wizard-progress .seg.is-done .seg-label { color: var(--text); }

/* nav row — Back on the left, the active forward action on the right */
.wizard-nav { display: flex; align-items: center; gap: 12px; margin-top: 36px; }
.wizard-nav [data-next], .wizard-nav #application-submit { margin-left: auto; }

/* review step */
.wizard-review-intro { color: var(--text-muted); font-size: 0.9375rem; margin: -6px 0 20px; }
.review-list { margin: 0; }
.review-row { display: grid; grid-template-columns: 104px 1fr; gap: 2px 16px; padding: 15px 0; border-bottom: 1px solid var(--border); }
.review-row:first-child { border-top: 1px solid var(--border); }
.review-row dt { color: var(--text-muted); font-size: 0.8125rem; }
.review-row dd { margin: 0; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.review-row .review-val { color: var(--text); font-weight: 600; font-size: 0.9375rem; word-break: break-word; }
.review-row .edit { flex: none; background: none; border: 0; padding: 0; color: var(--link); font-family: var(--font-body); font-weight: 600; font-size: 0.8125rem; cursor: pointer; }
.review-row .edit:hover { color: var(--text); }
.review-row .edit:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 4px; }

/* visually-hidden step announcer (read by screen readers via aria-live) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

@media (max-width: 640px) {
  .wizard-progress .seg-label { display: none; }   /* keep the bars; labels would crowd */
  .wizard-progress .seg-bar { height: 7px; }
  /* keep the step controls reachable without scrolling past long steps */
  .wizard-nav { position: sticky; bottom: 0; margin-top: 24px; padding: 14px 0 4px; background: linear-gradient(to top, var(--bg) 72%, rgba(251,247,242,0)); }
  .wizard-nav .btn { min-height: 48px; }
  .review-row { grid-template-columns: 1fr; gap: 4px; }
}

@media (prefers-reduced-motion: reduce) { .form-extra { transition: none; } .form-extra-toggle .pm::after { transition: none; } .wizard-progress .seg-bar, .wizard-progress .seg-label { transition: none; } }

/* ---------- Focused application page (body[data-chrome="bare"]) ---------- */
.apply-page {
  display: flex;
  min-height: 100vh;
  min-height: 100dvh;
  /* clear the fixed 74px bar, then breathe; margin:auto on the shell centers the rest */
  padding: calc(74px + 44px) var(--pad-x) 64px;
  background:
    radial-gradient(58% 42% at 84% -8%, rgba(var(--g3-rgb), .08), transparent 60%),
    radial-gradient(50% 40% at 6% 108%, rgba(var(--g1-rgb), .06), transparent 60%),
    var(--bg);
}
/* margin:auto centers vertically when it fits, and falls back to top-aligned + scroll when tall */
.apply-shell { margin: auto; width: 100%; max-width: 624px; }
.apply-head { text-align: center; margin-bottom: 38px; }
.apply-head .eyebrow { margin-bottom: 14px; }
.apply-head h1 { font-size: clamp(1.9rem, 4.4vw, 2.6rem); line-height: 1.1; margin-bottom: 12px; }
.apply-sub { color: var(--text-muted); font-size: 1.0625rem; line-height: 1.6; max-width: 46ch; margin-inline: auto; }
.apply-alt { text-align: center; margin-top: 26px; color: var(--text-muted); font-size: 0.9375rem; }
.apply-alt a { color: var(--link); font-weight: 600; }
.apply-alt a:hover { color: var(--text); }

/* ---------- Split "Get Started": one-question wizard (left) + full-bleed live site (right) ---------- */
/* full-bleed two-pane that fills the viewport under the 74px fixed header */
body[data-page="contact"] .apply-page { display: block; padding: 0; min-height: 100dvh; }
.apply-split {
  max-width: none; margin: 0; gap: 0;
  display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  min-height: 100dvh; align-items: stretch;
}
.apply-form-col { min-width: 0; padding: calc(74px + 40px) clamp(24px, 5vw, 72px) 56px; }
.apply-split .apply-head { text-align: left; margin-bottom: 26px; }
.apply-split .apply-head h1 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); line-height: 1.1; margin: 0; }
/* one-question rhythm: a clear label per screen */
.apply-split .wizard-step legend { font-size: clamp(1.3rem, 2.2vw, 1.7rem); line-height: 1.18; margin-bottom: 22px; }

/* progress bar (JS sets the fill width per step) */
.wizard-bar { height: 6px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--border); overflow: hidden; margin-bottom: 26px; }
.wizard-bar-fill { display: block; height: 100%; width: 9%; border-radius: inherit; background: var(--grad); transition: width .3s cubic-bezier(.2,.8,.3,1); }
@media (prefers-reduced-motion: reduce) { .wizard-bar-fill { transition: none; } }

/* secondary "talk first" — soft outlined card (calm, no fill; sits below the gold primary) */
.apply-talk {
  display: flex; align-items: center; gap: 14px;
  margin-top: 28px; padding: 14px 16px;
  border: 1px solid var(--border); border-radius: var(--r-card); background: transparent;
  transition: border-color .15s ease;
}
.apply-talk:hover { border-color: #D9CFC0; }
.apply-talk-ico {
  flex: 0 0 auto; width: 38px; height: 38px; display: grid; place-items: center;
  border-radius: 10px; background: var(--bg-2); color: var(--text);
}
.apply-talk-ico svg { width: 19px; height: 19px; }
.apply-talk-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.apply-talk-lead { font-weight: 600; font-size: 0.9375rem; color: var(--text); }
.apply-talk-actions { font-size: 0.9rem; color: var(--text-muted); }
.apply-talk-actions a { color: var(--link); font-weight: 600; }
.apply-talk-actions a:hover { color: var(--text); text-decoration: underline; }
.apply-talk-dot { margin: 0 6px; color: var(--text-muted); }

/* ----- Right pane: a flush, full-height LIVE site (no browser chrome). Hard divider = border-left ----- */
.apply-preview-col {
  min-width: 0; position: sticky; top: 74px; height: calc(100dvh - 74px);
  border-left: 1px solid var(--border); background: var(--surface); overflow: hidden;
}
.apply-preview-col .screen { aspect-ratio: auto; height: 100%; container-type: inline-size; transition: opacity .22s ease; }
.apply-preview-col .ms { position: static; inset: auto; min-height: 100%; background: var(--surface); }
.apply-preview-col .ms-hero { grid-template-columns: 1fr; flex: 0 0 auto; }   /* whole-site view: don't stretch */
@media (prefers-reduced-motion: reduce) { .apply-preview-col .screen { transition: none; } }

/* focus modes — show ONLY the section the current question affects, zoomed + centered (JS sets data-focus) */
.apply-preview-col[data-focus="header"] .ms-hero,
.apply-preview-col[data-focus="header"] .ms-cards,
.apply-preview-col[data-focus="header"] .ms-footer,
.apply-preview-col[data-focus="hero"]   .ms-nav,
.apply-preview-col[data-focus="hero"]   .ms-cards,
.apply-preview-col[data-focus="hero"]   .ms-footer,
.apply-preview-col[data-focus="footer"] .ms-nav,
.apply-preview-col[data-focus="footer"] .ms-hero,
.apply-preview-col[data-focus="footer"] .ms-cards { display: none; }

/* kill the void: center a single isolated section; distribute the full-site overview edge-to-edge */
.apply-preview-col:not([data-focus="site"]) .ms { justify-content: center; }
.apply-preview-col[data-focus="site"] .ms { justify-content: space-between; padding-top: 48px; }  /* clear the caption pill */

/* genuine zoom — the mock is sized in cqw (full width), so constrain the section first, then scale into the gutter */
.apply-preview-col .ms-nav,
.apply-preview-col .ms-hero,
.apply-preview-col .ms-footer { transform-origin: center; transition: transform .34s cubic-bezier(.2,.8,.3,1); }
.apply-preview-col[data-focus="header"] .ms-nav    { inline-size: 76%; margin-inline: auto; transform: scale(1.26); }
.apply-preview-col[data-focus="hero"]   .ms-hero   { inline-size: 82%; margin-inline: auto; transform: scale(1.14); }
.apply-preview-col[data-focus="footer"] .ms-footer { inline-size: 84%; margin-inline: auto; transform: scale(1.12); background: transparent; border-top: 0; }
@media (prefers-reduced-motion: reduce) {
  .apply-preview-col .ms-nav,
  .apply-preview-col .ms-hero,
  .apply-preview-col .ms-footer { transition: none; }
}

/* quiet caption naming the part being previewed (JS sets the text per step) */
.apply-preview-tag {
  position: absolute; top: 16px; left: 18px; z-index: 2;
  font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-muted); background: var(--surface);
  padding: 5px 10px; border: 1px solid var(--border); border-radius: var(--r-pill);
}

/* Spotlight backdrop: a brand-tinted gradient canvas behind the isolated section, so the
   leftover space reads as an intentional canvas, never a blank page. The "Full site" step
   keeps the clean default overview (these rules are scoped :not([data-focus="site"])). */
.apply-preview-col:not([data-focus="site"]) {
  background: radial-gradient(78% 60% at 82% 2%, rgba(var(--g3-rgb),.32), transparent 62%),
              radial-gradient(66% 56% at 2% 104%, rgba(var(--g1-rgb),.26), transparent 60%),
              linear-gradient(180deg, #FBF7F2, #F1E9DD);
}
.apply-preview-col:not([data-focus="site"]) .screen,
.apply-preview-col:not([data-focus="site"]) .ms { background: transparent; }

/* gold reduction: ONE accent (the hero CTA); everything else neutral */
.ms--preview { background: var(--surface); }
.ms--preview .ms-cta { background: transparent; color: var(--text); border: 1px solid var(--border); }
.ms--preview .ms-eyebrow { color: var(--text-muted); }
.ms--preview .ms-logo-mark { background: #1C1714; color: #FBF7F2; }
.ms--preview .ms-logo-mark.is-empty { background: #EFE9E0; color: #B4A99C; box-shadow: inset 0 0 0 1.5px #DFD6C8; }
.ms--preview .ms-ic, .ms--preview .ms-ic.ic2, .ms--preview .ms-ic.ic3 { background: rgba(28,23,20,.06); }

/* footer styled as an unmistakable footer band (distinct fill, link column, © row), pinned to the bottom */
.ms--preview .ms-footer {
  margin-top: 0; display: flex; flex-direction: column; gap: 2cqw;
  padding: 3cqw 4.6cqw; background: var(--bg-2); border-top: 1px solid var(--border);
}
.ms-foot-main { display: flex; align-items: flex-start; justify-content: space-between; gap: 3cqw; flex-wrap: wrap; }
.ms-foot-brand { display: inline-flex; align-items: center; gap: 1.3cqw; font-family: var(--font-display); font-weight: 700; font-size: 1.9cqw; }
.ms-foot-links { display: inline-flex; flex-direction: column; gap: 0.9cqw; color: var(--text-muted); font-size: 1.3cqw; }
.ms-foot-contact { display: flex; flex-direction: column; gap: 0.6cqw; text-align: right; font-size: 1.3cqw; color: var(--text-muted); }
.ms-foot-row { display: inline-flex; gap: 1cqw; justify-content: flex-end; }
.ms-foot-k { color: var(--text-muted); font-weight: 600; }
.ms-foot-copy { font-size: 1.2cqw; color: var(--text-muted); border-top: 1px solid var(--border); padding-top: 1.6cqw; }

/* ----- Mobile (≤900px): stack; live preview condenses to a sticky strip on top ----- */
@media (max-width: 900px) {
  body[data-page="contact"] .apply-page { min-height: auto; }
  .apply-split { grid-template-columns: 1fr; min-height: auto; }
  .apply-form-col { padding: calc(74px + 24px) clamp(20px, 5vw, 28px) 48px; }
  .apply-preview-col {
    order: -1; position: sticky; top: 74px; z-index: 5;
    height: auto; border-left: 0; border-bottom: 1px solid var(--border);
  }
  .apply-preview-col .screen { height: auto; container-type: normal; }
  .apply-preview-col .ms { min-height: 0; gap: 0; padding: 0; }
  /* keep it a compact strip: hero & cards are too tall for a sticky bar (focus modes still apply) */
  .apply-preview-col .ms-hero, .apply-preview-col .ms-cards { display: none; }
  /* mobile: re-show the brand nav for hero focus (its hero is hidden), and cancel the desktop zoom/width-constrain */
  .apply-preview-col[data-focus="hero"] .ms-nav { display: flex; }
  .apply-preview-col[data-focus="header"] .ms-nav,
  .apply-preview-col[data-focus="hero"] .ms-hero,
  .apply-preview-col[data-focus="footer"] .ms-footer { inline-size: auto; margin-inline: 0; transform: none; }
  .apply-preview-tag { display: none; }
  .apply-preview-col .ms-nav { padding: 13px 15px; }
  .apply-preview-col .ms-logo { font-size: 1rem; gap: 9px; }
  .apply-preview-col .ms-logo-mark { width: 28px; height: 28px; border-radius: 7px; font-size: 13px; }
  .apply-preview-col .ms-links { display: none; }
  .apply-preview-col .ms-cta { font-size: 0.82rem; padding: 8px 14px; }
  .ms--preview .ms-footer { padding: 13px 15px; gap: 10px; }
  .apply-preview-col .ms-foot-main { gap: 12px; }
  .apply-preview-col .ms-foot-brand { font-size: 0.95rem; gap: 9px; }
  .apply-preview-col .ms-foot-links { display: none; }
  .apply-preview-col .ms-foot-contact { font-size: 0.8rem; gap: 3px; }
  .apply-preview-col .ms-foot-row { gap: 8px; }
  .apply-preview-col .ms-foot-copy { font-size: 0.72rem; padding-top: 8px; }
}

/* Booking page — wider shell so Calendly shows its two-column (date + times) layout */
.apply-shell--wide { max-width: 840px; }
.cal-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-media);
  box-shadow: var(--shadow-card);
  padding: 8px;
  overflow: hidden;
}
.cal-card .calendly-inline-widget { border-radius: calc(var(--r-media) - 8px); overflow: hidden; }

/* Booking page: give Calendly enough height to show the whole month view
   (so it doesn't scroll inside the embed), while a slim header keeps it on
   one screen. Top-aligned + compact. Scoped to the book page only. */
body[data-page="book"] .apply-page { align-items: flex-start; padding-top: calc(74px + 14px); padding-bottom: 16px; }
body[data-page="book"] .apply-shell { margin: 0 auto; }
body[data-page="book"] .apply-head { margin-bottom: 14px; }
body[data-page="book"] .apply-head .eyebrow { margin-bottom: 8px; }
body[data-page="book"] .apply-head h1 { font-size: clamp(1.45rem, 2.7vw, 1.9rem); margin-bottom: 6px; }
body[data-page="book"] .apply-sub { font-size: 0.95rem; }
body[data-page="book"] .apply-alt { margin-top: 12px; }
body[data-page="book"] .cal-card .calendly-inline-widget {
  height: clamp(500px, calc(100dvh - 250px), 720px) !important;
  min-width: 0;
}

@media (max-width: 640px) {
  body[data-page="book"] .cal-card .calendly-inline-widget { height: clamp(560px, calc(100dvh - 200px), 720px) !important; }
}

/* minimal header + footer for the focused page */
.site-header.is-bare .back-link { display: inline-flex; align-items: center; gap: 7px; color: var(--text-muted); font-size: 0.9375rem; font-weight: 600; transition: color .15s ease; }
.site-header.is-bare .back-link:hover { color: var(--text); }
.site-header.is-bare .back-link .back-arrow { font-size: 1.05em; line-height: 1; }
.site-footer.is-bare { background: var(--bg); }
.footer-bare { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 22px; color: var(--text-muted); font-size: 0.875rem; }
.footer-bare a { color: var(--text-muted); transition: color .15s ease; }
.footer-bare a:hover { color: var(--text); }

@media (max-width: 640px) {
  .apply-page { padding: calc(70px + 28px) var(--pad-x) 48px; }
  .apply-head { margin-bottom: 22px; }
  .footer-bare { flex-direction: column; align-items: center; gap: 8px; text-align: center; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .pillar, .contact-layout, .team { grid-template-columns: 1fr; gap: 40px; }
  .pillar.flip .pillar-media { order: 0; }
  .tab-grid { grid-template-columns: 1fr; }
  .tab-media { border-left: none; border-top: 1px solid var(--border); }
  .tab-media--img { border-top: 1px solid var(--border); }
  .tab-media--img .tab-shot { height: auto; aspect-ratio: 16 / 10; }
  .tab-media--art { padding: 28px; }
  .process { grid-template-columns: 1fr 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; gap: 32px; }
  .team { text-align: center; }
  .team-photo { margin-inline: auto; }
}
@media (max-width: 640px) {
  .work-strip, .work-grid, .process, .wwd-row { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }

  /* Home hero — vertically centered (base .hero already centers); fills the
     fold with balanced slack on normal/tall phones, gently compressed on short
     phones via the height queries below. Fixed header is 74px. */
  .hero:not([data-hero-glow]) {
    padding-top: clamp(96px, 13vh, 128px);       /* clears the 74px nav; centering distributes the rest */
    padding-bottom: clamp(40px, 6vh, 56px);
  }
  .hero-center .eyebrow { margin-bottom: 18px; }
  .hero-center h1 {
    font-size: clamp(1.875rem, 9.5vw, 2.5rem);   /* ~37-40px on 390-430px phones; eases to ~30px at 320 */
    line-height: 1.12;
    margin-bottom: 20px;
  }
  .hero-center .lead { font-size: 1.0625rem; line-height: 1.55; margin-bottom: 28px; }
  .hero-center .hero-actions { gap: 12px; }
  .trust-strip { margin-top: 26px; }
  .trust-strip__label { font-size: 0.75rem; margin-bottom: 14px; letter-spacing: 0.1em; }
  .trust-strip__viewport { --edge: 24px; --blur-edge: 20px; }  /* keep edge logos legible on narrow screens */
  .trust-strip__track { gap: 52px; padding-right: 52px; }
  .trust-logo { height: 58px; max-width: 170px; }

  .tabs-nav-outer { justify-content: safe center; overflow-x: auto; scrollbar-width: none; }
  .tabs-nav-outer::-webkit-scrollbar { display: none; }
  .tabs-nav { width: auto; }
  .tab-btn { padding: 10px 14px; white-space: nowrap; }
  /* Why Arsenic: 3-col table -> two stacked cards (Arsenic ✓ / Others ✗).
     Desktop markup untouched — we regroup the existing flat cells by column
     with flex `order`, then skin them as two rounded cards. Cell order in
     .compare-grid is fixed: 18 els = 3 head cells + 5 rows x (crit, ars, oth). */
  .compare { background: transparent; border: none; box-shadow: none; padding: 0; max-width: 420px; }
  .compare-grid { display: flex; flex-direction: column; }
  .compare-grid > .cmp-crit { display: none; }        /* drop the criterion labels */

  .cmp-head.cmp-ars { order: 1; }   /* "Arsenic" title */
  .cmp-ars          { order: 2; }   /* the 5 ✓ rows   */
  .cmp-head.cmp-oth { order: 3; }   /* "Others" title  */
  .cmp-oth          { order: 4; }   /* the 5 ✗ rows   */

  /* card-cell skin: side walls + per-row divider */
  .cmp-ars, .cmp-oth {
    border-left: 1px solid var(--border); border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--surface); padding: 13px 18px; font-size: 0.9375rem; gap: 11px;
  }
  .cmp-ars { color: var(--text); font-weight: 600; }
  .cmp-oth { color: var(--text-muted); font-weight: 500; }

  /* card titles cap the top of each card */
  .cmp-head.cmp-ars, .cmp-head.cmp-oth {
    border: 1px solid var(--border);
    border-top-left-radius: var(--r-card); border-top-right-radius: var(--r-card);
    background: var(--surface); padding: 16px 18px 12px; font-family: var(--font-display);
  }
  .cmp-head.cmp-ars { font-size: 1.0625rem; font-weight: 700; color: var(--text); }
  .cmp-head.cmp-oth { font-size: 1rem; color: var(--text-muted); margin-top: 16px; } /* gap between cards */

  /* round the FLOOR of each card: last ✓ value (child 17) + last ✗ value (last child).
     Must re-assert border-bottom — line ~858 (.cmp-cell:nth-last-child(-n+3))
     strips it from the last 3 cells and out-specifies the cell skin above. */
  .compare-grid > .cmp-cell:nth-child(17),
  .compare-grid > .cmp-cell:last-child {
    border-bottom: 1px solid var(--border);
    border-bottom-left-radius: var(--r-card); border-bottom-right-radius: var(--r-card);
  }

  .cmp-ic { width: 16px; height: 16px; align-self: center; }
}

/* Shorter phones (height <= ~720px): compress headline, margins, CTA mass so
   the CENTERED content fits within (svh - padTop - padBot). */
@media (max-width: 640px) and (max-height: 720px) {
  .hero:not([data-hero-glow]) { padding-top: clamp(88px, 12vh, 104px); padding-bottom: clamp(28px, 4vh, 40px); }
  .hero-center .eyebrow { margin-bottom: 12px; }
  .hero-center h1 { font-size: clamp(1.75rem, 8.2vw, 2.125rem); line-height: 1.1; margin-bottom: 13px; }
  .hero-center .lead { font-size: 1rem; line-height: 1.5; margin-bottom: 16px; }
  .hero-center .hero-actions { gap: 10px; }
  .hero-center .hero-actions .btn { min-height: 42px; padding: 11px 20px; }  /* trim CTA mass */
  .trust-strip { margin-top: 16px; }
}

/* Very short viewports (height <= ~600px): tightest portrait tier. */
@media (max-width: 640px) and (max-height: 600px) {
  .hero:not([data-hero-glow]) { padding-top: clamp(84px, 11vh, 96px); padding-bottom: clamp(22px, 3vh, 32px); }
  .hero-center .eyebrow { margin-bottom: 9px; }
  .hero-center h1 { font-size: clamp(1.625rem, 7.6vw, 1.9375rem); line-height: 1.08; margin-bottom: 10px; }
  .hero-center .lead { margin-bottom: 12px; }
  .hero-center .hero-actions .btn { min-height: 40px; padding: 10px 18px; }
  .trust-strip { margin-top: 12px; }
}

/* Landscape phones — don't force a full-viewport hero; allow normal scroll */
@media (max-width: 900px) and (max-height: 480px) {
  .hero:not([data-hero-glow]) {
    min-height: auto;
    padding-top: clamp(80px, 14vh, 96px);
  }
}

/* ============================================================
   ABOUT PAGE — redesign-specific styles
   Reuses the shared system (.hero, .wwd, .pillar, .team, .review-card,
   .tag); only the genuinely new pieces live here, scoped to the page.
   ============================================================ */

/* ---- Story: left-aligned, tighter measure ---- */
body[data-page="about"] .about-story { max-width: 660px; margin-inline: 0; margin-top: 22px; text-align: left; }

/* ---- Element 33 signature tile (in the .pillar media slot) ---- */
.el-panel {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: grid; place-items: center;
  background: linear-gradient(160deg, #FDF6E3 0%, #F3EADB 100%);
  border: 1px solid var(--border);
  border-radius: var(--r-media);
  padding: 32px;
}
/* Philosophy section: just the logo (no panel, no element tile) */
.phil-logo { display: block; width: min(320px, 82%); height: auto; margin: 0 auto; border-radius: 32px; box-shadow: 0 18px 40px rgba(28,23,20,.18); }
/* "Who we are" brand lockup — floats on the section (no card/box), bigger logo */
.brand-panel { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center; background: none; border: 0; border-radius: 0; padding: 0; aspect-ratio: auto; }
.brand-badge { width: 200px; height: 200px; border-radius: 44px; background: #0F0E0D; display: grid; place-items: center; overflow: hidden; box-shadow: 0 24px 54px rgba(28,23,20,.22); }
.brand-badge img { width: 100%; height: 100%; object-fit: cover; }
.brand-word { font-family: var(--font-display); font-weight: 700; font-size: 2.125rem; letter-spacing: -0.01em; color: var(--text); }
.brand-tag { font-size: 0.8125rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }

/* ---- Values → 4-up tilt cards (reuse .wwd) ---- */
body[data-page="about"] .values-cards { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1080px) { body[data-page="about"] .values-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { body[data-page="about"] .values-cards { grid-template-columns: 1fr; } }

/* ---- Meet the team — 3-up member cards ---- */
.about-team-intro {
  max-width: 680px; margin: 0 0 12px;
  color: var(--text-muted); line-height: 1.55;
}
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.member { display: flex; flex-direction: column; overflow: hidden; } /* clip photo to card radius */
.member-photo { position: relative; aspect-ratio: 16 / 10; }
.member-photo .ph,
.member-photo .member-shot {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border-radius: 0;
}
.member-photo .member-shot { object-fit: cover; display: block; }
.member-body { padding: 16px 18px; display: flex; flex-direction: column; flex: 1; }
.member-name { font-size: 1.25rem; margin-bottom: 2px; }
.member-role {
  color: var(--link); font-size: 0.8125rem; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase; margin-bottom: 10px;
}
.member-bio { color: var(--text-muted); font-size: 0.875rem; line-height: 1.5; }
.member-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 12px; }
body[data-page="about"] .team-contact { display: inline-flex; margin-top: 20px; }
/* keep the whole team section within one fold */
body[data-page="about"] section[data-screen-label="Team"] { padding-block: 40px; }
body[data-page="about"] section[data-screen-label="Team"] .section-head { margin-bottom: 14px; }

@media (max-width: 900px) {
  .team-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 640px) {
  .team-grid { grid-template-columns: 1fr; }
  .member-photo { aspect-ratio: 16 / 10; }
}

/* ============================================================
   FLOATING PRICING CTA — home only
   Gold pill anchored bottom-center, teasing the offer. Hidden over
   the hero, slides up after the fold, auto-hides once Pricing is in
   view. Show/hide is driven by .show (JS: initPriceCTA in site.js).
   ============================================================ */
.price-pill {
  position: fixed;
  left: 50%;
  bottom: calc(40px + env(safe-area-inset-bottom, 0px));
  z-index: 90;                                  /* below header (100) + mobile menu (99) */
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: 70px;
  padding: 0 34px;
  background: #FACC15;
  color: #1C1714;
  border-radius: var(--r-pill);
  box-shadow: 0 2px 6px rgba(202, 138, 4, .30), 0 18px 44px rgba(202, 138, 4, .40);
  opacity: 0;
  transform: translate(-50%, 150%);            /* parked off-screen until shown */
  pointer-events: none;
  transition: transform .34s cubic-bezier(.22, 1, .36, 1), opacity .26s ease, background .15s ease, box-shadow .2s ease;
}
.price-pill.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; animation: pricePillPulse 2.6s ease-in-out infinite; }
.price-pill.show:hover { background: #EAB308; transform: translate(-50%, -3px); animation: none; box-shadow: 0 4px 10px rgba(202, 138, 4, .34), 0 22px 52px rgba(202, 138, 4, .46); }
.price-pill.show:active { transform: translate(-50%, -1px); }

/* gentle pulsing glow to pull the eye without being annoying */
@keyframes pricePillPulse {
  0%, 100% { box-shadow: 0 2px 6px rgba(202, 138, 4, .30), 0 18px 44px rgba(202, 138, 4, .40); }
  50%      { box-shadow: 0 2px 6px rgba(202, 138, 4, .34), 0 18px 56px rgba(202, 138, 4, .62); }
}

.price-pill-badge {
  display: inline-grid; place-items: center; flex: 0 0 auto;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(28, 23, 20, .10);
}
.price-pill-badge svg { width: 20px; height: 20px; }
.price-pill-txt { display: flex; flex-direction: column; line-height: 1.12; text-align: left; }
.price-pill-k {
  font-family: var(--font-body); font-size: 0.72rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .06em; color: rgba(28, 23, 20, .62);
}
.price-pill-v {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.2rem; letter-spacing: -0.01em; white-space: nowrap;
}
.price-pill-arrow { font-size: 1.2em; line-height: 1; margin-left: 2px; transition: transform .15s ease; }
.price-pill:hover .price-pill-arrow { transform: translateX(3px); }

/* Phones: keep the pill bold but fit the wider text on one line */
@media (max-width: 640px) {
  .price-pill { height: 56px; gap: 11px; padding: 0 22px; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
  .price-pill-badge { width: 34px; height: 34px; }
  .price-pill-badge svg { width: 17px; height: 17px; }
  .price-pill-k { display: none; }            /* drop the kicker so the value sits on a single line */
  .price-pill-v { font-size: 1.04rem; }
}

@media (max-width: 768px) {
  .price-pill { bottom: calc(28px + env(safe-area-inset-bottom, 0px)); height: 62px; gap: 12px; padding: 0 26px; }
  .price-pill-badge { width: 37px; height: 37px; }
  .price-pill-v { font-size: 1.1rem; }
}

/* reduced motion: fade only, no slide */
@media (prefers-reduced-motion: reduce) {
  .price-pill { transition: opacity .2s ease, background .15s ease; transform: translate(-50%, 0); }
  .price-pill.show { animation: none; }
  .price-pill.show:hover { transform: translate(-50%, 0); }
}

/* ============================================================
   "WHAT'S THE CATCH" — home only
   Short reassurance copy explaining the free model. A centered
   text block on the white (bg-2) section, with a gold left rule.
   ============================================================ */
.catch-text {
  max-width: 760px; margin: 0 auto;
  padding-left: 24px; border-left: 4px solid #FACC15;
}
.catch-text p {
  color: var(--text-muted); font-size: 1.125rem; line-height: 1.7;
  margin-bottom: 18px;
}
.catch-text p:last-child { margin-bottom: 0; }

@media (max-width: 640px) {
  .catch-text { padding-left: 18px; }
  .catch-text p { font-size: 1.0625rem; }
}

/* ============================================================
   LEAD-CAPTURE POPUP — home only
   Fires after the visitor scrolls past Pricing (JS: initLeadPop).
   Mobile-first: a bottom sheet that slides up on phones, and a
   centered dialog from 640px up. Posts to /api/contact (Resend).
   ============================================================ */
.lead-pop {
  position: fixed; inset: 0; z-index: 120;
  display: flex; align-items: flex-end; justify-content: center;  /* bottom sheet on mobile */
  opacity: 0; pointer-events: none;
  transition: opacity .25s ease;
}
.lead-pop.open { opacity: 1; pointer-events: auto; }
.lead-pop[hidden] { display: none; }

.lead-pop-backdrop {
  position: absolute; inset: 0;
  background: rgba(28, 23, 20, .55);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}

.lead-pop-card {
  position: relative; z-index: 1;
  width: 100%; max-width: 520px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 22px 22px 0 0;
  box-shadow: var(--shadow-card-hover);
  padding: 26px 22px calc(26px + env(safe-area-inset-bottom, 0px));
  transform: translateY(100%);
  transition: transform .34s cubic-bezier(.22, 1, .36, 1);
}
.lead-pop.open .lead-pop-card { transform: translateY(0); }

.lead-pop-card .eyebrow { margin-bottom: 10px; }
.lead-pop-title { font-size: 1.5rem; line-height: 1.2; color: var(--text); margin-bottom: 8px; }
.lead-pop-sub { color: var(--text-muted); font-size: 1rem; line-height: 1.5; margin-bottom: 20px; }

.lead-pop-x {
  position: absolute; top: 12px; right: 12px;
  width: 38px; height: 38px; border: 0; border-radius: 50%;
  background: rgba(28, 23, 20, .05); color: var(--text-muted);
  font-size: 1.5rem; line-height: 1; cursor: pointer;
  display: grid; place-items: center;
  transition: background .15s ease, color .15s ease;
}
.lead-pop-x:hover { background: rgba(28, 23, 20, .1); color: var(--text); }
.lead-pop-x:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }

.lead-pop-form { display: flex; flex-direction: column; gap: 12px; }
.lead-pop-input {
  width: 100%;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-btn);
  color: var(--text);
  font-family: inherit; font-size: 16px;          /* 16px stops iOS zoom-on-focus */
  padding: 14px 16px; min-height: 50px;
  box-shadow: 0 1px 2px rgba(28, 23, 20, .04);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.lead-pop-input::placeholder { color: #A39FAB; }
.lead-pop-input:focus { outline: none; border-color: var(--link); box-shadow: 0 0 0 3px rgba(var(--g3-rgb), .12); }
.lead-pop-input.error { border-color: #E0426A; }

.lead-pop-form .btn-block { margin-top: 4px; }
.lead-pop-error { color: #C2305A; font-size: 0.875rem; margin: 2px 0 0; }
.lead-pop-fine { color: var(--text-muted); font-size: 0.75rem; text-align: center; margin: 12px 0 0; }

.lead-pop-success { text-align: center; padding: 12px 4px 6px; }
.lead-pop-check {
  width: 56px; height: 56px; margin: 0 auto 16px;
  border-radius: 50%; background: #FACC15; color: #1C1714;
  display: grid; place-items: center;
}
.lead-pop-check svg { width: 28px; height: 28px; }
.lead-pop-success h3 { font-size: 1.375rem; color: var(--text); margin-bottom: 8px; }
.lead-pop-success p { color: var(--text-muted); font-size: 1rem; margin: 0; }

/* Desktop: centered dialog instead of bottom sheet */
@media (min-width: 640px) {
  .lead-pop { align-items: center; padding: 24px; }
  .lead-pop-card {
    max-width: 420px;
    border-radius: var(--r-card);
    padding: 30px 30px 26px;
    transform: translateY(16px) scale(.98);
    transition: transform .3s cubic-bezier(.22, 1, .36, 1), opacity .25s ease;
    opacity: 0;
  }
  .lead-pop.open .lead-pop-card { transform: translateY(0) scale(1); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .lead-pop, .lead-pop-card { transition: opacity .2s ease; transform: none; }
  .lead-pop.open .lead-pop-card { transform: none; }
}
