@import url('https://fonts.googleapis.com/css2?family=Archivo+Black&family=Archivo:wght@400;500;600;700&family=Inter+Tight:wght@400;500;600;700&display=swap');

/* ============================================================
   CUSTOM PROPERTIES
   ============================================================ */
:root {
  --primary:       #3E6E21;
  --primary-dark:  #2E5218;
  --primary-pale:  #eaf2e3;
  --accent:        #4C3E33;
  --canvas:        #FFFFFF;
  --surface:       #F7F4ED;
  --ink:           #141414;
  --ink-mid:       #2e2c28;
  --muted:         #6B665C;
  --border:        rgba(62,110,33,0.18);
  --border-light:  rgba(0,0,0,0.08);
  --shadow-lg:     0 18px 48px rgba(0,0,0,0.16);
  --header-height: 72px;
  --section-py:    clamp(96px, 12vh, 180px);
  --cpx:           clamp(20px, 4vw, 56px);
}
@media (max-width: 900px) { :root { --header-height: 60px; } }

/* ============================================================
   SMOOTH SCROLL
   ============================================================ */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 16px); }

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Inter Tight', sans-serif;
  font-size: 16.5px; font-weight: 500; line-height: 1.68;
  color: var(--ink); background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}
strong { font-weight: 700; }

/* ============================================================
   UNIVERSAL IMAGE CAP — MANDATORY VERBATIM
   ============================================================ */
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; }

.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 ANCHORS
   ============================================================ */
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-decoration-thickness: 2px; text-underline-offset: 4px;
}

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

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4 {
  font-family: 'Archivo Black', sans-serif; font-weight: 900;
  line-height: 0.96; letter-spacing: -0.03em;
}
h1 { font-size: clamp(48px, 7vw, 120px); }
h2 { font-size: clamp(36px, 5vw, 72px); }
h3 { font-size: clamp(18px, 2.2vw, 28px); }
p  { line-height: 1.68; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container      { max-width: 1280px; margin: 0 auto; padding: 0 var(--cpx); }
.wide-container { max-width: 1440px; margin: 0 auto; padding: 0 var(--cpx); }

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

/* ============================================================
   SITE HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 900;
  background: var(--canvas); border-bottom: 1px solid rgba(0,0,0,0.08);
}
.top-nav {
  height: var(--header-height); display: flex; align-items: center;
  max-width: 1320px; margin: 0 auto; padding: 0 28px; gap: 32px;
}
.nav-logo { flex: 0 0 auto; display: flex; align-items: center; text-decoration: none; }
.nav-logo img { max-height: 44px; max-width: 200px; }
.nav-logo:hover { text-decoration: none; }

.nav-pages { flex: 1; display: flex; justify-content: center; }
.nav-pages ul { list-style: none; padding: 0; margin: 0; display: flex; align-items: center; gap: 28px; }
.nav-pages a {
  display: inline-block; padding: 6px 0;
  font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: none;
}
.nav-pages a:hover { color: var(--primary); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav-pages a[aria-current="page"] { color: var(--primary); border-bottom: 2px solid var(--primary); }

.nav-cta {
  flex: 0 0 auto; background: var(--primary); color: #fff;
  padding: 10px 20px; font-family: 'Archivo', sans-serif;
  font-weight: 700; font-size: 14px; letter-spacing: 0.04em;
  border-radius: 0; text-decoration: none; white-space: nowrap;
  display: inline-flex; align-items: center; gap: 8px;
  border: none; cursor: pointer; transition: filter 200ms;
}
.nav-cta svg { width: 16px; height: 16px; flex-shrink: 0; }
.nav-cta:hover { filter: brightness(0.92); color: #fff; text-decoration: none; }

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

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-pages {
    display: none; flex-direction: column;
    position: absolute; top: 60px; left: 0; right: 0;
    background: var(--canvas); padding: 24px; gap: 0;
    border-bottom: 1px solid rgba(0,0,0,0.08); z-index: 800;
  }
  .nav-pages.open { display: flex; }
  .nav-pages ul { flex-direction: column; gap: 0; align-items: flex-start; width: 100%; }
  .nav-pages a { font-size: 17px; padding: 12px 0; display: block; width: 100%; }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Archivo Black', sans-serif; font-weight: 900; font-size: 14px;
  padding: 18px 32px; border-radius: 0; border: none; cursor: pointer;
  text-decoration: none; letter-spacing: 0.02em;
  transition: filter 200ms, transform 150ms; line-height: 1; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:hover { transform: translateY(-1px); text-decoration: none; }

.btn-primary  { background: var(--primary); color: #fff; }
.btn-primary:hover { filter: brightness(0.9); color: #fff; }
.btn-accent   { background: var(--accent); color: #fff; }
.btn-accent:hover  { filter: brightness(0.9); color: #fff; }
.btn-green    { background: var(--primary); color: #fff; }
.btn-green:hover   { filter: brightness(0.9); color: #fff; }
.btn-outline  { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; text-decoration: none; }
.btn-phone    { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.45); }
.btn-phone:hover  { background: rgba(255,255,255,0.12); color: #fff; }
.btn-phone svg { width: 18px; height: 18px; }
.btn-full { width: 100%; justify-content: center; }

.btn-submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; background: var(--primary); color: #fff;
  font-family: 'Archivo Black', sans-serif; font-weight: 900; font-size: 14px;
  letter-spacing: 0.02em; padding: 18px 32px; border: none;
  border-radius: 0; cursor: pointer; transition: filter 200ms;
}
.btn-submit:hover { filter: brightness(0.9); }
.btn-submit svg { width: 18px; height: 18px; }

.btn-banner-primary {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--canvas); color: var(--primary);
  font-family: 'Archivo Black', sans-serif; font-weight: 900; font-size: 14px;
  padding: 18px 32px; border-radius: 0; text-decoration: none;
  transition: filter 200ms; letter-spacing: 0.02em;
}
.btn-banner-primary svg { width: 18px; height: 18px; }
.btn-banner-primary:hover { filter: brightness(0.95); text-decoration: none; }

.btn-banner-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.5);
  font-family: 'Archivo Black', sans-serif; font-weight: 900; font-size: 14px;
  padding: 16px 32px; border-radius: 0; text-decoration: none;
  transition: background 200ms; letter-spacing: 0.02em;
}
.btn-banner-secondary svg { width: 18px; height: 18px; }
.btn-banner-secondary:hover { background: rgba(255,255,255,0.12); color: #fff; text-decoration: none; }

.btn-feature {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--primary); color: #fff;
  font-family: 'Archivo Black', sans-serif; font-weight: 900; font-size: 14px;
  padding: 16px 28px; border-radius: 0; text-decoration: none;
  transition: filter 200ms; letter-spacing: 0.02em;
}
.btn-feature svg { width: 18px; height: 18px; }
.btn-feature:hover { filter: brightness(0.9); text-decoration: none; }

/* ============================================================
   ANIMATION UTILITIES
   ============================================================ */
.fade-up    { opacity: 0; transform: translateY(28px); transition: opacity 640ms ease-out, transform 640ms ease-out; }
.fade-left  { opacity: 0; transform: translateX(-28px); transition: opacity 640ms ease-out, transform 640ms ease-out; }
.fade-right { opacity: 0; transform: translateX(28px);  transition: opacity 640ms ease-out, transform 640ms ease-out; }
.scale-in   { opacity: 0; transform: scale(0.94);       transition: opacity 640ms ease-out, transform 640ms ease-out; }
.stagger    { opacity: 0; transform: translateY(20px);   transition: opacity 540ms ease-out, transform 540ms ease-out; }
.fade-up.visible, .fade-left.visible, .fade-right.visible,
.scale-in.visible, .stagger.visible { opacity: 1; transform: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: 96vh; display: flex; flex-direction: column;
  justify-content: flex-end; background: var(--ink);
}
/* hero carries NO background-color — overlay only */
.hero > img:first-of-type, .hero-bg {
  position: absolute !important; inset: 0;
  width: 100% !important; height: 100% !important;
  object-fit: cover; z-index: 0; max-height: none !important;
}
.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(165deg, rgba(20,20,20,0.20) 0%, rgba(62,110,33,0.16) 42%, rgba(20,20,20,0.88) 100%);
}
.hero-ribbon {
  position: absolute; top: 28px; right: 28px; z-index: 4;
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(20,20,20,0.76); backdrop-filter: blur(10px);
  border: 1px solid var(--primary); padding: 9px 18px;
  font-family: 'Archivo', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: #fff;
}
.ribbon-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--primary);
  flex-shrink: 0; animation: pulse-dot 1.8s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.4; transform: scale(0.7); }
}
.hero-inner {
  position: relative; z-index: 2; width: 100%; max-width: 1440px;
  padding: clamp(64px,10vh,120px) clamp(28px,5vw,80px) clamp(72px,11vh,112px);
}
.hero-eyebrow {
  font-family: 'Archivo', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--primary);
  margin-bottom: 18px; display: flex; align-items: center; gap: 12px;
}
.hero-eyebrow::before { content: ''; display: block; width: 28px; height: 2px; background: var(--primary); flex-shrink: 0; }
.hero-title {
  font-family: 'Archivo Black', sans-serif; font-weight: 900;
  font-size: clamp(56px, 8vw, 132px); line-height: 0.96;
  letter-spacing: -0.03em; color: #fff; max-width: 18ch; margin-bottom: 24px;
}
.hero-sub {
  font-size: clamp(16px, 1.5vw, 19px); font-weight: 500;
  color: rgba(255,255,255,0.80); line-height: 1.58; max-width: 50ch; margin-bottom: 36px;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-bottom: 40px; }
.hero-trust-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.trust-chip {
  display: inline-flex; align-items: center;
  border: 1px solid var(--primary); padding: 6px 14px;
  font-family: 'Archivo', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.92); background: rgba(62,110,33,0.14); backdrop-filter: blur(4px);
}
@media (max-width: 640px) {
  .hero-title { font-size: clamp(48px,14vw,80px); }
  .hero-ribbon { top: 12px; right: 12px; padding: 7px 12px; font-size: 10px; }
  .hero-inner { padding-left: 20px; padding-right: 20px; }
}

/* ============================================================
   MARQUEE STRIP
   ============================================================ */
.marquee-strip {
  overflow: hidden; padding: 14px 0; max-height: 64px;
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  background: var(--canvas); position: relative; z-index: 1;
}
.marquee-track {
  display: flex; gap: 48px; white-space: nowrap;
  animation: marquee 35s linear infinite;
}
.marquee-strip:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-item {
  font-family: 'Archivo', sans-serif; font-weight: 700;
  font-size: clamp(13px, 1.4vw, 18px); letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink); line-height: 1.2; display: inline-block;
}
.marquee-item.highlight { color: var(--primary); }
.marquee-sep { color: var(--primary); font-size: 14px; opacity: 0.6; display: inline-block; }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip { background: var(--surface); padding: clamp(32px,5vw,56px) 0; }
.trust-inner {
  max-width: 1320px; margin: 0 auto; padding: 0 var(--cpx);
  display: flex; align-items: center; flex-wrap: wrap;
}
/* about.html variant */
.trust-strip-inner {
  max-width: 1320px; margin: 0 auto;
  padding: clamp(28px,4vw,48px) var(--cpx);
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
}
/* chips inside trust-strip-inner (about.html) */
.trust-strip-inner .trust-chip {
  color: var(--ink); background: transparent;
  border-color: var(--border);
}
.trust-badge { flex: 1 1 180px; padding: 20px 28px; text-align: center; }
.badge-label {
  display: block; font-family: 'Archivo', sans-serif; font-size: 11px;
  font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 6px;
}
.badge-value {
  display: block; font-family: 'Archivo Black', sans-serif; font-weight: 900;
  font-size: clamp(18px,2.2vw,26px); color: var(--ink); line-height: 1.1;
}
.trust-divider { width: 1px; height: 44px; background: var(--border); flex-shrink: 0; }
@media (max-width: 640px) {
  .trust-badge { flex: 1 1 45%; }
  .trust-divider { display: none; }
}

/* ============================================================
   SECTION SHARED
   ============================================================ */
.section-header { margin-bottom: clamp(40px,6vw,72px); }
.section-eyebrow {
  font-family: 'Archivo', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--primary);
  margin-bottom: 14px; display: flex; align-items: center; gap: 10px;
}
.section-eyebrow::before { content: ''; display: block; width: 22px; height: 2px; background: var(--primary); flex-shrink: 0; }
.section-title, .section-heading {
  font-family: 'Archivo Black', sans-serif; font-weight: 900;
  font-size: clamp(36px,5vw,72px); line-height: 0.96; letter-spacing: -0.03em;
  color: var(--ink); margin-bottom: 20px;
}
.section-intro { font-size: clamp(16px,1.4vw,18px); color: var(--muted); line-height: 1.68; max-width: 60ch; }

/* ============================================================
   SERVICES — tabbed panel (index.html)
   ============================================================ */
.services { background: var(--canvas); padding: var(--section-py) 0; }
.services-inner { max-width: 1320px; margin: 0 auto; padding: 0 var(--cpx); }

.services-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 28px; }
.service-tab {
  font-family: 'Archivo', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  padding: 10px 20px; background: transparent; border: 1px solid var(--border-light);
  color: var(--muted); cursor: pointer; border-radius: 0;
  transition: border-color 180ms, color 180ms, background 180ms;
}
.service-tab:hover { border-color: var(--primary); color: var(--primary); }
.service-tab.active { background: var(--primary); border-color: var(--primary); color: #fff; }

.services-panels { position: relative; }
.service-panel { display: none; grid-template-columns: 45% 1fr; min-height: 480px; border: 1px solid var(--border-light); }
.service-panel.active { display: grid; }

.panel-photo { position: relative; overflow: hidden; background: var(--surface); }
.panel-photo > img {
  position: absolute !important; inset: 0;
  width: 100% !important; height: 100% !important;
  object-fit: cover; max-height: none !important;
}

.service-panel-body {
  padding: clamp(32px,4vw,56px); background: var(--surface);
  display: flex; flex-direction: column; justify-content: space-between;
}
.service-panel-body h3 {
  font-family: 'Archivo Black', sans-serif; font-weight: 900;
  font-size: clamp(24px,3vw,40px); letter-spacing: -0.02em;
  color: var(--ink); margin-bottom: 12px;
}
.panel-index {
  display: block; font-family: 'Archivo Black', sans-serif; font-weight: 900;
  font-size: clamp(64px,9vw,112px); line-height: 1;
  color: var(--primary); opacity: 0.12; margin-bottom: 4px;
}
.service-panel-body > p { color: var(--muted); line-height: 1.68; margin: 12px 0 28px; flex: 1; }
.service-panel-body > a { align-self: flex-start; }

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

/* ============================================================
   GALLERY PREVIEW (index.html)
   ============================================================ */
.gallery-preview { background: var(--surface); padding: var(--section-py) 0; }
.gallery-preview-inner { max-width: 1320px; margin: 0 auto; padding: 0 var(--cpx); }
.gallery-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  flex-wrap: wrap; gap: 20px; margin-bottom: clamp(28px,4vw,48px);
}
.gallery-header h2 { font-size: clamp(32px,4.5vw,64px); }
.gallery-feature {
  position: relative; overflow: hidden;
  height: clamp(280px,44vw,580px); background: var(--ink);
}
.gallery-feature > img {
  position: absolute !important; inset: 0;
  width: 100% !important; height: 100% !important;
  object-fit: cover; max-height: none !important;
  transition: transform 600ms ease-out;
}
.gallery-feature:hover > img { transform: scale(1.03); }
.gallery-feature-cta {
  position: absolute; bottom: 24px; right: 24px; z-index: 2;
}

/* ============================================================
   SERVICE AREAS
   ============================================================ */
.service-areas { background: var(--canvas); padding: var(--section-py) 0; }
.areas-section  { background: var(--surface); padding: clamp(80px,10vh,140px) 0; }
.areas-inner    { max-width: 1320px; margin: 0 auto; padding: 0 var(--cpx); }
.areas-heading  { font-family: 'Archivo Black', sans-serif; font-weight: 900; font-size: clamp(32px,4vw,56px); margin-bottom: 32px; }
.areas-grid, .areas-cloud {
  list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px;
}
.area-chip {
  display: inline-flex; align-items: center;
  border: 1px solid var(--border); padding: 7px 16px;
  font-family: 'Archivo', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink);
  background: transparent; transition: border-color 180ms, color 180ms;
}
.area-chip:hover { border-color: var(--primary); color: var(--primary); }

/* ============================================================
   FAQ
   ============================================================ */
.faq { background: var(--surface); padding: var(--section-py) 0; }
.faq-inner { max-width: 1320px; margin: 0 auto; padding: 0 var(--cpx); }
.faq-list { max-width: 800px; }

details.faq-item { border-bottom: 1px solid var(--border-light); padding: 0; }
details.faq-item > summary { display: none; } /* overridden below */

.faq-item { border-bottom: 1px solid var(--border-light); }
.faq-question {
  cursor: pointer; font-weight: 700;
  font-size: clamp(15px,1.4vw,18px);
  list-style: none; display: flex; justify-content: space-between;
  align-items: center; padding: 22px 0; color: var(--ink);
  user-select: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-chevron { flex-shrink: 0; color: var(--primary); transition: transform 220ms; }
.faq-chevron svg { width: 20px; height: 20px; display: block; }
.faq-item[open] .faq-chevron { transform: rotate(180deg); }
.faq-answer { padding: 0 0 20px; }
.faq-answer p { color: var(--muted); line-height: 1.68; }

/* ============================================================
   TEAM CTA
   ============================================================ */
.team-cta { background: var(--accent); padding: clamp(72px,10vh,120px) 0; }
.team-cta-inner {
  max-width: 1320px; margin: 0 auto; padding: 0 var(--cpx);
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.team-cta-text-col .section-eyebrow { color: rgba(255,255,255,0.65); }
.team-cta-text-col .section-eyebrow::before { background: rgba(255,255,255,0.4); }
.team-cta-headline {
  font-family: 'Archivo Black', sans-serif; font-weight: 900;
  font-size: clamp(28px,4vw,56px); line-height: 0.96;
  letter-spacing: -0.03em; color: #fff;
}

/* ============================================================
   CONTACT (index.html)
   ============================================================ */
.contact { background: var(--canvas); padding: var(--section-py) 0; }
.contact-inner {
  max-width: 1320px; margin: 0 auto; padding: 0 var(--cpx);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(40px,6vw,80px); align-items: start;
}
.contact-form-col h2 { font-size: clamp(28px,3.5vw,52px); margin-bottom: 24px; }
.contact-info-col { background: var(--surface); padding: clamp(32px,4vw,48px); }

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

/* ============================================================
   CONTACT SECTION (contact.html)
   ============================================================ */
.contact-section { background: var(--canvas); padding: var(--section-py) 0; }
.contact-form-wrap { }
.contact-form-heading { font-family: 'Archivo Black', sans-serif; font-weight: 900; font-size: clamp(28px,3.5vw,52px); margin-bottom: 12px; }
.contact-section-label {
  font-family: 'Archivo', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--primary);
  margin-bottom: 10px; display: flex; align-items: center; gap: 10px;
}
.contact-section-label::before { content: ''; display: block; width: 22px; height: 2px; background: var(--primary); flex-shrink: 0; }
.contact-form-sub { color: var(--muted); margin-bottom: 32px; }
.contact-info-card { background: var(--surface); padding: clamp(32px,4vw,48px); }
.info-card-label {
  font-family: 'Archivo', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--primary);
  margin-bottom: 8px; display: block;
}
.info-card-phone-label {
  font-family: 'Archivo Black', sans-serif; font-size: clamp(22px,3vw,38px);
  font-weight: 900; color: var(--ink); line-height: 1.1; margin-bottom: 24px; display: block;
}
.info-divider { height: 1px; background: var(--border-light); margin: 24px 0; }
.info-row { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 18px; }
.info-icon { width: 20px; height: 20px; color: var(--primary); flex-shrink: 0; margin-top: 2px; display: block; }
.info-row-content { flex: 1 1 0; }
.info-row-label {
  font-family: 'Archivo', sans-serif; font-size: 10px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px;
}
.info-row-value { font-size: 15px; color: var(--ink); line-height: 1.4; }
.info-areas-label {
  font-family: 'Archivo', sans-serif; font-size: 10px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
  margin-bottom: 12px; display: block;
}
.info-areas-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.info-area-pill {
  font-family: 'Archivo', sans-serif; font-size: 10px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  border: 1px solid var(--border-light); padding: 4px 10px; color: var(--ink);
}

/* info-block (index.html contact col) */
.info-block { margin-bottom: 22px; }
.info-label {
  display: block; font-family: 'Archivo', sans-serif; font-size: 10px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px;
}
.info-value { display: block; font-size: 15px; color: var(--ink); font-weight: 500; }
.info-phone { color: var(--primary); font-weight: 700; }
.info-cta-row { margin-top: 28px; }

/* ============================================================
   FORMS
   ============================================================ */
.form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.form-group label, .form-field label {
  font-family: 'Archivo', sans-serif; font-size: 10px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted);
}
.form-group input, .form-group select, .form-group textarea,
.form-field input, .form-field select, .form-field textarea {
  width: 100%; padding: 13px 15px;
  background: var(--surface); border: 1px solid var(--border-light);
  font-family: 'Inter Tight', sans-serif; font-size: 16px; font-weight: 500;
  color: var(--ink); outline: none; border-radius: 0; appearance: none;
  transition: border-color 200ms;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus,
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--primary);
}
.form-group textarea, .form-field textarea { min-height: 116px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.full-width { grid-column: 1 / -1; }
.form-submit { margin-top: 8px; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 10px; line-height: 1.5; }
.form-note a { color: var(--primary); }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

/* ============================================================
   PAGE HEADER / PAGE HERO (inner pages)
   ============================================================ */
.page-header, .page-hero {
  position: relative; overflow: hidden;
  min-height: clamp(300px,44vw,520px);
  display: flex; flex-direction: column; justify-content: flex-end;
  background: var(--ink);
}
.page-header > img:first-of-type, .page-hero > img:first-of-type {
  position: absolute !important; inset: 0;
  width: 100% !important; height: 100% !important;
  object-fit: cover; z-index: 0; max-height: none !important;
}
.page-header-overlay, .page-hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(to bottom, rgba(20,20,20,0.28), rgba(20,20,20,0.78));
}
.page-header-inner, .page-hero-inner {
  position: relative; z-index: 2;
  padding: clamp(48px,8vw,96px) clamp(28px,5vw,80px);
}
.page-header-title {
  font-family: 'Archivo Black', sans-serif; font-weight: 900;
  font-size: clamp(48px,7vw,96px); line-height: 0.96;
  letter-spacing: -0.03em; color: #fff; margin-bottom: 16px;
}
/* page-hero h1 direct child */
.page-hero-inner h1 {
  font-family: 'Archivo Black', sans-serif; font-weight: 900;
  font-size: clamp(48px,7vw,96px); line-height: 0.96;
  letter-spacing: -0.03em; color: #fff; margin-bottom: 16px;
}
.page-eyebrow, .page-header-eyebrow, .page-hero-eyebrow {
  font-family: 'Archivo', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--primary);
  display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
}
.page-eyebrow::before, .page-header-eyebrow::before, .page-hero-eyebrow::before {
  content: ''; display: block; width: 22px; height: 2px; background: var(--primary); flex-shrink: 0;
}
.page-header-sub, .page-hero-sub {
  font-size: clamp(15px,1.4vw,18px); color: rgba(255,255,255,0.80);
  max-width: 56ch; margin-bottom: 24px;
}
.page-header-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.header-chip {
  border: 1px solid rgba(62,110,33,0.5); padding: 5px 12px;
  font-family: 'Archivo', sans-serif; font-size: 10px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.9);
}
.page-hero-ribbon {
  position: absolute; top: 24px; right: 24px; z-index: 3;
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(20,20,20,0.76); backdrop-filter: blur(10px);
  border: 1px solid var(--primary); padding: 8px 16px;
  font-family: 'Archivo', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase; color: #fff;
}

/* ============================================================
   SERVICES FEATURE BLOCKS (services.html)
   ============================================================ */
.services-feature { background: var(--canvas); }
.services-feature-inner {
  max-width: 1320px; margin: 0 auto;
  padding: var(--section-py) var(--cpx) clamp(48px,6vw,80px);
}
.feature-row {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 540px; border-bottom: 1px solid var(--border-light);
}
/* LAYOUT flip via order — no transform: scaleX */
.feature-row.reverse .feature-photo { order: 2; }
.feature-row.reverse .feature-body   { order: 1; }

.feature-photo { position: relative; overflow: hidden; background: var(--surface); }
.feature-photo > img {
  position: absolute !important; inset: 0;
  width: 100% !important; height: 100% !important;
  object-fit: cover; max-height: none !important;
}
.feature-photo-num {
  position: absolute; top: 22px; left: 22px; z-index: 2;
  font-family: 'Archivo Black', sans-serif; font-weight: 900;
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  background: var(--primary); color: #fff; padding: 4px 10px;
}
.feature-body {
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(40px,5vw,80px); background: var(--canvas);
}
.feature-body h2 { font-size: clamp(28px,3.5vw,52px); margin-bottom: 12px; color: var(--ink); }
.feature-service-eyebrow {
  font-family: 'Archivo', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--primary);
  margin-bottom: 12px; display: flex; align-items: center; gap: 10px;
}
.feature-service-eyebrow::before { content: ''; display: block; width: 22px; height: 2px; background: var(--primary); flex-shrink: 0; }
.feature-desc { color: var(--muted); line-height: 1.68; margin-bottom: 20px; }
.feature-bullets { list-style: none; padding: 0; margin-bottom: 32px; }
.feature-bullets li {
  padding: 9px 0 9px 20px; position: relative;
  border-bottom: 1px solid var(--border-light); color: var(--ink); font-size: 15px;
}
.feature-bullets li::before {
  content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 8px; height: 8px; background: var(--primary);
}
@media (max-width: 900px) {
  .feature-row { grid-template-columns: 1fr; }
  .feature-row.reverse .feature-photo { order: 0; }
  .feature-row.reverse .feature-body   { order: 0; }
  .feature-photo { min-height: 260px; }
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--primary); padding: clamp(80px,12vh,140px) 0;
  position: relative; overflow: hidden;
}
.cta-banner-inner {
  max-width: 1320px; margin: 0 auto; padding: 0 var(--cpx);
  display: flex; align-items: center; justify-content: space-between;
  gap: 48px; flex-wrap: wrap; position: relative; z-index: 2;
}
.cta-banner-text, .cta-banner-left { flex: 1 1 auto; }
.cta-banner-eyebrow {
  font-family: 'Archivo', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.65); margin-bottom: 12px; display: block;
}
.cta-banner-title, .cta-banner-left h2 {
  font-family: 'Archivo Black', sans-serif; font-weight: 900;
  font-size: clamp(32px,5vw,64px); line-height: 0.96;
  letter-spacing: -0.03em; color: #fff;
}
.cta-banner-sub { color: rgba(255,255,255,0.80); margin-top: 12px; }
.cta-banner-phone {
  font-family: 'Archivo Black', sans-serif; font-weight: 900;
  font-size: clamp(18px,2.5vw,32px); color: #fff; display: block; margin-top: 10px;
}
.cta-banner-actions, .cta-banner-right {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.cta-banner-bg-text {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  font-family: 'Archivo Black', sans-serif; font-weight: 900;
  font-size: clamp(80px,15vw,200px); letter-spacing: -0.04em;
  color: rgba(255,255,255,0.05); white-space: nowrap;
  pointer-events: none; user-select: none; z-index: 1;
}
/* CTA form (gallery.html) */
.cta-form { background: rgba(255,255,255,0.12); padding: clamp(24px,3vw,40px); backdrop-filter: blur(8px); }
.cta-form-title {
  font-family: 'Archivo Black', sans-serif; font-weight: 900;
  font-size: 20px; color: #fff; margin-bottom: 18px; letter-spacing: -0.02em;
}
.cta-form .form-field input, .cta-form .form-field select, .cta-form .form-field textarea {
  background: rgba(255,255,255,0.14); border-color: rgba(255,255,255,0.28);
  color: #fff;
}
.cta-form .form-field input::placeholder { color: rgba(255,255,255,0.55); }
.cta-form .form-field input:focus, .cta-form .form-field select:focus, .cta-form .form-field textarea:focus { border-color: rgba(255,255,255,0.7); }
.cta-form button[type="submit"] {
  width: 100%; background: var(--canvas); color: var(--primary);
  font-family: 'Archivo Black', sans-serif; font-weight: 900;
  font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 15px; border: none; cursor: pointer; transition: filter 200ms;
}
.cta-form button[type="submit"]:hover { filter: brightness(0.95); }

/* ============================================================
   GALLERY SECTION (gallery.html)
   ============================================================ */
.gallery-section { background: var(--canvas); padding: var(--section-py) 0; }
.gallery-inner { max-width: 1320px; margin: 0 auto; padding: 0 var(--cpx); }
.gallery-header { margin-bottom: clamp(28px,4vw,48px); }
.gallery-heading-block h2 { font-size: clamp(36px,5vw,72px); }
.gallery-eyebrow {
  font-family: 'Archivo', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--primary);
  margin-bottom: 8px; display: flex; align-items: center; gap: 10px;
}
.gallery-eyebrow::before { content: ''; display: block; width: 22px; height: 2px; background: var(--primary); flex-shrink: 0; }
.gallery-count { font-size: 14px; color: var(--muted); margin-top: 6px; }

.gallery-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 32px; }
.filter-pill {
  font-family: 'Archivo', sans-serif; font-size: 11px; font-weight: 700;
  letter-spacing: 0.16em; text-transform: uppercase;
  border: 1px solid var(--border-light); padding: 8px 16px;
  background: transparent; color: var(--muted); cursor: pointer; border-radius: 0;
  transition: background 200ms, border-color 200ms, color 200ms;
}
.filter-pill:hover, .filter-pill.active { background: var(--primary); border-color: var(--primary); color: #fff; }

.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.gallery-card {
  position: relative; overflow: hidden; background: var(--surface);
  transition: transform 250ms ease-out, box-shadow 250ms ease-out;
}
.gallery-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -16px rgba(0,0,0,0.18); }
.gallery-card.featured { grid-column: span 2; }
.gallery-card.featured-right { grid-column: span 2; }

.gallery-card-img-wrap { position: relative; overflow: hidden; aspect-ratio: 4/3; background: var(--surface); }
.gallery-card-img-wrap > img {
  width: 100% !important; height: 100% !important;
  object-fit: cover; max-height: none !important;
  transition: transform 500ms ease-out;
}
.gallery-card:hover .gallery-card-img-wrap > img { transform: scale(1.04); }
.gallery-card-gradient {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(20,20,20,0.68) 0%, transparent 60%);
  pointer-events: none;
}
.gallery-card-num {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  font-family: 'Archivo', sans-serif; font-size: 10px; font-weight: 700;
  letter-spacing: 0.14em; background: var(--primary); color: #fff; padding: 3px 8px;
}
.gallery-card-category {
  position: absolute; top: 10px; right: 10px; z-index: 2;
  font-family: 'Archivo', sans-serif; font-size: 10px; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  background: rgba(20,20,20,0.72); color: #fff; padding: 3px 8px;
}
.gallery-card-body { padding: 14px 18px; }
.gallery-card-body h3 { font-size: 17px; margin-bottom: 6px; letter-spacing: -0.02em; }
.gallery-card-headline { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.gallery-card-location { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 4px; margin-bottom: 4px; }
.gallery-card-location svg { width: 12px; height: 12px; flex-shrink: 0; }
.gallery-card-desc { font-size: 13px; color: var(--muted); margin: 6px 0; line-height: 1.5; }
.gallery-card-meta { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.gallery-meta-item { font-size: 11px; color: var(--muted); }
.gallery-meta-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted); flex-shrink: 0; }
.gallery-no-results { display: none; text-align: center; padding: 64px 0; font-size: 18px; color: var(--muted); }

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

/* ============================================================
   FOUNDER STORY (about.html)
   ============================================================ */
.founder-story { background: var(--canvas); padding: var(--section-py) 0; }
.founder-story-inner {
  max-width: 1320px; margin: 0 auto; padding: 0 var(--cpx);
  display: grid; grid-template-columns: 1fr 1.5fr;
  gap: clamp(48px,7vw,96px); align-items: start;
}
.founder-portrait-col { position: relative; padding-bottom: 28px; }
.founder-portrait-wrap { position: relative; overflow: hidden; }
.founder-portrait-wrap > img { width: 100%; max-height: 560px; object-fit: cover; display: block; }
.founder-badge {
  position: absolute; bottom: 0; right: -16px; z-index: 2;
  background: var(--primary); padding: 18px 22px; text-align: left;
}
.founder-badge-label {
  font-family: 'Archivo', sans-serif; font-size: 10px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.65);
  display: block; margin-bottom: 4px;
}
.founder-badge-name {
  font-family: 'Archivo Black', sans-serif; font-weight: 900;
  font-size: 18px; color: #fff; display: block;
}
.founder-badge-title { font-size: 13px; color: rgba(255,255,255,0.8); display: block; margin-top: 2px; }
.founder-story-col h2 { font-size: clamp(30px,3.8vw,52px); margin-bottom: 22px; }
.founder-body p { color: var(--muted); line-height: 1.72; margin-bottom: 18px; }
.pull-quote {
  border-left: 3px solid var(--primary); padding: 18px 26px;
  margin: 28px 0; background: var(--surface);
}
.pull-quote p {
  font-family: 'Archivo Black', sans-serif; font-size: clamp(17px,2vw,24px);
  color: var(--ink); line-height: 1.32; letter-spacing: -0.01em;
}
@media (max-width: 900px) {
  .founder-story-inner { grid-template-columns: 1fr; }
  .founder-portrait-wrap > img { max-height: 380px; }
  .founder-badge { right: 0; }
}

/* ============================================================
   VALUES SECTION (about.html)
   ============================================================ */
.values-section { background: var(--surface); padding: var(--section-py) 0; }
.values-inner { max-width: 1320px; margin: 0 auto; padding: 0 var(--cpx); }
.values-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2px; margin-top: 48px;
}
.value-card {
  padding: 32px 26px; background: var(--canvas);
  transition: transform 250ms ease-out, box-shadow 250ms ease-out;
}
.value-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -16px rgba(0,0,0,0.14); }
.value-num {
  display: block; font-family: 'Archivo Black', sans-serif; font-weight: 900;
  font-size: clamp(56px,7vw,88px); line-height: 1;
  color: var(--primary); opacity: 0.13; margin-bottom: 6px;
}
.value-card h3 { font-size: clamp(17px,1.8vw,22px); margin-bottom: 10px; }
.value-title { display: block; }
.value-desc { font-size: 14px; color: var(--muted); line-height: 1.65; }
@media (max-width: 900px) { .values-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .values-grid { grid-template-columns: 1fr; } }

/* ============================================================
   TIMELINE (about.html)
   ============================================================ */
.timeline-section { background: var(--canvas); padding: var(--section-py) 0; }
.timeline-inner { max-width: 1320px; margin: 0 auto; padding: 0 var(--cpx); }
.timeline-track {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; margin-top: 56px; position: relative;
}
.timeline-track::before {
  content: ''; position: absolute; top: 8px; left: 0; right: 0;
  height: 1px; background: var(--border-light); z-index: 0;
}
.timeline-step { padding-right: 24px; position: relative; }
.timeline-dot {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--primary); margin-bottom: 20px; position: relative; z-index: 1;
  box-shadow: 0 0 0 4px rgba(62,110,33,0.15);
}
.timeline-year {
  font-family: 'Archivo Black', sans-serif; font-weight: 900;
  font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 6px;
}
.timeline-step h3 { font-size: clamp(15px,1.7vw,20px); margin-bottom: 6px; }
.timeline-title { font-size: 18px; }
.timeline-desc { font-size: 14px; color: var(--muted); line-height: 1.6; }
@media (max-width: 900px) {
  .timeline-track { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .timeline-track::before { display: none; }
}
@media (max-width: 640px) { .timeline-track { grid-template-columns: 1fr; } }

/* ============================================================
   ABOUT MAGAZINE (about.html)
   ============================================================ */
.about-magazine { background: var(--surface); padding: var(--section-py) 0; }
.about-mag-inner {
  max-width: 1320px; margin: 0 auto; padding: 0 var(--cpx);
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(48px,7vw,96px); align-items: center;
}
.about-mag-photo-col { position: relative; }
.about-mag-photo-wrap { position: relative; overflow: hidden; }
.about-mag-photo-wrap > img { width: 100%; max-height: 560px; object-fit: cover; display: block; }
.about-mag-text h2 { font-size: clamp(28px,3.5vw,52px); margin-bottom: 20px; }
.about-mag-text p { color: var(--muted); line-height: 1.72; margin-bottom: 16px; }
.about-mag-text a { margin-top: 12px; display: inline-flex; }
@media (max-width: 900px) { .about-mag-inner { grid-template-columns: 1fr; } }

/* ============================================================
   CREDENTIALS (about.html)
   ============================================================ */
.credentials-section { background: var(--canvas); padding: var(--section-py) 0; }
.credentials-inner { max-width: 1320px; margin: 0 auto; padding: 0 var(--cpx); }
.credentials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2px; margin-top: 48px;
}
.credential-card {
  padding: 36px 30px; background: var(--surface);
  border-top: 3px solid var(--primary);
  transition: transform 250ms ease-out, box-shadow 250ms ease-out;
}
.credential-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -16px rgba(0,0,0,0.14); }
.credential-label {
  font-family: 'Archivo', sans-serif; font-size: 10px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--primary);
  display: block; margin-bottom: 10px;
}
.credential-value {
  font-family: 'Archivo Black', sans-serif; font-weight: 900;
  font-size: clamp(18px,2.2vw,28px); color: var(--ink);
  display: block; margin-bottom: 10px; font-variant-numeric: tabular-nums;
}
.credential-note { font-size: 14px; color: var(--muted); line-height: 1.5; }
@media (max-width: 640px) { .credentials-grid { grid-template-columns: 1fr; } }

/* ============================================================
   CERT STRIP (contact.html)
   ============================================================ */
.cert-strip { background: var(--surface); padding: clamp(48px,7vh,80px) 0; border-top: 1px solid var(--border-light); }
.cert-strip-inner {
  max-width: 1320px; margin: 0 auto; padding: 0 var(--cpx);
  display: flex; align-items: center; flex-wrap: wrap;
}
.cert-item { flex: 1 1 200px; display: flex; align-items: center; gap: 14px; padding: 20px 28px; }
.cert-icon { flex-shrink: 0; }
.cert-icon svg { width: 30px; height: 30px; color: var(--primary); display: block; }
.cert-text { flex: 1; }
.cert-eyebrow {
  font-family: 'Archivo', sans-serif; font-size: 10px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px;
}
.cert-value {
  font-family: 'Archivo Black', sans-serif; font-weight: 900;
  font-size: 15px; color: var(--ink); line-height: 1.2;
}
.cert-divider { width: 1px; height: 44px; background: var(--border-light); flex-shrink: 0; }
@media (max-width: 640px) {
  .cert-item { flex: 1 1 100%; }
  .cert-divider { display: none; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.65); padding: clamp(64px,10vh,112px) 0 0; }
.footer-inner {
  max-width: 1320px; margin: 0 auto; padding: 0 var(--cpx);
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(28px,4vw,56px); padding-bottom: clamp(48px,7vh,80px);
}
.footer-brand, .footer-brand-col { display: flex; flex-direction: column; gap: 0; }
.footer-brand img, .footer-brand-col img,
.footer-logo img, .footer-logo-link img,
.footer-brand-logo img { max-height: 48px !important; }
.footer-logo-link { display: inline-flex; align-items: flex-start; text-decoration: none; }
.footer-logo-link:hover { text-decoration: none; }
.footer-tagline, .footer-brand-tagline {
  font-size: 14px; color: rgba(255,255,255,0.45); line-height: 1.65;
  margin-top: 14px; max-width: 30ch;
}
.footer-cert, .footer-cert-note { font-size: 12px; color: rgba(255,255,255,0.35); margin-top: 12px; line-height: 1.5; }
.footer-col-title, .footer-col-label {
  font-family: 'Archivo', sans-serif; font-size: 10px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.38); margin-bottom: 18px;
}
.footer-col ul, .footer-links {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 10px;
}
.footer-col ul li a, .footer-links a {
  font-size: 15px; color: rgba(255,255,255,0.65); text-decoration: none; transition: color 150ms;
}
.footer-col ul li a:hover, .footer-links a:hover { color: #fff; text-decoration: none; }
.footer-areas { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.footer-area { font-size: 12px; color: rgba(255,255,255,0.45); border: 1px solid rgba(255,255,255,0.1); padding: 3px 8px; }
.footer-contact-block, .footer-contact-line { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.footer-contact-item { display: flex; align-items: center; gap: 8px; font-size: 14px; color: rgba(255,255,255,0.65); }
.footer-contact-item svg { width: 15px; height: 15px; color: var(--primary); flex-shrink: 0; }
.footer-contact-item a { color: rgba(255,255,255,0.75); text-decoration: none; transition: color 150ms; }
.footer-contact-item a:hover { color: #fff; }
.footer-phone, .footer-email { color: rgba(255,255,255,0.75); text-decoration: none; }
.footer-address, footer address {
  font-style: normal; font-size: 14px;
  color: rgba(255,255,255,0.5); line-height: 1.75; margin-top: 4px;
}
footer address a { color: rgba(255,255,255,0.7); text-decoration: none; }
footer address a:hover { color: #fff; }
.footer-col h4 {
  font-family: 'Archivo', sans-serif; font-size: 10px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.38); margin-bottom: 18px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 20px var(--cpx);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px; max-width: 1320px; margin: 0 auto;
}
.footer-bottom p, .footer-copy, .footer-bottom span { font-size: 13px; color: rgba(255,255,255,0.30); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 13px; color: rgba(255,255,255,0.30); text-decoration: none; transition: color 150ms; }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }
@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand, .footer-brand-col { grid-column: span 2; }
}
@media (max-width: 640px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-brand, .footer-brand-col { grid-column: span 1; }
}

/* ============================================================
   MOBILE CTA PILL
   ============================================================ */
.mobile-cta-pill, .mobile-call-pill, .mobile-sticky-call, .mobile-sticky-cta {
  position: fixed; bottom: 18px; right: 18px; z-index: 999;
  background: var(--primary); color: #fff;
  padding: 14px 22px; border-radius: 999px;
  box-shadow: 0 18px 40px -10px rgba(0,0,0,0.45);
  text-decoration: none;
  font-family: 'Archivo', sans-serif; font-size: 14px; font-weight: 700;
  letter-spacing: 0.06em; display: flex; align-items: center; gap: 8px;
  transition: transform 200ms, box-shadow 200ms;
}
.mobile-cta-pill:hover, .mobile-call-pill:hover,
.mobile-sticky-call:hover, .mobile-sticky-cta:hover {
  transform: translateY(-2px); box-shadow: 0 24px 48px -10px rgba(0,0,0,0.5);
  text-decoration: none; color: #fff;
}
.mobile-cta-pill svg, .mobile-call-pill svg,
.mobile-sticky-call svg, .mobile-sticky-cta svg { width: 20px; height: 20px; flex-shrink: 0; }
/* inner <a> wrapper some variants use */
.mobile-sticky-call > a, .mobile-sticky-cta > a {
  display: flex; align-items: center; gap: 8px; color: #fff; text-decoration: none;
}
.mobile-sticky-call > a > svg, .mobile-sticky-cta > a > svg { width: 20px; height: 20px; }
@media (min-width: 900px) {
  .mobile-cta-pill, .mobile-call-pill,
  .mobile-sticky-call, .mobile-sticky-cta { display: none !important; }
}

/* ============================================================
   SERVICE CARD HOVER SHARED
   ============================================================ */
.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); }

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

/* ============================================================
   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); }
.step-num { font-size: 14px; font-weight: 700; color: var(--primary); margin-bottom: 12px; letter-spacing: 0.12em; }

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

/* ============================================================
   MISC / UTILITY
   ============================================================ */
.highlight { color: var(--primary); }
.reverse { } /* layout-only — no transform */
.page-header-bg, .page-hero-bg {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0; max-height: none !important;
}

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


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