/* ===== JD Build — Premium Remodeling ===== */

/* ===== Self-hosted fonts (variable woff2, see design.md §2) ===== */
@font-face {
  font-family: 'Domine';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/domine-var.woff2') format('woff2');
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/inter-var.woff2') format('woff2');
}

@font-face {
  font-family: 'Source Serif 4';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('fonts/source-serif-4-var.woff2') format('woff2');
}

:root {
  /* ===== Heritage Craftsman palette ===== */
  --color-forest:    #2D5A27;
  --color-walnut:    #43302B;
  --color-terracotta:#B06D50;
  --color-terracotta-light:#D69478; /* terracotta accents on dark backgrounds */
  --color-terracotta-pale:#EFC3AE;  /* tonal extension: small terracotta text on forest/walnut (AA) */
  --color-cream:     #FBF9F4;
  --color-slate:     #4A5568;

  /* Backward-compatible aliases (existing references keep working) */
  --color-primary:       var(--color-forest);
  --color-primary-dark:  #214219;
  --color-primary-light: rgba(45, 90, 39, 0.10); /* icon chip tint */
  --color-accent:        var(--color-terracotta); /* was gold */
  --color-accent-dark:   #94583E;                 /* darker terracotta, AA on cream */
  --color-accent-light:  rgba(176, 109, 80, 0.10);
  --color-warm:          var(--color-terracotta);

  /* Neutrals - warm cream/walnut scale */
  --color-white:    #ffffff;              /* text-on-dark only */
  --color-surface:  var(--color-cream);
  --color-gray-50:  #FBF9F4;             /* cream */
  --color-gray-100: #F2EDE4;
  --color-gray-200: #E4DCD0;
  --color-gray-400: #9A8F84;             /* was undefined */
  --color-gray-500: #6B6259;             /* was undefined */
  --color-gray-600: var(--color-slate);
  --color-gray-700: #3A3530;
  --color-gray-800: #2E2823;
  --color-gray-900: var(--color-walnut);

  /* Typography */
  --font-display: 'Domine', Georgia, serif;          /* display headlines */
  --font-subhead: 'Source Serif 4', Georgia, serif;  /* section titles, leads */
  --font-heading: var(--font-display);               /* alias: existing h1-h4 */
  --font-body:    'Inter', system-ui, sans-serif;

  /* v2 fluid type scale (design.md §2) */
  --text-display: clamp(2.5rem, 5.5vw, 4.25rem);
  --text-h2:      clamp(1.875rem, 3vw, 2.75rem);
  --text-lead:    clamp(1.125rem, 1.6vw, 1.375rem);
  --text-eyebrow: 0.8125rem;

  /* Spacing - section spacing nudged into 64-80px band */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4.5rem;
  --space-4xl: 7rem;

  /* Sizing */
  --container-max: 1200px;
  --header-height: 100px;
  --logo-height: 85px;

  /* Effects - warm-tinted shadows read better on cream */
  --shadow-sm: 0 1px 2px rgba(67, 48, 43, 0.06);
  --shadow-md: 0 4px 10px rgba(67, 48, 43, 0.10);
  --shadow-lg: 0 12px 28px rgba(67, 48, 43, 0.16);
  --radius-sm: 2px;
  --radius-md: 3px;
  --radius-lg: 4px;
  --transition-fast: 0.18s ease-out;
  --transition-base: 0.24s ease-out;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--color-gray-700);
  background: var(--color-cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--color-gray-900);
  line-height: 1.2;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: var(--color-white);
  z-index: 999;
  transition: box-shadow var(--transition-base), height var(--transition-base);
  border-bottom: 1px solid var(--color-gray-200);
}

.header.scrolled {
  height: 72px;
  box-shadow: var(--shadow-md);
  border-bottom-color: transparent;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
}

.logo {
  height: var(--logo-height);
  width: auto;
  transition: transform var(--transition-base), height var(--transition-base);
}

.header.scrolled .logo {
  height: 58px;
}

.logo:hover {
  transform: scale(1.03);
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-gray-700);
  position: relative;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width var(--transition-base);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
}

.nav-link.active::after {
  width: 100%;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 600;
  color: var(--color-primary);
  font-size: 0.95rem;
}

.header-phone svg {
  color: var(--color-accent);
}

.header-phone:hover {
  color: var(--color-accent-dark);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-gray-700);
  padding: var(--space-sm);
}

/* ===== Mobile Menu ===== */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  z-index: 1000;
}

.mobile-menu-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: var(--color-white);
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1001;
  padding: var(--space-2xl) var(--space-xl);
  display: flex;
  flex-direction: column;
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu-close {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-gray-700);
  padding: var(--space-sm);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  margin-top: var(--space-2xl);
}

.mobile-nav-link {
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-gray-700);
  padding: var(--space-sm) 0;
  border-bottom: 1px solid var(--color-gray-100);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--color-primary);
}

.mobile-menu-phone {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-top: auto;
  font-weight: 600;
  color: var(--color-primary);
  font-size: 1.1rem;
}

.mobile-menu-phone svg {
  color: var(--color-accent);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: background var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translateY(0) scale(0.98);
  box-shadow: var(--shadow-sm);
}

.btn-primary {
  background: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

.btn-outline:hover {
  background: var(--color-white);
  color: var(--color-primary);
}

.btn-outline-dark {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}

.btn-outline-dark:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

/* ===== Accessibility: skip link + focus rings ===== */
.skip-link {
  position: absolute;
  top: -100px;
  left: var(--space-md);
  z-index: 1100;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: var(--shadow-lg);
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: var(--space-md);
}

:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

/* Hero text fades out as the next section scrolls up over the pinned hero. */
.hero-content {
  transition: opacity 0.15s linear;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-size: cover;
  background-position: center;
  padding-top: var(--header-height);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(67, 48, 43, 0.72) 0%,
    rgba(67, 48, 43, 0.55) 45%,
    rgba(45, 90, 39, 0.78) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: var(--space-xl);
}

.hero h1 {
  font-size: var(--text-display);
  color: var(--color-white);
  margin-bottom: var(--space-lg);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.hero h1 span {
  color: var(--color-terracotta-light);
}

.hero p {
  font-family: var(--font-subhead); /* editorial lead voice, same as .hero-lead (design.md §2) */
  font-size: var(--text-lead);
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: var(--space-2xl);
  line-height: 1.55;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Page Headers (Interior) ===== */
.page-header {
  background: var(--color-primary);
  padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-3xl);
  text-align: center;
}

.page-header h1 {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  color: var(--color-white);
  margin-bottom: var(--space-sm);
}

.page-header p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
}

/* ===== Sections ===== */
.section {
  padding: clamp(4.5rem, 7vw, 7rem) 0;
}

.section-dark {
  background: #F4EFE6;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-title h2 {
  font-family: var(--font-subhead);
  font-size: var(--text-h2);
  margin-bottom: var(--space-md);
}

.section-title p {
  color: var(--color-gray-600);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

.section-title .accent-line {
  display: block;
  width: 60px;
  height: 3px;
  background: var(--color-accent);
  margin: var(--space-md) auto 0;
}

/* ===== Service Cards ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.service-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: var(--space-2xl);
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(176, 109, 80, 0.18);
  transition: transform var(--transition-base), border-color var(--transition-base);
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-card .icon {
  width: 56px;
  height: 56px;
  background: var(--color-primary-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  color: var(--color-primary);
  transition: transform var(--transition-base);
}

.service-card:hover .icon {
  transform: translateY(-3px);
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: var(--space-sm);
}

.service-card p {
  color: var(--color-gray-600);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ===== Service Detail (alternating image/text) ===== */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
  padding: var(--space-3xl) 0;
  border-bottom: 1px solid var(--color-gray-100);
}

.service-detail:last-child {
  border-bottom: none;
}

.service-detail.reverse {
  direction: rtl;
}

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

.service-detail-img {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.service-detail-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.service-detail-content h3 {
  font-size: 1.75rem;
  margin-bottom: var(--space-md);
}

.service-detail-content p {
  color: var(--color-gray-600);
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

.service-detail-content ul {
  list-style: none;
  padding: 0;
}

.service-detail-content ul li {
  padding: var(--space-xs) 0;
  color: var(--color-gray-600);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.service-detail-content ul li svg {
  color: var(--color-primary);
  min-width: 18px;
}

/* ===== Gallery Intro ===== */
.gallery-intro {
  max-width: 780px;
  margin: 0 auto var(--space-3xl);
  text-align: center;
}

.gallery-intro .accent-line {
  display: block;
  width: 60px;
  height: 3px;
  background: var(--color-accent);
  margin: 0 auto var(--space-2xl);
}

.gallery-intro p {
  color: var(--color-gray-600);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: var(--space-lg);
}

.gallery-intro p:last-child {
  margin-bottom: 0;
}

/* ===== Featured Work / Gallery ===== */
.gallery-grid {
  columns: 3;
  column-gap: var(--space-md);
}

/* v3: keyboard-operable captioned figures — <figure class="gallery-item"><button class="gallery-zoom"><img></button><figcaption> */
.gallery-item {
  break-inside: avoid;
  margin-bottom: var(--space-md);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid var(--color-gray-100);
}

.gallery-zoom {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.gallery-zoom img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-base);
}

.gallery-zoom::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(67, 48, 43, 0.35);
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
}

.gallery-zoom:hover::after,
.gallery-zoom:focus-visible::after {
  opacity: 1;
}

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

.gallery-item figcaption {
  font-size: 0.85rem;
  color: var(--color-gray-500);
  padding: var(--space-sm) var(--space-md);
}

/* ===== Testimonials ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.testimonial-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(176, 109, 80, 0.18);
  transition: transform var(--transition-base), border-color var(--transition-base);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.testimonial-stars {
  color: var(--color-accent);
  margin-bottom: var(--space-md);
  display: flex;
  gap: 2px;
}

.testimonial-card blockquote {
  font-style: italic;
  color: var(--color-gray-600);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.testimonial-card cite {
  font-style: normal;
  font-weight: 600;
  color: var(--color-gray-800);
  font-size: 0.9rem;
}

/* ===== About Grid ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.about-grid.reverse {
  direction: rtl;
}

.about-grid.reverse > * {
  direction: ltr;
}

.about-img {
  border-radius: var(--radius-md);
  overflow: hidden;
}

.about-img img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

.about-content h2 {
  font-size: 2rem;
  margin-bottom: var(--space-lg);
}

.about-content p {
  color: var(--color-gray-600);
  margin-bottom: var(--space-md);
  line-height: 1.7;
}

/* ===== Value Props ===== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.value-card {
  text-align: center;
  padding: var(--space-2xl);
}

.value-card .icon {
  width: 56px;
  height: 56px;
  background: var(--color-primary-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  color: var(--color-primary);
}

.value-card h3 {
  font-size: 1.15rem;
  margin-bottom: var(--space-sm);
}

.value-card p {
  color: var(--color-gray-600);
  font-size: 0.95rem;
}

/* ===== Section CTA (centered button below grids) ===== */
.section-cta {
  text-align: center;
  margin-top: var(--space-2xl);
}

/* ===== Hero accent span ===== */
.hero h1 .accent {
  color: var(--color-terracotta-light);
}

/* ===== CTA Section ===== */
.cta-section {
  background: var(--color-primary);
  padding: var(--space-3xl) 0;
  text-align: center;
}

.cta-section h2 {
  font-size: 2.25rem;
  color: var(--color-white);
  margin-bottom: var(--space-md);
}

.cta-section p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  margin-bottom: var(--space-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-phone {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-terracotta-light);
  margin-bottom: var(--space-xl);
  font-family: var(--font-heading);
}

.cta-phone a {
  transition: color var(--transition-fast);
}

.cta-phone a:hover {
  color: var(--color-white);
}

.cta-phone svg {
  color: var(--color-terracotta-light);
}

.cta-buttons {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== Mission Statement ===== */
.mission {
  background: var(--color-primary);
  padding: var(--space-3xl) 0;
  text-align: center;
}

.mission .container {
  max-width: 860px;
}

.mission .mission-label {
  display: block;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-terracotta-pale); /* AA on textured forest */
  margin-bottom: var(--space-lg);
}

.mission blockquote {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  line-height: 1.4;
  color: var(--color-white);
  font-weight: 600;
}

.mission .accent-line {
  display: block;
  width: 60px;
  height: 3px;
  background: var(--color-accent);
  margin: var(--space-xl) auto 0;
}

/* Light variant — for placement next to the green page header */
.mission-light {
  background: var(--color-gray-50);
}

.mission-light blockquote {
  color: var(--color-gray-900);
}

.mission-light .mission-label {
  color: var(--color-accent-dark);
}

.mission-light .accent-line {
  background: var(--color-accent);
}

@media (max-width: 768px) {
  .mission blockquote {
    font-size: 1.45rem;
  }
}

/* ===== Contact Form ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.form-group label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-gray-700);
}

.form-group .req {
  color: var(--color-accent-dark); /* AA on cream */
}

.form-group .form-optional {
  font-weight: 400;
  color: var(--color-gray-500);
}

.form-input {
  padding: 0.85rem var(--space-md);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-gray-800);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(45, 90, 39, 0.15);
  outline: none;
}

textarea.form-input {
  min-height: 140px;
  resize: vertical;
}

.contact-info-section {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

/* ===== "What happens next" rail (contact + thank-you) ===== */
.next-steps {
  background: var(--color-white);
  border: 1px solid rgba(67, 48, 43, 0.14);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
}

.next-steps h3 {
  font-size: 1.05rem;
  margin-bottom: var(--space-md);
}

.next-steps ol {
  list-style: none;
  counter-reset: next-step;
}

.next-steps li {
  counter-increment: next-step;
  position: relative;
  padding: var(--space-xs) 0 var(--space-xs) 2.4rem;
  color: var(--color-gray-600);
  font-size: 0.95rem;
  line-height: 1.6;
}

.next-steps li::before {
  content: counter(next-step);
  position: absolute;
  left: 0;
  top: 0.3rem;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-accent-dark);
}

.next-steps .next-steps-note {
  margin-top: var(--space-md);
  padding-top: var(--space-md);
  border-top: 1px solid var(--color-gray-100);
  font-size: 0.9rem;
  color: var(--color-gray-700);
}

/* --- Contact Cards --- */
.contact-card {
  background: var(--color-gray-50, #f9fafb);
  border: 1px solid var(--color-gray-200, #e5e7eb);
  border-radius: var(--radius-md, 0.5rem);
  padding: var(--space-lg) var(--space-xl);
}

.contact-card-cta {
  text-align: center;
  background: var(--color-primary);
  border-color: var(--color-primary);
  padding: var(--space-xl);
}

.contact-card-cta .contact-card-label {
  color: rgba(255, 255, 255, 0.8);
}

.contact-card-cta .contact-card-value {
  font-size: 1.5rem;
}

.contact-card-cta .contact-card-value a {
  color: var(--color-terracotta-light);
  font-weight: 700;
}

.contact-card-cta .contact-card-value a:hover {
  color: #E3AC92;
}

.contact-card-cta .contact-card-sub {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
}

.contact-card-icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-terracotta-light);
  margin-bottom: var(--space-sm);
}

.contact-card-row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
}

.contact-card-row svg {
  color: var(--color-primary);
  min-width: 20px;
  margin-top: 2px;
}

.contact-card-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  color: var(--color-gray-500, #6b7280);
  margin-bottom: 0.15rem;
}

.contact-card-value {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--color-gray-800);
  line-height: 1.4;
}

.contact-card-value a {
  color: var(--color-primary);
  font-weight: 600;
}

.contact-card-value a:hover {
  color: var(--color-accent-dark);
}

.contact-card-sub {
  font-size: 0.85rem;
  color: var(--color-gray-500, #6b7280);
  margin-top: 0.15rem;
}

.contact-card-divider {
  height: 1px;
  background: var(--color-gray-200, #e5e7eb);
  margin: var(--space-md) 0;
}

/* --- Social Links --- */
.contact-social {
  display: flex;
  gap: var(--space-sm);
}

.contact-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--color-gray-200, #e5e7eb);
  border-radius: var(--radius-sm, 0.375rem);
  color: var(--color-gray-600);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: border-color var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
}

.contact-social-link svg {
  color: var(--color-accent);
}

.contact-social-link:hover {
  border-color: var(--color-accent);
  color: var(--color-primary);
  background: rgba(176, 109, 80, 0.06);
}

/* ===== Service Area List ===== */
.service-area-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.5rem 2rem;
}

.service-area-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-gray-700);
  font-size: 1.05rem;
  font-weight: 500;
}

.service-area-item svg {
  color: var(--color-primary);
  min-width: 18px;
}

/* ===== Footer ===== */
.footer {
  background: var(--color-gray-900);
  padding: var(--space-3xl) 0 var(--space-xl);
  color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand p {
  margin-top: var(--space-md);
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-brand img.logo {
  height: 75px;
  width: auto;
  max-width: none;
}

.footer-col h4,
.footer-col .footer-col-title {
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-lg);
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  padding: var(--space-xs) 0;
  transition: padding-left var(--transition-fast), color var(--transition-fast);
}

.footer-link:hover {
  padding-left: 4px;
  color: var(--color-terracotta-light);
}

.footer-social {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-sm);
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  transition: background var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

.footer-social a:hover {
  background: var(--color-accent);
  color: var(--color-white);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--space-xl);
  text-align: center;
  font-size: 0.85rem;
}

.footer-divider {
  margin: 0 0.4em;
  opacity: 0.4;
}

.footer-legal-link {
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition-fast);
}

.footer-legal-link:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* ===== Privacy Policy Page ===== */
.privacy-policy {
  padding-top: calc(100px + var(--space-3xl));
  padding-bottom: var(--space-3xl);
}

.privacy-container {
  max-width: 660px; /* ~70ch long-form cap (design.md §3) */
}

.privacy-policy h1 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  color: var(--color-gray-900);
  margin-bottom: var(--space-sm);
}

.privacy-effective {
  font-size: 0.9rem;
  color: var(--color-gray-600);
  margin-bottom: var(--space-2xl);
}

.privacy-policy h2 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  color: var(--color-gray-900);
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
}

.privacy-policy h3 {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-gray-800);
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
}

.privacy-policy p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-gray-700);
  margin-bottom: var(--space-md);
}

.privacy-policy ul {
  padding-left: var(--space-xl);
  margin-bottom: var(--space-md);
}

.privacy-policy li {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-gray-700);
  margin-bottom: var(--space-xs);
}

.privacy-policy a {
  color: var(--color-primary);
  transition: color var(--transition-fast);
}

.privacy-policy a:hover {
  color: var(--color-accent-dark);
}

/* ===== Mobile Call Button ===== */
.mobile-call-btn {
  display: none;
}

/* ===== Scroll Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s ease-out, transform 0.45s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > *:nth-child(1) { transition-delay: 0ms; }
.reveal-stagger > *:nth-child(2) { transition-delay: 100ms; }
.reveal-stagger > *:nth-child(3) { transition-delay: 200ms; }
.reveal-stagger > *:nth-child(4) { transition-delay: 300ms; }
.reveal-stagger > *:nth-child(5) { transition-delay: 400ms; }
.reveal-stagger > *:nth-child(6) { transition-delay: 500ms; }

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== Responsive — Tablet ===== */
@media (max-width: 1023px) {
  .nav-desktop {
    display: none;
  }

  .header-phone {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .mobile-call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    background: var(--color-primary);
    color: white;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    animation: float 3s ease-in-out infinite;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }

  .service-detail {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .service-detail.reverse {
    direction: ltr;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .about-grid.reverse {
    direction: ltr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    columns: 2;
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ===== Responsive — Mobile ===== */
@media (max-width: 640px) {
  .hero {
    min-height: auto;
    padding-top: calc(var(--header-height) + var(--space-2xl));
    padding-bottom: var(--space-3xl);
  }

  .hero h1 {
    font-size: 2.125rem;
    margin-bottom: var(--space-md);
  }

  .hero p {
    font-size: 1.0625rem;
    margin-bottom: var(--space-xl);
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .section-title h2 {
    font-size: 1.75rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-grid[style*="repeat(3, 1fr)"] {
    grid-template-columns: 1fr !important;
  }

  .services-grid[style*="repeat(2, 1fr)"] {
    grid-template-columns: 1fr !important;
  }

  .about-grid[style*="1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    columns: 1;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta-phone {
    font-size: 1.2rem;
  }

  .service-detail-img img {
    height: 280px;
  }

  .form-input {
    font-size: 1rem; /* prevents iOS focus auto-zoom */
  }

  .contact-card {
    padding: var(--space-md) var(--space-lg);
  }

  .contact-card-cta {
    padding: var(--space-lg);
  }

  .contact-card-cta .contact-card-value {
    font-size: 1.3rem;
  }

  .contact-social {
    flex-wrap: wrap;
  }

  .contact-social-link {
    flex: 1;
    justify-content: center;
  }
}

/* ===== FAQ Accordion ===== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid rgba(67, 48, 43, 0.14);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  background: var(--color-surface);
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: var(--color-accent);
}

.faq-item[open] {
  border-color: var(--color-accent);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) var(--space-xl);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-gray-900);
  cursor: pointer;
  list-style: none;
  user-select: none;
}

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

.faq-question::after {
  content: '';
  width: 18px;
  height: 18px;
  background: url("icons/23-expand.png") center / contain no-repeat;
  transition: transform var(--transition-fast);
  flex-shrink: 0;
  margin-left: var(--space-md);
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 var(--space-xl) var(--space-lg);
}

.faq-answer p {
  color: var(--color-gray-600);
  line-height: 1.7;
  margin: 0;
}

/* ===== Team Section ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
}

/* v3: flat editorial panel — placeholder avatar circles removed until real headshots land (design.md §12) */
.team-card {
  background: transparent;
  border: 1px solid rgba(67, 48, 43, 0.14);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  text-align: left;
  transition: border-color var(--transition-base), transform var(--transition-base);
}

.team-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-3px);
}

.team-card .accent-line {
  display: block;
  width: 32px;
  height: 2px;
  background: var(--color-accent);
  margin-bottom: var(--space-md);
}

.team-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: var(--space-xs);
}

.team-title {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-accent-dark);
  margin-bottom: var(--space-md);
}

.team-bio {
  color: var(--color-gray-600);
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ===== Disabled Form Input ===== */
.form-input:disabled {
  background: var(--color-gray-100);
  color: var(--color-gray-400);
  cursor: not-allowed;
  opacity: 0.7;
}

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

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

  .faq-question {
    font-size: 1rem;
    padding: var(--space-md) var(--space-lg);
  }

  .faq-answer {
    padding: 0 var(--space-lg) var(--space-md);
  }
}

/* ===== Lightbox ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(67, 48, 43, 0.94); /* walnut, never pure black (design.md §4.1) */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-image-wrap {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-image-wrap img {
  max-width: 90vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.35s ease, transform 0.35s ease;
}

.lightbox.open .lightbox-image-wrap img {
  opacity: 1;
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-lg);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-white);
  transition: background var(--transition-fast), transform var(--transition-fast);
  z-index: 10001;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.lightbox-close svg {
  width: 24px;
  height: 24px;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-white);
  transition: background var(--transition-fast), transform var(--transition-fast);
  z-index: 10001;
}

.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-nav svg {
  width: 24px;
  height: 24px;
}

.lightbox-prev {
  left: var(--space-lg);
}

.lightbox-next {
  right: var(--space-lg);
}

.lightbox-counter {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.7);
  font-family: var(--font-body);
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  z-index: 10001;
}

@media (max-width: 1023px) {
  .lightbox-nav { width: 44px; height: 44px; }
  .lightbox-prev { left: var(--space-md); }
  .lightbox-next { right: var(--space-md); }
}

@media (max-width: 640px) {
  .lightbox-image-wrap img {
    max-width: 96vw;
    max-height: 80vh;
    border-radius: var(--radius-sm);
  }
  .lightbox-nav {
    width: 40px;
    height: 40px;
    top: auto;
    bottom: calc(var(--space-lg) + 2rem);
    transform: none;
  }
  .lightbox-nav:hover { transform: scale(1.1); }
  .lightbox-prev { left: auto; right: calc(50% + var(--space-xl)); }
  .lightbox-next { right: auto; left: calc(50% + var(--space-xl)); }
  .lightbox-close { width: 42px; height: 42px; top: var(--space-md); right: var(--space-md); }
}

@media (prefers-reduced-motion: reduce) {
  .lightbox { transition: none; }
  .lightbox-image-wrap img { transition: none; }
}

/* ===== Rugged texture on solid-color surfaces =====
   Layers a warm wash + corner depth + fine grain over the flat green
   so it reads as a worked, natural material instead of a hard slab.
   Placed last so it wins over the base background rules above. */
.page-header,
.cta-section,
.mission:not(.mission-light),
.stat-band,
.pull-quote,
.contact-card-cta {
  background-color: var(--color-primary);
  background-image:
    linear-gradient(150deg, rgba(176, 109, 80, 0.14), rgba(176, 109, 80, 0) 55%),
    radial-gradient(140% 130% at 82% 120%, rgba(20, 42, 16, 0.50), rgba(20, 42, 16, 0) 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='0.5'/%3E%3C/svg%3E");
  background-size: cover, cover, 220px 220px;
  background-repeat: no-repeat, no-repeat, repeat;
  background-blend-mode: soft-light, multiply, overlay;
}

/* Matching grain on the walnut footer for material cohesion */
.footer {
  background-color: var(--color-walnut);
  background-image:
    radial-gradient(130% 120% at 12% 0%, rgba(176, 109, 80, 0.12), rgba(176, 109, 80, 0) 55%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='0.5'/%3E%3C/svg%3E");
  background-size: cover, 220px 220px;
  background-repeat: no-repeat, repeat;
  background-blend-mode: soft-light, overlay;
}

/* ===== Custom brand icons (transparent two-tone PNGs) ===== */
.brand-ico {
  display: block;
  object-fit: contain;
}
.service-card .icon .brand-ico,
.value-card .icon .brand-ico {
  width: 36px;
  height: 36px;
}
.testimonial-stars .brand-ico {
  width: 18px;
  height: 18px;
}
.service-detail-content ul li .brand-ico {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}
.contact-card-row .brand-ico {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  margin-top: 1px;
}
.contact-card-icon-circle .brand-ico {
  width: 26px;
  height: 26px;
}
.contact-social-link .brand-ico {
  width: 20px;
  height: 20px;
}
.footer-social .brand-ico {
  width: 20px;
  height: 20px;
}
.service-area-item .brand-ico {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}
.team-photo .brand-ico {
  width: 62px;
  height: 62px;
}
.header-phone .brand-ico,
.mobile-menu-phone .brand-ico {
  width: 20px;
  height: 20px;
}
.mobile-menu-toggle .brand-ico {
  width: 26px;
  height: 26px;
}
.mobile-menu-close .brand-ico {
  width: 22px;
  height: 22px;
}
.cta-phone .brand-ico {
  width: 26px;
  height: 26px;
}
.mobile-call-btn .brand-ico {
  width: 26px;
  height: 26px;
}
.lightbox-close .brand-ico {
  width: 26px;
  height: 26px;
}
.lightbox-nav .brand-ico {
  width: 24px;
  height: 24px;
}
/* White rendering for icons placed on dark (green/walnut) surfaces */
.brand-ico-light {
  filter: brightness(0) invert(1);
}

/* ============================================================
   ===== v2 Editorial Premium — components (see design.md) ====
   ============================================================ */

/* ===== Homepage hero converted to <img> for LCP preload ===== */
.hero {
  overflow: hidden;
}

.hero .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* ===== Sticky hero reveal =====
   The hero pins to the top of the viewport while the rest of the page scrolls
   up and over it — the next section and everything below ride on z-index:1 with
   opaque backgrounds, so they slide across the fixed image like a curtain.
   Desktop/tablet only: on phones the hero is min-height:auto and the effect
   adds nothing. Only the homepage uses `.hero`; interior pages use
   `.hero-editorial`, which is unaffected. */
@media (min-width: 641px) {
  .hero {
    position: sticky;
    top: 0;
    z-index: 0;
  }
  /* Plain sections (Services, Testimonials) have no background of their own,
     so the pinned hero shows through them. Give them the page cream. The
     :not(.section-dark) keeps the Featured Work section's own tone. */
  .hero ~ .section:not(.section-dark) {
    background: var(--color-cream);
  }
  /* Lift every following section onto the layer above the pinned hero. */
  .hero ~ .section,
  .hero ~ .mission,
  .hero ~ .cta-section,
  .hero ~ .footer {
    position: relative;
    z-index: 1;
  }
}

.hero::before {
  z-index: 1;
}

.hero-content {
  z-index: 2;
}

/* ===== Eyebrow ===== */
.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: var(--text-eyebrow);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-accent-dark);
  margin-bottom: var(--space-md);
}

.eyebrow--on-dark {
  color: var(--color-terracotta-pale); /* AA over scrims and forest/walnut bands */
}

/* ===== Breadcrumbs ===== */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-gray-500);
  margin-bottom: var(--space-xl);
}

.breadcrumbs a:hover {
  color: var(--color-primary);
}

.breadcrumbs .crumb-sep {
  opacity: 0.5;
}

.hero-editorial .breadcrumbs {
  color: rgba(255, 255, 255, 0.75);
}

.hero-editorial .breadcrumbs a:hover {
  color: var(--color-white);
}

/* ===== Editorial Hero ===== */
.hero-editorial {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--header-height) + var(--space-2xl));
  padding-bottom: var(--space-2xl);
  overflow: hidden;
  background: var(--color-walnut);
}

.hero-editorial .hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Standard walnut scrim (design.md §4) + left content wash so eyebrow/breadcrumbs/H1
   hold AA over light photography (white tile, sky) — walnut-based, never black */
.hero-editorial::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to right, rgba(67, 48, 43, 0.60), rgba(67, 48, 43, 0.22) 45%, rgba(67, 48, 43, 0) 72%),
    linear-gradient(to top, rgba(67, 48, 43, 0.82), rgba(67, 48, 43, 0.25) 55%, rgba(45, 90, 39, 0.15));
}

.hero-editorial-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-editorial h1 {
  font-size: var(--text-display);
  color: var(--color-white);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.01em;
  max-width: 16ch;
}

.hero-editorial .hero-lead {
  font-family: var(--font-subhead);
  font-size: var(--text-lead);
  color: rgba(255, 255, 255, 0.92);
  max-width: 52ch;
  line-height: 1.55;
  margin: var(--space-lg) 0 var(--space-xl);
}

.hero-editorial .hero-buttons {
  justify-content: flex-start;
}

/* Texture variant — photo-less pages (design.md §5) */
.hero-editorial--texture {
  min-height: 56vh;
  background-color: var(--color-walnut);
  background-image:
    radial-gradient(130% 120% at 12% 0%, rgba(176, 109, 80, 0.16), rgba(176, 109, 80, 0) 55%),
    radial-gradient(140% 130% at 85% 115%, rgba(20, 42, 16, 0.45), rgba(20, 42, 16, 0) 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='0.5'/%3E%3C/svg%3E");
  background-size: cover, cover, 220px 220px;
  background-repeat: no-repeat, no-repeat, repeat;
  background-blend-mode: soft-light, multiply, overlay;
}

.hero-editorial--texture::after {
  content: none;
}

.hero-editorial--texture .accent-line {
  display: block;
  width: 60px;
  height: 3px;
  background: var(--color-accent);
  margin-top: var(--space-xl);
}

/* ===== Editorial Intro (lead copy + scope list) ===== */
.intro-editorial {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--space-3xl);
  align-items: start;
}

.intro-editorial .lead {
  font-family: var(--font-subhead);
  font-size: var(--text-lead);
  color: var(--color-gray-800);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.intro-editorial p {
  color: var(--color-gray-600);
  line-height: 1.75;
  margin-bottom: var(--space-md);
}

.scope-list {
  background: var(--color-white); /* opaque: panel is position:sticky */
  border: 1px solid rgba(67, 48, 43, 0.14);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  position: sticky;
  top: calc(var(--header-height) + var(--space-md));
}

.scope-list h3 {
  font-size: 1.05rem;
  margin-bottom: var(--space-md);
}

.scope-list ul {
  list-style: none;
}

.scope-list li {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  padding: var(--space-xs) 0;
  color: var(--color-gray-600);
  font-size: 0.95rem;
}

.scope-list li .brand-ico {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  margin-top: 3px;
}

/* ===== Stat Band (textured forest via shared rule above) ===== */
.stat-band {
  padding: var(--space-2xl) 0;
}

.stat-band .stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: var(--space-xl);
  text-align: center;
}

.stat .stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-terracotta-pale); /* the band's single terracotta moment (design.md §1) */
}

.stat .stat-label {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ===== Process Steps (ghost numerals) ===== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-xl);
}

.process-step {
  position: relative;
  padding-top: var(--space-lg);
  border-top: 2px solid rgba(176, 109, 80, 0.35);
}

.process-step .ghost-num {
  position: absolute;
  top: 0.1em;
  right: 0;
  font-family: var(--font-display);
  font-size: 5.5rem;
  font-weight: 700;
  line-height: 1;
  color: var(--color-walnut);
  opacity: 0.10;
  pointer-events: none;
  user-select: none;
}

.process-step h3 {
  font-size: 1.05rem;
  margin-bottom: var(--space-sm);
  position: relative;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--color-gray-600);
  line-height: 1.65;
  position: relative;
}

/* ===== Pull Quote (textured forest via shared rule above) ===== */
.pull-quote {
  padding: var(--space-3xl) 0;
  text-align: center;
}

.pull-quote .accent-line {
  display: block;
  width: 60px;
  height: 3px;
  background: var(--color-accent);
  margin: 0 auto var(--space-xl);
}

.pull-quote blockquote {
  font-family: var(--font-subhead);
  font-style: italic;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-white);
  max-width: 820px;
  margin: 0 auto var(--space-lg);
}

.pull-quote cite {
  font-style: normal;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--color-terracotta-pale); /* AA on textured forest */
}

/* ===== Detail Crops ===== */
.detail-crops {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.detail-crop {
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.detail-crop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.detail-crop:hover img {
  transform: scale(1.04);
}

/* ===== Case Study Card ===== */
/* v3: flat panel — hairline walnut border warming to terracotta, no shadow (design.md §12a) */
.case-study-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--color-surface);
  border: 1px solid rgba(67, 48, 43, 0.14);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition-base), border-color var(--transition-base);
}

.case-study-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-accent);
}

.case-study-card + .case-study-card {
  margin-top: var(--space-xl);
}

.csc-img {
  min-height: 280px;
}

.csc-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.csc-body {
  padding: var(--space-xl) var(--space-2xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.csc-body h3 {
  font-size: 1.5rem;
  margin-bottom: var(--space-sm);
}

.csc-body p {
  color: var(--color-gray-600);
  line-height: 1.7;
  margin-bottom: var(--space-md);
}

.csc-link {
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-primary);
  transition: color var(--transition-fast);
}

.csc-link::after {
  content: ' \2192';
}

.csc-link:hover {
  color: var(--color-accent-dark);
}

/* ===== Featured Project Band (walnut + grain) ===== */
.featured-project {
  padding: var(--space-3xl) 0;
  background-color: var(--color-walnut);
  background-image:
    radial-gradient(130% 120% at 12% 0%, rgba(176, 109, 80, 0.12), rgba(176, 109, 80, 0) 55%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)' opacity='0.5'/%3E%3C/svg%3E");
  background-size: cover, 220px 220px;
  background-repeat: no-repeat, repeat;
  background-blend-mode: soft-light, overlay;
}

.featured-project .section-title h2 {
  color: var(--color-white);
}

.featured-project .section-title p {
  color: rgba(255, 255, 255, 0.75);
}

.featured-project .case-study-card {
  border: none;
}

/* ===== Investment Section ===== */
/* v3: left-aligned — centered is reserved for manifesto bands (design.md §12a) */
.investment-section {
  max-width: 800px;
  text-align: left;
}

.investment-section .lead {
  font-family: var(--font-subhead);
  font-size: var(--text-lead);
  color: var(--color-gray-800);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.investment-section p {
  color: var(--color-gray-600);
  line-height: 1.75;
  margin-bottom: var(--space-md);
}

.investment-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-xl) 0;
  text-align: left;
  background: var(--color-white);
  border: 1px solid rgba(67, 48, 43, 0.14);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.investment-table th {
  background: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: var(--space-md) var(--space-lg);
}

.investment-table td {
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--color-gray-100);
  color: var(--color-gray-700);
}

.investment-table tr:last-child td {
  border-bottom: none;
}

.investment-note {
  font-size: 0.9rem;
  color: var(--color-gray-500);
  margin-top: var(--space-md);
}

/* ===== Nav Dropdown (desktop) ===== */
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-dropdown > .nav-link .caret {
  display: inline-block;
  margin-left: 0.35em;
  font-size: 0.7em;
  transform: translateY(-1px);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 240px;
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: var(--space-sm) 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
  z-index: 1002;
}

/* invisible hover bridge so the menu doesn't close crossing the gap */
.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 0.6rem var(--space-lg);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-gray-700);
  transition: background var(--transition-fast), color var(--transition-fast);
}

.nav-dropdown-menu a:hover {
  background: var(--color-gray-50);
  color: var(--color-primary);
}

.nav-dropdown-menu a.dd-all {
  font-weight: 600;
  border-bottom: 1px solid var(--color-gray-100);
}

/* ===== Mobile nav services group ===== */
.mobile-nav-group {
  border-bottom: 1px solid var(--color-gray-100);
}

.mobile-nav-group > summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--color-gray-700);
  padding: var(--space-sm) 0;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  user-select: none;
}

.mobile-nav-group > summary::-webkit-details-marker {
  display: none;
}

.mobile-nav-group > summary::after {
  content: '+';
  font-weight: 600;
  color: var(--color-accent-dark);
}

.mobile-nav-group[open] > summary::after {
  content: '\2013';
}

.mobile-nav-sub {
  display: flex;
  flex-direction: column;
  padding: 0 0 var(--space-sm) var(--space-md);
}

.mobile-nav-sub a {
  padding: 0.4rem 0;
  font-size: 0.95rem;
  color: var(--color-gray-600);
}

.mobile-nav-sub a:hover,
.mobile-nav-sub a.active {
  color: var(--color-primary);
}

/* ===== Related Services ===== */
.related-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
}

.related-card {
  display: block;
  background: var(--color-surface);
  border: 1px solid rgba(176, 109, 80, 0.18);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), border-color var(--transition-base);
}

.related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.related-card h3 {
  font-size: 1.1rem;
  margin-bottom: var(--space-xs);
}

.related-card p {
  color: var(--color-gray-600);
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: var(--space-sm);
}

/* ===== Photo Strip (captioned figures) ===== */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
}

.photo-strip--two {
  grid-template-columns: repeat(2, 1fr);
}

/* stacked sibling strips (orientation-split galleries) keep the grid gap */
.photo-strip + .photo-strip {
  margin-top: var(--space-md);
}

.photo-strip figure {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid var(--color-gray-100);
}

.photo-strip img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.photo-strip figure > a {
  display: block;
}

.photo-strip figure:hover img {
  transform: scale(1.04);
}

.photo-strip figcaption {
  font-size: 0.85rem;
  color: var(--color-gray-500);
  padding: var(--space-sm) var(--space-md);
}

/* ===== Project Facts (case study meta) ===== */
.project-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: var(--space-lg);
  background: var(--color-white);
  border: 1px solid rgba(67, 48, 43, 0.14);
  border-radius: var(--radius-md);
  padding: var(--space-xl);
}

.project-fact .pf-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-gray-500);
  margin-bottom: 0.15rem;
}

.project-fact .pf-value {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  color: var(--color-gray-800);
  line-height: 1.4;
}

.project-fact .pf-value a {
  color: var(--color-primary);
}

.project-fact .pf-value a:hover {
  color: var(--color-accent-dark);
}

.pf-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.pf-tag {
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--color-primary-light);
  color: var(--color-primary);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
}

/* ===== Case Study Narrative ===== */
.case-section {
  max-width: 640px; /* ~70ch long-form cap (design.md §3) */
  margin: 0 auto var(--space-2xl);
}

.case-section:last-child {
  margin-bottom: 0;
}

.case-section h2 {
  font-family: var(--font-subhead);
  font-size: 1.6rem;
  margin-bottom: var(--space-md);
}

.case-section p {
  color: var(--color-gray-600);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

/* ===== Service Areas Band ===== */
/* v3: left-aligned — centered is reserved for manifesto bands (design.md §12a) */
.service-areas {
  max-width: 800px;
  text-align: left;
}

.service-areas p {
  color: var(--color-gray-600);
  line-height: 1.75;
  margin-bottom: var(--space-lg);
}

.area-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.5rem;
}

.area-link {
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--color-gray-200);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-gray-700);
  transition: border-color var(--transition-fast), color var(--transition-fast), background var(--transition-fast);
}

.area-link:hover {
  border-color: var(--color-accent);
  color: var(--color-primary);
  background: rgba(176, 109, 80, 0.06);
}

/* ===== Clickable service cards (hub + homepage) ===== */
a.service-card {
  color: inherit;
}

.service-card .card-link {
  display: inline-block;
  margin-top: var(--space-md);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-primary);
  transition: color var(--transition-fast);
}

.service-card .card-link::after {
  content: ' \2192';
}

.service-card:hover .card-link {
  color: var(--color-accent-dark);
}

/* ===== Utilities ===== */
.btn-spaced {
  margin-top: var(--space-lg);
}

/* ===== v2 Responsive ===== */
@media (max-width: 1023px) {
  .intro-editorial {
    grid-template-columns: 1fr;
    gap: var(--space-xl);
  }

  .scope-list {
    position: static;
  }

  .process-steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .related-services {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .photo-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .case-study-card {
    grid-template-columns: 1fr;
  }

  .csc-img {
    min-height: 220px;
  }

  .csc-body {
    padding: var(--space-xl);
  }
}

@media (max-width: 640px) {
  .hero-editorial {
    min-height: auto;
    padding-top: calc(var(--header-height) + var(--space-2xl));
    padding-bottom: var(--space-xl);
  }

  .hero-editorial h1 {
    font-size: 2.125rem;
  }

  /* Stronger scrim on small screens - content overlays more of the photo */
  .hero-editorial::after {
    background: linear-gradient(
      to top,
      rgba(67, 48, 43, 0.90),
      rgba(67, 48, 43, 0.58)
    );
  }

  .process-steps {
    grid-template-columns: 1fr;
  }

  .process-step .ghost-num {
    font-size: 4rem;
  }

  .photo-strip,
  .photo-strip--two {
    grid-template-columns: 1fr;
  }

  .investment-table th,
  .investment-table td {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.9rem;
  }
}


/* ============================================================
   ===== v3 Premium Refinements (see design.md §13) ===========
   ============================================================ */

/* Brand-true micro details */
::selection {
  background: var(--color-forest);
  color: var(--color-cream);
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Paper grain — whisper-level texture on light surfaces */
body {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)' opacity='0.05'/%3E%3C/svg%3E");
}

.section-dark {
  background-color: #F4EFE6;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='p'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23p)' opacity='0.05'/%3E%3C/svg%3E");
}

/* Editorial section headers — left-aligned, eyebrow + hairline */
.section-title {
  text-align: left;
  margin-bottom: var(--space-2xl);
}

.section-title p {
  margin: 0;
  max-width: 640px;
}

.section-title .accent-line {
  width: 48px;
  height: 2px;
  margin: var(--space-md) 0 0;
}

/* De-carded cards — flat panels, hairline borders, terracotta on hover */
.service-card,
.testimonial-card,
.related-card {
  background: transparent;
  box-shadow: none;
  border: 1px solid rgba(67, 48, 43, 0.14);
}

.service-card:hover,
.testimonial-card:hover,
.related-card:hover {
  box-shadow: none;
  border-color: var(--color-accent);
  transform: translateY(-3px);
}

.service-card {
  text-align: left;
}

.service-card .icon {
  margin: 0 0 var(--space-lg);
}

/* Keyline photo frames — the logo's frame motif carried into imagery */
.csc-img,
.service-detail-img,
.about-img {
  position: relative;
}

.csc-img::after,
.service-detail-img::after,
.about-img::after {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  pointer-events: none;
}

/* Provenance line — under hero CTAs */
.provenance {
  margin-top: var(--space-xl);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}


/* ============================================================
   ===== v3.1 Icon scale (design.md §12a) =====================
   Thin-stroke icons need more size than the old filled set.
   Four steps: inline 22 / ui 24 / action 30 / feature 44.
   ============================================================ */
:root {
  --ico-inline: 22px;
  --ico-ui: 24px;
  --ico-action: 30px;
  --ico-feature: 72px;
}

.testimonial-stars .brand-ico,
.service-detail-content ul li .brand-ico,
.service-area-item .brand-ico,
.scope-list li .brand-ico {
  width: var(--ico-inline);
  height: var(--ico-inline);
}

.scope-list li .brand-ico {
  margin-top: 1px;
}

.header-phone .brand-ico,
.mobile-menu-phone .brand-ico,
.mobile-menu-close .brand-ico,
.contact-card-row .brand-ico,
.contact-social-link .brand-ico,
.footer-social .brand-ico {
  width: var(--ico-ui);
  height: var(--ico-ui);
}

.mobile-menu-toggle .brand-ico,
.cta-phone .brand-ico,
.contact-card-icon-circle .brand-ico,
.mobile-call-btn .brand-ico,
.lightbox-close .brand-ico {
  width: var(--ico-action);
  height: var(--ico-action);
}

.lightbox-nav .brand-ico {
  width: 26px;
  height: 26px;
}

.service-card .icon,
.value-card .icon {
  width: 96px;
  height: 96px;
}

.service-card .icon .brand-ico,
.value-card .icon .brand-ico {
  width: var(--ico-feature);
  height: var(--ico-feature);
}

.faq-question::after {
  width: 22px;
  height: 22px;
}


/* ============================================================
   ===== v3.2 Photo strip ratios (design.md §12a) ==============
   height:auto lets aspect-ratio control the box (the HTML height
   attribute was winning otherwise). Ratio follows each strip's
   dominant orientation: default 4:3, portrait 3:4, square 1:1.
   ============================================================ */
.photo-strip img {
  height: auto;
}

.photo-strip--portrait img {
  aspect-ratio: 3 / 4;
}

.photo-strip--square img {
  aspect-ratio: 1 / 1;
}

/* ============================================================
   ===== Contact page — enlarged card icons (per request) =====
   Scoped override of the shared --ico-ui / --ico-action steps;
   contact-card classes appear only on contact.html, so this
   does not touch header / footer / other pages.
   ============================================================ */
.contact-card-row .brand-ico,
.contact-social-link .brand-ico {
  width: 28px;
  height: 28px;
}

.contact-card-icon-circle {
  width: 56px;
  height: 56px;
}

.contact-card-icon-circle .brand-ico {
  width: 36px;
  height: 36px;
}
