/* =========================================================
   Carter & Mills — Attorneys at Law
   Design system: "Graphite & Brass"
   ========================================================= */

/* ---------- RESET ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

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

ul { list-style: none; padding: 0; margin: 0; }

button, input, select, textarea { font: inherit; color: inherit; }

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ---------- TOKENS ---------- */
:root {
  /* Palette — Graphite & Brass */
  --graphite-rgb: 26, 26, 24;
  
  --graphite:    #1A1A18;
  --graphite-2:  #232220;
  --graphite-3:  #322F2A;
  --graphite-line: #3A372F;

  --brass:        #A8823C;
  --brass-light:  #C9A765;
  --brass-dark:   #876A2E;
  --brass-tint:   #F0E9DA;

  --paper:    #F7F5F0;
  --surface:  #FFFFFF;
  --stone:    #ECE8E0;
  --stone-2:  #E0DACE;

  --ink:        #1F1E1B;
  --muted:      #6B6760;
  --muted-2:    #8C877D;
  --on-dark:    #F4F1EA;
  --on-dark-mut:#B4AFA2;

  /* Type */
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  /* Layout */
  --max: 1200px;
  --gutter: clamp(20px, 4vw, 32px);
  --section-y: clamp(64px, 8vw, 112px);
  --radius: 12px;
  --radius-sm: 8px;

  /* Elevation */
  --shadow-soft: 0 1px 2px rgba(26,26,24,.04), 0 10px 30px rgba(26,26,24,.06);
  --shadow-hover: 0 2px 4px rgba(26,26,24,.05), 0 18px 44px rgba(26,26,24,.11);
}

/* ---------- BASE ---------- */
body {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--graphite);
}

/* ---------- LAYOUT HELPERS ---------- */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
.section--paper { background: var(--paper); }
.section--stone { background: var(--stone); }
.section--surface { background: var(--surface); }

.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }

/* Eyebrow — the recurring editorial signature */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass-dark);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--brass);
}
.section-head--center .eyebrow { justify-content: center; }

.h2 {
  font-size: clamp(28px, 4vw, 40px);
}
.lead {
  margin-top: 16px;
  font-size: clamp(16px, 1.6vw, 18px);
  color: var(--muted);
  max-width: 60ch;
}
.section-head--center .lead { margin-inline: auto; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .25s ease, border-color .25s ease,
              color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s ease; }
.btn:hover svg { transform: translateX(3px); }

.btn--primary {
  background: var(--brass);
  color: var(--graphite);
  font-weight: 600;
}
.btn--primary:hover { background: var(--brass-dark); color: var(--on-dark); }

.btn--outline-light {
  background: transparent;
  color: var(--on-dark);
  border-color: rgba(244,241,234,.35);
}
.btn--outline-light:hover { border-color: var(--brass-light); color: var(--brass-light); }

.btn--ghost {
  background: transparent;
  color: var(--graphite);
  border-color: var(--stone-2);
}
.btn--ghost:hover { border-color: var(--brass); color: var(--brass-dark); }

.btn--block { width: 100%; }

/* Inline arrow link */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 15px;
  color: var(--brass-dark);
  padding-bottom: 3px;
  border-bottom: 1px solid var(--brass);
  width: fit-content;
  transition: gap .25s ease, color .25s ease;
}
.link-arrow svg { width: 18px; height: 18px; }
.link-arrow:hover { gap: 12px; color: var(--graphite); }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(247,245,240,.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--stone-2);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 34px; height: 40px;
  stroke: var(--brass); fill: none;
}
.brand-name { display: block; font-family: var(--font-display); font-size: 21px; font-weight: 600; letter-spacing: -0.01em; line-height: 1; }
.brand-tag {
  display: block;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--muted); font-weight: 500; margin-top: 5px;
  white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: 34px; }
.nav-link {
  font-size: 15px; font-weight: 500; color: var(--ink);
  padding: 6px 0; position: relative; transition: color .25s ease;
}
.nav-link::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 0; height: 2px; background: var(--brass);
  transition: width .25s ease;
}
.nav-link:hover { color: var(--brass-dark); }
.nav-link.is-active { color: var(--brass-dark); }
.nav-link.is-active::after { width: 100%; }

.header-cta { display: inline-flex; }

.burger {
  display: none;
  width: 42px; height: 42px;
  align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--brass);
  border-radius: var(--radius-sm);
  font-size: 19px; color: var(--graphite);
  cursor: pointer; z-index: 1001;
  transition: background-color .2s ease, color .2s ease;
}
.burger:hover { background: var(--brass); color: var(--on-dark); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  color: var(--on-dark);
  overflow: hidden;
  isolation: isolate;
}

/* Fluting — faint vertical lines evoking a classical column */
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -2;
  background-image:
    repeating-linear-gradient(90deg,
      transparent 0, transparent 46px,
      rgba(201,167,101,.045) 46px, rgba(201,167,101,.045) 47px);
}
/* Soft vignette to anchor type */
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 100% at 15% 0%, rgba(168,130,60,.16), transparent 55%),
    linear-gradient(180deg, rgba(20,20,18,.2), rgba(20,20,18,.72));
}

.hero--home { 
  min-height: 86vh; 
  display: flex; 
  align-items: center; 
  background: linear-gradient(to right, rgba(var(--graphite-rgb), 0.85), rgba(var(--graphite-rgb), 0.65)), url("../assets/index-pic3.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero--page { 
  padding-block: clamp(72px, 12vw, 128px); 
}

.hero--services {
  background: linear-gradient(to right, rgba(var(--graphite-rgb), 0.85), rgba(var(--graphite-rgb), 0.7)), url("../assets/services-pic2.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero--about {
  background: linear-gradient(to right, rgba(var(--graphite-rgb), 0.85), rgba(var(--graphite-rgb), 0.7)), url("../assets/about-pic.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero--contact {
  background: linear-gradient(to right, rgba(var(--graphite-rgb), 0.85), rgba(var(--graphite-rgb), 0.7)), url("../assets/contact-pic.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-content { max-width: 760px; }
.hero--home .hero-content { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.hero .eyebrow { color: var(--brass-light); }
.hero .eyebrow::before { background: var(--brass-light); }
.hero-title {
  color: var(--on-dark);
  font-weight: 500;
  font-size: clamp(38px, 6.2vw, 66px);
  line-height: 1.04;
  letter-spacing: -0.015em;
}
.hero--page .hero-title { font-size: clamp(34px, 5vw, 52px); }
.hero-sub {
  margin-top: 22px;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.6;
  color: var(--on-dark-mut);
  max-width: 60ch;
}
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust {
  margin-top: 34px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px;
  font-size: 14px; color: var(--on-dark-mut);
}
.hero-trust span { display: inline-flex; align-items: center; gap: 10px; }
.hero-trust span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--brass-light); }

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   INTRO + STATS
   ========================================================= */
.intro-text {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(20px, 2.6vw, 27px);
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--graphite);
  max-width: 30ch;
}
.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.stat { padding-top: 22px; border-top: 1px solid var(--stone-2); }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.4vw, 46px);
  font-weight: 600;
  color: var(--graphite);
  line-height: 1;
}
.stat-num span { color: var(--brass); }
.stat-label {
  margin-top: 8px;
  font-size: 13px; letter-spacing: 0.04em;
  color: var(--muted);
}

/* =========================================================
   PRACTICE / SERVICE CARDS
   ========================================================= */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card-grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--stone-2);
  border-radius: var(--radius);
  padding: 30px;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--brass-light);
}

.card-icon {
  width: 50px; height: 50px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brass-tint);
  border-radius: 10px;
  margin-bottom: 20px;
}
.card-icon svg { width: 24px; height: 24px; stroke: var(--brass-dark); fill: none; }

.card-title { font-size: 21px; margin-bottom: 8px; }
.card-text { color: var(--muted); font-size: 15px; line-height: 1.6; }
.card .link-arrow { margin-top: 18px; }

.card--lg { padding: 34px; }
.card--lg .card-icon { width: 54px; height: 54px; }
.card--lg .card-icon svg { width: 26px; height: 26px; }
.card--lg .card-title { font-size: 24px; }
.card--lg .card-text { font-size: 16px; }

.center-cta { display: flex; justify-content: center; margin-top: clamp(36px, 5vw, 52px); }

/* Benefits (compact) */
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.benefit {
  padding: 26px;
  background: var(--surface);
  border: 1px solid var(--stone-2);
  border-radius: var(--radius);
}
.benefit .card-icon { margin-bottom: 16px; }
.benefit h4 { font-size: 18px; margin-bottom: 6px; }
.benefit p { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* =========================================================
   REVIEWS
   ========================================================= */
.review-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review {
  background: var(--surface);
  border: 1px solid var(--stone-2);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-soft);
  display: flex; flex-direction: column;
}
.review-quote { width: 34px; height: 34px; stroke: var(--brass); fill: none; margin-bottom: 18px; }
.review-text {
  font-size: 16px; line-height: 1.7; color: var(--ink);
  font-style: italic; margin-bottom: 22px;
}
.review-meta { margin-top: auto; }
.review-name { font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--graphite); }
.review-loc { font-size: 13px; color: var(--muted); margin-top: 2px; }
.review--stone { background: var(--paper); }

/* =========================================================
   CTA BANNER
   ========================================================= */
.cta {
  position: relative;
  background: var(--graphite);
  color: var(--on-dark);
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    repeating-linear-gradient(90deg,
      transparent 0, transparent 46px,
      rgba(201,167,101,.05) 46px, rgba(201,167,101,.05) 47px);
}
.cta .eyebrow { color: var(--brass-light); justify-content: center; }
.cta .eyebrow::before { background: var(--brass-light); }
.cta h2 { color: var(--on-dark); font-size: clamp(28px, 4vw, 40px); }
.cta p { color: var(--on-dark-mut); margin-top: 14px; font-size: 18px; }
.cta .btn { margin-top: 32px; }

/* =========================================================
   ABOUT — info panel, team
   ========================================================= */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.1fr;
  gap: clamp(36px, 6vw, 64px);
  align-items: center;
}
/* Monogram media panel (image placeholder, intentional) */
.media-panel {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: var(--graphite);
  color: var(--on-dark);
  overflow: hidden;
  display: flex; flex-direction: column;
  justify-content: space-between;
  padding: 32px;
  isolation: isolate;
}
.media-panel::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    repeating-linear-gradient(90deg,
      transparent 0, transparent 38px,
      rgba(201,167,101,.06) 38px, rgba(201,167,101,.06) 39px);
}
.media-panel .mp-top { display: flex; justify-content: space-between; align-items: flex-start; }
.media-panel .mp-est { font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--brass-light); }
.media-panel .mp-mono {
  font-family: var(--font-display);
  font-size: clamp(60px, 11vw, 104px);
  font-weight: 500; color: var(--on-dark); line-height: .9;
}
.media-panel .mp-foot { font-size: 14px; color: var(--on-dark-mut); }

.about-stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 18px; margin-top: 28px;
}
.about-stat {
  background: var(--surface);
  border: 1px solid var(--stone-2);
  border-radius: var(--radius-sm);
  padding: 18px;
}
.about-stat .n { font-family: var(--font-display); font-size: 24px; font-weight: 600; color: var(--graphite); }
.about-stat .l { font-size: 12px; color: var(--muted); margin-top: 4px; }

.about-copy p { color: var(--muted); margin-top: 14px; }
.about-copy p:first-of-type { margin-top: 18px; }

/* Team */
.team-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.member {
  background: var(--surface);
  border: 1px solid var(--stone-2);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.member:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.member-photo {
  aspect-ratio: 4 / 3;
  background: var(--graphite);
  display: flex; align-items: center; justify-content: center;
  position: relative; isolation: isolate;
}
.member-photo::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    repeating-linear-gradient(90deg,
      transparent 0, transparent 30px,
      rgba(201,167,101,.06) 30px, rgba(201,167,101,.06) 31px);
}
.member-initials {
  font-family: var(--font-display);
  font-size: 40px; font-weight: 500; color: var(--brass-light);
  letter-spacing: 0.02em;
}
.member-body { padding: 24px; }
.member-name {
  font-size: 20px; display: inline-block;
  padding-bottom: 6px; border-bottom: 2px solid var(--brass);
}
.member-role { color: var(--brass-dark); font-size: 14px; font-weight: 500; margin: 10px 0 12px; }
.member-bio { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(36px, 6vw, 64px);
  align-items: start;
}
.contact-list { display: flex; flex-direction: column; gap: 22px; margin-bottom: 28px; }
.contact-row { display: flex; gap: 16px; align-items: flex-start; }
.contact-ico {
  flex: none;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brass-tint); border-radius: 50%;
}
.contact-ico svg { width: 20px; height: 20px; stroke: var(--brass-dark); fill: none; }
.contact-row h4 { font-size: 17px; margin-bottom: 3px; }
.contact-row p, .contact-row a { color: var(--muted); font-size: 15px; transition: color .25s ease; }
.contact-row a:hover { color: var(--brass-dark); }

.map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--stone-2);
  box-shadow: var(--shadow-soft);
  filter: grayscale(1) contrast(1.05);
}
.map iframe { width: 100%; height: 320px; border: 0; display: block; }

/* Form */
.form-card {
  background: var(--surface);
  border: 1px solid var(--stone-2);
  border-radius: var(--radius);
  padding: clamp(26px, 4vw, 40px);
  box-shadow: var(--shadow-soft);
}
.field { margin-bottom: 20px; }
.field label {
  display: block; margin-bottom: 8px;
  font-size: 14px; font-weight: 500; color: var(--ink);
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 15px;
  background: var(--paper);
  border: 1px solid var(--stone-2);
  border-radius: var(--radius-sm);
  color: var(--ink);
  transition: border-color .2s ease, box-shadow .2s ease, background-color .2s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--muted-2); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: var(--surface);
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(168,130,60,.14);
}

.form-success {
  display: none;
  margin-top: 8px;
  padding: 14px 18px;
  background: #F2F7F0;
  border: 1px solid #BFD8B5;
  border-radius: var(--radius-sm);
  color: #3C5A30;
  font-size: 14px; text-align: center;
  animation: fade .3s ease;
}
.form-success.is-visible { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(6px);} to {opacity:1; transform: translateY(0);} }

.contact-call {
  text-align: center;
}
.contact-call .row {
  display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 10px; font-size: 18px; color: var(--ink);
}
.contact-call .row svg { width: 22px; height: 22px; stroke: var(--brass-dark); fill: none; }
.contact-call a { color: var(--brass-dark); font-weight: 600; transition: color .25s ease; }
.contact-call a:hover { color: var(--graphite); }
.contact-call .note { margin-top: 10px; color: var(--muted); }

/* =========================================================
   IMAGES CORRECTIONS
   ========================================================= */
.media-panel.has-image {
  padding: 0; 
}

.media-panel img,
.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top; 
  display: block;
}

.member-photo::before {
  display: none;
}

.member-photo {
  aspect-ratio: 3 / 4; 
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: var(--graphite-2);
  color: var(--on-dark-mut);
  position: relative;
}
.footer::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--brass) 30%, var(--brass) 70%, transparent);
  opacity: .45;
}
.footer-inner { padding-block: clamp(48px, 7vw, 72px); }
.footer-main {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 44px;
  padding-bottom: 44px;
}
.footer .brand-name,
.footer .brand-tag { color: var(--on-dark); }
.footer .brand-tag { color: var(--on-dark-mut); }
.footer .brand-mark { stroke: var(--brass-light); }
.footer-tagline { margin: 16px 0; font-size: 14px; color: var(--on-dark-mut); }

.social { display: flex; gap: 10px; }
.social a {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: var(--graphite-3);
  border-radius: 10px;
  transition: background-color .25s ease;
}
.social a svg { width: 17px; height: 17px; stroke: var(--on-dark); fill: none; }
.social a:hover { background: var(--brass); }
.social a:hover svg { stroke: var(--graphite); }

.footer h4 {
  font-family: var(--font-display);
  font-size: 16px; color: var(--on-dark);
  margin-bottom: 18px;
}
.footer-links li { margin-bottom: 11px; }
.footer-links a { font-size: 14px; color: var(--on-dark-mut); transition: color .25s ease; }
.footer-links a:hover { color: var(--brass-light); }

.footer-contact li {
  display: flex; gap: 11px; align-items: flex-start;
  margin-bottom: 14px; font-size: 14px; color: var(--on-dark-mut);
}
.footer-contact svg { flex: none; width: 16px; height: 16px; stroke: var(--brass); fill: none; margin-top: 3px; }
.footer-contact a:hover { color: var(--brass-light); }

.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--graphite-line);
}
.footer-bottom p { font-size: 12px; color: var(--muted-2); }
.footer-bottom p + p { margin-top: 10px; }

/* =========================================================
   MOBILE MENU
   ========================================================= */
.mobile-menu {
  display: none;
  position: fixed; top: 76px; right: 0;
  width: 340px; max-width: 100vw;
  height: calc(100dvh - 76px);
  background: var(--paper);
  border-left: 1px solid var(--stone-2);
  z-index: 1000;
  flex-direction: column;
  padding: 8px 0 24px;
  box-shadow: -8px 0 28px rgba(26,26,24,.14);
}
.mobile-menu.is-open { display: flex; }
.mobile-link {
  padding: 16px 28px;
  font-size: 17px; font-weight: 500; color: var(--ink);
  transition: background-color .2s ease, color .2s ease;
}
.mobile-link:hover,
.mobile-link.is-active { background: var(--stone); color: var(--brass-dark); }
.mobile-menu .btn { margin: 16px 24px 0; }

.menu-overlay {
  display: none;
  position: fixed; inset: 76px 0 0 0;
  background: rgba(20,20,18,.5);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  z-index: 999;
}
.menu-overlay.is-open { display: block; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .nav, .header-cta { display: none; }
  .burger { display: flex; }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 880px) {
  .card-grid, .card-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .benefit-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .intro-grid { grid-template-columns: 1fr; }
  .intro-text { max-width: none; }
  .about-grid { grid-template-columns: 1fr; }
  .media-panel { aspect-ratio: 16 / 10; max-width: 460px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .card-grid, .card-grid--2, .benefit-grid, .stats { grid-template-columns: 1fr; }
  .stats { gap: 8px; }
  .stat { padding-top: 18px; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}
