/* ============================================================
   Dr. Salma Afroz — Homoeopathic practice
   1. Tokens          5. Sections
   2. Base & utility  6. Footer
   3. Header          7. Motion
   4. Hero            8. Responsive
   ============================================================ */

/* 1. Tokens ------------------------------------------------ */
:root {
  --ink: #16332c;
  --forest: #173f35;
  --forest-deep: #0d2620;
  --forest-mid: #2c5a4c;
  --sage: #dfe7dc;
  --sage-soft: #eaf0e6;
  --cream: #f6f1e7;
  --paper: #fffdf8;
  --terra: #b75c3c;
  --terra-soft: #d98f6b;
  --gold: #c9a15c;
  --muted: #57706a;
  --muted-light: #c3d0cb;
  --line: rgba(22, 51, 44, 0.14);
  --line-strong: rgba(22, 51, 44, 0.24);
  --line-invert: rgba(255, 255, 255, 0.16);

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;
  --r-pill: 999px;

  --shadow-sm: 0 6px 18px rgba(13, 38, 32, 0.06);
  --shadow-md: 0 18px 42px rgba(13, 38, 32, 0.1);
  --shadow-lg: 0 34px 80px rgba(9, 30, 25, 0.18);
  --glass-edge: inset 0 1px 0 rgba(255, 255, 255, 0.8);

  --header-h: 92px;
  /* Viewport-based so every section, the header and the hero share one edge. */
  --gutter: max(clamp(1.25rem, 6vw, 6rem), calc((100vw - 1460px) / 2));
  --ease: cubic-bezier(0.22, 0.68, 0.32, 1);
}

/* 2. Base & utility ---------------------------------------- */
* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.68;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* A whisper of paper tooth over the whole page. */
.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.4;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.22'/%3E%3C/svg%3E");
}

a { color: inherit; }
img { max-width: 100%; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.04;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(3.1rem, 6vw, 6.4rem); letter-spacing: -0.045em; max-width: 15ch; }
h2 { font-size: clamp(2.4rem, 4.4vw, 4.2rem); letter-spacing: -0.035em; }
h3 { font-size: 1.65rem; letter-spacing: -0.02em; }

.eyebrow,
.section-number {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.1rem;
  color: var(--terra);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.7rem;
  font-weight: 600;
}
.eyebrow::before,
.section-number::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: -6rem;
  z-index: 200;
  background: var(--paper);
  border-radius: var(--r-sm);
  padding: 0.8rem 1.2rem;
  box-shadow: var(--shadow-md);
  font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:where(a, button, summary, details):focus-visible {
  outline: 2px solid var(--terra);
  outline-offset: 4px;
  border-radius: 4px;
}

/* Buttons */
.button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  padding: 1rem 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--r-pill);
  /* Two background layers, not an overlay element: the terracotta layer wipes
     across on hover and can never paint over the label. */
  background-color: var(--forest);
  background-image:
    linear-gradient(135deg, var(--terra) 0%, #c96f45 100%),
    linear-gradient(135deg, var(--forest) 0%, #21584a 100%);
  background-repeat: no-repeat;
  background-size: 0% 100%, 100% 100%;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  box-shadow: 0 12px 28px rgba(13, 38, 32, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform 0.28s var(--ease), box-shadow 0.28s var(--ease), background-size 0.35s var(--ease);
  overflow: hidden;
}
.button:hover {
  transform: translateY(-2px);
  background-size: 100% 100%, 100% 100%;
  box-shadow: 0 18px 36px rgba(122, 55, 33, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.26);
}
.button-arrow { transition: transform 0.28s var(--ease); }
.button:hover .button-arrow { transform: translateX(4px); }
.button-small { padding: 0.72rem 1.25rem; font-size: 0.82rem; }
.button-wide { width: 100%; justify-content: space-between; margin-top: 2rem; }

.text-link {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding-bottom: 2px;
  background-image: linear-gradient(var(--terra), var(--terra));
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: 0 100%;
  box-shadow: inset 0 -1px 0 var(--line-strong);
  transition: background-size 0.35s var(--ease), color 0.25s var(--ease);
}
.text-link:hover { color: var(--terra); background-size: 100% 1px; }

/* 3. Header ------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  height: var(--header-h);
  padding: 0 var(--gutter);
  background: rgba(246, 241, 231, 0.86);
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s var(--ease), border-color 0.35s var(--ease),
    box-shadow 0.35s var(--ease), height 0.35s var(--ease);
}
.site-header.scrolled {
  height: 76px;
  background: rgba(255, 253, 248, 0.7);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: 0 12px 40px rgba(13, 38, 32, 0.12), inset 0 -1px 0 var(--line);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  backdrop-filter: blur(20px) saturate(150%);
}

.scroll-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  overflow: hidden;
}
.scroll-progress i {
  display: block;
  height: 100%;
  width: var(--progress, 0%);
  background: linear-gradient(90deg, var(--terra), var(--gold));
  transition: width 0.12s linear;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-right: auto;
  text-decoration: none;
  line-height: 1.25;
  min-width: 0;
}
.brand-mark {
  display: grid;
  place-items: center;
  flex: none;
  width: 44px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(120% 120% at 30% 20%, #2f6354 0%, var(--forest) 60%);
  color: var(--paper);
  font: 500 1.4rem/1 var(--serif);
  box-shadow: 0 6px 18px rgba(13, 38, 32, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
}
.brand-mark::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 1px solid rgba(183, 92, 60, 0.35);
}
.brand-text { min-width: 0; }
.brand-text strong { display: block; font-size: 1rem; letter-spacing: -0.01em; }
.brand-text small { display: block; font-size: 0.68rem; letter-spacing: 0.04em; color: var(--muted); }
.brand-membership {
  color: var(--terra) !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em !important;
  font-size: 0.6rem !important;
  margin: 0.15rem 0 0.1rem;
}

#site-nav { display: flex; gap: clamp(1rem, 2.2vw, 2rem); }
#site-nav a {
  position: relative;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  padding: 0.35rem 0;
  color: var(--ink);
  transition: color 0.25s var(--ease);
}
#site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--terra);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
#site-nav a:hover { color: var(--terra); }
#site-nav a:hover::after,
#site-nav a.active::after { transform: scaleX(1); }
#site-nav a.active { color: var(--terra); }

.menu-button { display: none; }

/* 4. Hero -------------------------------------------------- */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: stretch;
  min-height: calc(100svh - var(--header-h));
  background:
    radial-gradient(70% 60% at 8% 0%, rgba(223, 231, 220, 0.9) 0%, transparent 60%),
    radial-gradient(50% 50% at 100% 100%, rgba(217, 143, 107, 0.14) 0%, transparent 65%),
    var(--cream);
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  width: 46vw;
  aspect-ratio: 1;
  left: -14vw;
  top: 12%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(183, 92, 60, 0.16) 0%, transparent 65%);
  filter: blur(20px);
  animation: float 16s ease-in-out infinite;
  pointer-events: none;
}
.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(3.5rem, 7vw, 7rem) clamp(2rem, 5vw, 5rem) clamp(4.5rem, 7vw, 7rem) var(--gutter);
}
.hero-intro {
  max-width: 54ch;
  margin: 1.7rem 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.15vw, 1.12rem);
}

.member-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  width: fit-content;
  margin: 1.6rem 0 0;
  padding: 0.55rem 1.1rem 0.55rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--r-pill);
  background: rgba(255, 253, 248, 0.75);
  box-shadow: var(--shadow-sm), var(--glass-edge);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--forest);
}
.member-badge-icon {
  display: grid;
  place-items: center;
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--paper);
}
.member-badge-icon svg { width: 17px; height: 17px; }

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  flex-wrap: wrap;
  margin-top: 2.2rem;
}

.quick-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin: 3.2rem 0 0;
  padding-top: 2.2rem;
  border-top: 1px solid var(--line);
}
.quick-facts dt {
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.quick-facts dd { margin: 0.35rem 0 0; font-size: 0.86rem; font-weight: 500; }
.quick-facts dd + dd { margin-top: 0.15rem; color: var(--muted); font-weight: 400; font-size: 0.8rem; }

.hero-image {
  position: relative;
  margin: 0;
  min-height: 620px;
  padding: clamp(1.25rem, 2.5vw, 2.25rem);
}
.hero-frame {
  position: absolute;
  inset: clamp(2.25rem, 4vw, 3.5rem) clamp(2.25rem, 4vw, 3.5rem) auto auto;
  width: 46%;
  height: 55%;
  border: 1px solid rgba(183, 92, 60, 0.35);
  border-radius: var(--r-lg);
  transform: translate(clamp(0.75rem, 1.5vw, 1.4rem), calc(-1 * clamp(0.75rem, 1.5vw, 1.4rem)));
  pointer-events: none;
}
.hero-image img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
}
.hero-image figcaption {
  position: absolute;
  left: clamp(2.25rem, 4vw, 3.5rem);
  bottom: clamp(2.25rem, 4vw, 3.5rem);
  min-width: 220px;
  padding: 1rem 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--r-md);
  background: rgba(255, 253, 248, 0.84);
  box-shadow: var(--shadow-md), var(--glass-edge);
  -webkit-backdrop-filter: blur(14px) saturate(135%);
  backdrop-filter: blur(14px) saturate(135%);
}
.hero-image figcaption span { display: block; font: 400 1.1rem var(--serif); }
.hero-image figcaption small { display: block; color: var(--muted); font-size: 0.74rem; }

.scroll-cue {
  position: absolute;
  left: var(--gutter);
  bottom: 1.8rem;
  z-index: 2;
  display: grid;
  place-items: start center;
  width: 18px;
  height: 46px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
}
.scroll-cue span {
  width: 3px;
  height: 8px;
  margin-top: 7px;
  border-radius: var(--r-pill);
  background: var(--terra);
  animation: cue 1.8s var(--ease) infinite;
}

/* Marquee */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 1.05rem 0;
  background: linear-gradient(90deg, var(--forest-deep), var(--forest) 45%, #205044 100%);
  color: #f2e9dd;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.73rem;
  font-weight: 500;
}
.marquee-track { display: flex; width: max-content; animation: marquee 26s linear infinite; }
.marquee-group {
  flex: none;
  width: 100vw;
  display: flex;
  align-items: center;
  justify-content: space-around;
}
.marquee i { color: var(--terra-soft); padding: 0 1rem; }

/* 5. Sections ---------------------------------------------- */
.section { padding: clamp(5rem, 9vw, 8.5rem) var(--gutter); }

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 3rem;
  margin-bottom: 4rem;
}
.section-heading > p { max-width: 46ch; color: var(--muted); margin: 0; }

/* About */
.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(3rem, 7vw, 8rem);
}
.about-aside { align-self: start; position: sticky; top: calc(var(--header-h) + 2rem); }
.about-plaque {
  display: flex;
  gap: 1rem;
  margin-top: 2.5rem;
  padding: 1.6rem 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--r-md);
  background: rgba(255, 253, 248, 0.7);
  box-shadow: var(--shadow-sm), var(--glass-edge);
}
.about-plaque span { color: var(--terra); font: 400 2rem/1 var(--serif); }
.about-plaque p { margin: 0; font: italic 300 1.1rem/1.5 var(--serif); color: var(--forest); }

.lead { font: 300 clamp(1.5rem, 2.5vw, 2.4rem)/1.32 var(--serif); margin: 0 0 1.8rem; letter-spacing: -0.02em; }
.prose > p:not(.lead) { max-width: 62ch; color: var(--muted); }

.credentials { margin-top: 2.8rem; border-top: 1px solid var(--line); }
.credentials p {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  transition: padding-left 0.3s var(--ease), color 0.3s var(--ease);
}
.credentials p:hover { padding-left: 0.5rem; color: var(--forest); }
.credentials span {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(183, 92, 60, 0.5);
  border-radius: 50%;
  background: rgba(183, 92, 60, 0.07);
  color: var(--terra);
  font-size: 0.7rem;
}

/* Approach */
.approach { background: var(--paper); }
.consultation-modes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 4.5rem;
}
.consultation-modes article {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  min-height: 190px;
  padding: 1.8rem;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(234, 240, 230, 0.9), rgba(223, 231, 220, 0.6));
  box-shadow: var(--shadow-sm), var(--glass-edge);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.consultation-modes article::before {
  content: "";
  position: absolute;
  inset: auto -30% -55% auto;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(183, 92, 60, 0.14), transparent 70%);
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}
.consultation-modes article:hover { transform: translateY(-5px); box-shadow: var(--shadow-md), var(--glass-edge); }
.consultation-modes article:hover::before { opacity: 1; }
.consultation-modes .mode-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--forest);
  color: var(--paper);
  box-shadow: 0 8px 18px rgba(13, 38, 32, 0.22);
}
.consultation-modes .mode-icon svg { width: 22px; height: 22px; }
.consultation-modes h3 { position: relative; font-size: 1.35rem; margin: 0 0 0.5rem; }
.consultation-modes p { position: relative; margin: 0; color: var(--muted); font-size: 0.9rem; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); }
.step { position: relative; padding: 2.4rem 2.2rem 0.5rem 0; border-right: 1px solid var(--line); }
.step + .step { padding-left: 2.2rem; }
.step:last-child { border-right: 0; padding-right: 0; }
.step::before {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--terra);
  box-shadow: 0 0 0 5px rgba(183, 92, 60, 0.13);
}
.step + .step::before { left: 2.2rem; }
.step > span { color: var(--terra); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; }
.step h3 { margin: 2.4rem 0 0.9rem; }
.step p { color: var(--muted); margin: 0; }

/* Areas of interest */
.support {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(3rem, 8vw, 8rem);
  background: linear-gradient(180deg, var(--sage) 0%, #d7e2d4 100%);
}
.support > div:first-child p:last-child { max-width: 44ch; color: var(--muted); }
.area-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.9rem; align-content: start; }
.area-list div {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 1.3rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: var(--r-md);
  background: rgba(255, 253, 248, 0.62);
  box-shadow: var(--glass-edge);
  transition: transform 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.area-list div:hover {
  transform: translateY(-3px);
  background: var(--paper);
  box-shadow: var(--shadow-md), var(--glass-edge);
}
.area-list span {
  display: block;
  color: var(--terra);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  grid-column: 1 / -1;
  margin-bottom: 0.2rem;
}
.area-list p { margin: 0; font: 400 1.22rem/1.3 var(--serif); }
.area-list i {
  font-style: normal;
  color: var(--terra);
  opacity: 0.5;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.area-list div:hover i { transform: translate(3px, -3px); opacity: 1; }

/* Prepare */
.prepare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 6rem);
  background: var(--cream);
}
.prepare-heading { align-self: start; }
.prepare-heading > p:not(.section-number) { color: var(--muted); max-width: 48ch; }

/* Left column: the notes, one card per entry in preparation.notes. */
.note-list {
  list-style: none;
  display: grid;
  gap: 0.7rem;
  margin: 2.2rem 0 0;
  padding: 0;
  max-width: 52ch;
}
.note-list li {
  display: flex;
  gap: 0.85rem;
  padding: 0.95rem 1.2rem;
  border: 1px solid rgba(183, 92, 60, 0.18);
  border-radius: var(--r-md);
  background: linear-gradient(135deg, rgba(183, 92, 60, 0.09), rgba(201, 161, 92, 0.06));
}
.note-list li > span { flex: none; color: var(--terra); font-size: 0.85rem; line-height: 1.75; }
.note-list p { margin: 0; font-size: 0.9rem; }
/* Right column: hugs its own content and sits centred against the left column. */
.prepare-panel {
  align-self: center;
  display: flex;
  flex-direction: column;
  padding: clamp(1.6rem, 3vw, 2.6rem);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--r-xl);
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(183, 92, 60, 0.07) 0%, transparent 55%),
    rgba(255, 253, 248, 0.82);
  box-shadow: var(--shadow-md), var(--glass-edge);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.panel-intro {
  margin: 0 0 0.4rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line-strong);
  font: 400 clamp(1.15rem, 1.5vw, 1.4rem)/1.35 var(--serif);
  color: var(--forest);
}
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  display: grid;
  grid-template-columns: 46px 1fr;
  align-items: baseline;
  gap: 0.5rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.3s var(--ease);
}
.checklist li:hover { padding-left: 0.4rem; }
.checklist li:last-child { border-bottom: 0; padding-bottom: 0.2rem; }
.checklist li > span {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(183, 92, 60, 0.35);
  border-radius: 50%;
  background: rgba(183, 92, 60, 0.07);
  color: var(--terra);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.checklist p { margin: 0; }

/* Resources */
.resources {
  background: linear-gradient(165deg, var(--forest) 0%, var(--forest-deep) 100%);
  color: var(--paper);
}
.resources .section-number { color: var(--terra-soft); }
.resources .section-heading > p { color: var(--muted-light); }
.resource-grid { border-top: 1px solid var(--line-invert); }
.resource-card {
  display: grid;
  grid-template-columns: 0.35fr 1fr 1.15fr;
  gap: 2rem;
  align-items: start;
  padding: 2.2rem 1rem 2.2rem 0;
  border-bottom: 1px solid var(--line-invert);
  border-radius: var(--r-md);
  transition: background 0.35s var(--ease), padding 0.35s var(--ease);
}
.resource-card:hover { background: rgba(255, 255, 255, 0.05); padding-left: 1.2rem; padding-right: 1.2rem; }
.resource-card > p {
  margin: 0.4rem 0 0;
  color: var(--terra-soft);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.68rem;
  font-weight: 600;
}
.resource-card h3 { font-size: 1.55rem; }
.resource-card div { display: flex; flex-direction: column; gap: 1.2rem; color: var(--muted-light); font-size: 0.92rem; }
.resource-card a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: max-content;
  color: var(--paper);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.82rem;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--terra-soft);
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.resource-card a:hover { gap: 0.85rem; color: var(--terra-soft); }
.resource-card i { color: var(--terra-soft); font-style: normal; }
.resource-disclaimer { max-width: 78ch; margin: 1.8rem 0 0; color: rgba(195, 208, 203, 0.75); font-size: 0.76rem; }

/* FAQ */
.faq-section {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(3rem, 8vw, 9rem);
  background: var(--paper);
}
.faq-intro { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
.faq-intro > p:last-child { color: var(--muted); max-width: 36ch; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.5rem 0;
  font: 400 clamp(1.15rem, 1.6vw, 1.35rem)/1.35 var(--serif);
  transition: color 0.25s var(--ease);
}
.faq-list summary:hover { color: var(--terra); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary i {
  position: relative;
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.faq-list summary i::before,
.faq-list summary i::after {
  content: "";
  position: absolute;
  width: 12px;
  height: 1px;
  background: var(--terra);
  transition: transform 0.3s var(--ease);
}
.faq-list summary i::after { transform: rotate(90deg); }
.faq-list details[open] summary i { background: rgba(183, 92, 60, 0.1); border-color: rgba(183, 92, 60, 0.4); }
.faq-list details[open] summary i::after { transform: rotate(0); }
.faq-list details[open] summary { color: var(--terra); }
.faq-answer { overflow: hidden; animation: faq-open 0.4s var(--ease); }
.faq-answer p { color: var(--muted); max-width: 68ch; margin: -0.2rem 3rem 1.8rem 0; }

/* Contact */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(183, 92, 60, 0.22) 0%, transparent 60%),
    linear-gradient(160deg, var(--forest) 0%, var(--forest-deep) 100%);
  color: var(--paper);
}
.contact .section-number { color: var(--terra-soft); }
.contact-copy p:last-child { color: var(--muted-light); max-width: 46ch; }
.contact-card {
  padding: clamp(1.6rem, 3vw, 2.6rem);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--r-xl);
  background: rgba(255, 253, 248, 0.92);
  color: var(--ink);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  backdrop-filter: blur(18px) saturate(130%);
}
.contact-name {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding-bottom: 1.6rem;
  margin-bottom: 0.6rem;
  border-bottom: 1px solid var(--line);
}
.contact-name strong { display: block; font: 400 1.5rem var(--serif); }
.contact-name small { display: block; color: var(--muted); font-size: 0.82rem; }
.contact-name .contact-tagline { margin-top: 0.1rem; font-size: 0.76rem; opacity: 0.8; }
.contact-details div {
  display: grid;
  grid-template-columns: 34px 84px 1fr;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
}
.contact-details div:last-child { border-bottom: 0; }
.contact-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(23, 63, 53, 0.07);
  color: var(--forest);
}
.contact-icon svg { width: 16px; height: 16px; }
.contact-details > div > span:not(.contact-icon) {
  color: var(--muted);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.contact-details p, .contact-details a { margin: 0; font-size: 0.9rem; overflow-wrap: anywhere; }
.contact-details a { text-decoration: none; border-bottom: 1px solid var(--line-strong); transition: color 0.25s var(--ease); }
.contact-details a:hover { color: var(--terra); border-color: var(--terra); }

/* 6. Footer ------------------------------------------------ */
footer {
  position: relative;
  z-index: 2;
  padding: clamp(3rem, 5vw, 4.5rem) var(--gutter) 2.5rem;
  background: #0a201b;
  color: var(--muted-light);
  font-size: 0.78rem;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding-bottom: 2.2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--line-invert);
}
.footer-identity { display: flex; align-items: center; gap: 1rem; }
.footer-identity strong { display: block; color: var(--paper); font: 400 1.2rem var(--serif); }
.footer-identity > div span { display: block; font-size: 0.74rem; }
.footer-membership { color: var(--terra-soft); font-weight: 600; letter-spacing: 0.04em; margin: 0.15rem 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer-nav a { text-decoration: none; font-size: 0.8rem; color: rgba(255, 253, 248, 0.82); transition: color 0.25s var(--ease); }
.footer-nav a:hover { color: var(--terra-soft); }
footer p { margin: 0; max-width: 84ch; line-height: 1.7; }
.footer-legal { margin-top: 1.5rem; color: rgba(195, 208, 203, 0.6); }

.to-top {
  position: fixed;
  right: clamp(1rem, 2.5vw, 2rem);
  bottom: clamp(1rem, 2.5vw, 2rem);
  z-index: 90;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 253, 248, 0.86);
  color: var(--forest);
  text-decoration: none;
  box-shadow: var(--shadow-md);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--forest); color: var(--paper); }

/* 7. Motion ------------------------------------------------ */
/* Only hide reveal content when scripting is available to bring it back. */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease) var(--reveal-delay, 0s), transform 0.7s var(--ease) var(--reveal-delay, 0s);
}
.js .reveal.visible { opacity: 1; transform: none; }

@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(3vw, 4vh) scale(1.08); }
}
@keyframes cue {
  0% { transform: translateY(0); opacity: 0; }
  35% { opacity: 1; }
  100% { transform: translateY(20px); opacity: 0; }
}
@keyframes faq-open {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee-track, .hero-glow, .scroll-cue span, .faq-answer { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: 0.01ms !important; }
}

/* 8. Responsive -------------------------------------------- */
/* Only band where the nav and a three-line brand compete for the same row. */
@media (min-width: 1081px) and (max-width: 1180px) {
  .brand-text .brand-membership { display: none; }
  #site-nav { gap: 1.1rem; }
}

@media (max-width: 1080px) {
  :root { --header-h: 74px; }
  .site-header.scrolled { height: 68px; }
  .header-cta { display: none; }
  .menu-button {
    display: grid;
    gap: 5px;
    border: 0;
    background: none;
    padding: 0.7rem;
    cursor: pointer;
    order: 3;
  }
  .menu-button span:not(.sr-only) {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--ink);
    border-radius: 2px;
    transition: transform 0.3s var(--ease), opacity 0.2s var(--ease);
  }
  .menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .menu-button[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-button[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  #site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    gap: 0;
    padding: 1rem clamp(1.25rem, 6vw, 6rem) 1.75rem;
    background: rgba(255, 253, 248, 0.96);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
  }
  #site-nav.open { display: flex; }
  #site-nav a { padding: 0.85rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  #site-nav a::after { display: none; }

  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { padding: 4rem var(--gutter) 3.5rem; }
  .hero-image { min-height: 72vw; padding: 0 var(--gutter) 3rem; }
  .hero-frame { display: none; }
  .hero-image figcaption { left: calc(var(--gutter) + 1.25rem); bottom: 4.25rem; }
  .scroll-cue { display: none; }

  .split, .support, .prepare, .faq-section, .contact { grid-template-columns: 1fr; }
  .about-aside, .faq-intro { position: static; }
  .section-heading { flex-direction: column; align-items: start; gap: 1.25rem; }
  .consultation-modes, .steps { grid-template-columns: 1fr; }
  .step, .step + .step {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding: 2rem 0 1.6rem;
  }
  .step + .step::before { left: 0; }
  .step:last-child { border-bottom: 0; }
  .resource-card { grid-template-columns: 1fr; gap: 0.85rem; }
  .resource-card:hover { padding-left: 0; padding-right: 0; }
  .footer-inner { flex-direction: column; align-items: start; }
}

@media (max-width: 640px) {
  h1 { font-size: clamp(2.6rem, 11vw, 3.4rem); }
  .hero-image { min-height: 100vw; }
  .quick-facts { grid-template-columns: 1fr 1fr; }
  .area-list { grid-template-columns: 1fr; }
  .marquee-group { width: max-content; min-width: 200vw; }
  .contact-details div { grid-template-columns: 34px 1fr; row-gap: 0.2rem; }
  .contact-details > div > span:not(.contact-icon) { grid-column: 2; }
  .contact-details p, .contact-details a { grid-column: 2; }
  .faq-answer p { margin-right: 0; }
  .button { width: 100%; }
  .hero-actions { gap: 1.1rem; }
}

@media (max-width: 420px) {
  .brand-text small:not(.brand-membership) { display: none; }
  .quick-facts { grid-template-columns: 1fr; }
}
