/* ═══════════════════════════════════════════════════════════
   GRAND BUILDERS — Brand-aligned premium design
   Forest green × Cream × Brass accents
═══════════════════════════════════════════════════════════ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* Palette — drawn directly from the brand logo */
  --bone:        #F4F1EA;       /* page background */
  --cream:       #EBE6DB;       /* secondary surface */
  --paper:       #E1DBCC;       /* dividers / accents */
  --ink:         #1A1A18;       /* primary text */
  --ink-soft:    #2A2A26;       /* dark surfaces */
  --char:        #4A4640;
  --stone:       #8B8478;
  --mist:        #B8B2A4;
  
  /* Forest greens — derived from the logo */
  --forest:      #2D4A35;       /* logo green */
  --forest-deep: #1F3625;
  --forest-mid:  #3E5C45;
  --forest-soft: #6B8770;
  --forest-pale: #C8D2C0;
  
  /* Brass / gold accents from the photos */
  --brass:       #B8956A;
  --brass-light: #D4B58E;
  --brass-deep:  #8B6E45;
  
  --serif:       'Cormorant Garamond', 'Georgia', serif;
  --sans:        'Inter Tight', -apple-system, sans-serif;
  
  --ease:        cubic-bezier(0.65, 0, 0.35, 1);
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  /* CSS-level smooth scroll: applies ONLY to anchor link jumps and
     programmatic scrolls (window.scrollTo with behavior:'smooth').
     Mouse wheel and trackpad scroll remain fully native — fast and
     responsive — which is what premium sites actually do. */
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  /* Prevent horizontal overflow at the root, NOT on body — putting it on
     body makes body the scroll container, which breaks window.scrollTo() and
     prevents our smooth-scroll module from controlling the page. `clip` is
     the modern preferred value because it doesn't establish a scrollport,
     doesn't break position:sticky, and isn't ignored in some browsers. */
  overflow-x: clip;
}
body {
  font-family: var(--sans);
  background: var(--bone);
  color: var(--ink);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.65;
  /* overflow-x is now on html, see above */
  /* Typographic refinements — enable standard + discretionary ligatures,
     kerning, contextual alternates, and proportional/old-style numerals
     where the font supports them. Cormorant Garamond ships with a rich
     OpenType feature set; Inter Tight has tabular and proportional figures. */
  font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1;
  font-optical-sizing: auto;
}

/* Cormorant Garamond — enable its expressive set when used for display type */
.hero-title, .showcase-title, .services-title, .process-title, .locations-title,
.intro h1, .intro h2, .intro h3,
.case-title, .sw-intro h2, .sw-package-head h3, .sw-cadence-head h3,
.sw-terms-text h3, .sw-faq-head h3, .p-hero h1, .loc-hero h1, .city-intro h2,
.city-services-head h3, .city-feature-text h3, .city-why-head h3,
.chapter-title, .latest-title, .testimonial-quote,
h1, h2, h3, h4 {
  font-feature-settings: 'kern' 1, 'liga' 1, 'dlig' 1, 'calt' 1, 'salt' 1, 'onum' 1;
  font-optical-sizing: auto;
}

/* Old-style numerals + tabular alignment for prose with figures */
.intro-body p, .case-body p, .sw-intro-body p, .sw-pillar p,
.city-intro-body p, .csvc-card p, .city-feature-text p {
  font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1, 'onum' 1, 'pnum' 1;
}

/* Stat figures need tabular numerals for clean column alignment */
.stat-fig, .nav-phone, [data-count] {
  font-variant-numeric: tabular-nums;
  font-feature-settings: 'tnum' 1, 'lnum' 1, 'kern' 1;
}

/* Refined scrollbars — thin, on-brand, only visible when scrolling */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb {
  background: var(--forest);
  border: 2px solid var(--cream);
  border-radius: 99px;
  transition: background 0.3s;
}
::-webkit-scrollbar-thumb:hover { background: var(--forest-deep); }
/* Firefox */
* { scrollbar-width: thin; scrollbar-color: var(--forest) var(--cream); }

::selection { background: var(--forest); color: var(--bone); }

/* ── Drop caps — used on lead paragraphs of editorial sections ── */
.dropcap::first-letter,
.intro-body > p:first-of-type::first-letter,
.sw-intro-body > p:first-of-type::first-letter,
.city-intro-body > p:first-of-type::first-letter {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: 4.4em;
  line-height: 0.88;
  float: left;
  padding: 0.08em 0.18em 0 0;
  color: var(--forest);
  font-feature-settings: 'salt' 1, 'kern' 1;
}

/* Small caps for editorial labels */
.smallcaps {
  font-variant-caps: all-small-caps;
  letter-spacing: 0.04em;
}

img { display: block; max-width: 100%; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--forest);
}
.kicker::before {
  content: ''; width: 36px; height: 1px;
  background: currentColor;
  flex-shrink: 0;
}
.kicker-light { color: var(--forest-pale); }

/* ═══ LOGO MARK (recreated from your brand) ═══ */
.gb-mark {
  display: inline-block;
  width: 40px; height: 40px;
  flex-shrink: 0;
}
.gb-mark svg { width: 100%; height: 100%; }

/* ═══ NAVIGATION ═══ */
.nav-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 3rem;
  transition: all 0.5s var(--ease);
}
.nav-bar:not(.scrolled) {
  background: linear-gradient(to bottom, rgba(26,26,24,0.55) 0%, rgba(26,26,24,0) 100%);
}
.nav-bar:not(.scrolled) .nav-logo,
.nav-bar:not(.scrolled) .nav-link {
  color: var(--bone);
}
.nav-bar:not(.scrolled) .gb-mark .stroke {
  stroke: var(--bone);
}
.nav-bar:not(.scrolled) .nav-cta {
  color: var(--bone);
  border-color: rgba(244,241,234,0.5);
}
.nav-bar:not(.scrolled) .nav-cta:hover {
  background: var(--bone);
  color: var(--ink);
  border-color: var(--bone);
}
.nav-bar.scrolled {
  padding: 1rem 3rem;
  background: rgba(244, 241, 234, 0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(26, 26, 24, 0.06);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  color: var(--ink);
  transition: color 0.4s var(--ease);
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.nav-logo-name {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.nav-logo-name em {
  font-style: italic;
  font-weight: 400;
  color: var(--forest);
}
.nav-bar:not(.scrolled) .nav-logo-name em { color: var(--forest-pale); }
.nav-logo-sub {
  font-family: var(--sans);
  font-size: 0.58rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--stone);
  font-weight: 500;
  margin-top: 4px;
}
.nav-bar:not(.scrolled) .nav-logo-sub { color: rgba(244,241,234,0.6); }

.nav-center { display: flex; align-items: center; gap: 2.5rem; }
.nav-link {
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  padding: 0.5rem 0;
  position: relative;
  transition: color 0.3s var(--ease);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  width: 0; height: 1px;
  background: currentColor;
  transition: all 0.4s var(--ease);
  transform: translateX(-50%);
}
.nav-link:hover::after { width: 100%; }

.nav-phone {
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink);
  text-decoration: none;
  margin-right: 1.25rem;
  padding: 0.5rem 0;
  transition: color 0.3s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-variant-numeric: tabular-nums;
}
.nav-phone::before {
  content: '';
  width: 14px; height: 14px;
  background: url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%231A1A18' stroke-width='1.5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center/contain no-repeat;
  opacity: 0.65;
  transition: opacity 0.3s ease;
}
.nav-phone:hover { color: var(--forest); }
.nav-phone:hover::before { opacity: 1; }
.nav-bar:not(.scrolled) .nav-phone {
  color: var(--bone);
}
.nav-bar:not(.scrolled) .nav-phone::before {
  background: url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%23F4F1EA' stroke-width='1.5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6 19.79 19.79 0 0 1-3.07-8.67A2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72 12.84 12.84 0 0 0 .7 2.81 2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45 12.84 12.84 0 0 0 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center/contain no-repeat;
  opacity: 0.85;
}
.nav-bar:not(.scrolled) .nav-phone:hover { color: var(--forest-pale); }

.nav-cta {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--ink);
  transition: all 0.4s var(--ease);
}
.nav-cta:hover { background: var(--forest); color: var(--bone); border-color: var(--forest); }

.menu-toggle {
  display: none;
  width: 30px; height: 18px;
  position: relative;
  cursor: pointer;
  background: transparent;
  border: none;
  color: var(--bone);
}
.nav-bar.scrolled .menu-toggle { color: var(--ink); }
.menu-toggle span {
  display: block;
  position: absolute;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: 0.3s var(--ease);
}
.menu-toggle span:nth-child(1) { top: 4px; }
.menu-toggle span:nth-child(2) { top: 14px; }

.mobile-overlay {
  position: fixed;
  inset: 0;
  background: var(--ink);
  z-index: 99;
  transform: translateY(-100%);
  transition: transform 0.7s var(--ease-out);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-overlay.open { transform: translateY(0); }
.mobile-overlay nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}
.mobile-overlay a {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
  color: var(--bone);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}
.mobile-overlay a:hover { color: var(--forest-pale); font-style: italic; }

/* ═══ HERO — Full bleed editorial with REAL photo ═══ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 6rem 3rem 4rem;
  background: var(--ink);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('images/sancarlos-02-kitchen-bar.jpg') center/cover no-repeat;
  transform: scale(1.05);
  animation: heroBreathe 22s ease-in-out infinite alternate;
}
@keyframes heroBreathe { to { transform: scale(1.1) translate(-1%, 0); } }
.hero-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26,26,24,0.45) 0%, rgba(26,26,24,0.1) 35%, rgba(26,26,24,0.5) 70%, rgba(26,26,24,0.85) 100%);
}
.hero-grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.18 0 0 0 0 0.29 0 0 0 0 0.21 0 0 0 0.06 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
  mix-blend-mode: overlay;
}

.hero-meta {
  position: absolute;
  top: 50%; right: 3rem;
  transform: translateY(-50%) rotate(90deg);
  transform-origin: right center;
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: rgba(244,241,234,0.55);
  z-index: 5;
}
.hero-meta::before {
  content: ''; width: 40px; height: 1px; background: var(--forest-pale);
}

.hero-content {
  position: relative;
  z-index: 4;
  max-width: 1500px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 4rem;
}
.hero-text { max-width: 900px; }

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--forest-pale);
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: rise 1s var(--ease-out) 0.3s forwards;
}
.hero-kicker::before {
  content: ''; width: 50px; height: 1px; background: var(--forest-pale);
}

.hero-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(3rem, 8.5vw, 8.5rem);
  line-height: 0.92;
  letter-spacing: -0.025em;
  color: var(--bone);
  opacity: 0;
  animation: rise 1.1s var(--ease-out) 0.5s forwards;
}
.hero-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--forest-pale);
}
.hero-title .ind {
  display: inline-block;
  width: 0.22em; height: 0.22em;
  border-radius: 50%;
  background: var(--brass);
  vertical-align: 0.6em;
  margin: 0 0.1em;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-cta-block {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.5rem;
  opacity: 0;
  animation: rise 1.1s var(--ease-out) 0.9s forwards;
}
.hero-tagline {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 1.3rem;
  color: rgba(244,241,234,0.88);
  max-width: 340px;
  text-align: right;
  line-height: 1.4;
}
.hero-tagline::before {
  content: '';
  display: block;
  width: 36px; height: 1px;
  background: var(--forest-pale);
  margin: 0 0 1rem auto;
}

.scroll-cue {
  position: absolute;
  bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  z-index: 5;
  opacity: 0;
  animation: rise 1.5s var(--ease-out) 1.4s forwards;
}
.scroll-cue span {
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(244,241,234,0.55);
}
.scroll-line {
  width: 1px; height: 70px;
  background: linear-gradient(to bottom, var(--forest-pale), transparent);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: -30px; left: 0;
  width: 100%; height: 30px;
  background: var(--bone);
  animation: scrollDot 2.4s var(--ease-out) infinite;
}
@keyframes scrollDot { to { transform: translateY(100px); } }

/* ═══ MARQUEE ═══ */
.marquee {
  background: var(--forest);
  overflow: hidden;
  padding: 1.5rem 0;
  position: relative;
}
.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: scroll 38s linear infinite;
  gap: 4rem;
}
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.7rem;
  font-weight: 300;
  color: var(--bone);
  letter-spacing: 0;
}
.marquee-item::after {
  content: '';
  width: 6px; height: 6px;
  background: var(--brass-light);
  border-radius: 50%;
  margin-left: 2.5rem;
}

/* ═══ CHAPTER ═══ */
.chapter {
  padding: 10rem 3rem;
  background: var(--bone);
  position: relative;
}
.chapter-inner { max-width: 1400px; margin: 0 auto; }
.chapter-num {
  position: absolute;
  top: 7rem; right: 3rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--forest);
  letter-spacing: 0.05em;
}

.intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: start;
}
.intro-lead {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-top: 3rem;
}
.intro-lead em { font-style: italic; color: var(--forest); }
.intro-lead .dot {
  display: inline-block;
  width: 0.16em; height: 0.16em;
  border-radius: 50%;
  background: var(--brass);
  vertical-align: 0.4em;
}

.intro-body { padding-top: 4rem; }
.intro-body p {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.85;
  color: var(--char);
  font-weight: 300;
  margin-bottom: 1.5rem;
  max-width: 460px;
}

.intro-sig {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--paper);
  max-width: 460px;
}
.intro-sig .name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.55rem;
  color: var(--ink);
}
.intro-sig .role {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 0.4rem;
}

/* ═══ STATS ═══ */
.stats {
  background: var(--cream);
  padding: 7rem 3rem;
  position: relative;
}
.stats-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 2.25rem;
}
@media (max-width: 1280px) {
  .stats-inner { grid-template-columns: repeat(3, 1fr); gap: 2.75rem 2.5rem; }
  .stat:nth-child(3n) { border-right: none; }
  .stat:last-child { border-right: none; }
}
.stat {
  position: relative;
  padding-right: 2rem;
  border-right: 1px solid var(--paper);
}
.stat:last-child { border-right: none; }
.stat-fig {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink);
  display: flex;
  align-items: baseline;
  gap: 0.08em;
}
.stat-fig .small {
  font-size: 0.38em;
  color: var(--forest);
  font-style: italic;
  margin-left: 0.05em;
}
.stat-label {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--stone);
  margin-top: 1.5rem;
  max-width: 200px;
}

/* ═══ SHOWCASE — Featured project with REAL photos ═══ */
.showcase {
  padding: 10rem 3rem;
  background: var(--bone);
}
.showcase-inner { max-width: 1500px; margin: 0 auto; }

.showcase-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: end;
  margin-bottom: 5rem;
}
.showcase-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.025em;
}
.showcase-title em { font-style: italic; color: var(--forest); }
.showcase-meta {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}
.showcase-desc {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.85;
  color: var(--char);
  font-weight: 300;
  max-width: 440px;
}

.showcase-project-tag {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: right;
  flex-shrink: 0;
}
.showcase-project-tag .label {
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass-deep);
}
.showcase-project-tag .name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--ink);
}

/* THE BIG REVEAL — 12-col bento with REAL photos */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 120px;
  gap: 1.25rem;
}

.sc-tile {
  position: relative;
  overflow: hidden;
  background: var(--forest-deep);
  cursor: pointer;
}
.sc-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.sc-tile:hover img { transform: scale(1.04); }
.sc-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(26,26,24,0.78) 100%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.sc-tile:hover .sc-tile-overlay { opacity: 1; }
.sc-tile-caption {
  position: absolute;
  bottom: 1.4rem; left: 1.4rem; right: 1.4rem;
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bone);
  transform: translateY(8px);
  opacity: 0;
  transition: all 0.5s var(--ease);
}
.sc-tile:hover .sc-tile-caption { transform: translateY(0); opacity: 1; }

/* Bento layout */
.sc-1 { grid-column: span 7; grid-row: span 5; }
.sc-2 { grid-column: span 5; grid-row: span 3; }
.sc-3 { grid-column: span 5; grid-row: span 2; }
.sc-4 { grid-column: span 4; grid-row: span 4; }
.sc-5 { grid-column: span 4; grid-row: span 4; }
.sc-6 { grid-column: span 4; grid-row: span 4; }
.sc-7 { grid-column: span 8; grid-row: span 4; }
.sc-8 { grid-column: span 4; grid-row: span 4; }

/* ═══ SERVICES — Hover list ═══ */
.services {
  background: var(--ink);
  padding: 10rem 3rem;
  position: relative;
  overflow: hidden;
}
.services::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.7 0 0 0 0 0.65 0 0 0 0 0.55 0 0 0 0.04 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.6;
  pointer-events: none;
}
.services-inner { max-width: 1400px; margin: 0 auto; position: relative; }

.services-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: end;
  margin-bottom: 5rem;
}
.services-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--bone);
}
.services-title em { font-style: italic; color: var(--forest-pale); }
.services-intro {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.85;
  color: var(--mist);
  font-weight: 300;
  max-width: 440px;
}

.svc-list { border-top: 1px solid rgba(244,241,234,0.1); }
.svc-row {
  display: grid;
  grid-template-columns: 50px 1fr 1.3fr 60px;
  gap: 2rem;
  align-items: center;
  padding: 2.5rem 0;
  border-bottom: 1px solid rgba(244,241,234,0.1);
  cursor: pointer;
  text-decoration: none;
  color: var(--bone);
  position: relative;
  transition: padding 0.5s var(--ease);
  overflow: hidden;
}
.svc-row::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(45,74,53,0.0), rgba(45,74,53,0.25), rgba(45,74,53,0.0));
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.svc-row:hover::before { opacity: 1; }
.svc-row:hover { padding-left: 1rem; }
.svc-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--brass);
  position: relative;
  z-index: 1;
}
.svc-name {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.8rem, 3.5vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.02em;
  transition: transform 0.5s var(--ease);
  position: relative;
  z-index: 1;
}
.svc-row:hover .svc-name { transform: translateX(12px); }
.svc-name em { font-style: italic; color: var(--forest-pale); }
.svc-desc {
  font-family: var(--sans);
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--mist);
  font-weight: 300;
  max-width: 400px;
  position: relative;
  z-index: 1;
}
.svc-arrow {
  width: 50px; height: 50px;
  border: 1px solid rgba(244,241,234,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s var(--ease);
  position: relative; z-index: 1;
}
.svc-arrow svg { width: 16px; height: 16px; stroke: var(--bone); fill: none; stroke-width: 1.2; transition: stroke 0.4s; }
.svc-row:hover .svc-arrow {
  background: var(--forest);
  border-color: var(--forest);
  transform: rotate(-45deg);
}

/* Featured stewardship row — brass marker, slightly stronger contrast */
.svc-row-featured { position: relative; }
.svc-row-featured::after {
  content: 'Included';
  position: absolute;
  top: 2.5rem; right: 4.5rem;
  font-family: var(--sans);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass);
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--brass);
  border-radius: 999px;
  background: transparent;
  z-index: 2;
  pointer-events: none;
}
.svc-row-featured .svc-num { color: var(--brass); }
.svc-row-featured:hover .svc-arrow { background: var(--brass); border-color: var(--brass); }
@media (max-width: 900px) {
  .svc-row-featured::after { top: 1.25rem; right: 1rem; font-size: 0.5rem; padding: 0.25rem 0.6rem; }
}

/* ═══ PROCESS ═══ */
.process {
  background: var(--cream);
  padding: 10rem 3rem;
}
.process-inner { max-width: 1400px; margin: 0 auto; }
.process-header {
  text-align: center;
  margin-bottom: 6rem;
}
.process-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 1.5rem 0;
}
.process-title em { font-style: italic; color: var(--forest); }
.process-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--char);
  max-width: 560px;
  margin: 0 auto;
  font-weight: 300;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  position: relative;
}
.process-steps::before {
  content: '';
  position: absolute;
  top: 60px; left: 12%; right: 12%;
  height: 1px;
  background: var(--paper);
  z-index: 0;
}
.step { position: relative; padding-top: 0; }
.step-marker {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--bone);
  border: 1px solid var(--paper);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--forest);
  position: relative;
  z-index: 1;
  margin-bottom: 2rem;
  transition: all 0.4s var(--ease);
}
.step:hover .step-marker {
  background: var(--forest);
  color: var(--bone);
  border-color: var(--forest);
  transform: scale(1.08);
}
.step h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.005em;
}
.step p {
  font-family: var(--sans);
  font-size: 0.92rem;
  line-height: 1.78;
  color: var(--char);
  font-weight: 300;
}

/* ═══ TESTIMONIAL ═══ */
.testimonial {
  background: var(--forest-deep);
  padding: 12rem 3rem;
  position: relative;
  overflow: hidden;
}
.testimonial::before {
  content: '"';
  position: absolute;
  top: 4rem; left: 50%;
  transform: translateX(-50%);
  font-family: var(--serif);
  font-size: 20rem;
  font-style: italic;
  color: rgba(200,210,192,0.1);
  line-height: 0.5;
  pointer-events: none;
}
.testimonial-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.testimonial-quote {
  font-family: var(--serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(1.6rem, 3.5vw, 3rem);
  line-height: 1.3;
  color: var(--bone);
  letter-spacing: -0.01em;
  margin-bottom: 3rem;
  transition: opacity 0.5s ease;
}
.testimonial-attr {
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--forest-pale);
  transition: opacity 0.5s ease;
}
.testimonial-attr span {
  display: block;
  color: var(--mist);
  margin-top: 0.5rem;
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.04em;
  font-family: var(--serif);
  font-size: 0.95rem;
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 4rem;
}
.testimonial-nav button {
  width: 36px; height: 3px;
  background: rgba(244,241,234,0.2);
  border: none;
  cursor: pointer;
  transition: background 0.4s var(--ease);
}
.testimonial-nav button.active { background: var(--forest-pale); }

/* ═══ LOCATIONS ═══ */
.locations {
  background: var(--bone);
  padding: 10rem 3rem;
}
.locations-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 6rem;
  align-items: start;
}
.locations-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.5rem, 4.5vw, 4rem);
  line-height: 1;
  letter-spacing: -0.025em;
  margin: 1.5rem 0;
}
.locations-title em { font-style: italic; color: var(--forest); }
.locations-desc {
  font-family: var(--sans);
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--char);
  font-weight: 300;
  max-width: 380px;
}

.locations-list {
  columns: 3;
  column-gap: 2rem;
  list-style: none;
}
.locations-list li {
  font-family: var(--serif);
  font-weight: 300;
  font-size: 1.4rem;
  letter-spacing: -0.005em;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--paper);
  break-inside: avoid;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  transition: all 0.3s var(--ease);
  cursor: default;
}
.locations-list li:hover {
  color: var(--forest);
  border-bottom-color: var(--forest);
}
.locations-list li:hover .loc-code { color: var(--forest); }
.locations-list .loc-code {
  font-family: var(--sans);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  color: var(--stone);
  text-transform: uppercase;
  transition: color 0.3s var(--ease);
}

/* ═══ CTA ═══ */
.cta {
  background: var(--ink);
  padding: 12rem 3rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background: url('images/sancarlos-04-bar-tall.jpg') center/cover no-repeat;
  opacity: 0.25;
}
.cta-veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(26,26,24,0.75), rgba(26,26,24,0.92));
}
.cta-inner {
  position: relative; z-index: 2;
  max-width: 900px; margin: 0 auto;
}
.cta-kicker {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--forest-pale);
  margin-bottom: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
}
.cta-kicker::before, .cta-kicker::after {
  content: ''; width: 30px; height: 1px; background: var(--forest-pale);
}
.cta-title {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--bone);
  margin-bottom: 3rem;
}
.cta-title em { font-style: italic; color: var(--forest-pale); }
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem 3.5rem;
  background: var(--forest);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid var(--forest);
  transition: all 0.5s var(--ease);
}
.cta-btn:hover {
  background: transparent;
  border-color: var(--forest-pale);
  color: var(--forest-pale);
  padding: 1.5rem 4rem;
}
.cta-btn svg {
  width: 16px; height: 16px;
  transition: transform 0.5s var(--ease);
}
.cta-btn:hover svg { transform: translateX(8px); }

.cta-contact {
  margin-top: 4rem;
  display: flex;
  justify-content: center;
  gap: 4rem;
  flex-wrap: wrap;
}
.cta-contact-item { text-align: left; }
.cta-contact-label {
  font-family: var(--sans);
  font-size: 0.6rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--mist);
  margin-bottom: 0.5rem;
}
.cta-contact-val {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--bone);
  text-decoration: none;
  transition: color 0.3s;
}
.cta-contact-val:hover { color: var(--forest-pale); }

/* ═══ FOOTER ═══ */
footer {
  background: var(--ink-soft);
  padding: 6rem 3rem 2rem;
  color: var(--mist);
}
.footer-inner { max-width: 1400px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(244,241,234,0.06);
}
.footer-brand .nav-logo { color: var(--bone); }
.footer-brand .nav-logo .gb-mark .stroke { stroke: var(--bone); }
.footer-brand .nav-logo-name { font-size: 1.6rem; color: var(--bone); }
.footer-brand .nav-logo-name em { color: var(--forest-pale); }
.footer-brand .nav-logo-sub { color: var(--stone); }

.footer-brand p {
  font-size: 0.92rem;
  line-height: 1.75;
  color: rgba(244,241,234,0.4);
  margin: 1.75rem 0;
  max-width: 320px;
  font-weight: 300;
}
.footer-social { display: flex; gap: 0.5rem; }
.footer-social a {
  width: 40px; height: 40px;
  border: 1px solid rgba(244,241,234,0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--mist);
  text-decoration: none;
  transition: all 0.4s var(--ease);
}
.footer-social a:hover { background: var(--forest); border-color: var(--forest); color: var(--bone); }
.footer-social svg { width: 14px; height: 14px; fill: currentColor; }

.footer-col h4 {
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--forest-pale);
  margin-bottom: 1.75rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.85rem; }
.footer-col ul a {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(244,241,234,0.55);
  text-decoration: none;
  transition: color 0.3s var(--ease);
}
.footer-col ul a:hover { color: var(--forest-pale); }
.footer-col address { font-style: normal; }
.footer-col address p { font-size: 0.92rem; color: rgba(244,241,234,0.4); margin-bottom: 0.5rem; line-height: 1.7; }
.footer-col address a { color: rgba(244,241,234,0.55); text-decoration: none; transition: color 0.3s; }
.footer-col address a:hover { color: var(--forest-pale); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copy {
  font-family: var(--sans);
  font-size: 0.72rem;
  color: rgba(244,241,234,0.25);
  letter-spacing: 0.06em;
}
.footer-legal { display: flex; gap: 2rem; }
.footer-legal a {
  font-family: var(--sans);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(244,241,234,0.3);
  text-decoration: none;
  transition: color 0.3s;
}
.footer-legal a:hover { color: var(--forest-pale); }

/* ═══ REVEAL ANIMATIONS ═══ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.in { opacity: 1; transform: translateY(0); }

.reveal-img {
  opacity: 0;
  clip-path: inset(14% 0 14% 0);
  transition: opacity 0.8s var(--ease-out), clip-path 1.0s var(--ease-out);
}
.reveal-img.in { opacity: 1; clip-path: inset(0 0 0 0); }

/* Honor reduced-motion preferences — no fades, no transforms */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-img { opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 1100px) {
  .nav-bar { padding: 1.25rem 2rem; }
  .nav-bar.scrolled { padding: 1rem 2rem; }
  .nav-center { gap: 1.75rem; }
  .nav-link { font-size: 0.72rem; }
  .hero { padding: 6rem 2rem 4rem; }
  .hero-meta { display: none; }
  .chapter, .showcase, .services, .process, .testimonial, .locations, .cta, .stats { padding-left: 2rem; padding-right: 2rem; }
  footer { padding: 5rem 2rem 2rem; }
  .intro { gap: 4rem; }
  .showcase-header, .services-header { gap: 3rem; }
  .stats-inner { grid-template-columns: 1fr 1fr; gap: 3rem 4rem; }
  .stat:nth-child(2n) { border-right: none; }
  .stat:last-child { border-right: none; }
  .process-steps { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .process-steps::before { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 3rem; }
  
  .sc-1 { grid-column: span 12; grid-row: span 5; }
  .sc-2 { grid-column: span 6; grid-row: span 3; }
  .sc-3 { grid-column: span 6; grid-row: span 3; }
  .sc-4, .sc-5, .sc-6 { grid-column: span 4; grid-row: span 3; }
  .sc-7 { grid-column: span 8; grid-row: span 4; }
  .sc-8 { grid-column: span 4; grid-row: span 4; }
}

@media (max-width: 768px) {
  .nav-center, .nav-cta, .nav-phone { display: none; }
  .menu-toggle { display: block; }
  .nav-bar { padding: 1rem 1.25rem; }
  .nav-bar.scrolled { padding: 0.85rem 1.25rem; }
  
  .hero { padding: 5rem 1.25rem 3.5rem; }
  .hero-content { grid-template-columns: 1fr; gap: 2rem; }
  .hero-cta-block { align-items: flex-start; }
  .hero-tagline { text-align: left; max-width: 100%; }
  .hero-tagline::before { margin: 0 auto 1rem 0; }
  
  .marquee-item { font-size: 1.3rem; }
  
  .chapter, .showcase, .services, .process, .testimonial, .locations, .cta, .stats {
    padding: 6rem 1.25rem;
  }
  
  .intro { grid-template-columns: 1fr; gap: 2rem; }
  .intro-body { padding-top: 1rem; }
  .chapter-num { top: 4rem; right: 1.25rem; font-size: 0.85rem; }
  
  .stats-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .stat { border-right: none; border-bottom: 1px solid var(--paper); padding-bottom: 2rem; padding-right: 0; }
  .stat:last-child { border-bottom: none; }
  
  .showcase-header { grid-template-columns: 1fr; gap: 2rem; }
  .showcase-meta { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
  .showcase-project-tag { text-align: left; }
  
  .showcase-grid { grid-template-columns: 1fr; grid-auto-rows: 280px; gap: 1rem; }
  .sc-1, .sc-2, .sc-3, .sc-4, .sc-5, .sc-6, .sc-7, .sc-8 { grid-column: span 1; grid-row: span 1; }
  
  .services-header { grid-template-columns: 1fr; }
  .svc-row { grid-template-columns: 30px 1fr 40px; gap: 1rem; }
  .svc-desc { display: none; }
  .svc-name { font-size: 1.7rem; }
  
  .process-steps { grid-template-columns: 1fr; gap: 2.5rem; }
  
  .testimonial { padding: 6rem 1.25rem; }
  .testimonial::before { font-size: 10rem; top: 3rem; }
  
  .locations-inner { grid-template-columns: 1fr; gap: 3rem; }
  .locations-list { columns: 1; }
  .locations-list li { font-size: 1.2rem; padding: 0.7rem 0; }
  
  .cta { padding: 7rem 1.25rem; }
  .cta-btn { padding: 1.2rem 2rem; font-size: 0.7rem; letter-spacing: 0.22em; }
  .cta-contact { gap: 2.5rem; }
  
  footer { padding: 4rem 1.25rem 1.5rem; }
  .footer-top { grid-template-columns: 1fr; gap: 3rem; padding-bottom: 3rem; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .footer-legal { gap: 1.25rem; }
}

/* ═══ LOGO MARK (real Grand Builders logo) ═══ */
.gb-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* On dark hero (nav not scrolled), use bone-colored logo via CSS filter */
.nav-bar:not(.scrolled) .gb-mark img {
  filter: brightness(0) invert(1) sepia(1) saturate(0) hue-rotate(0deg) brightness(0.96);
}
/* Footer logo always on dark — use bone color too */
footer .gb-mark img {
  filter: brightness(0) invert(1) sepia(1) saturate(0) hue-rotate(0deg) brightness(0.96);
}

/* ═════════════════════════════════════════════════════════════
   MOBILE POLISH — high-traffic mobile experience
═════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Tighter, more readable hero on small screens */
  .hero { min-height: 88vh; padding: 5rem 1.25rem 3rem; }
  .hero-title { font-size: clamp(2.6rem, 11vw, 3.4rem) !important; letter-spacing: -.02em; }
  .hero-kicker { font-size: .62rem; letter-spacing: .24em; margin-bottom: 1.5rem; }
  .hero-kicker::before { width: 36px; }
  .hero-tagline { font-size: 1.05rem; max-width: 100%; }
  
  /* Marquee — slow down + smaller on mobile */
  .marquee { padding: 1rem 0; }
  .marquee-item { font-size: 1.1rem; gap: 1.5rem; }
  .marquee-item::after { margin-left: 1.5rem; width: 5px; height: 5px; }
  
  /* Bigger tap targets on mobile nav and CTA */
  .nav-cta { display: none; } /* clarify: only the hamburger; CTA lives in mobile menu */
  .menu-toggle { width: 40px; height: 24px; padding: 4px; }
  .menu-toggle span { height: 1.5px; }
  
  /* Mobile menu — improved spacing */
  .mobile-overlay nav { gap: 1.5rem; padding: 0 2rem; }
  .mobile-overlay a { font-size: 1.75rem; padding: .25rem 0; }
  
  /* Section spacing — tighter, less wasteful on mobile */
  .chapter { padding: 5rem 1.25rem !important; }
  .stats { padding: 4rem 1.25rem !important; }
  .showcase, .services, .process, .portfolio, .locations { padding: 5rem 1.25rem !important; }
  .cta { padding: 6rem 1.25rem !important; }
  
  /* Chapter intros — center the heading dot, tighter type */
  .intro-lead { font-size: clamp(1.7rem, 6vw, 2.2rem); margin-top: 0; }
  .intro-body { padding-top: 0.5rem; }
  .intro-body p { max-width: 100%; font-size: .95rem; }
  
  /* Stats — keep single column readable */
  .stat-fig { font-size: clamp(2.4rem, 9vw, 3rem); }
  .stat-label { font-size: .65rem; margin-top: .85rem; max-width: 100%; }
  
  /* Showcase header */
  .showcase-title, .services-title, .portfolio-title, .process-title, .locations-title {
    font-size: clamp(2.1rem, 7vw, 2.6rem) !important;
  }
  .showcase-meta { gap: 1rem; align-items: flex-start; flex-direction: column; }
  .showcase-project-tag { text-align: left; }
  
  /* Service rows — readable on phones */
  .svc-row { padding: 1.75rem 0; }
  .svc-name { font-size: 1.5rem !important; }
  .svc-num { font-size: .85rem; }
  .svc-arrow { width: 40px; height: 40px; }
  .svc-arrow svg { width: 12px; height: 12px; }
  
  /* Process step markers — bigger circle for emphasis */
  .step-marker { width: 50px; height: 50px; font-size: 1.1rem; }
  
  /* Testimonial pull quote — tighter on phones */
  .testimonial { padding: 5rem 1.25rem !important; }
  .testimonial-quote { font-size: clamp(1.3rem, 5.5vw, 1.7rem); }
  .testimonial::before { font-size: 8rem; top: 2rem; }
  
  /* Locations — single column with tighter spacing */
  .locations-list li { font-size: 1.05rem; padding: .65rem 0; }
  .loc-code { font-size: .6rem; }
  
  /* CTA — smaller button, stacked layout */
  .cta-title { font-size: clamp(2.2rem, 9vw, 3rem) !important; }
  .cta-btn { padding: 1.2rem 2rem; font-size: .7rem; letter-spacing: .22em; }
  .cta-contact { flex-direction: column; gap: 1.5rem; align-items: center; }
  .cta-contact-item { text-align: center; }
  
  /* Footer — visible padding on mobile */
  footer { padding: 4rem 1.25rem 1.5rem; }
  .footer-top { gap: 2.5rem; padding-bottom: 2.5rem; }
  .footer-col ul a { font-size: 1rem; }
  
  /* Logo refinements */
  .nav-logo-name { font-size: 1.1rem !important; }
  .nav-logo-sub { font-size: .54rem !important; letter-spacing: .3em; }
  .gb-mark { width: 32px !important; height: 32px !important; }
}

/* Small phone breakpoint */
@media (max-width: 380px) {
  .hero-title { font-size: 2.3rem !important; }
  .nav-logo-sub { display: none; }
  .hero-meta { display: none; }
  .scroll-cue { bottom: 1rem; }
  .scroll-line { height: 50px; }
}

/* Better focus states for accessibility on all devices */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--forest-pale);
  outline-offset: 3px;
}

/* Smooth iOS scrolling */
html { -webkit-overflow-scrolling: touch; }
body { -webkit-tap-highlight-color: rgba(45,74,53,0.15); }

/* Prevent zoom-on-focus on iOS forms */
@media (max-width: 768px) {
  input, select, textarea { font-size: 16px !important; }
}

/* ═════════════════════════════════════════════════════════════
   LIGHTBOX-READY HOVER STATES
═════════════════════════════════════════════════════════════ */
.showcase-grid .sc-tile,
.case-gallery .cg-tile {
  position: relative;
  cursor: zoom-in;
  transition: transform 0.4s var(--ease);
}
.showcase-grid .sc-tile::after,
.case-gallery .cg-tile::after {
  content: '';
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(244, 241, 234, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='%231A1A18' stroke-width='1.5' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='M21 21l-4.35-4.35M8 11h6M11 8v6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px;
  opacity: 0;
  transform: scale(0.8) translateY(8px);
  transition: all 0.3s var(--ease);
  pointer-events: none;
  z-index: 2;
}
.showcase-grid .sc-tile:hover::after,
.case-gallery .cg-tile:hover::after {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* Make the entire stage smooth - prevent layout shift during lazy load */
.case-gallery .cg-tile img,
.showcase-grid .sc-tile img {
  background: var(--cream);
}

/* Improved touch responsiveness on iOS */
.sc-tile, .cg-tile, .arch-item, button, .nav-cta, .cta-btn {
  -webkit-tap-highlight-color: transparent;
}

/* Press feedback on touch */
@media (hover: none) {
  .sc-tile:active, .cg-tile:active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
  }
  .arch-item:active .arch-img img {
    transform: scale(1.05);
  }
}

/* ═════════════════════════════════════════════════════════════
   INSTAGRAM STRIP
═════════════════════════════════════════════════════════════ */
.ig-strip { padding: 8rem 3rem; background: var(--cream); position: relative; }
.ig-strip-inner { max-width: 1500px; margin: 0 auto; }
.ig-strip-header { text-align: center; margin-bottom: 4rem; }
.ig-strip-title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1;
  letter-spacing: -.02em; color: var(--ink);
  margin: 1rem 0;
}
.ig-strip-title em { font-style: italic; color: var(--forest); }
.ig-strip-desc {
  font-family: var(--serif); font-style: italic;
  font-size: 1.2rem; line-height: 1.5; font-weight: 300;
  color: var(--char); max-width: 580px; margin: 1.5rem auto 2rem;
}
.ig-strip-cta {
  display: inline-flex; align-items: center; gap: .75rem;
  padding: 1rem 1.75rem;
  border: 1px solid var(--ink);
  font-family: var(--sans); font-size: .85rem;
  letter-spacing: .12em; text-transform: uppercase;
  font-weight: 500; color: var(--ink); text-decoration: none;
  transition: all .35s var(--ease);
}
.ig-strip-cta:hover { background: var(--ink); color: var(--bone); }
.ig-strip-cta svg:first-child { width: 18px; height: 18px; }
.ig-strip-cta svg:last-child { width: 14px; height: 14px; opacity: .7; }
.ig-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.ig-tile {
  position: relative; aspect-ratio: 1/1; overflow: hidden;
  text-decoration: none; cursor: pointer; background: var(--ink);
}
.ig-tile img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .9s var(--ease);
}
.ig-tile:hover img { transform: scale(1.06); }
.ig-tile-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(26,26,24,.8) 100%);
  opacity: .8; transition: opacity .35s ease;
}
.ig-tile:hover .ig-tile-overlay { opacity: 1; }
.ig-tile-tag {
  position: absolute; bottom: 1rem; left: 1rem; right: 1rem;
  font-family: var(--sans); font-size: .68rem;
  letter-spacing: .22em; text-transform: uppercase; font-weight: 500;
  color: var(--bone); z-index: 2;
}
@media (max-width: 900px) {
  .ig-grid { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .ig-strip { padding: 5rem 1.25rem; }
}

/* ═════════════════════════════════════════════════════════════
   PROCESS TIMELINE (services overview)
═════════════════════════════════════════════════════════════ */
.process-timeline {
  padding: 10rem 3rem;
  background: var(--ink);
  color: var(--bone);
  position: relative;
}
.process-timeline-inner { max-width: 1200px; margin: 0 auto; }
.process-timeline .process-header { text-align: center; margin-bottom: 6rem; max-width: 720px; margin-left: auto; margin-right: auto; }
.process-timeline .process-header .kicker { color: var(--forest-pale); margin-bottom: 1rem; }
.process-timeline .process-header h2 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.05;
  letter-spacing: -.02em; color: var(--bone); margin-bottom: 1.5rem;
}
.process-timeline .process-header h2 em { font-style: italic; color: var(--forest-pale); }
.process-timeline .process-header p {
  font-family: var(--serif); font-style: italic;
  font-size: 1.2rem; line-height: 1.55; font-weight: 300;
  color: rgba(244,241,234,0.65);
}
.timeline-track { position: relative; }
.timeline-line {
  position: absolute; left: 30px; top: 30px; bottom: 30px;
  width: 1px; background: linear-gradient(180deg, var(--forest-pale) 0%, var(--brass) 100%);
  opacity: .4;
}
.timeline-step {
  display: flex; gap: 3rem; margin-bottom: 4.5rem;
  padding-left: 0;
  position: relative;
}
.timeline-step:last-child { margin-bottom: 0; }
.timeline-dot {
  flex: 0 0 60px;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--ink);
  border: 1px solid var(--forest-pale);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-style: italic; font-size: 1.3rem;
  font-weight: 400; color: var(--forest-pale);
  position: relative; z-index: 2;
  transition: all .5s var(--ease);
}
.timeline-step.in .timeline-dot {
  background: var(--forest);
  color: var(--bone);
  transform: scale(1.05);
}
.timeline-content { flex: 1; padding-top: .5rem; }
.timeline-phase {
  font-family: var(--sans); font-size: .65rem;
  letter-spacing: .28em; text-transform: uppercase;
  font-weight: 500; color: var(--brass);
  margin-bottom: .5rem;
}
.timeline-content h3 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.1;
  letter-spacing: -.015em; color: var(--bone);
  margin-bottom: .5rem;
}
.timeline-duration {
  font-family: var(--sans); font-size: .72rem;
  letter-spacing: .15em; text-transform: uppercase;
  font-weight: 500; color: rgba(244,241,234,0.4);
  margin-bottom: 1rem;
}
.timeline-content p {
  font-family: var(--sans); font-size: 1rem; line-height: 1.7;
  color: rgba(244,241,234,0.75); font-weight: 300;
  max-width: 600px;
}
@media (max-width: 780px) {
  .process-timeline { padding: 5rem 1.25rem; }
  .process-timeline .process-header { margin-bottom: 3.5rem; }
  .timeline-step { gap: 1.25rem; margin-bottom: 3rem; }
  .timeline-dot { flex: 0 0 48px; width: 48px; height: 48px; font-size: 1.1rem; }
  .timeline-line { left: 24px; top: 24px; bottom: 24px; }
  .timeline-content h3 { font-size: 1.4rem; }
  .timeline-content p { font-size: .95rem; }
}

/* ═════════════════════════════════════════════════════════════
   iPad / TABLET-SPECIFIC POLISH (1001–1100px)
   Touch-friendly but spacious. iPad portrait (≤980px) uses the
   hamburger menu (see breakpoint below). This range is mostly
   iPad landscape (1024+) and small laptops.
   ═════════════════════════════════════════════════════════════ */
@media (min-width: 1001px) and (max-width: 1200px) {
  /* Nav — keep it visible but tighter on this narrow-desktop range */
  .nav-bar { padding: 1rem 1.5rem; gap: 0.75rem; }
  .nav-center { gap: 1rem; }
  .nav-link { font-size: 0.65rem; letter-spacing: 0.14em; padding: 0.25rem 0; }
  .nav-phone { font-size: 0.7rem; margin-right: 0.5rem; white-space: nowrap; }
  .nav-cta { padding: 0.65rem 0.85rem; font-size: 0.66rem; letter-spacing: 0.14em; white-space: nowrap; }
  .nav-logo-sub { white-space: nowrap; }
  .menu-toggle { display: none; }

  /* Generous tap targets — Apple HIG minimum is 44pt */
  .sw-faq-q, .csvc-card, .loc-area, .arch-item, .svc-row,
  button, .btn, a[href^="tel:"], a[href^="mailto:"] {
    min-height: 44px;
  }
  .svc-arrow, .nf-action {
    min-width: 44px;
    min-height: 44px;
  }

  /* Stats — 3 columns at iPad landscape */
  .stats-inner { grid-template-columns: repeat(3, 1fr); gap: 2.5rem 2rem; }
  .stat:nth-child(3n) { border-right: none; }
  .stat:last-child { border-right: none; }
}

/* Switch to hamburger menu at iPad portrait / smaller laptop widths */
@media (max-width: 1000px) {
  .nav-center, .nav-cta, .nav-phone { display: none; }
  .menu-toggle { display: block; }
}

/* ═════════════════════════════════════════════════════════════
   TOUCH-SPECIFIC FEEDBACK
   Hardware-accelerated scale-down on tap, like Apple's Human
   Interface Guidelines suggest. Touch devices only — desktop
   hover states stay as designed.
   ═════════════════════════════════════════════════════════════ */
@media (hover: none) and (pointer: coarse) {
  /* Subtle press-down on every interactive element */
  a, button, .svc-row, .svc-card, .csvc-card, .arch-item, .loc-area,
  .sw-pillar, .sw-faq-q, .nav-cta, .cta-btn, .latest-cta, .loc-detail-link,
  .city-feature-link, .nf-action {
    -webkit-tap-highlight-color: transparent;
    transition-property: transform, opacity, background, color, border-color;
  }
  a:active, button:active, .svc-row:active, .svc-card:active, .csvc-card:active,
  .arch-item:active, .loc-area:active, .sw-pillar:active, .sw-faq-q:active,
  .nav-cta:active, .cta-btn:active, .latest-cta:active, .loc-detail-link:active,
  .city-feature-link:active, .nf-action:active {
    transform: scale(0.97);
    transition-duration: 0.1s;
  }
  /* Larger tap targets — preserve original display value */
  .footer-col a, .footer-legal a {
    padding: 0.5rem 0;
    display: inline-block;
  }
}

/* ═════════════════════════════════════════════════════════════
   iPhone SAFE-AREA / NOTCH HANDLING
   Respect the dynamic island, home indicator, and rounded corners
   when the site is opened in standalone PWA mode or in landscape.
   ═════════════════════════════════════════════════════════════ */
@supports (padding: env(safe-area-inset-top)) {
  .nav-bar {
    padding-top: calc(1.25rem + env(safe-area-inset-top));
    padding-left: calc(2rem + env(safe-area-inset-left));
    padding-right: calc(2rem + env(safe-area-inset-right));
  }
  .nav-bar.scrolled {
    padding-top: calc(1rem + env(safe-area-inset-top));
  }
  #gb-sticky-cta {
    padding-bottom: calc(0.75rem + env(safe-area-inset-bottom)) !important;
  }
  footer {
    padding-bottom: calc(2rem + env(safe-area-inset-bottom));
  }
}

/* ═════════════════════════════════════════════════════════════
   FULL-BLEED PHOTOGRAPHY ON MOBILE
   On phones, case study photos go edge-to-edge for a cinematic
   feel rather than sitting in a padded column. The rest of the
   page keeps its padding.
   ═════════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  .case-gallery, .case-hero, .reveal-img,
  .city-feature-img, .loc-detail-img {
    margin-left: -1.25rem;
    margin-right: -1.25rem;
    max-width: none;
    width: calc(100% + 2.5rem);
  }
  /* But not inside grids — only when standalone */
  .sw-pillars .reveal-img, .csvc-grid .reveal-img { margin-left: 0; margin-right: 0; width: 100%; }

  /* Larger hero typography on mobile — currently feels too small at clamp() floor */
  .hero-title { font-size: clamp(2.6rem, 11vw, 4rem); }
  .p-hero h1 { font-size: clamp(2.4rem, 10vw, 4rem); }

  /* Bigger paragraph type on mobile for readability */
  .intro-body p, .sw-intro-body p, .city-intro-body p, .case-body p {
    font-size: 1.05rem;
    line-height: 1.78;
  }

  /* Drop caps slightly smaller on mobile to not overwhelm narrow column */
  .intro-body > p:first-of-type::first-letter,
  .sw-intro-body > p:first-of-type::first-letter,
  .city-intro-body > p:first-of-type::first-letter {
    font-size: 3.6em;
  }
}

/* Disable drop caps on very narrow screens — they cramp the text */
@media (max-width: 380px) {
  .intro-body > p:first-of-type::first-letter,
  .sw-intro-body > p:first-of-type::first-letter,
  .city-intro-body > p:first-of-type::first-letter,
  .dropcap::first-letter {
    font-size: 1em;
    float: none;
    padding: 0;
    color: inherit;
  }
}

/* ═════════════════════════════════════════════════════════════
   FOCUS STATES — accessibility AND visual quality
   Brass-colored focus rings that match the brand instead of the
   browser default blue outline.
   ═════════════════════════════════════════════════════════════ */
:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 4px;
  border-radius: 2px;
}
.nav-cta:focus-visible, .cta-btn:focus-visible, .nf-action:focus-visible {
  outline-offset: 4px;
}
.sw-faq-q:focus-visible {
  outline-offset: 2px;
}
