/* ==========================================================================
   E2E Stone Services — site stylesheet
   One file for every page. Edit tokens first; avoid one-off colors.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand */
  --navy: #1B2C8A;          /* primary: buttons, links, headings accents */
  --navy-deep: #14216A;     /* hover, utility bar, dark bands */
  --navy-ink: #0E1650;      /* footer */
  --silver: #C8CDD3;        /* logo rails, dividers, text on navy */
  --mist: #F4F6F8;          /* alternating section background */
  --white: #FFFFFF;

  /* Text */
  --ink: #111827;           /* headings */
  --text: #1F2937;          /* default text */
  --body: #374151;          /* paragraphs */
  --muted: #4B5563;         /* captions, notes (4.5:1+ on white) */
  --on-navy: #E4E7EB;       /* body text on navy */
  --on-navy-muted: #D5DAE0;

  /* Lines & fields */
  --line: #E4E7EB;
  --line-strong: #C8CDD3;
  --field-border: #8B95A5;  /* 3:1 on white */
  --placeholder-bg: #EEF1F4;
  --hover-tint: #EEF1F7;

  /* Type */
  --font-display: 'Cinzel', Georgia, 'Times New Roman', serif;
  --font-body: 'Open Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --fs-body: 17px;
  --fs-small: 15px;
  --fs-xs: 13px;
  --fs-h1: 56px;
  --fs-h2: 40px;
  --fs-h3: 22px;
  --tracking-eyebrow: 0.14em;

  /* Space, shape, depth */
  --container: 1200px;
  --container-wide: 1360px;
  --gutter: 32px;
  --gutter-wide: 40px;
  --section-y: 104px;
  --radius: 8px;
  --radius-sm: 6px;
  --radius-field: 4px;
  --shadow-card: 0 24px 56px rgba(5, 10, 40, 0.35);
  --shadow-menu: 0 24px 48px rgba(17, 24, 39, 0.12);
  --shadow-bar: 0 -6px 18px rgba(17, 24, 39, 0.08);
  --ease: cubic-bezier(.2, .7, .2, 1);

  /* Header */
  --util-h: 40px;
  --header-h: 92px;
  --subnav-h: 56px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--navy); }
a:hover { color: var(--navy-deep); }
[id] { scroll-margin-top: calc(var(--header-h) + var(--subnav-h) + 24px); }

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
  border-radius: 4px;
}
.on-dark a:focus-visible, .on-dark button:focus-visible { outline-color: var(--white); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 60;
  background: var(--white); color: var(--navy); font-weight: 700;
  padding: 10px 16px; border-radius: var(--radius-sm);
}
.skip-link:focus { top: 8px; }

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

.section { padding-block: var(--section-y); }
.section--flush-top { padding-top: 0; }
.section--mist { background: var(--mist); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy-deep { background: var(--navy-deep); color: var(--white); }

.section__head { max-width: 700px; margin-bottom: 48px; }
.section__head > * + * { margin-top: 14px; }

.split { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 72px; align-items: start; }
.split--center { align-items: center; }
.media-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.stack > * + * { margin-top: 16px; }
.stack > .btn { margin-top: 24px; }
.media-split__img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--radius); }

/* ---------- 4. Type ---------- */
.eyebrow {
  font-family: var(--font-display); font-weight: 600; font-size: 14px;
  letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--navy);
}
.on-dark .eyebrow { color: var(--silver); }
.display-1 {
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h1);
  line-height: 1.08; letter-spacing: 0.01em; color: var(--ink);
}
.display-2 {
  font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h2);
  line-height: 1.15; color: var(--ink);
}
.display-3 { font-family: var(--font-display); font-weight: 600; font-size: var(--fs-h3); line-height: 1.25; color: var(--ink); }
.title-3 { font-size: 19px; font-weight: 700; line-height: 1.35; color: var(--ink); }
.on-dark .display-1, .on-dark .display-2, .on-dark .display-3, .on-dark .title-3 { color: var(--white); }
.lede { font-size: 19px; line-height: 1.6; }
.body { color: var(--body); }
.on-dark .body { color: var(--on-navy); }
.note { font-size: var(--fs-xs); line-height: 1.5; color: var(--muted); }
.note a { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.caption { font-size: 14px; color: var(--muted); }
.strong { font-weight: 600; color: var(--ink); }

.textlink { font-weight: 700; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.textlink:hover { text-decoration-thickness: 2px; }
.on-dark .textlink, .on-dark .textlink:hover { color: var(--white); }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; text-underline-offset: 4px; }
.link-arrow svg { width: 16px; height: 16px; flex-shrink: 0; transition: transform 150ms var(--ease); }
.link-arrow:hover svg { transform: translateX(2px); }
.on-dark .link-arrow, .on-dark .link-arrow:hover { color: var(--white); }

/* ---------- 5. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 24px; border-radius: var(--radius); border: 1px solid transparent;
  font: inherit; font-size: 16px; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: background-color 150ms var(--ease), color 150ms var(--ease), border-color 150ms var(--ease);
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn--lg { height: 52px; }
.btn--block { width: 100%; height: 54px; padding-inline: 12px; font-size: 17px; }
.btn--primary { background: var(--navy); color: var(--white); }
.btn--primary:hover { background: var(--navy-deep); color: var(--white); }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--hover-tint); color: var(--navy); }
.btn--white { background: var(--white); color: var(--navy); }
.btn--white:hover { background: #E9ECF2; color: var(--navy); }
.btn--outline-white { border-color: rgba(255, 255, 255, .7); color: var(--white); background: transparent; }
.btn--outline-white:hover { background: rgba(255, 255, 255, .12); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- 6. Utility bar + header + mega menu ---------- */
.util-bar { background: var(--navy-deep); color: var(--on-navy-muted); font-size: 14px; }
.util-bar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--util-h); }
.util-bar__tag {
  font-family: var(--font-display); font-weight: 600; font-size: 12px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--silver);
}
.util-bar__phone { display: inline-flex; align-items: center; gap: 8px; color: var(--white); font-weight: 700; text-decoration: none; }
.util-bar__phone:hover { color: var(--white); text-decoration: underline; text-underline-offset: 4px; }
.util-bar__phone svg { width: 15px; height: 15px; }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; gap: 40px; height: var(--header-h); }
.site-logo { display: flex; align-items: center; flex-shrink: 0; }
.site-logo img { height: 64px; width: auto; }

.main-nav { display: flex; align-items: center; gap: 12px; margin-left: 24px; margin-right: auto; }
.main-nav__link, .main-nav__trigger {
  display: inline-flex; align-items: center; gap: 6px; height: 48px; padding: 0 16px;
  border: 0; border-radius: var(--radius); background: transparent;
  font: inherit; font-size: 16px; font-weight: 600; color: var(--text); text-decoration: none; cursor: pointer;
  transition: color 150ms var(--ease), background-color 150ms var(--ease);
}
.main-nav__link:hover, .main-nav__trigger:hover { color: var(--navy); }
.main-nav__link[aria-current="page"] { color: var(--navy); text-decoration: underline; text-underline-offset: 8px; text-decoration-thickness: 2px; }
.main-nav__trigger svg { width: 16px; height: 16px; transition: transform 200ms var(--ease); }
.main-nav__trigger[aria-expanded="true"] { background: var(--hover-tint); color: var(--navy); }
.main-nav__trigger[aria-expanded="true"] svg { transform: rotate(180deg); }

.header-actions { display: flex; align-items: center; gap: 8px; }
.menu-toggle {
  display: none; align-items: center; justify-content: center; width: 44px; height: 44px;
  border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--white); color: var(--navy); cursor: pointer;
}
.menu-toggle svg { width: 22px; height: 22px; }

.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  box-shadow: var(--shadow-menu);
}
.mega[hidden] { display: none; }
.mega__inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr) minmax(0, 1fr); gap: 48px; padding-block: 32px 36px; }
.mega__label {
  margin-bottom: 10px; font-family: var(--font-display); font-weight: 600; font-size: 13px;
  letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--muted);
}
.mega__stones { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; }
.mega__stones .mega__label { grid-column: 1 / -1; padding-left: 12px; }
.mega__stone {
  display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: var(--radius);
  text-decoration: none; transition: background-color 150ms var(--ease);
}
.mega__stone:hover { background: var(--mist); }
.mega__thumb { width: 44px; height: 44px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; }
.mega__thumb--unknown {
  display: flex; align-items: center; justify-content: center; border: 1px dashed var(--field-border);
  color: var(--navy); font-weight: 700;
}
.mega__name { display: block; font-weight: 700; color: var(--ink); }
.mega__desc { display: block; font-size: 14px; color: var(--muted); }
.mega__services { border-left: 1px solid var(--line); padding-left: 40px; }
.mega__services a { display: flex; align-items: center; min-height: 40px; font-weight: 600; color: var(--text); text-decoration: none; }
.mega__services a:hover { color: var(--navy); }
.mega__feature { background: var(--mist); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.mega__feature img { width: 100%; height: 132px; object-fit: cover; }
.mega__feature-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; }
.mega__feature-title { font-weight: 700; color: var(--ink); }
.mega__feature-text { font-size: 15px; line-height: 1.5; color: var(--body); }

/* ---------- 7. Hero (photo + scrim + lead form) ---------- */
.hero { position: relative; overflow: hidden; background: var(--navy-deep); color: var(--white); }
.hero__media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__scrim {
  position: absolute; inset: 0;
  /* functional legibility scrim, not decoration */
  background: linear-gradient(90deg, rgba(14,22,74,.9) 0%, rgba(14,22,74,.78) 45%, rgba(14,22,74,.45) 100%);
}
.hero__inner {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 64px; align-items: center; padding-block: 88px 96px;
}
.hero--inner .hero__inner { padding-block: 64px 88px; }
.hero__copy { display: flex; flex-direction: column; gap: 22px; }
.hero__copy .lede { color: #F1F3F6; max-width: 560px; }
.hero__copy .hero__sub { color: var(--on-navy-muted); max-width: 560px; }
.hero__kicker {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600;
  font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: var(--silver);
}
.hero__kicker::before { content: ""; width: 28px; height: 2px; background: var(--silver); }
.hero__checks {
  display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 8px; padding-top: 20px;
  border-top: 1px solid rgba(200, 205, 211, .35); font-size: 15px; font-weight: 600;
}
.hero__checks li { display: flex; align-items: center; gap: 8px; }
.hero__checks svg { width: 16px; height: 16px; color: var(--silver); }
.hero__aside { font-size: var(--fs-small); color: var(--on-navy-muted); }
.hero__aside a { color: var(--white); font-weight: 700; text-underline-offset: 4px; }
.hero__copy .lede a, .hero__copy .hero__sub a { color: var(--white); font-weight: 600; text-underline-offset: 4px; }

.breadcrumb { font-size: 14px; color: var(--on-navy-muted); }
.breadcrumb a { color: var(--white); text-underline-offset: 4px; }

/* ---------- 8. Lead form ---------- */
.form-card { background: var(--white); color: var(--text); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow-card); }
.form-card__title { font-family: var(--font-display); font-weight: 600; font-size: 26px; line-height: 1.2; color: var(--ink); }
.form-card__intro { margin: 6px 0 22px; font-size: var(--fs-small); color: var(--muted); }
.form { display: flex; flex-direction: column; gap: 16px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; color: var(--text); }
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--field-border); border-radius: var(--radius-field);
  background: var(--white); font: inherit; font-size: 16px; color: var(--ink);
}
.field input, .field select { height: 48px; padding: 0 14px; }
.field textarea { padding: 12px 14px; resize: vertical; min-height: 96px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(27, 44, 138, .22);
}
.field--error input, .field--error select, .field--error textarea { border-color: #B42318; }
.field__error { font-size: 14px; color: #B42318; }
.form__group-title { margin-top: 8px; font-size: var(--fs-small); font-weight: 700; color: var(--ink); }
.form__trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
/* Sent / failed messages: main.js adds .is-shown; without JavaScript the handler links to #request-… */
.form-status { display: none; }
.form-status.is-shown, .form-status:target { display: block; }
.form-status:focus { outline: none; }
.form-status--failed { padding: 12px 14px; border-radius: var(--radius-field); background: #FEF3F2; color: #B42318; font-size: var(--fs-small); }
.form-status--failed a { color: inherit; font-weight: 700; }
.form-status--sent { margin-top: 12px; font-size: var(--fs-small); color: var(--text); }
.form-status__title { margin-bottom: 4px; font-size: 18px; font-weight: 700; color: var(--ink); }
.form-card.is-sent .form-card__intro, .form-card.is-sent .form { display: none; }

/* ---------- 9. Trust strip ---------- */
.trust-strip { border-bottom: 1px solid var(--line); }
.trust-strip__inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-block: 28px; }
.trust-strip__brand { display: flex; align-items: baseline; flex-wrap: wrap; gap: 14px; }
.trust-strip__title { font-family: var(--font-display); font-weight: 700; font-size: 26px; letter-spacing: .08em; color: var(--navy); }
.trust-strip__text { font-size: var(--fs-small); color: var(--muted); }
.trust-strip__badges { display: flex; align-items: center; flex-wrap: wrap; gap: 36px; }
.trust-strip__badges .badge-sbdc { height: 60px; width: auto; }
.trust-strip__badges .badge-chamber { height: 44px; width: auto; }

/* ---------- 10. On-this-page subnav ---------- */
.subnav { position: sticky; top: var(--header-h); z-index: 40; background: var(--white); border-bottom: 1px solid var(--line); }
.subnav__inner { display: flex; align-items: center; gap: 8px; }
.subnav__label {
  flex-shrink: 0; display: flex; align-items: center; height: 24px; padding-right: 20px; margin-right: 4px;
  border-right: 1px solid var(--line); font-family: var(--font-display); font-weight: 600; font-size: 12px;
  letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
}
.subnav__links { display: flex; overflow-x: auto; scrollbar-width: none; }
.subnav__links::-webkit-scrollbar { display: none; }
.subnav__links a {
  display: inline-flex; align-items: center; height: var(--subnav-h); padding: 0 16px; white-space: nowrap;
  color: var(--body); font-size: var(--fs-small); font-weight: 600; text-decoration: none;
  border-bottom: 2px solid transparent; transition: color 150ms var(--ease), border-color 150ms var(--ease);
}
.subnav__links a:hover, .subnav__links a.is-active { color: var(--navy); border-bottom-color: var(--navy); }

/* ---------- 11. Content blocks ---------- */
/* Stone cards (home) */
.stone-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
.stone-card { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: inherit; }
.stone-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-sm); transition: opacity 200ms var(--ease); }
.stone-card:hover img { opacity: .9; }
.stone-card h3 { margin-top: 4px; }
.stone-card p { font-size: var(--fs-small); color: var(--body); }
.stone-card__link { font-weight: 700; font-size: var(--fs-small); color: var(--navy); text-decoration: underline; text-underline-offset: 4px; }

/* Definition list of services (home) */
.service-list { border-top: 1px solid var(--line-strong); }
.service-row { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 32px; padding: 22px 0; border-bottom: 1px solid var(--line-strong); }
.service-row dt { font-family: var(--font-display); font-weight: 600; font-size: 20px; color: var(--navy); }
.service-row dt a { color: inherit; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.service-row dt a:hover { text-decoration-thickness: 2px; }
.service-row dd { color: var(--body); }

/* Problem/cause cards (service pages) */
.cause-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.cause { display: flex; flex-direction: column; gap: 10px; }
.cause img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 6px; }
.cause h3 { font-size: 18px; font-weight: 700; color: var(--ink); }
.cause p { font-size: 16px; color: var(--body); }

/* Service articles with photo (service pages) */
.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; row-gap: 8px; }
.svc { padding: 28px 0; border-top: 1px solid var(--line-strong); }
.svc img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius-sm); margin-bottom: 20px; }
.svc h3 { margin-bottom: 10px; font-family: var(--font-display); font-weight: 600; font-size: 24px; color: var(--navy); }
.svc p { color: var(--body); }

/* Three-up surface cards */
.three-up { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.surface { display: flex; flex-direction: column; gap: 14px; }
.surface img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); }
.surface p { font-size: 16px; color: var(--body); }

/* Rows: title | text | photo */
.detail-rows { border-top: 1px solid var(--line-strong); }
.detail-row { display: grid; grid-template-columns: 240px minmax(0, 1fr) 240px; gap: 40px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line-strong); }
.detail-row h3 { font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--navy); }
.detail-row p { color: var(--body); }
.detail-row img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); }

/* Check list on navy */
.rule-list { border-top: 1px solid rgba(200, 205, 211, .4); }
.rule-list li { padding: 14px 0; border-bottom: 1px solid rgba(200, 205, 211, .4); }
.rule-list strong { color: var(--white); }
.rule-list span { color: var(--on-navy-muted); }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; counter-reset: step; }
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step { display: flex; flex-direction: column; gap: 12px; padding-top: 20px; border-top: 2px solid var(--line-strong); }
.step:first-child { border-top-color: var(--navy); }
.step__num { font-family: var(--font-display); font-weight: 600; font-size: 34px; line-height: 1; color: var(--navy); }
.step p { font-size: 16px; color: var(--body); }
.on-dark .step { border-top-color: rgba(200, 205, 211, .5); }
.on-dark .step:first-child { border-top-color: var(--white); }
.on-dark .step__num { color: var(--white); }
.on-dark .step p { color: var(--on-navy-muted); }
.on-dark .step a { color: var(--white); }

/* Photo placeholder (real job photos only) */
.photo-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.photo-slot { display: flex; flex-direction: column; gap: 8px; }
.photo-slot__frame {
  aspect-ratio: 4 / 5; border-radius: var(--radius-sm); background: var(--placeholder-bg); border: 1px dashed #9AA3AF;
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px; font-size: 14px; color: var(--muted);
}
.photo-slot img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-sm); }
.figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); }
.figure figcaption { margin-top: 8px; }

/* FAQ */
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 16px 0; cursor: pointer; list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 22px; height: 22px; flex-shrink: 0; color: var(--navy); transition: transform 200ms var(--ease); }
.faq details[open] summary svg { transform: rotate(180deg); }
.faq details > p, .faq details > .prose { margin-bottom: 22px; color: var(--body); max-width: 640px; }

/* Closing CTA band */
.cta-band__inner { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 72px; align-items: center; }
.cta-band__media { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.cta-band__copy { display: flex; flex-direction: column; gap: 18px; }
/* Closing line when the copy has no closing heading */
.cta-band__lead { font-size: 24px; font-weight: 600; line-height: 1.45; }
.on-dark .cta-band__lead { color: var(--white); }

/* Photo on the left of a media split */
.media-split--flip .media-split__img { order: -1; }

/* Rich text from Directus (Markdown): paragraphs, ### H3s, lists, links */
.prose > * + * { margin-top: 16px; }
.prose h3 { margin-top: 32px; font-size: 19px; font-weight: 700; line-height: 1.35; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li + li { margin-top: 8px; }
.prose a { font-weight: 600; text-underline-offset: 3px; }
.prose strong { font-weight: 600; color: var(--ink); }
/* Policy pages: plain documents, sections separated by hairlines */
.policy .section { padding-block: 48px; }
.policy .section + .section { border-top: 1px solid var(--line); }
.policy .prose { max-width: 680px; }
.policy .prose a { text-decoration: underline; }
.policy h2 { font-size: 26px; line-height: 1.25; }
.on-dark .prose { color: var(--on-navy); }
.on-dark .prose h3, .on-dark .prose strong, .on-dark .prose a, .on-dark .prose a:hover { color: var(--white); }
/* On navy, lists read as ruled rows (same look as .rule-list) */
.on-dark .prose ul { list-style: none; padding-left: 0; border-top: 1px solid rgba(200, 205, 211, .4); }
.on-dark .prose ul li { margin: 0; padding: 14px 0; border-bottom: 1px solid rgba(200, 205, 211, .4); color: var(--on-navy-muted); }

/* ---------- 12. Footer + mobile action bar ---------- */
.site-footer { background: var(--navy-ink); color: var(--on-navy-muted); padding-block: 72px 32px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 48px; }
.footer-brand { display: flex; flex-direction: column; gap: 18px; }
.footer-brand img { width: 180px; }
.footer-brand p { font-size: var(--fs-small); max-width: 320px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; font-size: var(--fs-small); }
.footer-col__title {
  margin-bottom: 4px; font-family: var(--font-display); font-weight: 600; font-size: 13px;
  letter-spacing: var(--tracking-eyebrow); text-transform: uppercase; color: var(--white);
}
.footer-col a { color: var(--on-navy-muted); }
.footer-col a:hover { color: var(--white); }
.footer-phone { color: var(--white) !important; font-weight: 700; font-size: 18px; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 48px; padding-top: 24px;
  border-top: 1px solid rgba(200, 205, 211, .3); font-size: 14px; color: var(--silver);
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-legal a { padding-block: 4px; color: var(--white); text-decoration: underline; text-underline-offset: 3px; }

.mobile-bar {
  display: none; position: sticky; bottom: 0; z-index: 45;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 8px; padding: 10px 16px;
  background: var(--white); border-top: 1px solid var(--line); box-shadow: var(--shadow-bar);
}
.mobile-bar .btn { height: 48px; padding: 0 12px; }

/* ---------- 13. Responsive ---------- */
@media (max-width: 1100px) {
  .stone-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cause-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .main-nav, .hide-md { display: none !important; }
  .menu-toggle { display: inline-flex; }
  .site-header__inner { justify-content: space-between; gap: 16px; }
  .header-actions { margin-left: auto; }
  .hero__inner, .split, .media-split, .cta-band__inner, .mega__inner { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .media-split--flip .media-split__img { order: 0; }
  .mega { max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .mega__services { border-left: 0; padding-left: 0; }
  .svc-grid, .three-up, .steps--3 { grid-template-columns: minmax(0, 1fr); }
  .svc-grid { row-gap: 0; }
  .detail-row { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .trust-strip__inner { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  :root { --fs-h1: 36px; --fs-h2: 28px; --section-y: 56px; --gutter: 16px; --gutter-wide: 16px; --header-h: 76px; }
  .site-logo img { height: 52px; }
  .util-bar__tag, .hide-sm, .subnav__label { display: none !important; }
  .stone-grid, .steps, .cause-grid, .form-row, .footer-grid, .photo-pair, .mega__stones { grid-template-columns: minmax(0, 1fr); }
  .service-row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .hero__inner { padding-block: 48px 56px; }
  .form-card { padding: 24px; }
  .mobile-bar { display: grid; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
