/* ==========================================================================
   Angel Chiropractic Health Center — Design A "Evergreen"
   Warm organic editorial · Fraunces + Inter · hand-written CSS, no framework
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --forest: #1B4332;
  --forest-deep: #143528;
  --sage: #52796F;
  --sage-tint: #EDF2EE;
  --gold: #C89B3C;
  --gold-deep: #8A6A25;
  --terracotta: #B85C38;
  --terracotta-deep: #9C4A2A;
  --cream: #FDFBF7;
  --cream-2: #F7F2E9;
  --ink: #22301F;
  --ink-soft: #4A5545;
  --line: #E7E0D2;
  --white: #FFFFFF;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4.5rem;
  --s-9: 6.5rem;

  --radius: 14px;
  --radius-lg: 22px;
  --arch: 260px;
  --shadow-sm: 0 1px 3px rgba(27, 67, 50, 0.08);
  --shadow-md: 0 10px 30px -12px rgba(27, 67, 50, 0.22);
  --shadow-lg: 0 24px 60px -20px rgba(20, 40, 30, 0.35);
  --ease: cubic-bezier(0.25, 0.6, 0.3, 1);
  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--forest);
  margin: 0 0 var(--s-4);
  text-wrap: balance;
}

h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); line-height: 1.06; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.6rem); line-height: 1.14; }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); line-height: 1.25; }

p { margin: 0 0 var(--s-4); }
p:last-child { margin-bottom: 0; }

a { color: var(--forest); text-decoration-color: rgba(200, 155, 60, 0.65); text-underline-offset: 3px; }
a:hover { color: var(--terracotta-deep); }

ul, ol { padding-left: 1.25rem; margin: 0 0 var(--s-4); }
li { margin-bottom: var(--s-2); }

em, .accent-word {
  font-style: italic;
  font-weight: 400;
  color: inherit;
}

hr { border: 0; border-top: 1px solid var(--line); margin: var(--s-7) 0; }

::selection { background: rgba(200, 155, 60, 0.3); }

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

/* ---------- Utilities ---------- */
.container {
  width: min(1160px, 100% - clamp(2.5rem, 8vw, 5rem));
  margin-inline: auto;
}

.container-narrow { width: min(820px, 100% - clamp(2.5rem, 8vw, 5rem)); margin-inline: auto; }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 300;
  background: var(--forest);
  color: var(--cream);
  padding: 0.85rem 1.5rem;
  border-radius: 0 0 var(--radius) 0;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus-visible { left: 0; color: var(--cream); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: var(--s-4);
}
.kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--gold);
  flex: none;
}

.rule-gold {
  width: 68px;
  height: 2px;
  background: var(--gold);
  border: 0;
  margin: var(--s-5) 0;
}
.rule-gold.centered { margin-inline: auto; }

.lead { font-size: 1.14rem; color: var(--ink-soft); max-width: 62ch; }

.text-center { text-align: center; }
.text-center .lead { margin-inline: auto; }

.section { padding-block: clamp(3.5rem, 9vw, 6.5rem); }
.section-tint { background: var(--cream-2); }
.section-sage { background: var(--sage-tint); }

.grid-2 { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.grid-3 { display: grid; gap: var(--s-5); }
.grid-4 { display: grid; gap: var(--s-5); }

@media (min-width: 760px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Arched image mask — the Evergreen signature */
.arch {
  border-radius: var(--arch) var(--arch) var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }

.icon {
  width: 24px;
  height: 24px;
  flex: none;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-lg { width: 32px; height: 32px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.8rem 1.7rem;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 200ms var(--ease), color 200ms var(--ease),
              border-color 200ms var(--ease), transform 200ms var(--ease),
              box-shadow 200ms var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--terracotta); color: var(--white); box-shadow: 0 8px 20px -10px rgba(184, 92, 56, 0.7); }
.btn-primary:hover { background: var(--terracotta-deep); color: var(--white); }

.btn-outline { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn-outline:hover { background: var(--forest); color: var(--cream); }

.btn-light { background: var(--cream); color: var(--forest); }
.btn-light:hover { background: var(--white); color: var(--forest-deep); }

.btn-ghost-light { background: transparent; color: var(--cream); border-color: rgba(253, 251, 247, 0.55); }
.btn-ghost-light:hover { background: rgba(253, 251, 247, 0.12); color: var(--white); border-color: var(--cream); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  color: var(--forest);
  text-decoration: none;
  border-bottom: 1.5px solid var(--gold);
  padding-bottom: 2px;
  transition: color 200ms var(--ease), gap 200ms var(--ease);
}
.link-arrow:hover { color: var(--terracotta-deep); gap: 0.7rem; }
.link-arrow .icon { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 251, 247, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 250ms var(--ease);
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }

.header-inner {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--forest);
  margin-right: auto;
}
.brand:hover { color: var(--forest-deep); }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.28rem;
  line-height: 1.05;
  letter-spacing: 0.005em;
}
.brand-name small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--sage);
  margin-top: 3px;
}

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.primary-nav a,
.nav-sub-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.55rem 0.78rem;
  border-radius: 999px;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  background: none;
  border: 0;
  font-family: var(--font-body);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 180ms var(--ease), color 180ms var(--ease);
}
.primary-nav a:hover,
.nav-sub-toggle:hover { background: var(--sage-tint); color: var(--forest); }
.primary-nav a[aria-current="page"] { color: var(--forest); font-weight: 600; box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }

.nav-sub { position: relative; }
.nav-sub-toggle .icon { width: 15px; height: 15px; transition: transform 200ms var(--ease); }
.nav-sub.open .nav-sub-toggle .icon { transform: rotate(180deg); }

.nav-sub-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 0.5rem;
  list-style: none;
  margin: 0;
  display: none;
}
.nav-sub.open .nav-sub-menu { display: block; }
.nav-sub-menu li { margin: 0; }
.nav-sub-menu a {
  display: flex;
  width: 100%;
  padding: 0.65rem 0.9rem;
  border-radius: 9px;
  font-size: 0.94rem;
}

.header-actions { display: flex; align-items: center; gap: var(--s-4); }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--forest);
  text-decoration: none;
  white-space: nowrap;
}
.header-phone:hover { color: var(--terracotta-deep); }
.header-phone .icon { width: 17px; height: 17px; }
.header-cta { min-height: 44px; padding: 0.6rem 1.3rem; font-size: 0.92rem; white-space: nowrap; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--forest);
  cursor: pointer;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1099px) {
  .header-phone span { display: none; }
  .header-phone .icon { width: 20px; height: 20px; }
}

@media (max-width: 959px) {
  .nav-toggle { display: inline-flex; }
  .header-cta { display: none; }
  .header-phone {
    width: 48px; height: 48px;
    justify-content: center;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    background: var(--white);
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    display: none;
    max-height: calc(100vh - var(--header-h));
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
  .primary-nav.open { display: block; }
  .primary-nav > ul { display: none; }

  /* Dim the page behind the open menu */
  .site-header:has(.primary-nav.open)::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 100vh;
    height: 100dvh;
    background: rgba(20, 40, 30, 0.4);
    z-index: 1;
  }
  .primary-nav { z-index: 2; }

  .nav-mobile {
    display: grid;
    gap: 1rem;
    padding: 1.1rem clamp(1.25rem, 5vw, 2rem) 1.25rem;
    max-width: 34rem;
    margin-inline: auto;
  }
  .nav-group-label {
    margin: 0 0 0.2rem;
    padding: 0 0.6rem;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--sage);
  }
  .primary-nav .nav-group-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.1rem 0.5rem;
  }
  .primary-nav .nav-group-links a {
    display: flex;
    align-items: center;
    min-height: 44px;
    width: auto;
    padding: 0.4rem 0.6rem;
    border-radius: 10px;
    font-size: 0.97rem;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
  }
  .primary-nav .nav-group-links a:hover { background: var(--sage-tint); color: var(--forest); }
  .primary-nav .nav-group-links a[aria-current="page"] {
    background: var(--sage-tint);
    color: var(--forest);
    font-weight: 600;
    box-shadow: none;
    border-radius: 10px;
  }
  .nav-mobile-actions {
    display: grid;
    gap: 0.6rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
  }
  .primary-nav .nav-mobile-actions .btn {
    width: 100%;
    min-height: 48px;
    justify-content: center;
    padding: 0.8rem 1.7rem;
    border-radius: 999px;
    font-size: 0.98rem;
    font-weight: 600;
  }
  .primary-nav .nav-mobile-actions .btn-primary { background: var(--terracotta); color: var(--white); }
  .primary-nav .nav-mobile-actions .btn-outline { background: transparent; color: var(--forest); border: 1.5px solid var(--forest); }
}
@media (min-width: 960px) {
  .nav-mobile { display: none; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: min(88vh, 760px);
  padding-block: clamp(4rem, 10vw, 7rem);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(20, 40, 30, 0.72) 0%, rgba(20, 40, 30, 0.42) 46%, rgba(20, 40, 30, 0.12) 100%);
}

.hero-panel {
  background: rgba(253, 251, 247, 0.96);
  border-radius: var(--radius-lg);
  border-top: 4px solid var(--gold);
  box-shadow: var(--shadow-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  max-width: 640px;
}
.hero-panel h1 { margin-bottom: var(--s-5); }
.hero-panel .lead { margin-bottom: var(--s-6); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: var(--s-4); margin-bottom: var(--s-5); }
.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.1rem;
  padding-top: var(--s-4);
  border-top: 1px solid var(--line);
  font-size: 0.86rem;
  color: var(--ink-soft);
}
.trust-line span { display: inline-flex; align-items: center; gap: 0.4rem; }
.trust-line .icon { width: 15px; height: 15px; color: var(--gold-deep); }

/* Page hero (interior) */
.page-hero {
  background:
    radial-gradient(90% 130% at 85% -20%, rgba(200, 155, 60, 0.14) 0%, rgba(200, 155, 60, 0) 55%),
    linear-gradient(180deg, var(--cream-2) 0%, var(--cream) 100%);
  border-bottom: 1px solid var(--line);
  padding-block: clamp(3.5rem, 8vw, 5.5rem) clamp(2.75rem, 7vw, 4.5rem);
}
.page-hero .lead { margin-top: var(--s-4); }

/* ---------- Quick-nav card row ---------- */
.quick-nav { margin-top: clamp(-4.5rem, -6vw, -3rem); position: relative; z-index: 5; padding-bottom: 0; }
.quick-card {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius) var(--radius) var(--radius) var(--radius);
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow-md);
  padding: 1.5rem 1.4rem;
  text-decoration: none;
  color: var(--ink);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
}
.quick-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); color: var(--ink); }
.quick-card .icon { width: 26px; height: 26px; color: var(--sage); }
.quick-card strong { font-family: var(--font-display); font-size: 1.08rem; font-weight: 600; color: var(--forest); }
.quick-card span { font-size: 0.88rem; color: var(--ink-soft); }

/* ---------- Philosophy arches ---------- */
.pillars { display: grid; gap: var(--s-5); }
@media (min-width: 760px) { .pillars { grid-template-columns: repeat(3, 1fr); } }

.pillar {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 150px 150px var(--radius-lg) var(--radius-lg);
  padding: clamp(2.2rem, 4vw, 3rem) 1.6rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.pillar-glyph {
  width: 76px;
  height: 76px;
  margin: 0 auto var(--s-4);
  border-radius: 50% 50% 12px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pillar-glyph .icon { width: 34px; height: 34px; }
.pillar:nth-child(1) .pillar-glyph { background: var(--sage-tint); color: var(--forest); }
.pillar:nth-child(2) .pillar-glyph { background: #F6EBD8; color: var(--gold-deep); }
.pillar:nth-child(3) .pillar-glyph { background: #F4E3DA; color: var(--terracotta-deep); }
.pillar h3 { margin-bottom: var(--s-2); }
.pillar p { font-size: 0.95rem; color: var(--ink-soft); }
.pillar-connector { display: flex; justify-content: center; margin-bottom: var(--s-6); }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.2rem);
  box-shadow: var(--shadow-sm);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), border-color 220ms var(--ease);
}
a.card { display: block; text-decoration: none; color: var(--ink); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.card .icon { color: var(--sage); width: 28px; height: 28px; margin-bottom: var(--s-3); }
.card h3 { margin-bottom: var(--s-2); }
.card p { font-size: 0.95rem; color: var(--ink-soft); }
.card .link-arrow { margin-top: var(--s-4); font-size: 0.92rem; }

.condition-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  text-decoration: none;
  color: var(--forest);
  font-weight: 600;
  font-size: 0.98rem;
  box-shadow: var(--shadow-sm);
  transition: transform 200ms var(--ease), border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.condition-card:hover { transform: translateY(-3px); border-color: var(--gold); box-shadow: var(--shadow-md); color: var(--forest); }
.condition-card .icon { color: var(--terracotta); width: 22px; height: 22px; }
.conditions-grid { display: grid; gap: var(--s-4); grid-template-columns: 1fr; }
@media (min-width: 560px) { .conditions-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .conditions-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- Editorial quote ---------- */
.editorial-quote {
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
  padding-block: var(--s-6);
}
.editorial-quote .quote-mark { width: 44px; height: 44px; margin: 0 auto var(--s-4); color: var(--gold); }
.editorial-quote blockquote {
  margin: 0 0 var(--s-4);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.35;
  color: var(--forest);
}
.editorial-quote cite {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sage);
}

/* ---------- Doctor feature ---------- */
.doctor-photo-wrap { display: flex; justify-content: center; }
.doctor-photo {
  width: min(300px, 78vw);
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  border: 6px solid var(--white);
  box-shadow: var(--shadow-lg);
  background: var(--sage-tint);
}
.doctor-photo img { width: 100%; height: auto; }
.credentials { list-style: none; padding: 0; margin: var(--s-5) 0 0; }
.credentials li {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  font-size: 0.96rem;
  color: var(--ink-soft);
  margin-bottom: 0.7rem;
}
.credentials .icon { width: 19px; height: 19px; color: var(--gold-deep); margin-top: 3px; }

/* ---------- Trust bar ---------- */
.trust-bar { border-block: 1px solid var(--line); background: var(--white); padding-block: var(--s-6); }
.trust-bar p {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: var(--s-5);
}
.brand-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: clamp(1.5rem, 5vw, 3.5rem);
}
.brand-logos img {
  height: 44px;
  width: auto;
  filter: grayscale(1) opacity(0.62);
  transition: filter 250ms var(--ease);
}
.brand-logos img:hover { filter: grayscale(0) opacity(1); }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin-inline: auto; }
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: var(--s-3);
  overflow: hidden;
  transition: border-color 200ms var(--ease);
}
.faq details[open] { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem 1.4rem;
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.06rem;
  color: var(--forest);
  list-style: none;
  min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 20px; height: 20px; color: var(--gold-deep); flex: none; transition: transform 250ms var(--ease); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq .faq-body { padding: 0 1.4rem 1.3rem; color: var(--ink-soft); font-size: 0.97rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(110% 160% at 90% -30%, rgba(200, 155, 60, 0.22) 0%, rgba(200, 155, 60, 0) 55%),
    var(--forest);
  color: var(--cream);
  text-align: center;
  padding-block: clamp(3.5rem, 9vw, 6rem);
}
.cta-band h2 { color: var(--cream); max-width: 20ch; margin-inline: auto; }
.cta-band h2 em { color: var(--gold); }
.cta-band p { color: rgba(253, 251, 247, 0.82); max-width: 58ch; margin-inline: auto; }
.cta-band .hero-ctas { justify-content: center; margin-top: var(--s-6); margin-bottom: 0; }

/* ---------- Feature rows ---------- */
.feature-img { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); }
.feature-img img { width: 100%; height: auto; }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li { display: flex; gap: 0.75rem; align-items: flex-start; margin-bottom: 0.85rem; }
.check-list .icon { width: 20px; height: 20px; color: var(--terracotta); margin-top: 4px; }

/* ---------- Numbered steps (first visit / protocol) ---------- */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-4); }
.steps > li {
  counter-increment: step;
  display: flex;
  gap: 1.2rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.5rem;
  margin: 0;
}
.steps > li::before {
  content: "0" counter(step);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--gold-deep);
  line-height: 1;
  padding-top: 0.2rem;
  flex: none;
}
.steps strong { display: block; font-family: var(--font-display); color: var(--forest); font-size: 1.1rem; margin-bottom: 0.3rem; }
.steps p { font-size: 0.95rem; color: var(--ink-soft); margin: 0; }

/* ---------- Protocol page ---------- */
.protocol-layout { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (min-width: 900px) {
  .protocol-layout { grid-template-columns: 250px 1fr; }
  .protocol-nav-wrap { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}
.protocol-nav {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}
.protocol-nav p {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 0.75rem;
}
.protocol-nav ol { list-style: none; margin: 0; padding: 0; }
.protocol-nav li { margin: 0; }
.protocol-nav a {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  padding: 0.6rem 0.6rem;
  border-radius: 9px;
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-soft);
  transition: background-color 180ms var(--ease), color 180ms var(--ease);
}
.protocol-nav a:hover { background: var(--sage-tint); color: var(--forest); }
.protocol-nav a b { font-family: var(--font-display); color: var(--gold-deep); font-weight: 600; font-size: 0.85rem; }
@media (max-width: 899px) {
  .protocol-nav ol { display: flex; overflow-x: auto; gap: 0.25rem; padding-bottom: 0.25rem; }
  .protocol-nav a { white-space: nowrap; }
}

.protocol-step { padding-block: var(--s-6); border-top: 1px solid var(--line); }
.protocol-step:first-of-type { border-top: 0; padding-top: 0; }
.step-marker {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: var(--s-4);
}
.step-marker .num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  font-weight: 600;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--gold-deep);
}
.step-marker .phase {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
}

/* ---------- Detail table (metals) ---------- */
.detail-table-wrap details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  margin-top: var(--s-4);
}
.detail-table-wrap summary {
  padding: 1rem 1.3rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--forest);
  min-height: 44px;
}
.table-scroll { overflow-x: auto; padding: 0 1.3rem 1.3rem; }
.table-scroll table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 0.92rem; }
.table-scroll th, .table-scroll td { text-align: left; padding: 0.65rem 0.9rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.table-scroll th { font-family: var(--font-display); color: var(--forest); white-space: nowrap; }
.table-scroll td { color: var(--ink-soft); }

/* ---------- Downloads / resources ---------- */
.download-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow-sm);
}
.download-card h3 { margin-bottom: 0.15rem; font-size: 1.12rem; }
.download-card p { font-size: 0.93rem; color: var(--ink-soft); margin-bottom: 0.6rem; }
.download-links { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: auto; }
.download-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 44px;
  padding: 0.5rem 1.1rem;
  border: 1.5px solid var(--forest);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--forest);
  transition: background-color 180ms var(--ease), color 180ms var(--ease);
}
.download-links a:hover { background: var(--forest); color: var(--cream); }
.download-links .icon { width: 16px; height: 16px; }

.topic-pills { display: flex; flex-wrap: wrap; gap: 0.6rem; padding: 0; margin: var(--s-4) 0; list-style: none; }
.topic-pills li {
  background: var(--sage-tint);
  border: 1px solid rgba(82, 121, 111, 0.25);
  color: var(--forest);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  margin: 0;
}

/* ---------- Store ---------- */
.brand-card { display: flex; flex-direction: column; }
.brand-card .brand-logo {
  height: 72px;
  display: flex;
  align-items: center;
  margin-bottom: var(--s-4);
}
.brand-card .brand-logo img { max-height: 64px; width: auto; max-width: 190px; }
.brand-card .link-arrow { margin-top: auto; font-size: 0.9rem; }

.product-card {
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.2rem;
  box-shadow: var(--shadow-sm);
}
.product-card img { margin: 0 auto var(--s-3); border-radius: 8px; }
.product-card strong { display: block; font-family: var(--font-display); color: var(--forest); margin-bottom: 0.2rem; }
.product-card span { font-size: 0.85rem; color: var(--ink-soft); }

.note-box {
  background: var(--cream-2);
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

/* ---------- Contact ---------- */
.office-card { display: flex; flex-direction: column; gap: var(--s-4); padding: 0; overflow: hidden; }
.office-card .office-map { aspect-ratio: 16 / 10; width: 100%; }
.office-card .office-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.office-card .office-map img { width: 100%; height: 100%; object-fit: cover; display: block; }
.office-card .office-body { padding: 0 clamp(1.4rem, 3vw, 2rem) clamp(1.4rem, 3vw, 2rem); }
.office-card address { font-style: normal; color: var(--ink-soft); margin-bottom: var(--s-3); }
.contact-lines { list-style: none; padding: 0; margin: 0 0 var(--s-4); }
.contact-lines li { display: flex; align-items: center; gap: 0.65rem; margin-bottom: 0.55rem; font-size: 0.96rem; }
.contact-lines .icon { width: 18px; height: 18px; color: var(--sage); }
.contact-lines a { text-decoration: none; font-weight: 500; }
.contact-lines a:hover { text-decoration: underline; }

/* ---------- Legal pages ---------- */
.legal-body h2 { font-size: 1.5rem; margin-top: var(--s-7); }
.legal-body h2:first-of-type { margin-top: 0; }
.legal-body p, .legal-body li { color: var(--ink-soft); font-size: 0.98rem; }
.legal-body strong { color: var(--ink); }
.legal-meta { color: var(--sage); font-weight: 600; font-size: 0.9rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--forest-deep);
  color: rgba(253, 251, 247, 0.85);
  padding-block: clamp(3rem, 7vw, 4.5rem) var(--s-5);
  font-size: 0.94rem;
}
.footer-grid { display: grid; gap: var(--s-6); margin-bottom: var(--s-7); }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 0.8fr 1.2fr; gap: var(--s-7); } }

.site-footer h3 {
  color: var(--cream);
  font-size: 1.05rem;
  margin-bottom: var(--s-4);
}
.footer-brand .brand-name { color: var(--cream); font-size: 1.3rem; }
.footer-brand .brand-name small { color: var(--gold); }
.footer-brand p { margin-top: var(--s-4); color: rgba(253, 251, 247, 0.72); max-width: 34ch; }
.site-footer a { color: rgba(253, 251, 247, 0.88); text-decoration: none; }
.site-footer a:hover { color: var(--gold); text-decoration: underline; text-decoration-color: var(--gold); }
.footer-contact { list-style: none; padding: 0; margin: var(--s-4) 0 0; }
.footer-contact li { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.6rem; }
.footer-contact .icon { width: 17px; height: 17px; color: var(--gold); }
.footer-nav ul { list-style: none; padding: 0; margin: 0; }
.footer-nav li { margin-bottom: 0.55rem; }
.footer-offices address { font-style: normal; line-height: 1.6; color: rgba(253, 251, 247, 0.72); margin-bottom: var(--s-4); }
.footer-offices strong { color: var(--cream); display: block; margin-bottom: 0.2rem; }

.footer-legal {
  border-top: 1px solid rgba(253, 251, 247, 0.16);
  padding-top: var(--s-5);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.75rem;
  align-items: center;
  font-size: 0.84rem;
  color: rgba(253, 251, 247, 0.6);
}
.footer-legal .disclaimer { flex-basis: 100%; margin-top: 0.35rem; font-style: italic; }

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 200;
  background: var(--forest-deep);
  color: var(--cream);
  padding: 1.1rem clamp(1.25rem, 5vw, 2.5rem);
  display: none;
  box-shadow: 0 -8px 30px rgba(20, 40, 30, 0.3);
}
.cookie-banner.visible { display: block; }
.cookie-inner {
  max-width: 1160px;
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
}
.cookie-inner p { margin: 0; flex: 1 1 380px; font-size: 0.9rem; color: rgba(253, 251, 247, 0.9); }
.cookie-inner a { color: var(--gold); }
.cookie-actions { display: flex; gap: 0.75rem; }
.cookie-actions .btn { min-height: 44px; padding: 0.55rem 1.4rem; font-size: 0.9rem; }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 650ms var(--ease), transform 650ms var(--ease);
}
.reveal.in-view { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Small screens ---------- */
@media (max-width: 559px) {
  .hero { min-height: 0; }
  .hero-ctas .btn { width: 100%; }
  .cta-band .hero-ctas .btn { width: 100%; }
  .brand-logos img { height: 34px; }
  .steps > li { flex-direction: column; gap: 0.5rem; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer, .cookie-banner, .cta-band, .nav-toggle { display: none; }
  body { background: #fff; color: #000; }
}

/* About page logo */
.about-logo { margin: 0 0 1.75rem; }
.about-logo img { display: block; width: min(300px, 64vw); height: auto; }

/* soft rounded frame (wide product images) */
.frame-soft { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); background: #fff; }
.frame-soft img { width: 100%; height: auto; display: block; }

/* header brand: angel mark + text, single row */
.logo-m { height: 56px; width: auto; max-width: none; display: block; }
.site-header .brand, .site-header .wordmark { flex: 0 0 auto; }
@media (min-width: 960px) {
  .primary-nav a { padding-inline: 0.35rem; }
}
@media (min-width: 960px) {
  .header-phone span { display: none; }
}
@media (min-width: 960px) and (max-width: 1359px) {
  .brand .brand-name { display: none; }
}
@media (min-width: 960px) and (max-width: 1180px) {
  .site-header .header-cta { display: none; }
}
@media (max-width: 959px) { .logo-m { height: 48px; } }

/* anti-occlusion: brand never overlapped by menu */
.site-header .brand .brand-name { white-space: nowrap; }

/* mobile header squeeze: nowrap brand caused 39px overflow at 390px */
@media (max-width: 599px) {
  .header-inner { gap: 0.5rem; }
  .brand { gap: 0.5rem; }
  .header-actions { gap: 0.5rem; }
  .logo-m { height: 44px; }
  .brand-name { font-size: clamp(0.8rem, 4.2vw, 1rem); }
  .brand-name small { font-size: 0.55rem; letter-spacing: 0.18em; }
}
@media (max-width: 379px) {
  .logo-m { height: 40px; }
  .header-phone, .nav-toggle { width: 44px; height: 44px; }
}
