/* ═══════════════════════════════════════════════════════════════════════════
   WILL C. — THEORETICAL BUILD
   Editorial Monograph · Dark primary with cream spreads
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── TOKENS ─────────────────────────────────────────────────────────────── */
:root {
  /* Colors */
  --ink: #0f0d0b;
  --ink-soft: #1a1815;
  --ink-line: #2a2722;
  --cream: #fbf6eb;
  --cream-soft: #f4eedd;
  --cream-line: #e8dfc8;
  --amber: #d97706;
  --amber-soft: #f59e0b;
  --amber-dim: #92400e;
  --mute-dark: #8a827a;
  --mute-light: #6b625a;

  /* Type */
  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* Spacing (4px grid) */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-6: 24px;
  --s-8: 32px;
  --s-10: 40px;
  --s-12: 48px;
  --s-14: 56px;
  --s-16: 64px;
  --s-20: 80px;
  --s-24: 96px;
  --s-32: 128px;
  --s-40: 160px;
  --s-48: 192px;

  /* Radii — keep sharp, editorial */
  --r-sm: 2px;
  --r-md: 4px;
  --r-lg: 8px;
  --r-full: 999px;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-fast: 180ms;
  --dur: 340ms;
  --dur-slow: 640ms;

  /* Layout */
  --max: 1320px;
  --gutter: clamp(20px, 4vw, 48px);
}

/* ── RESET ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--cream);
  background: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: 0; cursor: pointer; color: inherit; }
input, textarea, select, button { font-family: inherit; }
ul { list-style: none; }
h1, h2, h3, h4 { font-weight: 500; line-height: 1.05; text-wrap: balance; }
p { text-wrap: pretty; }
::selection { background: var(--amber); color: var(--ink); }

/* Noise grain overlay for dark sections — subtle */
.ink-surface {
  position: relative;
}
.ink-surface::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.7 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: overlay;
  z-index: 1;
}

/* ── LAYOUT ─────────────────────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  position: relative;
  z-index: 2;
}

.section {
  padding: clamp(var(--s-20), 12vw, var(--s-40)) 0;
  position: relative;
}
.section--tight { padding: clamp(var(--s-12), 8vw, var(--s-24)) 0; }
.section--ink { background: var(--ink); color: var(--cream); }
.section--cream { background: var(--cream); color: var(--ink); }

/* ── TYPOGRAPHY ─────────────────────────────────────────────────────────── */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--amber);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: currentColor;
}
.section--cream .eyebrow { color: var(--amber-dim); }

.display {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 7.2vw, 112px);
  line-height: 0.98;
  letter-spacing: -0.02em;
}
.display em {
  font-style: italic;
  color: var(--amber);
}
.section--cream .display em { color: var(--amber-dim); }

.heading-xl {
  font-family: var(--serif);
  font-size: clamp(36px, 5.2vw, 76px);
  line-height: 1;
  letter-spacing: -0.015em;
  font-weight: 400;
}
.heading-xl em { font-style: italic; color: var(--amber); }
.section--cream .heading-xl em { color: var(--amber-dim); }

.heading-lg {
  font-family: var(--serif);
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  font-weight: 400;
}
.heading-lg em { font-style: italic; color: var(--amber); }

.heading-md {
  font-family: var(--sans);
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  font-weight: 600;
}

.lede {
  font-family: var(--sans);
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.5;
  color: var(--mute-dark);
  max-width: 60ch;
}
.section--cream .lede { color: var(--mute-light); }

.body-lg {
  font-size: clamp(16px, 1.1vw, 18px);
  line-height: 1.65;
}

.mono-meta {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute-dark);
}
.section--cream .mono-meta { color: var(--mute-light); }

.section-header {
  padding-bottom: var(--s-10);
  margin-bottom: var(--s-12);
  max-width: 1000px;
}
.section-header__index {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mute-dark);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: var(--s-6);
  padding: 4px 10px 4px 0;
  border-left: 2px solid var(--amber);
  padding-left: 10px;
}
.section--cream .section-header__index { color: var(--mute-light); border-left-color: var(--amber-dim); }
.section-header__title { margin: 0; }

/* ── BUTTONS ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: var(--r-full);
  transition: transform var(--dur-fast) var(--ease),
              background var(--dur) var(--ease),
              color var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
  white-space: nowrap;
  will-change: transform;
  cursor: pointer;
}
.btn::after {
  content: "→";
  transition: transform var(--dur) var(--ease-out);
  font-size: 15px;
}
.btn:hover::after { transform: translateX(4px); }

.btn--primary {
  background: var(--amber);
  color: var(--ink);
  border: 1px solid var(--amber);
}
.btn--primary:hover { background: var(--amber-soft); border-color: var(--amber-soft); }

.btn--ghost {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(251, 246, 235, 0.25);
}
.btn--ghost:hover {
  background: rgba(251, 246, 235, 0.05);
  border-color: var(--cream);
}

.section--cream .btn--ghost {
  color: var(--ink);
  border-color: rgba(15, 13, 11, 0.2);
}
.section--cream .btn--ghost:hover {
  background: rgba(15, 13, 11, 0.04);
  border-color: var(--ink);
}

.btn--no-arrow::after { content: ""; }
.btn--sm { padding: 10px 18px; font-size: 13px; }
.btn--full { width: 100%; justify-content: center; }

.link-arrow {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: var(--amber);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease);
}
.section--cream .link-arrow { color: var(--amber-dim); }
.link-arrow::after { content: "→"; transition: transform var(--dur) var(--ease-out); }
.link-arrow:hover { border-bottom-color: currentColor; }
.link-arrow:hover::after { transform: translateX(3px); }

/* ── NAVIGATION ─────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 20px;
  left: 16px;
  right: 16px;
  margin: 0 auto;
  max-width: 1100px;
  z-index: 100;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav--hidden { transform: translateY(-120%); opacity: 0; }

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 10px 10px 22px;
  background: rgba(15, 13, 11, 0.72);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border: 1px solid rgba(251, 246, 235, 0.08);
  border-radius: var(--r-full);
  box-shadow: 0 12px 40px -10px rgba(0, 0, 0, 0.5);
}

.nav--light .nav__inner {
  background: rgba(251, 246, 235, 0.78);
  border-color: rgba(15, 13, 11, 0.08);
  color: var(--ink);
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: inherit;
}
.nav__logo-dot {
  width: 6px;
  height: 6px;
  background: var(--amber);
  border-radius: 50%;
  margin: 0 2px;
  align-self: center;
  transform: translateY(3px);
}

.nav__center {
  display: flex;
  align-items: center;
  gap: 2px;
}
.nav__link {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: inherit;
  opacity: 0.72;
  border-radius: var(--r-full);
  transition: opacity var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.nav__link:hover { opacity: 1; background: rgba(251, 246, 235, 0.06); }
.nav--light .nav__link:hover { background: rgba(15, 13, 11, 0.05); }
.nav__link--active { opacity: 1; color: var(--amber); }

.nav__cta {
  padding: 14px 26px;
  background: var(--amber);
  color: var(--ink);
  border-radius: var(--r-full);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.nav__cta:hover { background: var(--amber-soft); transform: translateY(-1px); }

.nav__link--mobile-home,
.nav__link--mobile-cta { display: none; }

.nav__toggle { display: none; }

@media (max-width: 860px) {
  .nav__center {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 13, 11, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 4px;
    padding: 132px 24px 48px;
    color: var(--cream);
    overflow-y: auto;
    z-index: 95;
  }
  .nav__center--open { display: flex; }
  .nav__center .nav__link { font-size: 22px; padding: 14px 24px; min-height: 52px; display: inline-flex; align-items: center; }
  .nav__link--mobile-home,
  .nav__link--mobile-cta { display: inline-flex; }
  .nav__cta { display: none; }

  /* Make the "Get a Quote" inside the mobile drawer stand out as a primary button */
  .nav__center .nav__link--mobile-cta {
    background: var(--amber);
    color: var(--ink) !important;
    padding: 16px 38px;
    margin-top: 16px;
    border-radius: var(--r-full);
    font-family: var(--sans);
    font-size: 17px;
    font-weight: 500;
    letter-spacing: 0.01em;
    opacity: 1;
    box-shadow: 0 10px 24px -8px rgba(217, 119, 6, 0.55);
    animation: nav-mobile-cta-pulse 2.4s ease-out infinite;
  }
  .nav__center .nav__link--mobile-cta:hover {
    background: var(--amber-soft);
  }
  @keyframes nav-mobile-cta-pulse {
    0%   { box-shadow: 0 10px 24px -8px rgba(217, 119, 6, 0.55), 0 0 0 0 rgba(217, 119, 6, 0.5); }
    70%  { box-shadow: 0 10px 24px -8px rgba(217, 119, 6, 0.55), 0 0 0 14px rgba(217, 119, 6, 0); }
    100% { box-shadow: 0 10px 24px -8px rgba(217, 119, 6, 0.55), 0 0 0 0 rgba(217, 119, 6, 0); }
  }
  /* When the mobile menu is open, remove the pill's backdrop-filter so the overlay
     (which is a fixed-positioned descendant) escapes nav__inner's containing block */
  .nav--menu-open .nav__inner {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: transparent;
    border-color: transparent;
    box-shadow: none;
  }
  .nav__toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 44px; height: 44px; padding: 0; align-items: center;
    border-radius: var(--r-full);
    background: var(--amber); color: var(--ink);
    position: relative; z-index: 101;
  }
  .nav__toggle span { width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform var(--dur) var(--ease); }
  .nav__toggle--active span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
  .nav__toggle--active span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }
}

/* ── REVEAL ─────────────────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}
.reveal--visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 80ms; }
.reveal[data-delay="2"] { transition-delay: 160ms; }
.reveal[data-delay="3"] { transition-delay: 240ms; }
.reveal[data-delay="4"] { transition-delay: 320ms; }

/* ═══ HERO ══════════════════════════════════════════════════════════════ */
.hero {
  padding: clamp(140px, 18vh, 200px) 0 clamp(80px, 10vw, 140px);
  min-height: 92vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero__grid {
  display: grid;
  gap: var(--s-12);
  width: 100%;
}
@media (min-width: 980px) {
  .hero__grid { grid-template-columns: 1fr 1.05fr; align-items: start; gap: var(--s-16); }
}

.hero__question {
  font-family: var(--mono);
  font-size: clamp(13px, 1.2vw, 16px);
  letter-spacing: 0.05em;
  white-space: nowrap;
  text-transform: uppercase;
  color: var(--mute-dark);
  margin-bottom: var(--s-8);
  line-height: 1.35;
}
.hero__question em {
  color: var(--amber);
  font-style: normal;
}

.hero__title {
  font-family: var(--serif);
  font-size: clamp(52px, 9vw, 140px);
  line-height: 0.94;
  letter-spacing: -0.025em;
  font-weight: 400;
  margin-bottom: var(--s-8);
}
.hero__title .amp {
  color: var(--amber);
  font-style: italic;
}

.hero__sub {
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.55;
  color: var(--mute-dark);
  max-width: 52ch;
  margin-bottom: var(--s-12);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: var(--s-8);
}

.hero__guarantee {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--mute-dark);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.hero__guarantee::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--amber);
  border-radius: 50%;
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.4); }
}

/* Laptop / preview stack */
.hero__preview {
  position: relative;
  aspect-ratio: 4 / 3.3;
  border: 1px solid var(--ink-line);
  border-radius: var(--r-md);
  background: var(--ink-soft);
  overflow: hidden;
  box-shadow: 0 40px 80px -20px rgba(0,0,0,0.5);
}
.hero__preview-frame {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
}
.hero__preview-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: rgba(0,0,0,0.3);
  border-bottom: 1px solid var(--ink-line);
  flex-shrink: 0;
}
.hero__preview-bar span {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ink-line);
}
.hero__preview-stage {
  position: relative;
  flex: 1;
  overflow: hidden;
  background: var(--ink);
}
.hero__preview-stage img {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: auto;
  min-height: 100%;
  object-fit: cover;
  object-position: top;
  opacity: 0;
  transition: opacity 600ms var(--ease-out);
}
.hero__preview-stage img.is-active { opacity: 1; }

.hero__preview-controls {
  position: absolute;
  bottom: 14px;
  right: 14px;
  display: flex;
  gap: 6px;
  z-index: 3;
}
.hero__preview-controls button {
  width: 36px; height: 36px;
  background: rgba(15, 13, 11, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(251, 246, 235, 0.15);
  color: var(--cream);
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  transition: background var(--dur-fast) var(--ease);
}
.hero__preview-controls button:hover { background: var(--amber); color: var(--ink); border-color: var(--amber); }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: var(--s-8);
  border-top: 1px solid var(--ink-line);
}
.hero__stat {
  padding: var(--s-6) var(--s-4) 0;
  border-right: 1px solid var(--ink-line);
}
.hero__stat:last-child { border-right: 0; }
.hero__stat-val {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1;
  color: var(--cream);
  display: block;
  margin-bottom: 4px;
}
.hero__stat--accent .hero__stat-val { color: var(--amber); font-style: italic; }
.hero__stat-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute-dark);
  display: block;
  margin-bottom: 2px;
}
.hero__stat-ctx {
  font-size: 12px;
  color: var(--mute-dark);
  display: block;
}

/* ═══ MARQUEE ═══════════════════════════════════════════════════════════ */
.marquee {
  background: var(--amber);
  color: var(--ink);
  padding: 18px 0;
  overflow: hidden;
  position: relative;
  border-top: 1px solid var(--amber-dim);
  border-bottom: 1px solid var(--amber-dim);
}
.marquee__track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 40s linear infinite;
  font-family: var(--serif);
  font-size: clamp(22px, 3.2vw, 44px);
  line-height: 1;
  white-space: nowrap;
}
.marquee__track em {
  font-style: italic;
  opacity: 0.55;
}
.marquee__track span {
  display: inline-flex;
  align-items: center;
  gap: 48px;
}
.marquee__track span::after {
  content: "✦";
  font-size: 0.5em;
  opacity: 0.5;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
}

/* ═══ TRUST BAR ═════════════════════════════════════════════════════════ */
.trust {
  padding: var(--s-20) 0;
}
.trust__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--cream-line);
  border-bottom: 1px solid var(--cream-line);
}
@media (min-width: 768px) { .trust__grid { grid-template-columns: repeat(4, 1fr); } }
.trust__item {
  padding: var(--s-8) var(--s-6);
  border-right: 1px solid var(--cream-line);
  border-bottom: 1px solid var(--cream-line);
}
.trust__item:last-child { border-right: 0; }
@media (min-width: 768px) {
  .trust__item { border-bottom: 0; }
  .trust__item:nth-child(2n):not(:last-child) { border-right: 1px solid var(--cream-line); }
}
@media (max-width: 767px) {
  .trust__item:nth-child(2n) { border-right: 0; }
  .trust__item:nth-last-child(-n+2) { border-bottom: 0; }
}
.trust__item strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 28px);
  font-weight: 400;
  letter-spacing: -0.01em;
  margin-bottom: var(--s-2);
  color: var(--ink);
}
.trust__item span {
  font-size: 14px;
  color: var(--mute-light);
  line-height: 1.4;
}

/* ═══ WORK GRID ═════════════════════════════════════════════════════════ */
.work-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-16) var(--s-8);
}
@media (min-width: 700px) { .work-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .work-grid { grid-template-columns: repeat(3, 1fr); } }

.work-card {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  cursor: pointer;
  transition: transform var(--dur) var(--ease);
}
.work-card:hover { transform: translateY(-4px); }

.work-card__frame {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--ink-line);
  border-radius: var(--r-md);
  background: var(--ink-soft);
}
.section--cream .work-card__frame { border-color: var(--cream-line); background: var(--cream-soft); }

.work-card__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 1400ms var(--ease-out);
}
.work-card:hover .work-card__frame img { transform: scale(1.04); }

.work-card__idx {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--cream);
  background: rgba(15, 13, 11, 0.85);
  padding: 4px 8px;
  border-radius: var(--r-sm);
  z-index: 2;
}

.work-card__info {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--s-4);
  padding-top: var(--s-3);
}
.work-card__name {
  font-family: var(--serif);
  font-size: clamp(20px, 1.6vw, 24px);
  font-weight: 400;
  letter-spacing: -0.01em;
}
.work-card__type {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute-dark);
  margin-top: 4px;
}
.section--cream .work-card__type { color: var(--mute-light); }
.work-card__live {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  white-space: nowrap;
  flex-shrink: 0;
  transition: color var(--dur-fast) var(--ease);
}
.section--cream .work-card__live { color: var(--amber-dim); }
.work-card__live:hover { text-decoration: underline; }

/* ═══ HULU-STYLE CURVED WALL (work page) ═════════════════════════════ */
.wall-gallery {
  position: relative;
  height: clamp(760px, 96vh, 1080px);
  overflow: hidden;
  background: var(--ink);
  perspective: 1500px;
  perspective-origin: 50% 50%;
}

.wall-stage {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  transform-style: preserve-3d;
  padding: 0 2vw;
}

.wall-col {
  position: relative;
  width: clamp(180px, 19vw, 280px);
  height: 140%;
  flex-shrink: 0;
  overflow: hidden;
  transform-origin: center center;
  will-change: transform;
}
/* Extra spacing between outermost and second-outermost columns */
.wall-col:nth-child(1) { margin-right: clamp(16px, 2vw, 32px); }
.wall-col:nth-child(7) { margin-left:  clamp(16px, 2vw, 32px); }

.wall-col__inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
  will-change: transform;
  animation-play-state: running;
}
.wall-col__inner img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top;
  border-radius: 3px;
  border: 1px solid var(--ink-line);
  flex-shrink: 0;
  background: var(--ink-soft);
}

/* Convex cylinder curve — 7 columns, center flat, edges tilt inward */
.wall-col:nth-child(1) { transform: translateZ(-300px) rotateY(42deg); }
.wall-col:nth-child(2) { transform: translateZ(-170px) rotateY(28deg); }
.wall-col:nth-child(3) { transform: translateZ(-60px)  rotateY(14deg); }
.wall-col:nth-child(4) { transform: translateZ(0)      rotateY(0deg); }
.wall-col:nth-child(5) { transform: translateZ(-60px)  rotateY(-14deg); }
.wall-col:nth-child(6) { transform: translateZ(-170px) rotateY(-28deg); }
.wall-col:nth-child(7) { transform: translateZ(-300px) rotateY(-42deg); }

/* Alternating auto-scroll — each column at a unique pace for natural motion */
.wall-col:nth-child(1) .wall-col__inner { animation: wall-up   62s linear infinite; }
.wall-col:nth-child(2) .wall-col__inner { animation: wall-down 54s linear infinite; }
.wall-col:nth-child(3) .wall-col__inner { animation: wall-up   48s linear infinite; }
.wall-col:nth-child(4) .wall-col__inner { animation: wall-down 44s linear infinite; }
.wall-col:nth-child(5) .wall-col__inner { animation: wall-up   50s linear infinite; }
.wall-col:nth-child(6) .wall-col__inner { animation: wall-down 56s linear infinite; }
.wall-col:nth-child(7) .wall-col__inner { animation: wall-up   60s linear infinite; }

@keyframes wall-up   { from { transform: translateY(0); }     to { transform: translateY(-50%); } }
@keyframes wall-down { from { transform: translateY(-50%); }  to { transform: translateY(0); } }

/* Atmospheric overlays — feathered top fade + radial vignette. Bottom fade handled by ::after */
.wall-gallery::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      var(--ink) 0%,
      rgba(15, 13, 11, 0.92) 4%,
      rgba(15, 13, 11, 0.78) 8%,
      rgba(15, 13, 11, 0.58) 13%,
      rgba(15, 13, 11, 0.38) 18%,
      rgba(15, 13, 11, 0.22) 24%,
      rgba(15, 13, 11, 0.1) 30%,
      rgba(15, 13, 11, 0.04) 36%,
      transparent 44%
    ),
    radial-gradient(ellipse 80% 90% at center, transparent 45%, rgba(15, 13, 11, 0.85) 100%);
  pointer-events: none;
  z-index: 10;
}

/* Project pills overlaid on the wall — pinned to the top */
.wall-nav {
  position: absolute;
  left: 0;
  right: 0;
  top: clamp(var(--s-8), 5vw, var(--s-12));
  z-index: 12;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 0 var(--gutter);
}
.wall-nav__hint {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 9px 20px;
  background:
    radial-gradient(ellipse 110% 200% at center, rgba(15, 13, 11, 0.55) 0%, rgba(15, 13, 11, 0.35) 40%, rgba(15, 13, 11, 0.1) 78%, transparent 100%),
    linear-gradient(135deg, rgba(251, 246, 235, 0.22) 0%, rgba(251, 246, 235, 0.08) 60%, rgba(251, 246, 235, 0.18) 100%),
    linear-gradient(135deg, rgba(217, 119, 6, 0.18) 0%, rgba(217, 119, 6, 0.04) 55%, rgba(245, 158, 11, 0.14) 100%);
  border: 1px solid rgba(251, 246, 235, 0.22);
  border-radius: var(--r-full);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 6px 22px -6px rgba(217, 119, 6, 0.35),
              inset 0 1px 0 rgba(251, 246, 235, 0.06);
}
.wall-nav__hint-text {
  padding: 0;
  background: none;
  border: 0;
}
.wall-nav__hint-arrow {
  color: var(--amber-soft);
  font-size: 13px;
  letter-spacing: 0;
  animation: hint-bob 2s ease-in-out infinite;
}
@keyframes hint-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(3px); }
}
.wall-nav__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}
.wall-nav a {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--cream);
  background: rgba(15, 13, 11, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(251, 246, 235, 0.14);
  padding: 14px 24px;
  border-radius: var(--r-full);
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
  text-decoration: none;
  white-space: nowrap;
}
.wall-nav a:hover {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
  transform: translateY(-3px);
}
.wall-nav__num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--amber);
  font-weight: 500;
  transition: color var(--dur-fast) var(--ease);
  flex-shrink: 0;
}
.wall-nav a:hover .wall-nav__num { color: var(--amber-dim); }
.wall-nav__info {
  display: inline-flex;
  flex-direction: column;
  gap: 3px;
  line-height: 1.15;
}
.wall-nav__name {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.005em;
}
.wall-nav__type {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute-dark);
  transition: color var(--dur-fast) var(--ease);
}
.wall-nav a:hover .wall-nav__type { color: var(--mute-light); }

@media (max-width: 760px) {
  .wall-nav { gap: 8px; }
  .wall-nav a { padding: 12px 18px; gap: 10px; }
  .wall-nav__name { font-size: 15px; }
}

/* CTA block — XL variant (larger content, tighter section around it) */
.cta-block--xl .cta-block__eyebrow {
  font-size: 13px;
  margin-bottom: var(--s-8);
}
.cta-block--xl .cta-block__title {
  font-size: clamp(56px, 9.5vw, 144px);
  line-height: 0.96;
  margin-bottom: var(--s-8);
}
.cta-block--xl .cta-block__sub {
  font-size: clamp(19px, 1.7vw, 26px);
  max-width: 56ch;
  margin: 0 auto var(--s-10);
  line-height: 1.45;
}
.cta-block--xl {
  padding: clamp(var(--s-8), 4vw, var(--s-14)) 0 clamp(var(--s-6), 3vw, var(--s-10));
}

/* Trim the wrapping section for any cta-block--xl — kill excess dead space */
.section:has(.cta-block--xl) {
  padding-top: clamp(var(--s-10), 5vw, var(--s-16));
  padding-bottom: clamp(var(--s-10), 5vw, var(--s-16));
}

/* Tighter section + block padding — use alongside cta-block--xl when surrounding section has its own rhythm */
.section:has(.cta-block--xl.cta-block--tight) {
  padding-top: clamp(var(--s-4), 2vw, var(--s-8));
  padding-bottom: clamp(var(--s-4), 2vw, var(--s-8));
}
.cta-block--xl.cta-block--tight {
  padding: clamp(var(--s-4), 2vw, var(--s-8)) 0 clamp(var(--s-3), 1.5vw, var(--s-6));
}

/* Compact CTA variant (e.g. FAQ's "Still have questions?") */
.cta-block--sm {
  padding: 0 0 clamp(var(--s-2), 1vw, var(--s-4));
}
.cta-block--sm .cta-block__title { margin-bottom: var(--s-4); }
.section:has(.cta-block--sm) {
  padding-top: 0;
  padding-bottom: clamp(var(--s-3), 1.5vw, var(--s-6));
}
/* Also trim the preceding FAQ-content section's bottom so the CTA hugs tighter */
.faq-page + .section:has(.cta-block--sm),
.section:has(.faq-list) { padding-bottom: clamp(var(--s-6), 3vw, var(--s-12)); }

/* The work-page CTA sits flush against the wall gallery's transition, so zero the top padding there */
.wall-gallery + .section--cream:has(.cta-block--xl) {
  padding-top: 0;
  padding-bottom: clamp(var(--s-16), 8vw, var(--s-24));
}
.wall-gallery + .section--cream .cta-block--xl {
  padding: clamp(var(--s-14), 7vw, var(--s-20)) 0 clamp(var(--s-10), 5vw, var(--s-16));
}

/* Ghost hover-button variant for dark/ink sections */
.section--ink .hover-btn--ghost,
.ink-surface .hover-btn--ghost {
  background: rgba(251, 246, 235, 0.08);
  color: var(--cream);
  box-shadow:
    inset 0 0 0 1px rgba(251, 246, 235, 0.22),
    inset 0 0 16px 0 rgba(251, 246, 235, 0.04),
    inset 0 -3px 12px 0 rgba(251, 246, 235, 0.1),
    0 1px 3px 0 rgba(0, 0, 0, 0.4),
    0 4px 14px -2px rgba(0, 0, 0, 0.35);
}
/* ── Hover button (glassmorphic with cursor-following amber circles) ── */
.hover-btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 40px;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: var(--r-full);
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  text-decoration: none;
  border: 0;
  transition: transform 160ms var(--ease);
}
.hover-btn:active { transform: scale(0.975); }

.hover-btn--primary {
  background: rgba(217, 119, 6, 0.92);
  color: var(--ink);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    inset 0 0 0 1px rgba(251, 246, 235, 0.3),
    inset 0 0 18px 0 rgba(251, 246, 235, 0.15),
    inset 0 -3px 14px 0 rgba(251, 246, 235, 0.22),
    0 1px 3px 0 rgba(0, 0, 0, 0.3),
    0 5px 14px -4px rgba(217, 119, 6, 0.22);
  animation: hover-btn-heartbeat 2.4s ease-in-out infinite;
}
.hover-btn--primary:hover { animation-play-state: paused; }

@keyframes hover-btn-heartbeat {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.045); }
}

@media (prefers-reduced-motion: reduce) {
  .hover-btn--primary { animation: none; }
}

.hover-btn--ghost {
  background: rgba(251, 246, 235, 0.12);
  color: var(--ink);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 18px 36px;
  font-size: 16px;
  box-shadow:
    inset 0 0 0 1px rgba(15, 13, 11, 0.22),
    inset 0 0 16px 0 rgba(15, 13, 11, 0.04),
    inset 0 -3px 12px 0 rgba(15, 13, 11, 0.08),
    0 1px 3px 0 rgba(0, 0, 0, 0.08),
    0 4px 14px -2px rgba(0, 0, 0, 0.08);
}

.hover-btn__circle {
  position: absolute;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(10px);
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 300ms var(--ease-out);
  z-index: 0;
}
.hover-btn__circle.is-visible { opacity: 0.85; }
.hover-btn__circle.is-fading {
  opacity: 0;
  transition: opacity 1200ms var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  .hover-btn__circle { display: none; }
}

/* Smooth transition: many-stop warm ramp that lands on solid cream before the edge */
.wall-gallery::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: clamp(180px, 20vh, 280px);
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(15, 13, 11, 0.03) 10%,
    rgba(15, 13, 11, 0.08) 20%,
    rgba(32, 24, 14, 0.14) 30%,
    rgba(58, 44, 26, 0.2) 42%,
    rgba(98, 78, 48, 0.26) 54%,
    rgba(152, 128, 88, 0.34) 66%,
    rgba(200, 180, 140, 0.44) 76%,
    rgba(228, 214, 184, 0.62) 85%,
    rgba(244, 236, 216, 0.82) 92%,
    var(--cream) 97%,
    var(--cream) 100%
  );
  z-index: 11;
  pointer-events: none;
}

@media (max-width: 900px) {
  .wall-col:nth-child(1),
  .wall-col:nth-child(2),
  .wall-col:nth-child(6),
  .wall-col:nth-child(7) { display: none; }
  .wall-col { width: clamp(140px, 30vw, 220px); margin: 0 !important; }
  .wall-col:nth-child(3) { transform: translateZ(-70px) rotateY(18deg); }
  .wall-col:nth-child(5) { transform: translateZ(-70px) rotateY(-18deg); }
  .wall-gallery { height: 720px; }
}
@media (max-width: 520px) {
  .wall-col:nth-child(3),
  .wall-col:nth-child(5) { display: none; }
  .wall-col:nth-child(4) { width: 80vw; }
  .wall-gallery { height: 640px; }
}

@media (prefers-reduced-motion: reduce) {
  .wall-col__inner { animation: none !important; transform: none !important; }
}

/* ═══ SERVICES ══════════════════════════════════════════════════════════ */
.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
}
@media (min-width: 900px) { .services__grid { grid-template-columns: repeat(3, 1fr); } }

.service {
  padding: var(--s-8) var(--s-6);
  border: 1px solid var(--cream-line);
  border-radius: var(--r-md);
  background: transparent;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.service:hover { border-color: var(--ink); transform: translateY(-2px); }

.service--featured {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.service--featured .mono-meta { color: var(--mute-dark); }

.service__badge {
  position: absolute;
  top: -12px;
  left: var(--s-6);
  padding: 4px 10px;
  background: var(--amber);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--r-sm);
}

.service__idx {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--amber);
  margin-bottom: var(--s-6);
  letter-spacing: 0.12em;
}
.service--featured .service__idx { color: var(--amber-soft); }
.section--cream .service .service__idx { color: var(--amber-dim); }
.section--cream .service--featured .service__idx { color: var(--amber-soft); }

.service__name {
  font-family: var(--serif);
  font-size: clamp(26px, 2.4vw, 34px);
  font-weight: 400;
  margin-bottom: var(--s-3);
  letter-spacing: -0.01em;
}
.service__desc {
  font-size: 15px;
  line-height: 1.55;
  color: var(--mute-light);
  margin-bottom: var(--s-6);
}
.service--featured .service__desc { color: var(--mute-dark); }

.service__includes {
  list-style: none;
  margin-bottom: var(--s-8);
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  flex: 1;
}
.service__includes li {
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1px solid var(--cream-line);
  display: flex;
  gap: 10px;
}
.service--featured .service__includes li { border-bottom-color: var(--ink-line); }
.service__includes li::before {
  content: "✦";
  color: var(--amber);
  font-size: 10px;
  line-height: 1.4;
}
.service--featured .service__includes li::before { color: var(--amber-soft); }

.service__price {
  font-family: var(--serif);
  font-size: clamp(28px, 2.6vw, 38px);
  margin-bottom: var(--s-6);
  font-weight: 400;
  letter-spacing: -0.01em;
}
.service__price .from {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--mute-light);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  display: block;
  margin-bottom: 2px;
  font-style: normal;
}
.service--featured .service__price .from { color: var(--mute-dark); }

/* Risk-free + care plan banners */
.risk-free {
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--r-md);
  padding: var(--s-8);
  margin-bottom: var(--s-12);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
  align-items: center;
  position: relative;
  overflow: hidden;
}
.risk-free::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--amber) 0%, transparent 60%);
  opacity: 0.15;
  pointer-events: none;
}
.risk-free h3 {
  font-family: var(--serif);
  font-size: clamp(26px, 2.6vw, 38px);
  font-weight: 400;
  margin-bottom: var(--s-2);
  letter-spacing: -0.01em;
}
.risk-free h3 em { color: var(--amber); font-style: italic; }
.risk-free p {
  font-size: 15px;
  color: var(--mute-dark);
  max-width: 60ch;
}

.care-plan {
  margin-top: var(--s-12);
  padding: var(--s-8);
  border: 1px solid var(--cream-line);
  border-radius: var(--r-md);
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  background: var(--cream-soft);
}
@media (min-width: 700px) {
  .care-plan { flex-direction: row; align-items: center; justify-content: space-between; gap: var(--s-8); }
}
.care-plan__text h3 {
  font-family: var(--serif);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 400;
  margin-bottom: var(--s-2);
}
.care-plan__text p {
  font-size: 14px;
  color: var(--mute-light);
  max-width: 56ch;
}
.care-plan__price {
  text-align: right;
  flex-shrink: 0;
}
.care-plan__amount {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.care-plan__period {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--mute-light);
  margin-left: 4px;
}
.care-plan__note {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute-light);
  margin-top: 4px;
}

/* ═══ ABOUT / BIO ══════════════════════════════════════════════════════ */
.about-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-12);
  align-items: center;
}
@media (min-width: 900px) { .about-block { grid-template-columns: 1fr 1.4fr; gap: var(--s-16); } }

.about-block__photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--ink-soft);
  border: 1px solid var(--ink-line);
}
.about-block__photo img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(0.12) contrast(1.02);
}

.about-block__points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin: var(--s-8) 0;
  border-top: 1px solid var(--ink-line);
}
@media (min-width: 640px) { .about-block__points { grid-template-columns: 1fr 1fr; } }
.section--cream .about-block__points,
.section--cream .about-block__point { border-color: var(--cream-line); }

.about-block__point {
  padding: var(--s-4) var(--s-4) var(--s-4) 0;
  border-bottom: 1px solid var(--ink-line);
}
@media (min-width: 640px) {
  .about-block__point:nth-child(odd) { padding-right: var(--s-6); border-right: 1px solid var(--ink-line); }
  .about-block__point:nth-child(even) { padding-left: var(--s-6); }
  .about-block__point:nth-last-child(-n+2) { border-bottom: 0; }
}
.about-block__point strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 400;
  margin-bottom: 4px;
  color: inherit;
}
.about-block__point span {
  font-size: 14px;
  color: var(--mute-dark);
  line-height: 1.5;
}
.section--cream .about-block__point span { color: var(--mute-light); }

/* ═══ CTA BLOCK ════════════════════════════════════════════════════════ */
.cta-block {
  padding: clamp(var(--s-20), 12vw, var(--s-32)) 0;
  text-align: center;
}
.cta-block__eyebrow { margin-bottom: var(--s-6); }
.cta-block__title { margin-bottom: var(--s-6); }
.cta-block__sub {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--mute-dark);
  margin-bottom: var(--s-8);
}
.section--cream .cta-block__sub { color: var(--mute-light); }
.cta-block__actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  justify-content: center;
}

/* ═══ FOOTER ═══════════════════════════════════════════════════════════ */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding: var(--s-20) 0 var(--s-8);
  border-top: 1px solid var(--ink-line);
  position: relative;
}
.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-12);
  padding-bottom: var(--s-12);
  border-bottom: 1px solid var(--ink-line);
}
@media (min-width: 768px) { .footer__top { grid-template-columns: 1.2fr 1fr; } }

.footer__brand { max-width: 320px; }
.footer__tagline {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.1;
  color: var(--cream);
  margin-top: var(--s-4);
  font-weight: 400;
}

.footer__nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-8);
}
.footer__col { display: flex; flex-direction: column; gap: var(--s-3); }
.footer__heading {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute-dark);
  margin-bottom: var(--s-2);
}
.footer__col a {
  font-size: 15px;
  color: var(--cream);
  opacity: 0.75;
  transition: opacity var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.footer__col a:hover { opacity: 1; color: var(--amber); }

.footer__bottom {
  padding-top: var(--s-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--s-4);
}
.footer__bottom p {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--mute-dark);
}

/* ═══ BLOG INDEX ══════════════════════════════════════════════════════ */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-10) var(--s-6);
}
@media (min-width: 720px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }

.blog-card {
  display: flex;
  flex-direction: column;
  color: inherit;
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
  padding: 0;
  border: 1px solid var(--ink-line);
  border-radius: var(--r-md);
  background: rgba(251, 246, 235, 0.02);
  height: 100%;
  overflow: hidden;
}
.blog-card:hover {
  transform: translateY(-4px);
  border-color: var(--amber);
  background: rgba(217, 119, 6, 0.04);
}
.blog-card__img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--ink-soft);
  border-bottom: 1px solid var(--ink-line);
}
.blog-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1400ms var(--ease-out);
}
.blog-card:hover .blog-card__img img { transform: scale(1.05); }
.blog-card__body {
  padding: var(--s-6) var(--s-8) var(--s-8);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  flex: 1;
}
.blog-card__category {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  margin: 0;
}
.blog-card__title {
  font-family: var(--serif);
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.1;
  margin: 0;
  color: var(--cream);
}
.blog-card__excerpt {
  font-size: 14px;
  color: var(--mute-dark);
  line-height: 1.6;
  margin: 0;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-3);
  padding-top: var(--s-4);
  border-top: 1px solid var(--ink-line);
}
.blog-card__date {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mute-dark);
}
.blog-card__read {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--amber);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: var(--r-full);
  border: 1px solid rgba(217, 119, 6, 0.35);
  background: rgba(217, 119, 6, 0.08);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
              border-color var(--dur) var(--ease), transform var(--dur) var(--ease-out);
  white-space: nowrap;
}
.blog-card:hover .blog-card__read {
  background: var(--amber);
  color: var(--ink);
  border-color: var(--amber);
  transform: translateX(3px);
}

/* ═══ BLOG ARTICLE ═════════════════════════════════════════════════════ */
.article-post__header-wrap {
  padding: clamp(140px, 16vh, 200px) 0 clamp(var(--s-10), 6vw, var(--s-16));
  border-bottom: 1px solid var(--ink-line);
  background: var(--ink);
  color: var(--cream);
}
.article-post__header { max-width: 1100px; }
.article-post__back {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: var(--s-8);
  transition: color var(--dur-fast) var(--ease);
}
.article-post__back:hover { color: var(--amber-soft); }
.article-post__category {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: var(--s-4);
}
.article-post__title {
  font-family: var(--serif);
  font-size: clamp(40px, 6.5vw, 88px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: var(--s-6);
  color: var(--cream);
  text-wrap: balance;
}
.article-post__subtitle {
  font-size: clamp(18px, 1.5vw, 22px);
  color: var(--mute-dark);
  line-height: 1.45;
  margin-bottom: var(--s-8);
  max-width: 56ch;
}
.article-post__meta {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute-dark);
}

.article-post__hero-img {
  max-width: 1100px;
  margin: clamp(var(--s-10), 5vw, var(--s-14)) auto 0;
  padding: 0 var(--gutter);
}
.article-post__hero-img img {
  width: 100%;
  aspect-ratio: 21 / 10;
  object-fit: cover;
  border-radius: var(--r-md);
  border: 1px solid var(--ink-line);
}

.article-post__content {
  padding: clamp(var(--s-10), 6vw, var(--s-16)) 0 clamp(var(--s-12), 7vw, var(--s-20));
  background: var(--ink);
  color: var(--cream);
}
.article-post__body {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  font-size: 18px;
  line-height: 1.7;
  color: rgba(251, 246, 235, 0.88);
}
.article-post__body p { margin: 0 0 var(--s-6); }
.article-post__body h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--cream);
  margin: var(--s-12) 0 var(--s-6);
  font-weight: 400;
}
.article-post__body h3 {
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--cream);
  margin: var(--s-8) 0 var(--s-3);
  font-weight: 400;
}
.article-post__body h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute-dark);
  margin: 0 0 var(--s-4);
  font-weight: 500;
}
.article-post__body em { color: var(--amber-soft); font-style: italic; }
.article-post__body strong { color: var(--cream); font-weight: 600; }
.article-post__body a {
  color: var(--amber);
  border-bottom: 1px solid rgba(217, 119, 6, 0.4);
  transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.article-post__body a:hover { color: var(--amber-soft); border-bottom-color: currentColor; }
.article-post__body ul,
.article-post__body ol { margin: 0 0 var(--s-6); padding-left: 22px; }
.article-post__body li { margin-bottom: var(--s-3); }
.article-post__body hr {
  border: 0;
  border-top: 1px solid var(--ink-line);
  margin: var(--s-12) 0;
}

.article-post__pullquote {
  max-width: 1100px;
  margin: var(--s-12) auto;
  padding: clamp(var(--s-8), 4vw, var(--s-12)) clamp(var(--s-8), 4vw, var(--s-10));
  border-left: 3px solid var(--amber);
  background: linear-gradient(105deg, rgba(217, 119, 6, 0.07), transparent 60%);
}
.article-post__pullquote p {
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 32px);
  font-style: italic;
  line-height: 1.25;
  color: var(--cream);
  margin: 0;
  text-wrap: balance;
}

.article-post__figure {
  max-width: 1100px;
  margin: var(--s-12) auto;
  padding: 0 var(--gutter);
}
.article-post__figure img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--r-md);
  border: 1px solid var(--ink-line);
}
.article-post__figure figcaption {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute-dark);
  text-align: center;
  margin-top: var(--s-3);
}

.article-post__compare {
  max-width: 1100px;
  margin: var(--s-10) auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
}
@media (min-width: 700px) { .article-post__compare { grid-template-columns: 1fr 1fr; } }
.article-post__compare-col {
  padding: var(--s-6) var(--s-6) var(--s-4);
  border: 1px solid var(--ink-line);
  border-radius: var(--r-md);
  background: rgba(251, 246, 235, 0.02);
}
.article-post__compare-col--yes {
  border-color: rgba(217, 119, 6, 0.35);
  background: rgba(217, 119, 6, 0.05);
}
.article-post__compare-col h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute-dark);
  margin: 0 0 var(--s-4);
  font-weight: 500;
}
.article-post__compare-col--yes h4 { color: var(--amber); }
.article-post__compare-col ul { padding: 0; list-style: none; margin: 0; }
.article-post__compare-col li {
  padding: 10px 0;
  border-bottom: 1px solid var(--ink-line);
  font-size: 14px;
  color: rgba(251, 246, 235, 0.85);
  margin: 0;
}
.article-post__compare-col li:last-child { border-bottom: 0; }

.article-post__cta {
  max-width: 1100px;
  margin: var(--s-14) auto var(--s-8);
  padding: clamp(var(--s-8), 4vw, var(--s-10));
  border: 1px solid rgba(217, 119, 6, 0.35);
  border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.12), rgba(217, 119, 6, 0.03));
  display: flex;
  flex-direction: column;
  gap: var(--s-6);
}
@media (min-width: 700px) {
  .article-post__cta { flex-direction: row; align-items: center; justify-content: space-between; }
  .article-post__cta .hover-btn { flex-shrink: 0; }
}
.article-post__cta-text h2 {
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.15;
  margin-bottom: var(--s-2);
  font-weight: 400;
  color: var(--cream);
  letter-spacing: -0.01em;
}
.article-post__cta-text p { color: var(--mute-dark); max-width: 48ch; margin: 0; font-size: 15px; line-height: 1.5; }

/* ═══ PAGE HEROES (subpages) ══════════════════════════════════════════ */
.page-hero {
  padding: clamp(140px, 18vh, 200px) 0 clamp(60px, 8vw, 100px);
  border-bottom: 1px solid var(--ink-line);
}
.section--cream .page-hero,
.page-hero.section--cream { border-color: var(--cream-line); }
.page-hero__eyebrow { margin-bottom: var(--s-6); }
.page-hero__title {
  margin-bottom: var(--s-4);
}
.page-hero__sub {
  font-size: clamp(17px, 1.4vw, 20px);
  color: var(--mute-dark);
  max-width: 60ch;
}
.section--cream .page-hero__sub { color: var(--mute-light); }
.page-hero__sub a { color: var(--amber); border-bottom: 1px solid currentColor; }
.section--cream .page-hero__sub a { color: var(--amber-dim); }

/* ═══ PRICING PAGE — ADAPTIVE TIER CARDS (3-up with lifted center) ════ */
.tiers {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-6);
  margin-bottom: var(--s-16);
}
@media (min-width: 900px) {
  .tiers {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--s-4);
    align-items: stretch;
    padding-top: var(--s-4);
  }
}

.tier {
  position: relative;
  padding: clamp(var(--s-10), 3.5vw, var(--s-14)) clamp(var(--s-8), 3vw, var(--s-10)) clamp(var(--s-10), 3.5vw, var(--s-14));
  border: 1px solid var(--cream-line);
  border-radius: var(--r-md);
  background: var(--cream);
  display: flex;
  flex-direction: column;
  gap: var(--s-5);
  min-width: 0;
  transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.tier:hover { border-color: var(--mute-light); transform: translateY(-3px); box-shadow: 0 24px 50px -24px rgba(15, 13, 11, 0.15); }

/* Featured/center tier — dark flip with proper breathing room */
.tier--popular {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
  box-shadow: 0 30px 70px -24px rgba(15, 13, 11, 0.35);
}
@media (min-width: 900px) {
  .tier--popular { margin-top: calc(-1 * var(--s-4)); padding-top: calc(var(--s-14) + var(--s-4)); padding-bottom: calc(var(--s-14) + var(--s-4)); }
}
.tier--popular:hover { border-color: var(--amber); transform: translateY(-5px); }

.tier__badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  padding: 6px 14px;
  background: var(--amber);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--r-full);
  font-weight: 500;
  white-space: nowrap;
  box-shadow: 0 8px 20px -6px rgba(217, 119, 6, 0.5);
}

.tier__name {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute-light);
  font-weight: 500;
  margin: 0;
}
.tier--popular .tier__name { color: var(--amber); }

.tier__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0;
}
.tier__starting {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute-light);
  width: 100%;
  margin: 0;
}
.tier--popular .tier__starting { color: var(--mute-dark); }
.tier__amount {
  font-family: var(--serif);
  font-size: clamp(52px, 5.4vw, 76px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--ink);
}
.tier--popular .tier__amount { color: var(--cream); }
.tier__desc {
  font-size: 14px;
  color: var(--mute-light);
  line-height: 1.5;
  margin: 0;
}
.tier--popular .tier__desc { color: var(--mute-dark); }

/* Full-width CTA sits above features — anchor to the offer */
.tier__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 22px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border-radius: var(--r-sm);
  width: 100%;
  white-space: nowrap;
  transition: background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease),
              border-color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
  cursor: pointer;
  margin-top: var(--s-2);
}
.tier__cta::after { content: "→"; transition: transform var(--dur) var(--ease-out); }
.tier__cta:hover::after { transform: translateX(3px); }
.tier__cta--primary { background: var(--amber); color: var(--ink); border: 1px solid var(--amber); }
.tier__cta--primary:hover { background: var(--amber-soft); border-color: var(--amber-soft); transform: translateY(-1px); }
.tier__cta--ghost { background: transparent; color: var(--ink); border: 1px solid rgba(15, 13, 11, 0.2); }
.tier__cta--ghost:hover { background: var(--ink); color: var(--cream); border-color: var(--ink); }

/* Feature list sits below CTA with hairline divider */
.tier__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: var(--s-5) 0 0;
  border-top: 1px solid var(--cream-line);
  flex: 1;
}
.tier--popular .tier__features { border-top-color: var(--ink-line); }
.tier__features li {
  font-size: 14px;
  line-height: 1.45;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--ink);
  padding: 0;
  border: 0;
  margin: 0;
}
.tier--popular .tier__features li { color: var(--cream); }
.tier__features li::before {
  content: "";
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--amber);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10' fill='none'><path d='M2 5.2L4.2 7.4L8 3' stroke='%230f0d0b' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 2px;
}

/* ── Preview banner (Free Preview) ─────────────────────────────────────── */
.preview-banner {
  padding: clamp(var(--s-10), 5.5vw, var(--s-16)) clamp(var(--s-8), 7vw, var(--s-24));
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--r-md);
  margin-bottom: var(--s-12);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: var(--s-8);
}
@media (min-width: 820px) {
  .preview-banner {
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: clamp(var(--s-8), 4vw, var(--s-16));
  }
}
.preview-banner__text {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  position: relative;
  z-index: 2;
}
.preview-banner h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3.2vw, 44px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.015em;
}
.preview-banner h2 em { color: var(--amber); font-style: italic; }
.preview-banner p {
  font-size: 15px;
  color: var(--mute-dark);
  max-width: 52ch;
  line-height: 1.55;
  margin-bottom: var(--s-2);
}

/* Right-side aside: decorative "Free." + CTA underneath */
.preview-banner__aside {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s-6);
  position: relative;
  z-index: 2;
}
@media (min-width: 820px) {
  .preview-banner__aside { align-items: flex-end; }
}
.preview-banner__art {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(90px, 16vw, 200px);
  line-height: 0.88;
  color: var(--amber);
  opacity: 0.2;
  letter-spacing: -0.04em;
  pointer-events: none;
  user-select: none;
  margin: 0;
  display: none;
}
@media (min-width: 820px) { .preview-banner__art { display: block; } }

.preview-banner__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  background: var(--amber);
  color: var(--ink);
  border-radius: var(--r-sm);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
  transition: background var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
  box-shadow: 0 4px 14px -2px rgba(217, 119, 6, 0.4);
}
.preview-banner__cta:hover { background: var(--amber-soft); transform: translateY(-1px); }
.preview-banner__cta::after { content: "→"; transition: transform var(--dur) var(--ease-out); }
.preview-banner__cta:hover::after { transform: translateX(3px); }

/* ── Included — comprehensive feature grid ─────────────────────────────── */
.included {
  margin-top: var(--s-20);
  padding-top: var(--s-12);
  border-top: 1px solid var(--cream-line);
}
.included__header {
  margin-bottom: var(--s-10);
  padding-bottom: var(--s-6);
  border-bottom: 1px solid var(--cream-line);
}
.included h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.05;
}
.included h2 em { color: var(--amber-dim); font-style: italic; }

.included__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--cream-line);
  border: 1px solid var(--cream-line);
  border-radius: var(--r-md);
  overflow: hidden;
}
@media (min-width: 640px) { .included__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .included__grid { grid-template-columns: repeat(3, 1fr); } }

.included__item {
  background: var(--cream);
  padding: var(--s-8) var(--s-6);
  display: flex;
  align-items: flex-start;
  gap: var(--s-4);
  transition: background var(--dur) var(--ease);
  min-height: 120px;
}
.included__item:hover { background: var(--cream-soft); }
.included__item-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--amber);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.included__item-icon svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.included__item-text { display: flex; flex-direction: column; gap: 6px; }
.included__item-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--amber-dim);
  text-transform: uppercase;
}
.included__item-label {
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

/* ═══ PROJECT DETAIL (Work page) ═════════════════════════════════════ */
.project-detail {
  padding: var(--s-16) 0;
  border-bottom: 1px solid var(--ink-line);
}
.section--cream .project-detail { border-bottom-color: var(--cream-line); }
.project-detail__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: var(--s-4);
  padding-bottom: var(--s-8);
  border-bottom: 1px solid var(--ink-line);
  margin-bottom: var(--s-8);
}
.section--cream .project-detail__header { border-bottom-color: var(--cream-line); }
.project-detail__idx {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--amber);
  letter-spacing: 0.1em;
  margin-bottom: var(--s-2);
}
.section--cream .project-detail__idx { color: var(--amber-dim); }
.project-detail__name {
  font-family: var(--serif);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1;
}
.project-detail__type {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute-dark);
  margin-top: var(--s-3);
}
.section--cream .project-detail__type { color: var(--mute-light); }
.project-detail__desc {
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.6;
  max-width: 68ch;
  margin-bottom: var(--s-8);
  color: var(--cream);
}
.section--cream .project-detail__desc { color: var(--ink); }

/* Gallery — staggered editorial grid (masonry-feel via 6-col rhythm) */
.project-detail__gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-3);
  margin-bottom: var(--s-8);
}
.project-detail__gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border: 1px solid var(--ink-line);
  border-radius: var(--r-sm);
  background: var(--ink-soft);
  aspect-ratio: 4 / 3;
  transition: transform 1200ms var(--ease-out);
}
.project-detail__gallery img:hover { transform: scale(1.015); }
.section--cream .project-detail__gallery img { border-color: var(--cream-line); background: var(--cream-soft); }

@media (min-width: 760px) {
  .project-detail__gallery {
    grid-template-columns: repeat(6, 1fr);
    grid-auto-rows: minmax(180px, 1fr);
    gap: var(--s-3);
  }
  .project-detail__gallery img { aspect-ratio: auto; height: 100%; }
  /* Rhythm cycle of 8 images — big hero, twin smalls, half-half, three smalls, then repeat */
  .project-detail__gallery img:nth-child(8n+1) { grid-column: span 4; grid-row: span 2; }
  .project-detail__gallery img:nth-child(8n+2) { grid-column: span 2; }
  .project-detail__gallery img:nth-child(8n+3) { grid-column: span 2; }
  .project-detail__gallery img:nth-child(8n+4) { grid-column: span 3; }
  .project-detail__gallery img:nth-child(8n+5) { grid-column: span 3; }
  .project-detail__gallery img:nth-child(8n+6) { grid-column: span 2; }
  .project-detail__gallery img:nth-child(8n+7) { grid-column: span 2; }
  .project-detail__gallery img:nth-child(8n)   { grid-column: span 2; }
}

/* ═══ FAQ ═════════════════════════════════════════════════════════════ */
.faq-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-16);
}
@media (min-width: 900px) { .faq-list { grid-template-columns: 1fr 1fr; gap: var(--s-12); } }

.faq-col h2 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-dim);
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--cream-line);
  margin-bottom: var(--s-4);
}

.faq-item {
  border-bottom: 1px solid var(--cream-line);
  padding: var(--s-4) 0;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--s-4);
  padding: var(--s-2) 0;
  font-family: var(--serif);
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 400;
  letter-spacing: -0.005em;
  color: var(--ink);
  transition: color var(--dur) var(--ease);
}
.faq-item summary:hover { color: var(--amber-dim); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__icon {
  flex-shrink: 0;
  width: 24px; height: 24px;
  border: 1px solid currentColor;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-size: 0;
  margin-top: 4px;
}
.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  background: currentColor;
}
.faq-item__icon::before { width: 10px; height: 1px; }
.faq-item__icon::after { width: 1px; height: 10px; transition: transform var(--dur) var(--ease); }
.faq-item[open] .faq-item__icon::after { transform: rotate(90deg); }

.faq-item__answer {
  padding: var(--s-4) 0 var(--s-2);
  font-size: 15px;
  line-height: 1.65;
  color: var(--mute-light);
  max-width: 62ch;
}

.faq-cta {
  text-align: center;
  padding: var(--s-16) 0 var(--s-8);
}
.faq-cta p {
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 30px);
  margin-bottom: var(--s-4);
  color: var(--ink);
}

/* ═══ CONTACT PAGE ════════════════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-12);
}
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.1fr; gap: var(--s-16); } }

.contact-left__sub {
  font-size: clamp(16px, 1.2vw, 19px);
  color: var(--mute-dark);
  margin-bottom: var(--s-12);
  max-width: 50ch;
}

.contact-steps {
  display: flex;
  flex-direction: column;
  gap: var(--s-6);
  margin-bottom: var(--s-12);
  padding-top: var(--s-8);
  border-top: 1px solid var(--ink-line);
}
.contact-steps__title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute-dark);
  margin-bottom: 0;
}
.contact-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: var(--s-4);
  align-items: start;
  padding-top: var(--s-3);
  border-top: 1px solid var(--ink-line);
}
.contact-step:first-of-type { border-top: 0; padding-top: 0; }
.contact-step__num {
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1;
  color: var(--amber);
  font-style: italic;
}
.contact-step strong {
  font-family: var(--serif);
  font-size: clamp(18px, 1.5vw, 22px);
  font-weight: 400;
  display: block;
  margin-bottom: var(--s-1);
}
.contact-step p {
  font-size: 14px;
  color: var(--mute-dark);
  line-height: 1.5;
}

.contact-person {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-4) 0;
  border-top: 1px solid var(--ink-line);
}
.contact-person img {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
}
.contact-person__name {
  font-family: var(--serif);
  font-size: 20px;
  display: block;
  margin-bottom: 4px;
}
.contact-person__avail {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mute-dark);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.contact-person__avail::before {
  content: "";
  width: 8px; height: 8px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.2);
  animation: pulse 2.4s infinite;
}

/* Form */
.contact-form {
  padding: var(--s-10) var(--s-6);
  background: var(--cream);
  color: var(--ink);
  border-radius: var(--r-md);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.5);
}
@media (min-width: 640px) { .contact-form { padding: var(--s-12) var(--s-10); } }

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-4);
  margin-bottom: var(--s-4);
}
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.form-group { display: flex; flex-direction: column; margin-bottom: var(--s-4); }
.form-group label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute-light);
  margin-bottom: var(--s-2);
  font-weight: 500;
}
.form-group input,
.form-group textarea,
.form-group select {
  padding: 14px 0;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--cream-line);
  border-radius: 0;
  outline: 0;
  transition: border-color var(--dur) var(--ease);
  appearance: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-bottom-color: var(--amber); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1.5L6 6.5L11 1.5' stroke='%230f0d0b' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 4px center;
  padding-right: 24px;
}

.contact-form__submit {
  margin-top: var(--s-4);
  background: var(--ink);
  color: var(--cream);
  border: 1px solid var(--ink);
}
.contact-form__submit:hover { background: var(--amber); border-color: var(--amber); color: var(--ink); }
.contact-form__note {
  margin-top: var(--s-4);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-align: center;
  color: var(--mute-light);
}

.form-success {
  text-align: center;
  padding: var(--s-8) 0;
}
.form-success h3 {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 400;
  color: var(--amber-dim);
  margin-bottom: var(--s-4);
}
.form-success p { color: var(--mute-light); margin-bottom: var(--s-6); }

/* ═══ ACCESSIBILITY ═════════════════════════════════════════════════════ */
.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;
}
:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: var(--r-sm);
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ═══════════════════════════════════════════════════════════════════════
   MOBILE POLISH (≤760px)
   Targeted fixes — touch targets, readable sizing, spacing, no overflow.
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 760px) {
  html, body { overflow-x: hidden; }

  /* ── Container gutter ── */
  :root { --gutter: 20px; }

  /* ── Nav ── */
  .nav { top: 12px; left: 12px; right: 12px; }
  .nav__inner { padding: 8px 8px 8px 18px; }
  .nav__toggle { width: 44px; height: 44px; }
  .nav__center .nav__link { font-size: 20px; padding: 14px 24px; min-height: 48px; display: inline-flex; align-items: center; }

  /* ── Hero ── */
  .hero { padding: 128px 0 64px; min-height: auto; }
  .hero__title { font-size: clamp(42px, 11vw, 68px); line-height: 0.98; letter-spacing: -0.02em; }
  .hero__sub { font-size: 16px; line-height: 1.55; margin-bottom: 28px; }
  .hero__question { font-size: 12px; letter-spacing: 0.04em; margin-bottom: 20px; white-space: normal; }
  .hero__actions { gap: 10px; }
  .hero__actions .btn { flex: 1; min-width: 0; justify-content: center; padding: 14px 18px; }
  .hero__stats { margin-top: 28px; }
  .hero__stat { padding: 18px 12px 0; }
  .hero__stat-val { font-size: 26px; }
  .hero__stat-label { font-size: 9px; }
  .hero__stat-ctx { font-size: 11px; }

  /* Hero preview controls — bigger touch targets */
  .hero__preview-controls button { width: 44px; height: 44px; }

  /* ── Marquee ── */
  .marquee__track { font-size: 22px; gap: 32px; }
  .marquee__track span { gap: 32px; }

  /* ── Section headers ── */
  .section { padding: clamp(48px, 10vw, 72px) 0; }
  .section-header { padding-bottom: 28px; margin-bottom: 32px; }
  .heading-xl { font-size: clamp(32px, 8.5vw, 48px); }
  .display { font-size: clamp(40px, 11vw, 64px); }

  /* ── Buttons (base + small variant) ── */
  .btn { padding: 14px 20px; font-size: 14px; min-height: 44px; }
  .btn--sm { padding: 13px 20px; font-size: 13px; min-height: 44px; }

  /* Hover buttons — keep both readable, heartbeat contained */
  .hover-btn { padding: 16px 26px; font-size: 15px; min-height: 48px; }
  .hover-btn--ghost { padding: 15px 24px; font-size: 14px; }

  /* ── Trust bar ── */
  .trust { padding: 48px 0; }
  .trust__item { padding: 24px 16px; }
  .trust__item strong { font-size: clamp(18px, 4.5vw, 22px); }
  .trust__item span { font-size: 13px; }

  /* ── Work / project cards ── */
  .work-card__name { font-size: 22px; }
  .work-card__type { font-size: 11px; }
  .work-card__live { font-size: 12px; padding: 10px 0; min-height: 36px; display: inline-flex; align-items: center; }
  .work-card__info { padding-top: 14px; }

  /* About page "What I've built" — 2-col on mobile, compact card typography */
  .work-grid:not(.work-grid--stack) {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 12px;
  }
  .work-grid:not(.work-grid--stack) .work-card__name { font-size: 15px; line-height: 1.15; }
  .work-grid:not(.work-grid--stack) .work-card__type { font-size: 10px; letter-spacing: 0.08em; }
  .work-grid:not(.work-grid--stack) .work-card__live { font-size: 10px; letter-spacing: 0.1em; padding: 8px 0; min-height: 32px; }
  .work-grid:not(.work-grid--stack) .work-card__idx { font-size: 10px; padding: 4px 8px; }
  .work-grid:not(.work-grid--stack) .work-card__info { padding-top: 10px; gap: 8px; }

  /* Project detail header ── prevent tag crowding */
  .project-detail { padding: 48px 0; }
  .project-detail__name { font-size: clamp(30px, 8vw, 44px); }
  .project-detail__type { font-size: 11px; }
  .project-detail__desc { font-size: 15px; line-height: 1.6; }

  /* ── Services / tier packages ── */
  .services__grid { gap: 12px; }
  .service { padding: 32px 24px; }
  .service__name { font-size: clamp(24px, 6vw, 30px); }
  .service__desc { font-size: 14px; }
  .service__includes li { font-size: 14px; padding: 10px 0; }
  .service__price { font-size: 32px; }
  .risk-free { padding: 32px 24px; }
  .risk-free h3 { font-size: clamp(24px, 6vw, 30px); }
  .risk-free p { font-size: 14px; }

  /* Care plan — condensed horizontal layout on mobile */
  .care-plan {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 20px;
    margin-top: var(--s-8);
  }
  .care-plan__text h3 { font-size: 17px; margin-bottom: 2px; }
  .care-plan__text p { font-size: 12px; line-height: 1.4; }
  .care-plan__price { text-align: right; flex-shrink: 0; }
  .care-plan__amount { font-size: 28px; }
  .care-plan__period { font-size: 11px; margin-left: 2px; }
  .care-plan__note { font-size: 9px; letter-spacing: 0.1em; margin-top: 2px; }

  /* ── Pricing tiers ── */
  .tier { padding: 36px 24px; gap: 20px; }
  .tier--popular { margin-top: 20px; }
  .tier__amount { font-size: clamp(48px, 12vw, 64px); }
  .tier__features li { font-size: 14px; }
  .tier__desc { font-size: 14px; }
  .tier__cta { padding: 15px 22px; font-size: 14px; min-height: 48px; }

  /* Preview banner — stacks cleanly */
  .preview-banner { padding: 32px 24px; gap: 24px; }
  .preview-banner h2 { font-size: clamp(24px, 6vw, 30px); }
  .preview-banner p { font-size: 14px; }
  .preview-banner__cta { padding: 14px 22px; min-height: 48px; }

  /* Included grid — 2-col on small, readable */
  .included__header { margin-bottom: 28px; padding-bottom: 16px; }
  .included h2 { font-size: clamp(24px, 6vw, 32px); }
  .included__item { padding: 24px 20px; min-height: 96px; }
  .included__item-label { font-size: 16px; }

  /* ── About — 2×2 grid on mobile, centered CTA ── */
  .about-block { gap: 32px; }
  .about-block__points {
    grid-template-columns: 1fr 1fr;
    gap: 0;
    margin: 24px 0;
  }
  .about-block__point {
    padding: 14px 14px;
    border-bottom: 1px solid var(--ink-line);
  }
  .about-block__point:nth-child(odd) {
    padding-left: 0;
    padding-right: 14px;
    border-right: 1px solid var(--ink-line);
  }
  .about-block__point:nth-child(even) {
    padding-left: 14px;
    padding-right: 0;
    border-right: 0;
  }
  .about-block__point:nth-last-child(-n+2) {
    border-bottom: 0;
  }
  .about-block__point strong { font-size: 15px; margin-bottom: 4px; }
  .about-block__point span { font-size: 12px; line-height: 1.45; }

  /* Center the Work With Me button in the about section */
  .about-block__points + .hover-btn {
    display: flex;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }

  /* ── FAQ ── */
  .faq-item summary { font-size: 17px; padding: 16px 0; min-height: 48px; }
  .faq-item__answer { font-size: 14px; }
  .faq-item__icon { width: 28px; height: 28px; margin-top: 2px; }

  /* ── CTA blocks ── */
  .cta-block--xl .cta-block__title { font-size: clamp(42px, 11vw, 64px); line-height: 1; }
  .cta-block--xl .cta-block__sub { font-size: 17px; }
  .cta-block--xl .cta-block__eyebrow { font-size: 12px; }
  .cta-block__actions { gap: 10px; flex-wrap: wrap; justify-content: center; }
  .cta-block__actions .hover-btn { flex: 1; min-width: 160px; max-width: 280px; }

  /* ── Contact form — upgraded look/feel on mobile ── */
  .contact-form {
    padding: 28px 20px;
    border-radius: var(--r-md);
    box-shadow:
      0 24px 48px -20px rgba(0, 0, 0, 0.4),
      0 8px 20px -12px rgba(0, 0, 0, 0.2);
    position: relative;
  }
  /* Amber accent bar at the top of the form */
  .contact-form::before {
    content: "";
    position: absolute;
    top: 0;
    left: 28px;
    right: 28px;
    height: 3px;
    background: var(--amber);
    border-radius: 0 0 var(--r-sm) var(--r-sm);
  }

  .form-row { gap: 12px; margin-bottom: 14px; }
  .form-group { margin-bottom: 14px; }
  .form-group label {
    font-size: 10px;
    letter-spacing: 0.16em;
    margin-bottom: 8px;
    color: var(--mute-light);
  }

  /* Boxed inputs with subtle fill + amber focus ring */
  .form-group input,
  .form-group textarea,
  .form-group select {
    font-size: 16px;
    padding: 12px 14px;
    background: rgba(15, 13, 11, 0.03);
    border: 1px solid rgba(15, 13, 11, 0.15);
    border-radius: var(--r-sm);
    line-height: 1.3;
    transition: border-color var(--dur) var(--ease),
                background var(--dur) var(--ease),
                box-shadow var(--dur) var(--ease);
  }
  .form-group input::placeholder,
  .form-group textarea::placeholder {
    color: rgba(15, 13, 11, 0.35);
  }
  .form-group input:focus,
  .form-group textarea:focus,
  .form-group select:focus {
    border-color: var(--amber);
    background: rgba(217, 119, 6, 0.05);
    box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.12);
    outline: none;
  }
  .form-group textarea { min-height: 110px; resize: vertical; }
  .form-group select {
    background-color: rgba(15, 13, 11, 0.03);
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1.5L6 6.5L11 1.5' stroke='%230f0d0b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px 8px;
    padding-right: 38px;
  }

  /* Submit button — bigger, stronger, amber hover */
  .contact-form__submit {
    padding: 18px 24px;
    min-height: 54px;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.02em;
    background: var(--ink);
    color: var(--cream);
    border: 1px solid var(--ink);
    border-radius: var(--r-sm);
    margin-top: 14px;
    transition: background var(--dur) var(--ease),
                color var(--dur) var(--ease),
                transform var(--dur-fast) var(--ease);
    cursor: pointer;
  }
  .contact-form__submit:hover,
  .contact-form__submit:active {
    background: var(--amber);
    color: var(--ink);
    border-color: var(--amber);
    transform: translateY(-1px);
  }

  /* Note styled as subtle amber pill */
  .contact-form__note {
    margin-top: 16px;
    padding: 10px 14px;
    background: rgba(217, 119, 6, 0.08);
    border: 1px solid rgba(217, 119, 6, 0.2);
    border-radius: var(--r-sm);
    color: var(--amber-dim);
    font-size: 10.5px;
    letter-spacing: 0.04em;
    text-align: center;
  }
  .contact-person img { width: 48px; height: 48px; }

  /* "What happens next" — vertical timeline with amber badge + connector line */
  .contact-steps {
    padding-top: 28px;
    margin-bottom: 40px;
    border-top: 1px solid var(--ink-line);
  }
  .contact-steps__title {
    font-size: 10px;
    letter-spacing: 0.18em;
    margin-bottom: 24px;
    color: var(--amber);
  }
  .contact-step {
    grid-template-columns: 40px 1fr;
    gap: 18px;
    padding: 0 0 28px;
    border-top: 0;
    position: relative;
    align-items: flex-start;
  }
  .contact-step:first-of-type { padding-top: 0; }
  .contact-step:last-of-type { padding-bottom: 0; }
  /* Vertical connector line between badges */
  .contact-step:not(:last-of-type)::before {
    content: "";
    position: absolute;
    left: 19px;
    top: 44px;
    bottom: -4px;
    width: 2px;
    background: linear-gradient(to bottom, rgba(217, 119, 6, 0.55), rgba(217, 119, 6, 0.1));
    z-index: 0;
  }
  .contact-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    font-family: var(--mono);
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    letter-spacing: 0;
    background: var(--amber);
    color: var(--ink);
    border-radius: 50%;
    box-shadow: 0 6px 16px -6px rgba(217, 119, 6, 0.5);
    position: relative;
    z-index: 2;
    flex-shrink: 0;
  }
  .contact-step strong {
    font-size: 17px;
    line-height: 1.15;
    margin-bottom: 6px;
    color: var(--cream);
  }
  .contact-step p {
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--mute-dark);
  }

  /* ── Footer ── */
  .footer { padding: 56px 0 32px; }
  .footer__top { gap: 32px; padding-bottom: 32px; }
  .footer__tagline { font-size: 22px; }
  .footer__col a { padding: 10px 0; font-size: 15px; min-height: 40px; display: inline-flex; align-items: center; }
  .footer__col { gap: 0; }
  .footer__heading { margin-bottom: 8px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 8px; padding-top: 20px; }
  .footer__bottom p { font-size: 10px; }

  /* ── Blog index — 2-column grid on mobile ── */
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 10px;
  }
  .blog-card__title { font-size: 15px; line-height: 1.15; }
  .blog-card__excerpt { font-size: 12px; line-height: 1.45; -webkit-line-clamp: 3; }
  .blog-card__category { font-size: 9px; letter-spacing: 0.1em; }
  .blog-card__read { padding: 7px 12px; font-size: 11px; min-height: 32px; gap: 4px; }
  .blog-card__date { font-size: 9px; letter-spacing: 0.08em; }
  .blog-card__footer { padding-top: 10px; gap: 8px; flex-wrap: wrap; }
  .blog-card__body { padding: 14px 14px 16px; gap: 8px; }
  .blog-card__img { aspect-ratio: 16 / 11; }

  /* ── Article page ── */
  .article-post__header-wrap { padding: 108px 0 32px; }
  .article-post__back { font-size: 11px; margin-bottom: 24px; padding: 8px 0; min-height: 36px; display: inline-flex; align-items: center; }
  .article-post__category { font-size: 10px; }
  .article-post__title { font-size: clamp(32px, 9vw, 48px); }
  .article-post__subtitle { font-size: 16px; }
  .article-post__meta { gap: 6px 18px; font-size: 10px; }
  .article-post__hero-img { margin-top: 24px; }
  .article-post__hero-img img { aspect-ratio: 16 / 10; }
  .article-post__content { padding: 32px 0 48px; }
  .article-post__body { font-size: 16px; line-height: 1.65; }
  .article-post__body h2 { font-size: clamp(24px, 6vw, 32px); margin-top: 40px; }
  .article-post__body h3 { font-size: clamp(19px, 5vw, 24px); }
  .article-post__pullquote { margin: 32px auto; padding: 24px 20px; }
  .article-post__pullquote p { font-size: clamp(18px, 5vw, 24px); }
  .article-post__figure { margin: 32px auto; }
  .article-post__compare { margin: 32px auto; }
  .article-post__compare-col { padding: 20px 20px 12px; }
  .article-post__compare-col li { font-size: 13px; }
  .article-post__cta { padding: 28px 20px; margin: 40px auto 20px; }
  .article-post__cta-text h2 { font-size: 22px; }
  .article-post__cta-text p { font-size: 14px; }

  /* ── Wall gallery — 3 horizontal scrolling rows, pills overlay the top ── */
  .wall-gallery {
    position: relative;
    height: clamp(490px, 60vh, 560px);
    min-height: auto;
    padding: 0;
    overflow: hidden;
    display: block;
    perspective: none;
  }
  .wall-gallery::before { display: none; } /* hide the vertical vignette */

  /* Hide the desktop column stage */
  .wall-stage { display: none; }

  /* Show horizontal rows filling the full gallery height */
  .wall-rows {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 8px;
    overflow: hidden;
    padding: 12px 0 0;
    z-index: 1;
  }
  .wall-row {
    display: flex;
    overflow: hidden;
    flex-shrink: 0;
  }
  .wall-row__track {
    display: flex;
    gap: 8px;
    width: max-content;
    flex-shrink: 0;
    will-change: transform;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
  }
  .wall-row:nth-child(1) .wall-row__track { animation-name: wall-row-left;  animation-duration: 64s; }
  .wall-row:nth-child(2) .wall-row__track { animation-name: wall-row-right; animation-duration: 56s; }
  .wall-row:nth-child(3) .wall-row__track { animation-name: wall-row-left;  animation-duration: 60s; }
  .wall-row__track img {
    width: 210px;
    height: 150px;
    object-fit: cover;
    object-position: top;
    border-radius: 3px;
    border: 1px solid var(--ink-line);
    background: var(--ink-soft);
    flex-shrink: 0;
  }
  .wall-rows { gap: 10px; }
  @keyframes wall-row-left  { from { transform: translateX(0); }     to { transform: translateX(-50%); } }
  @keyframes wall-row-right { from { transform: translateX(-50%); }  to { transform: translateX(0); } }

  /* Project pills — overlay the top of the scrolling wall, 3×2 grid */
  .wall-nav {
    position: absolute;
    top: clamp(16px, 4vw, 28px);
    left: 12px;
    right: 12px;
    bottom: auto;
    z-index: 12;
    padding: 0;
    gap: 10px;
    align-items: stretch;
  }
  .wall-nav__row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    width: 100%;
  }
  .wall-nav a {
    padding: 8px 10px;
    gap: 6px;
    min-width: 0;
    min-height: auto;
    background: rgba(15, 13, 11, 0.82);
    justify-content: flex-start;
  }
  .wall-nav__info { gap: 2px; line-height: 1.1; min-width: 0; flex: 1; }
  .wall-nav__name {
    font-size: 11px;
    letter-spacing: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .wall-nav__type {
    font-size: 8.5px;
    letter-spacing: 0.08em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .wall-nav__num { font-size: 9px; letter-spacing: 0.12em; flex-shrink: 0; }
  .wall-nav__hint {
    padding: 6px 14px;
    font-size: 9.5px;
    letter-spacing: 0.14em;
    gap: 8px;
  }
  .wall-nav__hint-arrow { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .wall-row__track { animation: none !important; }
}

/* Hide the mobile-only rows on larger screens */
@media (min-width: 761px) {
  .wall-rows { display: none; }
}

@media (max-width: 760px) {

  /* ── Page heroes (subpages) ── */
  .page-hero { padding: 108px 0 48px; }
  .page-hero__sub { font-size: 16px; }

  /* ── Project index (if used) ── */
  .projects-index__name { font-size: 22px; }
  .projects-index__live { padding: 8px 0; min-height: 36px; display: inline-flex; align-items: center; }

  /* Included grid — 3 columns on mobile, stacked icon+label per cell */
  .included__grid { grid-template-columns: repeat(3, 1fr); }
  .included__item {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 18px 10px;
    min-height: auto;
    gap: 10px;
  }
  .included__item-icon { width: 32px; height: 32px; }
  .included__item-icon svg { width: 14px; height: 14px; }
  .included__item-text { gap: 4px; align-items: center; min-width: 0; }
  .included__item-num { font-size: 9px; }
  .included__item-label { font-size: 12px; line-height: 1.2; }
}

/* ── Read-more button + tier carousel (mobile only) ───────────────────── */
.tier__read-more,
.service__read-more {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(15, 13, 11, 0.35);
  border-radius: var(--r-sm);
  background: rgba(15, 13, 11, 0.03);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  width: auto;
  align-self: flex-start;
  margin: 10px 0 16px;
  transition: background var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease);
}
.tier__read-more:hover,
.service__read-more:hover {
  background: rgba(15, 13, 11, 0.04);
  border-color: rgba(15, 13, 11, 0.35);
}
.tier__read-more::after,
.service__read-more::after {
  content: "↓";
  transition: transform var(--dur) var(--ease);
  font-size: 12px;
}
.tier.is-expanded .tier__read-more::after,
.service.is-expanded .service__read-more::after {
  transform: rotate(180deg);
}
/* Dark-surface variants — flip button colors (popular tier, featured service) */
.tier--popular .tier__read-more,
.service--featured .service__read-more {
  border-color: rgba(251, 246, 235, 0.35);
  color: var(--cream);
}
.tier--popular .tier__read-more:hover,
.service--featured .service__read-more:hover {
  background: rgba(251, 246, 235, 0.08);
  border-color: rgba(251, 246, 235, 0.55);
}

.tiers__dots { display: none; }

@media (max-width: 760px) {
  /* Tiers horizontal swipe carousel */
  .tiers {
    position: relative;
    display: flex !important;
    grid-template-columns: none !important;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 14px;
    padding: 14px var(--gutter) 20px;
    margin: 0 calc(var(--gutter) * -1) 0;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    align-items: stretch;
  }
  .tiers::-webkit-scrollbar { display: none; }
  .tiers .tier {
    flex: 0 0 calc(100vw - 100px);
    max-width: 320px;
    scroll-snap-align: center;
    margin: 0 !important;
    padding: 36px 22px 32px !important;
  }
  .tier--popular {
    padding-top: 44px !important;
    /* Layered shadows for a smooth, non-banded falloff into the dots below */
    box-shadow:
      0 8px 20px -6px rgba(15, 13, 11, 0.28),
      0 22px 40px -12px rgba(15, 13, 11, 0.18),
      0 40px 70px -20px rgba(15, 13, 11, 0.08);
  }
  /* Give the carousel some extra bottom padding so the shadow can dissipate fully */
  .tiers { padding-bottom: 40px; }
  .tiers__dots { margin-top: -8px; }

  .tiers__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 0 0 24px;
  }
  .tiers__dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(15, 13, 11, 0.22);
    cursor: pointer;
    transition: background 300ms var(--ease), width 300ms var(--ease);
  }
  .tiers__dot.is-active {
    background: var(--amber-dim);
    width: 24px;
    border-radius: 4px;
  }

  /* Show read-more buttons + hide feature lists by default */
  .tier__read-more,
  .service__read-more {
    display: inline-flex !important;
    width: auto;
    padding: 8px 14px;
    font-size: 10.5px;
    margin: 10px 0 16px;
    align-self: flex-start;
  }
  /* Pricing tier: full card width + sits above the Get Started CTA */
  .tier__read-more {
    display: flex !important;
    width: 100%;
    align-self: stretch;
    justify-content: space-between;
    margin: 8px 0 10px;
  }
  .tier__features,
  .service__includes { display: none; margin-top: 0; }
  .tier.is-expanded .tier__features,
  .service.is-expanded .service__includes {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 14px;
    padding-top: 16px;
    border-top: 1px solid var(--cream-line);
  }
  .tier--popular.is-expanded .tier__features {
    border-top-color: var(--ink-line);
  }
  /* Hide top-border in tier__features since we add one via is-expanded */
  .tiers .tier__features { border-top: 0; padding-top: 0; }
}

/* ── Services horizontal swipe carousel (mobile only, home page) ── */
.services__dots { display: none; }

@media (max-width: 899px) {
  .services__grid {
    display: flex !important;
    grid-template-columns: none !important;
    overflow-x: auto;
    overflow-y: visible;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 14px;
    padding: 14px var(--gutter) 24px;
    margin: 0 calc(var(--gutter) * -1);
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .services__grid::-webkit-scrollbar { display: none; }
  .services__grid .service {
    flex: 0 0 min(84vw, 340px);
    scroll-snap-align: center;
    margin: 0;
    position: relative;
  }
  /* Featured badge — anchor inside card (not floating above) */
  .services__grid .service__badge {
    position: static;
    transform: none;
    align-self: flex-start;
    margin-bottom: 14px;
    top: auto;
    left: auto;
  }

  .services__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 4px;
    padding-bottom: 8px;
  }
  .services__dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(15, 13, 11, 0.22);
    cursor: pointer;
    transition: background 300ms var(--ease), width 300ms var(--ease);
  }
  .services__dot.is-active {
    background: var(--amber-dim);
    width: 24px;
    border-radius: 4px;
  }
}

/* ── Card-stack carousel (home-page Recent Work, mobile only) ── */
.work-grid--stack__dots { display: none; }
@media (max-width: 760px) {
  .work-grid--stack {
    display: block !important;
    position: relative;
    width: 100%;
    max-width: 360px;
    height: 380px;
    margin: 0 auto;
    padding: 0 0 24px;
    perspective: 1200px;
    touch-action: pan-y;
    user-select: none;
    overflow: visible;
  }
  .work-grid--stack .work-card {
    position: absolute;
    top: 0;
    left: 50%;
    width: min(86vw, 300px);
    margin: 0;
    transform-origin: 50% 90%;
    --off: 0;
    --abs: 0;
    transform:
      translate(-50%, 0)
      translateZ(calc(var(--abs) * -130px))
      rotateZ(calc(var(--off) * 9deg))
      scale(calc(1 - var(--abs) * 0.04));
    opacity: 1;
    pointer-events: none;
    z-index: calc(100 - var(--abs, 0));
    transition:
      transform 560ms cubic-bezier(0.22, 1, 0.36, 1),
      opacity 360ms ease,
      filter 360ms ease,
      visibility 360ms;
    will-change: transform, opacity;
    backface-visibility: hidden;
  }
  .work-grid--stack .work-card[data-abs="0"] {
    pointer-events: auto;
    filter: brightness(1);
  }
  .work-grid--stack .work-card[data-abs="1"] { filter: brightness(0.6); }
  .work-grid--stack .work-card[data-abs="2"] { filter: brightness(0.4); }
  .work-grid--stack .work-card[data-abs="3"],
  .work-grid--stack .work-card[data-abs="4"],
  .work-grid--stack .work-card[data-abs="5"] {
    opacity: 0;
    visibility: hidden;
  }

  /* Only active card shows its meta row — prevents text from all cards stacking */
  .work-grid--stack .work-card .work-card__info {
    opacity: 0;
    visibility: hidden;
    transition: opacity 300ms var(--ease), visibility 300ms;
    align-items: flex-start;
    padding-top: var(--s-4);
  }
  .work-grid--stack .work-card[data-abs="0"] .work-card__info {
    opacity: 1;
    visibility: visible;
  }
  .work-grid--stack .work-card__live {
    padding-top: 18px;
  }

  /* Disable default card hover lift so it doesn't fight the stack transform */
  .work-grid--stack .work-card:hover {
    transform:
      translate(-50%, 0)
      translateZ(calc(var(--abs) * -130px))
      rotateZ(calc(var(--off) * 9deg))
      scale(calc(1 - var(--abs) * 0.04));
  }
  /* Keep image inside card frame on hover too — no zoom in stack */
  .work-grid--stack .work-card:hover .work-card__frame img { transform: none; }

  /* Indicator dots */
  .work-grid--stack__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 110;
  }
  .work-grid--stack__dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(251, 246, 235, 0.25);
    transition: background 300ms var(--ease), width 300ms var(--ease);
    cursor: pointer;
  }
  .work-grid--stack__dot.is-active {
    background: var(--amber);
    width: 24px;
    border-radius: 4px;
  }

  /* While grabbing, lighten transition so drag feels direct */
  .work-grid--stack.is-dragging .work-card {
    transition: none;
  }
}

/* ── Extra-small phones (≤400px) ── */
@media (max-width: 400px) {
  .hero__title { font-size: 40px; }
  .display { font-size: 36px; }
  .cta-block--xl .cta-block__title { font-size: 36px; }
  .tier__amount { font-size: 44px; }
  .section { padding: 40px 0; }
}

/* ── Skip link (keyboard + screen reader) ── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 9999;
  padding: 12px 20px;
  background: var(--ink, #0f0d0b);
  color: var(--cream, #fbf6eb);
  font-family: var(--font-mono, 'JetBrains Mono', monospace);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: 8px;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 16px;
  outline: 2px solid var(--accent, #e85f3a);
  outline-offset: 2px;
}

/* ── Legal-page prose (privacy / terms / accessibility) ── */
.legal-page { padding-top: 40px; }
.legal-body { max-width: 760px; margin: 0 auto; }
.legal-body h2 {
  font-family: var(--font-display, 'Instrument Serif', serif);
  font-size: 32px;
  line-height: 1.2;
  margin: 48px 0 16px;
  color: var(--ink, #0f0d0b);
}
.legal-body h3 {
  font-family: var(--font-sans, 'Plus Jakarta Sans', sans-serif);
  font-size: 20px;
  font-weight: 600;
  margin: 32px 0 12px;
  color: var(--ink, #0f0d0b);
}
.legal-body p { margin: 0 0 16px; line-height: 1.7; }
.legal-body ul, .legal-body ol { margin: 0 0 16px; padding-left: 24px; line-height: 1.7; }
.legal-body li { margin-bottom: 8px; }
.legal-body code {
  background: rgba(15,13,11,0.06);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.9em;
}
.legal-body a { color: var(--accent, #e85f3a); text-decoration: underline; text-underline-offset: 3px; }
.legal-body a:hover { text-decoration: none; }
.legal-footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(15,13,11,0.12);
  font-size: 14px;
  opacity: 0.7;
}
@media (max-width: 760px) {
  .legal-body h2 { font-size: 26px; margin: 36px 0 12px; }
  .legal-body h3 { font-size: 18px; }
  .legal-body p, .legal-body li { font-size: 15px; }
}
