@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:        #634424;
  --primary-light:  #7d5530;
  --primary-dim:    rgba(99,68,36,0.18);
  --accent:         #44743C;
  --canvas:         #0C0C0F;
  --surface:        #1A1814;
  --surface-2:      #211e19;
  --ink:            #F4F1EA;
  --ink-mid:        #ccc9bf;
  --muted:          #8E8A82;
  --border:         rgba(244,241,234,0.08);
  --border-brand:   rgba(99,68,36,0.45);
  --header-height:  72px;
}

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

/* ============================================================
   GLOBAL RESET + SMOOTH SCROLL
   ============================================================ */
*, *::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 {
  background: var(--canvas);
  color: var(--ink);
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ============================================================
   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: 64px !important;
  max-width: 220px !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 ANCHOR RULE
   ============================================================ */
h1 a, h2 a, h3 a, .hero-title a, .hero-eyebrow a, .hero-sub a {
  color: inherit; text-decoration: none; border-bottom: 0;
}
h1 a:hover, h2 a:hover, h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, .hero-title, .section-title, .page-header-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(48px, 7vw, 120px); }
h2 { font-size: clamp(36px, 5vw, 72px); }
h3 { font-size: clamp(22px, 2.5vw, 32px); }
h4 { font-size: 18px; letter-spacing: 0; line-height: 1.3; }

.hero-title {
  font-size: clamp(72px, 9vw, 144px);
  font-style: italic;
  line-height: 0.92;
  max-width: 14ch;
}

p { line-height: 1.7; }

.section-eyebrow,
.page-header-eyebrow,
.ph-eyebrow,
.page-eyebrow,
.banner-eyebrow,
.cta-banner-eyebrow,
.cta-eyebrow,
.faq-eyebrow,
.about-eyebrow,
.contact-section-label,
.footer-col-title,
.info-block-label,
.contact-info-label {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 14px;
}

/* Unique move — accent italic inline words */
.accent-word, em.bw {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 1.25em;
  color: var(--primary);
  font-weight: 600;
  line-height: inherit;
}

/* ============================================================
   LINKS
   ============================================================ */
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; }

svg { flex-shrink: 0; }
svg:not([width]):not([height]) { width: 24px; height: 24px; }

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

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

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

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

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

.nav-logo {
  flex: 0 0 auto;
  text-decoration: none;
}
.nav-logo:hover { text-decoration: none; }
.nav-logo img { max-height: 40px; width: auto; object-fit: contain; }

.nav-pages {
  flex: 1;
  display: flex;
  justify-content: center;
  list-style: none;
}
.nav-pages ul {
  display: flex;
  gap: 28px;
  align-items: center;
  list-style: none;
}
.nav-pages li { list-style: none; }
.nav-pages a {
  display: inline-block;
  padding: 6px 0;
  font-size: 14px;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 150ms;
}
.nav-pages a:hover,
.nav-pages li.active a,
.nav-pages a[aria-current="page"] {
  color: var(--ink);
  text-decoration: none;
}
.nav-pages a[aria-current="page"],
.nav-pages li.active a {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
  padding-bottom: 4px;
  text-decoration: none;
}

.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: 4px;
  font-size: 14px;
  font-weight: 600;
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
  transition: filter 150ms;
}
.nav-cta:hover { filter: brightness(0.88); color: var(--ink); text-decoration: none; }
.nav-cta-icon { width: 16px; height: 16px; }

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

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-pages {
    display: none;
    position: absolute;
    top: var(--header-height);
    left: 0; right: 0;
    background: var(--canvas);
    border-bottom: 1px solid var(--border);
    padding: 24px 28px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    z-index: 800;
  }
  .nav-pages.open { display: flex; }
  .nav-pages li { width: 100%; }
  .nav-pages a { font-size: 15px; padding: 10px 0; display: block; }
  .nav-cta span { display: none; }
  .nav-cta { padding: 10px 12px; }
}

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

.fade-up.visible,
.fade-left.visible,
.fade-right.visible,
.scale-in.visible    { opacity: 1; transform: none; }
.stagger.visible > * { opacity: 1; transform: none; }
.stagger.visible > *:nth-child(1)  { transition-delay: 0.05s; }
.stagger.visible > *:nth-child(2)  { transition-delay: 0.12s; }
.stagger.visible > *:nth-child(3)  { transition-delay: 0.19s; }
.stagger.visible > *:nth-child(4)  { transition-delay: 0.26s; }
.stagger.visible > *:nth-child(5)  { transition-delay: 0.33s; }
.stagger.visible > *:nth-child(6)  { transition-delay: 0.40s; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn,
.btn-primary,
.btn-primary-lg,
.btn-ghost,
.btn-ghost-lg,
.btn-submit,
.feature-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  cursor: pointer;
  transition: filter 150ms, background 150ms, color 150ms, border-color 150ms;
  white-space: nowrap;
  border: none;
}

.btn-primary,
.btn-primary-lg {
  background: var(--primary);
  color: var(--ink);
  padding: 18px 32px;
}
.btn-primary:hover, .btn-primary-lg:hover {
  filter: brightness(0.88);
  color: var(--ink);
  text-decoration: none;
}

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

.btn-submit {
  background: var(--primary);
  color: var(--ink);
  padding: 16px 32px;
  width: 100%;
  justify-content: center;
  font-size: 13px;
}
.btn-submit:hover { filter: brightness(0.88); }

.btn-primary-lg svg, .btn-ghost-lg svg { width: 18px; height: 18px; }

.feature-cta {
  background: transparent;
  color: var(--primary);
  padding: 0;
  font-size: 12px;
  border-bottom: 1px solid var(--primary);
  border-radius: 0;
  padding-bottom: 2px;
}
.feature-cta svg { width: 16px; height: 16px; }
.feature-cta:hover { color: var(--primary-light); text-decoration: none; border-color: var(--primary-light); }

/* ============================================================
   HERO
   ============================================================ */
#hero.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

#hero.hero > img:first-of-type,
.hero-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
}

.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(ellipse 80% 60% at 0% 100%, rgba(99,68,36,0.35) 0%, transparent 60%),
    linear-gradient(to top, rgba(12,12,15,0.92) 0%, rgba(12,12,15,0.55) 50%, rgba(12,12,15,0.30) 100%),
    linear-gradient(to right, rgba(12,12,15,0.75) 0%, transparent 60%);
}

.hero-ribbon {
  position: absolute;
  top: 40px; right: 40px;
  z-index: 3;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: 999px;
}

.hero-inner {
  position: relative; z-index: 2;
  padding: clamp(48px, 8vw, 120px) clamp(24px, 5vw, 80px);
  padding-bottom: clamp(64px, 9vw, 120px);
  max-width: 900px;
}

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

.hero-title {
  margin-bottom: 24px;
  color: var(--ink);
}

.hero-sub {
  font-size: clamp(15px, 1.6vw, 18px);
  color: var(--ink-mid);
  max-width: 52ch;
  margin-bottom: 36px;
  line-height: 1.65;
}

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

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

.trust-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.trust-chip-dot,
.ts-sep + .ts-chip::before {
  display: inline-block;
  width: 5px; height: 5px;
  background: var(--primary);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================================
   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: 500;
  font-size: clamp(11px, 1.2vw, 14px);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.2;
  flex-shrink: 0;
}

.marquee-dot {
  color: var(--primary);
  font-size: 18px;
  line-height: 1;
}

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

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

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

.ts-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  white-space: nowrap;
}

.ts-sep {
  color: var(--primary);
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}

/* ============================================================
   SERVICES (TABBED PANEL)
   ============================================================ */
.services {
  padding: clamp(80px, 10vh, 140px) 0;
  background: var(--canvas);
}

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

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

.section-title {
  font-size: clamp(36px, 5vw, 72px);
  font-style: italic;
  margin-bottom: 40px;
  color: var(--ink);
}

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

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

.services-panels { position: relative; }

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

.service-panel > img:first-of-type,
.service-panel-img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  max-height: none !important;
  object-fit: cover;
  display: block;
  grid-column: 1;
  grid-row: 1;
}

.service-panel-body {
  grid-column: 2;
  grid-row: 1;
  padding: clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
  background: var(--surface);
  border-left: 1px solid var(--border-brand);
}

.service-panel-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(26px, 3vw, 40px);
  font-style: italic;
  font-weight: 600;
  line-height: 1.05;
  color: var(--ink);
}

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

.service-panel-cta { margin-top: 8px; }

.services-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 16px;
  text-decoration: none;
  transition: color 150ms;
}
.services-link:hover { color: var(--ink); text-decoration: none; }

@media (max-width: 900px) {
  .service-panel {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .service-panel > img:first-of-type,
  .service-panel-img {
    min-height: 240px;
    max-height: 280px !important;
    grid-column: 1; grid-row: 1;
  }
  .service-panel-body {
    grid-column: 1; grid-row: 2;
    border-left: none;
    border-top: 1px solid var(--border-brand);
  }
}

/* ============================================================
   SERVICES — FEATURE BLOCKS (services.html)
   ============================================================ */
.services-intro {
  max-width: 1200px;
  margin-inline: auto;
  padding: clamp(64px, 8vw, 112px) clamp(20px, 4vw, 48px) clamp(40px, 5vw, 72px);
}
.services-intro .section-title { margin-bottom: 16px; }
.section-intro {
  font-size: 17px;
  color: var(--ink-mid);
  max-width: 56ch;
  line-height: 1.7;
}

.feature-blocks {
  max-width: 1200px;
  margin-inline: auto;
  padding: 0 clamp(20px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--border);
  padding: clamp(48px, 6vw, 80px) 0;
  align-items: center;
}

.feature-block.reverse .feature-body { order: -1; }
.feature-block.reverse .feature-photo { order: 1; }

.feature-photo {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}
.feature-photo img {
  width: 100%;
  height: 480px;
  max-height: none !important;
  object-fit: cover;
}

.feature-photo-index {
  position: absolute;
  top: 16px; left: 16px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  background: rgba(12,12,15,0.7);
  padding: 4px 10px;
  border-radius: 999px;
}

.feature-body {
  padding: clamp(24px, 4vw, 56px);
}

.feature-num {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}

.feature-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(32px, 3.5vw, 48px);
  font-style: italic;
  font-weight: 600;
  line-height: 1.0;
  color: var(--ink);
  margin-bottom: 20px;
}

.feature-desc {
  font-size: 15px;
  color: var(--ink-mid);
  line-height: 1.7;
  margin-bottom: 12px;
}

.feature-bullets {
  list-style: none;
  margin: 16px 0 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.feature-bullets li {
  font-size: 14px;
  color: var(--muted);
  padding-left: 18px;
  position: relative;
}
.feature-bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 5px; height: 5px;
  background: var(--primary);
  border-radius: 50%;
}

@media (max-width: 900px) {
  .feature-block {
    grid-template-columns: 1fr;
  }
  .feature-block.reverse .feature-body { order: 1; }
  .feature-block.reverse .feature-photo { order: -1; }
  .feature-photo img { height: 280px; }
  .feature-body { padding: 28px 0; }
}

/* ============================================================
   GALLERY SECTION (index.html preview)
   ============================================================ */
.gallery-preview-section {
  padding: clamp(80px, 10vh, 140px) 0;
  background: var(--canvas);
}

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

.gallery-preview-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 24px;
}

.gallery-preview-header a {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  white-space: nowrap;
  flex-shrink: 0;
}

.gallery-frame {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid var(--border);
}
.gallery-frame img {
  width: 100%;
  height: clamp(300px, 40vw, 560px);
  max-height: none !important;
  object-fit: cover;
  display: block;
  transition: transform 600ms ease;
}
.gallery-frame:hover img { transform: scale(1.02); }

.gallery-frame-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(12,12,15,0.7) 0%, transparent 55%);
  display: flex;
  align-items: flex-end;
  padding: 32px;
}

.gallery-frame-cta-wrap a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid rgba(244,241,234,0.3);
  padding: 10px 20px;
  border-radius: 4px;
  transition: border-color 150ms, color 150ms;
}
.gallery-frame-cta-wrap a:hover {
  border-color: var(--primary);
  color: var(--primary);
  text-decoration: none;
}

.gallery-caption {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ============================================================
   GALLERY PAGE
   ============================================================ */
.gallery-section {
  padding: clamp(48px, 6vw, 80px) clamp(20px, 4vw, 48px);
  max-width: 1400px;
  margin-inline: auto;
}

.gallery-header-row {
  display: flex;
  align-items: baseline;
  gap: 24px;
  margin-bottom: 28px;
}
.gallery-header-row h2 {
  font-style: italic;
}
.gallery-count {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  flex-shrink: 0;
}

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

.filter-pill {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--border);
  padding: 7px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 150ms, border-color 150ms, background 150ms;
}
.filter-pill.active,
.filter-pill:hover {
  color: var(--ink);
  border-color: var(--primary);
  background: var(--primary-dim);
}

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

.gallery-card {
  background: var(--surface);
  overflow: hidden;
  border-radius: 0;
  transition: transform 250ms ease;
}

.gallery-card-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}
.gallery-card-media img {
  width: 100%; height: 100%;
  max-height: none !important;
  object-fit: cover;
  display: block;
  transition: transform 500ms ease;
  filter: saturate(0.8) contrast(1.05);
}
.gallery-card:hover .gallery-card-media img { transform: scale(1.04); }

.gallery-card-num {
  position: absolute;
  top: 12px; left: 12px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  color: var(--ink);
  background: rgba(12,12,15,0.75);
  padding: 3px 8px;
  border-radius: 999px;
  letter-spacing: 0.12em;
}

.gallery-card-cat {
  position: absolute;
  top: 12px; right: 12px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--primary);
  padding: 3px 8px;
  border-radius: 999px;
}

.gallery-card-body {
  padding: 20px;
  background: var(--surface);
}

.gallery-card-body h2 {
  font-size: 16px;
  font-style: italic;
  line-height: 1.2;
  margin-bottom: 8px;
}

.gallery-card-loc {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}
.gallery-card-loc svg { width: 12px; height: 12px; }

.gallery-card-desc {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 12px;
}

.gallery-card-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.meta-item { display: flex; flex-direction: column; gap: 2px; }
.meta-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.meta-value {
  font-size: 12px;
  color: var(--ink-mid);
  font-weight: 500;
}

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

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

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

.area-chips,
.area-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.area-chip,
.area-pill {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 8px 18px;
  border-radius: 999px;
  white-space: nowrap;
  transition: color 150ms, border-color 150ms;
}
.area-chip:hover, .area-pill:hover {
  color: var(--ink);
  border-color: rgba(244,241,234,0.2);
}

.service-area-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-section,
.faq {
  padding: clamp(80px, 10vh, 140px) 0;
  background: var(--canvas);
  border-top: 1px solid var(--border);
}

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

.faq-header {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
  margin-bottom: 48px;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 48px;
  margin-top: 40px;
}

.faq-list {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
}

details.faq,
.faq-list details,
.faq-grid details {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}

details.faq > summary,
.faq-list details > summary,
.faq-grid details > summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--ink);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
}

details.faq > summary::-webkit-details-marker,
.faq-list details > summary::-webkit-details-marker,
.faq-grid details > summary::-webkit-details-marker { display: none; }

.faq-q { flex: 1; }

.faq-icon,
.faq-chevron {
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0;
  color: var(--muted);
  transition: transform 200ms, color 200ms;
}

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

details.faq > summary::after,
.faq-list details > summary::after,
.faq-grid details > summary::after { display: none; }

details.faq p,
.faq-answer,
.faq-list details p,
.faq-grid details p {
  margin-top: 14px;
  font-size: 15px;
  color: var(--ink-mid);
  line-height: 1.7;
}

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

/* ============================================================
   CONTACT SECTION (index.html)
   ============================================================ */
.contact-section {
  padding: clamp(80px, 10vh, 140px) 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

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

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

.contact-form-title {
  font-size: clamp(32px, 4vw, 52px);
  font-style: italic;
  margin-bottom: 32px;
  color: var(--ink);
}

/* Contact page full layout */
.contact {
  padding: clamp(64px, 8vw, 112px) 0;
  background: var(--canvas);
}

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

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

.contact-form-side h2 {
  font-size: clamp(32px, 4vw, 52px);
  font-style: italic;
  margin-bottom: 32px;
  color: var(--ink);
}

.contact-info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 2px solid var(--primary);
  border-radius: 4px;
  padding: 36px;
}

/* Forms */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.form-field,
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

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

.form-field input,
.form-field textarea,
.form-group input,
.form-group textarea,
.form-group select {
  background: rgba(244,241,234,0.04);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--ink);
  font-family: 'Inter Tight', sans-serif;
  font-size: 15px;
  padding: 12px 14px;
  transition: border-color 150ms;
  appearance: none;
  -webkit-appearance: none;
}

.form-field input:focus,
.form-field textarea:focus,
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
}

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

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

/* Contact info */
.contact-info-block { margin-bottom: 0; }

.contact-phone-big {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(28px, 3.5vw, 40px);
  font-style: italic;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.1;
  margin-top: 6px;
  margin-bottom: 4px;
}
.contact-phone-big a { color: inherit; }
.contact-phone-big a:hover { color: var(--primary); text-decoration: none; }

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

.contact-divider,
.info-divider {
  height: 1px;
  background: var(--border);
  margin: 20px 0;
  border: none;
}

.contact-specialty {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.contact-spec-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-spec-dot {
  width: 4px; height: 4px;
  background: var(--primary);
  border-radius: 50%;
  display: inline-block;
}

/* Info block (contact.html) */
.info-block { margin-bottom: 0; }
.info-block-label {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.info-phone {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(24px, 3vw, 36px);
  font-style: italic;
  font-weight: 600;
  color: var(--ink);
}
.info-phone a { color: inherit; }
.info-email { font-size: 15px; color: var(--ink-mid); }
.info-email a { color: var(--ink-mid); }
.info-text { font-size: 14px; color: var(--ink-mid); line-height: 1.65; }

.trust-guarantee { }
.trust-item {
  font-size: 14px;
  color: var(--ink-mid);
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.trust-item::before {
  content: '';
  display: inline-block;
  width: 5px; height: 5px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

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

/* ============================================================
   ABOUT — STORY
   ============================================================ */
.about-story {
  padding: clamp(80px, 10vh, 140px) 0;
  background: var(--canvas);
}

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

.about-story-portrait-col { grid-column: 1; }

.about-story-portrait-wrap {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
}
.about-story-portrait-wrap img {
  width: 100%;
  height: 520px;
  max-height: none !important;
  object-fit: cover;
  filter: saturate(0.6) contrast(1.1);
}

.about-story-portrait-badge {
  position: absolute;
  bottom: 20px; left: 20px;
  background: var(--surface);
  border: 1px solid var(--border-brand);
  padding: 12px 16px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.badge-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}
.badge-role {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.about-story-content { grid-column: 2; }

.about-headline {
  font-size: clamp(36px, 4.5vw, 64px);
  font-style: italic;
  margin-bottom: 24px;
  color: var(--ink);
}

.about-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about-body p {
  font-size: 16px;
  color: var(--ink-mid);
  line-height: 1.75;
}

.about-divider {
  height: 1px;
  background: var(--border-brand);
  margin: 32px 0 28px;
}

.about-values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.about-value-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-top: 2px solid var(--border-brand);
  border-radius: 4px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  transition: border-top-color 200ms;
}
.about-value-card:hover { border-top-color: var(--primary); }

.val-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.val-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 20px;
  font-style: italic;
  font-weight: 600;
  color: var(--ink);
}

@media (max-width: 900px) {
  .about-story-grid { grid-template-columns: 1fr; }
  .about-story-portrait-col, .about-story-content { grid-column: 1; }
  .about-story-portrait-wrap img { height: 320px; }
  .about-values { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .about-values { grid-template-columns: 1fr; }
}

/* ============================================================
   ABOUT — EDITORIAL
   ============================================================ */
.about-editorial {
  padding: clamp(80px, 10vh, 140px) 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

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

.about-editorial-text { grid-column: 1; }
.about-editorial-photo { grid-column: 2; }

.about-editorial-text h2 {
  font-size: clamp(32px, 4vw, 54px);
  font-style: italic;
  margin-bottom: 24px;
}
.about-editorial-text p {
  font-size: 15px;
  color: var(--ink-mid);
  line-height: 1.75;
  margin-bottom: 16px;
}

.credentials-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.cred-chip {
  display: inline-block;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 999px;
}

.about-editorial-photo img {
  width: 100%;
  height: 520px;
  max-height: none !important;
  object-fit: cover;
  border-radius: 4px;
  filter: saturate(0.65) contrast(1.1);
}

@media (max-width: 900px) {
  .about-editorial-grid { grid-template-columns: 1fr; }
  .about-editorial-text, .about-editorial-photo { grid-column: 1; }
  .about-editorial-photo img { height: 300px; }
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  padding: clamp(80px, 10vh, 120px) 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.cta-banner-inner {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 48px);
  display: flex;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
  justify-content: space-between;
}

.cta-banner-text { flex: 1; }

.cta-banner-title {
  font-size: clamp(36px, 4.5vw, 60px);
  font-style: italic;
  color: var(--ink);
  margin-bottom: 12px;
}

.cta-banner-sub {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.65;
}

.cta-banner-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

.cta-pair {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

@media (max-width: 900px) {
  .cta-banner-inner { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   PAGE HEADER (sub-pages)
   ============================================================ */
.page-header {
  min-height: clamp(280px, 40vh, 480px);
  max-height: 64vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

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

.page-header-inner {
  position: relative; z-index: 2;
  padding: clamp(32px, 5vw, 64px) clamp(24px, 5vw, 80px);
  max-width: 900px;
}

.page-header-title {
  font-size: clamp(48px, 7vw, 96px);
  font-style: italic;
  color: var(--ink);
  margin-bottom: 12px;
  line-height: 0.95;
}

.page-header-sub {
  font-size: 16px;
  color: var(--ink-mid);
  max-width: 52ch;
  line-height: 1.65;
}

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

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

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: clamp(40px, 5vw, 64px);
  border-bottom: 1px solid var(--border);
}

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

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

.footer-tagline {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic;
  font-size: 18px;
  color: var(--ink-mid);
  margin-top: 14px;
  margin-bottom: 8px;
  line-height: 1.4;
}

.footer-desc,
.footer-line {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}

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

.footer-col ul,
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 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(--ink); text-decoration: none; }

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-mid);
  margin-bottom: 10px;
}
.footer-contact-item svg { width: 14px; height: 14px; color: var(--primary); flex-shrink: 0; }
.footer-contact-item a { color: var(--ink-mid); }
.footer-contact-item a:hover { color: var(--ink); text-decoration: none; }
.footer-contact-item span { font-size: 14px; color: var(--ink-mid); }

address { font-style: normal; }
address p, address br+br { font-size: 14px; color: var(--ink-mid); }
address a { color: var(--ink-mid); font-size: 14px; }
address a:hover { color: var(--ink); }

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

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

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

@media (max-width: 1200px) {
  .footer-top,
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .footer-top,
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: 1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   MOBILE STICKY CALL
   ============================================================ */
.mobile-call,
.mobile-sticky-cta,
.mobile-cta {
  position: fixed;
  bottom: 18px; right: 18px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: var(--ink);
  padding: 14px 22px;
  border-radius: 999px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 18px 40px -10px rgba(0,0,0,0.55);
  transition: filter 150ms, transform 150ms;
}
.mobile-call:hover,
.mobile-sticky-cta:hover,
.mobile-cta:hover {
  filter: brightness(0.88);
  transform: translateY(-2px);
  text-decoration: none;
  color: var(--ink);
}
.mobile-call svg,
.mobile-sticky-cta svg,
.mobile-cta a svg {
  width: 18px !important; height: 18px !important;
}
.mobile-cta a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.mobile-cta a:hover { text-decoration: none; color: inherit; }

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

/* ============================================================
   SCROLL PROGRESS
   ============================================================ */
#progress-bar { position: fixed; top: 0; left: 0; width: 0%; height: 2px; background: var(--primary); z-index: 9999; }

/* ============================================================
   BW IMAGE CLASS
   ============================================================ */
.bw { }
img.bw { filter: saturate(0) contrast(1.1); }

/* ============================================================
   MISC / PAGE STRUCTURAL OVERRIDES
   ============================================================ */

/* Ensure .active li in nav doesn't get weird box */
#navLinks li.active a { color: var(--primary); border-bottom: 2px solid var(--primary); }

/* Services section eyebrow + title spacing */
.services-inner .section-eyebrow { margin-bottom: 8px; }
.services-inner .section-title { margin-bottom: 32px; }

/* Gallery section title */
.gallery-preview-header .section-title { margin-bottom: 0; }

/* Service areas + faq in about page */
.about-story + .about-editorial + .service-areas { border-top: 1px solid var(--border); }

/* Trust strip on sub-pages */
div.trust-strip:not(#trust-strip) {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

/* Page header on sub-pages */
.page-header-overlay { pointer-events: none; }

/* Footer address cleanup */
.footer-col address p {
  font-size: 14px;
  color: var(--ink-mid);
  line-height: 1.7;
}

/* Contact form full-width on last row */
.contact-form .form-field:last-of-type,
.contact-form .form-group:last-of-type { grid-column: 1; }

/* ============================================================
   RESPONSIVE FINE-TUNING
   ============================================================ */
@media (max-width: 1200px) {
  .services-inner { max-width: 100%; }
}

@media (max-width: 900px) {
  .hero-inner { padding-bottom: clamp(80px, 14vw, 120px); }
  .hero-ribbon { display: none; }
  .about-values { grid-template-columns: 1fr 1fr; }
  .cta-banner-inner { flex-direction: column; }
  .cta-banner-actions { width: 100%; }
  .btn-primary-lg, .btn-ghost-lg { padding: 14px 22px; font-size: 12px; }
}

@media (max-width: 640px) {
  .hero-ctas { flex-direction: column; align-items: flex-start; }
  .btn-primary, .btn-ghost, .btn-primary-lg, .btn-ghost-lg { width: 100%; justify-content: center; }
  .trust-strip-inner { gap: 8px; }
  .services-tabs { gap: 6px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 8px; }
  .about-values { grid-template-columns: 1fr; }
  .gallery-filters { gap: 6px; }
}


/* === Validator patches (auto-applied) === */
/* validator patch: grid children without placement → span full row */
.form-field { grid-column: 1 / -1; }
.footer-col { grid-column: 1 / -1; }
.form-group { 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; }
