/* ============ Custom font: Blauer Nue (Heavy=900, Extrabold=800, Medium=500) ============ */
@font-face {
  font-family: "Blauer Nue";
  src: url("fonts/BlauerNue-Heavy.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Blauer Nue";
  src: url("fonts/BlauerNue-HeavyItalic.otf") format("opentype");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Blauer Nue";
  src: url("fonts/BlauerNue-Extrabold.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Blauer Nue";
  src: url("fonts/BlauerNue-ExtraboldItalic.otf") format("opentype");
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Blauer Nue";
  src: url("fonts/BlauerNue-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Blauer Nue";
  src: url("fonts/BlauerNue-MediumItalic.otf") format("opentype");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

/* ============ Tokens ============ */
:root {
  --bg: #FFFFFF;
  --ink: #1A1A1A;
  --ink-soft: #2C2C2C;
  --accent: #2A283C;
  --accent-soft: rgba(42, 40, 60, 0.08);
  --accent-line: rgba(42, 40, 60, 0.14);
  --muted: #8A9399;
  --muted-line: #E6E4DD;
  --cream: #F6F4EE;
  --serif: "Blauer Nue", "Source Serif Pro", Georgia, serif;
  --sans: "Public Sans", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --radius: 2px;
  --maxw: 1280px;

  /* Major-third type scale (1.25 ratio, anchored at 16px body) */
  --fs-10: 8px;
  --fs-13: 13px;
  --fs-16: 16px;
  --fs-20: 20px;
  --fs-25: 25px;
  --fs-31: 31px;
  --fs-39: 39px;
  --fs-49: 49px;
  --fs-61: 61px;
  --fs-76: 80px;
  --fs-95: 95px;

  /* Letter-spacing tiers — tighter at larger sizes */
  --ls-h1: -0.02em;   /* -2% */
  --ls-h3: -0.015em;  /* -1.5% */
  --ls-h6: -0.005em;  /* -0.5% */
  --ls-body: normal;  /* default */

  /* Line-height tiers — tighter at larger sizes */
  --lh-h1: 1.0;       /* 100% */
  --lh-h2: 1.1;       /* 110% */
  --lh-h4: 1.3;       /* 130% */
  --lh-body: 1.5;     /* 150% */

  /* Grid system: 12 cols (desktop) / 8 cols (tablet ≤1100) / 4 cols (mobile ≤720) */
  --grid-cols: 12;
  --grid-gap: 24px;

  /* Reusable diagonal navy→lavender gradient for display headlines */
  --grad-navy-display: linear-gradient(135deg,
    #0A0813 0%,
    #1A1828 12%,
    #2A283C 26%,
    #3D3656 42%,
    #524773 56%,
    #6E6193 70%,
    #897BAA 84%,
    #A498C2 100%);

  /* 8-point spacing scale — every value is a multiple of 8 */
  --sp-1:  8px;
  --sp-2:  16px;
  --sp-3:  24px;
  --sp-4:  32px;
  --sp-5:  40px;
  --sp-6:  48px;
  --sp-7:  56px;
  --sp-8:  64px;
  --sp-9:  72px;
  --sp-10: 80px;
  --sp-11: 88px;
  --sp-12: 96px;
  --sp-14: 112px;
  --sp-16: 128px;
  --sp-18: 144px;
  --sp-20: 160px;
  --sp-22: 176px;
  --sp-24: 192px;
}

/* Grid system breakpoint adjustments */
@media (max-width: 1100px) {
  :root { --grid-cols: 8; }
}
@media (max-width: 720px) {
  :root { --grid-cols: 4; }
}

/* Universal section-grid base — every multi-col layout uses repeat(--grid-cols, 1fr) */
.area-grid,
.costco-spread,
.about-grid,
.svc-grid,
.svc-foot,
.quote-grid,
.footer-grid {
  display: grid;
  grid-template-columns: repeat(var(--grid-cols), 1fr);
  column-gap: var(--grid-gap);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

/* ============ Section reveal ============ */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 24px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn--lg { padding: 16px 32px; font-size: 13px; letter-spacing: 0.16em; }
.btn--block { width: 100%; justify-content: center; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: #1d1c2c; }

/* White button — replaces former ghost buttons. Navy text on white fill. */
.btn--white {
  background: #ffffff;
  color: var(--accent);
  border: 1px solid rgba(42, 40, 60, 0.12);
  box-shadow: 0 1px 3px rgba(42, 40, 60, 0.06);
}
.btn--white:hover {
  background: var(--cream);
  border-color: rgba(42, 40, 60, 0.22);
  box-shadow: 0 2px 6px rgba(42, 40, 60, 0.10);
}
/* Light variant for use on dark hero imagery — no border needed */
.btn--white-on-dark {
  background: #ffffff;
  color: var(--accent);
  border: 1px solid #ffffff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}
.btn--white-on-dark:hover {
  background: var(--cream);
  border-color: var(--cream);
}

/* Text-style link CTA */
.text-link {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--accent);
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 8px 0;
  position: relative;
  transition: gap 220ms cubic-bezier(0.16, 1, 0.3, 1);
  background: transparent;
  border: 0;
  cursor: pointer;
}
.text-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: rgba(42, 40, 60, 0.30);
  transition: background 200ms ease, height 220ms ease;
}
.text-link:hover { gap: 16px; }
.text-link:hover::after { background: var(--accent); height: 2px; }
.text-link--lg { font-size: 16px; padding: 8px 0 8px; }
.text-link--light { color: #fff; }
.text-link--light::after { background: rgba(255, 255, 255, 0.45); }
.text-link--light:hover::after { background: #fff; height: 2px; }

/* ============ Section head ============ */
.kicker {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  /* Tight to sec-title (related — kicker introduces title) */
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
}
.kicker::before {
  content: "";
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.sec-title {
  font-family: "Blauer Nue", "Source Serif Pro", Georgia, serif;
  font-weight: 500;
  font-variation-settings: normal;
  font-size: clamp(31px, 5vw, 61px);
  line-height: var(--lh-h2);
  letter-spacing: var(--ls-h3);
  margin: 0 0 24px;
  color: var(--ink);
  text-wrap: balance;
}
.sec-title em {
  font-family: "Blauer Nue", "Source Serif Pro", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-variation-settings: normal;
  color: var(--accent);
}

/* Services section title — promoted to h1 visual treatment (Extrabold) */
.services .sec-title {
  font-weight: 800;
  letter-spacing: var(--ls-h1);
  line-height: var(--lh-h1);
  font-size: clamp(49px, 5.8vw, 76px);
}
.services .sec-title em {
  font-weight: 800;
}

.sec-lead {
  font-size: 20px;
  line-height: var(--lh-body);
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0 0 48px;
}
.sec-head { margin-bottom: 64px; }
.sec-head--center { text-align: center; }
.sec-head--center .kicker { justify-content: center; }
.sec-head--center .sec-lead { margin-left: auto; margin-right: auto; }

/* ============ Nav ============ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background .25s ease, border-color .25s ease, padding .25s ease;
  padding: 16px 0;
}
.nav--solid {
  background: rgba(246, 244, 238, 0.96); /* cream-tinted */
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(42, 40, 60, 0.08);
  padding: 16px 0;
}
.nav-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo { display: flex; align-items: center; gap: 16px; }
.logo--draw svg path {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: logoDraw 700ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.logo--draw svg path:nth-of-type(1) { animation-delay: 200ms; }
.logo--draw svg path:nth-of-type(2) { animation-delay: 380ms; }
.logo--draw svg path:nth-of-type(3) { animation-delay: 540ms; }
.logo--draw svg path:nth-of-type(4) { animation-delay: 640ms; }
@keyframes logoDraw {
  to { stroke-dashoffset: 0; }
}
.logo--draw .logo-text {
  animation: logoTextFade 600ms cubic-bezier(0.16, 1, 0.3, 1) 720ms both;
}
@keyframes logoTextFade {
  from { opacity: 0; transform: translate3d(-4px, 0, 0); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .logo--draw svg path,
  .logo--draw .logo-text {
    animation: none !important;
    stroke-dashoffset: 0;
    opacity: 1;
    transform: none;
  }
}
.logo-text { display: flex; flex-direction: column; line-height: var(--lh-h1); }
.logo-name {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: var(--ls-h6);
}
.logo-sub {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 4px;
}
.nav-links {
  display: flex;
  gap: 32px;
  margin: 0 auto;
}
.nav-link {
  font-size: 13px;
  color: var(--ink);
  letter-spacing: 0.01em;
  position: relative;
  padding: 4px 0;
}
.nav-link::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav-link:hover::after { transform: scaleX(1); }

.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-phone {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 500; color: var(--accent);
}
.nav-phone:hover { color: var(--ink); }

.nav-burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; gap: 4px; flex-direction: column; }
.nav-burger span { display: block; width: 24px; height: 2px; background: var(--ink); }
.nav-mobile { display: none; }

@media (max-width: 960px) {
  .nav-links, .nav-cta .btn, .nav-phone { display: none; }
  .nav-burger { display: inline-flex; }
  .nav-cta { margin-left: auto; }
  .nav-mobile {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px 32px;
    background: #fff;
    border-top: 1px solid var(--muted-line);
  }
  .nav-mobile a { font-size: 20px; font-family: var(--serif); }
  .nav-mobile-phone { color: var(--accent); font-weight: 500; }
}

/* ============ Hero ============ */
/* ============ Hero — editorial split ============ */
.hero {
  position: relative;
  background: #FFFFFF;
  isolation: isolate;
  border-bottom: 1px solid var(--muted-line);
}
.hero-stage {
  display: grid;
  grid-template-columns: 5fr 7fr;
  min-height: 92vh;
}
.hero-media {
  position: relative;
  margin: 0;
  overflow: hidden;
  z-index: 0;
}
.hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 60%;
  display: block;
  will-change: transform;
}
/* Cafe lights — soft warm glow points that flicker over the hero photo */
.hero-lights {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  mix-blend-mode: screen;
}
.hero-light {
  position: absolute;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 218, 138, 0.95) 0%,
    rgba(255, 198, 100, 0.55) 30%,
    rgba(255, 184, 80, 0.18) 55%,
    transparent 75%
  );
  filter: blur(1px);
  will-change: opacity;
}
.hero-light--1 { top: 32%; left: 33.5%; animation: heroFlicker1 2.8s ease-in-out 0s infinite; }
.hero-light--2 { top: 30.5%; left: 39%; animation: heroFlicker2 2.1s ease-in-out 0.4s infinite; }
.hero-light--3 { top: 31%; left: 44.5%; animation: heroFlicker3 3.4s ease-in-out 0.9s infinite; }
.hero-light--4 { top: 30%; left: 50%; animation: heroFlicker4 1.9s ease-in-out 0.2s infinite; }
.hero-light--5 { top: 31.5%; left: 56%; animation: heroFlicker1 2.4s ease-in-out 1.2s infinite; }
.hero-light--6 { top: 30%; left: 61.5%; animation: heroFlicker2 3.0s ease-in-out 0.6s infinite; }
.hero-light--7 { top: 31%; left: 67%; animation: heroFlicker3 2.2s ease-in-out 1.8s infinite; }
.hero-light--8 { top: 32%; left: 72.5%; animation: heroFlicker4 2.7s ease-in-out 0.3s infinite; }
.hero-light--9 { top: 33%; left: 78%; animation: heroFlicker1 3.2s ease-in-out 1.5s infinite; }
@keyframes heroFlicker1 {
  0%, 100% { opacity: 0.92; }
  35%      { opacity: 0.74; }
  70%      { opacity: 0.98; }
}
@keyframes heroFlicker2 {
  0%, 100% { opacity: 0.96; }
  25%      { opacity: 0.82; }
  60%      { opacity: 0.7; }
  85%      { opacity: 1; }
}
@keyframes heroFlicker3 {
  0%, 100% { opacity: 1; }
  40%      { opacity: 0.78; }
  55%      { opacity: 0.95; }
}
@keyframes heroFlicker4 {
  0%, 100% { opacity: 0.88; }
  20%      { opacity: 1; }
  50%      { opacity: 0.72; }
  80%      { opacity: 0.94; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-light { animation: none !important; opacity: 0.85; }
}

.hero-scrim {
  position: absolute; inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg,
      rgba(20, 18, 32, 0.30) 0%,
      rgba(20, 18, 32, 0.04) 30%,
      rgba(20, 18, 32, 0.10) 75%,
      rgba(20, 18, 32, 0.55) 100%
    );
}

/* Photo caption, bottom-right of photo column */
.hero-photo-cap {
  position: absolute;
  z-index: 3;
  right: clamp(18px, 2vw, 28px);
  bottom: clamp(18px, 2.5vh, 24px);
  display: inline-flex;
  align-items: baseline;
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.78);
  pointer-events: none;
  padding: 8px 16px;
  background: rgba(20, 18, 32, 0.32);
  backdrop-filter: blur(4px);
  border-radius: 2px;
}
.hero-photo-cap em {
  font-style: italic;
  color: rgba(255, 255, 255, 0.95);
  font-size: 13px;
  margin-right: 2px;
}
.hero-photo-cap-sep {
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.42);
}

/* Left column — editorial content */
.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(96px, 11vh, 120px) clamp(40px, 5vw, 80px) clamp(40px, 5vh, 56px);
  background: #FFFFFF;
}

/* Kicker */
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  /* Tight to headline — they're directly related */
  margin-bottom: clamp(16px, 2.4vh, 24px);
}
.hero-kicker-tick {
  width: 40px;
  height: 1px;
  background: #C9A57F;
  flex-shrink: 0;
}
.hero-kicker-text {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Headline — Blauer Nue Heavy display */
.hero-headline {
  font-family: "Blauer Nue", "Source Serif Pro", Georgia, serif;
  font-weight: 800;
  font-variation-settings: normal;
  font-size: clamp(44px, 5.8vw, 88px);
  line-height: var(--lh-h1);
  letter-spacing: var(--ls-h1);
  margin: 0 0 clamp(32px, 4vh, 48px);
  text-wrap: balance;
  max-width: 18ch;
  text-transform: none;
  /* Diagonal navy gradient across the entire headline */
  background: var(--grad-navy-display);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
}
.hero-headline em {
  font-family: "Blauer Nue", "Source Serif Pro", Georgia, serif;
  font-style: italic;
  font-weight: 800;
  font-variation-settings: normal;
  /* Richer diagonal gradient — see --grad-navy-display token */
  background: var(--grad-navy-display);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
}

/* CTA row */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: clamp(24px, 3.5vh, 40px);
}

/* Inline credentials block — editorial deck */
.hero-credentials {
  padding-top: clamp(24px, 3vh, 32px);
  border-top: 1px solid rgba(42, 40, 60, 0.14);
}
.hero-cred-line {
  display: flex;
  align-items: baseline;
  gap: clamp(18px, 2vw, 26px);
  margin-bottom: clamp(18px, 2.6vh, 24px);
}
.hero-cred-num {
  font-family: var(--serif);
  font-variation-settings: "opsz" 72;
  font-size: clamp(49px, 6vw, 76px);
  font-weight: 400;
  letter-spacing: var(--ls-h1);
  line-height: 0.85;
  color: var(--accent);
  flex-shrink: 0;
}
.hero-cred-prose {
  font-family: var(--serif);
  font-size: clamp(13px, 1.15vw, 16px);
  line-height: var(--lh-h4);
  color: var(--ink-soft);
  text-wrap: pretty;
  max-width: 38ch;
  padding-bottom: 8px;
}
.hero-cred-prose em {
  font-style: italic;
  color: var(--accent);
  letter-spacing: 0.005em;
}
.hero-cred-foot {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(42, 40, 60, 0.58);
}
.hero-cred-key { color: rgba(42, 40, 60, 0.58); }
.hero-cred-license-num {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-feature-settings: "tnum" 1;
  font-weight: 600;
}
.hero-cred-sep {
  color: rgba(42, 40, 60, 0.28);
}

/* Odometer counter — 0 -> 850 rAF roll */
.odometer {
  display: inline-flex;
  align-items: baseline;
  line-height: 0.9;
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}
.odo-num {
  display: inline-block;
  /* tabular-nums keeps width steady as the digit count grows 0 -> 850 */
  min-width: 2.4ch;
  text-align: right;
}
.odo-suffix {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.18em);
  transition: opacity 360ms cubic-bezier(0.16, 1, 0.3, 1) 80ms,
              transform 360ms cubic-bezier(0.16, 1, 0.3, 1) 80ms;
}
.odometer--done .odo-suffix {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .odo-suffix { opacity: 1; transform: none; transition: none; }
}
/* ===== Hero entrance motion + ambient cycles ===== */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translate3d(0, 16px, 0); }
  to   { opacity: 1; transform: none; }
}
@keyframes heroImageEnter {
  from { opacity: 0; transform: scale(1.06) translate3d(0, 0, 0); }
  to   { opacity: 1; transform: scale(1) translate3d(0, 0, 0); }
}
@keyframes heroKenBurns {
  0%   { transform: scale(1) translate3d(0, 0, 0); }
  50%  { transform: scale(1.05) translate3d(-1.2%, -1.0%, 0); }
  100% { transform: scale(1) translate3d(0, 0, 0); }
}
@keyframes heroItalicSettle {
  from { opacity: 0; transform: translate3d(0, 8px, 0); }
  to   { opacity: 1; transform: none; }
}

.hero .hero-media img {
  animation:
    heroImageEnter 1300ms cubic-bezier(0.16, 1, 0.3, 1) both,
    heroKenBurns 60s ease-in-out 1.3s infinite both;
  will-change: transform;
}
.hero-kicker        { animation: heroFadeUp 720ms cubic-bezier(0.16, 1, 0.3, 1) both; animation-delay: 240ms; }
.hero-headline      { animation: heroFadeUp 880ms cubic-bezier(0.16, 1, 0.3, 1) both; animation-delay: 340ms; }
.hero-headline em {
  display: inline-block;
  animation: heroItalicSettle 800ms cubic-bezier(0.16, 1, 0.3, 1) 540ms both;
}
.hero-actions       { animation: heroFadeUp 720ms cubic-bezier(0.16, 1, 0.3, 1) both; animation-delay: 540ms; }
.hero-credentials   { animation: heroFadeUp 760ms cubic-bezier(0.16, 1, 0.3, 1) both; animation-delay: 680ms; }
.hero-photo-cap     { animation: heroFadeUp 720ms cubic-bezier(0.16, 1, 0.3, 1) both; animation-delay: 880ms; }

@media (prefers-reduced-motion: reduce) {
  .hero .hero-media img,
  .hero-kicker,
  .hero-headline,
  .hero-headline em,
  .hero-actions,
  .hero-credentials,
  .hero-photo-cap {
    animation: none !important;
  }
}

/* ===== Mobile / responsive ===== */
.show-mobile { display: none; }

/* Tablet — narrow content column, keep split */
@media (max-width: 1100px) {
  .hero-stage { grid-template-columns: 6fr 6fr; min-height: 100vh; }
  .hero-content { padding: clamp(80px, 12vh, 112px) clamp(28px, 4vw, 56px) clamp(40px, 6vh, 64px); }
  .hero-headline { font-size: clamp(36px, 4.6vw, 60px); }
  .hero-cred-num { font-size: clamp(39px, 4.8vw, 61px); }
}

/* Phone / small tablet — stack: photo on top, content below */
@media (max-width: 880px) {
  .hero-stage {
    grid-template-columns: 1fr;
    min-height: auto;
    max-height: none;
  }
  .hero-media {
    order: -1;
    min-height: 360px;
    height: 50vh;
    max-height: 480px;
  }
  .hero-content {
    padding: clamp(40px, 6vh, 56px) clamp(20px, 5vw, 32px) clamp(40px, 6vh, 56px);
  }
  .hero-headline { font-size: clamp(36px, 6.4vw, 56px); max-width: 22ch; }
  .hero-cred-num { font-size: clamp(39px, 6.6vw, 49px); }
  .hero-photo-cap {
    right: clamp(14px, 4vw, 20px);
    bottom: clamp(14px, 2vh, 18px);
  }
}

@media (max-width: 720px) {
  .hide-mobile { display: none !important; }
  .show-mobile { display: inline; }

  .hero-media {
    min-height: 320px;
    height: 44vh;
  }
  .hero-content {
    padding: 40px 24px 44px;
  }
  .hero-kicker { gap: 8px; margin-bottom: 24px; }
  .hero-kicker-tick { width: 24px; }
  .hero-kicker-text {
    font-size: 10px;
    letter-spacing: 0.14em;
  }

  .hero-headline {
    font-size: clamp(34px, 9vw, 48px);
    line-height: var(--lh-h2);
    margin-bottom: 24px;
    max-width: none;
  }

  .hero-actions {
    gap: 16px;
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 32px;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-credentials { padding-top: 24px; }
  .hero-cred-line { gap: 16px; margin-bottom: 16px; }
  .hero-cred-num { font-size: 49px; }
  .hero-cred-prose { font-size: 13px; line-height: var(--lh-h4); }
  .hero-cred-foot {
    font-size: 10px;
    letter-spacing: 0.14em;
    gap: 8px;
  }
  .hero-cred-license-num { font-size: 10px; }
}

/* ============ Service area / Atlas page ============ */
.area {
  padding: clamp(80px, 11vh, 128px) 0;
  background: var(--cream);
  border-top: 1px solid var(--muted-line);
  border-bottom: 1px solid var(--muted-line);
  position: relative;
  z-index: 1;
}
.area-grid {
  /* 12/8/4 grid set via universal rule; just override gap + alignment */
  column-gap: clamp(56px, 7vw, 96px);
  align-items: center;
}
.area-map { grid-column: 1 / 8; }
.area-text { grid-column: 9 / 13; }
@media (max-width: 1100px) {
  .area-map { grid-column: 1 / 6; }
  .area-text { grid-column: 6 / 9; }
}
.area-map {
  margin: 0;
  position: relative;
  clip-path: inset(48% 6% 48% 6%);
  transform: scale(0.94);
  transform-origin: center;
  transition:
    clip-path 1500ms cubic-bezier(0.22, 1, 0.36, 1) 200ms,
    transform 1500ms cubic-bezier(0.22, 1, 0.36, 1) 200ms;
}
[data-reveal].is-in .area-map {
  clip-path: inset(0 0 0 0);
  transform: scale(1);
}
@media (prefers-reduced-motion: reduce) {
  .area-map {
    clip-path: none;
    transform: none;
    transition: none;
  }
}
.area-map img {
  width: 100%;
  height: auto;
  display: block;
  background: #FFFFFF;
  filter: saturate(0.92) contrast(1.02);
}

.area-map-cap {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-top: 16px;
  text-align: center;
}
.area-map-cap-sep {
  margin: 0 8px;
  color: rgba(42, 40, 60, 0.30);
}

.area-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.area-kicker {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  /* Tight to area-title (related) */
  margin-bottom: clamp(16px, 2.4vh, 24px);
}
.area-kicker-tick {
  width: 32px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}
.area-title {
  font-family: "Blauer Nue", "Source Serif Pro", Georgia, serif;
  font-weight: 500;
  font-variation-settings: normal;
  font-size: clamp(39px, 5.4vw, 76px);
  line-height: var(--lh-h2);
  letter-spacing: var(--ls-h3);
  color: var(--accent);
  margin: 0 0 clamp(32px, 4vh, 40px);
  max-width: 14ch;
  text-wrap: balance;
}
.area-title em {
  font-family: "Blauer Nue", "Source Serif Pro", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-variation-settings: normal;
  color: var(--accent);
}
.area-para {
  font-family: var(--sans);
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: var(--lh-body);
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0 0 24px;
}
.area-pitch {
  color: var(--ink);
  padding-top: 24px;
  border-top: 1px solid rgba(42, 40, 60, 0.18);
  margin-top: 8px;
}
.area-btn { margin-top: clamp(24px, 3vh, 32px); }

@media (max-width: 960px) {
  .area-grid { gap: 48px; }
  .area-text { grid-column: 1 / -1; order: 1; }
  .area-map {
    grid-column: 1 / -1;
    order: 2;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }
}
@media (max-width: 720px) {
  .area { padding: 96px 0; }
  .area-title { font-size: clamp(31px, 9vw, 49px); }
  .area-para { font-size: 16px; }
  .area-btn { width: 100%; justify-content: center; }
}

/* ============ Services ============ */
.services {
  padding: clamp(80px, 11vh, 128px) 0 clamp(64px, 9vh, 96px);
  background: var(--cream);
  border-top: 1px solid var(--muted-line);
  border-bottom: 1px solid var(--muted-line);
}
.services-head { margin-bottom: clamp(48px, 6vh, 80px); }
.svc-stack {
  display: flex;
  flex-direction: column;
  gap: clamp(56px, 9vh, 96px);
}

/* ----- Shared service entry ----- */
.svc { position: relative; }
.svc-grid {
  /* 12/8/4 grid set via universal rule */
  column-gap: clamp(48px, 6vw, 96px);
  align-items: center;
}
/* text-photo: text on left (cols 1-5), photo on right (cols 6-12) */
.svc--text-photo .svc-text  { grid-column: 1 / 6; }
.svc--text-photo .svc-photo { grid-column: 6 / 13; }
/* photo-text: photo on left (cols 1-7), text on right (cols 8-12) */
.svc--photo-text .svc-photo { grid-column: 1 / 8; }
.svc--photo-text .svc-text  { grid-column: 8 / 13; }
@media (max-width: 1100px) {
  .svc--text-photo .svc-text  { grid-column: 1 / 4; }
  .svc--text-photo .svc-photo { grid-column: 4 / 9; }
  .svc--photo-text .svc-photo { grid-column: 1 / 6; }
  .svc--photo-text .svc-text  { grid-column: 6 / 9; }
}
.svc-photo {
  position: relative;
  overflow: hidden;
  background: var(--accent);
  margin: 0;
}
.svc-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
}
.svc:hover .svc-photo img { transform: scale(1.025); }

/* Covered Patios — 3D "hardtop cover" element on top of the image */
.svc--photo-text .svc-photo {
  overflow: visible;
  margin-top: 28px;
}
.svc--photo-text .svc-photo::before {
  content: "";
  position: absolute;
  top: -22px;
  left: -16px;
  right: -16px;
  height: 30px;
  background: linear-gradient(
    180deg,
    rgba(58, 56, 80, 0.92) 0%,
    var(--accent) 38%,
    #1d1c2c 100%
  );
  border-radius: 4px 4px 0 0;
  box-shadow:
    /* drop shadow onto the image — cover casts shade */
    0 8px 24px -4px rgba(0, 0, 0, 0.45),
    /* subtle highlight along the top edge */
    inset 0 1px 0 rgba(255, 255, 255, 0.10);
  z-index: 3;
  pointer-events: none;
}
/* Soft dark gradient at the top of the photo itself — reads as the cover's shade */
.svc--photo-text .svc-photo img {
  position: relative;
  z-index: 1;
  /* Skip the blueprint→photo reveal for entry 03 since ::after is now the cover-shadow */
  filter: none;
  transition: transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
}
.svc--photo-text .svc-photo::after {
  /* Override the blueprint-reveal pseudo for entry 03 — instead it's a cover-shadow */
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 38%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.32) 0%, transparent 100%);
  pointer-events: none;
  opacity: 1;
  filter: none;
  z-index: 2;
  transition: none;
}
@media (prefers-reduced-motion: reduce) {
  .svc--photo-text .svc-photo::before { box-shadow: 0 4px 12px rgba(0,0,0,0.30); }
}
@media (max-width: 720px) {
  .svc--photo-text .svc-photo {
    margin-top: 20px;
  }
  .svc--photo-text .svc-photo::before {
    top: -16px;
    left: -8px;
    right: -8px;
    height: 22px;
  }
}

/* Blueprint → photo "build" reveal */
.svc-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      90deg,
      rgba(232, 199, 160, 0.12) 0,
      rgba(232, 199, 160, 0.12) 1px,
      transparent 1px,
      transparent 60px
    ),
    repeating-linear-gradient(
      0deg,
      rgba(232, 199, 160, 0.12) 0,
      rgba(232, 199, 160, 0.12) 1px,
      transparent 1px,
      transparent 60px
    ),
    linear-gradient(180deg, #2A283C 0%, #1d1c2c 100%);
  opacity: 1;
  transition: opacity 1.4s cubic-bezier(0.16, 1, 0.3, 1) 600ms;
  pointer-events: none;
  z-index: 2;
}
.svc-photo img {
  filter: brightness(0.4) saturate(0.4) contrast(1.4) hue-rotate(195deg);
  transition: filter 1.4s cubic-bezier(0.16, 1, 0.3, 1) 600ms,
              transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
}
[data-reveal].is-in .svc-photo::after { opacity: 0; }
[data-reveal].is-in .svc-photo img { filter: none; }
@media (prefers-reduced-motion: reduce) {
  .svc-photo::after { opacity: 0; transition: none; }
  .svc-photo img { filter: none; transition: none; }
}

/* ----- Text block ----- */
.svc-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 52ch;
}
.svc--photo-text .svc-text { padding-left: clamp(0px, 2vw, 24px); }
.svc--text-photo .svc-text { padding-right: clamp(0px, 2vw, 24px); }

.svc-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.svc-kicker .svc-num {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--accent);
  font-feature-settings: "tnum" 1;
}
.svc-num-sep {
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0;
  margin: 0 4px;
}
.svc-num-total {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: rgba(42, 40, 60, 0.50);
  font-feature-settings: "tnum" 1;
}

.svc-title {
  font-family: "Blauer Nue", "Source Serif Pro", Georgia, serif;
  font-weight: 500;
  font-variation-settings: normal;
  font-size: clamp(31px, 3.4vw, 49px);
  line-height: var(--lh-h2);
  letter-spacing: var(--ls-h3);
  margin: 0 0 20px;
  color: var(--ink);
  white-space: nowrap;
}
.svc-title em {
  font-family: "Blauer Nue", "Source Serif Pro", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-variation-settings: normal;
  color: var(--accent);
  display: block;
  font-size: 0.78em;
  margin-top: 8px;
  line-height: var(--lh-h2);
}
.svc-title em:empty { display: none; }
.svc-blurb {
  font-family: var(--sans);
  font-size: 16px;
  line-height: var(--lh-body);
  color: var(--ink-soft);
  margin: 0 0 32px;
  max-width: 50ch;
}

/* ----- Spec table (matches Costco panel pattern) ----- */
.svc-specs {
  margin: 0 0 32px;
  padding: 0;
  border-top: 1px solid rgba(42, 40, 60, 0.18);
  width: 100%;
}
.svc-spec {
  display: grid;
  grid-template-columns: 32% 68%;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid rgba(42, 40, 60, 0.12);
}
.svc-spec dt {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}
.svc-spec dd {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  margin: 0;
  line-height: var(--lh-h4);
}

/* ----- Quote-this-build link ----- */
.svc-link {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--accent);
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 4px 0 8px;
  position: relative;
  transition: gap 220ms cubic-bezier(0.16, 1, 0.3, 1);
}
.svc-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: rgba(42, 40, 60, 0.30);
  transition: background 200ms ease, height 220ms ease;
}
.svc-link:hover { gap: 16px; }
.svc-link:hover::after { background: var(--accent); height: 2px; }

/* ----- Pair layout: two photos stacked left, description right ----- */
.svc-pair {
  --pair-gap: clamp(40px, 5vw, 80px);
  /* Distance from inner-content edge to viewport edge (container padding 32 + half viewport-overflow) */
  --pair-bleed: calc(32px + max(0px, (100vw - var(--maxw)) / 2));
  display: grid;
  grid-template-columns: repeat(var(--grid-cols), 1fr);
  column-gap: var(--pair-gap);
  /* Both columns stretch to equal height so photos can flush at bottom */
  align-items: stretch;
}
.svc-pair-photos {
  grid-column: 1 / 7;
  display: flex;
  flex-direction: column;
  gap: 16px;
  /* Push photo(s) to the bottom of the column */
  justify-content: flex-end;
  /* Extend leftward to viewport edge, eating the white space on the left */
  margin-left: calc(-1 * var(--pair-bleed));
  width: calc(100% + var(--pair-bleed));
}
.svc-pair-photo {
  margin: 0;
  position: relative;
  overflow: hidden;
}
.svc-pair-photo img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
}
.svc-pair-photo:hover img { transform: scale(1.025); }
/* Natural-aspect modifier (no crop) — apply to whichever photo should render uncropped */
.svc-pair-photo--natural img {
  aspect-ratio: auto;
  height: auto;
  object-fit: initial;
}
/* Photo placed under the description text — sits at the bottom (flex-end on parent).
   Extends LEFT into the column gap (closing the gap with the photo on the left)
   and RIGHT to the viewport edge (eating the right white space). */
.svc-pair-text > .svc-pair-photo {
  margin-left: calc(-1 * var(--pair-gap));
  margin-right: calc(-1 * var(--pair-bleed));
  width: calc(100% + var(--pair-gap) + var(--pair-bleed));
  padding-top: clamp(24px, 4vh, 40px);
}
.svc-pair-text {
  grid-column: 7 / 13;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* Push the whole info group to the bottom — description sits with the photo */
  justify-content: flex-end;
  padding-top: 0;
}
@media (max-width: 1100px) {
  .svc-pair-photos { grid-column: 1 / 5; }
  .svc-pair-text   { grid-column: 5 / 9; }
}
@media (max-width: 720px) {
  .svc-pair-photos,
  .svc-pair-text { grid-column: 1 / -1; }
  .svc-pair-text { padding-top: 24px; }
  /* On mobile (stacked): both photos go full-bleed to both viewport edges
     — no column gap to fill since columns are stacked vertically */
  .svc-pair-photos,
  .svc-pair-text > .svc-pair-photo {
    margin-left: calc(-1 * var(--pair-bleed));
    margin-right: calc(-1 * var(--pair-bleed));
    width: calc(100% + var(--pair-bleed) * 2);
  }
}

/* ----- Entry 02: full-bleed photo ----- */
.svc--fullbleed {
  display: flex;
  flex-direction: column;
  /* Stand on its own as a banded section between the other two entries */
  background: #FFFFFF;
  border-top: 1px solid var(--muted-line);
  border-bottom: 1px solid var(--muted-line);
  /* Photos touch top AND bottom of the white band — no internal padding */
  padding: 0;
  /* Break out of the .svc-stack column-gap rhythm */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.svc-photo--full {
  width: 100%;
  position: relative;
  background: var(--accent);
}
.svc-photo--full img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.svc--fullbleed:hover .svc-photo--full img { transform: scale(1.015); }
.svc-photo-cap {
  position: absolute;
  left: clamp(20px, 4vw, 56px);
  bottom: clamp(20px, 4vh, 40px);
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.82);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6);
  pointer-events: none;
}
.svc-photo-cap em {
  font-style: italic;
  color: rgba(255, 255, 255, 0.95);
  font-size: 13px;
  margin-right: 2px;
}
.svc-photo-cap-sep {
  margin: 0 8px;
  color: rgba(255, 255, 255, 0.42);
}

.svc-foot {
  /* 12/8/4 grid set via universal rule */
  column-gap: clamp(48px, 6vw, 96px);
  padding-top: clamp(48px, 7vh, 80px);
  align-items: start;
}
.svc-foot-text { grid-column: 1 / 8; max-width: 52ch; }
.svc-foot-spec { grid-column: 8 / 13; }
@media (max-width: 1100px) {
  .svc-foot-text { grid-column: 1 / 6; }
  .svc-foot-spec { grid-column: 6 / 9; }
}
@media (max-width: 720px) {
  .svc-foot-text, .svc-foot-spec { grid-column: 1 / -1; }
}
.svc-foot-spec {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.svc-foot-spec .svc-specs { margin-bottom: 24px; }

/* ----- Tablet ----- */
@media (max-width: 960px) {
  .services { padding: 80px 0 64px; }
  .svc-stack { gap: clamp(48px, 8vh, 80px); }

  .svc-grid { column-gap: 0; row-gap: 32px; }
  .svc--text-photo .svc-text,
  .svc--photo-text .svc-text {
    grid-column: 1 / -1;
    padding-left: 0;
    padding-right: 0;
    order: 2;
  }
  .svc--text-photo .svc-photo,
  .svc--photo-text .svc-photo { grid-column: 1 / -1; order: 1; }

  .svc-photo,
  .svc--photo-text .svc-photo,
  .svc--text-photo .svc-photo {
    aspect-ratio: 4 / 3 !important;
  }

  .svc-foot { row-gap: 32px; padding-top: 40px; }
}

/* ----- Mobile ----- */
@media (max-width: 720px) {
  .services { padding: 96px 0 80px; }
  .svc-stack { gap: 72px; }
  .svc-title {
    font-size: clamp(25px, 6vw, 31px);
    white-space: normal;
    text-wrap: balance;
  }
  .svc-title em { font-size: 0.72em; }
  .svc-blurb { font-size: 16px; }
  .svc-spec { grid-template-columns: 38% 62%; padding: 16px 0; }
  .svc-spec dt { font-size: 10px; }
  .svc-spec dd { font-size: 13px; }
  .svc-photo--full {
    /* keep full-bleed on mobile */
  }
  .svc-photo--full img { aspect-ratio: 4 / 3; }
  .svc-photo-cap {
    font-size: 10px;
    left: 16px;
    bottom: 16px;
  }
  .svc-photo-cap em { font-size: 13px; }
}

/* ============ Costco / Yardistry magazine spread ============ */
.costco {
  background: #FFFFFF;
  padding: clamp(80px, 11vh, 128px) 0;
}
.costco-supplement {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 6vh, 72px);
}

/* Editorial folio — section identifier + provenance */
.costco-folio {
  display: flex;
  align-items: center;
  gap: clamp(16px, 1.6vw, 24px);
  padding-bottom: clamp(24px, 3vh, 32px);
  border-bottom: 1px solid rgba(42, 40, 60, 0.18);
}
.costco-folio-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 1.6vw, 25px);
  letter-spacing: 0.02em;
  color: var(--accent);
  font-feature-settings: "tnum" 1;
}
.costco-folio-rule {
  flex: 0 0 56px;
  height: 1px;
  background: rgba(42, 40, 60, 0.32);
}
.costco-folio-label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(42, 40, 60, 0.72);
}

/* Two-column spread */
.costco-spread {
  /* 12/8/4 grid set via universal rule */
  column-gap: clamp(56px, 6vw, 96px);
  align-items: start;
}
.costco-pitch { grid-column: 1 / 6; }
.costco-pane  { grid-column: 6 / 13; }
@media (max-width: 1100px) {
  .costco-pitch { grid-column: 1 / 4; }
  .costco-pane  { grid-column: 4 / 9; }
}

/* Left: pitch column (sticky on desktop) */
.costco-pitch {
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 112px;
}
.costco-headline {
  font-family: "Blauer Nue", "Source Serif Pro", Georgia, serif;
  font-weight: 500;
  font-variation-settings: normal;
  font-size: clamp(39px, 5.2vw, 76px);
  line-height: var(--lh-h2);
  letter-spacing: var(--ls-h3);
  color: var(--accent);
  margin: 0 0 clamp(24px, 3.5vh, 40px);
  max-width: 14ch;
  text-wrap: balance;
}
.costco-headline em {
  font-family: "Blauer Nue", "Source Serif Pro", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-variation-settings: normal;
  color: var(--accent);
  display: block;
  margin-top: 4px;
}
.costco-lead {
  font-family: var(--sans);
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: var(--lh-body);
  color: var(--ink);
  max-width: 50ch;
  margin: 0 0 clamp(36px, 5vh, 48px);
}

/* CTA */
.costco-cta {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.costco-btn {
  background: var(--accent);
  color: var(--bg);
  border: 0;
  border-radius: 2px;
  height: 56px;
  padding: 0 32px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  transition: background 400ms cubic-bezier(0.16, 1, 0.3, 1);
}
.costco-btn:hover { background: #1d1c2c; }
.costco-btn-arrow {
  display: inline-block;
  transition: transform 400ms cubic-bezier(0.16, 1, 0.3, 1);
}
.costco-btn:hover .costco-btn-arrow { transform: translateX(4px); }
.costco-phone {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color 200ms ease;
}
.costco-phone-prefix {
  font-weight: 500;
}
.costco-phone-num {
  font-style: normal;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--accent);
  border-bottom: 1px solid rgba(42, 40, 60, 0.30);
  padding-bottom: 1px;
  transition: border-color 200ms ease, color 200ms ease;
}
.costco-phone:hover { color: var(--accent); }
.costco-phone:hover .costco-phone-num {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

/* Right: photo + spec card pane */
.costco-pane {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3.5vh, 40px);
}

/* Photo — contained in right column */
.costco-photo {
  margin: 0;
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--accent);
}
.costco-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
}
.costco-photo:hover img { transform: scale(1.02); }

/* Caption now BELOW the photo (museum-card style) */
.costco-photo-cap {
  display: inline-flex;
  align-items: baseline;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: -8px 0 0;
}
.costco-photo-cap-name {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-right: 4px;
}
.costco-photo-cap-sep {
  margin: 0 8px;
  color: rgba(42, 40, 60, 0.30);
  letter-spacing: 0;
}

/* Inline spec line */
.costco-specline {
  font-family: var(--sans);
  font-size: 16px;
  line-height: var(--lh-body);
  color: var(--ink-soft);
  margin: clamp(8px, 2vh, 16px) 0 0;
  padding-top: 16px;
  border-top: 1px solid rgba(42, 40, 60, 0.22);
}
.costco-specline strong {
  color: var(--ink);
  font-weight: 600;
}

/* Reveal stagger */
@keyframes costcoFadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes costcoFadeIn  { from { opacity: 0; } to { opacity: 1; } }

[data-reveal].is-in .costco-stamp     { animation: costcoFadeUp 600ms cubic-bezier(0.16,1,0.3,1) both; animation-delay: 60ms; }
[data-reveal].is-in .costco-headline  { animation: costcoFadeUp 720ms cubic-bezier(0.16,1,0.3,1) both; animation-delay: 180ms; }
[data-reveal].is-in .costco-lead      { animation: costcoFadeUp 600ms cubic-bezier(0.16,1,0.3,1) both; animation-delay: 300ms; }
[data-reveal].is-in .costco-cta       { animation: costcoFadeUp 600ms cubic-bezier(0.16,1,0.3,1) both; animation-delay: 420ms; }
[data-reveal].is-in .costco-photo     { animation: costcoFadeIn  900ms cubic-bezier(0.16,1,0.3,1) both; animation-delay: 360ms; }
[data-reveal].is-in .costco-photo-cap { animation: costcoFadeUp 600ms cubic-bezier(0.16,1,0.3,1) both; animation-delay: 520ms; }
[data-reveal].is-in .costco-specline { animation: costcoFadeUp 600ms cubic-bezier(0.16,1,0.3,1) both; animation-delay: 620ms; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal].is-in .costco-stamp,
  [data-reveal].is-in .costco-headline,
  [data-reveal].is-in .costco-lead,
  [data-reveal].is-in .costco-cta,
  [data-reveal].is-in .costco-photo,
  [data-reveal].is-in .costco-photo-cap,
  [data-reveal].is-in .costco-specline { animation: none !important; }
}

@media (max-width: 960px) {
  .costco { padding: 96px 0; }
  .costco-supplement { gap: 40px; }
  .costco-stamp-meta { margin-left: 0; flex-basis: 100%; }
  .costco-spread { row-gap: 40px; }
  .costco-pitch { grid-column: 1 / -1; position: static; order: 1; }
  .costco-pane { grid-column: 1 / -1; order: 2; }
  .costco-photo { aspect-ratio: 16 / 9; }
}
@media (max-width: 720px) {
  .costco { padding: 80px 0; }
  .costco-stamp { font-size: 10px; letter-spacing: 0.14em; gap: 8px; }
  .costco-stamp-tick { width: 24px; }
  .costco-stamp-meta { font-size: 13px; }
  .costco-headline { font-size: clamp(31px, 9vw, 49px); }
  .costco-lead { font-size: 16px; }
  .costco-photo-cap { font-size: 10px; letter-spacing: 0.14em; }
  .costco-photo-cap em { font-size: 16px; }
  .costco-photo-cap-sep { margin: 0 8px; }
  .costco-spec { grid-template-columns: 36% 64%; padding: 16px 0; }
  .costco-spec dt { font-size: 10px; }
  .costco-spec dd { font-size: 13px; }
  .costco-cta { gap: 16px; }
  .costco-btn { width: 100%; justify-content: center; }
  .costco-phone { width: 100%; justify-content: center; }
}

/* ============ About / Builder profile ============ */
.about {
  padding: clamp(80px, 12vh, 128px) 0;
  background: #FFFFFF;
}
.about-grid {
  /* 12/8/4 grid set via universal rule */
  column-gap: clamp(56px, 7vw, 96px);
  align-items: center;
}
.about-text  { grid-column: 1 / 6; display: flex; flex-direction: column; }
.about-photo { grid-column: 6 / 13; }
@media (max-width: 1100px) {
  .about-text  { grid-column: 1 / 4; }
  .about-photo { grid-column: 4 / 9; }
}

/* Kicker */
.about-kicker {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  /* Tight to about-title (related) */
  margin-bottom: clamp(16px, 2.4vh, 24px);
}
.about-kicker-tick {
  width: 32px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

/* Title — three-line statement, italic on the count */
.about-title {
  font-family: "Blauer Nue", "Source Serif Pro", Georgia, serif;
  font-weight: 800;
  font-variation-settings: normal;
  font-size: clamp(49px, 6vw, 95px);
  line-height: var(--lh-h1);
  letter-spacing: var(--ls-h1);
  color: var(--accent);
  margin: 0 0 clamp(36px, 5vh, 56px);
  max-width: 14ch;
  text-wrap: balance;
}
.about-title em {
  font-family: "Blauer Nue", "Source Serif Pro", Georgia, serif;
  font-style: italic;
  font-weight: 800;
  font-variation-settings: normal;
  color: var(--accent);
}

/* Body paragraphs */
.about-para {
  font-family: var(--sans);
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: var(--lh-body);
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0 0 24px;
}
.about-para:last-of-type { margin-bottom: clamp(48px, 7vh, 72px); }

/* Portrait + caption */
.about-photo {
  margin: 0;
}
.about-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  filter: contrast(1.02) saturate(1.04);
}
.about-photo-cap {
  display: flex;
  align-items: center;
  gap: 0;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(42, 40, 60, 0.18);
}
.about-photo-cap-name {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--accent);
  margin-right: 4px;
}
.about-photo-cap-sep {
  margin: 0 8px;
  color: var(--muted);
  letter-spacing: 0;
}

@media (max-width: 960px) {
  .about { padding: 96px 0; }
  .about-grid { row-gap: 56px; }
  .about-text { grid-column: 1 / -1; }
  .about-photo { grid-column: 1 / -1; position: static; max-width: 480px; }
  .about-photo img { aspect-ratio: 3 / 4; }
}
@media (max-width: 720px) {
  .about { padding: 80px 0; }
  .about-title { font-size: clamp(39px, 9vw, 49px); }
  .about-para { font-size: 16px; }
}

/* ============ Portfolio / Catalog rail ============ */
.portfolio {
  padding: clamp(80px, 11vh, 128px) 0 clamp(56px, 8vh, 96px);
  background: var(--cream);
  border-top: 1px solid var(--muted-line);
  border-bottom: 1px solid var(--muted-line);
}
.portfolio-rail {
  display: flex;
  gap: clamp(28px, 3vw, 48px);
  padding: 0 clamp(24px, 5vw, 56px) 24px;
  margin: 0 auto;
  max-width: calc(var(--maxw) + 96px);
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: rgba(42, 40, 60, 0.20) transparent;
}
.portfolio-rail::-webkit-scrollbar { height: 8px; }
.portfolio-rail::-webkit-scrollbar-track { background: transparent; }
.portfolio-rail::-webkit-scrollbar-thumb { background: rgba(42, 40, 60, 0.20); border-radius: 3px; }
.portfolio-rail::-webkit-scrollbar-thumb:hover { background: rgba(42, 40, 60, 0.35); }

/* Cards — varied widths by photo aspect, tied together by figure structure */
.port-card {
  flex: 0 0 auto;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  cursor: pointer;
  scroll-snap-align: start;
  text-align: left;
  font: inherit;
  color: inherit;
  display: block;
}
.port-card--tall    { width: clamp(280px, 24vw, 360px); }
.port-card--regular { width: clamp(360px, 32vw, 460px); }
.port-card--wide    { width: clamp(420px, 38vw, 540px); }

.port-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.port-photo {
  position: relative;
  overflow: hidden;
  background: var(--cream);
}
.port-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 800ms cubic-bezier(0.16, 1, 0.3, 1);
}
.port-card:hover .port-photo img { transform: scale(1.03); }
.port-card:focus-visible .port-photo {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.port-card:focus-visible { outline: none; }

/* Always-visible caption block */
.port-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.port-num {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--muted);
  font-feature-settings: "tnum" 1;
  margin-bottom: 4px;
}
.port-tag {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 8px;
}
.port-tag-sep {
  margin: 0 8px;
  color: var(--muted);
  letter-spacing: 0;
}

/* End card */
.port-end {
  flex: 0 0 auto;
  width: clamp(280px, 24vw, 340px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 16px;
  padding: 0 24px;
  border-left: 1px solid rgba(42, 40, 60, 0.18);
  scroll-snap-align: start;
  align-self: stretch;
  min-height: 0;
}
.port-end-mark {
  font-family: var(--serif);
  display: flex;
  align-items: baseline;
  color: var(--accent);
  letter-spacing: -0.04em;
  line-height: 0.9;
}
.port-end-plus {
  font-style: italic;
  font-size: 39px;
  margin-right: 8px;
  color: var(--accent);
  opacity: 0.7;
}
.port-end-num { font-size: 80px; font-weight: 400; }
.port-end-label {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--muted);
  margin-top: -4px;
}
.port-end-link {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  padding: 4px 0 8px;
  margin-top: 8px;
}
.port-end-link::after {
  content: "";
  position: absolute;
  left: 0; right: 24px; bottom: 0;
  height: 1px;
  background: rgba(42, 40, 60, 0.30);
  transition: background 200ms ease, right 320ms cubic-bezier(0.16, 1, 0.3, 1);
}
.port-end-link:hover::after { background: var(--accent); right: 16px; }

.portfolio-cta {
  display: flex;
  justify-content: center;
  margin-top: clamp(40px, 6vh, 64px);
}

/* ----- Mobile ----- */
@media (max-width: 720px) {
  .portfolio { padding: 96px 0 80px; }
  .portfolio-rail {
    gap: 24px;
    padding: 0 20px 24px;
  }
  .port-card--tall    { width: 220px; }
  .port-card--regular { width: 280px; }
  .port-card--wide    { width: 320px; }
  .port-figure { gap: 16px; }
  .port-num { font-size: 13px; }
  .port-title em { font-size: 16px; }
  .port-end {
    width: 240px;
    padding: 0 20px;
  }
  .port-end-num { font-size: 49px; }
  .port-end-plus { font-size: 31px; }
}

/* ============ Gallery page ============ */
.gallery-page { background: var(--bg); }
.gallery-header { padding: 48px 0 24px; border-bottom: 1px solid var(--muted-line); }
.gallery-header-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.gallery-back {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.gallery-back:hover { color: var(--accent); }
.gallery-title {
  font-family: var(--serif);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 400;
  line-height: var(--lh-h2);
  letter-spacing: var(--ls-h1);
  margin: 16px 0 0;
}
.gallery-title em { font-style: italic; color: var(--accent); }
.gallery-sub {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-top: 8px;
}
.gallery-grid {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 64px 32px 120px;
  columns: 3 320px;
  column-gap: 24px;
}
.gallery-item {
  break-inside: avoid;
  margin: 0 0 24px;
  position: relative;
  overflow: hidden;
  background: var(--cream);
  cursor: zoom-in;
}
.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .8s cubic-bezier(.2,.6,.2,1), filter .4s ease;
}
.gallery-item:hover img { transform: scale(1.03); filter: brightness(0.92); }
.gallery-cap {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
  color: #fff;
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: var(--ls-h6);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease;
}
.gallery-item:hover .gallery-cap { opacity: 1; transform: none; }
.gallery-cap small {
  display: block;
  font-family: var(--sans);
  font-size: 10px;
  font-style: normal;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  margin-top: 4px;
}
.gallery-footer {
  border-top: 1px solid var(--muted-line);
  padding: 64px 32px;
  text-align: center;
}
.gallery-footer-inner { max-width: 600px; margin: 0 auto; }
.gallery-footer-title { font-family: var(--serif); font-size: 31px; margin: 0 0 16px; }
.gallery-footer-title em { font-style: italic; color: var(--accent); }
.gallery-footer p { color: var(--ink-soft); margin: 0 0 24px; }
@media (max-width: 720px) {
  .gallery-grid { columns: 2 200px; padding: 32px 16px 80px; column-gap: 16px; }
  .gallery-item { margin-bottom: 16px; }
  .gallery-cap { opacity: 1; transform: none; }
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(15, 14, 22, 0.92);
  z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 40px;
}
.lb-figure {
  position: relative;
  max-width: 1200px;
  max-height: 90vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.lb-figure img {
  max-width: 100%;
  max-height: calc(90vh - 60px);
  object-fit: contain;
}
.lb-figure figcaption {
  display: flex;
  align-items: baseline;
  gap: 16px;
  color: #fff;
  font-size: 13px;
}
.lb-figure figcaption span:first-child { font-family: var(--serif); font-size: 20px; }
.lb-loc { color: rgba(255,255,255,0.7); letter-spacing: 0.12em; text-transform: uppercase; font-size: 10px; }
.lb-count { margin-left: auto; color: rgba(255,255,255,0.5); font-size: 13px; }

.lb-close, .lb-nav {
  position: absolute;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  cursor: pointer;
  width: 48px; height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 31px;
  line-height: var(--lh-h1);
  backdrop-filter: blur(4px);
  transition: background .2s ease;
}
.lb-close:hover, .lb-nav:hover { background: rgba(255,255,255,0.18); }
.lb-close { top: 24px; right: 24px; font-size: 25px; }
.lb-nav--prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lb-nav--next { right: 24px; top: 50%; transform: translateY(-50%); }

/* ============ Reviews / Slow marquee of pull-quotes ============ */
.reviews {
  padding: clamp(80px, 11vh, 128px) 0 clamp(56px, 8vh, 96px);
  background: #FFFFFF;
  overflow: hidden;
}

/* Marquee outer frame — soft cream-fade at both edges */
.rev-marquee {
  width: 100%;
  margin: clamp(48px, 7vh, 80px) 0 clamp(56px, 8vh, 96px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
}

/* Track — duplicated content scrolls left */
.rev-track {
  display: flex;
  align-items: stretch;
  gap: clamp(40px, 4vw, 72px);
  width: max-content;
  padding: 4px clamp(20px, 4vw, 40px);
  animation: revScroll 110s linear infinite;
  will-change: transform;
}
.rev-marquee:hover .rev-track,
.rev-track:focus-within {
  animation-play-state: paused;
}
@keyframes revScroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .rev-marquee {
    overflow-x: auto;
    -webkit-mask-image: none;
            mask-image: none;
    scrollbar-width: thin;
  }
  .rev-track { animation: none; padding: 8px 24px; }
}

/* Card — fixed-width inside the track */
.rev-card {
  flex: 0 0 clamp(280px, 26vw, 360px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 24px 0 0;
  border-top: 1px solid rgba(42, 40, 60, 0.20);
  text-decoration: none;
  color: inherit;
  transition: opacity 200ms ease;
  position: relative;
}
.rev-card::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}
.rev-card:hover::before { transform: scaleX(1); }
.rev-card:hover .rev-source { opacity: 1; transform: translateX(0); }
.rev-card:hover .rev-source-arrow { transform: translate(2px, -2px); }
.rev-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 8px;
}

/* Five-star mark — quiet cedar-gold row, no cascade */
.rev-mark {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--accent);
  display: inline-flex;
  gap: 0.28em;
  align-items: center;
  line-height: var(--lh-h1);
  letter-spacing: 0.04em;
}
.rev-mark span { display: inline-block; }

/* Pull quote */
.rev-quote {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(20px, 1.55vw, 25px);
  line-height: var(--lh-body);
  color: var(--ink);
  text-wrap: pretty;
  flex: 1 1 auto;
}
.rev-quote em {
  font-style: italic;
  color: var(--accent);
  font-size: 25px;
}
.rev-quote--short {
  font-size: clamp(20px, 2vw, 25px);
  color: var(--accent);
}

/* Attribution */
.rev-attribution {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}
.rev-name {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.rev-meta {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
}
.rev-meta-sep {
  margin: 0 8px;
  color: rgba(42, 40, 60, 0.30);
}

.rev-source {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: 16px;
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 220ms ease, transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}
.rev-source-arrow {
  font-style: normal;
  font-size: 13px;
  display: inline-block;
  transition: transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
}

.rev-link { display: flex; justify-content: center; }

@media (max-width: 720px) {
  .reviews { padding: 96px 0 80px; }
  .rev-track { animation-duration: 90s; gap: 32px; }
  .rev-card { flex-basis: 280px; }
  .rev-quote { font-size: 16px; line-height: var(--lh-body); }
  .rev-quote--short { font-size: 25px; }
  .rev-name { font-size: 10px; letter-spacing: 0.14em; }
  .rev-meta { font-size: 13px; }
  .rev-mark { letter-spacing: 0.3em; }
}

/* ============ Quote / Conversion form ============ */
.quote {
  padding: clamp(80px, 11vh, 128px) 0;
  background: var(--cream);
  border-top: 1px solid var(--muted-line);
  border-bottom: 1px solid var(--muted-line);
}
.quote-grid {
  /* 12/8/4 grid set via universal rule */
  column-gap: clamp(56px, 7vw, 96px);
  align-items: start;
}
.quote-text { grid-column: 1 / 8; display: flex; flex-direction: column; }
.quote-side { grid-column: 8 / 13; }
@media (max-width: 1100px) {
  .quote-text { grid-column: 1 / 6; }
  .quote-side { grid-column: 6 / 9; }
}

/* Quote-section kicker */
.quote-kicker {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: clamp(32px, 4vh, 40px);
}
.quote-kicker-tick {
  width: 32px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

/* Title */
.quote-title {
  font-family: "Blauer Nue", "Source Serif Pro", Georgia, serif;
  font-weight: 500;
  font-variation-settings: normal;
  font-size: clamp(39px, 5vw, 76px);
  line-height: var(--lh-h2);
  letter-spacing: var(--ls-h3);
  color: var(--accent);
  margin: 0 0 24px;
  max-width: 14ch;
  text-wrap: balance;
}
.quote-title em {
  font-family: "Blauer Nue", "Source Serif Pro", Georgia, serif;
  font-style: italic;
  font-weight: 500;
  font-variation-settings: normal;
  color: var(--accent);
}
.quote-lead {
  font-family: var(--sans);
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: var(--lh-body);
  color: var(--ink-soft);
  max-width: 56ch;
  margin: 0 0 clamp(40px, 6vh, 56px);
}
.quote-thanks-phone {
  color: var(--accent);
  border-bottom: 1px solid var(--accent);
  font-weight: 500;
}

/* Form */
.quote-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.field { display: flex; flex-direction: column; gap: 8px; position: relative; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.field label {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field select,
.field textarea {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  background-color: transparent;
  background-image: linear-gradient(to right, var(--accent), var(--accent));
  background-position: 50% 100%;
  background-size: 0% 2px;
  background-repeat: no-repeat;
  border: 0;
  border-bottom: 1px solid rgba(42, 40, 60, 0.22);
  padding: 8px 0;
  outline: none;
  border-radius: 0;
  transition: background-size 360ms cubic-bezier(0.16, 1, 0.3, 1);
}
.field textarea { resize: vertical; min-height: 100px; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  background-size: 100% 2px;
}
@media (prefers-reduced-motion: reduce) {
  .field input,
  .field select,
  .field textarea { transition: none; }
}
.field input::placeholder,
.field textarea::placeholder { color: rgba(42, 40, 60, 0.35); }
.field select { cursor: pointer; }

.err {
  position: absolute; right: 0; top: 0;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #B83A3A;
}

/* Chips for project type */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 4px;
}
.chip {
  padding: 8px 16px;
  border: 1px solid rgba(42, 40, 60, 0.22);
  background: transparent;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ink-soft);
  cursor: pointer;
  border-radius: 2px;
  transition: background 200ms ease, color 200ms ease, border-color 200ms ease;
}
.chip:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.chip--active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* Submit row */
.quote-actions {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 16px;
}
.quote-fineprint {
  font-family: var(--serif);
  font-size: 13px;
  color: var(--muted);
  max-width: 36ch;
  line-height: var(--lh-body);
}

/* ----- Sidebar ----- */
.quote-side {
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 5vh, 56px);
  position: sticky;
  top: 112px;
}
.quote-side-contact {
  display: flex;
  flex-direction: column;
}
.quote-side-kicker {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 24px;
}
.quote-side-kicker-tick {
  width: 24px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}
.quote-phone {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(31px, 2.6vw, 39px);
  letter-spacing: var(--ls-h1);
  display: block;
  color: var(--accent);
  margin-bottom: 8px;
  line-height: var(--lh-h1);
}
.quote-phone:hover {
  color: var(--ink);
  text-decoration: none;
}
.quote-email {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-soft);
  display: block;
  margin-bottom: 32px;
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease;
}
.quote-email:hover { border-bottom-color: var(--accent); color: var(--accent); }

/* Hours as small spec table */
.quote-hours {
  margin: 0;
  padding: 16px 0 0;
  border-top: 1px solid rgba(42, 40, 60, 0.18);
  display: flex;
  flex-direction: column;
}
.quote-hours-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  align-items: baseline;
  padding: 8px 0;
  border-bottom: 1px solid rgba(42, 40, 60, 0.10);
}
.quote-hours-row:last-child { border-bottom: 0; }
.quote-hours-row dt {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}
.quote-hours-row dd {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--ink-soft);
  margin: 0;
}
.quote-license {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid rgba(42, 40, 60, 0.18);
}
.quote-license-key {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.quote-license-num {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--accent);
  letter-spacing: 0.04em;
  font-feature-settings: "tnum" 1;
  background: transparent;
  padding: 0;
  font-weight: 500;
}

/* Sidebar photo with editorial caption */
.quote-side-photo {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.quote-side-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  background: var(--cream);
}
.quote-side-cap {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 16px;
  border-top: 1px solid rgba(42, 40, 60, 0.18);
  font-family: var(--serif);
  font-size: 13px;
  line-height: var(--lh-h4);
  color: var(--ink-soft);
}
.quote-side-cap-quote {
  font-style: normal;
  color: var(--ink);
  letter-spacing: var(--ls-h6);
}
.quote-side-cap-attrib {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 4px;
}

.quote-thanks { padding: 0; }

@media (max-width: 960px) {
  .quote { padding: 96px 0; }
  .quote-grid { row-gap: 56px; }
  .quote-text { grid-column: 1 / -1; }
  .quote-side { grid-column: 1 / -1; position: static; }
  .field-row { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .quote-title { font-size: clamp(31px, 9vw, 49px); }
  .quote-actions { flex-direction: column; align-items: stretch; }
  .quote-actions .btn { width: 100%; justify-content: center; }
  .quote-fineprint { max-width: none; text-align: center; }
}

/* ============ Footer / Editorial colophon ============ */
.footer {
  background: var(--accent);
  color: rgba(255, 255, 255, 0.92);
  padding: clamp(80px, 12vh, 120px) 0 32px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: clamp(48px, 7vh, 80px);
  padding-bottom: clamp(40px, 6vh, 64px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

/* Masthead row: logo + italic tagline */
.footer-mast {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
  padding-bottom: clamp(40px, 5vh, 56px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.footer-tagline {
  font-family: var(--serif);
  font-size: clamp(20px, 1.6vw, 25px);
  line-height: var(--lh-body);
  color: rgba(255, 255, 255, 0.78);
  margin: 0;
  max-width: 56ch;
  text-wrap: pretty;
  justify-self: end;
  text-align: right;
}
.footer-tagline em {
  font-style: italic;
  color: rgba(255, 255, 255, 0.95);
}

/* Column grid — uses universal 12/8/4 with each .footer-col spanning a slice */
.footer-grid {
  /* 12/8/4 grid set via universal rule */
  column-gap: clamp(32px, 4vw, 56px);
  row-gap: 32px;
  /* Alignment — all columns share top baseline */
  align-items: start;
}
.footer-col:nth-child(1) { grid-column: 1 / 5; }
.footer-col:nth-child(2) { grid-column: 5 / 9; }
.footer-col:nth-child(3) { grid-column: 9 / 13; }
@media (max-width: 1100px) {
  .footer-col:nth-child(1) { grid-column: 1 / 4; }
  .footer-col:nth-child(2) { grid-column: 4 / 7; }
  .footer-col:nth-child(3) { grid-column: 7 / 9; }
}
@media (max-width: 720px) {
  .footer-col:nth-child(1),
  .footer-col:nth-child(2),
  .footer-col:nth-child(3) { grid-column: 1 / -1; }
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-key {
  font-family: var(--sans);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-key::before {
  content: "";
  width: 16px;
  height: 1px;
  background: rgba(255, 255, 255, 0.45);
}
.footer-val {
  font-family: var(--sans);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
  line-height: var(--lh-body);
}
.footer-val--muted { color: rgba(255, 255, 255, 0.55); }

.footer-link {
  font-family: var(--sans);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.92);
  display: inline-block;
  position: relative;
  padding-bottom: 1px;
  margin: 0;
  width: max-content;
  transition: color 200ms ease;
}
.footer-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
  transition: background 200ms ease;
}
.footer-link:hover { color: #fff; }
.footer-link:hover::after { background: rgba(255, 255, 255, 0.6); }
.footer-link--phone {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: var(--ls-h6);
  margin-bottom: 4px;
}
.footer-link--muted { color: rgba(255, 255, 255, 0.55); }

.footer-license {
  font-family: var(--sans);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.95);
  letter-spacing: 0.04em;
  font-feature-settings: "tnum" 1;
  background: transparent;
  padding: 0;
  margin: 4px 0 8px;
  font-weight: 500;
  display: inline-block;
}

.footer-base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: clamp(24px, 4vh, 32px);
  font-family: var(--sans);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
}
.footer-copy { font-feature-settings: "tnum" 1; }
.footer-craft em {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 800px) {
  .footer-mast {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .footer-tagline {
    justify-self: start;
    text-align: left;
  }
  .footer-grid { row-gap: 40px; }
  .footer-base { font-size: 10px; }
  .footer-craft em { font-size: 13px; }
}

/* ============ Mobile sticky CTA ============ */
.mobile-cta {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 40;
  display: none;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: saturate(140%) blur(8px);
  border-top: 1px solid var(--muted-line);
  padding: 8px;
  gap: 8px;
  box-shadow: 0 -8px 24px rgba(20, 18, 32, 0.08);
}
.mobile-cta a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 2px;
  transition: background 200ms ease, color 200ms ease;
}
.mobile-cta a.mc-call {
  background: var(--cream);
  color: var(--accent);
  border: 1px solid rgba(42, 40, 60, 0.18);
  flex: 1;
}
.mobile-cta a.mc-call:hover { background: #ede9df; }
.mobile-cta a.mc-quote {
  background: var(--accent);
  color: #fff;
  border: 1px solid var(--accent);
  flex: 1.4;
  font-weight: 600;
}
.mobile-cta a.mc-quote:hover { background: #1d1c2c; }

@media (max-width: 720px) {
  .mobile-cta { display: flex; }
  body { padding-bottom: 80px; }
}
