/* Certified Spaces — futuristic-biophilic editorial system
   Palette + type per HGCS build spec (Certified_Spaces_Base44_Build_Instructions.md) */

:root {
  --pine: #3F5A39;
  --moss: #56683F;
  --sage: #6F8159;
  --soft-sage: #7D9163;
  --warm-white: #F7F6F0;
  --linen: #F1ECE0;
  --pale-sage: #E8EFE1;
  --stone: #DCDCD2;
  --charcoal: #333333;
  --warm-gray: #8A8A80;
  --brass: #9C7A3C;
  --lime: #C7F04A;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", -apple-system, system-ui, sans-serif;
  --mono: "JetBrains Mono", "SFMono-Regular", ui-monospace, "Menlo", monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--warm-white);
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--lime); color: var(--pine); }
img { max-width: 100%; display: block; }
a { color: var(--sage); }

/* grain texture over the whole page */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- typography ---------- */
h1, h2, h3, .serif { font-family: var(--serif); font-weight: 500; color: var(--pine); }
h1 { font-size: clamp(3rem, 8vw, 6rem); line-height: 1.0; letter-spacing: -0.015em; }
h2 { font-size: clamp(1.9rem, 4.4vw, 3.2rem); line-height: 1.08; }
h3 { font-size: 1.35rem; }
.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: var(--sage);
  margin-bottom: 1rem;
}
.lede { font-size: clamp(1.02rem, 1.5vw, 1.2rem); color: var(--warm-gray); max-width: 36em; }

.container { max-width: 1240px; margin: 0 auto; padding: 0 clamp(1.25rem, 4vw, 3rem); }
section { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.hairline { border: 0; border-top: 1px solid var(--stone); }

/* ---------- nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 246, 240, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--stone);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem clamp(1.25rem, 4vw, 3rem);
  max-width: 1240px;
  margin: 0 auto;
}
.nav__brand { font-family: var(--serif); font-size: 1.3rem; color: var(--pine); text-decoration: none; }
.nav__brand small { display: block; font-family: var(--sans); font-size: 0.62rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--warm-gray); }
.nav__tabs { display: flex; gap: 1.6rem; list-style: none; }
.nav__tabs a {
  text-decoration: none;
  color: var(--charcoal);
  font-size: 0.88rem;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}
.nav__tabs a:hover { border-color: var(--soft-sage); }
.nav__tabs a.active { border-color: var(--pine); color: var(--pine); font-weight: 600; }
.nav__tabs .soon { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--warm-gray); vertical-align: super; margin-left: 2px; }
.btn {
  display: inline-block;
  background: var(--pine);
  color: var(--warm-white);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  border: 1px solid var(--pine);
  transition: background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}
.btn:hover { background: var(--moss); box-shadow: 0 0 0 3px var(--lime); }
.btn--ghost { background: transparent; color: var(--pine); }
.btn--ghost:hover { background: var(--pale-sage); box-shadow: none; }

@media (max-width: 760px) {
  .nav__inner { flex-wrap: wrap; }
  .nav__tabs {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-top: 0.6rem;
    gap: 1.2rem;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .nav__tabs::-webkit-scrollbar { display: none; }
}

/* ---------- custom cursor ---------- */
@media (pointer: fine) {
  html.has-cursor, html.has-cursor a, html.has-cursor button,
  html.has-cursor input, html.has-cursor select, html.has-cursor textarea,
  html.has-cursor .chip, html.has-cursor .card { cursor: none; }
}
.cursor-dot, .cursor-ring {
  position: fixed;
  top: -3px;
  left: -3px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 200;
  will-change: transform;
}
.cursor-dot { width: 6px; height: 6px; background: var(--pine); margin: -3px 0 0 -3px; top: 0; left: 0; }
.cursor-ring {
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  top: 0;
  left: 0;
  border: 1px solid rgba(111, 129, 89, 0.55);
  transition: width 0.25s ease, height 0.25s ease, margin 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}
.cursor-ring--active {
  width: 48px;
  height: 48px;
  margin: -24px 0 0 -24px;
  border-color: var(--sage);
  background: rgba(199, 240, 74, 0.12);
}
@media (pointer: coarse) { .cursor-dot, .cursor-ring { display: none; } }

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: clamp(3rem, 6vw, 5rem) 0;
}
#ambient {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero__content { position: relative; z-index: 1; will-change: transform, opacity; }
.hero--short { min-height: 52vh; text-align: left; }
.hero--short .hero__content { width: 100%; }
.scroll-cue {
  margin-top: 2.6rem;
  font-size: 1.1rem;
  color: var(--sage);
  animation: cue 2.8s ease-in-out infinite;
}
@keyframes cue {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(8px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .scroll-cue { animation: none; } }
.nav--raised { box-shadow: 0 8px 30px rgba(63, 90, 57, 0.09); }
.hero .by {
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--warm-gray);
  margin-top: 1.2rem;
}
.hero .tagline { font-family: var(--serif); font-style: italic; font-size: 1.15rem; color: var(--sage); margin-top: 1.6rem; }

/* search bar */
.search {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  max-width: 720px;
  margin: 2.6rem auto 0;
  background: #fff;
  border: 1px solid var(--stone);
  border-radius: 999px;
  padding: 0.4rem;
  box-shadow: 0 12px 40px rgba(63, 90, 57, 0.08);
}
.search input, .search select {
  flex: 1 1 140px;
  border: 0;
  background: transparent;
  padding: 0.75rem 1.2rem;
  font: inherit;
  font-size: 0.92rem;
  color: var(--charcoal);
  outline: none;
  min-width: 0;
}
.search input + select, .search select + select { border-left: 1px solid var(--stone); }
.search .btn { flex: 0 0 auto; }

/* ---------- filters ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 2rem; }
.chip {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.42rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--stone);
  background: #fff;
  color: var(--charcoal);
  cursor: pointer;
  transition: all 0.2s ease;
}
.chip:hover { border-color: var(--soft-sage); }
.chip.active { background: var(--pine); border-color: var(--pine); color: var(--warm-white); }

/* ---------- directory grid (asymmetric editorial) ---------- */
.grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.6rem; }
.card {
  grid-column: span 2;
  text-decoration: none;
  color: inherit;
  display: block;
}
.card--wide { grid-column: span 3; }
.card--hero { grid-column: span 6; }
@media (max-width: 980px) { .card, .card--wide { grid-column: span 3; } }
@media (max-width: 640px) { .card, .card--wide, .card--hero { grid-column: span 6; } }

.card__media {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--linen);
}
.card--hero .card__media { aspect-ratio: 21/9; }
.card--wide .card__media { aspect-ratio: 16/10; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s cubic-bezier(0.2, 0.6, 0.2, 1); }
.card:hover .card__media img { transform: scale(1.045); }

.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.38rem 0.8rem;
  border-radius: 999px;
  color: #fff;
  backdrop-filter: blur(4px);
}
.badge--verified { background: rgba(111, 129, 89, 0.92); }
.badge--advanced { background: rgba(63, 90, 57, 0.92); }
.badge--sanctuary { background: rgba(156, 122, 60, 0.94); }
/* three-state model (Standard v1.0) */
.badge--aware { background: rgba(138, 138, 128, 0.92); }
.badge--certified { background: rgba(63, 90, 57, 0.92); }
.badge--discount {
  left: auto;
  right: 12px;
  background: rgba(247, 246, 240, 0.92);
  color: var(--pine);
}

.card__body { padding: 0.9rem 0.2rem 0; }
.card__title { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.card__title h3 { font-size: 1.18rem; }
.card__loc { font-size: 0.8rem; color: var(--warm-gray); white-space: nowrap; }
.card__tag { font-size: 0.9rem; color: var(--warm-gray); margin-top: 0.15rem; }
.card__systems {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sage);
  margin-top: 0.55rem;
}

/* ---------- curved section divider ---------- */
.divider { display: block; width: 100%; height: 70px; }
.section--tint { background: var(--pale-sage); }
.section--linen { background: var(--linen); }
.section--pine { background: var(--pine); color: var(--warm-white); }
.section--pine h2, .section--pine h3 { color: var(--warm-white); }
.section--pine .lede { color: rgba(247, 246, 240, 0.75); }
.section--pine .eyebrow { color: var(--lime); }

/* ---------- systems strip ---------- */
.systems { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1px; background: var(--stone); border: 1px solid var(--stone); border-radius: 18px; overflow: hidden; margin-top: 2.5rem; }
.system { background: var(--warm-white); padding: 1.6rem 1.5rem; }
.system__num { font-family: var(--serif); font-size: 0.95rem; color: var(--brass); }
.system h3 { font-size: 1.05rem; margin: 0.35rem 0 0.4rem; }
.system p { font-size: 0.85rem; color: var(--warm-gray); }

/* ---------- film block ---------- */
.film { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 16/9; background: var(--pine); }
.film iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- tiers table ---------- */
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.2rem; margin-top: 2.5rem; }
.tier-card { border: 1px solid var(--stone); border-radius: 18px; padding: 1.8rem 1.6rem; background: #fff; position: relative; }
.tier-card--sanctuary { border-color: var(--brass); }
.tier-card .seal {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  color: #fff;
  margin-bottom: 1rem;
}
.tier-card ul { list-style: none; margin-top: 0.9rem; }
.tier-card li { font-size: 0.85rem; color: var(--warm-gray); padding: 0.3rem 0; border-top: 1px solid var(--linen); }
.tier-card .price-note { font-size: 0.78rem; color: var(--warm-gray); margin-top: 1rem; }

/* ---------- property page ---------- */
.prop-hero { display: grid; grid-template-columns: 2fr 1fr; gap: 1rem; margin-top: 1.5rem; }
.prop-hero img { border-radius: 16px; width: 100%; height: 100%; object-fit: cover; }
.prop-hero__main { grid-row: span 2; aspect-ratio: 16/10; }
.prop-hero__side { aspect-ratio: 16/9.75; }
@media (max-width: 760px) { .prop-hero { grid-template-columns: 1fr; } .prop-hero__main { grid-row: auto; } }

.prop-cols { display: grid; grid-template-columns: 1.7fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); margin-top: 3rem; }
@media (max-width: 860px) { .prop-cols { grid-template-columns: 1fr; } }
.prop-aside { position: sticky; top: 90px; align-self: start; border: 1px solid var(--stone); border-radius: 18px; padding: 1.8rem 1.6rem; background: #fff; }
.prop-aside .seal { margin-bottom: 0.8rem; }
.prop-aside p { font-size: 0.88rem; color: var(--warm-gray); }
.prop-aside .btn { width: 100%; text-align: center; margin-top: 1.2rem; }
.discount-line { font-size: 0.8rem; color: var(--pine); background: var(--pale-sage); border-radius: 10px; padding: 0.6rem 0.9rem; margin-top: 1rem; }

.verify-list { margin-top: 1.6rem; border-top: 1px solid var(--stone); }
.verify-item { display: grid; grid-template-columns: 34px 1fr auto; gap: 1rem; align-items: start; padding: 1.1rem 0; border-bottom: 1px solid var(--stone); }
.verify-item .num { font-family: var(--serif); color: var(--brass); }
.verify-item h4 { font-size: 0.98rem; color: var(--pine); }
.verify-item p { font-size: 0.82rem; color: var(--warm-gray); margin-top: 0.15rem; }
.verify-item .state { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; padding: 0.3rem 0.7rem; border-radius: 999px; white-space: nowrap; }
.state--yes { background: var(--pale-sage); color: var(--pine); }
.state--pending { background: var(--linen); color: var(--warm-gray); }

.amenities { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.2rem; }
.amenities span { font-size: 0.8rem; border: 1px solid var(--stone); border-radius: 999px; padding: 0.35rem 0.9rem; background: #fff; }

/* ---------- forms ---------- */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; margin-top: 2.4rem; max-width: 760px; }
.form .full { grid-column: 1 / -1; }
.form label { display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sage); margin-bottom: 0.4rem; }
.form input, .form select, .form textarea {
  width: 100%;
  font: inherit;
  font-size: 0.95rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--stone);
  border-radius: 12px;
  background: #fff;
  color: var(--charcoal);
  outline: none;
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--sage); box-shadow: 0 0 0 3px var(--pale-sage); }
.form textarea { min-height: 130px; resize: vertical; }
@media (max-width: 640px) { .form { grid-template-columns: 1fr; } }

/* ---------- coming soon ---------- */
.soon-panel { text-align: center; padding: clamp(4rem, 10vw, 8rem) 0; }
.soon-panel .eyebrow { color: var(--brass); }

/* ---------- footer ---------- */
footer { background: var(--pine); color: rgba(247, 246, 240, 0.8); padding: 3.5rem 0 2.5rem; margin-top: 4rem; }
footer .container { display: flex; flex-wrap: wrap; gap: 2rem; justify-content: space-between; align-items: flex-end; }
footer .brand { font-family: var(--serif); font-size: 1.4rem; color: var(--warm-white); }
footer .integrity { font-size: 0.8rem; max-width: 34em; }
footer .integrity strong { color: var(--lime); font-weight: 600; }
footer nav { display: flex; gap: 1.4rem; }
footer nav a { color: rgba(247, 246, 240, 0.8); font-size: 0.82rem; text-decoration: none; }
footer nav a:hover { color: var(--lime); }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.2, 0.6, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .card:hover .card__media img { transform: none; }
  html { scroll-behavior: auto; }
}

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

/* ---------- cinematic page transitions (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  ::view-transition-old(root) { animation-duration: 0.4s; }
  ::view-transition-new(root) { animation-duration: 0.4s; }
}

/* ---------- entry moment ---------- */
@media (prefers-reduced-motion: no-preference) {
  body { animation: pagein 0.5s ease both; }
  @keyframes pagein { from { opacity: 0; } to { opacity: 1; } }
}

/* ---------- skip link ---------- */
.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 300;
  background: var(--pine);
  color: var(--warm-white);
  padding: 0.7rem 1.2rem;
  border-radius: 0 0 12px 0;
}
.skip:focus { left: 0; }

/* ---------- organic scene dividers ---------- */
.scene-divider { display: block; width: 100%; height: clamp(40px, 7vw, 90px); }

/* ---------- film series strip ---------- */
.filmstrip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 1fr);
  gap: 1rem;
  margin-top: 2.6rem;
  overflow-x: auto;
  padding-bottom: 0.8rem;
  scrollbar-width: thin;
}
.filmstrip a {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 16/9;
  text-decoration: none;
}
.filmstrip img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1); }
.filmstrip a:hover img { transform: scale(1.05); }
.filmstrip .fs-label {
  position: absolute;
  left: 10px;
  bottom: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}
.filmstrip .fs-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(247, 246, 240, 0.85);
  color: var(--pine);
  display: grid;
  place-items: center;
  font-size: 0.9rem;
}

/* ---------- film gallery: click-to-play series ---------- */
.filmgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.4rem;
  margin-top: 2.6rem;
}
.filmcard { margin: 0; }
.filmcard__play,
.filmcard iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 14px;
  overflow: hidden;
}
.filmcard__play {
  position: relative;
  padding: 0;
  cursor: pointer;
  background-size: cover;
  background-position: center;
  background-color: #0d160f;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
  transition: transform 0.5s cubic-bezier(0.2, 0.6, 0.2, 1), box-shadow 0.5s ease;
}
.filmcard__play::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.45) 100%);
  transition: opacity 0.4s ease;
}
.filmcard__play:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0, 0, 0, 0.36); }
.filmcard__icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(247, 246, 240, 0.92);
  color: var(--pine);
  display: grid;
  place-items: center;
  font-size: 1rem;
  padding-left: 3px;
  transition: transform 0.3s ease, background 0.3s ease;
}
.filmcard__play:hover .filmcard__icon { transform: translate(-50%, -50%) scale(1.08); background: var(--lime); }
.filmcard figcaption {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin-top: 0.8rem;
  color: var(--warm-white);
}
.filmcard figcaption strong { font-family: var(--serif); font-weight: 500; font-size: 1.05rem; }
.filmcard figcaption span { font-size: 0.82rem; color: rgba(247, 246, 240, 0.68); }
.filmcard figcaption a {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lime);
  text-decoration: none;
  margin-top: 0.35rem;
}
.filmcard figcaption a:hover { text-decoration: underline; }

/* ============ contact page (Vivre-style editorial) ============ */
.contact-hero { padding: clamp(3.5rem, 9vw, 8rem) 0 clamp(2rem, 4vw, 3.5rem); }
.contact-hero .eyebrow { margin-bottom: 1.6rem; }
.contact-display {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.03em;
  font-size: clamp(3.4rem, 13vw, 12rem);
  color: var(--pine);
}
.contact-display em { font-style: italic; color: var(--sage); }
.contact-sub { font-size: clamp(1.1rem, 1.8vw, 1.5rem); color: var(--warm-gray); max-width: 30em; margin-top: 1.8rem; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: start; padding-bottom: clamp(3rem, 7vw, 6rem); }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; gap: 3rem; } }

.contact-detail { display: block; margin-bottom: 2.6rem; }
.contact-detail .k { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--sage); margin-bottom: 0.7rem; }
.contact-detail a, .contact-detail p { font-family: var(--serif); font-size: clamp(1.3rem, 2.4vw, 1.9rem); color: var(--pine); text-decoration: none; display: inline-block; line-height: 1.25; }
.contact-detail a { position: relative; transition: color 0.3s ease; }
.contact-detail a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 1px; background: var(--sage); transition: width 0.4s cubic-bezier(0.2,0.6,0.2,1); }
.contact-detail a:hover { color: var(--sage); }
.contact-detail a:hover::after { width: 100%; }
.contact-socials { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.contact-socials a { font-family: var(--sans); font-size: 0.95rem; }

/* underline-style form */
.contact-form .field { position: relative; margin-bottom: 2.4rem; }
.contact-form label {
  display: block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--sage); margin-bottom: 0.7rem;
}
.contact-form input, .contact-form textarea, .contact-form select {
  width: 100%; border: 0; border-bottom: 1px solid var(--stone); background: transparent;
  padding: 0.7rem 0; font-family: var(--serif); font-size: clamp(1.15rem, 2vw, 1.5rem);
  color: var(--pine); border-radius: 0; transition: border-color 0.35s ease;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--stone); }
.contact-form input:focus, .contact-form textarea:focus, .contact-form select:focus {
  outline: none; border-bottom-color: var(--pine); box-shadow: none;
}
.contact-form textarea { resize: vertical; min-height: 4rem; }
.contact-form .field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media (max-width: 520px) { .contact-form .field-row { grid-template-columns: 1fr; gap: 0; } }

.contact-submit {
  display: inline-flex; align-items: center; gap: 0.9rem; margin-top: 0.6rem;
  background: transparent; border: 0; cursor: pointer;
  font-family: var(--serif); font-size: clamp(1.6rem, 3.5vw, 2.6rem); color: var(--pine);
  transition: color 0.3s ease;
}
.contact-submit .arrow { display: inline-grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--pine); color: var(--warm-white); font-size: 1.1rem; transition: transform 0.4s cubic-bezier(0.2,0.6,0.2,1), background 0.3s ease; }
.contact-submit:hover { color: var(--sage); }
.contact-submit:hover .arrow { transform: translateX(6px); background: var(--sage); }
.contact-note { font-size: 0.9rem; color: var(--sage); margin-top: 1.4rem; min-height: 1.2em; }

/* oversized wordmark strip */
.wordmark-strip { overflow: hidden; border-top: 1px solid var(--stone); }
.wordmark-strip .mark {
  font-family: var(--serif); font-weight: 500; letter-spacing: -0.03em; line-height: 1;
  font-size: clamp(4rem, 20vw, 20rem); color: var(--linen); white-space: nowrap;
  padding: clamp(1.5rem, 3vw, 3rem) 0; text-align: center; user-select: none;
}

/* ============ sanctuary scroll-through (pinned cross-fade background) ============ */
.scrollstage { position: relative; }
.scrollstage__pin {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  background: var(--pine);
}
.scrollstage__layer {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.1s ease;
  will-change: opacity, transform;
  transform: scale(1.08);
}
.scrollstage__layer.on { opacity: 1; }
/* soft top-and-bottom gradient so overlaid text always reads */
.scrollstage__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(5,10,6,0.45) 0%, rgba(5,10,6,0) 28%, rgba(5,10,6,0) 60%, rgba(5,10,6,0.62) 100%);
}
.scrollstage__caption {
  position: absolute; left: 0; right: 0; bottom: clamp(2.5rem, 8vh, 6rem);
  text-align: center; padding: 0 1.5rem; color: var(--warm-white);
  opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s ease;
}
.scrollstage__caption.on { opacity: 1; transform: none; }
.scrollstage__caption .k {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--lime); margin-bottom: 0.9rem;
}
.scrollstage__caption h2 {
  font-family: var(--serif); font-weight: 500; color: var(--warm-white);
  font-size: clamp(1.9rem, 5vw, 4rem); line-height: 1.05; letter-spacing: -0.02em;
  text-shadow: 0 2px 30px rgba(0,0,0,0.4);
}
.scrollstage__caption p { margin: 0.9rem auto 0; max-width: 34em; color: rgba(247,246,240,0.82); font-size: clamp(0.95rem, 1.6vw, 1.15rem); }
/* progress dots */
.scrollstage__dots { position: absolute; right: clamp(1rem, 3vw, 2.4rem); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 0.7rem; z-index: 2; }
.scrollstage__dots span { width: 7px; height: 7px; border-radius: 50%; background: rgba(247,246,240,0.4); transition: background 0.4s ease, transform 0.4s ease; }
.scrollstage__dots span.on { background: var(--lime); transform: scale(1.5); }
.scrollstage__cue {
  position: absolute; left: 50%; bottom: 1.4rem; transform: translateX(-50%);
  color: rgba(247,246,240,0.75); font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; z-index: 2;
  animation: cue 2.8s ease-in-out infinite;
}
.scrollstage__spacer { height: 100vh; }
@media (prefers-reduced-motion: reduce) {
  .scrollstage__layer { transition: none; transform: none; }
  .scrollstage__caption { transition: none; }
  .scrollstage__cue { animation: none; }
}

/* ============ systems: walk-into-the-house (3D dolly-through) ============ */
.househall { position: relative; background: #0b0f0a; }
.househall__pin {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  background: #0b0f0a; perspective: 1500px;
}
.househall__room { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s ease; will-change: opacity; }
.househall__room.on { opacity: 1; }
.househall__room .bg {
  position: absolute; inset: -6%;
  background-size: cover; background-position: center;
  transform: scale(1); will-change: transform;
}
.househall__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% 40%, rgba(5,10,6,0) 40%, rgba(5,10,6,0.55) 100%),
    linear-gradient(to bottom, rgba(5,10,6,0.5) 0%, rgba(5,10,6,0) 30%, rgba(5,10,6,0) 55%, rgba(5,10,6,0.78) 100%);
}
/* the room label that names each system */
.househall__label {
  position: absolute; left: 0; right: 0; bottom: clamp(2.4rem, 8vh, 6rem);
  padding: 0 clamp(1.25rem, 4vw, 3rem); color: var(--warm-white);
  max-width: 1240px; margin: 0 auto;
  opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease;
}
.househall__label.on { opacity: 1; transform: none; }
.househall__label .num {
  font-family: var(--serif); font-size: clamp(2.6rem, 7vw, 5.5rem); line-height: 1;
  color: var(--lime); display: block; margin-bottom: 0.4rem;
}
.househall__label h2 {
  font-family: var(--serif); font-weight: 500; color: var(--warm-white);
  font-size: clamp(1.8rem, 4.5vw, 3.4rem); line-height: 1.05; letter-spacing: -0.02em;
  text-shadow: 0 2px 30px rgba(0,0,0,0.5);
}
.househall__label p { margin-top: 0.7rem; max-width: 32em; color: rgba(247,246,240,0.82); font-size: clamp(0.92rem, 1.5vw, 1.1rem); }
.househall__label .intro { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; color: var(--lime); }
/* floor guide: list of systems, current one lit */
.househall__guide {
  position: absolute; top: 50%; left: clamp(1rem, 3vw, 2.4rem); transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 0.55rem; z-index: 3; list-style: none;
}
.househall__guide li {
  font-size: 0.72rem; letter-spacing: 0.06em; color: rgba(247,246,240,0.4);
  display: flex; align-items: center; gap: 0.6rem; transition: color 0.4s ease;
}
.househall__guide li::before { content: ""; width: 16px; height: 1px; background: rgba(247,246,240,0.35); transition: width 0.4s ease, background 0.4s ease; }
.househall__guide li.on { color: var(--warm-white); }
.househall__guide li.on::before { width: 30px; background: var(--lime); }
.househall__cue { position: absolute; left: 50%; bottom: 1.3rem; transform: translateX(-50%); color: rgba(247,246,240,0.7); font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase; z-index: 3; animation: cue 2.8s ease-in-out infinite; }
.househall__spacer { height: 100vh; }
@media (max-width: 620px) { .househall__guide { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .househall__room .bg { transform: none !important; }
  .househall__label, .househall__room { transition: none; }
  .househall__cue { animation: none; }
}

/* ============ AI7 particle-sphere hero (dark, brand-recolored) ============ */
.hero--ai7 {
  background: radial-gradient(120% 120% at 50% 30%, #0c1510 0%, #070d09 60%, #05080600 100%), #070d09;
  color: var(--warm-white);
}
#hero3d { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; }
.hero--ai7 .hero__content { color: var(--warm-white); }
.hero--ai7 .eyebrow { color: var(--lime); }
.hero--ai7 h1 { color: var(--warm-white); text-shadow: 0 2px 40px rgba(5,10,6,0.85), 0 0 12px rgba(5,10,6,0.6); }
.hero--ai7 .hero__content { text-shadow: 0 1px 20px rgba(5,10,6,0.5); }
.hero--ai7 .by { color: rgba(247, 246, 240, 0.7); }
.hero--ai7 .tagline { color: var(--soft-sage); }
.hero--ai7 .scroll-cue { color: rgba(247, 246, 240, 0.7); }
/* the search bar already reads well on dark; lift it slightly */
.hero--ai7 .search { box-shadow: 0 18px 60px rgba(0, 0, 0, 0.45); }

/* ============ HG Sanctuary concept page ============ */
.sanct-hero { position: relative; min-height: 92vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; background: #070d09; }
.sanct-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.sanct-hero__scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to bottom, rgba(5,10,6,0.45) 0%, rgba(5,10,6,0.1) 40%, rgba(5,10,6,0.75) 100%); }
.sanct-hero__content { position: relative; z-index: 2; color: var(--warm-white); }
.sanct-hero__content .eyebrow { color: var(--lime); }
.sanct-hero__content h1 { color: var(--warm-white); font-size: clamp(3.2rem, 11vw, 9rem); line-height: 0.95; text-shadow: 0 2px 40px rgba(0,0,0,0.5); }
.sanct-hero__sub { font-family: var(--serif); font-style: italic; font-size: clamp(1.1rem, 2.2vw, 1.7rem); color: rgba(247,246,240,0.9); margin-top: 1.4rem; text-shadow: 0 1px 20px rgba(0,0,0,0.5); }

/* zones */
.zone { display: grid; grid-template-columns: 1.25fr 1fr; align-items: center; gap: clamp(1.5rem, 5vw, 4rem); max-width: 1240px; margin: clamp(2rem, 5vw, 4rem) auto 0; padding: 0 clamp(1.25rem, 4vw, 3rem); }
.zone--flip .zone__media { order: 2; }
@media (max-width: 820px) { .zone, .zone--flip { grid-template-columns: 1fr; } .zone--flip .zone__media { order: 0; } }
.zone__media { border-radius: 18px; overflow: hidden; aspect-ratio: 16/11; background: var(--linen); }
.zone__bg { width: 100%; height: 100%; background-size: cover; background-position: center; transition: transform 0.9s cubic-bezier(0.2,0.6,0.2,1); }
.zone:hover .zone__bg { transform: scale(1.04); }
.zone__num { font-family: var(--serif); font-size: 1.1rem; color: var(--brass); }
.zone__text h3 { font-size: clamp(1.6rem, 3.2vw, 2.6rem); margin: 0.3rem 0 0.8rem; }
.zone__text p { color: var(--warm-gray); font-size: clamp(1rem, 1.5vw, 1.15rem); max-width: 30em; }

/* interior film */
.sanct-film { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 16/9; margin-top: 2rem; background: #070d09; }
.sanct-film video { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (prefers-reduced-motion: reduce) { .zone:hover .zone__bg { transform: none; } }

/* ============ homepage video feature band ============ */
.videoband { position: relative; min-height: 78vh; display: flex; align-items: center; overflow: hidden; background: #070d09; }
.videoband__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.videoband__bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
.videoband__scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(5,10,6,0.8) 0%, rgba(5,10,6,0.35) 55%, rgba(5,10,6,0.15) 100%); }
.videoband__content { position: relative; z-index: 2; color: var(--warm-white); max-width: 640px; }
.videoband__content .eyebrow { color: var(--lime); }
.videoband__content h2 { color: var(--warm-white); font-size: clamp(2.4rem, 6vw, 5rem); text-shadow: 0 2px 30px rgba(0,0,0,0.5); }
.videoband__content .lede { color: rgba(247,246,240,0.88); margin-top: 1rem; }
.videoband__content .btn { margin-top: 1.8rem; }

/* sanctuary image strip */
.sanct-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.4rem; }
@media (max-width: 720px) { .sanct-strip { grid-template-columns: 1fr; } }
.sanct-strip a { position: relative; display: block; border-radius: 16px; overflow: hidden; aspect-ratio: 4/5; text-decoration: none; }
.sanct-strip .s-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 0.8s cubic-bezier(0.2,0.6,0.2,1); }
.sanct-strip a:hover .s-bg { transform: scale(1.05); }
.sanct-strip .s-scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,10,6,0.72) 0%, rgba(5,10,6,0) 55%); }
.sanct-strip .s-label { position: absolute; left: 16px; bottom: 14px; color: #fff; font-family: var(--serif); font-size: 1.15rem; text-shadow: 0 1px 12px rgba(0,0,0,0.5); }
@media (prefers-reduced-motion: reduce) { .sanct-strip a:hover .s-bg { transform: none; } }

/* ============ live aerial video hero ============ */
.hero--video { background: #070d09; color: var(--warm-white); }
.hero--video .hero__video, .hero--video .hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero--video .hero__video { object-fit: cover; }
.hero--video .hero__bg { background-size: cover; background-position: center; }
.hero--video .hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    radial-gradient(120% 100% at 50% 42%, rgba(5,10,6,0.12) 0%, rgba(5,10,6,0.55) 100%),
    linear-gradient(to bottom, rgba(5,10,6,0.55) 0%, rgba(5,10,6,0.22) 45%, rgba(5,10,6,0.72) 100%);
}
.hero--video .hero__content { position: relative; z-index: 2; text-shadow: 0 1px 20px rgba(5,10,6,0.5); }
.hero--video .eyebrow { color: var(--lime); }
.hero--video h1 { color: var(--warm-white); text-shadow: 0 2px 40px rgba(5,10,6,0.8); }
.hero--video .by { color: rgba(247,246,240,0.75); }
.hero--video .tagline { color: var(--soft-sage); }
.hero--video .scroll-cue { color: rgba(247,246,240,0.75); }

/* hero video montage: two stacked layers cross-fade */
.hero--video .hero__video { opacity: 0; transition: opacity 1s ease; }
.hero--video .hero__video.on { opacity: 1; }

/* =====================================================================
   THE STANDARD PAGE ("/standard") — published-standard, instrument voice
   ===================================================================== */

/* --- instrument (mono) voice --- */
.mono {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--sage);
}
.mono--brass { color: var(--brass); }
.mono--gray { color: var(--warm-gray); }

/* registration "+" marks in a section's corners (technical-drawing signature) */
.regmarks { position: relative; }
.regmarks::before, .regmarks::after,
.regmarks > .rm-b::before, .regmarks > .rm-b::after {
  content: "+";
  position: absolute;
  font-family: var(--mono);
  font-size: 0.9rem;
  color: var(--stone);
  line-height: 1;
}
.regmarks::before { top: 14px; left: 14px; }
.regmarks::after { top: 14px; right: 14px; }
.regmarks > .rm-b::before { bottom: 14px; left: 14px; }
.regmarks > .rm-b::after { bottom: 14px; right: 14px; }

/* --- S1 hero --- */
.std-hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: #0d160f center/cover no-repeat;
  color: var(--warm-white);
  overflow: hidden;
}
.std-hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: 0; }
.std-hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(8,14,9,0.62) 0%, rgba(8,14,9,0.32) 42%, rgba(8,14,9,0.78) 100%);
}
.std-hero__inner { position: relative; z-index: 2; padding: 8rem 0 4rem; }
.std-hero .mono { color: var(--lime); }
.std-hero h1 {
  color: var(--warm-white);
  font-size: clamp(2.6rem, 6.5vw, 5.4rem);
  margin: 1.4rem 0 0;
  max-width: 15ch;
  text-shadow: 0 2px 40px rgba(8,14,9,0.7);
}
.std-hero__sub { max-width: 40em; margin-top: 1.6rem; color: rgba(247,246,240,0.9); font-size: clamp(1.02rem,1.5vw,1.22rem); }
.std-hero__lock { font-family: var(--serif); font-style: italic; font-size: clamp(1.2rem,2.4vw,1.7rem); color: var(--soft-sage); margin-top: 1.8rem; }
.std-hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; }
.std-hero__by { margin-top: 2.6rem; color: rgba(247,246,240,0.66); font-size: 0.82rem; }

/* --- generic section rhythm --- */
.std-sec { padding: clamp(3.5rem, 8vw, 7rem) 0; }
.std-eyebrow { margin-bottom: 1.2rem; }
.std-lead { max-width: 34em; }

/* --- S2 measured, not reviewed --- */
.std-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.6rem, 4vw, 3.4rem);
  align-items: start;
}
.threshold-panel {
  background: var(--linen);
  border: 1px solid var(--stone);
  border-radius: 4px;
  padding: 1.6rem;
}
.threshold-panel h4 { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--warm-gray); font-weight: 500; margin-bottom: 1rem; }
.threshold-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem;
  font-family: var(--mono); font-size: 0.82rem; letter-spacing: 0.04em;
  padding: 0.7rem 0; border-top: 1px solid var(--stone); color: var(--charcoal);
}
.threshold-row:first-of-type { border-top: 0; }
.threshold-row .val { color: var(--sage); white-space: nowrap; }
.threshold-row .tick { color: var(--soft-sage); }

/* --- S3 principles band --- */
.band-palesage { background: var(--pale-sage); }
.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 2.4rem; }
.principle .ic { width: 46px; height: 46px; border: 1px solid var(--sage); border-radius: 3px; display: grid; place-items: center; margin-bottom: 1rem; }
.principle .ic svg { width: 24px; height: 24px; stroke: var(--sage); fill: none; stroke-width: 1.4; }
.principle h3 { font-size: 1.15rem; }
.principle p { margin-top: 0.5rem; font-size: 0.95rem; color: var(--charcoal); }
.assessor-strip { margin-top: 3rem; }
.assessor-chips { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-bottom: 0.9rem; }
.assessor-chip {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--moss); background: var(--warm-white); border: 1px solid var(--stone);
  padding: 0.5rem 0.9rem; border-radius: 3px;
}
.assessor-cap { font-size: 0.9rem; color: var(--warm-gray); max-width: 46em; }

/* --- S4 pathways grid --- */
.pathgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2.6rem; }
.pathcard {
  position: relative;
  border: 1px solid var(--stone);
  border-radius: 4px;
  background: var(--warm-white);
  padding: 1.3rem 1.2rem 1.4rem;
  overflow: hidden;
  min-height: 230px;
  display: flex; flex-direction: column;
}
.pathcard__img {
  position: absolute; inset: 0; z-index: 0;
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.03); transition: opacity 0.5s ease;
}
.pathcard__img::after { content: ""; position: absolute; inset: 0; background: rgba(247,246,240,0.82); }
.pathcard:hover .pathcard__img { opacity: 1; }
.pathcard > * { position: relative; z-index: 1; }
.pathcard__tagline { display: flex; justify-content: space-between; align-items: center; }
.pathcard__ix { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; color: var(--sage); }
.pathcard__load { font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.14em; padding: 0.2rem 0.45rem; border-radius: 2px; }
.pathcard__load.toxic { color: var(--moss); background: var(--pale-sage); }
.pathcard__load.restorative { color: var(--brass); background: rgba(156,122,60,0.1); }
.pathcard .ic { width: 40px; height: 40px; border: 1px solid var(--sage); border-radius: 3px; display: grid; place-items: center; margin: 1.1rem 0 0.9rem; }
.pathcard .ic svg { width: 22px; height: 22px; stroke: var(--sage); fill: none; stroke-width: 1.4; }
.pathcard h3 { font-size: 1.12rem; }
.pathcard p { font-size: 0.86rem; color: var(--charcoal); margin-top: 0.4rem; }
.pathcard__thr { margin-top: auto; padding-top: 0.9rem; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.1em; color: var(--warm-gray); }
.pathcard::after {
  content: ""; position: absolute; left: 1.2rem; right: 1.2rem; bottom: 0; height: 2px;
  background: var(--lime); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease; z-index: 2;
}
.pathcard:hover::after { transform: scaleX(1); }
.pull-quote {
  font-family: var(--serif); font-size: clamp(1.6rem, 3.6vw, 2.8rem); line-height: 1.15;
  color: var(--pine); text-align: center; max-width: 20ch; margin: 3rem auto 0;
}

/* --- S5 specialties --- */
.specialties { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.2rem; margin-top: 2.4rem; }
.spec-card { border: 1px solid var(--stone); border-radius: 4px; padding: 1.6rem; background: var(--warm-white); }
.spec-card--lead { background: var(--linen); grid-row: span 1; }
.spec-card h3 { font-size: 1.2rem; }
.spec-card p { font-size: 0.92rem; margin-top: 0.6rem; color: var(--charcoal); }
.spec-card .mono { display: inline-block; margin-top: 1rem; }

/* --- S6 the three states --- */
.states { display: grid; grid-template-columns: 0.85fr 1.15fr 1fr; gap: 1.2rem; align-items: stretch; margin-top: 2.4rem; }
.state { border-radius: 5px; padding: 1.8rem; display: flex; flex-direction: column; }
.state h3 { font-size: 1.3rem; }
.state p { font-size: 0.9rem; margin-top: 0.7rem; }
.state .mono { margin-top: auto; padding-top: 1.2rem; }
.state--aware { border: 1px dashed var(--stone); background: transparent; }
.state--aware h3 { color: var(--warm-gray); font-family: var(--mono); font-weight: 500; font-size: 1.05rem; letter-spacing: 0.06em; }
.state--aware p { color: var(--warm-gray); }
.state--certified { background: var(--pine); color: var(--warm-white); box-shadow: 0 16px 40px rgba(63,90,57,0.28); }
.state--certified h3 { color: var(--warm-white); }
.state--certified p { color: rgba(247,246,240,0.85); }
.state--certified .seal {
  width: 54px; height: 54px; border-radius: 50%; border: 2px solid var(--lime);
  display: grid; place-items: center; color: var(--lime); font-family: var(--mono); font-size: 0.6rem; letter-spacing: 0.06em; margin-bottom: 1rem;
}
.state--sanctuary { background: var(--warm-white); border: 1px solid var(--brass); position: relative; }
.state--sanctuary h3 { color: var(--brass); font-family: var(--serif); letter-spacing: 0.02em; }
.state--sanctuary .hallmark {
  width: 54px; height: 54px; border-radius: 50%; border: 1px solid var(--brass);
  display: grid; place-items: center; color: var(--brass); font-family: var(--serif); font-size: 1.1rem; margin-bottom: 1rem;
  box-shadow: inset 0 0 0 3px rgba(156,122,60,0.15);
}
.state--sanctuary p { color: var(--charcoal); }
.state--sanctuary .mono { color: var(--brass); }

/* --- S7 longevity suite --- */
.band-linen { background: var(--linen); }
.suite-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem,4vw,3.4rem); align-items: center; }
.suite-icons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.suite-ic { border: 1px solid var(--stone); border-radius: 4px; background: var(--warm-white); padding: 1.3rem; text-align: center; }
.suite-ic .ic svg { width: 30px; height: 30px; stroke: var(--soft-sage); fill: none; stroke-width: 1.4; }
.suite-ic span { display: block; margin-top: 0.7rem; font-size: 0.9rem; color: var(--charcoal); }
.suite-stamp { display: inline-block; margin-top: 1.4rem; }

/* --- S8 audit timeline --- */
.steptimeline { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 2.6rem; }
.step { position: relative; padding: 0 1rem; }
.step:not(:last-child)::after { content: ""; position: absolute; top: 10px; left: 50%; right: -50%; height: 1px; background: var(--stone); }
.step .dot { width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--sage); background: var(--warm-white); position: relative; z-index: 1; }
.step .tag { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.12em; color: var(--sage); margin-top: 1rem; display: block; }
.step h4 { font-family: var(--serif); font-weight: 500; color: var(--pine); font-size: 1.02rem; margin-top: 0.35rem; }
.step p { font-size: 0.82rem; color: var(--warm-gray); margin-top: 0.35rem; }
.timeline-chip {
  display: inline-block; margin-top: 2.2rem; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em;
  color: var(--pine); border: 1px solid var(--sage); border-radius: 3px; padding: 0.55rem 1rem;
}

/* --- S9 integrity oath --- */
.integrity-list { list-style: none; counter-reset: oath; margin-top: 2.4rem; max-width: 52em; }
.integrity-list li {
  counter-increment: oath; display: grid; grid-template-columns: 2.4rem 1fr; gap: 1rem; align-items: baseline;
  padding: 0.95rem 0; border-top: 1px solid var(--stone); font-size: 1.02rem; color: var(--charcoal);
}
.integrity-list li::before { content: counter(oath, decimal-leading-zero); font-family: var(--serif); font-size: 1.2rem; color: var(--brass); }

/* --- S10 registry + directory --- */
.registry-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.6rem,4vw,3rem); }
.registry-search { display: flex; gap: 0.6rem; margin-top: 1.4rem; }
.registry-search input { flex: 1; border: 1px solid var(--stone); border-radius: 4px; padding: 0.8rem 1rem; font-family: var(--mono); font-size: 0.8rem; background: var(--warm-white); }
.dir-previews { display: grid; gap: 0.8rem; margin-top: 1.4rem; }
.dir-prev { display: flex; gap: 1rem; align-items: center; border: 1px solid var(--stone); border-radius: 4px; padding: 0.7rem; text-decoration: none; background: var(--warm-white); }
.dir-prev img { width: 76px; height: 56px; object-fit: cover; border-radius: 3px; }
.dir-prev strong { font-family: var(--serif); font-weight: 500; color: var(--pine); display: block; }
.dir-prev span { font-size: 0.8rem; color: var(--warm-gray); }

/* --- S11 version stamp --- */
.versionstamp {
  display: inline-block; font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.12em;
  color: var(--warm-gray); border: 1px solid var(--stone); border-radius: 3px; padding: 0.6rem 1rem; margin-top: 1.4rem;
}

/* --- responsive --- */
@media (max-width: 960px) {
  .std-split, .suite-split, .registry-split { grid-template-columns: 1fr; }
  .pathgrid { grid-template-columns: repeat(2, 1fr); }
  .principles { grid-template-columns: 1fr; gap: 1.4rem; }
  .specialties { grid-template-columns: 1fr; }
  .states { grid-template-columns: 1fr; }
  .steptimeline { grid-template-columns: 1fr; gap: 1.4rem; }
  .step { padding: 0 0 0 1.4rem; }
  .step:not(:last-child)::after { top: 20px; left: 10px; right: auto; width: 1px; height: calc(100% + 1.4rem); }
}
@media (max-width: 560px) {
  .pathgrid { grid-template-columns: 1fr; }
}
