/* ============================================
   ROOTS UP — MOBILE-FIRST CSS
   Base styles target mobile (~380-768px)
   Desktop enhancements via @media (min-width: 768px) and 1024px
   ============================================ */

:root {
  --cream: #FFF4DB;
  --cream-deep: #F5E8C4;
  --ink: #0E1B2C;
  --ink-soft: #1B2A3F;
  --coral: #FF5C4D;
  --coral-deep: #E8412F;
  --lime: #D4FF3F;
  --lime-deep: #B8E532;
  --line: rgba(14, 27, 44, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* Anchor-jump landing offset: clears the fixed nav (~70-85px) and leaves
     room for the border line / cadence eyebrow above the section number. */
  scroll-padding-top: 7rem;
}

body {
  background: var(--cream);
  color: var(--ink);
  font-family: 'Geist', sans-serif;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.4;
  mix-blend-mode: multiply;
  background-image: radial-gradient(circle at 50% 50%, rgba(14,27,44,0.025) 0.5px, transparent 1px);
  background-size: 3px 3px;
}

/* Skip-to-content link — visible on keyboard focus only.
   First tab stop on the page; lets keyboard/screen-reader users
   jump over the nav directly to <main>. */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--ink);
  color: var(--cream);
  padding: 0.65rem 1rem;
  border-radius: 0 0 8px 0;
  font-family: 'Geist Mono', monospace;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  z-index: 200;
}
.skip-link:focus { top: 0; }

/* ============================================
   TYPOGRAPHY UTILITIES
   ============================================ */

.display {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 500;
  font-variation-settings: "opsz" 96;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.serif {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.mono {
  font-family: 'Geist Mono', monospace;
  font-weight: 400;
}

.eyebrow {
  font-family: 'Geist Mono', monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 500;
}

/* ============================================
   NAV — MOBILE FIRST
   ============================================ */

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0.625rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  min-height: 0;
}

/* Brand wordmark lockup — typographic mark with primary display name
   "Roots up" (Bricolage Grotesque with italic-serif coral "up") and a small
   mono-caps tagline "LANDSCAPE & DESIGN" stacked beneath it. */
.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  text-decoration: none;
  line-height: 1;
  min-width: 0;
  flex-shrink: 1;
}

.logo-wordmark {
  width: auto;
  height: 52px;
  flex-shrink: 0;
  display: block;
}

.logo a,
.logo a:link,
.logo a:visited {
  color: inherit;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-links {
  display: flex;
  gap: 0.75rem;
  list-style: none;
  align-items: center;
}

/* Services / Projects hidden on mobile (revealed via hamburger menu). CTA stays
   visible inline on mobile, with hamburger to its right. */
.nav-links a:not(.nav-cta) {
  display: none;
}

/* Mobile hamburger button — visible only on mobile, sits to the right of the CTA.
   Hidden at tablet+ via the responsive media query below. */
.nav-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-left: 0.5rem;
  background: none;
  border: none;
  padding: 0;
  color: var(--ink);
  cursor: pointer;
  border-radius: 8px;
  -webkit-tap-highlight-color: transparent;
  flex-shrink: 0;
}
.nav-toggle:active { background: rgba(14, 27, 44, 0.08); }
.nav-toggle[aria-expanded="true"] { background: rgba(14, 27, 44, 0.06); }
.nav-toggle svg { display: block; }

/* Mobile menu — slides down from under the nav when hamburger is open. */
.nav-mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--cream);
  padding: 0.5rem 1.25rem 1rem;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(14, 27, 44, 0.08);
  z-index: 99;
}
.nav-mobile-menu.is-open { display: block; }
.nav-mobile-menu a {
  display: block;
  padding: 0.95rem 0;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}
.nav-mobile-menu a:last-child { border-bottom: none; }
.nav-mobile-menu a:hover { color: var(--coral); }

.nav-cta {
  background: var(--ink);
  color: var(--cream) !important;
  padding: 0.7rem 1.1rem;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 40px;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--coral);
  transform: translateY(-1px);
}

/* ============================================
   HERO — MOBILE FIRST
   ============================================ */

.hero {
  position: relative;
  min-height: 100vh;
  padding: 6rem 1.25rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
  overflow: hidden;
  background: var(--cream);
}

/* Full-bleed photo backdrop (commercial mower on a manicured lawn). */
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Keep the mower + stripes in frame across viewports — adjust if the
     generated photo composition shifts. */
  object-position: center 65%;
  z-index: 0;
  pointer-events: none;
}

/* Warm cream wash on top of the photo so the ink headline stays readable.
   Heavier on the left where the headline sits, softer toward the right. */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(105deg,
      rgba(255, 244, 219, 0.92) 0%,
      rgba(255, 244, 219, 0.78) 40%,
      rgba(255, 244, 219, 0.55) 70%,
      rgba(255, 244, 219, 0.45) 100%
    ),
    radial-gradient(circle at 18% 12%, rgba(255, 92, 77, 0.06), transparent 45%),
    radial-gradient(circle at 84% 78%, rgba(212, 255, 63, 0.05), transparent 50%);
  z-index: 1;
}

/* The italic accent + hand-drawn underline beneath it. */
.hero-title-accent {
  display: inline-block;
  position: relative;
  white-space: nowrap;
}
.hero-title-accent .serif {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--coral);
}
.hero-underline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.18em;
  width: 100%;
  height: 0.5em;
  color: var(--coral);
  pointer-events: none;
}

.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
}

h1.hero-title {
  font-size: clamp(2.6rem, 10vw, 5.5rem);
  margin: 0 0 1.75rem;
  max-width: 20ch;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.035em;
}

.hero-bottom {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1rem;
}

.hero-desc {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  align-items: flex-start;
  width: 100%;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: var(--ink);
  color: var(--cream);
  padding: 0.95rem 1.4rem 0.95rem 1.6rem;
  border-radius: 100px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
  min-height: 48px;
}

.btn-primary .arrow {
  width: 26px;
  height: 26px;
  background: var(--lime);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  font-size: 0.85rem;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.btn-primary:hover {
  background: var(--coral);
  transform: translateY(-2px);
}

.btn-primary:hover .arrow {
  transform: translateX(3px) rotate(-45deg);
}

.btn-text {
  font-family: 'Geist Mono', monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink);
  text-decoration: none;
  padding: 0.75rem 0 0.75rem 1.4rem;
  position: relative;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.btn-text::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 12px;
  height: 1px;
  background: var(--ink);
}

.btn-text:hover { color: var(--coral-deep); }

/* Marquee — scrolling services bar at the bottom of the hero.
   Uses negative horizontal margins to escape the .hero's padding so it
   spans edge-to-edge of the viewport at every breakpoint. */
.marquee {
  margin-top: 2.5rem;
  margin-left: -1.25rem;
  margin-right: -1.25rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0.9rem 0;
  overflow: hidden;
  position: relative;
  z-index: 2;
  /* Keep the marquee readable over the hero photo backdrop. */
  background: rgba(255, 244, 219, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.marquee-track {
  display: flex;
  gap: 1.75rem;
  width: max-content;
}

@media (prefers-reduced-motion: no-preference) {
  .marquee-track { animation: scroll 60s linear infinite; }
}

.marquee-item {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 1.75rem;
  color: var(--ink);
  white-space: nowrap;
}

.marquee-item .sep {
  width: 6px;
  height: 6px;
  background: var(--coral);
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================
   SERVICES
   ============================================ */

.services {
  padding: 4.5rem 1.25rem;
  background: var(--ink);
  color: var(--cream);
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.services-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.services-header {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.services-header .eyebrow {
  color: var(--lime);
  display: block;
  margin-bottom: 0.9rem;
}

.services-header h2 {
  font-size: clamp(2.25rem, 8vw, 3rem);
  color: var(--cream);
}

.services-header h2 .accent {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: var(--coral);
  font-weight: 400;
}

.services-header p {
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(255, 244, 219, 0.7);
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.service-card {
  display: block;
  background: var(--ink-soft);
  padding: 2rem 1.5rem 1.75rem;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  color: var(--cream);
  text-decoration: none;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-4px);
  background: var(--cream);
  color: var(--ink);
}

.service-card .num {
  font-family: 'Geist Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--coral);
  font-weight: 500;
  margin-bottom: 2rem;
  display: block;
}

.service-card h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 500;
  font-size: 1.55rem;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 0.85rem;
}

.service-card p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(255, 244, 219, 0.7);
  transition: color 0.3s;
}

.service-card:hover p {
  color: rgba(14, 27, 44, 0.7);
}

.service-card .corner {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--coral);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.service-card:hover .corner {
  background: var(--ink);
  transform: rotate(-45deg);
}

.service-card .corner svg {
  width: 12px;
  height: 12px;
  stroke: var(--cream);
}

/* ============================================
   SHOWCASE
   ============================================ */

.showcase {
  padding: 4.5rem 1.25rem;
  background: var(--cream);
  position: relative;
  z-index: 2;
}

.showcase.projects {
  background: var(--cream-deep);
  padding-bottom: 2rem;
}

.showcase-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.showcase-header {
  margin-bottom: 2.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.showcase-header .eyebrow {
  color: var(--coral-deep);
  display: block;
  margin-bottom: 0.75rem;
}

.showcase-header h2 {
  font-size: clamp(2.25rem, 8vw, 3rem);
  max-width: 14ch;
}

.showcase-header h2 .accent {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: var(--coral);
  font-weight: 400;
}

.showcase-header p {
  font-size: 0.98rem;
  line-height: 1.55;
  color: rgba(14, 27, 44, 0.7);
}

/* Inline "see all →" link inside .showcase-header — used to link to projects.html */
.showcase-header .see-all {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-family: 'Geist Mono', monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.25s ease;
}
.showcase-header .see-all::after {
  content: '→';
  transition: transform 0.25s ease;
}
.showcase-header .see-all:hover {
  color: var(--coral-deep);
}
.showcase-header .see-all:hover::after {
  transform: translateX(3px);
}

/* Same link, but on the dark Services section — cream text, lime hover */
.see-all.on-dark {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-family: 'Geist Mono', monospace;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--cream);
  text-decoration: none;
  transition: color 0.25s ease;
}
.see-all.on-dark::after {
  content: '→';
  transition: transform 0.25s ease;
}
.see-all.on-dark:hover { color: var(--lime); }
.see-all.on-dark:hover::after { transform: translateX(3px); }

/* Mobile: single-column grid, full-width tiles */
.showcase-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: auto;
  gap: 0.75rem;
}

.showcase-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--cream-deep);
  aspect-ratio: 4/3;
  transition: transform 0.4s ease;
}

.showcase-item:hover {
  transform: translateY(-3px);
}

.showcase-item.featured,
.showcase-item.tall {
  aspect-ratio: 4/3;
}

.showcase-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  color: transparent;
}

.showcase-item .ba-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: var(--ink);
  color: var(--cream);
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
  font-family: 'Geist Mono', monospace;
  font-size: 0.62rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  z-index: 2;
}

.showcase-item .ba-badge.after {
  background: var(--lime);
  color: var(--ink);
}

/* ============================================
   BEFORE / AFTER SLIDER
   ============================================ */

.ba-slider {
  grid-column: 1 / -1;
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 16px;
  overflow: hidden;
  background: var(--cream-deep);
  user-select: none;
  touch-action: pan-y;
  cursor: ew-resize;
}

.ba-slider .ba-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.ba-slider .ba-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

/* The "after" image is clipped from the left edge to the slider position */
.ba-slider {
  --ba-pos: 50%;
}
.ba-slider .ba-after {
  clip-path: inset(0 0 0 var(--ba-pos));
}
.ba-slider:not(.is-dragging) .ba-after {
  transition: clip-path 120ms ease-out;
}

/* Handle line */
.ba-slider .ba-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--ba-pos);
  width: 3px;
  background: var(--cream);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: 3;
  box-shadow: 0 0 14px rgba(0,0,0,0.25);
}
.ba-slider:not(.is-dragging) .ba-handle {
  transition: left 120ms ease-out;
}

/* Circular grip on the handle */
.ba-slider .ba-grip {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  pointer-events: none;
}

.ba-slider .ba-grip svg {
  width: 22px;
  height: 22px;
  color: var(--ink);
}

/* Labels positioned at corners */
.ba-slider .ba-label {
  position: absolute;
  top: 0.85rem;
  background: var(--ink);
  color: var(--cream);
  padding: 0.35rem 0.75rem;
  border-radius: 100px;
  font-family: 'Geist Mono', monospace;
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  z-index: 4;
  pointer-events: none;
}

.ba-slider .ba-label.before { left: 0.85rem; }
.ba-slider .ba-label.after {
  right: 0.85rem;
  background: var(--lime);
  color: var(--ink);
}

/* Project meta label below the slider */
.ba-slider-meta {
  grid-column: 1 / -1;
  font-family: 'Geist Mono', monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  color: var(--ink);
  opacity: 0.6;
  margin-top: -0.25rem;
}

/* ============================================
   PROCESS
   ============================================ */

.process {
  padding: 4.5rem 1.25rem;
  background: var(--lime);
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.process::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -15%;
  width: 50vw;
  height: 50vw;
  background: var(--coral);
  border-radius: 50%;
  opacity: 0.5;
  filter: blur(60px);
  pointer-events: none;
}

.process-inner {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.process-header {
  margin-bottom: 2.5rem;
}

.process-header .eyebrow {
  color: var(--ink);
  display: block;
  margin-bottom: 0.85rem;
}

.process-header h2 {
  font-size: clamp(2.25rem, 8vw, 3rem);
  color: var(--ink);
}

.process-header h2 .accent {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: var(--coral-deep);
  font-weight: 400;
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.step {
  background: var(--cream);
  padding: 2rem 1.5rem;
  border-radius: 20px;
  position: relative;
}

.step .num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 500;
  font-size: 2.75rem;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--coral);
  margin-bottom: 1.25rem;
}

.step h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 500;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.7rem;
  color: var(--ink);
}

.step p {
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(14, 27, 44, 0.65);
}

/* ============================================
   STATEMENT
   ============================================ */

.statement {
  padding: 5rem 1.25rem;
  background: var(--coral);
  color: var(--cream);
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.statement-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.statement .eyebrow {
  color: var(--cream);
  opacity: 0.7;
  display: block;
  margin-bottom: 1.5rem;
}

.statement blockquote {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 400;
  font-size: clamp(1.7rem, 7.5vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  max-width: 22ch;
  margin: 0 auto;
}

.statement blockquote .accent {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  font-weight: 400;
  color: var(--ink);
}

/* ============================================
   FAQ
   ============================================ */

.faq {
  padding: 4.5rem 1.25rem;
  background: var(--cream);
  position: relative;
  z-index: 2;
}

.faq-inner {
  max-width: 900px;
  margin: 0 auto;
}

.faq-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.faq-header .eyebrow {
  color: var(--coral-deep);
  display: block;
  margin-bottom: 0.85rem;
}

.faq-header h2 {
  font-size: clamp(2.25rem, 8vw, 3rem);
}

.faq-header h2 .accent {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: var(--coral);
  font-weight: 400;
}

.faq-item {
  border-top: 1px solid rgba(14, 27, 44, 0.15);
  padding: 1.35rem 0;
}

.faq-item:last-child {
  border-bottom: 1px solid rgba(14, 27, 44, 0.15);
}

.faq-q {
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  list-style: none;
  gap: 0.85rem;
  min-height: 32px;
}

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

.faq-q::after {
  content: '';
  width: 28px;
  height: 28px;
  background: var(--coral);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  transition: all 0.3s;
  background-image:
    linear-gradient(var(--cream), var(--cream)),
    linear-gradient(var(--cream), var(--cream));
  background-size: 11px 1.5px, 1.5px 11px;
  background-position: center, center;
  background-repeat: no-repeat;
}

details[open] .faq-q::after {
  background: var(--ink);
  background-image: linear-gradient(var(--cream), var(--cream));
  background-size: 11px 1.5px;
  background-position: center;
  background-repeat: no-repeat;
}

.faq-a {
  padding-top: 0.85rem;
  color: rgba(14, 27, 44, 0.7);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* ============================================
   CTA
   ============================================ */

.cta {
  background: var(--ink);
  color: var(--cream);
  padding: 4.5rem 1.25rem;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.cta::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120vw;
  height: 120vw;
  max-width: 900px;
  max-height: 900px;
  background: var(--coral);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.18;
  filter: blur(80px);
  pointer-events: none;
}

.cta-inner {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  text-align: center;
}

.cta .eyebrow {
  color: var(--lime);
  display: block;
  margin-bottom: 1.5rem;
}

.cta h2 {
  font-size: clamp(2.25rem, 9vw, 3.5rem);
  margin-bottom: 2rem;
  max-width: 18ch;
  margin-left: auto;
  margin-right: auto;
}

.cta h2 .accent {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: var(--coral);
  font-weight: 400;
}


.cta-actions {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

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

.cta .btn-primary .arrow {
  background: var(--ink);
  color: var(--lime);
}

.cta .btn-primary:hover {
  background: var(--coral);
  color: var(--cream);
}

.cta .btn-primary:hover .arrow {
  background: var(--cream);
  color: var(--coral);
}

.cta .btn-text {
  color: var(--cream);
}

.cta .btn-text::before {
  background: var(--cream);
}

.cta .btn-text:hover { color: var(--lime); }

/* ============================================
   FOOTER
   ============================================ */

footer {
  background: var(--ink);
  color: rgba(255, 244, 219, 0.55);
  padding: 1rem 1.25rem 1.25rem;
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 244, 219, 0.1);
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 0.6rem;
  font-family: 'Geist', sans-serif;
  font-size: 0.85rem;
  line-height: 1.45;
  letter-spacing: 0.05em;
}

/* Footer brand reuses the .logo lockup structure but recolored for the dark
   footer background. */
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-transform: none;
  letter-spacing: normal;
}
.footer-brand .logo-primary { color: var(--cream); }
.footer-brand .logo-secondary { color: rgba(255, 244, 219, 0.6); }

/* Footer logo can be smaller than the nav logo — footer is informational. */
.footer-brand .logo-wordmark { height: 52px; }


.footer-inner a {
  color: rgba(255, 244, 219, 0.7);
  text-decoration: none;
}

.footer-inner a:hover { color: var(--lime); }

/* ============================================
   PROJECTS PAGE (projects.html) — page header
   Compact intro block; reuses .showcase grid below it.
   ============================================ */

.page-header {
  padding: 7rem 1.25rem 3rem;
  background: var(--cream);
  position: relative;
  z-index: 2;
  border-bottom: 1px solid var(--line);
}

.page-header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.page-header .eyebrow {
  color: var(--coral-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.page-header .eyebrow::before {
  content: '';
  width: 28px;
  height: 1px;
  background: var(--ink);
  display: inline-block;
}

.page-header h1 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 500;
  font-size: clamp(2.4rem, 9vw, 4.5rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
  max-width: 20ch;
}

.page-header h1 .accent {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: var(--coral);
  font-weight: 400;
}

.page-header p {
  font-size: 1rem;
  line-height: 1.55;
  color: rgba(14, 27, 44, 0.7);
  max-width: 50ch;
}

.page-header .back-link {
  font-family: 'Geist Mono', monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  transition: color 0.25s ease;
}

.page-header .back-link::before {
  content: '←';
}

.page-header .back-link:hover {
  color: var(--coral-deep);
}

/* ============================================
   PROJECTS PAGE — vertical project blocks
   Each project gets its own header + media grid.
   Avoids the home-page showcase-grid auto-rows issue
   when mixing wide sliders with single-photo items.
   ============================================ */

.project-list {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3.5rem 1.25rem 5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  background: var(--cream);
  position: relative;
  z-index: 2;
}

.project-block {
  display: grid;
  gap: 1rem;
}

.project-block header {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.project-meta {
  font-family: 'Geist Mono', monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink);
  opacity: 0.6;
}

.project-h {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 500;
  font-size: clamp(1.5rem, 5vw, 2rem);
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--ink);
}

.project-h .accent {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: var(--coral);
  font-weight: 400;
}

/* Educational reference description — sits inside the project header, after the
   title. Explains what the photos demonstrate without claiming we built them. */
.project-desc {
  font-family: 'Geist', sans-serif;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(14, 27, 44, 0.75);
  margin: 0.4rem 0 0;
  max-width: 56ch;
}

.project-media {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.project-media .ba-slider {
  aspect-ratio: 4/3;
  grid-column: 1 / -1;
}

.project-media .showcase-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  background: var(--cream-deep);
  aspect-ratio: 4/3;
  transition: transform 0.4s ease;
}

.project-media .showcase-item:hover {
  transform: translateY(-3px);
}

.project-media .showcase-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  color: transparent;
}

/* ============================================
   SERVICES PAGE (services.html)
   Stacked editorial blocks, one per service.
   ============================================ */

.service-list {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3.5rem 1.25rem 5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  background: var(--cream);
  position: relative;
  z-index: 2;
}

.service-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}

.service-block:first-child {
  border-top: none;
  padding-top: 0;
}

.service-head {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 500;
  font-size: 3rem;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--coral);
}

.service-cadence {
  font-family: 'Geist Mono', monospace;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink);
  opacity: 0.6;
}

.service-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 500;
  font-size: clamp(1.75rem, 6vw, 2.4rem);
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: var(--ink);
}

.service-title .accent {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: var(--coral);
  font-weight: 400;
}

.service-body {
  display: grid;
  gap: 1.5rem;
}

.service-desc {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(14, 27, 44, 0.75);
}

.service-includes {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.55rem;
  padding: 0;
  margin: 0;
}

.service-includes li {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  font-family: 'Geist', sans-serif;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--ink);
}

.service-includes li::before {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--coral);
  transform: translateY(-2px);
}

/* Pricing callout — sits at the bottom of each service block */
.service-pricing {
  background: var(--cream-deep);
  border-radius: 18px;
  padding: 1.4rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  align-items: baseline;
  border: 1px solid var(--line);
}

.service-pricing-label {
  font-family: 'Geist Mono', monospace;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink);
  opacity: 0.55;
}

.service-pricing-amount {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 500;
  font-size: clamp(1.7rem, 5vw, 2.25rem);
  letter-spacing: -0.025em;
  line-height: 1;
  color: var(--ink);
}

.service-pricing-amount .unit {
  font-family: 'Geist', sans-serif;
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 0;
  color: rgba(14, 27, 44, 0.55);
  margin-left: 0.4rem;
  text-transform: lowercase;
}

.service-pricing-note {
  font-size: 0.88rem;
  line-height: 1.45;
  color: rgba(14, 27, 44, 0.65);
}

.service-pricing-cta {
  font-family: 'Geist Mono', monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  transition: color 0.25s ease;
}
.service-pricing-cta::after { content: '→'; transition: transform 0.25s ease; }
.service-pricing-cta:hover { color: var(--coral-deep); }
.service-pricing-cta:hover::after { transform: translateX(3px); }

/* ============================================
   QUOTE PAGE (quote.html)
   ============================================ */

.quote-page {
  max-width: 720px;
  margin: 0 auto;
  padding: 7rem 1.25rem 4rem;
  font-family: 'Geist', sans-serif;
  color: var(--ink);
}
.quote-eyebrow {
  font-family: 'Geist Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: var(--ink-soft);
  margin-bottom: 0.75rem;
}
.quote-h {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 500;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.05;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}
.quote-h .accent {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: var(--coral);
  font-weight: 400;
}
.quote-intro {
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0 0 2.25rem;
  max-width: 56ch;
}
.quote-form { display: grid; gap: 1.25rem; }
.quote-field { display: flex; flex-direction: column; gap: 0.4rem; }
.quote-field label { font-size: 0.85rem; font-weight: 500; color: var(--ink); }
.quote-field label .req { color: var(--coral); font-weight: 400; }
.quote-field input,
.quote-field select,
.quote-field textarea {
  font-family: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  width: 100%;
  box-sizing: border-box;
  transition: border-color 120ms ease, box-shadow 120ms ease;
}
.quote-field textarea { min-height: 140px; resize: vertical; }
.quote-field input:focus,
.quote-field select:focus,
.quote-field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(14, 27, 44, 0.08);
}
.quote-field input.is-invalid,
.quote-field select.is-invalid,
.quote-field textarea.is-invalid {
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(255, 92, 77, 0.12);
}
.quote-hint { font-size: 0.78rem; color: var(--ink-soft); }
.quote-submit {
  background: var(--ink);
  color: var(--cream);
  border: none;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 999px;
  padding: 1rem 1.75rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 0.5rem;
  transition: background 160ms ease, transform 160ms ease;
}
.quote-submit:hover { background: var(--coral); transform: translateY(-1px); }
.quote-submit[disabled] { opacity: 0.6; cursor: not-allowed; transform: none; }
.quote-submit .arrow {
  background: var(--lime);
  color: var(--ink);
  width: 28px; height: 28px;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600;
}
.quote-honeypot {
  position: absolute; left: -9999px;
  width: 1px; height: 1px; overflow: hidden; opacity: 0;
}
.quote-errors {
  background: rgba(255, 92, 77, 0.08);
  border: 1px solid var(--coral);
  border-radius: 12px;
  padding: 1rem 1.1rem;
  color: var(--coral-deep);
  font-size: 0.92rem;
}
.quote-errors ul { margin: 0.4rem 0 0; padding-left: 1.1rem; }
.quote-errors[hidden] { display: none; }

/* File picker — styled like a secondary button so the system-default look
   doesn't break the design language. Native input is hidden, label is the
   visual control. */
.quote-photos {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.quote-photos input[type="file"] {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap; border: 0;
}
.quote-photos-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  align-self: flex-start;
  background: var(--cream-deep);
  color: var(--ink);
  border: 1px dashed rgba(14, 27, 44, 0.25);
  border-radius: 12px;
  padding: 0.7rem 1rem;
  font-size: 0.92rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 120ms ease, border-color 120ms ease;
}
.quote-photos-trigger:hover,
.quote-photos input[type="file"]:focus-visible + .quote-photos-trigger {
  background: var(--cream);
  border-color: var(--ink);
}
.quote-photos-trigger svg { width: 18px; height: 18px; }
.quote-photos-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.quote-photo-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--cream-deep);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.35rem 0.4rem 0.35rem 0.75rem;
  font-size: 0.82rem;
  max-width: 100%;
}
.quote-photo-chip-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 18ch;
}
.quote-photo-chip-size { color: var(--ink-soft); }
.quote-photo-chip button {
  background: var(--ink);
  color: var(--cream);
  border: none;
  width: 22px; height: 22px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.85rem;
  line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
}
.quote-photo-chip button:hover { background: var(--coral); }

@media (min-width: 768px) {
  .quote-page { padding: 9rem 2rem 5rem; }
  .quote-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  /* City / State / ZIP — city takes most of the width, state stays compact. */
  .quote-row.quote-row-csz { grid-template-columns: 1.5fr 0.6fr 0.9fr; }
}

/* ============================================
   THANKS PAGE (quote-thanks.html)
   ============================================ */

.thanks-page {
  max-width: 640px;
  margin: 0 auto;
  padding: 8rem 1.25rem 5rem;
  text-align: center;
  font-family: 'Geist', sans-serif;
  color: var(--ink);
}
.thanks-eyebrow {
  font-family: 'Geist Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: var(--ink-soft);
  margin-bottom: 0.75rem;
}
.thanks-h {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 500;
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  line-height: 1.04;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
}
.thanks-h .accent {
  font-family: 'Instrument Serif', serif;
  font-style: italic;
  color: var(--coral);
  font-weight: 400;
}
.thanks-body {
  font-size: 1.05rem;
  color: var(--ink-soft);
  line-height: 1.6;
  margin: 0 auto 2rem;
  max-width: 48ch;
}
.thanks-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}
.thanks-btn {
  background: var(--ink);
  color: var(--cream);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 999px;
  padding: 0.85rem 1.5rem;
  display: inline-flex; align-items: center; gap: 0.5rem;
  transition: background 160ms ease;
}
.thanks-btn:hover { background: var(--coral); }
.thanks-btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.thanks-btn.ghost:hover { background: var(--cream-deep); color: var(--ink); }
@media (min-width: 768px) {
  .thanks-page { padding: 10rem 2rem 6rem; }
}

/* ============================================
   ACTIVE-PAGE NAV MARKER + FOCUS-VISIBLE POLISH
   ============================================ */

/* aria-current="page" — coral underline on the active nav link so assistive
   tech AND sighted users see where they are. */
.nav-links a[aria-current="page"] {
  color: var(--coral);
  position: relative;
}
.nav-mobile-menu a[aria-current="page"] {
  color: var(--coral);
}

/* Visible focus ring on every interactive control, using design tokens.
   :focus-visible only matches keyboard focus, so mouse clicks don't get
   the ring. */
a:focus-visible,
button:focus-visible,
.service-card:focus-visible,
.faq-q:focus-visible,
[data-ba-slider]:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
  border-radius: 4px;
}
.btn-primary:focus-visible,
.nav-cta:focus-visible,
.quote-submit:focus-visible,
.thanks-btn:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
}

/* ============================================
   TABLET ENHANCEMENTS (≥768px)
   ============================================ */

@media (min-width: 768px) {
  nav { padding: 0 2rem; }
  .nav-toggle, .nav-mobile-menu { display: none !important; }
  .logo-wordmark { height: 76px; }
  .nav-links { gap: 1.5rem; }
  .nav-links a:not(.nav-cta) {
    display: inline-block;
    color: var(--ink);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
  }
  .nav-links a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: -4px;
    height: 1.5px;
    background: var(--ink);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
  }
  .nav-links a:not(.nav-cta):hover::after { transform: scaleX(1); }

  .hero { padding: 9rem 2.5rem 4rem; }

  .hero-eyebrow { margin-bottom: 3rem; }
  .hero-eyebrow-line { width: 48px; }
  .hero-eyebrow-text { font-size: 0.75rem; }

  h1.hero-title {
    font-size: clamp(4rem, 8vw, 7rem);
    margin-bottom: 2.5rem;
    max-width: 18ch;
  }

  .hero-bottom {
    grid-template-columns: 1.6fr 1fr;
    gap: 3.5rem;
    align-items: end;
    margin-top: 2rem;
  }

  .hero-desc { font-size: 1.1rem; max-width: 32rem; }

  .hero-ledger {
    margin-top: 4rem;
    padding-top: 1.6rem;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    font-size: 0.75rem;
  }
  .hero-ledger li { gap: 0.7rem; }

  .marquee {
    margin-top: 4rem;
    margin-left: -2.5rem;
    margin-right: -2.5rem;
    padding: 1.1rem 0;
  }
  .marquee-track { gap: 2.5rem; }
  .marquee-item { font-size: 1.25rem; gap: 2.5rem; }

  .services, .showcase, .process, .faq, .cta {
    padding: 6.5rem 2rem;
  }

  .statement { padding: 7rem 2rem; }
  .statement blockquote { font-size: clamp(2rem, 5vw, 3.2rem); }

  .services-header {
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    margin-bottom: 4rem;
    align-items: end;
  }

  .services-header h2 { font-size: clamp(2.5rem, 5vw, 4rem); }
  .services-header p { font-size: 1.05rem; max-width: 30rem; }

  .service-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.1rem;
  }

  .service-card { padding: 2.25rem 1.85rem 1.85rem; }
  .service-card h3 { font-size: 1.7rem; }

  .showcase-header {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: end;
    margin-bottom: 3.5rem;
  }

  .showcase-header h2 { font-size: clamp(2.5rem, 5vw, 4rem); }

  .showcase-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 1fr;
    gap: 1rem;
  }

  /* Home #projects has only full-width sliders + meta now — let rows size to content
     instead of forcing the equal-height auto-rows used by the #work tile grid. */
  .showcase.projects .showcase-grid {
    grid-auto-rows: auto;
    row-gap: 2.5rem;
  }

  .showcase-item.featured {
    grid-row: span 2;
    grid-column: span 2;
    aspect-ratio: 4/3;
  }

  .showcase-item.tall {
    grid-row: span 2;
    aspect-ratio: 1/1.6;
  }


  .ba-slider {
    aspect-ratio: 16/9;
  }

  .ba-slider .ba-grip {
    width: 56px;
    height: 56px;
  }

  .ba-slider .ba-grip svg {
    width: 26px;
    height: 26px;
  }

  .ba-slider .ba-label {
    top: 1.25rem;
    font-size: 0.72rem;
    padding: 0.4rem 0.9rem;
  }

  .ba-slider .ba-label.before { left: 1.25rem; }
  .ba-slider .ba-label.after { right: 1.25rem; }

  .process-header { margin-bottom: 3.5rem; }
  .process-header h2 { font-size: clamp(2.5rem, 5vw, 4rem); }

  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
  }

  .step { padding: 2.4rem 1.85rem; }
  .step .num { font-size: 3.3rem; margin-bottom: 1.85rem; }
  .step h3 { font-size: 1.45rem; }

  .faq-q { font-size: 1.2rem; }
  .faq-q::after { width: 30px; height: 30px; }

  .cta h2 { font-size: clamp(2.5rem, 6vw, 5rem); }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    font-size: 0.88rem;
  }
  .footer-brand .logo-wordmark { height: 60px; }


  .page-header {
    padding: 9rem 2rem 5rem;
  }
  .page-header-inner {
    grid-template-columns: 1.4fr 1fr;
    gap: 3.5rem;
    align-items: end;
  }
  .page-header h1 { font-size: clamp(3.5rem, 6vw, 6rem); }
  .page-header p { font-size: 1.1rem; }

  .project-list {
    padding: 5rem 2rem 7rem;
    gap: 5.5rem;
  }
  .project-block { gap: 1.35rem; }
  .project-block header {
    flex-direction: row;
    align-items: baseline;
    justify-content: space-between;
    gap: 1.5rem;
    padding-bottom: 1rem;
  }
  .project-h { font-size: clamp(1.85rem, 3.5vw, 2.6rem); order: -1; }
  .project-meta { white-space: nowrap; }

  .project-media { gap: 1rem; }
  .project-media .ba-slider { aspect-ratio: 16/9; }

  /* 3-photo project: 3 equal columns at 4:3 — preserves each photo's aspect ratio
     instead of stretching cells, which was distorting portrait-oriented shots. */
  .project-media.media-3 {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
  }
  .project-media.media-3 .showcase-item {
    aspect-ratio: 4/3;
  }

  /* 1-photo project: photo + ample whitespace, photo capped at 2/3 width */
  .project-media.media-1 {
    grid-template-columns: 2fr 1fr;
    align-items: stretch;
  }
  .project-media.media-1 .showcase-item {
    aspect-ratio: 16/10;
  }

  /* 2-photo project (before/after pair): side-by-side, equal columns */
  .project-media.media-2 {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .project-media.media-2 .showcase-item {
    aspect-ratio: 4/3;
  }

  /* 4-photo project: 2x2 grid */
  .project-media.media-4 {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  .project-media.media-4 .showcase-item {
    aspect-ratio: 4/3;
  }


  /* Services page — 2-column layout: head on left, body on right */
  .service-list {
    padding: 5rem 2rem 7rem;
    gap: 5rem;
  }
  .service-block {
    grid-template-columns: 1fr 1.6fr;
    gap: 3.5rem;
    padding-top: 3.5rem;
    align-items: start;
  }
  .service-head { gap: 1rem; position: sticky; top: 6rem; }
  .service-num { font-size: 4rem; }
  .service-title { font-size: clamp(2rem, 4vw, 3rem); }
  .service-body { gap: 2rem; }
  .service-desc { font-size: 1.05rem; }
  .service-includes {
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem 1.5rem;
  }
  .service-pricing {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 2.5rem;
    row-gap: 0.35rem;
    padding: 1.85rem 2.25rem;
    align-items: center;
  }
  .service-pricing-label  { grid-column: 1; grid-row: 1; }
  .service-pricing-amount { grid-column: 1; grid-row: 2; }
  .service-pricing-note   { grid-column: 1; grid-row: 3; min-width: 0; }
  .service-pricing-cta    {
    grid-column: 2;
    grid-row: 1 / -1;
    align-self: center;
    margin-top: 0;
    white-space: nowrap;
  }
}

/* ============================================
   DESKTOP ENHANCEMENTS (≥1024px)
   ============================================ */

@media (min-width: 1024px) {
  nav { padding: 0.875rem 2.5rem; }
  .nav-links { gap: 2rem; }

  .hero { padding: 10rem 3rem 5rem; }
  .marquee { margin-left: -3rem; margin-right: -3rem; }

  h1.hero-title {
    font-size: clamp(5rem, 9vw, 8.5rem);
    margin: 0 0 3rem;
    max-width: 16ch;
  }

  .hero-ledger { margin-top: 5rem; }

  .services, .showcase, .process, .faq, .cta {
    padding: 8rem 2.5rem;
  }

  .statement { padding: 9rem 2.5rem; }

  .services-header h2 { font-size: clamp(3rem, 6vw, 5.5rem); }
  .service-card { padding: 2.5rem 2rem 2rem; }
  .service-card h3 { font-size: 1.85rem; }
  .service-card .corner { width: 36px; height: 36px; top: 1.75rem; right: 1.75rem; }

  .showcase-header h2 { font-size: clamp(3rem, 6vw, 5rem); }

  .process-header h2 { font-size: clamp(3rem, 6vw, 5rem); }
  .steps { gap: 1.5rem; }
  .step { padding: 2.5rem 2rem; }
  .step .num { font-size: 3.5rem; margin-bottom: 2rem; }
  .step h3 { font-size: 1.5rem; }

  .statement blockquote { font-size: clamp(2.5rem, 5vw, 4.2rem); line-height: 1.05; }

  .faq-q { font-size: 1.3rem; }
  .faq-q::after { width: 30px; height: 30px; background-size: 12px 1.5px, 1.5px 12px; }
  details[open] .faq-q::after { background-size: 12px 1.5px; }

  .faq-a { font-size: 1rem; }

  .cta h2 { font-size: clamp(2.8rem, 7vw, 6rem); margin-bottom: 3rem; }
  .cta { padding: 7rem 2.5rem; }

  footer { padding: 1.25rem 2.5rem 1.5rem; }

  .page-header { padding: 10rem 3rem 6rem; }
  .page-header h1 { font-size: clamp(4rem, 7vw, 7rem); }

  .project-list { padding: 6rem 3rem 8rem; gap: 6.5rem; }
  .project-h { font-size: clamp(2rem, 3vw, 3rem); }

  .service-list { padding: 6rem 3rem 8rem; gap: 6rem; }
  .service-block { padding-top: 4.5rem; gap: 4.5rem; }
  .service-title { font-size: clamp(2.4rem, 3.5vw, 3.5rem); }
}
