/* Method House — site styles
   Brand: Ivory #F1EEE5 · Forest #3E5144 · Champagne #D3BFA3 · Manrope */

@font-face {
  font-family: "Manrope";
  src: url("/assets/fonts/manrope-latin-wght-normal.woff2") format("woff2-variations"),
       url("/assets/fonts/manrope-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand */
  --ivory: #F1EEE5;
  --forest: #3E5144;
  --champagne: #D3BFA3;
  /* Brand grayscale */
  --cloud: #EDEFF7;
  --smoke: #D3D6E0;
  --graphite: #6E7180;
  --arsenic: #40424D;
  --phantom: #1E1E24;

  /* Derived tints (from the brand hues, never neutral gray) */
  --ivory-deep: #E8E3D6;        /* recessed ivory panels */
  --ivory-line: #D9D2C1;        /* hairlines on ivory */
  --forest-deep: #33443A;       /* pressed / footer */
  --forest-line: #56695C;       /* hairlines on forest */
  --forest-muted: #C9D1C6;      /* secondary text on forest (7.0:1) */
  --champagne-deep: #BFA685;    /* champagne for marks on ivory */

  /* Roles */
  --ground: var(--ivory);
  --ink: var(--phantom);
  --ink-soft: var(--arsenic);
  --accent: var(--forest);
  --line: var(--ivory-line);

  /* Type — brand scale 64 / 48 / 32 / 24 / 18 / 16 */
  --font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-display: clamp(2.5rem, 1.6rem + 3.6vw, 4rem);
  --fs-h2: clamp(2rem, 1.45rem + 2.2vw, 3rem);
  --fs-h3: clamp(1.5rem, 1.3rem + 0.8vw, 2rem);
  --fs-h4: 1.5rem;
  --fs-lead: clamp(1.125rem, 1.05rem + 0.3vw, 1.3125rem);
  --fs-body: 1.125rem;
  --fs-small: 1rem;
  --fs-micro: 0.875rem;

  /* Space */
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 3rem);
  --section: clamp(4.5rem, 3rem + 6vw, 8.5rem);
  --measure: 66ch;
  --max: 78rem;

  /* Motion (ease-out for entering/responding, ease-in-out for on-screen moves) */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --t-fast: 150ms;
  --t-ui: 220ms;
  --t-panel: 280ms;

  --radius: 2px;
  --header-h: 5rem;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.65;
  font-feature-settings: "kern", "liga";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; font-weight: 300; line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; color: var(--ink); }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
main:focus { outline: none; }

::selection { background: var(--forest); color: var(--ivory); }
.band--forest ::selection, .hero ::selection { background: var(--champagne); color: var(--phantom); }

:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 3px;
  border-radius: var(--radius);
}
.band--forest :focus-visible, .hero :focus-visible, .site-footer :focus-visible, .is-on-dark .site-header__inner :focus-visible {
  outline-color: var(--champagne);
}

html { scrollbar-color: var(--forest-line) var(--ivory-deep); }

.skip-link {
  position: fixed; left: 1rem; top: 1rem; z-index: 100;
  padding: .75rem 1rem; background: var(--forest); color: var(--ivory);
  text-decoration: none; font-weight: 600; font-size: var(--fs-small);
  transform: translateY(-200%);
  transition: transform var(--t-ui) var(--ease-out);
}
.skip-link:focus { transform: none; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

.tabular { font-variant-numeric: tabular-nums lining-nums; }

/* ---------- Links ---------- */
.text-link {
  color: var(--forest);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .28em;
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
  transition: text-decoration-color var(--t-fast) var(--ease-out);
}
.text-link:hover { text-decoration-color: currentColor; }
.band--forest .text-link, .hero .text-link { color: var(--ivory); }

.arrow-link {
  display: inline-flex; align-items: center; gap: .6rem;
  font-weight: 600; font-size: var(--fs-small); letter-spacing: .01em;
  text-decoration: none; color: var(--forest);
}
.arrow-link .arrow { transition: transform var(--t-ui) var(--ease-out); }
@media (hover: hover) and (pointer: fine) {
  .arrow-link:hover .arrow { transform: translateX(4px); }
}
.band--forest .arrow-link, .hero .arrow-link { color: var(--ivory); }

.arrow { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- Buttons ---------- */
.button {
  --btn-bg: var(--forest);
  --btn-fg: var(--ivory);
  --btn-bg-hover: var(--forest-deep);
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 3.25rem; padding: .85rem 1.6rem;
  border: 1px solid transparent; border-radius: var(--radius);
  background: var(--btn-bg); color: var(--btn-fg);
  font-size: var(--fs-small); font-weight: 600; letter-spacing: .01em; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.button:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .button:hover { background: var(--btn-bg-hover); }
}
.button--champagne { --btn-bg: var(--champagne); --btn-fg: var(--phantom); --btn-bg-hover: #E0D0B8; }
.button--ghost-light { --btn-bg: transparent; --btn-fg: var(--ivory); --btn-bg-hover: rgba(241, 238, 229, .08); border-color: var(--forest-line); }
.button--block { width: 100%; }
.button[disabled], .button[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  color: var(--forest);
  background: color-mix(in srgb, var(--ivory) 94%, transparent);
  border-bottom: 1px solid var(--line);
  transition: background-color var(--t-ui) var(--ease-out), border-color var(--t-ui) var(--ease-out), color var(--t-ui) var(--ease-out);
}
@supports (backdrop-filter: blur(1px)) {
  .site-header { backdrop-filter: saturate(1.2) blur(12px); -webkit-backdrop-filter: saturate(1.2) blur(12px); }
}
.site-header__inner {
  display: flex; align-items: center; gap: 2rem;
  max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter);
  height: var(--header-h);
}
.site-header.is-condensed { box-shadow: 0 8px 24px -16px rgba(30, 30, 36, .25); }

/* Over a forest hero, before scrolling */
.has-dark-hero .site-header.is-on-dark {
  position: fixed; left: 0; right: 0;
  background: transparent; border-color: transparent; color: var(--ivory);
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
.has-dark-hero .site-header { position: fixed; left: 0; right: 0; }
.has-dark-hero .site-header.is-on-dark .button--header { --btn-bg: var(--champagne); --btn-fg: var(--phantom); --btn-bg-hover: #E0D0B8; }

.brand { display: inline-flex; align-items: center; gap: .9rem; text-decoration: none; color: inherit; flex: none; }
.brand__emblem { display: block; width: 2.35rem; color: var(--champagne); }
.site-header:not(.is-on-dark) .brand__emblem { color: var(--champagne-deep); }
.brand__wordmark { display: block; width: 10.5rem; }
.brand__wordmark svg, .brand__emblem svg { width: 100%; height: auto; }

.primary-nav { margin-left: auto; }
.primary-nav__list { display: flex; align-items: center; gap: .25rem; list-style: none; }
.primary-nav__item { position: relative; }
.primary-nav__link {
  display: inline-flex; align-items: center; gap: .35rem;
  padding: .6rem .9rem; border: 0; background: none; cursor: pointer;
  font-size: var(--fs-small); font-weight: 500; letter-spacing: .01em;
  text-decoration: none; color: inherit;
  border-radius: var(--radius);
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0 1px; background-repeat: no-repeat; background-position: .9rem calc(100% - .45rem);
  transition: background-size var(--t-ui) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .primary-nav__link:hover { background-size: calc(100% - 1.8rem) 1px; }
}
.primary-nav__link[aria-current="page"], .primary-nav__trigger.is-current { background-size: calc(100% - 1.8rem) 1px; }
.primary-nav__trigger { background-size: 0 1px; }
.chevron { width: .75rem; height: .75rem; transition: transform var(--t-ui) var(--ease-out); }
.primary-nav__trigger[aria-expanded="true"] .chevron { transform: rotate(180deg); }

.menu-panel {
  position: absolute; top: calc(100% + .6rem); left: -.5rem;
  width: 22rem; padding: .5rem;
  background: var(--ivory); color: var(--ink);
  border: 1px solid var(--line); border-radius: 3px;
  box-shadow: 0 12px 24px -14px rgba(30, 30, 36, .3);
  transform-origin: top left;
  opacity: 0; transform: translateY(-4px) scale(.97);
  transition: opacity var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out);
}
.menu-panel.is-open { opacity: 1; transform: none; transition-duration: var(--t-ui); }
.menu-panel ul { list-style: none; }
.menu-panel a {
  display: grid; gap: .1rem; padding: .8rem 1rem; border-radius: var(--radius);
  text-decoration: none; font-weight: 600; font-size: var(--fs-small); color: var(--forest);
  transition: background-color var(--t-fast) var(--ease-out);
}
.menu-panel a span { font-weight: 400; font-size: var(--fs-micro); color: var(--ink-soft); }
.menu-panel a:hover, .menu-panel a:focus-visible { background: var(--ivory-deep); }
.menu-panel a[aria-current="page"] { background: var(--ivory-deep); }

.button--header { flex: none; min-height: 2.85rem; padding: .7rem 1.2rem; }

.menu-toggle {
  display: none; margin-left: auto; align-items: center; gap: .7rem;
  min-height: 2.75rem; padding: .5rem .25rem .5rem .75rem;
  background: none; border: 0; cursor: pointer; color: inherit;
  font-size: var(--fs-small); font-weight: 600; letter-spacing: .02em;
}
.menu-toggle__icon { position: relative; width: 1.5rem; height: .75rem; }
.menu-toggle__icon span {
  position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor;
  transition: transform var(--t-ui) var(--ease-out), top var(--t-ui) var(--ease-out);
}
.menu-toggle__icon span:first-child { top: 0; }
.menu-toggle__icon span:last-child { top: calc(100% - 1.5px); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:first-child { top: calc(50% - .75px); transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-toggle__icon span:last-child { top: calc(50% - .75px); transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: var(--ivory); color: var(--ink);
  overflow-y: auto; overscroll-behavior: contain;
  padding: 1.5rem var(--gutter) calc(2rem + env(safe-area-inset-bottom));
  clip-path: inset(0 0 100% 0);
  transition: clip-path var(--t-ui) var(--ease-in-out);
}
.mobile-menu.is-open { clip-path: inset(0 0 0 0); transition-duration: var(--t-panel); }
.mobile-menu__group { font-size: var(--fs-micro); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .5rem; }
.mobile-menu ul { list-style: none; margin-bottom: 1.5rem; }
.mobile-menu li a {
  display: block; padding: .8rem 0; border-bottom: 1px solid var(--line);
  font-size: 1.5rem; font-weight: 300; letter-spacing: -0.01em; text-decoration: none; color: var(--forest);
}
.mobile-menu__secondary li a { font-size: 1.25rem; }
.mobile-menu li a[aria-current="page"] { font-weight: 500; }
body.menu-open { overflow: hidden; }
body.menu-open .site-header { background: var(--ivory); color: var(--forest); border-color: var(--line); }

@media (max-width: 62rem) {
  .primary-nav, .button--header { display: none; }
  .menu-toggle { display: inline-flex; }
  .brand__wordmark { width: 9rem; }
}
@media (max-width: 22.5rem) {
  .brand__wordmark { width: 7.5rem; }
  .menu-toggle__label { display: none; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  background: var(--forest); color: var(--ivory);
  min-height: max(34rem, 66svh);
  display: grid; place-items: center;
  padding: calc(var(--header-h) + 3.5rem) var(--gutter) 5.5rem;
  text-align: center;
  isolation: isolate; overflow: hidden;
}
.hero::before { /* the emblem's frame, drawn large and quiet behind the stage */
  content: ""; position: absolute; inset: 50% auto auto 50%; z-index: -1;
  width: min(118vw, 64rem); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: url("/assets/brand/frame-line.svg") center / contain no-repeat;
  opacity: .08;
}
.hero__inner { max-width: 52rem; display: grid; justify-items: center; }
.hero__emblem { display: block; width: clamp(4.5rem, 3.6rem + 3vw, 7rem); color: var(--champagne); margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }
.hero h1 { color: var(--ivory); font-size: var(--fs-display); font-weight: 300; letter-spacing: -0.03em; line-height: 1.05; max-width: 14ch; }
.hero__lead { margin-top: 1.5rem; max-width: 38rem; font-size: var(--fs-lead); line-height: 1.6; color: var(--forest-muted); }
.hero__actions { margin-top: 2.5rem; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1rem 2rem; }
.hero__foot {
  position: absolute; left: 0; right: 0; bottom: 1.75rem;
  display: flex; justify-content: center; gap: 1.5rem;
  font-size: var(--fs-micro); letter-spacing: .14em; text-transform: uppercase; color: var(--champagne);
}
.hero__foot span + span::before { content: "·"; margin-right: 1.5rem; color: var(--forest-line); }

/* Single authored entrance: the emblem settles, then the words. Content is visible by default. */
@media (prefers-reduced-motion: no-preference) {
  .js .hero__emblem, .js .hero h1, .js .hero__lead, .js .hero__actions {
    animation: settle 900ms var(--ease-out) both;
  }
  .js .hero__emblem { animation-name: settle-emblem; animation-duration: 1100ms; }
  .js .hero h1 { animation-delay: 120ms; }
  .js .hero__lead { animation-delay: 200ms; }
  .js .hero__actions { animation-delay: 280ms; }
}
@keyframes settle { from { opacity: 0; transform: translateY(12px); filter: blur(4px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes settle-emblem { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(3.5rem, 2.5rem + 4vw, 6.5rem) 0 clamp(2.5rem, 2rem + 2vw, 4rem); border-bottom: 1px solid var(--line); }
.page-hero__crumbs { font-size: var(--fs-micro); margin-bottom: 1.75rem; color: var(--ink-soft); }
.page-hero__crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem; }
.page-hero__crumbs li + li::before { content: "/"; margin-right: .5rem; color: var(--graphite); }
.page-hero__crumbs a { color: var(--ink-soft); text-underline-offset: .25em; text-decoration-color: var(--ivory-line); }
.page-hero__crumbs a:hover { text-decoration-color: currentColor; }
.page-hero__grid { display: grid; gap: 2rem 4rem; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: end; }
.page-hero h1 { font-size: var(--fs-display); letter-spacing: -0.03em; line-height: 1.05; color: var(--forest); }
.page-hero__lead { font-size: var(--fs-lead); color: var(--ink-soft); max-width: 34rem; }
.page-hero__lead + .page-hero__lead { margin-top: 1rem; }
.page-hero__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem 1.75rem; align-items: center; }
@media (max-width: 52rem) { .page-hero__grid { grid-template-columns: 1fr; } }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .7); }
.band--forest { background: var(--forest); color: var(--ivory); }
.band--forest h2, .band--forest h3 { color: var(--ivory); }
.band--deep { background: var(--ivory-deep); }
.section__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section__head h2 { font-size: var(--fs-h2); color: var(--forest); max-width: 16ch; }
.band--forest .section__head h2 { color: var(--ivory); }
.section__head p { color: var(--ink-soft); max-width: 34rem; }
.band--forest .section__head p { color: var(--forest-muted); }
@media (max-width: 52rem) { .section__head { grid-template-columns: 1fr; } }

.prose { max-width: var(--measure); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: var(--fs-h3); color: var(--forest); margin-top: 2.4em; }
.prose h3 { font-size: var(--fs-h4); font-weight: 500; letter-spacing: -0.01em; margin-top: 2em; }
.prose h2 + *, .prose h3 + * { margin-top: .75em; }
.prose ul { padding-left: 1.2em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--champagne-deep); }
.prose a { color: var(--forest); font-weight: 600; text-underline-offset: .25em; text-decoration-thickness: 1px; }

/* ---------- Service index (signature) ---------- */
.service-index { list-style: none; border-top: 1px solid var(--line); counter-reset: none; }
.service-index__row { border-bottom: 1px solid var(--line); }
.service-index__link {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr) auto; gap: .5rem 3rem; align-items: center;
  padding: clamp(1.4rem, 1rem + 1.2vw, 2.1rem) 0;
  text-decoration: none; color: inherit;
}
.service-index__name {
  font-size: var(--fs-h3); font-weight: 300; letter-spacing: -0.02em; line-height: 1.15; color: var(--forest);
  transition: transform var(--t-panel) var(--ease-out);
}
.service-index__desc { color: var(--ink-soft); font-size: var(--fs-small); max-width: 32rem; }
.service-index__arrow {
  width: 3rem; height: 3rem; border: 1px solid var(--line); border-radius: 50%;
  display: grid; place-items: center; color: var(--forest);
  transition: background-color var(--t-ui) var(--ease-out), color var(--t-ui) var(--ease-out), border-color var(--t-ui) var(--ease-out), transform var(--t-ui) var(--ease-out);
}
.service-index__arrow .arrow { width: 1.1rem; height: 1.1rem; }
.service-index__link::after { /* forest rule that draws across on hover/focus */
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: var(--forest); transform: scaleX(0); transform-origin: left;
  transition: transform var(--t-panel) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .service-index__link:hover .service-index__name { transform: translateX(.5rem); }
  .service-index__link:hover .service-index__arrow { background: var(--forest); border-color: var(--forest); color: var(--ivory); }
  .service-index__link:hover::after { transform: scaleX(1); }
}
.service-index__link:focus-visible { outline-offset: 6px; }
.service-index__link:focus-visible::after { transform: scaleX(1); }
.service-index__link:focus-visible .service-index__arrow { background: var(--forest); color: var(--ivory); border-color: var(--forest); }
@media (max-width: 52rem) {
  .service-index__link { grid-template-columns: minmax(0, 1fr) auto; }
  .service-index__desc { grid-column: 1; grid-row: 2; }
  .service-index__arrow { grid-column: 2; grid-row: 1 / span 2; width: 2.5rem; height: 2.5rem; }
}

/* ---------- Principles (editorial columns, not cards) ---------- */
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem clamp(2rem, 1rem + 3vw, 4.5rem); list-style: none; }
.principles li { padding-top: 1.5rem; border-top: 1px solid var(--champagne-deep); }
.principles h3 { font-size: var(--fs-h4); font-weight: 400; color: var(--forest); margin-bottom: .75rem; }
.principles p { color: var(--ink-soft); font-size: var(--fs-small); }
@media (max-width: 52rem) { .principles { grid-template-columns: 1fr; gap: 2rem; } }

/* ---------- Membership tiers ---------- */
.tiers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: auto; gap: clamp(1rem, .5rem + 1.5vw, 2rem); }
.tier {
  position: relative; display: grid; grid-template-rows: auto auto auto 1fr; gap: 1.25rem;
  padding: clamp(1.75rem, 1.25rem + 2vw, 3rem);
  background: rgba(241, 238, 229, .07);
  /* notched corners, after the emblem's frame */
  --notch: 1.1rem;
  -webkit-mask: radial-gradient(circle var(--notch) at 0 0, transparent 98%, #000) top left / 51% 51% no-repeat,
                radial-gradient(circle var(--notch) at 100% 0, transparent 98%, #000) top right / 51% 51% no-repeat,
                radial-gradient(circle var(--notch) at 0 100%, transparent 98%, #000) bottom left / 51% 51% no-repeat,
                radial-gradient(circle var(--notch) at 100% 100%, transparent 98%, #000) bottom right / 51% 51% no-repeat;
          mask: radial-gradient(circle var(--notch) at 0 0, transparent 98%, #000) top left / 51% 51% no-repeat,
                radial-gradient(circle var(--notch) at 100% 0, transparent 98%, #000) top right / 51% 51% no-repeat,
                radial-gradient(circle var(--notch) at 0 100%, transparent 98%, #000) bottom left / 51% 51% no-repeat,
                radial-gradient(circle var(--notch) at 100% 100%, transparent 98%, #000) bottom right / 51% 51% no-repeat;
}
.tier--featured { background: var(--ivory); color: var(--ink); }
.tier__name { font-size: var(--fs-h4); font-weight: 400; letter-spacing: -0.01em; }
.band--forest .tier:not(.tier--featured) .tier__name { color: var(--ivory); }
.tier--featured .tier__name { color: var(--forest); }
.tier__price { display: flex; align-items: baseline; gap: .5rem; }
.tier__amount { font-size: clamp(3rem, 2.4rem + 2.5vw, 4.5rem); font-weight: 200; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums lining-nums; }
.band--forest .tier:not(.tier--featured) .tier__amount { color: var(--champagne); }
.tier--featured .tier__amount { color: var(--forest); }
.tier__per { font-size: var(--fs-small); color: var(--forest-muted); }
.tier--featured .tier__per { color: var(--ink-soft); }
.tier__summary { color: var(--forest-muted); }
.tier--featured .tier__summary { color: var(--ink-soft); }
.tier__list { list-style: none; display: grid; gap: .65rem; font-size: var(--fs-small); padding-top: 1.25rem; border-top: 1px solid var(--forest-line); }
.tier--featured .tier__list { border-color: var(--line); }
.tier__list li { display: grid; grid-template-columns: 1.1rem 1fr; gap: .75rem; align-items: start; }
.tier__list svg { width: 1.1rem; height: 1.1rem; margin-top: .3em; color: var(--champagne); }
.tier--featured .tier__list svg { color: var(--forest); }
.tiers__note { margin-top: 1.75rem; font-size: var(--fs-small); color: var(--forest-muted); }
.band--deep .tiers__note, .section:not(.band--forest) .tiers__note { color: var(--ink-soft); }
@supports (grid-template-rows: subgrid) {
  .tier { grid-row: span 4; grid-template-rows: subgrid; row-gap: 1.25rem; }
}
@media (max-width: 46rem) { .tiers { grid-template-columns: 1fr; } }

/* Tiers on ivory (membership page) */
.tiers--light .tier { background: var(--ivory-deep); }
.tiers--light .tier__name { color: var(--forest); }
.tiers--light .tier__amount { color: var(--forest); }
.tiers--light .tier__per, .tiers--light .tier__summary { color: var(--ink-soft); }
.tiers--light .tier__list { border-color: var(--line); }
.tiers--light .tier__list svg { color: var(--forest); }
.tiers--light .tier--featured { background: var(--forest); color: var(--ivory); }
.tiers--light .tier--featured .tier__name { color: var(--ivory); }
.tiers--light .tier--featured .tier__amount { color: var(--champagne); }
.tiers--light .tier--featured .tier__per, .tiers--light .tier--featured .tier__summary { color: var(--forest-muted); }
.tiers--light .tier--featured .tier__list { border-color: var(--forest-line); }
.tiers--light .tier--featured .tier__list svg { color: var(--champagne); }

/* ---------- Steps (course of care) ---------- */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2.5rem clamp(1.5rem, 1rem + 2vw, 3rem); counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-top: 2.75rem; }
.steps li::before {
  content: counter(step); position: absolute; top: 0; left: 0;
  width: 2rem; height: 2rem; display: grid; place-items: center;
  border: 1px solid var(--champagne-deep); border-radius: 50%;
  font-size: var(--fs-micro); font-weight: 600; color: var(--forest); font-variant-numeric: tabular-nums;
}
.steps li::after { content: ""; position: absolute; top: 1rem; left: 2.75rem; right: -1rem; height: 1px; background: var(--line); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: var(--fs-h4); font-weight: 400; color: var(--forest); margin-bottom: .6rem; }
.steps p { font-size: var(--fs-small); color: var(--ink-soft); }
@media (max-width: 62rem) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } .steps li:nth-child(2)::after { display: none; } }
@media (max-width: 36rem) { .steps { grid-template-columns: 1fr; } .steps li::after { display: none; } }

/* ---------- Offer list (service pages) ---------- */
.offer-list { list-style: none; border-top: 1px solid var(--line); }
.offer-list li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: .5rem 3rem; padding: 1.75rem 0; border-bottom: 1px solid var(--line); }
.offer-list h3 { font-size: var(--fs-h4); font-weight: 400; color: var(--forest); letter-spacing: -0.01em; }
.offer-list p { color: var(--ink-soft); }
@media (max-width: 46rem) { .offer-list li { grid-template-columns: 1fr; } }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 2rem clamp(2rem, 1rem + 4vw, 6rem); }
.split > h2 { font-size: var(--fs-h2); color: var(--forest); max-width: 12ch; }
@media (max-width: 52rem) { .split { grid-template-columns: 1fr; } }

.facts { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.facts li { padding: 1.5rem 1.5rem 1.5rem 0; border-bottom: 1px solid var(--line); }
.facts dt, .facts .facts__label { font-size: var(--fs-micro); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: .35rem; }
.facts .facts__value { font-size: 1.25rem; font-weight: 400; color: var(--forest); }

.note {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start;
  padding: 1.25rem 1.5rem; background: var(--ivory-deep); border-radius: var(--radius);
  font-size: var(--fs-small); color: var(--ink-soft);
}
.note svg { width: 1.25rem; height: 1.25rem; color: var(--forest); margin-top: .2em; }

/* ---------- Closing call ---------- */
.closing { text-align: center; }
.closing__emblem { display: block; width: 3.5rem; color: var(--champagne); margin: 0 auto 2rem; }
.closing h2 { font-size: var(--fs-h2); max-width: 18ch; margin-inline: auto; }
.closing p { margin: 1.25rem auto 0; max-width: 36rem; color: var(--forest-muted); }
.closing .button { margin-top: 2.25rem; }

/* ---------- FAQ (disclosure) ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; gap: 2rem; align-items: center;
  padding: 1.5rem 0; font-size: 1.25rem; font-weight: 400; color: var(--forest);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { position: relative; width: 1rem; height: 1rem; flex: none; }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; inset: 50% 0 auto; height: 1.5px; background: currentColor; transform: translateY(-50%); transition: transform var(--t-ui) var(--ease-out); }
.faq summary .plus::after { transform: translateY(-50%) rotate(90deg); }
.faq details[open] summary .plus::after { transform: translateY(-50%) rotate(0deg); }
.faq .faq__body { padding: 0 0 1.75rem; max-width: var(--measure); color: var(--ink-soft); }
.faq .faq__body > * + * { margin-top: .8em; }
@media (prefers-reduced-motion: no-preference) {
  .faq details::details-content { transition: content-visibility var(--t-panel) allow-discrete, height var(--t-panel) var(--ease-out); height: 0; overflow: clip; }
  .faq details[open]::details-content { height: auto; }
  @supports (interpolate-size: allow-keywords) { :root { interpolate-size: allow-keywords; } }
}

/* ---------- Form ---------- */
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 3rem clamp(2rem, 1rem + 4vw, 6rem); align-items: start; }
@media (max-width: 56rem) { .form-layout { grid-template-columns: 1fr; } }
.form-aside { display: grid; gap: 1.5rem; position: sticky; top: calc(var(--header-h) + 2rem); }
@media (max-width: 56rem) { .form-aside { position: static; } }
.form-aside h2 { font-size: var(--fs-h4); font-weight: 400; color: var(--forest); }
.form-aside p, .form-aside li { color: var(--ink-soft); font-size: var(--fs-small); }
.form-aside ol { padding-left: 1.2em; display: grid; gap: .5rem; }

.form { display: grid; gap: 1.75rem; }
.form fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.form legend, .field label { display: block; font-size: var(--fs-small); font-weight: 600; color: var(--ink); margin-bottom: .55rem; padding: 0; }
.field__hint { display: block; font-size: var(--fs-micro); color: var(--ink-soft); margin-top: -.3rem; margin-bottom: .6rem; font-weight: 400; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem; }
@media (max-width: 36rem) { .form-row { grid-template-columns: 1fr; } }
.input, .textarea, .select {
  width: 100%; min-height: 3.25rem; padding: .8rem 1rem;
  background: #FBFAF6; color: var(--ink);
  border: 1px solid #B9B09C; border-radius: var(--radius);
  font-size: 1rem; line-height: 1.5;
  transition: border-color var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out), background-color var(--t-fast) var(--ease-out);
  caret-color: var(--forest);
}
.textarea { min-height: 8.5rem; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: #6A6555; }
.input:hover, .textarea:hover, .select:hover { border-color: var(--forest-line); }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px rgba(62, 81, 68, .18); background: #fff; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%233E5144' stroke-width='1.4' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: .8rem; padding-right: 2.5rem; }
.field.is-invalid .input, .field.is-invalid .textarea, .field.is-invalid .select { border-color: #9B2C2C; box-shadow: 0 0 0 3px rgba(155, 44, 44, .12); }
.field__error { display: flex; gap: .4rem; align-items: center; margin-top: .45rem; font-size: var(--fs-micro); font-weight: 600; color: #8E2828; }
.field__error[hidden] { display: none; }

.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .65rem; }
@media (max-width: 36rem) { .choices { grid-template-columns: 1fr; } }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.choice span {
  display: flex; align-items: center; gap: .75rem; min-height: 3.25rem; padding: .7rem 1rem;
  border: 1px solid #B9B09C; border-radius: var(--radius); background: #FBFAF6;
  font-size: var(--fs-small); font-weight: 500; color: var(--ink);
  transition: border-color var(--t-fast) var(--ease-out), background-color var(--t-fast) var(--ease-out), color var(--t-fast) var(--ease-out);
}
.choice span::before {
  content: ""; flex: none; width: 1.1rem; height: 1.1rem; border: 1.5px solid var(--forest-line); border-radius: 2px;
  background: #fff center / .75rem no-repeat;
  transition: background-color var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out);
}
.choice input[type="radio"] + span::before { border-radius: 50%; }
.choice input:hover + span { border-color: var(--forest-line); }
.choice input:checked + span { border-color: var(--forest); background: #fff; color: var(--forest); }
.choice input:checked + span::before { background-color: var(--forest); border-color: var(--forest); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='m2.5 6.2 2.3 2.3 4.7-5' fill='none' stroke='%23F1EEE5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.choice input[type="radio"]:checked + span::before { background-image: radial-gradient(circle, #F1EEE5 0 28%, transparent 32%); }
.choice input:focus-visible + span { outline: 2px solid var(--forest); outline-offset: 2px; }

.consent { display: grid; grid-template-columns: auto 1fr; gap: .8rem; align-items: start; font-size: var(--fs-small); color: var(--ink-soft); }
.consent input { width: 1.2rem; height: 1.2rem; margin-top: .2rem; accent-color: var(--forest); }

.form__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.button .spinner { width: 1rem; height: 1rem; border: 1.5px solid currentColor; border-right-color: transparent; border-radius: 50%; display: none; }
.button.is-loading .spinner { display: inline-block; animation: spin 700ms linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-status { padding: 1.25rem 1.5rem; border-radius: var(--radius); font-size: var(--fs-small); display: grid; gap: .35rem; }
.form-status[hidden] { display: none; }
.form-status strong { font-weight: 600; font-size: 1rem; }
.form-status--success { background: var(--forest); color: var(--ivory); }
.form-status--pending { background: var(--ivory-deep); color: var(--ink); border: 1px solid var(--line); }
.form-status--error { background: #F6E7E4; color: #6E1F1F; border: 1px solid #E2C1BB; }
@media (prefers-reduced-motion: no-preference) {
  .form-status:not([hidden]) { animation: settle 360ms var(--ease-out) both; }
}

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: var(--section) var(--gutter); }
.notfound__emblem { display: block; width: 4rem; color: var(--champagne-deep); margin: 0 auto 2rem; }
.notfound h1 { font-size: var(--fs-h2); color: var(--forest); }
.notfound p { margin: 1rem auto 2rem; color: var(--ink-soft); max-width: 30rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-deep); color: var(--forest-muted); padding-top: clamp(3.5rem, 2.5rem + 3vw, 5.5rem); font-size: var(--fs-small); }
.site-footer__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; padding-bottom: 3rem; border-bottom: 1px solid var(--forest-line); }
.site-footer__lockup { display: inline-block; width: 11rem; }
.site-footer__lockup svg { width: 100%; height: auto; }
.site-footer__tagline { margin-top: 1.75rem; color: var(--ivory); font-size: 1.125rem; font-weight: 300; }
.site-footer__place { margin-top: .75rem; line-height: 1.6; }
.site-footer__heading { font-size: var(--fs-micro); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--champagne); margin-bottom: 1rem; }
.site-footer__nav ul { list-style: none; display: grid; gap: .5rem; }
.site-footer__nav a { color: var(--ivory); text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-position: 0 100%; background-repeat: no-repeat; transition: background-size var(--t-ui) var(--ease-out); padding-bottom: 2px; }
.site-footer__nav a:hover { background-size: 100% 1px; }
.site-footer__legal { display: grid; gap: .75rem; padding-block: 2rem calc(2rem + env(safe-area-inset-bottom)); font-size: var(--fs-micro); line-height: 1.6; }
.site-footer__legal p:first-child { max-width: 60rem; }
@media (max-width: 52rem) { .site-footer__grid { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; animation-iteration-count: 1 !important; }
  .button.is-loading .spinner { animation: none; border-right-color: currentColor; opacity: .6; }
}

/* ---------- Print ---------- */
@media print {
  .site-header, .site-footer__nav, .hero::before, .skip-link { display: none !important; }
  .hero, .band--forest { background: none; color: #000; }
  .hero h1, .band--forest h2 { color: #000; }
}

/* ---------- Refinements ---------- */
.hero__foot { padding-inline: var(--gutter); flex-wrap: wrap; row-gap: .25rem; }
@media (max-width: 30rem) {
  .hero__foot { letter-spacing: .1em; gap: 1rem; }
  .hero__foot span + span::before { margin-right: 1rem; }
}
.choices--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 36rem) { .choices--3 { grid-template-columns: 1fr; } }

/* The first section under the home hero starts closer, so its heading and first index rule share the first viewport. */
.hero + .section { padding-top: clamp(3rem, 2rem + 2.5vw, 4rem); }
/* On ivory bands an unfeatured tier sits on a deeper tint; on the deep band it lifts back to ivory. */
.band--deep .tiers--light .tier:not(.tier--featured) { background: var(--ivory); }
.hero + .section .section__head { margin-bottom: clamp(2rem, 1.5rem + 1.5vw, 2.5rem); }
.hero { padding: calc(var(--header-h) + 2rem) var(--gutter) 4.25rem; }
.hero__emblem { width: clamp(4.25rem, 3.6rem + 2vw, 5.5rem); margin-bottom: clamp(1.75rem, 1.25rem + 1.5vw, 2.25rem); }
.hero__actions { margin-top: 2rem; }
.hero__foot { bottom: 1.25rem; }
/* The emblem frame is sized to the band's own height so its notched corners always show. */
.hero::before { width: auto; height: min(94%, 130vw); }
.hero { padding: calc(var(--header-h) + 3rem) var(--gutter) 3.75rem; }
.hero::before { height: min(72%, 130vw); top: calc(50% + 2.25rem); }
.note--spaced { margin-top: 2rem; }
.closing__actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1rem 2rem; }
.closing__actions .button { margin-top: 0; }
.mobile-menu__alt { margin-top: 1.25rem; }
