@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=IBM+Plex+Sans:ital,wght@0,400;0,450;0,500;0,600;1,400&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  --primary:        #1C4424;
  --accent:         #2C5334;
  --canvas:         #FFFFFF;
  --surface:        #F4F2EE;
  --ink:            #0C0C0F;
  --muted:          #6B6B6B;
  --border:         rgba(12,12,15,0.12);
  --border-mid:     rgba(12,12,15,0.18);
  --primary-hover:  #163819;
  --shadow-sm:      0 2px 8px rgba(12,12,15,0.07);
  --shadow-md:      0 8px 28px rgba(12,12,15,0.10);
  --shadow-lg:      0 18px 48px rgba(12,12,15,0.14);
  --radius:         4px;
  --header-height:  72px;
  --font-display:   'Space Grotesk', sans-serif;
  --font-body:      'IBM Plex Sans', sans-serif;
  --font-mono:      'IBM Plex Mono', monospace;
}

@media (max-width: 900px) {
  :root { --header-height: 60px; }
}

/* ============================================================
   RESET + GLOBAL
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--ink);
  background: var(--canvas);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
}

/* Universal image cap */
img { max-width: 100%; height: auto; display: block; }

section img:not(.hero-bg):not([class*="full-bleed"]):not([class*="fullbleed"]) {
  max-height: 640px;
  object-fit: cover;
}

.nav img, header img, .header img, .nav-logo img, .logo img {
  max-height: 44px !important;
  max-width: 200px !important;
  width: auto !important;
  align-self: flex-start !important;
  object-fit: contain !important;
  flex: 0 0 auto !important;
}

.footer img, footer img {
  max-height: 48px !important;
  max-width: 200px !important;
  width: auto !important;
  align-self: flex-start !important;
  object-fit: contain !important;
  flex: 0 0 auto !important;
}

.hero { position: relative; overflow: hidden; }
.hero-bg, .hero > img:first-of-type {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
}
.hero-inner, .hero > :not(img):not(.hero-bg):not(.hero-overlay) {
  position: relative; z-index: 2;
}
.hero-overlay { position: absolute; inset: 0; z-index: 1; pointer-events: none; }

.page-header, [class*="page-header"], .about-feature, .about-hero {
  position: relative; overflow: hidden; max-height: 64vh;
}
.page-header > img, [class*="page-header"] > img, .page-header-bg,
.about-feature > img:first-of-type, .about-hero-bg,
.page-header img:first-of-type {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0;
}

section > img:first-child:not([class*="logo"]):not(.nav-logo) {
  max-height: 64vh; object-fit: cover;
}
section img:not(.hero-bg):not(.page-header-bg):not([class*="full-bleed"]):not([class*="logo"]) {
  max-height: 720px;
}

[class*="gallery-grid"] > [class*="gallery-tile"],
[class*="gallery-grid"] > a,
[class*="gallery-grid"] > figure {
  grid-column: auto; width: auto; max-width: 100%; height: auto; min-height: 0;
}
[class*="gallery-tile"] { aspect-ratio: 4 / 3; overflow: hidden; }
[class*="gallery-tile"] > img { width: 100%; height: 100%; object-fit: cover; }

/* Heading links */
h1 a, h2 a, h3 a, .hero-title a, .hero-eyebrow a, .hero-sub a {
  color: inherit; text-decoration: none; border-bottom: 0;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.03em;
  color: var(--ink);
}

h1 { font-size: clamp(48px, 7vw, 96px); }
h2 { font-size: clamp(36px, 5vw, 72px); }
h3 { font-size: clamp(22px, 2.5vw, 32px); }
h4 { font-size: clamp(16px, 1.8vw, 22px); letter-spacing: -0.01em; }

p { line-height: 1.68; }

a { color: var(--ink); text-decoration: none; transition: color 150ms; }
a:hover { color: var(--primary); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* Mono label style */
.eyebrow,
.section-eyebrow,
.section-label,
.section-num,
.section-numeral,
.page-header-eyebrow,
.page-header-num,
.page-eyebrow,
.hero-eyebrow,
.about-eyebrow,
.values-eyebrow,
.timeline-eyebrow,
.founder-story-eyebrow,
.services-section-numeral,
.contact-section-label,
.contact-section-num,
.cta-banner-eyebrow,
.info-block-label,
.footer-col-title,
.step-year {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(10px, 1vw, 12px);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  display: block;
}

/* Oversized index numeral system — THE visual identity */
.hero-numeral,
.section-numeral,
.section-num,
.about-numeral,
.founder-story-numeral,
.values-numeral,
.timeline-numeral,
.page-header-numeral,
.page-header-num,
.cta-banner-numeral,
.cta-banner-num,
.services-section-numeral,
.contact-section-num,
.info-card-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(72px, 9vw, 120px);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--primary);
  display: block;
  pointer-events: none;
  user-select: none;
}

.service-panel-index,
.service-block-index,
.gallery-tile-num,
.value-card-num,
.step-dot-inner {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(18px, 2.5vw, 28px);
  letter-spacing: -0.03em;
  color: var(--primary);
  display: block;
  line-height: 1;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}

.wide-container {
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}

.section-inner {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
  padding-block: clamp(88px, 11vh, 144px);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 16px 28px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 200ms ease-out, box-shadow 200ms ease-out, filter 150ms;
  white-space: nowrap;
  line-height: 1;
}

.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
  background: var(--primary);
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(28,68,36,0.28);
}
.btn-primary:hover { filter: brightness(0.90); color: #FFFFFF; box-shadow: 0 8px 24px rgba(28,68,36,0.36); }

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
}
.btn-outline:hover { color: var(--primary); border-color: var(--primary); }

.btn-white {
  background: #FFFFFF;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}
.btn-white:hover { filter: brightness(0.96); }

.btn-ghost {
  background: transparent;
  color: #FFFFFF;
  border: 1.5px solid rgba(255,255,255,0.6);
}
.btn-ghost:hover { border-color: #FFFFFF; background: rgba(255,255,255,0.08); }

.btn-phone {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--border-mid);
}

.btn-submit {
  background: var(--primary);
  color: #FFFFFF;
  width: 100%;
  justify-content: center;
  padding: 18px 28px;
  font-size: 16px;
}
.btn-submit:hover { filter: brightness(0.90); color: #FFFFFF; }

/* ============================================================
   HEADER + NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--canvas);
  border-bottom: 1px solid rgba(12,12,15,0.08);
}

.top-nav {
  height: var(--header-height);
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: 28px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-logo {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  text-decoration: none;
}
.nav-logo:hover { text-decoration: none; }

.nav-pages {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  gap: 28px;
}

.nav-pages li { list-style: none; }

.nav-pages a {
  display: inline-block;
  padding: 6px 0;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  transition: color 150ms;
}
.nav-pages a:hover { color: var(--primary); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav-pages a[aria-current="page"] { color: var(--primary); border-bottom: 2px solid var(--primary); }

.nav-cta {
  flex: 0 0 auto;
  background: var(--primary);
  color: #FFFFFF;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 7px;
  transition: filter 150ms;
}
.nav-cta:hover { filter: brightness(0.92); color: #FFFFFF; text-decoration: none; }
.nav-cta svg { width: 16px; height: 16px; flex-shrink: 0; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink);
  font-size: 24px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }

  .nav-pages {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--canvas);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 28px;
    gap: 4px;
    border-bottom: 1px solid rgba(12,12,15,0.08);
    z-index: 800;
  }
  .nav-pages.open { display: flex; }
  .nav-pages a { font-size: 17px; padding: 10px 0; }

  .nav-cta span { display: none; }
  .nav-cta { padding: 10px 12px; }
}

/* ============================================================
   SCROLL PROGRESS
   ============================================================ */
#scroll-progress, #scrollProgress, .scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--primary);
  z-index: 9999;
  width: 0%;
  transition: width 50ms linear;
}

/* ============================================================
   HERO
   ============================================================ */
#hero.hero {
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(64px, 8vh, 112px);
}

.hero-overlay {
  background: linear-gradient(to bottom, rgba(12,12,15,0.35) 0%, rgba(12,12,15,0.65) 100%);
}

.hero-inner {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.hero-numeral {
  font-size: clamp(80px, 10vw, 140px);
  color: var(--primary);
  margin-bottom: -0.1em;
  margin-left: -0.04em;
}

.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: clamp(10px, 1vw, 12px);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.75);
  margin-bottom: 20px;
  font-weight: 500;
}

.hero-title, .hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 7vw, 112px);
  line-height: 0.96;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  max-width: 18ch;
  margin-bottom: 20px;
}

.hero-sub {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.5vw, 18px);
  color: rgba(255,255,255,0.75);
  max-width: 52ch;
  line-height: 1.6;
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.hero-trust-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-chip {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.35);
  border-radius: 999px;
  padding: 7px 14px;
  white-space: nowrap;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(4px);
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip {
  background: var(--canvas);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  overflow: hidden;
}

.trust-strip-inner {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
}

.trust-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 7px 16px;
  white-space: nowrap;
  display: inline-block;
}

/* ============================================================
   MARQUEE
   ============================================================ */
.marquee {
  overflow: hidden;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  max-height: 64px;
  position: relative;
  z-index: 1;
  background: var(--canvas);
}

.marquee-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: marquee 35s linear infinite;
}

.marquee:hover .marquee-track { animation-play-state: paused; }

.marquee-item {
  font-family: var(--font-mono);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: clamp(11px, 1.2vw, 14px);
  line-height: 1.2;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.marquee-item span {
  color: var(--primary);
}

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

/* ============================================================
   SERVICES (index.html tabbed panel)
   ============================================================ */
#services {
  background: var(--surface);
}

#services .section-inner {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.services-header {
  margin-bottom: 40px;
}

.services-header > div {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.services-header h2 {
  font-size: clamp(36px, 5vw, 72px);
}

.section-sub {
  font-size: clamp(15px, 1.5vw, 17px);
  color: var(--muted);
  max-width: 56ch;
  line-height: 1.6;
}

.services-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.service-tab {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--ink);
  background: var(--canvas);
  border: 1px solid var(--border-mid);
  border-radius: 999px;
  padding: 9px 18px;
  cursor: pointer;
  transition: background 180ms, color 180ms, border-color 180ms;
  white-space: nowrap;
}

.service-tab:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.service-tab.active {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
}

.services-panels {
  position: relative;
  min-height: 480px;
}

.service-panel {
  display: none;
  grid-template-columns: 45% 1fr;
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--canvas);
  box-shadow: var(--shadow-md);
  min-height: 480px;
}

.service-panel.active {
  display: grid;
}

.service-panel > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 480px;
  display: block;
}

.service-panel-body {
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.service-panel-index {
  font-size: clamp(48px, 6vw, 80px);
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: var(--primary);
  opacity: 0.18;
  font-weight: 700;
  font-family: var(--font-display);
}

.service-panel h3 {
  font-size: clamp(22px, 2.5vw, 32px);
  margin-bottom: 4px;
}

.service-panel p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
}

.service-panel a.btn {
  margin-top: 8px;
  align-self: flex-start;
}

@media (max-width: 720px) {
  .service-panel { grid-template-columns: 1fr; min-height: auto; }
  .service-panel > img { max-height: 240px; width: 100%; }
}

/* ============================================================
   SERVICES PAGE — detail blocks
   ============================================================ */
.services-detail { background: var(--canvas); }

.services-detail-inner {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
  padding-block: clamp(80px, 10vh, 128px);
}

.services-section-header {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 72px;
}

.services-section-numeral {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(72px, 9vw, 120px);
  color: var(--primary);
  line-height: 0.9;
  letter-spacing: -0.04em;
  flex-shrink: 0;
}

.services-section-header-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 8px;
}

.services-section-header-text h2 {
  font-size: clamp(36px, 4.5vw, 64px);
}

.service-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-block: clamp(48px, 6vh, 88px);
  border-top: 1px solid var(--border);
}

.service-block.reverse { direction: rtl; }
.service-block.reverse > * { direction: ltr; }

.service-block-photo {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.service-block-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  max-height: 100%;
}

.service-block-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-block-index {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 6vw, 88px);
  color: var(--primary);
  opacity: 0.15;
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin-bottom: -0.2em;
}

.service-block-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
}

.service-block h3 { font-size: clamp(22px, 2.5vw, 34px); }

.service-block-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 52ch;
}

@media (max-width: 720px) {
  .service-block { grid-template-columns: 1fr; direction: ltr; }
  .service-block.reverse { direction: ltr; }
  .service-block-photo { aspect-ratio: 16/9; }
}

/* ============================================================
   SERVICES INTRO STRIP (services.html)
   ============================================================ */
.services-intro-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}

.services-intro-strip-inner {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.services-intro-strip-inner > p {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  white-space: nowrap;
}

.services-intro-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.services-intro-chips li {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--ink);
  border: 1px solid var(--border-mid);
  border-radius: 999px;
  padding: 6px 14px;
}

/* ============================================================
   ABOUT (index.html)
   ============================================================ */
.about-section {
  background: var(--canvas);
}

.about-inner {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
  padding-block: clamp(88px, 11vh, 144px);
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.about-image-col {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--surface);
}

.about-image-col img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 100%;
  filter: grayscale(15%);
}

.about-text-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.about-numeral {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(72px, 9vw, 120px);
  color: var(--primary);
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin-bottom: 0;
}

.about-eyebrow {
  margin-bottom: 16px;
}

.about-headline {
  font-size: clamp(28px, 3.5vw, 48px);
  margin-bottom: 24px;
}

.about-body p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.72;
  margin-bottom: 16px;
}

.about-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.about-chip {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--ink);
  border: 1px solid var(--ink);
  border-radius: 999px;
  padding: 7px 16px;
}

@media (max-width: 900px) {
  .about-inner { grid-template-columns: 1fr; }
  .about-image-col { aspect-ratio: 16/9; }
}

/* ============================================================
   FOUNDER STORY (about.html)
   ============================================================ */
.founder-story {
  background: var(--canvas);
  padding-block: clamp(88px, 11vh, 144px);
}

.founder-story-inner {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}

.founder-portrait-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--surface);
}

.founder-portrait-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  max-height: 100%;
  filter: grayscale(10%);
}

.founder-portrait-caption {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--muted);
  margin-top: 12px;
  text-align: center;
}

.founder-story-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 8px;
}

.founder-story-numeral {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(72px, 9vw, 120px);
  color: var(--primary);
  line-height: 0.9;
  letter-spacing: -0.04em;
  display: block;
}

.founder-story-eyebrow { margin-bottom: 16px; }

.founder-story-headline {
  font-size: clamp(28px, 3.5vw, 48px);
  margin-bottom: 24px;
}

.founder-story-body p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.72;
  margin-bottom: 16px;
}

@media (max-width: 900px) {
  .founder-story-inner { grid-template-columns: 1fr; }
  .founder-portrait-wrap { aspect-ratio: 16/9; }
}

/* ============================================================
   VALUES (about.html)
   ============================================================ */
.values-section {
  background: var(--surface);
  padding-block: clamp(88px, 11vh, 144px);
}

.values-inner {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}

.values-header {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 56px;
}

.values-numeral {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(72px, 9vw, 120px);
  color: var(--primary);
  line-height: 0.9;
  letter-spacing: -0.04em;
  flex-shrink: 0;
}

.values-header-text { display: flex; flex-direction: column; gap: 8px; padding-top: 12px; }

.values-headline { font-size: clamp(28px, 3.5vw, 48px); }

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.value-card {
  background: var(--canvas);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 250ms ease-out, box-shadow 250ms ease-out;
}
.value-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.value-card-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 4vw, 56px);
  color: var(--primary);
  line-height: 0.9;
  letter-spacing: -0.03em;
  opacity: 0.25;
}

.value-card h3 { font-size: 18px; letter-spacing: -0.01em; }
.value-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }

@media (max-width: 900px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .values-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   TIMELINE (about.html)
   ============================================================ */
.timeline-section {
  background: var(--canvas);
  padding-block: clamp(88px, 11vh, 144px);
}

.timeline-inner {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}

.timeline-header {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 56px;
}

.timeline-numeral {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(72px, 9vw, 120px);
  color: var(--primary);
  line-height: 0.9;
  letter-spacing: -0.04em;
  flex-shrink: 0;
}

.timeline-header-text { display: flex; flex-direction: column; gap: 8px; padding-top: 12px; }
.timeline-eyebrow { margin-bottom: 4px; }
.timeline-headline { font-size: clamp(28px, 3.5vw, 48px); }

.timeline-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.timeline-steps::before {
  content: '';
  position: absolute;
  top: 14px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
  z-index: 0;
}

.timeline-step {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-right: 24px;
  padding-top: 36px;
  position: relative;
}

.step-dot {
  position: absolute;
  top: 6px;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--canvas);
  z-index: 1;
}

.step-dot-inner {
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--primary);
  font-size: 0;
}

.step-year {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--primary);
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.step-title { font-size: 16px; font-weight: 600; font-family: var(--font-display); letter-spacing: -0.01em; }
.step-desc { font-size: 13px; color: var(--muted); line-height: 1.6; }

@media (max-width: 720px) {
  .timeline-steps { grid-template-columns: 1fr 1fr; }
  .timeline-steps::before { display: none; }
}
@media (max-width: 480px) {
  .timeline-steps { grid-template-columns: 1fr; }
}

/* ============================================================
   GALLERY SECTION (index.html)
   ============================================================ */
#gallery .section-inner {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.gallery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 16px;
}

.gallery-header > div {
  display: flex;
  align-items: baseline;
  gap: 16px;
}

.gallery-header h2 { font-size: clamp(36px, 5vw, 72px); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 12px;
}

/* override universal gallery cap for index layout */
#gallery .gallery-grid [class*="gallery-tile"] {
  aspect-ratio: auto;
  overflow: hidden;
}

#gallery .gallery-tile {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
  background: var(--surface);
}

#gallery .gallery-tile-tall {
  aspect-ratio: 3/4;
  grid-row: span 1;
}

#gallery .gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease-out, filter 400ms;
  filter: grayscale(8%);
  max-height: 100%;
  display: block;
}

#gallery .gallery-tile:hover img {
  transform: scale(1.04);
  filter: grayscale(0%);
}

@media (max-width: 720px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   GALLERY PAGE (gallery.html)
   ============================================================ */
.gallery-filter {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
  padding-block: 48px 32px;
}

.gallery-filter-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 28px;
}

.section-label-block { display: flex; flex-direction: column; gap: 4px; }

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--ink);
  background: var(--canvas);
  border: 1px solid var(--border-mid);
  border-radius: 999px;
  padding: 8px 18px;
  cursor: pointer;
  transition: background 180ms, color 180ms, border-color 180ms;
}

.filter-pill:hover { border-color: var(--primary); color: var(--primary); }
.filter-pill.active { background: var(--primary); color: #FFFFFF; border-color: var(--primary); }

.gallery-grid-section {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
  padding-bottom: clamp(88px, 11vh, 144px);
}

#galleryGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-tile {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
  background: var(--surface);
}

.gallery-tile.tall {
  aspect-ratio: 3/4;
  grid-row: span 1;
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 500ms ease-out;
  max-height: 100%;
}

.gallery-tile:hover img { transform: scale(1.04); }

.gallery-tile-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12,12,15,0.75) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 300ms;
}

.gallery-tile:hover .gallery-tile-overlay { opacity: 1; }

.gallery-tile-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 300ms, transform 300ms;
}

.gallery-tile:hover .gallery-tile-body { opacity: 1; transform: translateY(0); }

.gallery-tile-num {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: -0.01em;
  display: block;
}

.gallery-tile-cat {
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.65);
  display: block;
}

.gallery-tile-title {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: -0.01em;
  display: block;
}

.gallery-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: #FFFFFF;
  background: var(--primary);
  padding: 4px 10px;
  border-radius: 999px;
  z-index: 2;
}

@media (max-width: 720px) {
  #galleryGrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  #galleryGrid { grid-template-columns: 1fr; }
}

/* ============================================================
   FAQ
   ============================================================ */
#faq .section-inner {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}

.faq-left {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: sticky;
  top: calc(var(--header-height) + 24px);
}

.faq-left > div {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.faq-left h2 { font-size: clamp(36px, 4.5vw, 64px); }
.faq-left a.btn { margin-top: 24px; align-self: flex-start; }

.faq-list { display: flex; flex-direction: column; }

details {
  border-bottom: 1px solid var(--border);
  padding: 0;
}

details summary {
  cursor: pointer;
  font-weight: 600;
  font-family: var(--font-body);
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  gap: 16px;
  color: var(--ink);
  transition: color 150ms;
}

details summary::-webkit-details-marker { display: none; }
details summary:hover { color: var(--primary); }

.faq-chevron {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--muted);
  transition: transform 220ms, color 150ms;
}

details[open] summary { color: var(--primary); }
details[open] .faq-chevron { transform: rotate(180deg); color: var(--primary); }

details p {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.68;
  padding-bottom: 22px;
  max-width: 68ch;
}

@media (max-width: 720px) {
  .faq-grid { grid-template-columns: 1fr; }
  .faq-left { position: static; }
}

/* ============================================================
   TEAM CTA STRIP
   ============================================================ */
.team-cta {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.team-cta-inner {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
  padding-block: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.team-cta-text {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 500;
  font-family: var(--font-display);
  letter-spacing: -0.01em;
}

.team-cta-text em {
  font-style: normal;
  color: var(--primary);
}

/* ============================================================
   CONTACT (index.html)
   ============================================================ */
#contact .section-inner {
  display: flex;
  flex-direction: column;
  gap: 0;
}

#contact .section-inner > div:first-child {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

#contact .section-inner > div:first-child h2 { font-size: clamp(36px, 5vw, 72px); }

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

@media (max-width: 720px) {
  .contact-grid { grid-template-columns: 1fr; }
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }

.contact-info { display: flex; flex-direction: column; gap: 20px; }

.contact-info-item { display: flex; flex-direction: column; gap: 4px; }

.contact-info-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  display: block;
  margin-bottom: 4px;
}

.contact-info-value { font-size: 15px; color: var(--ink); line-height: 1.5; }

.contact-social-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-social-row a,
.social-link {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  border: 1px solid var(--border-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  transition: border-color 150ms, color 150ms;
  text-decoration: none;
}

.contact-social-row a:hover,
.social-link:hover {
  border-color: var(--primary);
  color: var(--primary);
  text-decoration: none;
}

.contact-social-row a svg,
.social-link svg { width: 16px; height: 16px; }

/* ============================================================
   CONTACT PAGE (contact.html)
   ============================================================ */
.contact-split {
  background: var(--canvas);
}

.contact-split-inner {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
  padding-block: clamp(88px, 11vh, 144px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(48px, 7vw, 96px);
  align-items: start;
}

@media (max-width: 800px) {
  .contact-split-inner { grid-template-columns: 1fr; }
}

.contact-form-col { display: flex; flex-direction: column; gap: 16px; }
.contact-section-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(72px, 9vw, 120px);
  color: var(--primary);
  line-height: 0.9;
  letter-spacing: -0.04em;
  display: block;
}
.contact-section-label {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  display: block;
  margin-bottom: 8px;
}
.contact-form-headline {
  font-size: clamp(28px, 3.5vw, 48px);
  margin-bottom: 8px;
}
.contact-form-intro {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 8px;
}

.contact-info-col {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 36px;
  background: var(--surface);
  border-radius: var(--radius);
}

.info-card-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(48px, 6vw, 80px);
  color: var(--primary);
  line-height: 0.9;
  letter-spacing: -0.04em;
  opacity: 0.18;
  margin-bottom: 24px;
}

.info-block { padding-block: 20px; }
.info-block-label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  display: block;
  margin-bottom: 8px;
}
.info-block-value { font-size: 15px; color: var(--ink); line-height: 1.55; }
.info-block a { color: var(--primary); font-weight: 500; text-decoration: none; }
.info-block a:hover { text-decoration: underline; }

.info-divider { border: none; border-top: 1px solid var(--border); margin: 0; }

.info-phone-big {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--primary);
  display: block;
  text-decoration: none;
}

.info-phone-alt {
  font-size: 14px;
  color: var(--muted);
}

.info-hours-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 4px;
}
.info-hours-day { font-size: 14px; color: var(--muted); }
.info-hours-time { font-size: 14px; color: var(--ink); font-weight: 500; }

.info-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.info-chip {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--ink);
  border: 1px solid var(--border-mid);
  border-radius: 999px;
  padding: 5px 12px;
}

.info-socials { display: flex; gap: 10px; flex-wrap: wrap; }
.info-social-link {
  width: 36px; height: 36px;
  border-radius: var(--radius);
  border: 1px solid var(--border-mid);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  transition: border-color 150ms, color 150ms;
  text-decoration: none;
}
.info-social-link:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }
.info-social-link svg { width: 16px; height: 16px; }

/* ============================================================
   FORMS
   ============================================================ */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: var(--canvas);
  border: 1px solid var(--border-mid);
  border-radius: var(--radius);
  padding: 13px 16px;
  outline: none;
  transition: border-color 150ms, box-shadow 150ms;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(28,68,36,0.10);
}

.form-group textarea { min-height: 120px; resize: vertical; }

.form-group.full { grid-column: 1 / -1; }

.form-submit {
  margin-top: 8px;
}

.form-note {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: var(--muted);
  display: block;
  margin-top: 8px;
  text-align: center;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--ink);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.cta-banner-numeral, .cta-banner-num {
  position: absolute;
  top: -0.2em;
  right: -0.05em;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(120px, 16vw, 220px);
  color: #FFFFFF;
  opacity: 0.04;
  letter-spacing: -0.04em;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

.cta-banner-inner {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
  padding-block: clamp(72px, 9vh, 112px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  position: relative;
  z-index: 2;
}

.cta-banner-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.55);
  display: block;
}

.cta-banner-inner h2 { color: #FFFFFF; font-size: clamp(36px, 5vw, 72px); max-width: 20ch; }

.cta-banner-sub {
  font-size: clamp(15px, 1.5vw, 18px);
  color: rgba(255,255,255,0.7);
  max-width: 52ch;
  line-height: 1.65;
}

.cta-banner-phone {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(22px, 2.5vw, 32px);
  color: #FFFFFF;
  letter-spacing: -0.02em;
}

.cta-banner-actions, .cta-banner-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

/* gallery.html cta banner split */
.cta-banner .cta-banner-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.cta-banner-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cta-form {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius);
  padding: 32px;
}

.cta-form-title {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.cta-form .form-group input,
.cta-form .form-group textarea,
.cta-form .form-group select {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.2);
  color: #FFFFFF;
}

.cta-form .form-group input::placeholder,
.cta-form .form-group textarea::placeholder {
  color: rgba(255,255,255,0.4);
}

.cta-form .form-group input:focus,
.cta-form .form-group textarea:focus,
.cta-form .form-group select:focus {
  border-color: rgba(255,255,255,0.6);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.08);
}

.cta-form .form-group label { color: rgba(255,255,255,0.55); }

@media (max-width: 720px) {
  .cta-banner .cta-banner-inner { grid-template-columns: 1fr; }
}

/* About page cta banner (no grid) */
section.cta-banner .cta-banner-inner {
  display: flex;
  flex-direction: column;
}

/* ============================================================
   PAGE HEADER (sub-pages)
   ============================================================ */
.page-header {
  min-height: 52vh;
  display: flex;
  align-items: flex-end;
  background: var(--ink);
}

.page-header-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(12,12,15,0.4) 0%, rgba(12,12,15,0.72) 100%);
}

.page-header-inner {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
  padding-bottom: clamp(48px, 6vh, 80px);
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.page-header-numeral, .page-header-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(64px, 8vw, 120px);
  color: var(--primary);
  line-height: 0.9;
  letter-spacing: -0.04em;
  display: block;
}

.page-header-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
}

.page-header h1,
.page-header-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 6vw, 88px);
  line-height: 0.96;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  max-width: 20ch;
}

.page-header-sub {
  font-size: clamp(15px, 1.5vw, 17px);
  color: rgba(255,255,255,0.65);
  max-width: 52ch;
  line-height: 1.6;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.75);
  padding-top: clamp(64px, 8vh, 96px);
}

.footer-inner {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand { display: flex; flex-direction: column; gap: 12px; }
.footer-brand > img { filter: brightness(0) invert(1); }
.footer-brand > p { font-size: 14px; line-height: 1.6; color: rgba(255,255,255,0.55); }
.footer-brand-name { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: #FFFFFF; letter-spacing: -0.01em; }
.footer-brand-tagline { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.10em; color: rgba(255,255,255,0.45); }
.footer-brand-desc { font-size: 14px; color: rgba(255,255,255,0.55); line-height: 1.6; }

.footer-col { display: flex; flex-direction: column; gap: 16px; }
.footer-col-title {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.45);
  display: block;
}

.footer-col ul, .footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col li a, .footer-links li a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 150ms;
}
.footer-col li a:hover, .footer-links li a:hover { color: #FFFFFF; text-decoration: none; }
.footer-col li span { font-size: 14px; color: rgba(255,255,255,0.65); }

.footer-contact-item { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-contact-item svg { width: 16px; height: 16px; flex-shrink: 0; color: var(--primary); }
.footer-contact-item a { font-size: 14px; color: rgba(255,255,255,0.65); transition: color 150ms; }
.footer-contact-item a:hover { color: #FFFFFF; text-decoration: none; }
.footer-contact-item span { font-size: 14px; color: rgba(255,255,255,0.65); }
.footer-contact-line { display: flex; flex-direction: column; gap: 8px; }
.footer-contact-line span { font-size: 14px; color: rgba(255,255,255,0.65); }
.footer-contact-line a { color: rgba(255,255,255,0.65); font-size: 14px; }
.footer-contact-line a:hover { color: #FFFFFF; text-decoration: none; }

.footer-socials { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.footer-social-link {
  width: 36px; height: 36px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.14);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.65);
  transition: border-color 150ms, color 150ms;
  text-decoration: none;
}
.footer-social-link:hover { border-color: rgba(255,255,255,0.45); color: #FFFFFF; text-decoration: none; }
.footer-social-link svg { width: 16px; height: 16px; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding-block: 24px;
}

.footer-bottom p, .footer-bottom-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

.footer-bottom-trust { display: flex; gap: 8px; flex-wrap: wrap; }

.footer-chip, .footer-trust-chip {
  font-family: var(--font-mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.10em;
  color: rgba(255,255,255,0.45);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  padding: 5px 12px;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   MOBILE CTA PILL
   ============================================================ */
.mobile-cta-pill,
.mobile-call,
.mobile-call-pill,
.mobile-sticky-cta {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 999;
  background: var(--primary);
  color: #FFFFFF;
  padding: 14px 22px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  box-shadow: 0 18px 40px -10px rgba(0,0,0,0.45);
  transition: filter 150ms, transform 200ms;
}

.mobile-cta-pill:hover,
.mobile-call:hover,
.mobile-call-pill:hover,
.mobile-sticky-cta:hover {
  filter: brightness(0.90);
  transform: translateY(-1px);
  text-decoration: none;
  color: #FFFFFF;
}

.mobile-cta-pill svg,
.mobile-call svg,
.mobile-call-pill svg,
.mobile-sticky-cta svg,
.mobile-cta-pill > a svg,
.mobile-sticky-cta > a svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Inner anchor */
.mobile-cta-pill > a,
.mobile-sticky-cta > a {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

@media (min-width: 900px) {
  .mobile-cta-pill,
  .mobile-call,
  .mobile-call-pill,
  .mobile-sticky-cta {
    display: none;
  }
}

/* ============================================================
   ANIMATION UTILITIES
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms ease-out, transform 600ms ease-out;
}

.fade-up.visible { opacity: 1; transform: translateY(0); }

.fade-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity 600ms ease-out, transform 600ms ease-out;
}
.fade-left.visible { opacity: 1; transform: translateX(0); }

.fade-right {
  opacity: 0;
  transform: translateX(24px);
  transition: opacity 600ms ease-out, transform 600ms ease-out;
}
.fade-right.visible { opacity: 1; transform: translateX(0); }

.scale-in {
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 500ms ease-out, transform 500ms ease-out;
}
.scale-in.visible { opacity: 1; transform: scale(1); }

.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 500ms ease-out, transform 500ms ease-out;
}

.stagger.visible > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0ms; }
.stagger.visible > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 80ms; }
.stagger.visible > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 160ms; }
.stagger.visible > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 240ms; }
.stagger.visible > *:nth-child(5) { opacity: 1; transform: none; transition-delay: 320ms; }
.stagger.visible > *:nth-child(6) { opacity: 1; transform: none; transition-delay: 400ms; }

/* ============================================================
   SERVICE CARD HOVER
   ============================================================ */
.service-card {
  transition: transform 250ms ease-out, box-shadow 250ms ease-out;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -16px rgba(0,0,0,0.18);
}

/* ============================================================
   STATS (if used)
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px;
  padding: 80px 0;
  text-align: center;
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 700;
  line-height: 1;
  color: var(--primary);
  letter-spacing: -0.03em;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: clamp(11px, 1vw, 14px);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-top: 8px;
}

/* ============================================================
   REVIEW CARDS
   ============================================================ */
.review-card {
  padding: 28px;
  border-radius: var(--radius);
  background: var(--surface);
}
.review-stars svg { color: var(--primary); width: 18px; height: 18px; }
.review-quote { font-size: 17px; line-height: 1.55; margin: 14px 0; }
.review-attribution { font-size: 13px; color: var(--muted); opacity: 0.75; }

/* ============================================================
   MISC UTILITY
   ============================================================ */
.bleed { width: 100vw; margin-left: calc(50% - 50vw); }

.section-label-block { display: flex; flex-direction: column; gap: 4px; }

/* Readable table cells */
.services-table thead .col-service,
.services-table thead .col-desc,
.services-table thead .col-timeline,
.services-table thead .col-price {
  background: var(--ink);
  color: #FFFFFF;
}

/* Grain overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  opacity: 0.022;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

/* ============================================================
   RESPONSIVE CLEANUP
   ============================================================ */
@media (max-width: 640px) {
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .services-tabs { gap: 6px; }
  .service-tab { font-size: 9px; padding: 8px 14px; }
  .cta-banner-actions, .cta-banner-btns { flex-direction: column; }
  .trust-strip-inner { gap: 8px; }
  .trust-pill { font-size: 9px; padding: 5px 12px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 900px) {
  .faq-grid { gap: 32px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1200px) {
  .founder-story-inner { gap: 112px; }
  .about-inner { gap: 112px; }
}


/* === Validator patches (auto-applied) === */
/* validator patch: grid children without placement → span full row */
.gallery-tile { grid-column: 1 / -1; }
.footer-brand { grid-column: 1 / -1; }
.footer-col { grid-column: 1 / -1; }
.service-block-photo { grid-column: 1 / -1; }
.service-block-body { grid-column: 1 / -1; }
.cta-banner-eyebrow { grid-column: 1 / -1; }
.cta-banner-phone { grid-column: 1 / -1; }
.cta-banner-sub { grid-column: 1 / -1; }
.cta-banner-actions { grid-column: 1 / -1; }
.cta-banner-btns { grid-column: 1 / -1; }
/* validator patch: hero must never crop its headline */
#hero, .hero { overflow: visible !important; }
:where(#hero, .hero) { padding-top: max(var(--header-height, 72px), 72px); }
/* validator patch: keep the hero photo visible, no smothering dark band */
.hero-overlay { background: linear-gradient(to top, rgba(0,0,0,0.66), rgba(0,0,0,0.34) 38%, rgba(0,0,0,0.12) 68%, rgba(0,0,0,0) 100%), linear-gradient(to right, rgba(0,0,0,0.30), rgba(0,0,0,0) 58%) !important; }
