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

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  --primary:        #14843C;
  --primary-dark:   #0e5f2b;
  --accent:         #D4ECA3;
  --canvas:         #FAF8F2;
  --surface:        #F0F5E8;
  --ink:            #14181D;
  --muted:          #4B5563;
  --border:         rgba(20, 132, 60, 0.18);
  --border-strong:  #14843C;
  --header-height:  72px;
}
@media (max-width: 900px) {
  :root { --header-height: 60px; }
}

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

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

body {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 400;
  color: var(--ink);
  background: var(--canvas);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

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

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

/* Anchors inside headings render as the heading */
h1 a, h2 a, h3 a, .hero-title a, .hero-eyebrow a, .hero-sub a {
  color: inherit; text-decoration: none; border-bottom: 0;
}

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

ul { list-style: none; }

/* ============================================================
   LAYOUT CONTAINERS
   ============================================================ */
.container,
.section-inner,
.trust-strip-inner,
.service-areas-inner,
.faq-grid,
.contact-grid,
.our-story-inner,
.credentials-inner,
.footer-inner,
.team-cta-inner,
.contact-cta-inner {
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 64px);
  width: 100%;
}

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

/* ============================================================
   TYPOGRAPHY SCALE
   ============================================================ */
.display-xl {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-style: italic;
  font-size: clamp(72px, 11vw, 148px);
  line-height: 0.92;
  letter-spacing: -0.02em;
}

h1, h2, h3 { font-family: 'Fraunces', serif; font-weight: 700; }
h2 { font-size: clamp(36px, 5vw, 64px); line-height: 1.0; letter-spacing: -0.02em; }
h3 { font-size: clamp(22px, 3vw, 36px); line-height: 1.1; letter-spacing: -0.01em; }

.section-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  font-size: clamp(11px, 1.2vw, 13px);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--primary);
  display: block;
  margin-bottom: 16px;
}

/* ============================================================
   SECTION SPACING + HAIRLINE RULE
   ============================================================ */
section {
  padding-block: clamp(72px, 9vh, 120px);
}

/* Hairline accent rule before every section eyebrow */
.section-eyebrow::before,
.section-header .section-eyebrow::before,
.faq-header .section-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--primary);
  margin-bottom: 12px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn, .btn-primary, .btn-secondary, .btn-phone, .about-feature-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: filter 180ms, transform 180ms, box-shadow 180ms;
  white-space: nowrap;
}

.btn-primary, .btn {
  background: var(--primary);
  color: #fff;
}
.btn-primary:hover, .btn:hover {
  filter: brightness(0.90);
  transform: translateY(-1px);
  color: #fff;
  text-decoration: none;
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 1.5px solid var(--primary);
}
.btn-secondary:hover {
  background: var(--surface);
  color: var(--primary);
  text-decoration: none;
}

.btn-phone {
  background: var(--primary);
  color: #fff;
}
.btn-phone:hover {
  filter: brightness(0.90);
  color: #fff;
  text-decoration: none;
}

.btn-full { width: 100%; justify-content: center; }

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

.chip-accent, .area-chip {
  display: inline-flex;
  align-items: center;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--ink);
  border: none;
  white-space: nowrap;
}

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

.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;
  display: flex;
  align-items: center;
  text-decoration: none;
}

.nav-logo img {
  max-height: 44px !important;
  max-width: 200px !important;
  width: auto !important;
}

/* Fraunces wordmark fallback if no logo img */
.nav-logo span {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--primary);
  letter-spacing: -0.02em;
}

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

.nav-pages ul {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  padding: 0;
  margin: 0;
}

#navLinks {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
  justify-content: center;
}

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

.nav-cta {
  flex: 0 0 auto;
  background: var(--primary);
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: filter 150ms;
}
.nav-cta:hover { filter: brightness(0.92); color: #fff; text-decoration: none; }
.nav-cta .nav-cta-label { display: inline; }

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

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-cta .nav-cta-label { display: none; }
  #navLinks {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: var(--canvas);
    padding: 24px 28px;
    gap: 8px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    z-index: 899;
  }
  #navLinks.open { display: flex; }
  #navLinks li { width: 100%; }
  #navLinks a { font-size: 17px; padding: 10px 0; display: block; width: 100%; }
}

/* ============================================================
   HERO
   ============================================================ */
#hero.hero {
  background: var(--canvas);
  min-height: 92vh;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  overflow: hidden;
}

.hero-supergraphic {
  position: absolute;
  top: -40px;
  right: -80px;
  width: 480px;
  height: 480px;
  z-index: 0;
  pointer-events: none;
}

.hero-rect {
  position: absolute;
  inset: 0;
  width: 480px;
  height: 480px;
  background: var(--accent);
  border-radius: 0;
}

.hero-leaf-svg,
svg.hero-leaf-svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 360px !important;
  height: 360px !important;
  color: var(--primary);
  opacity: 0.4;
}

.hero-inner {
  max-width: 1240px;
  margin-inline: auto;
  padding: clamp(64px, 9vh, 120px) clamp(20px, 5vw, 64px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  position: relative;
  z-index: 2;
}

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

.hero-title {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-style: italic;
  font-size: clamp(72px, 11vw, 148px);
  line-height: 0.92;
  letter-spacing: -0.02em;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 28px;
}

.hero-line-1 {
  display: block;
  margin-left: 0;
}

.hero-line-2 {
  display: block;
  margin-left: clamp(24px, 3vw, 48px);
}

.hero-sub {
  font-size: 22px;
  font-weight: 400;
  line-height: 1.45;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 28px;
}

.hero-trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
  padding: 0;
  list-style: none;
}

.hero-trust-chips .trust-chip {
  background: var(--canvas);
}

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

@media (max-width: 640px) {
  #hero.hero { min-height: auto; padding-bottom: 80px; }
  .hero-supergraphic { width: 280px; height: 280px; right: -40px; top: 0; }
  .hero-rect { width: 280px; height: 280px; }
  .hero-leaf-svg, svg.hero-leaf-svg { width: 200px !important; height: 200px !important; }
  .hero-ctas { flex-direction: column; width: 100%; }
  .hero-ctas .btn, .hero-ctas .btn-primary, .hero-ctas .btn-secondary { width: 100%; justify-content: center; }
}

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust-strip {
  background: var(--canvas);
  padding-block: 28px;
  border-top: 1px solid rgba(20, 132, 60, 0.15);
  border-bottom: 1px solid rgba(20, 132, 60, 0.15);
}

.trust-strip-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  align-items: center;
}

.trust-strip .trust-chip {
  background: var(--canvas);
}

/* ============================================================
   SERVICES — TABBED PANEL
   ============================================================ */
.services {
  background: var(--surface);
}

.services .section-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.section-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.section-intro {
  font-size: 17px;
  color: var(--muted);
  margin-top: 8px;
  max-width: 560px;
}

.services-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0;
}

.service-tab {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  padding: 10px 16px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  cursor: pointer;
  transition: color 150ms, border-color 150ms;
  margin-bottom: -1px;
  white-space: nowrap;
}

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

.service-tab.active {
  color: var(--ink);
  border-bottom-color: var(--primary);
}

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

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

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

.service-panel-photo-wrap {
  position: relative;
  background: var(--accent);
  overflow: hidden;
  min-height: 380px;
}

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

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

.service-panel-title {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: clamp(26px, 3vw, 36px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--ink);
}

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

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

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

/* ============================================================
   SERVICE AREAS
   ============================================================ */
.service-areas {
  background: var(--canvas);
}

.service-areas-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.service-areas-heading,
.service-areas h2 {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: clamp(32px, 4vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.service-areas-chips,
.area-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-areas-note {
  font-size: 15px;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.6;
}

/* ============================================================
   FAQ
   ============================================================ */
.faq {
  background: var(--canvas);
  position: relative;
  overflow: hidden;
}

.faq-supergraphic {
  position: absolute;
  top: -40px;
  right: -20px;
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 320px;
  line-height: 1;
  color: var(--accent);
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

.faq .section-inner {
  position: relative;
  z-index: 1;
}

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

.faq-title {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: clamp(36px, 5vw, 56px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin-top: 8px;
}

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

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

.faq-question {
  cursor: pointer;
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 600;
  font-size: 17px;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  line-height: 1.4;
}

.faq-question::-webkit-details-marker { display: none; }

.faq-chevron {
  flex: 0 0 auto;
  width: 20px !important;
  height: 20px !important;
  color: var(--primary);
  transition: transform 200ms;
}

.faq-item[open] .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  padding-right: 32px;
}

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

/* ============================================================
   TEAM CTA
   ============================================================ */
.team-cta {
  background: var(--surface);
  padding-block: clamp(56px, 7vh, 88px);
}

.team-cta-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.team-cta-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.team-cta-headline {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 560px;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  background: var(--surface);
}

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

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

.contact-title {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

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

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

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

.form-field input,
.form-field textarea {
  font-family: 'IBM Plex Sans', sans-serif;
  font-size: 16px;
  color: var(--ink);
  background: var(--canvas);
  border: 1px solid rgba(20,132,60,0.25);
  border-radius: 6px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 150ms;
  width: 100%;
}

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

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

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

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.contact-icon {
  width: 20px !important;
  height: 20px !important;
  color: var(--primary);
  flex: 0 0 20px;
  margin-top: 2px;
}

.contact-phone-link {
  font-family: 'Fraunces', serif;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.contact-phone-link:hover { color: var(--primary); text-decoration: none; }

.contact-email {
  font-size: 16px;
  color: var(--muted);
}

.contact-hours {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact-hours-label {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--primary);
}

.hours-table {
  border-collapse: collapse;
  width: 100%;
}

.hours-table td {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: var(--muted);
  padding: 5px 0;
  vertical-align: top;
}

.hours-table td:first-child {
  font-weight: 500;
  width: 50%;
  color: var(--ink);
}

.contact-guarantee {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 8px;
}

.guarantee-note {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
}

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

/* ============================================================
   ABOUT FEATURE (about.html hero)
   ============================================================ */
#about-feature.about-feature {
  background: var(--canvas);
  min-height: 72vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding-block: clamp(64px, 9vh, 112px);
}

.about-feature-supergraphic {
  position: absolute;
  top: -40px;
  right: -80px;
  width: 420px;
  height: 420px;
  background: var(--accent);
  z-index: 0;
  pointer-events: none;
}

svg.about-feature-leaf {
  position: absolute;
  top: 50%;
  right: 40px;
  transform: translateY(-50%);
  width: 300px !important;
  height: 300px !important;
  color: var(--primary);
  opacity: 0.35;
  z-index: 1;
  pointer-events: none;
}

.about-feature-inner {
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 64px);
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

.about-feature-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--primary);
}

.about-feature-h1 {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-style: italic;
  font-size: clamp(52px, 8vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 16ch;
}

.about-feature-h1 .line2 {
  display: block;
  margin-left: clamp(24px, 3vw, 48px);
}

.about-feature-sub {
  font-size: 19px;
  color: var(--muted);
  max-width: 520px;
  line-height: 1.55;
}

.about-feature-cta {
  background: var(--primary);
  color: #fff;
  padding: 14px 28px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: filter 180ms;
}
.about-feature-cta:hover { filter: brightness(0.90); color: #fff; text-decoration: none; }

.about-feature-cta svg {
  width: 16px !important;
  height: 16px !important;
}

/* ============================================================
   OUR STORY
   ============================================================ */
#our-story.our-story {
  background: var(--canvas);
}

.our-story-inner {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.our-story-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.our-story-heading,
.our-story-left h2 {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  margin-left: 24px;
}

.our-story-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.our-story-body p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--muted);
}

.our-story-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.our-story-photo-col {
  background: var(--accent);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.our-story-photo-col img {
  width: 100%;
  object-fit: cover;
  flex: 1;
  max-height: none;
}

.our-story-photo-pull {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 700;
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.1;
  color: var(--ink);
  padding: 40px;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  letter-spacing: -0.01em;
}

@media (max-width: 900px) {
  .our-story-inner { grid-template-columns: 1fr; }
  .our-story-photo-col { min-height: 320px; }
}

/* ============================================================
   CREDENTIALS
   ============================================================ */
#credentials.credentials {
  background: var(--surface);
}

.credentials-inner {
  display: grid;
  grid-template-columns: 45% 55%;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.credentials-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.credentials-heading {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-left: 24px;
}

.credentials-sub {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.65;
}

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

.cred-card {
  background: var(--canvas);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow 250ms;
}
.cred-card:hover { box-shadow: 0 8px 24px -8px rgba(20,132,60,0.15); }

.cred-card-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}

.cred-card-name {
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  line-height: 1.3;
  display: block;
}

.cred-card-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  display: block;
}

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

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

/* ============================================================
   CONTACT CTA (about.html)
   ============================================================ */
#contact-cta.contact-cta {
  background: var(--primary);
  padding-block: clamp(64px, 8vh, 96px);
}

.contact-cta-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

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

.contact-cta-phone {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: clamp(28px, 4vw, 48px);
  color: #fff;
  line-height: 1.0;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.contact-cta-phone:hover { color: var(--accent); text-decoration: none; }

.contact-cta-sub {
  font-size: 18px;
  color: rgba(255,255,255,0.80);
  line-height: 1.5;
  max-width: 400px;
}

.contact-cta-inner .btn-primary {
  background: #fff;
  color: var(--primary);
}
.contact-cta-inner .btn-primary:hover { filter: brightness(0.95); color: var(--primary); }

.contact-cta-inner .btn-secondary {
  border-color: rgba(255,255,255,0.5);
  color: #fff;
}
.contact-cta-inner .btn-secondary:hover { background: rgba(255,255,255,0.12); color: #fff; }

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

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.75);
  padding-block: clamp(56px, 7vh, 80px);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 64px);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-logo-link {
  text-decoration: none;
}

.footer-wordmark {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-style: italic;
  font-size: 32px;
  color: var(--accent);
  line-height: 1.0;
  letter-spacing: -0.02em;
}

.footer-tagline {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  line-height: 1.4;
}

.footer-contact-line {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

.footer-contact-line a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  transition: color 150ms;
}
.footer-contact-line a:hover { color: var(--accent); text-decoration: none; }

.footer-cert {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.40);
  display: flex;
  align-items: center;
  gap: 6px;
}

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

.footer-socials {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.60);
  text-decoration: none;
  transition: background 150ms, color 150ms;
}
.footer-social:hover { background: var(--primary); color: #fff; text-decoration: none; }
.footer-social svg { width: 16px !important; height: 16px !important; }

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-col-heading {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.40);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  padding: 0;
}

.footer-links li { line-height: 1.4; }

.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 150ms;
}
.footer-links a:hover { color: var(--accent); text-decoration: none; }

.footer-links li span {
  font-size: 13px;
  color: rgba(255,255,255,0.50);
  display: block;
  line-height: 1.4;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
}

.footer-bottom {
  max-width: 1240px;
  margin-inline: auto;
  padding: 24px clamp(20px, 5vw, 64px) 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

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

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

@media (max-width: 640px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
}

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

/* ============================================================
   FAQ ACCORDION (details/summary base — shared pattern)
   ============================================================ */
details.faq {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}
details.faq > summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
details.faq > summary::-webkit-details-marker { display: none; }
details.faq > summary::after {
  content: "+";
  font-weight: 300;
  transition: transform 200ms;
  color: var(--primary);
  font-size: 22px;
  flex-shrink: 0;
}
details.faq[open] > summary::after { transform: rotate(45deg); }
details.faq p { margin-top: 12px; line-height: 1.6; }

/* ============================================================
   STAT COUNTERS (utility — in case used)
   ============================================================ */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px;
  padding: 80px 0;
  text-align: center;
}

.stat-num {
  font-family: 'Fraunces', serif;
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 700;
  line-height: 1;
  color: var(--primary);
}

.stat-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: clamp(11px, 1vw, 14px);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-top: 8px;
}

/* ============================================================
   PROCESS (utility)
   ============================================================ */
.process {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.process-step {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 6px;
}

.step-num {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ============================================================
   REVIEW CARDS (utility)
   ============================================================ */
.review-card {
  padding: 28px;
  border-radius: 12px;
  background: var(--surface);
}

.review-stars svg { color: var(--primary); width: 18px; height: 18px; }
.review-quote { font-size: 17px; line-height: 1.55; margin: 14px 0; }
.review-attribution { font-size: 13px; color: var(--muted); opacity: 0.75; }

/* ============================================================
   MARQUEE (utility — if used)
   ============================================================ */
.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;
}

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

.marquee-item {
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: clamp(13px, 1.4vw, 18px);
  line-height: 1.2;
}

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

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

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

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

.stagger > * { opacity: 0; transform: translateY(20px); transition: opacity 0.45s ease, transform 0.45s ease; }
.stagger.visible > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0s; }
.stagger.visible > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 0.08s; }
.stagger.visible > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 0.16s; }
.stagger.visible > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 0.24s; }
.stagger.visible > *:nth-child(5) { opacity: 1; transform: none; transition-delay: 0.32s; }
.stagger.visible > *:nth-child(6) { opacity: 1; transform: none; transition-delay: 0.40s; }

/* ============================================================
   MOBILE CALL PILL
   ============================================================ */
.mobile-call-pill {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 999;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: 'IBM Plex Sans', sans-serif;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 18px 40px -10px rgba(0,0,0,0.45);
  transition: filter 150ms, transform 150ms;
}
.mobile-call-pill svg { width: 18px !important; height: 18px !important; }
.mobile-call-pill:hover { filter: brightness(0.90); transform: translateY(-2px); color: #fff; text-decoration: none; }

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

/* ============================================================
   TABLE CELL CONTRAST GUARD
   ============================================================ */
.services-table thead .col-service,
.services-table thead .col-desc,
.services-table thead .col-timeline,
.services-table thead .col-price {
  background: var(--primary);
  color: #fff;
}

/* ============================================================
   MISC HELPERS
   ============================================================ */
.bleed { width: 100vw; position: relative; left: 50%; right: 50%; margin-left: -50vw; margin-right: -50vw; }

/* Ensure no mirror transforms on content */
.flip { order: -1; }

/* ============================================================
   SECTION TITLE STAIRCASE OFFSET — brand rhythm
   ============================================================ */
.section-title,
.faq-title,
.service-areas-heading,
.service-areas h2,
.our-story-heading,
.our-story-left h2,
.credentials-heading,
.contact-title,
.team-cta-headline,
.contact-cta-phone {
  margin-left: 24px;
}

/* Eyebrows stay flush-left, headings are offset — rhythm */
.section-header .section-eyebrow,
.faq-header .section-eyebrow,
.contact-form-col .section-eyebrow,
.contact-info-col .section-eyebrow,
.team-cta-text .section-eyebrow,
.our-story-left .section-eyebrow,
.credentials-left .section-eyebrow,
.about-feature-eyebrow,
.service-areas .section-eyebrow,
.service-areas-inner .section-eyebrow {
  margin-left: 0;
}

/* ============================================================
   RESPONSIVE — SERVICES TABS
   ============================================================ */
@media (max-width: 640px) {
  .services-tabs {
    gap: 6px;
  }
  .service-tab {
    font-size: 10px;
    padding: 8px 12px;
  }
  .service-panel.active {
    grid-template-columns: 1fr;
  }
  .service-panel-photo-wrap {
    min-height: 200px;
  }
}

/* ============================================================
   RESPONSIVE — TRUST STRIP
   ============================================================ */
@media (max-width: 640px) {
  .trust-strip-inner {
    justify-content: flex-start;
  }
}

/* ============================================================
   RESPONSIVE — CONTACT
   ============================================================ */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .team-cta-inner { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   RESPONSIVE — FAQ SUPERGRAPHIC
   ============================================================ */
@media (max-width: 640px) {
  .faq-supergraphic { font-size: 160px; right: -10px; }
}


/* === Validator patches (auto-applied) === */
/* validator patch: grid children without placement → span full row */
.hero-supergraphic { grid-column: 1 / -1; }
.hero-inner { grid-column: 1 / -1; }
.faq-item { grid-column: 1 / -1; }
.contact-form-col { grid-column: 1 / -1; }
.contact-info-col { grid-column: 1 / -1; }
.footer-links-col { grid-column: 1 / -1; }
.our-story-left { grid-column: 1 / -1; }
.cred-card { grid-column: 1 / -1; }
.footer-top { grid-column: 1 / -1; }
.footer-bottom { grid-column: 1 / -1; }
