/* A Note of Zen: the estate site. Photograph-led, quiet, 5 to 10% text on any screen.
   A Note of Zen: ink #1F0D14, olive #90956F, mist #F0EFEF, white; Switzer (Light display, Regular text).
   Zen Rising (the last chapter, its own identity), in its design system since 24 Oct 2026 (outputs/Zen/Zen Rising Design System):
   ink #1C373D, sage #708D83, sand #E0B985, orange #EE8413 and deep red #88252F on the off-white #FDFCF8; Switzer. */

@font-face { font-family: "Switzer"; src: url(../assets/fonts/switzer-light.woff2) format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Switzer"; src: url(../assets/fonts/switzer-regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Switzer"; src: url(../assets/fonts/switzer-medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Jost"; src: url(../assets/fonts/jost-light.woff2) format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Manrope"; src: url(../assets/fonts/manrope-light.woff2) format("woff2"); font-weight: 300; font-display: swap; }

:root {
  --ink: #1F0D14; --olive: #90956F; --mist: #F0EFEF; --white: #FFFFFF;
  --ink-soft: #73676C; --stone: #D7D4D5;
  --forest: #1C373D; --canopy: #708D83; --cream: #FDFCF8; --forest-pale: #DEE4DE;   /* Zen Rising: ink, sage, off-white, sage mist */
  --sans: "Switzer", system-ui, -apple-system, "Segoe UI", sans-serif;
  --jost: "Switzer", system-ui, sans-serif;            /* Zen Rising type is Switzer now; its logo stays artwork */
  --manrope: "Switzer", system-ui, sans-serif;
  --gut: clamp(18px, 4.4vw, 72px);
  --hd-h: 76px;
  --low: clamp(40px, 9vh, 110px);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
}
@media (max-width: 699px) { :root { --hd-h: 64px; --low: max(34px, calc(env(safe-area-inset-bottom) + 22px)); } }   /* the music switch is in the header now: nothing to clear at the bottom */

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--mist); color: var(--ink); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; font-family: var(--sans); font-weight: 400; font-size: 1rem; line-height: 1.5; background: var(--mist); overflow-x: clip; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; letter-spacing: inherit; text-transform: inherit; }
p, h1, h2, h3 { margin: 0; font-weight: inherit; }
figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
::selection { background: var(--ink); color: var(--mist); }
.wrap { width: 100%; max-width: 1680px; margin-inline: auto; padding-inline: var(--gut); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--mist); padding: 10px 14px; }
.skip:focus { left: 8px; }
.label { font-size: .72rem; font-weight: 400; letter-spacing: .22em; text-transform: uppercase; line-height: 1.5; }
.line { font-weight: 300; font-size: clamp(1.55rem, .95rem + 1.9vw, 3rem); line-height: 1.12; letter-spacing: -.012em; max-width: 21ch; }
.line-s { font-weight: 300; font-size: clamp(1.15rem, .98rem + .55vw, 1.55rem); line-height: 1.3; letter-spacing: -.005em; max-width: 30ch; }
/* the linear wordmark is a hairline drawing: give its strokes body at every size, never thicker letters */
#m-zen polygon, #m-zen path, #m-zen rect { stroke: currentColor; stroke-width: .75px; vector-effect: non-scaling-stroke; }

/* lines that rise into place, one by one */
.js [data-lines] .ln { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.js [data-lines] .ln > span { display: inline-block; transform: translateY(108%); transition: transform 1.2s var(--ease); }
.js [data-lines].is-in .ln > span { transform: none; }
.js [data-lines] .ln:nth-child(2) > span { transition-delay: .09s; }
.js [data-lines] .ln:nth-child(n+3) > span { transition-delay: .18s; }
.js [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; border: 1px solid currentColor; transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease); }
.btn-fill { background: var(--mist); color: var(--ink); border-color: var(--mist); }
.btn-fill:hover { background: var(--white); border-color: var(--white); }
.btn-line:hover { background: rgba(240, 239, 239, .14); }

/* ------------------------------------------------------------------ header: the wordmark, Pre-book, the menu */
.hd { --hd-ink: var(--ink); position: fixed; inset: 0 0 auto 0; z-index: 60; height: calc(var(--hd-h) + env(safe-area-inset-top)); padding: env(safe-area-inset-top) var(--gut) 0; display: flex; align-items: center; justify-content: space-between; color: var(--hd-ink); transition: color .6s var(--ease); pointer-events: none; }
.hd > * { pointer-events: auto; }
.hd-brand { position: relative; display: block; width: clamp(176px, 15vw, 236px); height: 30px; }
.hd-mark { position: absolute; left: 0; top: 50%; translate: 0 -50%; height: auto; transition: opacity .6s var(--ease), transform .8s var(--ease); }
.hd-zen { width: 100%; aspect-ratio: 758.17 / 45.91; }
.hd-zr { width: 74%; aspect-ratio: 7115 / 1517; opacity: 0; transform: translateY(80%); }
html[data-theme^="zr"]:not(.menu-open) .hd-zen { opacity: 0; transform: translateY(-80%); }
html[data-theme^="zr"]:not(.menu-open) .hd-zr { opacity: 1; transform: none; }
.hd-brand { transition: opacity .6s var(--ease); }
html[data-theme="hero"]:not(.hero-open):not(.menu-open) .hd-brand { opacity: 0; pointer-events: none; }
.hd-cta { display: flex; align-items: center; gap: 22px; }
.hd-link { position: relative; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; padding: 10px 0; white-space: nowrap; }
.hd-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 5px; height: 1px; background: currentColor; transform: scaleX(.3); transform-origin: left; transition: transform .5s var(--ease); }
.hd-link:hover::after, .hd-link:focus-visible::after { transform: scaleX(1); }
html[data-theme^="zr"] .hd-link { font-family: var(--jost); font-weight: 300; letter-spacing: .26em; }
.hd-menu { width: 40px; height: 40px; display: grid; place-items: center; margin-right: -8px; }
.hd-menu-lines { position: relative; width: 26px; height: 9px; }
.hd-menu-lines::before, .hd-menu-lines::after { content: ""; position: absolute; left: 0; right: 0; height: 1px; background: currentColor; transition: transform .5s var(--ease), top .5s var(--ease); }
.hd-menu-lines::before { top: 0; }
.hd-menu-lines::after { top: 8px; }
html.menu-open .hd-menu-lines::before { top: 4px; transform: rotate(45deg); }
html.menu-open .hd-menu-lines::after { top: 4px; transform: rotate(-45deg); }
html[data-theme="photo"] .hd, html[data-theme="ink"] .hd, html[data-theme="hero"] .hd,
html[data-theme="zr-field"] .hd, html[data-theme="zr-photo"] .hd { --hd-ink: var(--mist); }
html[data-theme="zr-field"] .hd, html[data-theme="zr-photo"] .hd { --hd-ink: #FFFFFF; }
html[data-theme="photo"] .hd, html[data-theme="zr-photo"] .hd, html.hero-open[data-theme="hero"] .hd { filter: drop-shadow(0 1px 9px rgba(31, 13, 20, .38)); }
html[data-theme="zr-white"] .hd, html[data-theme="zr-light"] .hd { --hd-ink: var(--forest); }
html.menu-open .hd { --hd-ink: var(--mist); filter: none; }

/* ------------------------------------------------------------------ menu */
.menu { position: fixed; inset: 0; z-index: 55; background: var(--ink); color: var(--mist); display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 40px; padding: calc(var(--hd-h) + 7vh) var(--gut) max(34px, env(safe-area-inset-bottom)); clip-path: circle(0 at calc(100% - var(--gut) - 12px) calc(var(--hd-h) / 2)); transition: clip-path .85s var(--ease-io); overflow-y: auto; }
.menu[hidden] { display: grid; visibility: hidden; }
html.menu-open .menu { visibility: visible; clip-path: circle(150vmax at calc(100% - var(--gut) - 12px) calc(var(--hd-h) / 2)); }
html.menu-open, html.menu-open body { overflow: hidden; }
.menu-nav { display: flex; flex-direction: column; align-self: center; }
.menu-nav a { font-weight: 300; font-size: clamp(1.9rem, 1.1rem + 3.2vw, 4.2rem); line-height: 1.16; letter-spacing: -.02em; opacity: .86; transition: opacity .3s; }
.menu-nav a:hover { opacity: 1; }
.menu-nav .menu-zr { margin-top: .4em; font-family: var(--jost); font-weight: 300; text-transform: uppercase; letter-spacing: .14em; font-size: clamp(1.4rem, 1rem + 2vw, 2.8rem); color: #FFFFFF; opacity: 1; }
.menu-side { display: grid; gap: 34px; justify-items: start; padding-bottom: 6px; }
.menu-back { display: grid; gap: 16px; }
.menu-back a { display: flex; align-items: center; gap: 14px; font-size: .98rem; }
.menu-back a span { border-bottom: 1px solid rgba(240, 239, 239, .3); padding-bottom: 2px; }
.menu-fam { width: 48px; aspect-ratio: 1100 / 509; height: auto; color: var(--mist); flex: none; }
.menu-foot { opacity: .7; line-height: 2.1; }
@media (max-width: 699px) {
  .menu { grid-template-columns: 1fr; align-content: space-between; align-items: start; padding-top: calc(var(--hd-h) + 4vh); }
  .menu-nav { align-self: start; }
}

/* ------------------------------------------------------------------ hero: the Anushri Foundery reveal, copied
   (its features.css .flower-reveal): the wedding photograph waits, small and tilted, on a full dark ground, then turns
   straight and opens to the whole picture. Ground in A Note of Zen ink instead of HPAD maroon. On phones the picture
   turns upright, so the long water runs down the screen. */
.reveal { position: relative; height: 240vh; height: 240svh; background: var(--mist); color: var(--mist); }
.reveal-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; isolation: isolate; }
.reveal-ground { position: absolute; inset: 0; background: var(--ink); }
.reveal-whisper { position: absolute; inset: 0; display: grid; align-content: start; justify-items: center; gap: 18px; padding: calc(var(--hd-h) + 9vh) var(--gut) 0; text-align: center; }
.whisper-mark { width: min(440px, 72vw); aspect-ratio: 758.17 / 45.91; height: auto; color: var(--mist); }
.reveal-whisper .label { opacity: .8; }
.reveal-window { position: absolute; left: 50%; top: 50%; width: 100%; height: 100%; transform: translate(-50%, -50%); overflow: hidden; z-index: 1; container-type: size; margin: 0; }
.reveal-photo { position: absolute; inset: 0; }
.reveal-photo img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: 50% 50%; padding-top: var(--hd-h); box-sizing: border-box; }
.reveal-window::after { content: ""; position: absolute; inset: 45% 0 0; background: linear-gradient(rgba(31, 13, 20, 0), rgba(31, 13, 20, .74)); pointer-events: none; }
.reveal-cap { position: absolute; left: 0; right: 0; bottom: max(7vh, 66px); bottom: max(7svh, 66px); z-index: 1; display: grid; gap: 14px; color: var(--mist); padding-right: calc(var(--gut) + 44px); }
.reveal-cap .label { opacity: .92; }
.hero-line { font-weight: 300; font-size: clamp(2.1rem, 1rem + 3.5vw, 4.8rem); line-height: 1.02; letter-spacing: -.022em; }
.hero-down { position: absolute; left: 50%; bottom: 5vh; bottom: 5svh; z-index: 2; width: 24px; height: 52px; margin-left: -12px; display: grid; justify-items: center; color: var(--mist); opacity: .85; }
.hero-down i { width: 1px; height: 100%; background: currentColor; transform-origin: top; animation: drip 2.4s var(--ease-io) infinite; }
@keyframes drip { 0% { transform: scaleY(0); } 45% { transform: scaleY(1); transform-origin: top; } 55% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 760px) {
  .reveal-photo { inset: auto; left: 50%; top: 50%; width: 100cqh; height: 100cqw; transform: translate(-50%, -50%) rotate(-90deg); }
  .reveal-photo img { padding-top: 0; padding-right: var(--hd-h); }
}
/* without motion: the picture is simply open */
.no-reveal .reveal { height: 100vh; height: 100svh; }
.no-reveal .reveal-stage { position: relative; }
.no-reveal .hero-down { display: none; }

/* ------------------------------------------------------------------ three places, each arriving over the last */
.stack { position: relative; }
.plate { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 540px; overflow: hidden; color: var(--mist); background: var(--ink); }
.plate-img { position: absolute; inset: 0; overflow: hidden; }
.plate-img picture, .plate-img img { display: block; width: 100%; height: 100%; }
.plate-img img, .offset-img img { object-fit: cover; transform: scale(1.07); transition: transform 2.8s var(--ease); }
.plate-img.is-in img, .offset-img.is-in img { transform: none; }
.no-js .plate-img img { transform: none; }
.plate::after { content: ""; position: absolute; inset: auto 0 0 0; height: 55%; background: linear-gradient(to top, rgba(31, 13, 20, .6), rgba(31, 13, 20, 0)); pointer-events: none; }
.plate-words { position: absolute; left: 0; right: 0; bottom: var(--low); z-index: 1; display: grid; gap: 16px; }
#temple .plate-img img { object-position: 50% 42%; }
#long-water .plate-img img { object-position: 50% 50%; }

.plate-offset::after { display: none; }
.offset { position: absolute; inset: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: clamp(30px, 6vw, 110px); padding: calc(var(--hd-h) + 5vh) calc(var(--gut) + 4vw) 8vh var(--gut); max-width: 1680px; margin-inline: auto; }
.offset-words { display: grid; gap: 16px; padding-bottom: 2vh; }
.offset-img { position: relative; height: min(76vh, 860px); aspect-ratio: 1884 / 2304; overflow: hidden; background: #2a1a20; }
.offset-img img { display: block; width: 100%; height: 100%; }
@media (max-width: 699px) {
  .offset { display: block; padding: 0; }
  .offset-img { position: absolute; inset: 0; height: auto; aspect-ratio: auto; }
  .offset-img img { object-position: 38% 50%; }
  .offset-words { position: absolute; left: var(--gut); right: var(--gut); bottom: var(--low); z-index: 1; padding: 0; }
  .plate-offset::after { display: block; }
}

/* ------------------------------------------------------------------ the master plan (phase one), the fourth section
   The plan's own line work from the final master plan drawing: white parcels on the mist ground, ink plot lines,
   the temple court and the long water, greens in olive, water in a pale olive tint. Phones turn it upright. */
.zplan { position: relative; z-index: 2; background: var(--mist); color: var(--ink); }
.zplan-pin { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; }
.zplan-art { position: absolute; left: var(--gut); right: var(--gut); top: calc(var(--hd-h) + 2vh); bottom: 3vh; }
.zplan-svg { display: block; width: 100%; height: 100%; overflow: visible; }
.zplan-side { position: absolute; left: var(--gut); top: calc(var(--hd-h) + 6vh); z-index: 1; display: grid; gap: clamp(22px, 4vh, 40px); max-width: min(430px, 34vw); pointer-events: none; }
.zplan-side .label { color: var(--ink-soft); }
.zplan-words { display: grid; gap: 14px; }
.zplan-legend { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.zplan-legend li { display: flex; align-items: center; gap: 12px; font-size: .95rem; line-height: 1.3; }
.pt-k { flex: none; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: var(--mist); font-size: .68rem; font-weight: 500; display: grid; place-items: center; }
.zplan-plate { margin-top: 14px; max-width: 30ch; }
.zplan-svg .f-green { fill: #BBBEA9; }
.zplan-svg .f-water, .zplan-svg .f-canal { fill: #CACBBC; }
.zplan-svg .plan-parcels path { fill: #FFFFFF; }
.zplan-svg .plan-canal path { fill: none; stroke: var(--olive); stroke-width: 1.2; }
.zplan-svg .plan-bound path { fill: none; stroke: var(--olive); stroke-width: 2.4; stroke-linejoin: round; }
.zplan-svg .plan-ink path { fill: none; stroke: var(--ink); stroke-width: 1; stroke-linejoin: round; }
.zplan-svg .plan-core path { fill: none; stroke: var(--ink); stroke-width: .75; stroke-linejoin: round; }
.zplan-svg .plan-homes path { fill: #73676C; }
.zplan-svg .plan-trees circle { fill: var(--olive); }
.zplan-svg .pt circle { fill: var(--ink); stroke: var(--mist); stroke-width: 2; }
.zplan-svg .pt text { fill: var(--mist); font-family: var(--sans); font-size: 16px; font-weight: 500; }
/* Zen Rising's part of the land: a forest hatch, its outline and its own words (Karan, 23 Oct 2026) */
.zplan-svg .zr-fill { fill: #E0B985; fill-opacity: .5; }   /* Zen Rising in sand on the plan, as on its locator */
.zplan-svg .zr-hatch { fill: none; stroke: var(--forest); stroke-width: 1.1; stroke-opacity: .5; }
.zplan-svg .zr-outline { fill: none; stroke: var(--forest); stroke-width: 2.2; stroke-linejoin: round; }
.zplan-svg .zr-tag use { color: var(--forest); }
.zplan-svg .zr-tag-t { fill: var(--forest); font-family: var(--jost); font-weight: 300; font-size: 12px; letter-spacing: .32em; }
.zplan-legend .lg-zr { color: var(--forest); }
.pt-zr { flex: none; width: 22px; height: 22px; border: 1.5px solid var(--forest); border-radius: 4px; overflow: hidden; background: rgba(224, 185, 133, .5); }
.pt-zr svg { display: block; width: 100%; height: 100%; }
.pt-zr path { fill: none; stroke: var(--forest); stroke-width: 1.5; }
.zplan-svg .plan-north circle { fill: none; stroke: var(--ink); stroke-width: 1; }
.zplan-svg .plan-north path { fill: var(--ink); }
.zplan-svg .plan-north text { fill: var(--ink); font-family: var(--sans); font-size: 12px; }
@media (max-width: 699px) {
  .zplan-side { inset: calc(var(--hd-h) + 2vh) var(--gut) max(3vh, 64px); max-width: none; display: flex; flex-direction: column; justify-content: space-between; gap: 0; }
  .zplan-words { gap: 8px; }
  .zplan-art { top: calc(var(--hd-h) + 12vh); bottom: 26vh; left: 6px; right: 6px; }
  .zplan-legend { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 14px; }
  .zplan-legend li { font-size: .82rem; gap: 9px; }
  .pt-k, .pt-zr { width: 19px; height: 19px; font-size: .6rem; }
  .zplan-plate { margin-top: 10px; font-size: .6875rem; }
}

/* ------------------------------------------------------------------ the lake and the land */
.pair { position: relative; z-index: 2; background: var(--mist); color: var(--ink); padding: clamp(96px, 17vh, 190px) 0 clamp(90px, 15vh, 170px); }
.pair-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(24px, 4.4vw, 80px); row-gap: 22px; align-items: start; }
.pair-a, .pair-b { position: relative; overflow: hidden; background: var(--stone); }
.pair-a > div, .pair-b > div, .living-img > div, .visit-img > div, .zr-land-img > div { position: absolute; inset: -8% 0; }
.pair-a img, .pair-b img, .living-img img, .visit-img img, .zr-land-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pair-a picture, .pair-b picture, .living-img picture, .visit-img picture, .zr-land-img picture { display: block; width: 100%; height: 100%; }
.pair-a { grid-column: 1; grid-row: 1 / span 2; aspect-ratio: 4 / 5; }
.pair-words-a { grid-column: 1; grid-row: 3; }
.pair-b { grid-column: 2; grid-row: 2; aspect-ratio: 16 / 10; align-self: end; }
.pair-words-b { grid-column: 2; grid-row: 3; }
.pair-words { display: grid; gap: 12px; padding-top: 6px; }
.pair-words .label { color: var(--ink-soft); }
@media (max-width: 899px) {
  .pair-grid { grid-template-columns: 1fr; row-gap: 0; }
  .pair-a, .pair-b, .pair-words-a, .pair-words-b { grid-column: 1; grid-row: auto; }
  .pair-a { aspect-ratio: 4 / 4.2; }
  .pair-b { aspect-ratio: 4 / 3; margin-top: 64px; }
  .pair-words { padding-top: 20px; }
}

/* ------------------------------------------------------------------ plots */
.living, .visit, .zr-land { position: relative; z-index: 2; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; }
.living { color: var(--mist); background: var(--ink); }
.living-img, .visit-img, .zr-land-img { position: absolute; inset: 0; overflow: hidden; }
.living::after { content: ""; position: absolute; inset: auto 0 0 0; height: 60%; background: linear-gradient(to top, rgba(31, 13, 20, .66), rgba(31, 13, 20, 0)); pointer-events: none; }
.living-words { position: absolute; left: 0; right: 0; bottom: var(--low); z-index: 1; display: grid; gap: 14px; }
.big { font-weight: 300; font-size: clamp(2.8rem, 1rem + 5.2vw, 7rem); line-height: .94; letter-spacing: -.035em; }
.big-n { font-feature-settings: "lnum" 1; }
#plots .living-img img { object-position: 30% 50%; }

.amen { position: relative; z-index: 2; background: var(--mist); color: var(--ink); padding: clamp(84px, 14vh, 160px) 0; }
.amen .label { color: var(--ink-soft); }
.amen-list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 40px clamp(16px, 2.4vw, 40px); margin-top: clamp(30px, 5vh, 60px); }
.amen-list li { display: grid; gap: 14px; justify-items: start; align-content: start; }
.art { display: block; width: clamp(64px, 6.2vw, 104px); }
.art svg { width: 100%; height: auto; overflow: visible; }
.amen-name { font-size: 1rem; line-height: 1.35; max-width: 13ch; }
.js .amen-list li, .js .zr-amen-list li { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js .amen-list.is-in li, .js .zr-amen-list.is-in li { opacity: 1; transform: none; }
@media (max-width: 999px) { .amen-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 520px) { .amen-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 34px; } .amen-name { font-size: .95rem; } }

/* ------------------------------------------------------------------ visit */
.visit { color: var(--mist); background: var(--ink); }
.visit::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 62%; background: linear-gradient(to bottom, rgba(31, 13, 20, .42), rgba(31, 13, 20, 0)); pointer-events: none; }
.visit-words { position: absolute; left: 0; right: 0; top: calc(var(--hd-h) + 7vh); z-index: 1; display: grid; gap: 20px; justify-items: start; }
.visit-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.visit-contact { display: flex; flex-wrap: wrap; gap: 8px 24px; opacity: .92; }
.visit-contact a { border-bottom: 1px solid rgba(240, 239, 239, .4); padding-bottom: 2px; letter-spacing: .14em; }
#visit .visit-img img { object-position: 50% 62%; }
@media (max-width: 699px) { .visit-words { top: calc(var(--hd-h) + 4vh); } #visit .visit-img img { object-position: 50% 70%; } }

/* ------------------------------------------------------------------ the question, alone on its screen (A Note of Zen) */
.zr-wrap { position: relative; z-index: 2; }
.zr-q { position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 520px; display: grid; place-items: center; background: var(--ink); color: var(--mist); padding: 0 var(--gut); text-align: center; }
.zr-q-text { font-weight: 300; font-size: clamp(2.2rem, 1rem + 4.3vw, 5.8rem); line-height: 1.05; letter-spacing: -.022em; max-width: 13ch; }
.zr-hold { height: 60vh; height: 60svh; }

/* ------------------------------------------------------------------ Zen Rising, in its own brand (final, 23 Oct 2026)
   In Monkey Forest's colours (Karan, 23 Oct 2026: "only colors you have to take from Monkey Forest"): white is the page and
   forest the words on it. Forest, canopy and cream take equal turns as full-width fields: white words on forest, forest words on
   canopy and cream. Canopy is the small accent on forest. No other colours, no gradients.
   Jost Light for the logo, headings and labels; Manrope Light for text; weight 300; everything in capitals; no numbers. */
.zr { position: relative; z-index: 2; font-family: var(--manrope); font-weight: 300; text-transform: uppercase; letter-spacing: .05em; background: #FFFFFF; color: var(--forest); }
.zr-arrive { z-index: 1; height: 100vh; height: 100svh; min-height: 560px; background: var(--forest); color: #FFFFFF; display: grid; place-content: center; justify-items: center; gap: clamp(20px, 3.4vh, 34px); padding: var(--hd-h) var(--gut) 0; text-align: center; }
.zr-logo { width: min(760px, 80vw); aspect-ratio: 7115 / 1034; height: auto; color: #FFFFFF; }
.zr-rule { display: block; width: min(760px, 80vw); height: 1px; background: var(--canopy); transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease) .3s; }
.zr-sub { font-family: var(--jost); font-size: .74rem; letter-spacing: .3em; line-height: 1.8; max-width: 52ch; }
.js .zr-arrive .zr-logo, .js .zr-arrive .zr-sub { opacity: 0; transform: translateY(16px); transition: opacity 1.3s var(--ease), transform 1.3s var(--ease); }
.js .zr-arrive .zr-sub { transition-delay: .7s; }
.zr-arrive.is-in .zr-logo, .zr-arrive.is-in .zr-sub { opacity: 1; transform: none; }
.zr-arrive.is-in .zr-rule, .zr-close.is-in .zr-rule, html:not(.js) .zr-rule { transform: none; }

.zr-photo { height: 100vh; height: 100svh; min-height: 520px; overflow: hidden; background: var(--forest); }
.zr-photo-img { position: absolute; inset: 0; overflow: hidden; }
.zr-photo-img picture, .zr-photo-img img, .zr-plate picture, .zr-plate img { display: block; width: 100%; height: 100%; }
.zr-photo-img img, .zr-plate img { object-fit: cover; }
[data-breathe] img { animation: breathe 16s ease-in-out infinite alternate; transform-origin: 50% 60%; }
@keyframes breathe { from { transform: scale(1); } to { transform: scale(1.045); } }

.zr-h { font-family: var(--jost); font-weight: 300; font-size: clamp(1.6rem, 1rem + 2.1vw, 3.2rem); line-height: 1.16; letter-spacing: .1em; max-width: 18ch; }
.zr-h-big { font-size: clamp(2rem, 1rem + 3.4vw, 4.6rem); max-width: 16ch; }
.zr-h-s { font-size: clamp(1.3rem, 1rem + 1.1vw, 2.1rem); }
.zr-lbl { font-family: var(--jost); font-weight: 300; font-size: .74rem; letter-spacing: .3em; line-height: 1.6; }
.zr-p { font-size: clamp(.9rem, .84rem + .22vw, 1.04rem); line-height: 1.8; letter-spacing: .05em; max-width: 42ch; }
.zr-words { display: grid; gap: 22px; align-content: start; }
.zr-arrive .zr-h-big { margin-top: clamp(8px, 2vh, 20px); }

/* the fields slide in from the page edge, then the words rise and settle */
.zr-field { min-height: 100vh; min-height: 100svh; display: grid; align-items: center; padding: calc(var(--hd-h) + 7vh) 0 9vh; overflow: hidden; color: #FFFFFF; background: var(--field); }
.zr-forest { --field: var(--forest); }
.zr-canopy { --field: var(--canopy); color: var(--forest); min-height: 122vh; min-height: 122svh; }
.zr-cream { --field: var(--cream); color: var(--forest); }
.zr-canopy .zr-rule, .zr-cream .zr-rule { background: var(--forest); }
.zr-field > .wrap { position: relative; z-index: 1; }
.js .zr-field { background: #FFFFFF; }
.js .zr-field::before { content: ""; position: absolute; inset: 0; background: var(--field); transform: translateX(-101%); transition: transform 1.25s var(--ease-io); }
.js .zr-field[data-from="right"]::before { transform: translateX(101%); }
.js .zr-field.is-in::before { transform: none; }
.js .zr [data-reveal] { transition-delay: .2s; }
.js .zr-field [data-reveal] { transition-delay: .65s; }
.js .zr-field [data-reveal] + [data-reveal] { transition-delay: .8s; }
.js .zr-field [data-reveal] + [data-reveal] + [data-reveal] { transition-delay: .95s; }

.zr-two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 110px); align-items: center; }
.zr-plate { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--forest-pale); }
.js .zr-field .zr-plate { opacity: 0; transition: opacity 1.2s var(--ease) .9s; }
.js .zr-field .zr-plate.tilt { transition: opacity 1.2s var(--ease) .9s, transform .7s var(--ease); }
.js .zr-field .zr-plate.tilt.is-tilt { transition: opacity 1.2s var(--ease) .9s, transform .18s linear; }
.js .zr-field.is-in .zr-plate { opacity: 1; }

.zr-plan { padding: clamp(96px, 15vh, 170px) 0; }
.zr-plan-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr); gap: clamp(40px, 6vw, 110px); align-items: center; }
.zr-planbox svg { width: 100%; height: auto; display: block; }

.zr-amen-list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 34px clamp(16px, 2.2vw, 36px); margin: clamp(36px, 6vh, 64px) 0 0; }
.zr-amen-list li { display: grid; gap: 12px; justify-items: start; align-content: start; font-family: var(--jost); font-size: .72rem; line-height: 1.5; letter-spacing: .14em; }
.zr-amen-list .art { width: clamp(58px, 5vw, 86px); }
.js .zr-amen-list li { opacity: 0; transform: translateY(14px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: calc(.9s + var(--i, 0) * 90ms); }
.js .zr-field.is-in .zr-amen-list li { opacity: 1; transform: none; }
.zr-field .zr-words, .zr-field > .wrap > [data-reveal] { margin-bottom: 0; }
.zr-field > .wrap > .zr-h { margin-top: 22px; }
.zr-close { display: grid; gap: 16px; justify-items: start; margin-top: clamp(48px, 8vh, 88px); }
.zr-close .zr-rule { width: min(420px, 60vw); transform-origin: left; }
.zr-btn { display: inline-flex; align-items: center; min-height: 54px; padding: 0 30px; margin-top: 8px; background: #FFFFFF; color: var(--forest); font-family: var(--jost); font-weight: 300; font-size: .78rem; letter-spacing: .24em; transition: background-color .35s var(--ease); }
.zr-btn:hover { background: var(--cream); }
.zr-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.zr-btns .zr-btn { margin-top: 0; }
.zr-btn-line { background: transparent; color: #FFFFFF; border: 1px solid #FFFFFF; }
.zr-btn-line:hover { background: #FFFFFF; color: var(--forest); }
.zr-canopy .zr-btn, .zr-cream .zr-btn { background: var(--forest); color: #FFFFFF; }
.zr-canopy .zr-btn:hover, .zr-cream .zr-btn:hover { background: #FFFFFF; color: var(--forest); }
.zr-canopy .zr-btn-line, .zr-cream .zr-btn-line { background: transparent; color: var(--forest); border-color: var(--forest); }
.zr-canopy .zr-btn-line:hover, .zr-cream .zr-btn-line:hover { background: var(--forest); color: #FFFFFF; }
@media (max-width: 999px) { .zr-amen-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 899px) { .zr-two, .zr-plan-grid { grid-template-columns: 1fr; } .zr-field { padding: calc(var(--hd-h) + 6vh) 0 8vh; } }
@media (max-width: 520px) { .zr-amen-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px 14px; } .zr-amen-list li { font-size: .62rem; letter-spacing: .1em; } .zr-amen-list .art { width: 52px; } .zr-sub { letter-spacing: .22em; } .zr-h { font-size: 1.12rem; letter-spacing: .08em; } .zr-p { font-size: .78rem; line-height: 1.7; } .zr-words { gap: 16px; } .zr-plan .zr-p { display: none; } .zr-amen-list { margin-top: 11vh; } .zr-close { margin-top: 13vh; } .zr-field { padding-bottom: 14vh; } .zr-canopy { min-height: 136vh; min-height: 136svh; } }

/* ------------------------------------------------------------------ footer */
.ft { position: relative; z-index: 2; background: var(--mist); color: var(--ink); padding: clamp(84px, 14vh, 160px) 0 calc(34px + env(safe-area-inset-bottom)); }
.ft-mark { width: 100%; max-width: 1200px; aspect-ratio: 758.17 / 45.91; height: auto; }
.ft-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 34px 40px; margin-top: clamp(54px, 9vh, 100px); align-items: start; }
.ft-col { display: grid; gap: 4px; }
.ft-col .label { color: var(--ink-soft); margin-bottom: 8px; }
.ft-col a { border-bottom: 1px solid rgba(31, 13, 20, .25); }
.ft-family { display: grid; gap: 18px; justify-items: start; }
.ft-family a { display: flex; align-items: center; gap: 16px; }
.ft-family .label { color: var(--ink); border-bottom: 1px solid rgba(31, 13, 20, .25); padding-bottom: 2px; }
.fam { width: 66px; aspect-ratio: 1100 / 509; height: auto; flex: none; }
.fam-hpad { color: #493D51; }
.fam-hpar { color: #2A2230; }
.ft-base { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: clamp(54px, 9vh, 100px); padding-top: 20px; border-top: 1px solid rgba(31, 13, 20, .14); color: var(--ink-soft); }
.ft-share { padding: 8px 0; }
.ft-built { margin-top: 14px; color: var(--ink-soft); opacity: .7; }   /* the very last line, quieter than the copyright (Karan, 23 Oct 2026) */
@media (max-width: 799px) { .ft-row { grid-template-columns: 1fr 1fr; } .ft-family { grid-column: 1 / -1; } }
@media (max-width: 460px) { .ft-row { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ the booking sheet */
.sheet { position: fixed; inset: 0; z-index: 90; display: flex; justify-content: flex-end; }
.sheet[hidden] { display: none; }
.sheet-scrim { position: absolute; inset: 0; background: rgba(31, 13, 20, .5); opacity: 0; transition: opacity .5s var(--ease); }
.sheet-panel { position: relative; width: min(520px, 100%); height: 100%; overflow-y: auto; overscroll-behavior: contain; background: var(--ink); color: var(--mist); padding: 24px clamp(22px, 3vw, 40px) 28px; display: flex; flex-direction: column; gap: 24px; transform: translateX(100%); transition: transform .65s var(--ease); }
.sheet.is-open .sheet-scrim { opacity: 1; }
.sheet.is-open .sheet-panel { transform: none; }
.sheet-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 40px; }
.sheet-mark { height: auto; flex: none; }
.sheet-zen { width: min(210px, 55vw); aspect-ratio: 758.17 / 45.91; }
.sheet-zr { width: min(150px, 45vw); aspect-ratio: 7115 / 1517; display: none; }
.sheet[data-brand="rising"] .sheet-zen { display: none; }
.sheet[data-brand="rising"] .sheet-zr { display: block; }
.sheet-close { font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; padding: 10px 0; opacity: .85; }
.sheet-close:hover { opacity: 1; }
.sheet-title { font-weight: 300; font-size: clamp(1.8rem, 1.2rem + 1.4vw, 2.5rem); line-height: 1.1; letter-spacing: -.015em; }
.form { display: grid; gap: 26px; }
.form[hidden] { display: none; }
.form-lead { opacity: .86; max-width: 38ch; line-height: 1.55; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 20px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field-l { font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; opacity: .72; }
.field input { width: 100%; font: inherit; font-size: 16px; letter-spacing: normal; text-transform: none; color: inherit; background: transparent; border: 0; border-bottom: 1px solid rgba(240, 239, 239, .36); padding: 6px 0 9px; border-radius: 0; transition: border-color .3s; }
.field input:focus { outline: none; border-bottom-color: currentColor; }
.field input[type="date"] { color-scheme: dark; min-height: 40px; }
.field.is-bad input { border-bottom-color: #F2B8B0; }
.field .err { font-size: .8rem; color: #F2B8B0; text-transform: none; letter-spacing: normal; }
.form-send { display: flex; flex-wrap: wrap; gap: 10px; }
.sent { display: grid; gap: 14px; }
.sent[hidden] { display: none; }
.sent-title { font-weight: 300; font-size: 2rem; line-height: 1.1; }
.sent-text { opacity: .9; max-width: 34ch; }
.sent-again { justify-self: start; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding: 6px 0; }
.sheet-foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: .86rem; opacity: .78; }
.sheet-foot a { border-bottom: 1px solid rgba(240, 239, 239, .3); }
.sheet[data-brand="rising"] .sheet-panel { background: var(--forest); color: #FFFFFF; font-family: var(--manrope); font-weight: 300; text-transform: uppercase; letter-spacing: .05em; }
.sheet[data-brand="rising"] .sheet-title, .sheet[data-brand="rising"] .sent-title { font-family: var(--jost); letter-spacing: .1em; font-size: clamp(1.5rem, 1.1rem + 1.1vw, 2.1rem); padding-bottom: 18px; border-bottom: 1px solid var(--canopy); }
.sheet[data-brand="rising"] .btn, .sheet[data-brand="rising"] .sheet-close, .sheet[data-brand="rising"] .field-l, .sheet[data-brand="rising"] .sent-again { font-family: var(--jost); font-weight: 300; }
.sheet[data-brand="rising"] .form-lead, .sheet[data-brand="rising"] .field-l, .sheet[data-brand="rising"] .sheet-foot, .sheet[data-brand="rising"] .sheet-close { opacity: 1; }
.sheet[data-brand="rising"] .btn-fill { background: #FFFFFF; color: var(--forest); border-color: #FFFFFF; }
.sheet[data-brand="rising"] .btn-fill:hover { background: var(--cream); border-color: var(--cream); }
.sheet[data-brand="rising"] .btn-line:hover { background: #FFFFFF; color: var(--forest); }
.sheet[data-brand="rising"] .field input { border-bottom-color: #FFFFFF; }
.sheet[data-brand="rising"] .field input:focus { border-bottom-color: var(--canopy); }
.sheet[data-brand="rising"] .field.is-bad input { border-bottom-color: var(--canopy); }
.sheet[data-brand="rising"] .field .err { color: #FFFFFF; text-transform: uppercase; letter-spacing: .05em; }
.sheet[data-brand="rising"] .field input[type="date"] { color-scheme: dark; }
.sheet[data-brand="rising"] .sheet-foot a { border-bottom-color: #FFFFFF; }
.sheet[data-brand="rising"] .sheet-tel { display: none; }
.sheet-who { display: none; }
.sheet[data-brand="rising"] .sheet-who { display: inline; font-family: var(--jost); letter-spacing: .3em; }
@media (max-width: 699px) {
  .sheet { align-items: flex-end; }
  .sheet-panel { width: 100%; height: auto; max-height: 92svh; border-radius: 16px 16px 0 0; transform: translateY(100%); padding-bottom: max(26px, env(safe-area-inset-bottom)); }
}
@media (max-width: 460px) { .fields { grid-template-columns: 1fr; } .form-send .btn { flex: 1 1 auto; } }
html.sheet-open, html.sheet-open body { overflow: hidden; }

/* ------------------------------------------------------------------ toast */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 95; transform: translate(-50%, 20px); background: var(--ink); color: var(--mist); padding: 12px 20px; font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; opacity: 0; transition: opacity .35s var(--ease), transform .45s var(--ease); pointer-events: none; white-space: nowrap; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }

/* ------------------------------------------------------------------ reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .plate-img img, .offset-img img { transform: none; }
  [data-breathe] img { animation: none; }
}

/* ------------------------------------------------------------------ the playful layer (js/play.js)
   Hairline ink on light ground, mist on dark; inside Zen Rising forest on white, canopy and cream, white on forest. */
.tap-ring { position: fixed; z-index: 190; width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; border: 1.5px solid var(--ink); pointer-events: none; animation: tap-ring .7s var(--ease) forwards; }
.tap-ring.on-dark { border-color: var(--mist); }
.tap-ring.on-zr { border-color: var(--forest); }
.tap-ring.on-zr.on-dark { border-color: #FFFFFF; }
@keyframes tap-ring { from { transform: scale(.35); opacity: .9; } to { transform: scale(1.5); opacity: 0; } }
.roll { position: relative; display: inline-block; overflow: hidden; vertical-align: top; }
.roll-a, .roll-b { display: block; white-space: nowrap; }
.roll-b { position: absolute; left: 0; top: 0; }
.roll i { display: inline-block; font-style: normal; transition: transform .5s var(--ease); transition-delay: calc(var(--i) * 13ms); }
.roll-b i { transform: translateY(112%); }
a:hover > .roll .roll-a i, button:hover > .roll .roll-a i, a:focus-visible > .roll .roll-a i, button:focus-visible > .roll .roll-a i { transform: translateY(-112%); }
a:hover > .roll .roll-b i, button:hover > .roll .roll-b i, a:focus-visible > .roll .roll-b i, button:focus-visible > .roll .roll-b i { transform: none; }
.hop-w { display: inline-block; white-space: nowrap; }
.hop { display: inline-block; transition: transform .38s cubic-bezier(.34, 1.56, .64, 1); }
.btn:active, .zr-btn:active, .hd-link:active, .hd-menu:active { transform: scale(.96); }
html.has-cur, html.has-cur * { cursor: none !important; }
html.has-cur input, html.has-cur textarea { cursor: text !important; }
.cur { position: fixed; left: 0; top: 0; z-index: 200; pointer-events: none; color: var(--ink); opacity: 0; transition: opacity .3s, color .3s; }
.cur.is-on { opacity: 1; }
.cur.on-dark { color: var(--mist); }
.cur.on-zr { color: var(--forest); }
.cur.on-zr.on-dark { color: #FFFFFF; }
.cur[data-mode="text"] { opacity: 0; }
.cur-dot, .cur-ring { position: fixed; left: 0; top: 0; will-change: transform; }
.cur-dot { width: 5px; height: 5px; margin: -2.5px 0 0 -2.5px; border-radius: 50%; background: currentColor; transition: opacity .25s; }
.cur-ring-in { position: absolute; left: -17px; top: -17px; width: 34px; height: 34px; border-radius: 50%; border: 1px solid currentColor; transition: transform .5s var(--ease), background-color .3s, opacity .3s; }
.cur-label { position: absolute; left: 0; top: 0; transform: translate(-50%, 30px); padding: 6px 11px; border-radius: 999px; background: currentColor; font-family: var(--sans); font-size: .6rem; letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; opacity: 0; transition: opacity .25s, transform .4s var(--ease); }
.cur-label::first-line { color: var(--mist); }
.cur.on-dark .cur-label::first-line { color: var(--ink); }
.cur.on-zr .cur-label { font-family: var(--jost); font-weight: 300; letter-spacing: .26em; }
.cur.on-zr .cur-label::first-line { color: #FFFFFF; }
.cur.on-zr.on-dark .cur-label::first-line { color: var(--forest); }
.cur[data-mode="link"] .cur-ring-in { transform: scale(1.55); }
.cur[data-mode="tag"] .cur-ring-in { transform: scale(.55); }
.cur[data-mode="tag"] .cur-label { opacity: 1; transform: translate(-50%, 24px); }
.cur.is-down .cur-ring-in { transform: scale(.72); }
.tilt { transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .7s var(--ease); }
.tilt.is-tilt { transition: transform .18s linear; }
.tilt::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .18), rgba(255, 255, 255, 0) 46%); opacity: 0; transition: opacity .45s; }
.tilt.is-tilt::before { opacity: 1; }
.zr .tilt::before, .zr-page .tilt::before { display: none; }   /* Zen Rising: no gradients */
.rv { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease) var(--rvd, 0s), transform 1s var(--ease) var(--rvd, 0s); }
.rv.is-rv { opacity: 1; transform: none; }
@keyframes hd-line { to { transform: translateX(5px); } }
.hd-menu.is-nudge .hd-menu-lines::before { animation: hd-line .45s var(--ease-io) 2 alternate; }
.hd-menu.is-nudge .hd-menu-lines::after { animation: hd-line .45s var(--ease-io) .12s 2 alternate; }
.hd-menu.is-sym .hd-menu-lines::after, .hd-menu:hover .hd-menu-lines::after { transform: translateX(-6px); }
/* ambient motion in the hero: a slow light wanders the dark ground; the wordmark breathes; the picture never stands quite still */
.reveal-glow { position: absolute; left: 50%; top: 45%; width: 90vmax; height: 90vmax; margin: -45vmax 0 0 -45vmax; border-radius: 50%; background: radial-gradient(circle, rgba(240, 239, 239, .07), rgba(240, 239, 239, 0) 58%); pointer-events: none; animation: glow-wander 22s ease-in-out infinite alternate; }
@keyframes glow-wander { 0% { transform: translate(-14vw, -6vh); } 50% { transform: translate(10vw, 4vh); } 100% { transform: translate(-4vw, 8vh); } }
.whisper-mark { animation: breathe-o 6s ease-in-out infinite alternate; }
@keyframes breathe-o { from { opacity: .78; } to { opacity: 1; } }
.reveal-photo img { animation: photo-breathe 18s ease-in-out infinite alternate; }
@keyframes photo-breathe { from { scale: 1; } to { scale: 1.035; } }
@media (prefers-reduced-motion: reduce) { .reveal-glow, .whisper-mark, .reveal-photo img { animation: none; } }

/* ------------------------------------------------------------------ 24 Oct 2026: Zen Rising in its design system
   (outputs/Zen/Zen Rising Design System). Majors ink #1C373D, sage #708D83, sand #E0B985; minors orange #EE8413 and deep
   red #88252F only on the opener and the close; off-white #FDFCF8 page. Anything to be read sits on the off-white, in
   ink. Switzer: Light for headings, Regular for text, sentence case, labels in tracked capitals. Scoped to the Zen Rising
   chapter and page; A Note of Zen's own sections are untouched. */
.zr, .zrp-ft, html.zr-page { --forest: #1C373D; --canopy: #708D83; --cream: #FDFCF8; --forest-pale: #DEE4DE;
  --zr-ink: #1C373D; --zr-sage: #708D83; --zr-sand: #E0B985; --zr-orange: #EE8413; --zr-red: #88252F; --zr-bg: #FDFCF8; }
html[data-theme="zr-white"] .hd, html[data-theme="zr-light"] .hd { --hd-ink: #1C373D; }
.zr { font-family: "Switzer", system-ui, sans-serif; font-weight: 400; text-transform: none; letter-spacing: 0; background: var(--zr-bg); color: var(--zr-ink); }
.zr .zr-h, .zr .zrp-hero-line { font-family: "Switzer", system-ui, sans-serif; font-weight: 300; letter-spacing: -.01em; }
.zr .zr-lbl, .zr .zr-sub, .zr .zr-btn { font-family: "Switzer", system-ui, sans-serif; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; }
.zr .zr-amen-list li { font-family: "Switzer", system-ui, sans-serif; font-weight: 400; text-transform: none; letter-spacing: 0; font-size: .86rem; }
.zr .zr-p { letter-spacing: 0; }
/* every field is the off-white now; the words are ink */
.zr-field, .zr-forest, .zr-canopy, .zr-cream { --field: var(--zr-bg); color: var(--zr-ink); }
.js .zr-field { background: var(--zr-bg); }
.zr-field .zr-rule { background: var(--zr-ink); opacity: .5; }
.zr-field .zr-btn, .zr-canopy .zr-btn, .zr-cream .zr-btn { background: var(--zr-ink); color: var(--zr-bg); }
.zr-field .zr-btn:hover, .zr-canopy .zr-btn:hover, .zr-cream .zr-btn:hover { background: var(--zr-sage); color: var(--zr-bg); }
.zr-field .zr-btn-line, .zr-canopy .zr-btn-line, .zr-cream .zr-btn-line { background: transparent; color: var(--zr-ink); border-color: var(--zr-ink); }
.zr-field .zr-btn-line:hover, .zr-canopy .zr-btn-line:hover, .zr-cream .zr-btn-line:hover { background: var(--zr-ink); color: var(--zr-bg); }
.zr-plate { background: #DEE4DE; }
/* the opener is the one deep red screen, an orange hairline under the logo */
.zr-arrive { background: var(--zr-red); color: var(--zr-bg); }
.zr-arrive .zr-logo { color: var(--zr-bg); }
.zr-arrive .zr-rule { background: var(--zr-orange); height: 2px; opacity: 1; }
.zr-photo { background: var(--zr-ink); }
@media (max-width: 520px) { .zr .zr-amen-list li { font-size: .7rem; letter-spacing: 0; } .zr .zr-h { letter-spacing: -.005em; } }
/* the Zen Rising enquiry sheet (from either page): a form is read, so it sits on the off-white, in ink */
.sheet[data-brand="rising"] .sheet-panel { background: #FDFCF8; color: #1C373D; font-family: "Switzer", system-ui, sans-serif; font-weight: 400; text-transform: none; letter-spacing: 0; }
.sheet[data-brand="rising"] .sheet-title, .sheet[data-brand="rising"] .sent-title { font-family: "Switzer", system-ui, sans-serif; font-weight: 300; letter-spacing: -.01em; border-bottom-color: rgba(28, 55, 61, .5); }
.sheet[data-brand="rising"] .btn, .sheet[data-brand="rising"] .sheet-close, .sheet[data-brand="rising"] .field-l, .sheet[data-brand="rising"] .sent-again, .sheet[data-brand="rising"] .sheet-who { font-family: "Switzer", system-ui, sans-serif; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; }
.sheet[data-brand="rising"] .btn-fill { background: #1C373D; color: #FDFCF8; border-color: #1C373D; }
.sheet[data-brand="rising"] .btn-fill:hover { background: #708D83; border-color: #708D83; color: #FDFCF8; }
.sheet[data-brand="rising"] .btn-line { color: #1C373D; border-color: #1C373D; }
.sheet[data-brand="rising"] .btn-line:hover { background: #1C373D; color: #FDFCF8; }
.sheet[data-brand="rising"] .field input, .sheet[data-brand="rising"] .field select, .sheet[data-brand="rising"] .field textarea { color: #1C373D; border-bottom-color: #1C373D; }
.sheet[data-brand="rising"] .field input:focus, .sheet[data-brand="rising"] .field.is-bad input { border-bottom-color: #708D83; }
.sheet[data-brand="rising"] .field .err { color: #1C373D; text-transform: none; letter-spacing: 0; }
.sheet[data-brand="rising"] .field input[type="date"] { color-scheme: light; }
.sheet[data-brand="rising"] .sheet-foot a { border-bottom-color: #1C373D; }

/* ================================================================== the Fable 5.2 pass (15 Nov 2026)
   The header tucks away while the page scrolls down and returns on the way up (as on the HPAD site), so its mark and
   its words never run over the page's own text. The music switch sits in the header (data-hpa-sound). Every control
   is at least 44 px to the finger. Pages hand over to each other where the browser can. */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) { ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; } }
.hd { transition: color .6s var(--ease), transform .55s var(--ease), visibility 0s; }
html.hd-hide .hd { transform: translateY(-115%); }
@media (prefers-reduced-motion: reduce) { html.hd-hide .hd { transform: none; visibility: hidden; } }
.hd-brand { height: 44px; }
.hd-cta { gap: 20px; }
.hd-sound { display: inline-flex; margin: 0 -10px; }
.hd-link { display: inline-flex; align-items: center; min-height: 44px; padding: 0; }
.hd-link::after { bottom: 9px; }
.hd-menu { width: 44px; height: 44px; margin-right: -9px; }
@media (max-width: 699px) { .hd-cta { gap: 12px; } .hd-brand { width: min(176px, 44vw); } }

/* the visit screen: the numbers are full-size links, and on a phone they stand clear of the temple's spire */
.visit-contact a { display: inline-flex; align-items: center; min-height: 44px; border-bottom: 0; padding-bottom: 0; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; text-decoration-color: rgba(240, 239, 239, .5); text-shadow: 0 1px 12px rgba(31, 13, 20, .5); }
.visit-contact { gap: 0 24px; }
@media (max-width: 699px) {
  .visit::after { height: 74%; background: linear-gradient(to bottom, rgba(31, 13, 20, .5), rgba(31, 13, 20, .3) 60%, rgba(31, 13, 20, 0)); }
  .visit-actions { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .visit-actions .btn-fill { grid-column: 1 / -1; justify-self: start; }
  .visit-actions .btn-line { padding: 0 8px; letter-spacing: .14em; }
  .visit-contact { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 349px) { .visit-actions { grid-template-columns: 1fr; } }

/* menu and footer: full-size links, the underline drawn by the text itself */
.menu-back { gap: 6px; }
.menu-back a { min-height: 44px; }
.menu-foot { line-height: 1.5; }
.menu-foot a { display: inline-flex; align-items: center; min-height: 44px; }
.ft-col { gap: 0; }
.ft-col a { display: inline-flex; align-items: center; min-height: 44px; border-bottom: 0; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; text-decoration-color: rgba(31, 13, 20, .3); }
.ft-family { gap: 6px; }
.ft-family a { min-height: 44px; }
.ft-share { min-height: 44px; padding: 0; }
