/* ============================================================
   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; }
.hero-trust {
  margin-top: 28px;
  display: inline-flex; align-items: center; gap: 12px;
  color: var(--text-muted); font-size: 0.9375rem;
}
/* Google rating pill (home hero) */
.g-rating {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 15px;
  background: var(--bg-plain);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  box-shadow: 0 6px 18px rgba(28,23,20,.06), 0 1px 2px rgba(28,23,20,.05);
}
.g-rating .g-logo { width: 19px; height: 19px; flex: none; }
.g-rating .stars { gap: 2px; }
.g-rating .stars .star { width: 16px; height: 16px; }   /* inherits #FACC15 fill + gold glow */
.g-rating .g-score {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1rem; letter-spacing: -0.01em; color: var(--text);
}
/* "· on Google" — middot separator before the muted label */
.g-rating .g-on { color: var(--text-muted); font-size: 0.9375rem; }
.g-rating .g-on::before { content: "·"; margin-right: 7px; color: var(--border); }

/* ============================================================
   "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); }

/* ---------- 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); }

/* Modal: dim backdrop + centered browser window with the scrollable full screenshot */
.wk-modal { position: fixed; inset: 0; z-index: 80; display: flex; align-items: center; justify-content: center; padding: 24px; }
.wk-modal[hidden] { display: none; }
.wk-modal-backdrop { position: absolute; inset: 0; background: rgba(28,23,20,.55); backdrop-filter: blur(2px); animation: wk-fade .2s ease; }
.wk-window {
  position: relative; width: min(960px, 100%); max-height: 86vh; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-media);
  box-shadow: 0 30px 80px rgba(28,23,20,.4); overflow: hidden; animation: wk-pop .22s cubic-bezier(.2,.8,.3,1);
}
@keyframes wk-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes wk-pop { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }

/* Browser chrome bar + scroll body (reused by the modal) */
.wk-bar { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; padding: 9px 12px; background: var(--bg-2); border-bottom: 1px solid var(--border); }
.wk-dots { display: flex; gap: 6px; }
.wk-dots i { width: 9px; height: 9px; border-radius: 50%; background: #D9D4CD; display: block; }
.wk-url { flex: 1; font: 500 12px/1 ui-monospace, Menlo, monospace; color: var(--text-muted); background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 6px 12px; text-align: left; }
.wk-close { flex: 0 0 auto; width: 36px; height: 36px; display: inline-grid; place-items: center; border-radius: 9px; border: 0; background: #1C1714; color: #FACC15; cursor: pointer; box-shadow: 0 2px 6px rgba(28,23,20,.18); transition: background-color .15s ease, color .15s ease, transform .12s ease; }
.wk-close svg { width: 20px; height: 20px; display: block; }
.wk-close:hover { background: #FACC15; color: #1C1714; }
.wk-close:active { transform: scale(.93); }
.wk-scroll { flex: 1; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; }
.wk-full { width: 100%; display: block; }

/* Close X is mobile-only (desktop uses the .wk-bar button); the "book a call" pill shows at every width */
.wk-exit { display: none; }
.wk-cta {
  position: absolute; z-index: 3;
  left: 50%; transform: translateX(-50%);
  bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  padding: 11px 18px; border-radius: 12px;
  font-family: var(--font-body); font-size: 0.9375rem;
  color: #1C1714; background: #FACC15; text-decoration: none;
  box-shadow: 0 8px 24px rgba(202,138,4,.40), 0 2px 6px rgba(28,23,20,.18);
  transition: transform .14s ease, box-shadow .14s ease;
}
.wk-cta:hover { box-shadow: 0 12px 30px rgba(202,138,4,.50), 0 3px 8px rgba(28,23,20,.22); }
.wk-cta-lead { font-weight: 500; color: rgba(28,23,20,.74); }
.wk-cta-go { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; }
.wk-cta-arrow { font-size: 1.05em; line-height: 1; }
.wk-cta:active { transform: translateX(-50%) scale(.985); }

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

/* ---- Phones only: full-screen takeover + mobile screenshot. Above this we keep the
       windowed desktop preview so half-screen laptop windows don't blow up the small
       mobile shot (must match the matchMedia breakpoint in site.js initWorkModal). ---- */
@media (max-width: 600px) {
  body.wk-open .site-header { display: none; }   /* hide the site nav while immersed */

  .wk-modal { padding: 0; }
  .wk-window {
    width: 100vw; max-width: 100vw;
    height: 100vh; height: 100dvh; max-height: none;
    border: 0; border-radius: 0;
  }
  .wk-bar { display: none; }                      /* drop the browser-chrome bar */

  /* floating close (X) — top-right, over the page */
  .wk-exit {
    position: absolute; z-index: 3;
    top: calc(env(safe-area-inset-top, 0px) + 12px); right: 14px;
    width: 42px; height: 42px; display: inline-grid; place-items: center;
    border: 0; border-radius: 50%; cursor: pointer;
    background: rgba(28,23,20,.82); color: #FACC15;
    box-shadow: 0 4px 14px rgba(28,23,20,.32);
    -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  }
  .wk-exit svg { width: 22px; height: 22px; display: block; }
  .wk-exit:active { transform: scale(.93); }

  /* tighter bottom inset on phones (base pill styles are global above) */
  .wk-cta { bottom: calc(env(safe-area-inset-bottom, 0px) + 16px); }
}

@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: sticky sub-nav + deep service modules ---------- */
/* `overflow-x: hidden` on <body> (styles.css) turns body into a scroll container and
   breaks position:sticky. `clip` clips the same horizontal bleed WITHOUT a scroll
   container, so the sub-nav can stick to the viewport. Scoped to this page only. */
body[data-page="services"] { overflow-x: clip; }

/* Sticky Build/Host/Grow jump-nav — docks under the fixed 74px header. No JS. */
.svc-subnav {
  position: sticky; top: 74px; z-index: 90;
  background: rgba(248,247,245,.82);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.svc-subnav-inner { display: flex; align-items: center; gap: 18px; height: 58px; }
.svc-subnav-label {
  font-size: 0.75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-muted); white-space: nowrap;
}
.svc-subnav-links { display: flex; gap: 4px; }
.svc-subnav-links a {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; /* 44px touch target */
  font-family: var(--font-display); font-weight: 600; font-size: 0.9375rem;
  color: var(--text-muted); padding: 8px 14px; border-radius: 8px;
  transition: color .15s ease, background .15s ease;
}
.svc-subnav-links a:hover, .svc-subnav-links a:focus-visible { color: var(--text); }
.svc-subnav-links a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  border-radius: 2px; background: #FACC15; transform: scaleX(0); transform-origin: left;
  transition: transform .18s ease;
}
.svc-subnav-links a:hover::after, .svc-subnav-links a:focus-visible::after { transform: scaleX(1); }
.svc-subnav-cta { margin-left: auto; padding: 9px 18px; min-height: 40px; font-size: 0.9375rem; }

/* Each module clears the fixed header (74px) + the sticky sub-nav (~58px) when jumped to */
.svc-mod { scroll-margin-top: 140px; }
/* Compact vertical rhythm so each pillar fits within one fold (no scrolling per section) */
.svc-mod { padding-block: 44px; }
/* Lean copy + an enlarged, media-favoured visual keep the row balanced and image-forward */
.svc-mod .pillar { align-items: center; grid-template-columns: 0.92fr 1.18fr; }
.svc-mod .pillar h3 { margin-bottom: 12px; }
.svc-mod .pillar p  { margin-bottom: 18px; }
.svc-mod .pillar-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; margin-bottom: 20px; }
@media (max-width: 900px) {
  .svc-mod { padding-block: 48px; }
  .svc-mod .pillar-list { grid-template-columns: 1fr; }
}

/* Who-it's-for chips + outcome + price anchor + CTA row */
.svc-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 22px; }
.svc-meta-label {
  font-size: 0.75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--text-muted); margin-right: 2px;
}
.svc-outcome { font-size: 0.9375rem; color: var(--text-muted); margin-bottom: 22px; }
.svc-outcome strong { color: var(--text); font-weight: 600; }
.svc-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.price-chip {
  display: inline-flex; align-items: center;
  font-size: 0.8125rem; font-weight: 600; color: var(--text);
  background: rgba(var(--g2-rgb),.16); border: 1px solid rgba(var(--g2-rgb),.34);
  border-radius: var(--r-pill); padding: 8px 14px; white-space: nowrap;
}

/* Compact per-module proof quote */
.svc-proof { margin-top: 28px; padding-top: 22px; border-top: 1px dashed var(--border); }
.svc-proof .stars { margin-bottom: 10px; }
.svc-proof blockquote { font-size: 0.9375rem; font-style: italic; color: var(--text); line-height: 1.55; margin-bottom: 8px; }
.svc-proof figcaption { font-size: 0.8125rem; font-weight: 600; color: var(--text-muted); }

/* Module visuals: stacked data cards (Grow) + bespoke uptime SVG (Host) — enlarged, media-forward */
.svc-stack { display: flex; flex-direction: column; gap: 12px; }
.pillar-media .svc-uptime, .pillar-media .svc-design { max-width: 620px; width: 100%; margin-inline: auto; }
.svc-mod .pillar-media .tm { max-width: 620px; margin-inline: auto; }       /* Build browser mockup */
.svc-mod .pillar-media.svc-stack .tm { max-width: 100%; }                   /* Grow cards span full column */
/* Grow's stacked data cards are the tallest media — trim chart heights/padding (scoped to this
   page so the homepage "what you get" mockups keep their original size) to hold the fold */
.svc-mod .pillar-media .tm-seo, .svc-mod .pillar-media .tm-ads { padding: 13px 16px; gap: 7px; }
.svc-mod .pillar-media .tm-spark svg { height: 34px; }
.svc-mod .pillar-media .tm-bars svg { height: 46px; }
.svc-mod .pillar-media .tm-row { padding: 6px 10px; }

@media (max-width: 768px) {
  .svc-subnav-inner { height: 52px; gap: 12px; }
  .svc-subnav-links { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .svc-subnav-links::-webkit-scrollbar { display: none; }
  .svc-mod { scroll-margin-top: 126px; }
}
@media (max-width: 560px) {
  .svc-subnav-label, .svc-subnav-cta { display: none; }
  .svc-subnav-inner { justify-content: center; }
}

/* ---------- 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); }

/* 8-up review wall (About) — 4-col compact so two rows sit near one fold.
   .reviews-grid.compact (0,2,0) intentionally out-specifies the generic
   900px .reviews-grid{1fr} fallback in the Responsive block, so columns
   go 4 → 2 → 1. */
.reviews-grid.compact { grid-template-columns: repeat(4, 1fr); gap: 18px; }
.reviews-grid.compact .review-card { padding: 22px; 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: 1080px) { .reviews-grid.compact { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .reviews-grid.compact { grid-template-columns: 1fr; } }

/* ---------- 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); }

/* ---------- 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; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; }
.cta-band .inner { max-width: 660px; margin-inline: auto; position: relative; z-index: 1; }
.cta-band h2 { margin-bottom: 16px; }
.cta-band .lead { margin-bottom: 32px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- 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%; }
}

/* ---------- 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 that matches the current question (JS sets data-focus) */
.apply-preview-col[data-focus="header"] .ms-cards,
.apply-preview-col[data-focus="header"] .ms-footer { display: none; }              /* header: just nav + hero, anchored to the top */
.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; }               /* footer: just the footer band */

/* 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: auto; 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; }
  .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; }
  .hero-trust { margin-top: 26px; }

  /* One-line trust row: single star + 4.9 on mobile (desktop keeps all 5).
     All rules scoped under .hero-trust so the shared .trust-badge.is-free
     on other pages (e.g. services.html hero badges) is untouched. */
  .hero-trust { flex-wrap: nowrap; gap: 8px; }
  .hero-trust > * { flex: 0 0 auto; }                                       /* pills size to content; never crushed */
  .hero-trust .g-rating { padding: 7px 10px; gap: 7px; }
  .hero-trust .g-rating .g-logo { width: 16px; height: 16px; }
  .hero-trust .g-rating .stars { gap: 0; }
  .hero-trust .g-rating .stars .star { width: 13px; height: 13px; }
  .hero-trust .g-rating .stars .star:not(:first-child) { display: none; }  /* keep one star */
  .hero-trust .g-rating .g-score { font-size: 0.9rem; }
  .hero-trust .g-rating .g-on { font-size: 0.8125rem; }
  .hero-trust .g-rating .g-on::before { margin-right: 5px; }
  .hero-trust .trust-badge.is-free { padding: 7px 11px; font-size: 0.8125rem; gap: 6px; }
  .hero-trust .trust-badge.is-free svg { width: 14px; height: 14px; }

  .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 */
  .hero-trust { 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; }
  .hero-trust { margin-top: 12px; }
}

/* Very narrow phones (~320px) — keep the trust row on one line */
@media (max-width: 360px) {
  .hero-trust { gap: 6px; }
  .hero-trust .g-rating { padding: 6px 9px; gap: 6px; }
  .hero-trust .g-rating .g-logo { width: 15px; height: 15px; }
  .hero-trust .g-rating .stars .star { width: 12px; height: 12px; }
  .hero-trust .g-rating .g-score { font-size: 0.875rem; }
  .hero-trust .g-rating .g-on { font-size: 0.78rem; }
  .hero-trust .g-rating .g-on::before { margin-right: 4px; }
  .hero-trust .trust-badge.is-free { padding: 6px 10px; font-size: 0.78rem; gap: 5px; }
  .hero-trust .trust-badge.is-free svg { width: 13px; height: 13px; }
}

/* 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; 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 panel — logo lockup on the gold panel */
.brand-panel { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center; }
.brand-badge { width: 84px; height: 84px; border-radius: 19px; background: #0F0E0D; display: grid; place-items: center; box-shadow: 0 10px 24px rgba(28,23,20,.18); }
.brand-badge img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
.brand-word { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; 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(22px + env(safe-area-inset-bottom, 0px));
  z-index: 90;                                  /* below header (100) + mobile menu (99) */
  display: inline-flex;
  align-items: center;
  gap: 13px;
  height: 60px;
  padding: 0 24px;
  background: #FACC15;
  color: #1C1714;
  border-radius: var(--r-pill);
  box-shadow: 0 2px 6px rgba(202, 138, 4, .26), 0 16px 36px rgba(202, 138, 4, .28);
  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;
}
.price-pill.show { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.price-pill.show:hover { background: #EAB308; transform: translate(-50%, -2px); }
.price-pill.show:active { transform: translate(-50%, 0); }

.price-pill-badge {
  display: inline-grid; place-items: center; flex: 0 0 auto;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(28, 23, 20, .10);
}
.price-pill-badge svg { width: 18px; height: 18px; }
.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: 600;
  font-size: 1.04rem; letter-spacing: -0.01em;
}
.price-pill-arrow { font-size: 1.15em; line-height: 1; margin-left: 2px; transition: transform .15s ease; }
.price-pill:hover .price-pill-arrow { transform: translateX(3px); }

/* stay out of the immersive work-preview modal */
body.wk-open .price-pill { display: none; }
body.wk-open .site-header { display: none; }  /* hide the site nav at every width while a preview is open */

/* Phones: slim the floating pricing pill — one line, less height (no stacked words) */
@media (max-width: 640px) {
  .price-pill { height: 48px; gap: 10px; padding: 0 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); }
  .price-pill-badge { width: 30px; height: 30px; }
  .price-pill-badge svg { width: 16px; height: 16px; }
  .price-pill-k { display: none; }            /* drop the kicker so the value sits on a single line */
  .price-pill-v { font-size: 0.9375rem; }
}

@media (max-width: 768px) {
  .price-pill { bottom: calc(14px + env(safe-area-inset-bottom, 0px)); height: 56px; gap: 11px; padding: 0 20px; }
  .price-pill-badge { width: 34px; height: 34px; }
  .price-pill-v { font-size: 0.98rem; }
}

/* 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:hover { transform: translate(-50%, 0); }
}
