@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400;1,600&family=Inter+Tight:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

/* =====================================================
   TOKENS
   ===================================================== */
:root {
  --primary:        #1F9A53;
  --primary-dim:    #187a42;
  --primary-glow:   rgba(31, 154, 83, 0.18);
  --accent:         #F4D490;
  --canvas:         #0C0C0F;
  --surface:        #1A1814;
  --surface-2:      #242019;
  --ink:            #F4F1EA;
  --ink-mid:        #C8C3B8;
  --muted:          #8E8A82;
  --border:         rgba(244,241,234,0.10);
  --border-brand:   rgba(31,154,83,0.35);
  --shadow-card:    0 24px 64px -16px rgba(0,0,0,0.55);
  --shadow-cta:     0 18px 40px -10px rgba(0,0,0,0.45);
  --radius:         4px;
  --radius-pill:    999px;
  --header-height:  72px;
  --section-y:      clamp(112px, 14vh, 180px);
  --container:      1200px;
  --wide:           1400px;
  font-size: 16px;
}

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

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  background: var(--canvas);
  color: var(--ink);
}

body {
  font-family: 'Inter Tight', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  background: var(--canvas);
  color: var(--ink);
  overflow-x: hidden;
  -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; object-position: center 30%;
  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; object-position: center 30%;
  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; }

.hero-split {
  display: grid; grid-template-columns: 60% 40%;
  min-height: 88vh; gap: 0;
}
.hero-split-text {
  background: var(--canvas);
  padding: clamp(48px, 7vw, 96px);
  display: flex; flex-direction: column; justify-content: center; z-index: 2;
}
.hero-split-photo { position: relative; overflow: hidden; background: transparent; }
.hero-split-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; min-height: auto; }
  .hero-split-photo { min-height: 60vw; order: -1; }
}

/* Heading anchor override */
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 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h1 { font-size: clamp(48px, 7vw, 96px); }
h2 { font-size: clamp(36px, 5vw, 72px); }
h3 { font-size: clamp(24px, 3vw, 40px); }

em, i {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 600;
}

p { line-height: 1.72; color: var(--ink-mid); }

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; }

/* Display tint — the luxury-brochure unique move */
.tint, em.tint, .accent-word { color: var(--primary); font-style: italic; }

/* Label style — IBM Plex Mono uppercase */
.section-eyebrow, .panel-eyebrow, .service-block-eyebrow, .page-header-eyebrow,
.cta-banner-eyebrow, .info-card-eyebrow, .about-story-eyebrow,
.services-section-label, .service-areas-label, .contact-form-label,
.services-intro-chip, .footer-col-label, .footer-col-title,
.crew-card-label, .step-num, .timeline-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  display: block;
  margin-bottom: 12px;
}

/* =====================================================
   LAYOUT UTILITIES
   ===================================================== */
.container { max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 4vw, 48px); }
.wide-container { max-width: var(--wide); margin-inline: auto; padding-inline: clamp(20px, 4vw, 48px); }
.bleed { width: 100vw; margin-inline: calc(50% - 50vw); }

/* =====================================================
   SCROLL PROGRESS BAR
   ===================================================== */
#scroll-progress, #scrollBar, .scroll-bar {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--primary);
  z-index: 9999;
  transition: width 0.1s linear;
}

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

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

.nav-logo {
  flex: 0 0 auto;
  text-decoration: none;
  border: 0;
}
.nav-logo:hover { text-decoration: none; }

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

.nav-pages a {
  display: inline-block;
  padding: 6px 0;
  font-family: 'Inter Tight', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-mid);
  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;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: var(--ink);
  padding: 10px 20px;
  border-radius: var(--radius);
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  text-decoration: none;
  transition: filter 150ms;
}
.nav-cta:hover { filter: brightness(0.92); color: var(--ink); text-decoration: none; }

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

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-cta span { display: none; }
  .nav-cta { padding: 10px 12px; }

  .nav-pages {
    display: none;
    position: absolute;
    top: 60px;
    left: 0; right: 0;
    background: var(--canvas);
    flex-direction: column;
    padding: 24px;
    gap: 8px;
    border-bottom: 1px solid rgba(244,241,234,0.08);
    z-index: 899;
    justify-content: flex-start;
  }
  .nav-pages.open { display: flex; }
  .nav-pages li { width: 100%; }
  .nav-pages a { display: block; padding: 12px 0; font-size: 17px; border-bottom: 1px solid var(--border); }
}

/* =====================================================
   ANIMATION UTILITIES
   ===================================================== */
.fade-up   { opacity: 0; transform: translateY(32px); transition: opacity 0.65s ease, transform 0.65s ease; }
.fade-left  { opacity: 0; transform: translateX(-32px); transition: opacity 0.65s ease, transform 0.65s ease; }
.fade-right { opacity: 0; transform: translateX(32px); transition: opacity 0.65s ease, transform 0.65s ease; }
.scale-in  { opacity: 0; transform: scale(0.94); transition: opacity 0.55s ease, transform 0.55s ease; }
.stagger   { opacity: 0; transform: translateY(24px); transition: opacity 0.55s ease, transform 0.55s ease; }

.fade-up.visible, .fade-left.visible, .fade-right.visible,
.scale-in.visible, .stagger.visible { opacity: 1; transform: none; }

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

.hero > img:first-of-type,
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 25%;
  z-index: 0;
  filter: grayscale(15%);
}

.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse at 0% 100%, rgba(31,154,83,0.22) 0%, transparent 55%),
    linear-gradient(to top, rgba(12,12,15,0.92) 0%, rgba(12,12,15,0.55) 50%, rgba(12,12,15,0.70) 100%);
}

.hero-ribbon {
  position: absolute;
  top: 0; right: 0;
  width: 3px;
  height: 100%;
  background: var(--primary);
  z-index: 3;
  opacity: 0.5;
}

.hero-inner {
  position: relative; z-index: 2;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
  width: 100%;
}

.hero-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary);
  margin-bottom: 20px;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(72px, 9vw, 144px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--ink);
  max-width: 14ch;
  margin-bottom: 28px;
}

.hero-title .accent-word {
  color: var(--primary);
  font-style: italic;
}

.hero-sub {
  font-family: 'Inter Tight', sans-serif;
  font-size: clamp(15px, 1.5vw, 18px);
  color: var(--ink-mid);
  max-width: 48ch;
  line-height: 1.65;
  margin-bottom: 40px;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-divider {
  width: 48px;
  height: 1px;
  background: var(--primary);
  margin-bottom: 24px;
  opacity: 0.6;
}

.hero-trust-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 500;
  font-size: 15px;
  padding: 18px 32px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: filter 200ms, transform 200ms, box-shadow 200ms;
  text-decoration: none;
  white-space: nowrap;
  border: none;
}

.btn-primary, a.btn-primary {
  background: var(--primary);
  color: var(--ink);
  text-decoration: none;
}
.btn-primary:hover { filter: brightness(0.9); transform: translateY(-2px); color: var(--ink); text-decoration: none; }

.btn-ghost, a.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(244,241,234,0.3);
  text-decoration: none;
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }

.btn-service {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter Tight', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  padding: 0;
  border: none;
  background: transparent;
  letter-spacing: 0.04em;
  transition: gap 200ms;
}
.btn-service:hover { gap: 14px; text-decoration: none; color: var(--primary); }
.btn-service svg { width: 16px; height: 16px; }

/* =====================================================
   TRUST CHIPS
   ===================================================== */
.trust-chip, .trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-mid);
  white-space: nowrap;
}
.trust-chip svg, .trust-pill svg { width: 14px; height: 14px; color: var(--primary); flex-shrink: 0; }

.trust-dot {
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--primary);
  display: inline-block;
  flex-shrink: 0;
}

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

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

/* =====================================================
   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: 'IBM Plex Mono', monospace;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: clamp(13px, 1.4vw, 18px);
  line-height: 1.2;
  color: var(--muted);
  white-space: nowrap;
}

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

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

/* =====================================================
   SERVICES (HOME) — TABBED PANEL
   ===================================================== */
.services {
  padding: var(--section-y) 0;
  background: var(--canvas);
}

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

.services-inner .section-eyebrow { margin-bottom: 16px; }

.section-heading {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: clamp(36px, 4vw, 56px);
}

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

.service-tab {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 8px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: border-color 200ms, color 200ms, background 200ms;
  white-space: nowrap;
}
.service-tab:hover { border-color: var(--primary); color: var(--ink); }
.service-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--canvas);
}

.services-panels { position: relative; }

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

.service-panel-img {
  position: relative;
  overflow: hidden;
  background: var(--surface-2);
}
.service-panel-img img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  max-height: none;
  filter: grayscale(20%) contrast(1.05);
}

.service-panel-body {
  padding: clamp(28px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  border-left: 1px solid var(--border-brand);
}
.service-panel-body .panel-eyebrow { margin-bottom: 8px; }
.service-panel-body h3 {
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.0;
  margin-bottom: 16px;
}
.service-panel-body h3 em { color: var(--primary); }
.service-panel-body p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-mid);
}
.service-panel-body .btn-service { margin-top: 24px; align-self: flex-start; }

@media (max-width: 900px) {
  .service-panel.active { grid-template-columns: 1fr; }
  .service-panel-img { min-height: 260px; position: relative; }
  .service-panel-img img { position: absolute; max-height: none; }
}

/* =====================================================
   ABOUT SECTION (HOME)
   ===================================================== */
.about-section { padding: var(--section-y) 0; background: var(--canvas); }

.about-grid {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
  display: grid;
  grid-template-columns: 45% 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.about-photo-col { position: relative; }
.about-photo-col img {
  width: 100%;
  height: auto;
  max-height: 640px;
  object-fit: cover;
  border-radius: var(--radius);
  filter: grayscale(30%) contrast(1.05);
}

.about-text-col .section-eyebrow { margin-bottom: 16px; }
.about-text-col .section-title { margin-bottom: 28px; }
.about-text-col p { margin-bottom: 18px; font-size: 16px; }
.about-text-col p em { color: var(--primary); font-size: 1.15em; }
.about-text-col a { color: var(--primary); }

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

/* =====================================================
   ABOUT STORY (ABOUT PAGE)
   ===================================================== */
.about-story { padding: var(--section-y) 0; background: var(--canvas); }

.about-story-grid {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
  display: grid;
  grid-template-columns: 42% 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.about-story-portrait {
  position: relative;
}
.about-story-portrait img {
  width: 100%;
  max-height: 600px;
  object-fit: cover;
  border-radius: var(--radius);
  filter: grayscale(25%) contrast(1.05);
}
.about-story-portrait-caption {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 12px;
}

.about-story-copy { display: flex; flex-direction: column; gap: 0; }
.about-story-eyebrow { margin-bottom: 16px; }

.about-story-headline {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 32px;
}
.about-story-headline em { color: var(--primary); font-style: italic; }

.about-story-body p {
  font-size: 16px;
  line-height: 1.72;
  color: var(--ink-mid);
  margin-bottom: 18px;
}
.about-story-body p em { color: var(--primary); font-size: 1.15em; }

.about-story-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--primary);
}

.about-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

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

/* =====================================================
   VALUES SECTION
   ===================================================== */
.values-section {
  padding: var(--section-y) 0;
  background: var(--surface);
}

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

.values-inner .section-eyebrow { margin-bottom: 16px; }
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: clamp(36px, 5vw, 72px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: clamp(36px, 4vw, 56px);
}
.section-title em { color: var(--primary); font-style: italic; }

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

.value-card {
  background: var(--canvas);
  border: 1px solid var(--border);
  border-top: 1px solid var(--primary);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 250ms ease-out, box-shadow 250ms ease-out;
}
.value-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }

.value-card-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary);
  margin-bottom: 12px;
}
.value-card h3 {
  font-size: clamp(20px, 2vw, 28px);
  margin-bottom: 12px;
}
.value-card-body { font-size: 14px; line-height: 1.65; color: var(--muted); }

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

/* =====================================================
   TIMELINE SECTION
   ===================================================== */
.timeline-section {
  padding: var(--section-y) 0;
  background: var(--canvas);
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}

.timeline-section .section-eyebrow { margin-bottom: 16px; }
.timeline-section .section-title { margin-bottom: clamp(36px, 4vw, 56px); }

.timeline-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
.timeline-track::before {
  content: '';
  position: absolute;
  top: 20px; left: 20px; right: 20px;
  height: 1px;
  background: var(--border-brand);
}

.timeline-step {
  position: relative;
  padding-top: 48px;
}

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

.timeline-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary);
  margin-bottom: 8px;
}
.timeline-step h3 { font-size: clamp(18px, 2vw, 26px); margin-bottom: 10px; }
.timeline-body { font-size: 14px; line-height: 1.65; color: var(--muted); }

@media (max-width: 900px) {
  .timeline-track { grid-template-columns: repeat(2, 1fr); }
  .timeline-track::before { display: none; }
}
@media (max-width: 640px) {
  .timeline-track { grid-template-columns: 1fr; }
}

/* =====================================================
   CREW SECTION
   ===================================================== */
.crew-section {
  padding: var(--section-y) 0;
  background: var(--surface);
}

.crew-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}
.crew-inner .section-eyebrow { margin-bottom: 16px; }
.crew-inner .section-title { margin-bottom: clamp(36px, 4vw, 56px); }

.crew-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.crew-card {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius);
  transition: transform 250ms ease-out;
}
.crew-card:hover { transform: translateY(-3px); }
.crew-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  max-height: none;
  filter: grayscale(30%);
}

.crew-card-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 20px;
  background: linear-gradient(to top, rgba(12,12,15,0.9) 0%, transparent 100%);
  z-index: 2;
}
.crew-card-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink);
}

@media (max-width: 640px) {
  .crew-strip { grid-template-columns: 1fr; }
}

/* =====================================================
   REVIEWS
   ===================================================== */
.reviews {
  padding: var(--section-y) 0;
  background: var(--surface);
}

.reviews-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}
.reviews-inner .section-eyebrow { margin-bottom: 16px; }
.reviews-inner .section-heading { margin-bottom: clamp(40px, 5vw, 64px); }

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

.review-card {
  background: var(--canvas);
  border: 1px solid var(--border);
  border-top: 1px solid var(--primary);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 250ms ease-out, box-shadow 250ms ease-out;
}
.review-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }

.review-stars {
  display: flex;
  gap: 4px;
  margin-bottom: 18px;
}
.review-stars svg { width: 18px; height: 18px; color: var(--primary); fill: var(--primary); }

.review-quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 20px;
}

.review-attribution {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 10px;
}
.review-badge {
  background: var(--primary-glow);
  color: var(--primary);
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  font-size: 10px;
}

@media (max-width: 900px) {
  .reviews-grid { grid-template-columns: 1fr; }
}
@media (min-width: 641px) and (max-width: 900px) {
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =====================================================
   GALLERY (HOME)
   ===================================================== */
.gallery {
  padding: var(--section-y) 0;
  background: var(--canvas);
}

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

.gallery-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: clamp(32px, 4vw, 56px);
}
.gallery-header .section-eyebrow { margin-bottom: 12px; }
.gallery-header .section-heading { margin-bottom: 0; }

.gallery-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--primary);
  text-decoration: none;
  white-space: nowrap;
  transition: gap 200ms;
}
.gallery-link:hover { gap: 14px; text-decoration: none; color: var(--primary); }
.gallery-link svg { width: 16px; height: 16px; }

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

.gallery-tile {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
  background: var(--surface);
  transition: transform 250ms ease-out;
  grid-column: auto;
}
.gallery-tile:hover { transform: scale(1.02); }
.gallery-tile img {
  width: 100%; height: 100%;
  object-fit: cover;
  max-height: none;
  filter: grayscale(20%);
  transition: filter 300ms;
}
.gallery-tile:hover img { filter: grayscale(0%); }
.gallery-tile > span {
  position: absolute;
  inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-2);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.gallery-tile > ul {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(12,12,15,0.85) 0%, transparent 100%);
  list-style: none;
}
.gallery-tile > ul li {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--ink-mid);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.gallery-tile > a {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end;
  padding: 16px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-decoration: none;
}

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

/* =====================================================
   GALLERY FULL (gallery.html)
   ===================================================== */
.gallery-full {
  padding: var(--section-y) 0;
  background: var(--canvas);
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}

.gallery-filter-btn {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 8px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all 200ms;
}
.gallery-filter-btn:hover,
.gallery-filter-btn.active {
  border-color: var(--primary);
  color: var(--ink);
  background: var(--primary-glow);
}

.gallery-count {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 28px;
}
#visibleCount { color: var(--primary); }

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

.gallery-card {
  position: relative;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 250ms ease-out, box-shadow 250ms ease-out;
}
.gallery-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-card); }

.gallery-card-img-wrap {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.gallery-card-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
  max-height: none;
  filter: grayscale(15%);
  transition: filter 300ms, transform 400ms;
}
.gallery-card:hover .gallery-card-img-wrap img {
  filter: grayscale(0%);
  transform: scale(1.04);
}

.gallery-card-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12,12,15,0.7) 0%, transparent 60%);
}

.gallery-card-badge {
  position: absolute;
  top: 14px; left: 14px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  background: var(--primary);
  color: var(--canvas);
  border-radius: var(--radius-pill);
}

.gallery-card-num {
  position: absolute;
  bottom: 14px; right: 14px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.08em;
}

.gallery-card-body {
  padding: 20px 20px 22px;
}
.gallery-card-body h3 {
  font-size: clamp(18px, 2vw, 24px);
  margin-bottom: 10px;
}
.gallery-card-loc {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 8px;
}
.gallery-card-loc svg { width: 13px; height: 13px; color: var(--primary); }
.gallery-card-desc { font-size: 13px; line-height: 1.6; color: var(--muted); }

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

/* =====================================================
   SERVICE AREAS
   ===================================================== */
.service-areas {
  padding: clamp(56px, 7vh, 100px) 0;
  background: var(--canvas);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.service-areas-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
}

.service-areas-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  flex-shrink: 0;
  display: block;
  margin-bottom: 0;
  margin-right: 8px;
}

.area-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.area-pill, .info-area-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  transition: border-color 200ms, color 200ms;
}
.area-pill:hover { border-color: var(--primary); color: var(--ink); }

/* =====================================================
   FAQ
   ===================================================== */
.faq {
  padding: var(--section-y) 0;
  background: var(--canvas);
}

.faq-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}
.faq-inner .section-eyebrow { margin-bottom: 16px; }
.faq-inner .section-heading { margin-bottom: clamp(40px, 5vw, 64px); }

.faq-list { max-width: 800px; }

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

details.faq-item > summary {
  cursor: pointer;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  transition: color 150ms;
}
details.faq-item > summary::-webkit-details-marker { display: none; }
details.faq-item > summary::after {
  content: "+";
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 300;
  font-size: 20px;
  color: var(--muted);
  flex-shrink: 0;
  transition: transform 200ms, color 200ms;
}
details.faq-item[open] > summary::after {
  transform: rotate(45deg);
  color: var(--primary);
}
details.faq-item > summary:hover { color: var(--primary); }

.faq-body {
  margin-top: 14px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-mid);
  max-width: 680px;
  padding-right: 40px;
}
.faq-body a { color: var(--primary); }

/* =====================================================
   TEAM CTA
   ===================================================== */
.team-cta {
  padding: clamp(64px, 8vh, 100px) 0;
  background: var(--surface);
  border-top: 1px solid var(--border-brand);
  text-align: center;
}

.team-cta-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}

.team-cta-inner p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 28px;
}
.team-cta-inner p em { color: var(--primary); }

.team-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: gap 200ms;
}
.team-cta-link:hover { gap: 16px; text-decoration: none; color: var(--primary); }

/* =====================================================
   CONTACT SECTION (HOME + contact.html)
   ===================================================== */
.contact, .contact-section {
  padding: var(--section-y) 0;
  background: var(--canvas);
}

.contact-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}
.contact-inner .section-eyebrow { margin-bottom: 16px; }
.contact-inner .section-heading { margin-bottom: clamp(40px, 5vw, 64px); }

.contact-grid {
  display: grid;
  grid-template-columns: 55% 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.contact-form-col { grid-column: 1; }
.contact-info, .contact-info-card { grid-column: 2; }

.contact-form-label, .info-card-eyebrow { margin-bottom: 8px; }

.contact-form-headline, .contact-form h2 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.05;
  margin-bottom: 24px;
}
.contact-form-headline .accent-word { color: var(--primary); font-style: italic; }

.contact-form-desc { font-size: 15px; color: var(--ink-mid); margin-bottom: 32px; }

/* Contact info */
.contact-info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 1px solid var(--primary);
  border-radius: var(--radius);
  padding: 32px 28px;
}

.contact-info-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.contact-info-item:last-child { border-bottom: 0; padding-bottom: 0; }

.contact-info-label, .info-item-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 4px;
  display: block;
}

.contact-info-value, .info-item-value {
  font-size: 15px;
  color: var(--ink);
  line-height: 1.55;
}
.contact-info-value a, .info-item-value a { color: var(--ink); }
.contact-info-value a:hover, .info-item-value a:hover { color: var(--primary); }

.contact-phone-big, .info-phone-large {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1.0;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.contact-phone-big:hover, .info-phone-large:hover { color: var(--primary); text-decoration: none; }

.contact-discount { font-size: 14px; color: var(--primary); font-weight: 600; }

/* Info block (contact.html aside) */
.info-block { display: flex; flex-direction: column; }
.info-item {
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.info-divider { height: 1px; background: var(--border); }

.info-discount-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: var(--primary-glow);
  border: 1px solid var(--border-brand);
  border-radius: var(--radius);
  margin-top: 4px;
}
.info-discount-badge svg { width: 16px; height: 16px; color: var(--primary); }
.info-discount-text { font-size: 13px; color: var(--primary); font-weight: 600; }

.social-links, .info-social-row {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 4px;
}

.social-link, .info-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--muted);
  transition: border-color 200ms, color 200ms;
  text-decoration: none;
}
.social-link svg, .info-social-link svg { width: 18px; height: 18px; }
.social-link:hover, .info-social-link:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-col { grid-column: 1; }
  .contact-info, .contact-info-card { grid-column: 1; }
}

/* =====================================================
   FORMS
   ===================================================== */
.contact-form, .cta-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}
.form-field.full { grid-column: 1 / -1; }

.form-field label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.form-field input,
.form-field textarea,
.form-field select {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--ink);
  font-family: 'Inter Tight', sans-serif;
  font-size: 15px;
  padding: 14px 16px;
  outline: none;
  transition: border-color 200ms;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--muted); }
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus { border-color: var(--primary); }

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

.form-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: var(--ink);
  font-family: 'Inter Tight', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 18px 32px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: filter 200ms, transform 200ms;
  align-self: flex-start;
}
.form-submit:hover { filter: brightness(0.9); transform: translateY(-2px); }
.form-submit svg { width: 18px; height: 18px; }

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
}

/* =====================================================
   CTA BANNER
   ===================================================== */
.cta-banner {
  padding: var(--section-y) 0;
  background: var(--surface);
  position: relative;
  overflow: hidden;
}

.cta-banner-accent {
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--primary);
}

.cta-banner-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.cta-banner-left { grid-column: 1; }
.cta-banner-right { grid-column: 2; }

.cta-banner-text { grid-column: 1 / -1; text-align: center; }
.cta-banner-actions { grid-column: 1 / -1; display: flex; justify-content: center; flex-direction: column; align-items: center; gap: 24px; }
.cta-banner-btns { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }

.cta-banner-eyebrow { font-family: 'IBM Plex Mono', monospace; font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); margin-bottom: 16px; display: block; }

.cta-banner-title, .cta-banner-heading {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: clamp(32px, 4.5vw, 64px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 16px;
}
.cta-banner-title em, .cta-banner-heading em { color: var(--primary); font-style: italic; }

.cta-banner-sub, .cta-banner-note {
  font-size: 15px;
  color: var(--ink-mid);
  line-height: 1.65;
  margin-bottom: 28px;
}

.cta-banner-phone { font-family: 'Cormorant Garamond', serif; font-size: clamp(24px, 3vw, 40px); font-weight: 600; color: var(--ink); text-decoration: none; display: block; margin-bottom: 16px; }
.cta-banner-phone:hover { color: var(--primary); text-decoration: none; }

.cta-form-label { font-family: 'IBM Plex Mono', monospace; font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); display: block; margin-bottom: 20px; }

@media (max-width: 900px) {
  .cta-banner-inner { grid-template-columns: 1fr; }
  .cta-banner-left, .cta-banner-right { grid-column: 1; }
}

/* =====================================================
   SERVICES DETAIL (services.html)
   ===================================================== */
.services-detail {
  padding: var(--section-y) 0;
  background: var(--canvas);
}

.services-detail-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}

.services-section-label { margin-bottom: 48px; }

.service-block {
  display: grid;
  grid-template-columns: 50% 1fr;
  gap: 0;
  min-height: 480px;
  margin-bottom: 64px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}

.service-block.reverse {
  grid-template-columns: 1fr 50%;
  direction: ltr;
}
.service-block.reverse .service-block-photo {
  order: 2;
}
.service-block.reverse .service-block-body {
  order: 1;
}

.service-block-photo {
  position: relative;
  overflow: hidden;
  background: var(--surface-2);
}
.service-block-photo img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  max-height: none;
  filter: grayscale(20%);
}

.service-block-photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(12,12,15,0.3) 0%, transparent 50%);
  z-index: 1;
}

.service-block-index {
  position: absolute;
  top: 16px; left: 16px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink);
  background: var(--primary);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  z-index: 2;
}

.service-block-body {
  padding: clamp(32px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  border-left: 1px solid var(--border-brand);
}
.service-block.reverse .service-block-body {
  border-left: 0;
  border-right: 1px solid var(--border-brand);
}

.service-block-eyebrow { margin-bottom: 0; }

.service-block-body h2 {
  font-size: clamp(24px, 3vw, 42px);
  margin-bottom: 8px;
}
.service-block-body h2 em { color: var(--primary); }

.service-block-desc {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-mid);
}

.service-block-bullets {
  list-style: none;
  margin: 4px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-block-bullets li {
  font-size: 14px;
  color: var(--ink-mid);
  padding-left: 18px;
  position: relative;
  line-height: 1.5;
}
.service-block-bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.service-block-body .btn-service { margin-top: 12px; align-self: flex-start; }

@media (max-width: 900px) {
  .service-block,
  .service-block.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    min-height: auto;
  }
  .service-block-photo { min-height: 260px; position: relative; }
  .service-block.reverse .service-block-photo { order: 0; }
  .service-block.reverse .service-block-body { order: 0; border-right: 0; border-left: 0; border-top: 1px solid var(--border-brand); }
  .service-block-body { border-left: 0; border-top: 1px solid var(--border-brand); }
}

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

.services-intro-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}

.services-intro-lead {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(20px, 2.5vw, 32px);
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 24px;
}
.services-intro-lead em { color: var(--primary); }

.services-intro-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.services-intro-chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 0;
}

/* =====================================================
   PAGE HEADER (sub-page banner)
   ===================================================== */
.page-header {
  min-height: 44vh;
  max-height: 64vh;
  display: flex;
  align-items: flex-end;
  padding-bottom: clamp(40px, 5vw, 72px);
  background: var(--canvas);
}

.page-header > img,
.page-header-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  z-index: 0;
  filter: grayscale(15%);
}

.page-header-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to top, rgba(12,12,15,0.88) 0%, rgba(12,12,15,0.45) 60%);
}

.page-header-inner {
  position: relative; z-index: 2;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
  width: 100%;
}

.page-header-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary);
  margin-bottom: 16px;
}

.page-header-title {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 600;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 16px;
  max-width: 16ch;
}
.page-header-title em, .page-header-title .accent-word { color: var(--primary); }

.page-header-sub {
  font-size: clamp(14px, 1.5vw, 18px);
  color: var(--ink-mid);
  max-width: 50ch;
  line-height: 1.65;
}

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding-top: clamp(56px, 7vh, 96px);
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
}

.footer-brand { grid-column: 1; }
.footer-col { grid-column: auto; }

.footer-brand img, .footer-logo img { margin-bottom: 16px; }

.footer-brand-name, .footer-brand-tagline, .footer-tagline {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 12px;
}

.footer-contact-block, .footer-contact-line {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-contact-block a, .footer-contact-line a,
.footer-contact-item a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
  transition: color 150ms;
}
.footer-contact-block a:hover, .footer-contact-line a:hover,
.footer-contact-item a:hover { color: var(--primary); text-decoration: none; }

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 8px;
}
.footer-contact-item svg { width: 16px; height: 16px; color: var(--primary); flex-shrink: 0; }

.footer-col-title, .footer-col-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 16px;
  display: block;
}

.footer-col ul, .footer-links {
  list-style: none;
}
.footer-col ul li, .footer-links li { margin-bottom: 10px; }
.footer-col ul li a, .footer-links li a {
  font-size: 14px;
  color: var(--ink-mid);
  text-decoration: none;
  transition: color 150ms;
}
.footer-col ul li a:hover, .footer-links li a:hover { color: var(--primary); text-decoration: none; }

.footer-trust { display: flex; flex-direction: column; gap: 8px; }
.footer-trust-chip {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  display: inline-block;
}

.footer-socials { display: flex; gap: 10px; margin-top: 12px; }
.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--muted);
  text-decoration: none;
  transition: border-color 200ms, color 200ms;
}
.footer-social-link svg { width: 16px; height: 16px; }
.footer-social-link:hover { border-color: var(--primary); color: var(--primary); text-decoration: none; }

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

.footer-copy, .footer-copyright, .footer-bottom p, .footer-legal {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

.footer-certs, .footer-license {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.06em;
}

footer address {
  font-style: normal;
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.7;
}
footer address a { color: var(--ink-mid); text-decoration: none; }
footer address a:hover { color: var(--primary); text-decoration: none; }

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

/* =====================================================
   MOBILE CTA PILL
   ===================================================== */
.mobile-cta, .mobile-cta-pill, .mobile-sticky-cta, .mobile-call {
  display: none;
}

@media (max-width: 900px) {
  .mobile-cta, .mobile-cta-pill, .mobile-sticky-cta, .mobile-call {
    display: block;
    position: fixed;
    bottom: 18px; right: 18px;
    z-index: 999;
  }

  .mobile-cta a, .mobile-cta-pill a,
  .mobile-sticky-cta a, .mobile-call a,
  a.mobile-cta, a.mobile-cta-pill {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary);
    color: var(--ink);
    padding: 14px 22px;
    border-radius: var(--radius-pill);
    font-family: 'Inter Tight', sans-serif;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    box-shadow: 0 18px 40px -10px rgba(0,0,0,0.45);
    transition: filter 200ms, transform 200ms;
  }
  .mobile-cta a:hover, .mobile-cta-pill a:hover,
  .mobile-sticky-cta a:hover, .mobile-call a:hover {
    filter: brightness(0.9); transform: translateY(-2px); text-decoration: none; color: var(--ink);
  }
  .mobile-cta svg, .mobile-cta-pill svg,
  .mobile-sticky-cta svg, .mobile-call svg,
  .mobile-cta a svg, .mobile-cta-pill a svg {
    width: 20px; height: 20px;
    flex-shrink: 0;
  }
}

/* =====================================================
   SERVICE CARD HOVER (generic)
   ===================================================== */
.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: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: clamp(48px, 8vw, 96px);
  line-height: 1;
  color: var(--primary);
}
.stat-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: clamp(11px, 1vw, 14px);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-top: 8px;
}

/* =====================================================
   PROCESS STRIP
   ===================================================== */
.process { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.process-step { padding: 24px; border: 1px solid var(--border); border-radius: 8px; }
.step-num { font-size: 14px; font-weight: 700; color: var(--primary); margin-bottom: 12px; letter-spacing: 0.12em; }

/* =====================================================
   MISC HELPERS
   ===================================================== */
.highlight { color: var(--primary); }

/* SVG caps — unsized svgs in flex/grid */
.review-stars svg { width: 18px; height: 18px; }
.gallery-link svg { width: 16px; height: 16px; }
.gallery-card-loc svg { width: 13px; height: 13px; }
.btn-service svg { width: 16px; height: 16px; }
.footer-contact-item svg { width: 16px; height: 16px; }
.footer-social-link svg { width: 16px; height: 16px; }
.trust-chip svg, .trust-pill svg { width: 14px; height: 14px; }
.info-discount-badge svg { width: 16px; height: 16px; }
.info-social-link svg { width: 18px; height: 18px; }
.social-link svg { width: 18px; height: 18px; }
.form-submit svg { width: 18px; height: 18px; }
.mobile-cta svg, .mobile-cta-pill svg, .mobile-sticky-cta svg, .mobile-call svg { width: 20px; height: 20px; }

/* nav toggle svg */
#navToggle svg, .nav-toggle svg { width: 24px; height: 24px; }

/* =====================================================
   GRAIN TEXTURE OVERLAY
   ===================================================== */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.025;
  pointer-events: none;
  z-index: 9998;
  mix-blend-mode: overlay;
}

/* =====================================================
   MEDIA QUERIES — RESPONSIVE REFINEMENTS
   ===================================================== */
@media (max-width: 1200px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer-grid .footer-col:last-child { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .hero { min-height: 85svh; }
  .hero-title { font-size: clamp(52px, 12vw, 88px); }
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .reviews-grid { grid-template-columns: 1fr; }
  .gallery-case-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .crew-strip { grid-template-columns: 1fr; }
  .cta-banner-inner { grid-template-columns: 1fr; }
  .cta-banner-left, .cta-banner-right,
  .cta-banner-text, .cta-banner-actions { grid-column: 1; }
}

@media (max-width: 640px) {
  .hero-trust-chips { gap: 8px; }
  .trust-chip, .trust-pill { font-size: 10px; padding: 5px 10px; }
  .footer-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .timeline-track { grid-template-columns: 1fr; }
  .about-story-chips { gap: 8px; }
  .reviews-grid { grid-template-columns: 1fr; }
}


/* === Validator patches (auto-applied) === */
/* validator patch: grid children without placement → span full row */
.review-card { grid-column: 1 / -1; }
.form-field { grid-column: 1 / -1; }
.service-block-photo { grid-column: 1 / -1; }
.service-block-body { grid-column: 1 / -1; }
.about-story-copy { grid-column: 1 / -1; }
.about-text-col { grid-column: 1 / -1; }
.cta-banner-eyebrow { grid-column: 1 / -1; }
.cta-banner-title { grid-column: 1 / -1; }
.cta-banner-sub { 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; }
