/* ============================================================
   ANA VERÓNICA HEALING — site.css (ONE stylesheet, playbook rule 20)
   Sections: TOKENS · BASE · COMPONENTS · EFFECTS · QUETZAL brand layer.
   Promoted from the draft round 2026-10-12 (winner: option 3 · Quetzal).
   ============================================================ */



/* ######################## TOKENS ######################## */

/* ============================================================
   TOKENS — the single source of truth for a build.
   Everything references var(--token); nothing hard-codes a value.
   The dev cheat sheet (tools/dev-tools.js) reads these live.
   Set the CORE PALETTE per client. Everything below it derives
   automatically, so change one core colour and the neutrals,
   gradients and overlays all follow.
   ============================================================ */

:root {

  /* ================= CORE PALETTE — the only 6 you set ============= */
  --white:      #f5f0e8;   /* Cream — page + section background (this brand's warm "paper") */
  --ink:        #1a1a1a;   /* Dark brown — body text + image scrims (never pure #000) */
  --brand:      #1a7a78;   /* Teal — links, buttons, focus, eyebrows (drives all interactive) */
  --brand-2:    #2d4a35;   /* Forest green — headers, dark bands, nav, footer */
  --brand-tint: color-mix(in srgb, var(--brand) 60%, var(--white)); /* pale teal; tracks --brand */
  --accent:     #c8a84b;   /* Gold — highlights, dividers, labels on dark */
  /* Orange #c8832a is the Health-Triangle logo accent only — not a UI colour, so not tokenised. */

  /* ================= DERIVED NEUTRALS — auto from ink/white ======== */
  /* You normally leave these alone; they restyle themselves when you
     change --ink or --white. */
  --bg:       var(--white);
  --surface:  color-mix(in srgb, var(--ink)  4%, var(--white));  /* alt sections / cards */
  --line:     color-mix(in srgb, var(--ink) 12%, var(--white));  /* hairlines / borders  */
  --ink-soft: color-mix(in srgb, var(--ink) 62%, var(--white));  /* muted text           */
  --on-dark:      color-mix(in srgb, var(--white) 90%, transparent); /* text on dark  */
  --on-dark-soft: color-mix(in srgb, var(--white) 60%, transparent); /* muted on dark */

  /* ================= GRADIENTS — built from the palette =========== */
  /* Reuse these instead of hand-writing gradients. Because they use
     var(), changing a core colour updates every gradient. */
  --grad-brand:  linear-gradient(135deg, var(--brand), var(--brand-tint));
  --grad-duo:    linear-gradient(135deg, var(--brand-2), var(--brand));
  --grad-accent: linear-gradient(135deg, var(--brand), var(--accent));

  /* ================= OVERLAYS — ink at an opacity ================= */
  /* One token used everywhere. Change --ink and the overlay follows;
     change the % here once and every overlay on the site updates. */
  --overlay:        color-mix(in srgb, var(--ink) 60%, transparent);
  --overlay-strong: color-mix(in srgb, var(--ink) 80%, transparent);
  /* Image scrim (top-darker gradient) so text stays legible over any photo. */
  --scrim: linear-gradient(180deg,
             color-mix(in srgb, var(--ink) 55%, transparent),
             color-mix(in srgb, var(--ink) 32%, transparent));

  /* ================= FONTS — HARD CAP of 3 (head / body / accent) ==
     Roles, not restrictions: a "head" font can style a CTA body.
     A 4th family needs Tobie's explicit OK — never add one unprompted.
     Google Fonts only; for an off-Google brand font use the closest
     Google equivalent. Self-host the 3 for EU clients. */
  --font-head:   'Cormorant Garamond', Georgia, serif;   /* elegant, ceremonial display serif */
  --font-body:   'Inter', system-ui, sans-serif;          /* clean, modern, readable */
  --font-accent: var(--font-head);                        /* sacred labels = the serif, italic */

  /* ================= FLUID TYPE SCALE ============================= */
  /* ONE clamp() per element — never re-declare font-size in a media
     query. Middle value always carries a rem term so browser zoom
     scales text; every element keeps max <= 2.5x min (WCAG 1.4.4).
     Retune with fluid(minPx,maxPx) — helper in ../../playbook.md. */
  --fs-display: clamp(2.500rem, 1.583rem + 4.583vw, 5.250rem); /* 40 -> 84px */
  --fs-h1:      clamp(2.125rem, 1.583rem + 2.708vw, 3.750rem); /* 34 -> 60px */
  --fs-h2:      clamp(1.688rem, 1.333rem + 1.771vw, 2.750rem); /* 27 -> 44px */
  --fs-h3:      clamp(1.375rem, 1.208rem + 0.833vw, 1.875rem); /* 22 -> 30px */
  --fs-h4:      clamp(1.125rem, 1.063rem + 0.313vw, 1.313rem); /* 18 -> 21px */
  --fs-lead:    clamp(1.125rem, 1.042rem + 0.417vw, 1.375rem); /* 18 -> 22px */
  --fs-body:    clamp(1.000rem, 0.958rem + 0.208vw, 1.125rem); /* 16 -> 18px */
  --fs-small:   clamp(0.844rem, 0.833rem + 0.052vw, 0.875rem); /* 13.5 -> 14 */

  --lh-display: 1.02; --lh-h1: 1.06; --lh-h2: 1.12; --lh-h3: 1.2; --lh-h4: 1.3;
  --lh-body: 1.6; --lh-tight: 1.15;
  --fw-body: 400; --fw-medium: 500; --fw-head: 600;   /* Cormorant reads elegant at 600 (700 is heavy) */
  --track-tight: -0.02em; --track-eyebrow: 0.18em;

  /* ================= WIDTHS + MEASURE ============================= */
  /* One measure on the BLOCK, children fill it -> headline + subhead +
     body share the same width. See .block in base.css. */
  --content-max: 1200px;
  --measure:      65ch;
  --measure-hero: 24ch;
  --gutter:      clamp(1.25rem, 4vw, 2.5rem);

  /* ================= SPACING + RHYTHM ============================= */
  --space-3xs: 0.25rem; --space-2xs: 0.5rem; --space-xs: 0.75rem;
  --space-sm: 1rem; --space-md: 1.5rem; --space-lg: 2rem;
  --space-xl: 3rem; --space-2xl: 4rem;
  --section-y: clamp(3.5rem, 8vw, 8rem);

  /* ================= SHAPE + ELEVATION =========================== */
  --r-sm: 8px; --r: 14px; --r-lg: 22px; --r-pill: 999px;
  --shadow-sm: 0 2px 8px -3px rgba(16,20,40,.18);
  --shadow:    0 18px 40px -24px rgba(16,20,40,.30);
  --shadow-lg: 0 40px 80px -42px rgba(16,20,40,.45);

  /* ================= MOTION ====================================== */
  --ease:    cubic-bezier(.16, 1, .3, 1);     /* reveals */
  --ease-ui: cubic-bezier(.22, .61, .36, 1);  /* hovers  */
  --dur:     600ms;   /* scroll reveals        */
  --dur-ui:  200ms;   /* hovers / transitions  */
  --reveal-distance: 24px;
  /* Blanket hover/interaction transition — "all" so nothing is forgotten. */
  --transition: all var(--dur-ui) var(--ease-ui);

  /* ================= LAYOUT CHROME =============================== */
  --header-h: 76px;

  /* ============ BREAKPOINTS — 4 modes (matches Cornerstone) ========
     Mobile-first. Labels are Tobie's reference names (device-loose on
     purpose), chosen to sync with the Cornerstone builder. var() can't be
     used in a @media condition, so queries hardcode these — keep in sync.
       mobile   0–479    base, no query
       tablet   480–767  @media (min-width: 480px)
       laptop   768–979  @media (min-width: 768px)
       desktop  980+     @media (min-width: 980px)   */
  --bp-tablet: 480px; --bp-laptop: 768px; --bp-desktop: 980px;
}


/* ######################## BASE ######################## */

/* ============================================================
   BASE — reset, element defaults wired to tokens, layout
   primitives, the scroll-reveal kit, accessibility baseline.
   Load order: tokens -> base -> components -> effects.
   Class names are unprefixed (clean, human). When a build is
   pasted into a themed WordPress page, prefix block roots with a
   client code (tp-, dwt-) so generic names can't collide.
   ============================================================ */

/* ---- Reset ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  min-height: 100svh;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-weight: var(--fw-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;              /* clip, NOT hidden (hidden breaks sticky) */
}

img, picture, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: inherit; text-decoration: none; }
ul[class], ol[class] { list-style: none; padding: 0; }

/* Blanket interaction transition — "all" so no hover is ever forgotten.
   Scoped to interactive elements (not *) so it never fights the reveal
   animation or animates layout on load. */
a, button, input, select, textarea, summary, label[for] { transition: var(--transition); }

/* ---- Headings + text wired to the fluid scale ---------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-head); font-weight: var(--fw-head);
  line-height: var(--lh-tight); letter-spacing: var(--track-tight); text-wrap: balance;
}
h1 { font-size: var(--fs-h1); line-height: var(--lh-h1); }
h2 { font-size: var(--fs-h2); line-height: var(--lh-h2); }
h3 { font-size: var(--fs-h3); line-height: var(--lh-h3); }
h4 { font-size: var(--fs-h4); line-height: var(--lh-h4); }
p  { text-wrap: pretty; }
small, .u-small { font-size: var(--fs-small); }
strong, b { font-weight: var(--fw-head); }

/* ---- Layout primitives --------------------------------------------- */
.container { width: 100%; max-width: var(--content-max); margin-inline: auto; padding-inline: var(--gutter); }
.container.is-measure { max-width: 70ch; }   /* narrow one block without touching --content-max */
.section { padding-block: var(--section-y); position: relative; }

/* Stretched link: one real <a class="stretch"> makes its whole positioned
   parent (e.g. a .card) clickable. Put position:relative on the parent. */
.stretch::after { content: ""; position: absolute; inset: 0; z-index: 1; }

/* THE shared-width block: --measure on the BLOCK, children fill it, so
   eyebrow + headline + subhead + body all wrap at the SAME width. */
.block { max-width: var(--measure); }
.block.is-centered { margin-inline: auto; text-align: center; }
.block.is-hero { max-width: var(--measure-hero); }
.block > * { max-width: 100%; }
.block > * + * { margin-top: var(--flow, 1em); }

.grid { display: grid; gap: var(--gutter); grid-template-columns: 1fr; }
@media (min-width: 768px) { .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }  /* laptop+ */
@media (min-width: 980px) { .grid.cols-3 { grid-template-columns: repeat(3, 1fr); } .grid.cols-4 { grid-template-columns: repeat(4, 1fr); } }  /* desktop */

[id] { scroll-margin-top: calc(var(--header-h) + 1rem); }

/* ---- Accessibility -------------------------------------------------- */
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 2px; }
:focus:not(:focus-visible) { outline: none; }
.skip {
  position: absolute; left: 8px; top: -60px; z-index: 999;
  background: var(--ink); color: var(--white); padding: .6rem 1rem; border-radius: var(--r-sm);
  transition: var(--transition);
}
.skip:focus { top: 8px; }
.u-visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ---- Scroll-reveal kit (keyframe animation, not transition, so it
   never collides with the blanket hover transition) ------------------- */
html.js [data-reveal] { opacity: 0; }
html.js [data-reveal].is-revealed {
  animation: reveal var(--dur) var(--ease) var(--reveal-delay, 0ms) both;
}
@keyframes reveal { from { opacity: 0; transform: var(--reveal-from, none); } to { opacity: 1; transform: none; } }
[data-reveal="fade-up"]    { --reveal-from: translateY(var(--reveal-distance)); }
[data-reveal="fade-down"]  { --reveal-from: translateY(calc(-1 * var(--reveal-distance))); }
[data-reveal="fade-left"]  { --reveal-from: translateX(var(--reveal-distance)); }   /* enters from right */
[data-reveal="fade-right"] { --reveal-from: translateX(calc(-1 * var(--reveal-distance))); } /* from left */
[data-reveal="scale-in"]   { --reveal-from: scale(.94); }
[data-reveal="fade-in"]    { --reveal-from: none; }

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


/* ######################## COMPONENTS ######################## */

/* ============================================================
   COMPONENTS — reusable blocks. One block root class, short
   generic children nested with native CSS nesting + explicit &.
   Unprefixed by default; prefix roots with a client code when
   pasting into a themed WordPress page.
   ============================================================ */

/* ---- Eyebrow + section heading -------------------------------------- */
.eyebrow {
  display: inline-block; font-family: var(--font-head); font-weight: var(--fw-medium);
  font-size: var(--fs-small); letter-spacing: var(--track-eyebrow); text-transform: uppercase;
  color: var(--brand); margin-bottom: var(--space-sm);
}
.section-head { --flow: .75rem; margin-bottom: var(--space-xl); }
.lead { font-size: var(--fs-lead); color: var(--ink-soft); }

/* ---- Buttons -------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  font-family: var(--font-head); font-weight: var(--fw-medium); font-size: var(--fs-body); line-height: 1;
  padding: .9em 1.7em; border-radius: var(--r-pill); border: 2px solid transparent;
  transition: var(--transition);

  &:hover { transform: translateY(-2px); }

  &.is-primary { background: var(--brand); color: var(--white); }
  &.is-primary:hover { background: color-mix(in srgb, var(--brand) 86%, black); }

  &.is-gradient { background-image: var(--grad-brand); color: var(--white); }
  &.is-gradient:hover { filter: brightness(1.06); }

  &.is-ghost { border-color: color-mix(in srgb, currentColor 45%, transparent); color: currentColor; }
  &.is-ghost:hover { border-color: currentColor; }

  &.is-quiet { padding: 0; color: var(--brand); }

  /* Chevron wipe (from the CLI build): a brand chevron sweeps L->R on hover.
     The pale focus ring keeps the keyboard outline from reading brand-on-brand. */
  &.is-wipe { position: relative; overflow: hidden; isolation: isolate; background: var(--brand-tint); color: var(--ink); }
  &.is-wipe::before {
    content: ""; position: absolute; inset: 0 -22px 0 0; z-index: -1; background: var(--brand);
    transform: translateX(-102%); transition: transform .42s var(--ease-ui);
    clip-path: polygon(0 0, calc(100% - 15px) 0, 100% 50%, calc(100% - 15px) 100%, 0 100%);
  }
  &.is-wipe:hover { color: var(--white); }
  &.is-wipe:hover::before { transform: translateX(0); }
  &.is-wipe:focus-visible { outline-color: var(--brand-tint); outline-offset: 2px; }

  /* Gradient sweep (from the Times Printers build): a duo-gradient slides across on hover. */
  &.is-sweep {
    background-image: linear-gradient(to right, var(--brand-2), var(--ink) 50%, var(--brand) 50%);
    background-size: 200% 100%; background-position: 100% 0; background-origin: border-box; color: var(--white);
    transition: background-position .5s var(--ease-ui), transform var(--dur-ui) var(--ease-ui);
  }
  &.is-sweep:hover { background-position: 0 0; }
}

/* ---- Sticky nav ----------------------------------------------------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; transition: var(--transition);

  & .bar { max-width: var(--content-max); margin-inline: auto; padding: 1rem var(--gutter);
    display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); }
  & .brand { font-family: var(--font-head); font-weight: var(--fw-head); font-size: 1.25rem; color: var(--white); }
  & .links { display: flex; gap: var(--space-md); align-items: center; }
  & .links a { position: relative; font-family: var(--font-head); font-weight: var(--fw-medium);
    font-size: var(--fs-small); color: var(--on-dark); padding: .25rem 0; }
  & .links a::after { content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%;
    background: var(--brand); transform: scaleX(0); transform-origin: left; transition: var(--transition); }
  & .links a:hover::after { transform: scaleX(1); }
  & .toggle { display: none; width: 42px; height: 42px; }
  & .toggle span { display: block; width: 22px; height: 2px; background: var(--white); margin: 5px auto; transition: var(--transition); }

  &.is-scrolled { background: color-mix(in srgb, var(--white) 92%, transparent); backdrop-filter: blur(12px); box-shadow: var(--shadow-sm); }
  &.is-scrolled .brand, &.is-scrolled .links a { color: var(--ink); }
  &.is-scrolled .toggle span { background: var(--ink); }
}
@media (max-width: 979px) {   /* full nav on desktop (>=980); hamburger below */
  .nav .toggle { display: block; }
  .nav .links { display: none; position: absolute; inset: calc(100% + 8px) var(--gutter) auto var(--gutter);
    flex-direction: column; align-items: stretch; gap: 2px; background: var(--white); border: 1px solid var(--line);
    border-radius: var(--r-lg); padding: var(--space-2xs); box-shadow: var(--shadow); }
  .nav .links.is-open { display: flex; }
  .nav .links a { color: var(--ink); padding: .8rem 1rem; border-radius: var(--r-sm); }
  .nav .links a::after { display: none; }
  .nav .links a:hover { background: var(--surface); }
  .nav.is-open .toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---- Hero ----------------------------------------------------------- */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  color: var(--white); background: var(--ink); overflow: hidden;

  & .container { position: relative; z-index: 2; padding-block: calc(var(--header-h) + 3rem) var(--space-2xl); }
  & .block { --flow: 1.25rem; }
  & .title { font-size: var(--fs-display); line-height: var(--lh-display); }
  & .lead { color: var(--on-dark-soft); }
  & .actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-lg); }
}

/* ---- Section variants ----------------------------------------------- */
.section.is-dark { background: var(--ink); color: var(--on-dark); }
.section.is-dark h1, .section.is-dark h2, .section.is-dark h3 { color: var(--white); }
.section.is-dark .lead { color: var(--on-dark-soft); }
.section.is-surface { background: var(--surface); }

/* ---- Feature card --------------------------------------------------- */
.card {
  --flow: .6rem; position: relative; padding: var(--space-lg); border-radius: var(--r-lg);
  background: var(--white); border: 1px solid var(--line); transition: var(--transition);

  & .title { font-size: var(--fs-h4); }
  & p { color: var(--ink-soft); font-size: var(--fs-body); }
  & .icon { width: 48px; height: 48px; margin-bottom: var(--space-xs); color: var(--brand); }

  /* Hover-lift on pointer devices. On touch there is no hover, so add data-inview
     and js/main.js toggles .is-inview on the centred card as it scrolls past. */
  @media (hover: hover) { &:hover { transform: translateY(-4px); box-shadow: var(--shadow); } }
  @media (max-width: 767px) { &.is-inview { transform: translateY(-4px); box-shadow: var(--shadow); } }
}

/* ---- Stat band ------------------------------------------------------ */
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-lg); text-align: center; }
@media (min-width: 768px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats .num { font-family: var(--font-head); font-weight: var(--fw-head); font-size: var(--fs-h1); line-height: 1; letter-spacing: var(--track-tight); }
.stats .num em { font-style: normal; color: var(--brand); font-size: .55em; }
.stats .label { display: block; margin-top: var(--space-2xs); color: var(--ink-soft); font-size: var(--fs-small); }

/* ---- Form ----------------------------------------------------------- */
.form {
  --flow: 1rem; padding: var(--space-lg); border-radius: var(--r-lg);
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow);

  & .row { display: grid; gap: var(--space-sm); }
  @media (min-width: 768px) { & .row.two { grid-template-columns: 1fr 1fr; } }
  & label { display: block; font-family: var(--font-head); font-weight: var(--fw-medium); font-size: var(--fs-small); margin-bottom: .4rem; }
  & input, & select, & textarea { width: 100%; padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--surface); }
  & input:focus, & select:focus, & textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 20%, transparent); }
  & textarea { resize: vertical; min-height: 120px; }
  & .btn { width: 100%; justify-content: center; }
}

/* ---- Footer --------------------------------------------------------- */
.footer {
  background: var(--ink); color: var(--on-dark-soft); padding-block: var(--space-2xl) var(--space-lg);

  & a { color: var(--on-dark-soft); }
  & a:hover { color: var(--white); }
  & .top { display: grid; gap: var(--space-lg); grid-template-columns: 1fr; padding-bottom: var(--space-lg); border-bottom: 1px solid color-mix(in srgb, var(--white) 12%, transparent); }
  @media (min-width: 768px) { & .top { grid-template-columns: 1.4fr 1fr 1fr; } }
  & h4 { font-family: var(--font-head); color: var(--white); font-size: var(--fs-small); letter-spacing: .1em; text-transform: uppercase; margin-bottom: var(--space-sm); }
  & .col ul { display: flex; flex-direction: column; gap: .6rem; font-size: var(--fs-small); }
  & .bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-sm); padding-top: var(--space-md); font-size: var(--fs-small); }
}

/* ---- Modal / dialog ------------------------------------------------- */
/* Accessible overlay dialog. Markup (see index.html / playbook §7):
     <div class="modal" id="modal-x" role="dialog" aria-modal="true"
          aria-labelledby="modal-x-title" hidden>
       <div class="modal__overlay" data-modal-close></div>
       <div class="modal__dialog" tabindex="-1">
         <button class="modal__close" data-modal-close aria-label="Close"><svg…/></button>
         <div class="modal__scroll"> …content… </div>
       </div>
     </div>
   The dialog is a flex column that does NOT scroll; .modal__scroll scrolls under
   it, so the close button pins to the corner. JS partner in js/main.js opens by id
   (a [data-modal-open="x"] trigger -> #modal-x), traps focus, closes on ESC / overlay
   / [data-modal-close], locks body scroll, restores focus, respects reduced-motion. */
.modal[hidden] { display: none; }
.modal {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center; padding: var(--space-md);
  opacity: 0; transition: opacity .25s var(--ease);
}
.modal.is-open { opacity: 1; }
.modal__overlay { position: absolute; inset: 0; background: var(--overlay-strong); }
.modal__dialog {
  position: relative; z-index: 1; width: min(640px, 100%); max-height: 88vh;
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  transform: translateY(14px) scale(.985); transition: transform .3s var(--ease);

  &:focus { outline: none; }   /* open focuses the panel; suppress the stray ring */
}
.modal.is-open .modal__dialog { transform: none; }
.modal__scroll { min-height: 0; overflow-y: auto; overflow-x: hidden; padding: var(--space-xl); }
/* X pinned to the dialog corner (the dialog doesn't scroll; .modal__scroll does under
   it). Understated: no fill, thin outline, dimmed at rest -> full opacity on hover. */
.modal__close {
  position: absolute; top: var(--space-sm); right: var(--space-sm); z-index: 2;
  width: 40px; height: 40px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: var(--r-pill);
  background: none; color: var(--ink); cursor: pointer;
  opacity: .55; transition: opacity .2s var(--ease);

  &:hover { opacity: 1; }
}
.modal__title { font-size: var(--fs-h3); margin: 0 0 var(--space-md); padding-right: var(--space-2xl); }
.modal__foot {
  margin-top: var(--space-xl); padding-top: var(--space-lg); border-top: 1px solid var(--line);
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); flex-wrap: wrap;
}
html.is-modal-open { overflow: hidden; }
@media (max-width: 767px) {
  .modal { padding: var(--space-sm); }
  .modal__scroll { padding: var(--space-lg); }
  .modal__foot { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .modal, .modal__dialog { transition: none; }
}


/* ######################## EFFECTS ######################## */

/* ============================================================
   EFFECTS — the reusable named-effect library (generalised from
   the Times Printers build). Opt-in via a class or data-attribute;
   each no-ops safely when absent. JS partners in js/effects.js.
   Motion gated on prefers-reduced-motion in base.css / the JS.
   ============================================================ */

/* ---- Fixed image background + overlay scrim ------------------------- */
/* background-attachment:fixed is broken on iOS, so the fixed parallax lock
   is desktop-pointer only; touch gets a normal cover bg. Scrim mandatory
   (text contrast over any photo). Set --bg-img inline; --scrim defaults from tokens. */
.fixedbg { position: relative; background-image: var(--bg-img); background-size: cover; background-position: center; color: var(--white); }
.fixedbg::before { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: var(--scrim); }
.fixedbg > * { position: relative; z-index: 1; }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .fixedbg { background-attachment: fixed; }
}

/* ---- Image parallax ------------------------------------------------- */
.parallax { overflow: clip; }
.parallax > img { width: 100%; height: 116%; object-fit: cover; will-change: transform; }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .parallax > img { animation: parallax linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
    @keyframes parallax { from { transform: translateY(calc(-1 * var(--parallax-shift, 32px))); } to { transform: translateY(var(--parallax-shift, 32px)); } }
    @media (max-width: 767px) { .parallax > img { --parallax-shift: 14px; } }   /* calmer on mobile/tablet */
  }
}

/* ---- Fold-in: sticky section stacking ------------------------------- */
/* Pinned/covering sections need an OPAQUE background (or you see through the
   stack). body{overflow-x:clip} (base.css) — not hidden, which breaks sticky. */
.stack > section { isolation: isolate; }
.stack > section.is-pinned { position: sticky; top: 0; }
.stack > section.is-stacked { box-shadow: 0 -24px 48px -26px color-mix(in srgb, var(--ink) 40%, transparent); }
.stack > section:not(.is-dark):not([class*="fixedbg"]) { background: var(--bg); }

/* ---- Cursor-follow 3D tilt frame ------------------------------------ */
.tilt { position: relative; border-radius: var(--r-lg); overflow: hidden; transform-style: preserve-3d; will-change: transform; transition: transform .35s var(--ease); }
.tilt > img { position: absolute; inset: -8% -4%; width: 108%; height: 116%; max-width: none; object-fit: cover; will-change: transform; transition: transform .4s var(--ease); }
.tilt > .body { position: absolute; inset: auto 0 0 0; padding: var(--space-lg); z-index: 2; color: var(--white); }

/* ---- Network canvas (geometric lines) ------------------------------- */
/* <canvas class="net"> as first child of a positioned section; line/dot
   colour from --net-rgb ("r g b") on the canvas/section (default dark ink). */
.net { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.net + * { position: relative; z-index: 1; }

/* ---- Hero bokeh blobs ----------------------------------------------- */
/* <div class="bokeh"><span class="blob b1"></span>...</div>. Colours from
   the palette; override a blob with --blob inline. */
.bokeh { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.bokeh .blob { position: absolute; border-radius: 50%; filter: blur(48px); opacity: .55; will-change: transform; transform: translate(-50%, -50%); background: var(--blob, var(--brand)); }
.bokeh .b1 { width: 28vw; height: 28vw; min-width: 260px; min-height: 260px; left: 82%; top: 18%; --blob: var(--brand); }
.bokeh .b2 { width: 34vw; height: 34vw; min-width: 320px; min-height: 320px; left: 4%;  top: 78%; --blob: var(--accent); }
.bokeh .b3 { width: 30vw; height: 30vw; min-width: 300px; min-height: 300px; left: 78%; top: 74%; --blob: var(--brand-2); }


/* ######################## QUETZAL — brand layer + page sections (was option-3.css) ######################## */

/* ============================================================
   OPTION 3 · QUETZAL — night ceremony. Dark forest-black ground leading,
   gold as candlelight, one saturated teal band; Instrument Serif + Sora.
   Sections fold over one another (sticky stacking). Draft-round sheet.
   ============================================================ */
:root {
  --white: #f5f0e8;
  --ink: #1a1a1a;                             /* her dark brown body text */
  --brand: #1a7a78;                           /* teal: the one saturated band + links */
  --brand-2: #2d4a35;                         /* her forest green = the dark ground */
  --accent: #c8a84b;                          /* her gold, exact */
  --font-head: 'Instrument Serif', Georgia, serif;
  --font-body: 'Sora', system-ui, sans-serif;
  --font-accent: var(--font-head);
  --fw-head: 400; --fw-medium: 500;
  --fs-display: clamp(3.25rem, 1.25rem + 9vw, 9rem);   /* 52 -> 144px */
  --lh-display: .9;
  --dark-bg: var(--brand-2);
  --on-dark: color-mix(in srgb, var(--white) 86%, transparent);
  --on-dark-soft: color-mix(in srgb, var(--white) 58%, transparent);
  --r-lg: 2px; --r: 2px; --r-sm: 2px; --r-pill: 2px;   /* hard edges: obsidian, not pebbles */
  --dur: 1000ms;
}
html { background: var(--brand-2); }
body { background: var(--brand-2); color: var(--on-dark); font-weight: 300; }
h1, h2, h3, h4 { color: var(--white); font-weight: 400; letter-spacing: -0.01em; }
.lead { color: var(--on-dark); }
.btn { font-family: var(--font-body); font-weight: 500; letter-spacing: .06em; text-transform: uppercase; font-size: .78rem; padding: 1em 1.8em; }
.btn.is-primary { background: var(--accent); color: var(--ink); }   /* ink on gold 7.6:1 (forest on gold is only 4.3) */
.btn.is-primary:hover { background: color-mix(in srgb, var(--accent) 85%, #fff); }
.btn.is-ghost { color: var(--white); border-color: color-mix(in srgb, var(--accent) 60%, transparent); }
.btn.is-ghost:hover { border-color: var(--accent); }
.btn.is-quiet { color: var(--accent); }
/* Hover: a skewed band sweeps in from the left and fills the button (--btn-fill), the label takes --btn-fill-ink.
   Per band: gold primary -> cream; ghost -> gold with ink text; light-band teal -> cream with teal text, etc. */
.btn:not(.is-quiet) { position: relative; overflow: hidden; isolation: isolate; transition: color .3s var(--ease-ui), border-color .3s var(--ease-ui), transform var(--dur-ui) var(--ease-ui), background-color .3s var(--ease-ui); }
.btn:not(.is-quiet)::before { content: ""; position: absolute; inset: -2px -30%; z-index: -1; background: var(--btn-fill, var(--white)); transform: translateX(-125%) skewX(-18deg); transition: transform .5s var(--ease); }
.btn:not(.is-quiet):hover::before, .btn:not(.is-quiet):focus-visible::before { transform: translateX(0) skewX(-18deg); }
.btn:not(.is-quiet):hover, .btn:not(.is-quiet):focus-visible { color: var(--btn-fill-ink, var(--ink)); }
.btn.is-primary { --btn-fill: var(--white); --btn-fill-ink: var(--ink); }
.btn.is-ghost { --btn-fill: var(--accent); --btn-fill-ink: var(--ink); }
.section.is-light .btn.is-primary, .section.voices .btn.is-primary { --btn-fill: var(--white); --btn-fill-ink: var(--brand); }
.section.is-light .btn.is-ghost, .section.voices .btn.is-ghost { --btn-fill: var(--brand); --btn-fill-ink: var(--white); }
.tribe .btn.is-primary { --btn-fill: var(--accent); --btn-fill-ink: var(--ink); }
.tribe .btn.is-ghost { --btn-fill: var(--white); --btn-fill-ink: var(--brand); }
.section.is-gold .btn.is-primary { --btn-fill: var(--white); --btn-fill-ink: var(--brand-2); }
.section.is-gold .btn.is-ghost { --btn-fill: var(--brand-2); --btn-fill-ink: var(--white); }
.plates .plate .btn.is-primary { --btn-fill: var(--white); --btn-fill-ink: var(--ink); }
.plates .plate .btn.is-ghost { --btn-fill: var(--accent); --btn-fill-ink: var(--ink); }
@media (prefers-reduced-motion: reduce) { .btn:not(.is-quiet)::before { transition: none; } }
/* Two buttons side by side are always the same width (Tobie): any .actions holding exactly two .btn is a
   2-col grid (one column under 480). Centred contexts centre the pair. */
.actions:has(> .btn:first-child:nth-last-child(2)) { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-sm); max-width: 32rem; }
.actions:has(> .btn:first-child:nth-last-child(2)) .btn { justify-content: center; text-align: center; }
.is-centered .actions:has(> .btn:first-child:nth-last-child(2)), .ask .actions:has(> .btn:first-child:nth-last-child(2)) { margin-inline: auto; }
@media (max-width: 479.98px) { .actions:has(> .btn:first-child:nth-last-child(2)) { grid-template-columns: 1fr; } }
::selection { background: var(--accent); color: var(--ink); }

/* ---- Nav ------------------------------------------------------------ */
.nav .brand { display: inline-flex; align-items: center; gap: var(--space-xs); }
.nav .brand .mark { width: 2.4rem; height: 2.4rem; }   /* the Ana Verónica Healing triangle (her request 2026-10-17); the Quetzal stays on the page itself */
.nav .brand .wordmark { font-family: var(--font-head); font-size: 1.35rem; letter-spacing: .01em; color: var(--white); }
.nav .brand .wordmark em { font-style: italic; color: var(--accent); }
.nav .links a { font-family: var(--font-body); font-weight: 500; letter-spacing: .22em; text-transform: uppercase; font-size: .66rem; color: var(--on-dark); }
.nav .links a::after { background: var(--accent); }
.nav.is-scrolled { background: color-mix(in srgb, var(--brand-2) 88%, transparent); box-shadow: none; border-bottom: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); }
.nav.is-scrolled .brand .wordmark, .nav.is-scrolled .links a { color: var(--white); }
.nav.is-scrolled .toggle span { background: var(--white); }
@media (max-width: 979px) { .nav .links { background: var(--brand-2); border-color: color-mix(in srgb, var(--accent) 30%, transparent); } .nav .links a { color: var(--white); } .nav .links a:hover { background: color-mix(in srgb, var(--white) 8%, transparent); } }

.section.is-dark { background: var(--brand-2); color: var(--on-dark); }   /* dark bands = her forest; the fold block that held this is gone */

/* ---- Hero: cinematic ------------------------------------------------ */
.hero.night { min-height: 100svh; background: var(--brand-2); color: var(--white); overflow: hidden; }
.hero.night .bg { position: absolute; inset: 0; z-index: 0; }
.hero.night .bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; opacity: .55; filter: saturate(.8); }
.hero.night .bg::after { content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 55%, transparent 0%, color-mix(in srgb, var(--brand-2) 55%, transparent) 55%, var(--brand-2) 100%),
              linear-gradient(180deg, color-mix(in srgb, var(--brand-2) 70%, transparent), transparent 30%, transparent 70%, var(--brand-2)); }
.hero.night .container { position: relative; z-index: 2; display: grid; min-height: 100svh; grid-template-rows: 120px 1fr 96px; padding-block: 0; }
.hero.night .block { grid-row: 2; align-self: center; justify-self: center; text-align: center; max-width: min(100%, 62rem); --flow: var(--space-lg); }
.hero.night .block > .mark { width: clamp(8rem, 15vw, 12rem); height: auto; margin-inline: auto; display: block; }
.hero.night .title { font-size: max(3rem, min(var(--fs-display), 15svh)); line-height: var(--lh-display); color: var(--white); font-weight: 400; text-wrap: balance; }
/* Roulette word: both words occupy one grid cell (width = the widest), the old one drops out, the new one drops in. */
.roulette { display: inline-grid; grid-template-areas: "w"; vertical-align: baseline; text-align: left; }
.roulette .w { grid-area: w; font-style: italic; color: var(--accent); opacity: 0; transform: translateY(-.35em); pointer-events: none; }
.roulette .w.is-on { opacity: 1; transform: none; }
.roulette .w.is-out { opacity: 0; transform: translateY(.35em); }
.roulette .w { transition: opacity .5s var(--ease), transform .55s var(--ease); }
@media (prefers-reduced-motion: reduce) { .roulette .w { transition: none; } }
.hero.night .title em { font-style: italic; color: var(--accent); }
.hero.night .quote { font-family: var(--font-body); font-weight: 300; font-size: var(--fs-body); color: var(--on-dark); max-width: 52ch; margin-inline: auto; }
.hero.night .actions { margin: var(--space-lg) auto 0; }
.hero.night .cue { grid-row: 3; align-self: start; justify-self: center; display: block; width: 1px; height: 56px; position: relative; overflow: hidden; opacity: .8; }
.hero.night .cue i { position: absolute; left: 0; top: 0; width: 1px; height: 100%; background: linear-gradient(transparent, var(--accent), transparent); animation: cue-drop 2.2s var(--ease) infinite; }
@keyframes cue-drop { from { transform: translateY(-100%); } to { transform: translateY(100%); } }
@media (prefers-reduced-motion: reduce) { .hero.night .cue i { animation: none; } }

/* Hero variant: split — photo holds the right column, the text column sits on forest and the two
   blend across the seam (used with hero-ana-flowers.jpg). Below 768 it falls back to full-bleed. */
@media (min-width: 768px) {
  /* The photo keeps its own proportions at full hero height (so the whole frame shows, Ana smaller),
     hugs the right edge, and its LEFT edge is masked to alpha 0, so there is no border to see;
     the overlay only tints, it no longer has to hide a seam. */
  .hero.night.is-split .bg img { position: absolute; top: 0; right: 0; height: 100%; width: auto; max-width: 56%; object-fit: cover; object-position: 50% 30%; opacity: 1; filter: saturate(.9);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 30%, #000 62%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 30%, #000 62%); }
  .hero.night.is-split .bg::after { background: linear-gradient(90deg, color-mix(in srgb, var(--brand-2) 40%, transparent) 40%, transparent 70%),
                                               linear-gradient(180deg, color-mix(in srgb, var(--brand-2) 55%, transparent), transparent 22%, transparent 78%, var(--brand-2)); }
  .hero.night.is-split .block { justify-self: start; text-align: left; max-width: 36rem; }
  .hero.night.is-split .title { font-size: max(3rem, min(var(--fs-display), 11svh)); }   /* 4 lines in the column must leave the CTA above the fold */
  .hero.night.is-split .quote { margin-inline: 0; }
  .hero.night.is-split .actions { justify-content: flex-start; }
  .hero.night.is-split .cue { justify-self: start; align-items: flex-start; }
}

/* ---- Logo, part by part: the serpent zooms in first, then the gold triangle DRAWS itself
   apex → right corner → left corner → apex (a stroke with pathLength 100), and each dot pops the
   moment the pen passes it: N at the start, E on the right side, S along the base, W on the left side.
   The real gold fill fades over the stroke at the end so the final mark is the designer's exact shape.
   .is-live is set on load (hero) or when the mark scrolls into view (site.js). ---- */
.logo-anim .lg-tri, .logo-anim .lg-dragon, .logo-anim .lg-dot { transform-box: fill-box; transform-origin: center; opacity: 0; }
.logo-anim .lg-dragon { transform: scale(.82); }
.logo-anim .lg-dot { transform: scale(0); }
.logo-anim .lg-draw { stroke-dasharray: 100; stroke-dashoffset: 100; }
.logo-anim.is-live .lg-dragon { animation: lg-in .75s var(--ease) 0s forwards; }
.logo-anim.is-live .lg-draw { animation: lg-draw 1.6s linear .7s forwards; }
.logo-anim.is-live .lg-tri { animation: lg-in .35s linear 2.2s forwards; }
.logo-anim.is-live .lg-dot { animation: lg-pop .45s cubic-bezier(.2, 1.4, .4, 1) forwards; }
.logo-anim.is-live .lg-n { animation-delay: .7s; }    /* apex: pen starts here          */
.logo-anim.is-live .lg-e { animation-delay: .96s; }   /* 16% of the path: right side    */
.logo-anim.is-live .lg-s { animation-delay: 1.5s; }   /* 50%: middle of the base        */
.logo-anim.is-live .lg-w { animation-delay: 2.04s; }  /* 84%: left side                 */
@keyframes lg-in { to { opacity: 1; transform: none; } }
@keyframes lg-draw { to { stroke-dashoffset: 0; } }
@keyframes lg-pop { to { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .logo-anim .lg-tri, .logo-anim .lg-dragon, .logo-anim .lg-dot { opacity: 1; transform: none; animation: none; } .logo-anim .lg-draw { stroke-dashoffset: 0; animation: none; } }

/* ---- Ana Verónica Healing mark, drawn: the orange triangle first (apex → right → left), then the A, the bar,
   the V, each as a pen stroke (pathLength 100). Keyed on .is-live like the Quetzal. ---- */
.logo-anim .av-tri, .logo-anim .av-a, .logo-anim .av-bar, .logo-anim .av-v { stroke-dasharray: 100; stroke-dashoffset: 100; }
.logo-anim.is-live .av-tri { animation: lg-draw 1.3s cubic-bezier(.4, 0, .2, 1) .1s forwards; }
.logo-anim.is-live .av-a   { animation: lg-draw 1s cubic-bezier(.4, 0, .2, 1) 1.1s forwards; }
.logo-anim.is-live .av-bar { animation: lg-draw .45s cubic-bezier(.4, 0, .2, 1) 1.95s forwards; }
.logo-anim.is-live .av-v   { animation: lg-draw .8s cubic-bezier(.4, 0, .2, 1) 2.25s forwards; }
@media (prefers-reduced-motion: reduce) { .logo-anim .av-tri, .logo-anim .av-a, .logo-anim .av-bar, .logo-anim .av-v { stroke-dashoffset: 0; animation: none; } }

/* ---- Wave seam: the logo's water glyph as the rule between two bands ---- */
.seam { position: relative; height: 0; z-index: 3; }
.seam svg { position: absolute; left: 50%; top: 0; transform: translate(-50%, -50%); width: clamp(7rem, 14vw, 11rem); height: auto; color: var(--accent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); }
/* The two lines run past the viewBox and slide in opposite directions as the seam crosses the viewport (one
   wavelength = 60 units), so the water moves with the scroll. */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .seam svg { view-timeline: --seam block; }
    .seam path { animation: seam-flow linear both; animation-timeline: --seam; animation-range: entry 0% exit 100%; }
    .seam path + path { animation-direction: reverse; }
    @keyframes seam-flow { from { transform: translateX(-60px); } to { transform: translateX(60px); } }
  }
}
.seam + .section { padding-top: calc(var(--section-y) * .75); }
.seam.is-left svg, .seam.is-right svg { transform: translateY(-50%); }   /* edge-aligned to the content column */
.seam.is-left svg { left: max(var(--gutter), calc((100% - var(--content-max)) / 2 + var(--gutter))); }
.seam.is-right svg { left: auto; right: max(var(--gutter), calc((100% - var(--content-max)) / 2 + var(--gutter))); }

/* ---- Gold band: her gold as a section ground, forest type ---- */
.section.is-gold { background: var(--accent); color: var(--ink); }
.section.is-gold :is(h1, h2, h3, h4), .section.is-gold .lead, .section.is-gold p { color: var(--brand-2); }
.section.is-gold .btn.is-primary { background: var(--brand-2); color: var(--white); }
.section.is-gold .btn.is-ghost { color: var(--brand-2); border-color: color-mix(in srgb, var(--brand-2) 55%, transparent); }
.seam + .section.is-gold { padding-top: calc(var(--section-y) * .6); }

/* hero photo parallax: the .bg layer is the clip, the img drifts. The hero is overflow:hidden (a scroll container),
   so a bare view() would measure against the hero and freeze (§8 trap): the timeline is named on the hero and the
   img subscribes to it, running over the hero's exit. */
.hero.night { view-timeline: --hero block; }
.hero.night .bg.parallax { overflow: clip; }
.hero.night .bg.parallax > img { height: 116%; }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .hero.night .bg.parallax > img { --parallax-shift: 64px; animation-timeline: --hero; animation-range: exit 0% exit 100%; }
  }
}

/* ---- Plain body column (P1 dropped the rail: no side label, no numerals) ---- */
.section > .container > .body, .split > .body, .cols > .body { --flow: var(--space-md); max-width: 64ch; }
.section > .container > .body > * + *, .split > .body > * + *, .cols > .body > * + * { margin-top: var(--flow); }
.section > .container > .body .title, .split > .body .title, .cols > .body .title { font-size: var(--fs-h1); line-height: var(--lh-h1); }
.section > .container > .body .actions, .split > .body .actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-lg); }
.plate .name { font-family: var(--font-head); font-style: italic; font-size: var(--fs-h3); color: var(--accent); text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.body.is-centered { margin-inline: auto; text-align: center; }
.body.is-centered .actions { justify-content: center; }
.actions.is-centered { display: flex; justify-content: center; margin-top: var(--space-xl); }
.section > .container > .body + .grid, .section > .container > .body + .tiles { margin-top: var(--space-xl); }
.section > .container > .body + .cols { margin-top: var(--space-2xl); padding-top: var(--space-2xl); border-top: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); }

.prose.is-centered { margin-inline: auto; }
.cols.is-text { display: grid; gap: var(--space-2xl) var(--gutter); grid-template-columns: 1fr; margin-top: var(--space-xl); }
@media (min-width: 768px) { .cols.is-text { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; } }
.cols.is-text > .body { --flow: var(--space-md); max-width: 64ch; }
.cols.is-text > .body > * + * { margin-top: var(--flow); }
.cols.is-text > .body .actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-lg); }
.feature .name { font-family: var(--font-head); font-style: italic; font-size: var(--fs-h3); color: var(--accent); }
.section.is-gold .feature .name, .section.is-gold .name { color: var(--brand-2); }
.pagehead .body.is-centered { max-width: 60ch; }

.duo.is-video { display: grid; grid-template-columns: 1fr; gap: var(--space-xl) var(--gutter); align-items: center; margin-top: var(--space-xl); }
@media (min-width: 980px) { .duo.is-video { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: start; } .duo.is-video .yt { position: sticky; top: calc(var(--header-h) + var(--space-md)); } }
.duo.is-video .body { max-width: 44ch; --flow: var(--space-md); }
.duo.is-video .body > * + * { margin-top: var(--flow); }
.duo.is-video .body .title { font-size: var(--fs-h1); line-height: var(--lh-h1); }
.duo.is-video .body .actions { margin-top: var(--space-lg); }
.yt { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #000; }
/* Portrait phone video (Ana's 9:16 home video): narrow column, never taller than the viewport */
.yt.is-portrait { aspect-ratio: 576 / 808; width: min(100%, 24rem, calc((100svh - var(--header-h) - 2 * var(--space-md)) * 576 / 808)); justify-self: center; }
@media (min-width: 980px) { .duo.is-video:has(> .yt.is-portrait) { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } .duo.is-video .yt.is-portrait { width: min(100%, calc((100svh - var(--header-h) - 2 * var(--space-md)) * 576 / 808)); justify-self: end; } }
.yt .veil { position: absolute; inset: 0; display: grid; place-items: center; background: var(--brand-2); opacity: 0; pointer-events: none; transition: opacity .38s var(--ease-ui); z-index: 2; }
.yt .veil img { width: 18%; height: auto; opacity: .9; }
.yt.is-veiled .veil { opacity: 1; }
.yt.is-playing .play { display: none; }
/* Own video control bar + captions (built by site.js; Tobie 11 Nov: subtitle choice inside the controls).
   Bar shows while paused / on activity (.is-ctl), never before first play. Captions lift above it. */
.yt .cap { position: absolute; left: 6%; right: 6%; bottom: 1.1rem; z-index: 3; display: flex; flex-direction: column; align-items: center; gap: .2em; pointer-events: none; text-align: center; transition: bottom .25s var(--ease-ui); }
.yt .cap span { font-family: var(--font-body); font-size: clamp(.82rem, 3.6cqw, 1rem); line-height: 1.35; color: #fff; background: rgba(0,0,0,.62); padding: .12em .45em; border-radius: 2px; white-space: pre-line; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
.yt { container-type: inline-size; }
.yt.is-ctl .cap { bottom: 5.4rem; }
.yt .vc { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; padding: 2.4rem .6rem .35rem; background: linear-gradient(to top, rgba(20,30,22,.82), rgba(20,30,22,.45) 55%, transparent); opacity: 0; visibility: hidden; transition: opacity .3s var(--ease-ui), visibility 0s linear .3s; }
.yt.is-playing.is-ctl .vc { opacity: 1; visibility: visible; transition: opacity .3s var(--ease-ui), visibility 0s; }
.yt.is-veiled .vc, .yt.is-veiled .cap { opacity: 0; }
.yt.is-playing.is-ctl:not(.is-fs) video { cursor: default; }
.yt.is-playing:not(.is-ctl) video { cursor: none; }
.vc-row { display: flex; align-items: center; gap: .1rem; }
.vc-gap { flex: 1; }
.vc-time { font-family: var(--font-body); font-size: .72rem; letter-spacing: .04em; color: var(--on-dark); font-variant-numeric: tabular-nums; margin-left: .3rem; white-space: nowrap; }
.vc-btn { width: 2.5rem; height: 2.5rem; display: grid; place-items: center; border-radius: 50%; color: var(--white); transition: color .2s var(--ease-ui), background-color .2s var(--ease-ui); }
.vc-btn:hover, .vc-btn[aria-expanded="true"] { color: var(--accent); background: rgba(255,255,255,.08); }
.vc-btn svg { width: 1.3rem; height: 1.3rem; fill: currentColor; }
.vc-btn svg .ln { fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.vc-btn svg rect.ln { stroke-width: 1.5; }
.vc-btn:focus-visible, .vc-lang:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.vc-seek { --p: 0%; -webkit-appearance: none; appearance: none; display: block; width: calc(100% - .8rem); margin: 0 .4rem .15rem; height: 1rem; background: transparent; cursor: pointer; }
.vc-seek::-webkit-slider-runnable-track { height: 3px; border-radius: 3px; background: linear-gradient(to right, var(--accent) var(--p), rgba(255,255,255,.3) var(--p)); }
.vc-seek::-moz-range-track { height: 3px; border-radius: 3px; background: linear-gradient(to right, var(--accent) var(--p), rgba(255,255,255,.3) var(--p)); }
.vc-seek::-webkit-slider-thumb { -webkit-appearance: none; width: 12px; height: 12px; margin-top: -4.5px; border-radius: 50%; background: var(--accent); border: 0; transition: transform .2s var(--ease-ui); }
.vc-seek::-moz-range-thumb { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); border: 0; }
.vc-seek:hover::-webkit-slider-thumb { transform: scale(1.25); }
.vc-seek:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.vc-langs { display: flex; gap: .3rem; margin: 0 .35rem; }
.vc-lang { min-width: 2.15rem; height: 1.6rem; padding: 0 .35rem; border-radius: 3px; border: 1px solid rgba(255,255,255,.55); font-family: var(--font-body); font-size: .66rem; font-weight: 500; letter-spacing: .08em; color: var(--white); transition: background-color .2s var(--ease-ui), color .2s var(--ease-ui), border-color .2s var(--ease-ui); }
.vc-lang:hover { border-color: var(--accent); color: var(--accent); }
.vc-lang[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.yt.is-fs { width: 100% !important; max-width: none; aspect-ratio: auto; background: #000; }
.yt.is-fs > video { object-fit: contain; }
@media (prefers-reduced-motion: reduce) { .yt .vc, .yt .cap { transition: none; } }
.transcript { border-top: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); border-bottom: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }
.transcript summary { cursor: pointer; padding: var(--space-sm) 0; font-family: var(--font-body); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); list-style: none; display: flex; align-items: center; gap: .6em; }
.transcript summary::-webkit-details-marker { display: none; }
.transcript summary::before { content: ""; width: .55em; height: .55em; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(-45deg); transition: transform .2s; }
.transcript[open] summary::before { transform: rotate(45deg); }
.transcript .tx { max-height: 22rem; overflow: auto; padding: 0 var(--space-xs) var(--space-md) 0; font-size: var(--fs-small); line-height: 1.65; color: var(--on-dark); scrollbar-width: thin; }
.transcript .tx p + p { margin-top: var(--space-sm); }
.transcript .cue { cursor: pointer; border-radius: 2px; transition: background .2s, color .2s; }
.transcript .cue:hover { color: var(--white); }
.transcript .cue.is-on { background: color-mix(in srgb, var(--accent) 28%, transparent); color: var(--white); }
.yt > img, .yt > iframe, .yt > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; background: #000; }
.yt.is-playing .play { display: none; }
.yt > img { opacity: .8; }
.yt .play { position: absolute; inset: 0; width: 100%; height: 100%; display: grid; place-items: center; background: color-mix(in srgb, var(--brand-2) 35%, transparent); color: var(--ink); transition: var(--transition); }
/* Centred but see-through: a thin gold ring with a small triangle, so her face stays visible under it. Fills on hover. */
.yt .play .icon { width: 6.5rem; height: 6.5rem; border-radius: 50%; border: 2px solid var(--accent); color: var(--accent); background: transparent; display: grid; place-items: center; transition: var(--transition); }
.yt .play:hover .icon { background: var(--accent); color: var(--ink); transform: scale(1.06); }
.yt .play .icon svg { width: 2.6rem; height: 2.6rem; margin-left: .35rem; fill: none; stroke: currentColor; stroke-width: 1.2; stroke-linejoin: round; transition: var(--transition); }   /* outlined triangle */
.yt .play:hover .icon svg { fill: var(--ink); stroke: var(--ink); }

/* ---- Tribe band: the one saturated ground (teal) --------------------- */
.section.is-dark.tribe { background: var(--brand); color: var(--white); }
.tribe .lead, .tribe p { color: var(--white); }
.tribe .btn.is-ghost { color: var(--white); border-color: color-mix(in srgb, var(--white) 55%, transparent); }
.tribe .btn.is-primary { background: var(--white); color: var(--brand); }
.tribe .btn.is-primary:hover { background: color-mix(in srgb, var(--white) 90%, #000); }
.tribe .split { display: grid; gap: var(--space-xl) var(--gutter); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 980px) { .tribe .split { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } }
.tribe .photo { width: 100%; aspect-ratio: 4 / 5; overflow: clip; }
.tribe .photo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); }

/* ---- Fixed photo backdrop: any band with .has-backdrop + a .backdrop child. A composited fixed layer windowed
   by the section's clip-path (never background-attachment:fixed), forest overlay 78%; static on touch and under
   reduced motion. Used by P1 Diyapentu, P2 closing band, P3 page head. ---- */
.section.has-backdrop { position: relative; clip-path: inset(0); }
.has-backdrop .backdrop { position: absolute; inset: 0; z-index: 0; }
.has-backdrop .backdrop img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.has-backdrop .backdrop::after { content: ""; position: absolute; inset: 0; background: color-mix(in srgb, var(--brand-2) 78%, transparent); }
@media (min-width: 980px) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .has-backdrop .backdrop { position: fixed; }       /* viewport-locked, cropped to the section by clip-path */
}
.has-backdrop .container { position: relative; z-index: 1; }
/* Diyapentu band: colour mark left, line right, centred. Light: the altar shows through a cream overlay that
   melts into the cream of the next band; the venue name in gold. */
.section.diyapentu { min-height: 82svh; display: flex; align-items: center; }
.diyapentu .backdrop::after { background: color-mix(in srgb, var(--white) 80%, transparent); }   /* flat tint rides with the fixed photo */
.section.diyapentu::before { content: ""; position: absolute; inset: auto 0 0 0; height: 38%; z-index: 1; pointer-events: none; background: linear-gradient(180deg, transparent, var(--white)); }   /* the melt into S4 stays glued to the section bottom */
.diyapentu .title em { font-style: inherit; color: var(--accent); }
.meet .title em { font-style: italic; color: var(--accent); }
.section.closing { min-height: 60svh; display: flex; align-items: center; }
.closing .backdrop img { object-position: 50% 28%; }   /* the flowers photo: keep her face in frame */
.diyapentu .duo { display: grid; grid-template-columns: 1fr; gap: var(--space-xl) var(--space-2xl); align-items: center; }
@media (min-width: 768px) { .diyapentu .duo { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }
.diyapentu .mark { width: clamp(11rem, 26vw, 19rem); height: auto; justify-self: center; display: block; }
.diyapentu .block { max-width: 36rem; --flow: var(--space-lg); }
.diyapentu .title { font-size: var(--fs-h1); line-height: var(--lh-h1); font-style: italic; }
.diyapentu .meaning { color: var(--ink); font-size: var(--fs-small); letter-spacing: .04em; }

/* subtitles */
video::cue { font-family: var(--font-body); font-size: 1rem; background: rgba(0,0,0,.62); color: #fff; }

/* ---- Offerings: two cinematic plates --------------------------------- */
.plates { display: grid; gap: 0; grid-template-columns: 1fr; margin-top: var(--space-xl); }
.section.offers { padding-block: 0; }   /* S3 melts straight into the heading; the plates sit flush on the bottom edge */
@media (min-width: 768px) { .plates { grid-template-columns: 1fr 1fr; } }
.plate { position: relative; min-height: 34rem; display: flex; align-items: flex-end; overflow: hidden; background: var(--brand-2); }
.plate img { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; opacity: .68; filter: saturate(.75); transition: transform 1.2s var(--ease), opacity .6s var(--ease); }
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .plate { view-timeline: --plate block; }
    .plate img { animation: plate-drift linear both; animation-timeline: --plate; animation-range: entry 0% exit 100%; }
    @keyframes plate-drift { from { translate: 0 -32px; } to { translate: 0 32px; } }   /* translate, so the hover scale (transform) is untouched */
  }
}
.plate::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 25%, color-mix(in srgb, var(--brand-2) 92%, transparent) 100%); transition: opacity .6s var(--ease); }
/* Readable state: the photo recedes and the scrim deepens so the words stand clear. On hover for pointers;
   the default on touch (<=767, rule 13). The scrim's second layer fades in rather than animating a gradient. */
.plate::before { content: ""; position: absolute; inset: 0; z-index: 1; opacity: 0; background: linear-gradient(180deg, color-mix(in srgb, var(--brand-2) 35%, transparent), color-mix(in srgb, var(--brand-2) 90%, transparent) 70%); transition: opacity .6s var(--ease); }
@media (hover: hover) and (pointer: fine) {
  .plate:hover img { transform: scale(1.04); opacity: .45; }
  .plate:hover::before { opacity: 1; }
}
@media (max-width: 767.98px) {
  .plate img { opacity: .45; }
  .plate::before { opacity: 1; }
}
.plate .body { position: relative; z-index: 1; padding: var(--space-xl); --flow: var(--space-sm); max-width: 44ch; }
.plate .body > * + * { margin-top: var(--flow); }
.plate .title { font-size: var(--fs-h2); line-height: var(--lh-h2); }
.plate p { color: var(--on-dark); font-size: var(--fs-small); }
.plate .price { font-family: var(--font-head); font-size: var(--fs-h3); color: var(--accent); }
.plate .price small { font-family: var(--font-body); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-soft); }
.plate .actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-md); }
.ask { text-align: center; max-width: 60ch; margin-inline: auto; --flow: var(--space-md); }   /* no top margin: it is always the first thing in its band */
.ask > * + * { margin-top: var(--flow); }
.ask .pullquote { font-family: var(--font-head); font-style: italic; font-size: var(--fs-h2); line-height: var(--lh-h2); color: var(--white); }
.ask .actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); justify-content: center; }
/* Ask band as a duo: her portrait beside the words from 768 (portrait capped), stacked and small below. */
.ask.is-duo { max-width: none; display: grid; grid-template-columns: 1fr; gap: var(--space-xl) var(--space-2xl); align-items: center; }
.ask.is-duo > * + * { margin-top: 0; }
.ask.is-duo .portrait { width: 100%; max-width: 15rem; aspect-ratio: 4 / 5; margin-inline: auto; overflow: clip; }
.ask.is-duo .portrait img { width: 100%; height: 116%; object-fit: cover; }
.ask.is-duo .words { max-width: 60ch; margin-inline: auto; }
.ask.is-duo .words > * + * { margin-top: var(--flow); }
@media (min-width: 768px) {
  .ask.is-duo { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); text-align: left; }
  .ask.is-duo .portrait { max-width: 24rem; margin-inline: 0; }
  .ask.is-duo .words { margin-inline: 0; }
  .ask.is-duo .spaces { margin-inline: 0; }
}
.ask .kicker { font-family: var(--font-body); font-size: var(--fs-body); color: var(--on-dark-soft); letter-spacing: .04em; }
.body .kicker { font-family: var(--font-body); font-weight: 500; font-size: .72rem; letter-spacing: .25em; text-transform: uppercase; }
.feature .fine { font-size: var(--fs-small); color: var(--on-dark-soft); }
.ask .spaces { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-md); max-width: 34rem; margin-inline: auto; }
.ask .space .btn { width: 100%; justify-content: center; }
.ask .space .note { margin-top: var(--space-xs); font-size: var(--fs-small); color: var(--on-dark-soft); }
@media (max-width: 479.98px) { .ask .spaces { grid-template-columns: 1fr; } }

/* ---- Voices: the cream reading band (Balanced: light carries the long read) -- */
.section.voices { background: var(--white); color: var(--ink); }
.voices h2, .voices h3, .voices blockquote { color: var(--brand-2); }
.voices .lead, .voices p { color: var(--ink); }
.voices .grid { gap: var(--space-xl) var(--gutter); }
.voice { --flow: var(--space-sm); }
.voice > * + * { margin-top: var(--flow); }
.voice .q { font-family: var(--font-head); font-size: var(--fs-h1); line-height: .6; color: var(--accent); display: block; }
.voice blockquote { font-family: var(--font-head); font-size: var(--fs-h4); line-height: 1.4; color: var(--ink); }
.voice cite { display: block; font-style: normal; font-family: var(--font-body); font-weight: 500; letter-spacing: .2em; text-transform: uppercase; font-size: .66rem; color: var(--brand-2); }

/* ---- Connect ------------------------------------------------------- */
.connect .follow { margin-top: var(--space-lg); display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-sm); }
.connect .follow p { margin: 0; font-size: var(--fs-small); color: var(--on-dark-soft); }
.connect .ways { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-lg); }
.connect .place { margin-top: var(--space-md); color: var(--on-dark-soft); }
.btn .ico { width: 1.15em; height: 1.15em; margin-block: -.075em; }   /* icon never makes its button taller than its text-only neighbours */
/* Plate buttons read as two even lines side by side (Tobie); one line once the pair stacks below 480 */
.btn .lines { line-height: 1.35; }
@media (max-width: 479.98px) { .btn .lines br { display: none; } }
/* Connect: the three buttons share one width */
.connect .ways, .connect .follow { max-width: 24rem; }
.connect .ways .btn, .connect .follow .btn { width: 100%; justify-content: center; text-align: center; padding-inline: .75em; }
/* ---- Stacked two-column blocks (Tobie, 2026-11-04) -------------------------
   Below its split point a two-column block is one column, so its text block no longer has a partner
   to sit beside: it centres under the image/video it used to flank (block centred, lines centred,
   buttons centred). Forms and the transcript text stay left. Photos in these blocks get a controlled
   height per mode and an object-position that keeps the subject in view, never their own aspect box. */
@media (max-width: 979.98px) {   /* .duo.is-video, .tribe .split and .connect .cols split at 980 */
  .duo.is-video .body, .tribe .split .body, .connect .cols > .body { max-width: 60ch; margin-inline: auto; text-align: center; }
  .duo.is-video .body .actions, .tribe .split .actions, .connect .ways { justify-content: center; }
  .connect .ways, .connect .follow { margin-inline: auto; }
  .connect .follow { align-items: center; }
  .transcript summary { justify-content: center; }
  .transcript .tx { text-align: left; }
  .tribe .photo { aspect-ratio: auto; height: clamp(16rem, 52vw, 28rem); }
  .tribe .photo img { object-position: 50% 70%; }   /* she stands at the bottom of the frame, arms at 55% */
}
@media (max-width: 767.98px) {   /* .diyapentu .duo and .cols.is-text split at 768 */
  .diyapentu .block, .cols.is-text > .body { margin-inline: auto; text-align: center; }
  .cols.is-text > .body .actions { justify-content: center; }
}
.connect .cols { display: grid; gap: var(--space-xl) var(--gutter); grid-template-columns: 1fr; }
@media (min-width: 980px) { .connect .cols { grid-template-columns: 1fr 1fr; align-items: start; } }   /* 2-up only on desktop: the rail already took 3/12 */
.form { background: color-mix(in srgb, var(--white) 5%, transparent); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); box-shadow: none; color: var(--white); padding: var(--space-xl); }
.form > * + * { margin-top: var(--space-md); }
.form .row { gap: var(--space-md); }
.form label { margin-bottom: .5rem; }
.form input, .form select, .form textarea { padding: .9rem 1rem; }
.form textarea { min-height: 9rem; }
.form .btn { margin-top: var(--space-md); }
.form input, .form select, .form textarea { background: color-mix(in srgb, var(--white) 6%, transparent); border-color: color-mix(in srgb, var(--white) 18%, transparent); color: var(--white); }
.form input::placeholder, .form textarea::placeholder { color: var(--on-dark-soft); }
.form select { color: var(--white); } .form select option { color: var(--ink); }
.form label { font-family: var(--font-body); font-weight: 500; letter-spacing: .18em; text-transform: uppercase; font-size: .62rem; color: var(--on-dark-soft); }
.form-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form.was-validated :is(input, select, textarea):invalid { border-color: #e8a598; }
.form-say { font-size: .9rem; text-align: center; color: var(--on-dark-soft); }
.form-say:empty { display: none; }
.form-say.is-ok { color: var(--accent); }
.form-say.is-err { color: #e8a598; }
.form-say a { color: inherit; text-decoration: underline; }

/* ---- Footer -------------------------------------------------------- */
.footer { background: var(--brand-2); border-top: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); }
.footer .col ul { list-style: none; padding: 0; }
.footer .brandline { font-family: var(--font-head); color: var(--white); font-size: var(--fs-h4); }
.footer .tagline { max-width: 34ch; margin-top: var(--space-2xs); }
.footer .sign { margin-top: var(--space-md); font-family: var(--font-head); font-style: italic; color: var(--accent); }
.footer .credit a { color: var(--on-dark); }
.footer h4 { font-family: var(--font-body); letter-spacing: .25em; font-size: .66rem; }

@media (max-width: 767.98px) { .plate { min-height: 28rem; } .hero.night .container { grid-template-rows: 100px 1fr 80px; } }

/* Laptop band (768–979): centre a lonely odd last item in the 2-up grid (framework rule, Ana build 2026-07-21). */
@media (min-width: 768px) and (max-width: 979.98px) {
  .grid.cols-3 > :last-child:nth-child(odd) { grid-column: 1 / -1; max-width: calc(50% - (var(--gutter) / 2)); margin-inline: auto; }
}


/* ######################## INNER PAGES — About / Offerings (Quetzal) ######################## */

/* Page header: dark rail band under the fixed nav */
.pagehead { padding-block: calc(var(--header-h) + var(--space-2xl)) var(--space-2xl); }

/* Light (cream) reading band — the long reads live here (Balanced) */
.section.is-light { background: var(--white); color: var(--ink); }
.section.is-light :is(h1, h2, h3, h4), .section.is-light .pullquote { color: var(--brand-2); }
.section.is-light .lead, .section.is-light p { color: var(--ink); }
.section.is-light .btn.is-primary { background: var(--brand); color: var(--white); }
.section.is-light .btn.is-primary:hover { background: color-mix(in srgb, var(--brand) 85%, #000); }
.section.is-light .btn.is-ghost { color: var(--brand); border-color: color-mix(in srgb, var(--brand) 55%, transparent); }
.section.is-light .btn.is-ghost:hover { border-color: var(--brand); }

/* Prose column with a floated portrait (About) */
.prose { max-width: 64ch; --flow: var(--space-md); }
.prose > * + * { margin-top: var(--flow); }
.prose .opener { font-family: var(--font-head); font-style: italic; font-size: var(--fs-h3); line-height: var(--lh-h3); color: var(--brand-2); }
.prose .sign { font-family: var(--font-head); font-style: italic; font-size: var(--fs-h4); color: var(--brand-2); }
.prose .portrait { float: right; width: min(320px, 42%); margin: .3rem 0 1rem 1.75rem; aspect-ratio: 3 / 4; object-fit: cover; filter: saturate(.9); }
@media (max-width: 599.98px) { .prose .portrait { float: none; width: 100%; margin: 0 0 1.5rem; } }

/* Photo gallery on dark (About): a mosaic of hard-edged plates. Each .shot is a <figure>: the image drifts
   (.parallax) and its caption rises on hover (pointer); on touch (<=767) the caption is always shown (rule 13).
   Hover is per plate only. is-tall spans two rows, is-wide two columns. */
.gallery { display: grid; gap: 2px; grid-template-columns: 1fr 1fr; grid-auto-rows: 11rem; grid-auto-flow: dense; }
@media (min-width: 768px) { .gallery { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 15rem; } }
@media (min-width: 980px) { .gallery { grid-auto-rows: 18rem; } }
.gallery .shot { position: relative; overflow: hidden; background: var(--brand-2); margin: 0; }
.gallery .shot.is-tall { grid-row: span 2; }
.gallery .shot.is-wide { grid-column: span 2; }
.gallery .shot .parallax { position: absolute; inset: 0; }
.gallery .shot img { width: 100%; height: 116%; object-fit: cover; filter: saturate(.85); transition: filter .6s var(--ease), scale 1.2s var(--ease); }
.gallery .shot figcaption { position: absolute; inset: auto 0 0 0; z-index: 1; padding: var(--space-md); background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--brand-2) 88%, transparent)); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.gallery .shot .name { display: block; font-family: var(--font-head); font-style: italic; font-size: var(--fs-h4); line-height: var(--lh-h4); color: var(--white); }
.gallery .shot .note { display: block; margin-top: .25rem; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
@media (max-width: 767.98px) {
  .gallery .shot figcaption { padding: var(--space-sm); }
  .gallery .shot:last-child { grid-column: span 2; }   /* 2-col mosaic: the last plate fills its row instead of standing alone */
}
@media (hover: hover) and (pointer: fine) {
  .gallery .shot figcaption { opacity: 0; transform: translateY(.75rem); }
  .gallery .shot:hover figcaption { opacity: 1; transform: none; }
  .gallery .shot:hover img { filter: saturate(1); scale: 1.06; }
}

/* Feature rows (Offerings): photo + body, alternating */
.feature { display: grid; gap: var(--space-xl) var(--gutter); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 768px) { .feature { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } .feature.is-flip > .media { order: 2; } }
.feature .media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: saturate(.85); }
.feature .body { --flow: var(--space-sm); max-width: 58ch; }
.feature .body > * + * { margin-top: var(--flow); }
.feature .title { font-size: var(--fs-h2); line-height: var(--lh-h2); }
.feature .price { font-family: var(--font-head); font-size: var(--fs-h3); color: var(--accent); }
.feature .price small { font-family: var(--font-body); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-soft); }
.feature .actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-md); }
.feature + .feature { margin-top: var(--space-2xl); padding-top: var(--space-2xl); border-top: 1px solid color-mix(in srgb, var(--accent) 25%, transparent); }

/* Tiles (Offerings lists): cardless, hairline-topped */
.tiles { display: grid; gap: var(--space-xl) var(--gutter); grid-template-columns: 1fr; margin-top: var(--space-xl); }
@media (min-width: 768px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
.tile { --flow: var(--space-sm); border-top: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); padding-top: var(--space-md); display: flex; flex-direction: column; }
.tile > * + * { margin-top: var(--flow); }
.tile .title { font-size: var(--fs-h4); line-height: var(--lh-h4); }
.tile .meta { font-family: var(--font-body); font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; color: var(--on-dark); }
.tile p { font-size: var(--fs-small); color: var(--on-dark); }
.tile .price { font-family: var(--font-head); font-size: var(--fs-h3); color: var(--accent); }
.tile .price small { font-family: var(--font-body); font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--on-dark-soft); }
.tile .btn { margin-top: auto; align-self: flex-start; }
.tile .btn:first-of-type { margin-top: var(--space-md); }
.tribe .tile { border-color: color-mix(in srgb, var(--white) 40%, transparent); }
.tribe .tile .meta, .tribe .tile .price small { color: var(--white); }
.tribe .tile .price { color: var(--white); } .tribe .tile p { color: var(--white); }
.section.is-light .tile { border-color: color-mix(in srgb, var(--brand-2) 40%, transparent); }
.section.is-light .tile .meta, .section.is-light .tile .price small { color: var(--ink-soft); }
.section.is-light .tile .price { color: var(--brand-2); } .section.is-light .tile p { color: var(--ink); }
@media (min-width: 768px) and (max-width: 979.98px) {
  .tiles > :last-child:nth-child(odd) { grid-column: 1 / -1; max-width: calc(50% - (var(--gutter) / 2)); }
}
/* Teal band pull quote */
.tribe .pullquote { color: var(--white); }
.tribe .lead { color: var(--white); }

/* The offering plates are photo-dark whatever band they sit on: cream/gold type and gold buttons win over the
   light-band colour rules above (same specificity, later in the cascade). */
.plates .plate .title { color: var(--white); }
.plates .plate p { color: var(--on-dark); }
@media (hover: hover) and (pointer: fine) { .plates .plate:hover p:not(.name):not(.price) { color: var(--white); } }
@media (max-width: 767.98px) { .plates .plate p:not(.name):not(.price) { color: var(--white); } }
.plates .plate .name, .plates .plate .price { color: var(--accent); }
.plates .plate .price small { color: var(--on-dark-soft); }
.plates .plate .btn.is-primary { background: var(--accent); color: var(--ink); }
.plates .plate .btn.is-primary:hover { background: color-mix(in srgb, var(--accent) 85%, #fff); }
.plates .plate .btn.is-ghost { color: var(--white); border-color: color-mix(in srgb, var(--accent) 60%, transparent); }
.plates .plate .btn.is-ghost:hover { border-color: var(--accent); }

/* reCAPTCHA v3 on the contact form: badge hidden everywhere (Google's notice sits under the button instead). */
.grecaptcha-badge { visibility: hidden; }
.form .form-note { font-size: .8rem; line-height: 1.5; color: var(--on-dark-soft); margin-top: var(--space-sm); }
.form .form-note a { color: inherit; text-decoration: underline; transition: color .2s; }
.form .form-note a:hover { color: var(--white); }
