/* Kurma Kshetra – same framework as Stillness in Movement, Kurma's own colours and letters.
   VOICE: calm, grounded, slow; written like guiding breath.
   IDEA: the Rhythm of the Week poster, opened up into a house you walk through.
   PICTURE: students in the hall; the endless-knot mark breathing.
   COLOUR and TYPE: deep earth brown, cream, ochre; wide Archivo like the posters, Amatic SC for the hand-lettered titles.
   LAYOUT: the Stillness framework, scroll-led, full-bleed bands. */

:root {
  --char: #3d1c0e;
  --char-2: #4a2313;
  --char-3: #592b17;
  --cream: #f1e2c6;
  --paper: #f5ead8;
  --ink: #36190b;
  --ink-2: #6a4733;
  --muted: rgba(241, 226, 198, 0.72);
  --faint: rgba(241, 226, 198, 0.2);
  --accent: #e3a465;
  --accent-deep: #9c5518;
  --disp: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --label: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --sans: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --hand: "Amatic SC", "Archivo Narrow", sans-serif;
  --gut: clamp(1.25rem, 5vw, 4rem);
  --max: 48rem;
  --pad: max(var(--gut), calc((100% - var(--max)) / 2));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}
*, *::before, *::after { box-sizing: border-box; min-width: 0; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body { margin: 0; background: var(--char); color: var(--cream); font: 400 1rem/1.62 var(--sans); font-stretch: 100%; font-variant-numeric: lining-nums; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 400; background: var(--cream); color: var(--ink); padding: 0.6rem 1rem; }
.skip:focus { top: 1rem; }

.label { font: 600 0.76rem/1.3 var(--label); font-stretch: 125%; letter-spacing: 0.12em; text-transform: uppercase; }
.t-h2 { font: 600 clamp(2.1rem, 6.4vw, 3.4rem)/1.04 var(--disp); font-stretch: 118%; letter-spacing: -0.01em; text-wrap: balance; }
.t-h3 { font: 600 clamp(1.45rem, 3.4vw, 2rem)/1.12 var(--disp); font-stretch: 115%; text-wrap: balance; }
.t-lede { font: 300 clamp(1.2rem, 2.3vw, 1.5rem)/1.42 var(--disp); font-stretch: 108%; font-style: italic; }
.t-body { font-size: clamp(1rem, 1.1vw, 1.0625rem); line-height: 1.7; color: var(--muted); }
.hand { font-family: var(--hand); font-weight: 700; letter-spacing: 0.02em; }
.acc { color: var(--accent); }

/* knot mark (from the logo) */
.knot { display: block; width: 1.6rem; aspect-ratio: 568 / 900; background: url("../img/mark.webp") center / contain no-repeat; flex: none; }
.knot.breathe { animation: breathe 9s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scale(1); opacity: 0.92; } 45%, 55% { transform: scale(1.07); opacity: 1; } }

/* loader */
.loader { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; background: var(--char); clip-path: inset(0 0 0 0); transition: clip-path 1s var(--ease-io), visibility 0s 1s; }
.loader .knot { width: 2.6rem; }
html.ready .loader { clip-path: inset(0 0 100% 0); visibility: hidden; }
html:not(.js) .loader { display: none; }

/* header */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; pointer-events: none; }
.nav-top { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 0.9rem var(--gut); padding-top: max(0.9rem, env(safe-area-inset-top)); pointer-events: auto; transition: transform 0.6s var(--ease), background-color 0.4s; }
.nav.hide:not(.open) .nav-top { transform: translateY(-110%); }
.nav.solid:not(.open) .nav-top { background: rgba(61, 28, 14, 0.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.nav-logo { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; flex: none; }
.nav-logo .knot { width: 1.45rem; }
.nav-logo img { height: 2.1rem; width: auto; }
.nav-links { display: none; align-items: center; gap: clamp(0.9rem, 1.6vw, 1.6rem); }
.nav-links a { text-decoration: none; color: var(--muted); transition: color 0.3s; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -0.35rem; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.5s var(--ease); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--cream); }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { transform: scaleX(1); }
.burger { position: relative; width: 2.75rem; height: 2.75rem; }
.burger i { position: absolute; left: 0.3rem; right: 0.3rem; top: 50%; height: 1px; background: currentColor; transition: transform 0.6s var(--ease); }
.burger i:first-child { transform: translateY(-4px); }
.burger i:last-child { transform: translateY(4px); }
.nav.open .burger i:first-child { transform: rotate(45deg); }
.nav.open .burger i:last-child { transform: rotate(-45deg); }
@media (min-width: 66rem) { .nav-links { display: flex; } .burger { display: none; } }
.nav-panel { position: fixed; inset: 0; z-index: -1; background: var(--char-2); pointer-events: none; visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path 0.9s var(--ease-io), visibility 0s 0.9s; display: grid; align-content: center; padding: 6rem var(--gut) 3rem; overflow-y: auto; }
.nav.open .nav-panel { clip-path: inset(0 0 0 0); pointer-events: auto; visibility: visible; transition: clip-path 0.9s var(--ease-io), visibility 0s; }
.nav-prim a { display: block; overflow: hidden; font: 600 clamp(1.8rem, 7vw, 3rem)/1.2 var(--disp); font-stretch: 118%; text-decoration: none; }
.nav-prim a span { display: inline-block; transform: translateY(105%); transition: transform 0.9s var(--ease); }
.nav.open .nav-prim a span { transform: none; }
.nav-prim li:nth-child(2) span { transition-delay: 0.04s; } .nav-prim li:nth-child(3) span { transition-delay: 0.08s; }
.nav-prim li:nth-child(4) span { transition-delay: 0.12s; } .nav-prim li:nth-child(5) span { transition-delay: 0.16s; }
.nav-prim li:nth-child(6) span { transition-delay: 0.2s; } .nav-prim li:nth-child(7) span { transition-delay: 0.24s; } .nav-prim li:nth-child(8) span { transition-delay: 0.28s; }
.nav-sec { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 0.8rem 1.8rem; opacity: 0; transition: opacity 0.6s 0.35s; }
.nav.open .nav-sec { opacity: 1; }
.nav-sec a { text-decoration: none; color: var(--muted); }

/* hero: the logo first, it fades, then the photograph grows to the edges */
.hero { position: relative; height: 290vh; height: 290svh; }
.hero-stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; --a: 0; --b: 0; --c: 0; }
.hero-wm { position: relative; z-index: 3; display: grid; justify-items: center; text-align: center; padding: 0 var(--gut); opacity: calc(1 - var(--a)); transform: translateY(calc(var(--a) * -8vh)) scale(calc(1 - var(--a) * 0.06)); }
.hero-wm h1 { line-height: 0; }
.hero-wm .wm { width: min(64vw, 23rem); height: auto; opacity: 0; transform: translateY(20px) scale(0.96); transition: opacity 1.3s var(--ease) 0.1s, transform 1.6s var(--ease) 0.1s; }
html.ready .hero-wm .wm { opacity: 1; transform: none; }
.hero-eyebrow { margin-top: 1.8rem; color: var(--accent); opacity: 0; transition: opacity 1s 0.5s; }
html.ready .hero-eyebrow { opacity: 1; }
.hero-card {
  --w0: min(58vw, 62svh * 0.5625);
  --h0: calc(var(--w0) * 1.7778);
  position: absolute; left: 50%; top: 50%; z-index: 2;
  width: calc(var(--w0) + (100vw - var(--w0)) * var(--b));
  height: calc(var(--h0) + (100svh - var(--h0)) * var(--b));
  transform: translate(-50%, -50%) scale(calc(0.86 + 0.14 * var(--a)));
  opacity: var(--a);
  border-radius: calc(14px * (1 - var(--b)));
  overflow: hidden; background: var(--char-3);
}
.hero-card img, .hero-card video { width: 100%; height: 100%; object-fit: cover; }
.hero-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(61,28,14,0) 35%, rgba(61,28,14,0.82)); opacity: var(--c); }
.hero-cue { position: absolute; z-index: 3; left: 50%; bottom: 1.4rem; transform: translateX(-50%); display: grid; justify-items: center; gap: 0.6rem; color: var(--muted); opacity: calc(1 - var(--a) * 2); }
.hero-cue i { width: 1px; height: 2.6rem; background: var(--faint); position: relative; overflow: hidden; }
.hero-cue i::after { content: ""; position: absolute; left: 0; right: 0; top: -40%; height: 40%; background: var(--cream); animation: cue 2.2s var(--ease-io) infinite; }
@keyframes cue { to { top: 100%; } }
.hero-line { position: absolute; z-index: 3; left: 50%; bottom: 11vh; width: min(40rem, 88vw); transform: translate(-50%, calc((1 - var(--c)) * 20px)); text-align: center; opacity: var(--c); }
.hero-line p:first-child { font: 600 clamp(1.7rem, 4.6vw, 3rem)/1.08 var(--disp); font-stretch: 122%; text-transform: uppercase; letter-spacing: 0.02em; }
.hero-line p + p { margin-top: 0.9rem; color: var(--muted); }

/* reveals */
html.js [data-a] { opacity: 0; transform: translateY(24px); transition: opacity 1.1s var(--ease), transform 1.3s var(--ease); }
html.js [data-a].in { opacity: 1; transform: none; }
html.js [data-wipe] { clip-path: inset(0 100% 0 0); transition: clip-path 1.4s var(--ease-io); }
html.js [data-wipe].in { clip-path: inset(0 0 -12% 0); }
html.js .settle { overflow: hidden; clip-path: inset(12% 0 0 0); transition: clip-path 1.4s var(--ease-io); }
html.js .settle img, html.js .settle video { transform: scale(1.14); transition: transform 2s var(--ease); }
html.js .settle.in { clip-path: inset(0 0 0 0); }
html.js .settle.in img, html.js .settle.in video { transform: none; }
html.js .ink .w { opacity: 0.2; transition: opacity 0.35s; }
html.js .ink .w.on { opacity: 1; }
html.js .rule { transform: scaleX(0); transition: transform 1.6s var(--ease-io); }
html.js .rule.in { transform: none; }
.rule { height: 1px; background: var(--faint); transform-origin: left; }
section { scroll-margin-top: 4.5rem; }

/* intro */
.intro { padding: clamp(6rem, 14vw, 9rem) var(--pad) clamp(4rem, 8vw, 6rem); display: grid; gap: 2rem; }
.intro-t { font: 400 clamp(1.45rem, 3.8vw, 2.2rem)/1.28 var(--disp); font-stretch: 106%; }
.intro-t b { font-weight: 600; color: var(--accent); }

/* full-bleed photo */
.bleed { position: relative; height: 78vh; height: 78svh; overflow: hidden; margin: 0; }
.bleed img { position: absolute; left: 0; width: 100%; top: -12%; height: 124%; object-fit: cover; will-change: transform; }
.bleed figcaption { position: absolute; left: var(--gut); bottom: 1.5rem; text-shadow: 0 1px 14px rgba(0,0,0,0.55); }

/* value turns: the word we leave turns into the word we keep */
.quote { padding: clamp(5rem, 12vw, 8rem) var(--pad); }
.quote .rule:first-child { margin-bottom: clamp(2.5rem, 6vw, 3.5rem); }
.quote .rule:last-child { margin-top: clamp(2.5rem, 6vw, 3.5rem); }
.q { display: grid; gap: 0.2em; font: 600 clamp(1.7rem, 6.4vw, 3.3rem)/1.06 var(--disp); font-stretch: 120%; letter-spacing: -0.01em; perspective: 900px; }
.ql { position: relative; display: block; height: 1.2em; overflow: hidden; }
.ql > span { position: absolute; left: 0; top: 0; white-space: pre; transition: transform 1.1s var(--ease), opacity 0.8s; backface-visibility: hidden; }
.ql .ql-t { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 2px; text-decoration-color: var(--accent); font-weight: 300; }
.ql .ql-e { transform: translateY(100%) rotateX(-70deg); opacity: 0; transform-origin: 50% 0; }
.ql.on .ql-t { transform: translateY(-100%) rotateX(70deg); opacity: 0; transform-origin: 50% 100%; }
.ql.on .ql-e { transform: none; opacity: 1; }
.ql:nth-child(2) > span { left: 0.5em; } .ql:nth-child(3) > span { left: 1em; } .ql:nth-child(4) > span { left: 1.5em; }
.q-by { margin-top: 2rem; color: var(--muted); }
@media (max-width: 40rem) { .ql:nth-child(n) > span { left: 0; } }

/* marquee */
.mq { overflow: hidden; border-block: 1px solid var(--faint); padding: 1.1rem 0; }
.mq-t { display: flex; width: max-content; will-change: transform; }
.mq-t span { font: 600 clamp(1.6rem, 4vw, 2.7rem)/1 var(--disp); font-stretch: 125%; text-transform: uppercase; padding-right: 1em; white-space: nowrap; }
.mq-t span i { font-style: normal; color: var(--accent); padding-left: 1em; }

/* five ways in: slim sticky slider */
.five-intro { padding: clamp(5rem, 12vw, 8rem) var(--pad) 0; display: grid; gap: 1.2rem; }
.five { position: relative; height: 360vh; height: 360svh; }
.five-stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; align-content: start; gap: 1.2rem; padding: 5rem var(--pad) 2rem; }
.five-vis { position: relative; overflow: hidden; background: var(--char-3); aspect-ratio: 16 / 10; max-height: 46vh; width: 100%; border-radius: 10px; }
.five-vis figure { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity 0.9s var(--ease-io); }
.five-vis figure.on { opacity: 1; }
.five-vis img, .five-vis video { width: 100%; height: 100%; object-fit: cover; transform: scale(calc(1.08 - 0.08 * var(--sp, 0))); }
.five-meta { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.five-meta .label { color: var(--muted); }
.five-n { font: 600 0.95rem/1 var(--label); font-stretch: 125%; letter-spacing: 0.1em; display: flex; align-items: center; gap: 0.4rem; }
.five-n .win { display: block; height: 1.2em; overflow: hidden; }
.five-n .digit { display: block; transition: transform 0.8s var(--ease); }
.five-n .digit span { display: block; height: 1.2em; line-height: 1.2; }
.five-n .of { color: var(--muted); }
.five-stops { position: relative; min-height: 10.5rem; }
.five-stop { position: absolute; inset: 0; opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.8s var(--ease); pointer-events: none; }
.five-stop.on { opacity: 1; transform: none; pointer-events: auto; transition-delay: 0.12s; }
.five-stop .t-body { margin-top: 0.55rem; }
.five-stop .more { margin-top: 0.7rem; }
.five-prog { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.4rem; }
.five-prog i { height: 2px; background: var(--faint); overflow: hidden; }
.five-prog i b { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(var(--f, 0)); }

/* light sections */
.light { background: var(--paper); color: var(--ink); }
.light .t-body { color: var(--ink-2); }
.light .acc { color: var(--accent-deep); }
.light .rule { background: rgba(54,25,11,0.18); }

/* timetable */
.classes { padding: clamp(5rem, 12vw, 8rem) var(--pad); }
.sec-head { display: grid; gap: 1.2rem; margin-bottom: clamp(2.2rem, 5vw, 3.5rem); }
.tabs { display: flex; gap: 0.4rem; margin-bottom: 1.4rem; flex-wrap: wrap; }
.tab { min-height: 2.75rem; padding: 0.7rem 1rem; border: 1px solid rgba(54,25,11,0.24); border-radius: 999px; transition: background-color 0.3s, color 0.3s; }
.tab[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.tab .today { display: inline-block; width: 0.4rem; height: 0.4rem; border-radius: 50%; background: var(--accent-deep); margin-left: 0.45rem; vertical-align: 0.12em; }
.tab[aria-selected="true"] .today { background: var(--accent); }
.tt { display: none; }
.tt.on { display: block; animation: rise 0.6s var(--ease); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.tt-row { display: grid; grid-template-columns: minmax(0, 9.5rem) minmax(0, 1fr); gap: 0.2rem 1.4rem; padding: 1.15rem 0; border-top: 1px solid rgba(54,25,11,0.16); }
.tt-row:last-of-type { border-bottom: 1px solid rgba(54,25,11,0.16); }
.tt-time { grid-row: span 3; font: 600 0.92rem/1.3 var(--label); font-stretch: 112%; letter-spacing: 0.02em; white-space: nowrap; padding-top: 0.3rem; }
.tt-class { font: 600 clamp(1.2rem, 2.3vw, 1.55rem)/1.18 var(--disp); font-stretch: 115%; }
.tt-class small { font: 600 0.62em/1 var(--label); font-stretch: 125%; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-deep); margin-left: 0.4rem; }
.tt-for { color: var(--ink-2); }
.tt-who { font: 600 0.74rem/1.3 var(--label); font-stretch: 112%; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-deep); }
.tt-note { margin-top: 1.2rem; color: var(--ink-2); }
.tag { display: inline-block; margin-left: 0.4rem; padding: 0.15rem 0.5rem; border: 1px solid currentColor; border-radius: 999px; font: 600 0.62rem/1.3 var(--label); letter-spacing: 0.08em; text-transform: uppercase; vertical-align: 0.25em; color: var(--accent-deep); }
@media (max-width: 34rem) { .tt-row { grid-template-columns: 1fr; } .tt-time { grid-row: auto; padding: 0; } }
.btn { display: inline-flex; align-items: center; gap: 0.8rem; min-height: 2.9rem; text-decoration: none; padding: 0.95rem 1.4rem; border: 1px solid currentColor; border-radius: 999px; position: relative; overflow: hidden; isolation: isolate; }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--cream); transform: scaleY(0); transform-origin: bottom; transition: transform 0.6s var(--ease); }
.btn:hover::before { transform: scaleY(1); }
.btn span { transition: color 0.3s; }
.btn:hover span { color: var(--ink); }
.light .btn::before { background: var(--ink); }
.light .btn:hover span { color: var(--paper); }
.btn-row { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.cards { margin-top: clamp(3.5rem, 8vw, 5rem); display: grid; gap: clamp(3rem, 6vw, 4rem); }
.card { display: grid; gap: 1rem; align-content: start; }
.card figure { aspect-ratio: 3 / 2; border-radius: 10px; }
.card figure img { width: 100%; height: 100%; object-fit: cover; }
.card-link { justify-self: start; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 0.2rem; color: var(--accent-deep); }

/* packages (Kurma Regulars) */
.pk-title { font-size: clamp(2.6rem, 8vw, 4rem); line-height: 1; }
.pk { margin-top: 1.6rem; display: grid; gap: 0.6rem; }
.pk li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 1rem 1.6rem; padding: 1.1rem 1.4rem; border: 1px solid var(--accent-deep); border-radius: 14px; }
.pk-n { font: 600 1.3rem/1.05 var(--disp); font-stretch: 125%; text-transform: uppercase; }
.pk-n small { display: block; font: 600 0.72rem/1.4 var(--label); font-stretch: 125%; letter-spacing: 0.12em; }
.pk-c { font-family: var(--hand); font-weight: 700; font-size: 1.6rem; line-height: 1; text-align: center; }
.pk-c b { display: block; font-size: 2.6rem; }
.pk-p { font-family: var(--hand); font-weight: 700; font-size: 2.3rem; white-space: nowrap; }
.pk-note { margin-top: 1.2rem; color: var(--ink-2); }
.dark .pk li { border-color: rgba(227,164,101,0.55); }
.dark .pk-note { color: var(--muted); }
@media (max-width: 30rem) { .pk li { grid-template-columns: 1fr auto; } .pk-c { grid-column: 1; grid-row: 2; text-align: left; } .pk-c b { display: inline; font-size: 1.9rem; margin-right: 0.3rem; } .pk-p { grid-row: 1 / span 2; grid-column: 2; } }

/* therapy */
.ap { padding: clamp(5rem, 12vw, 8rem) var(--pad); display: grid; gap: 2.4rem; }
.ap-vid { aspect-ratio: 16 / 9; background: var(--char-3); border-radius: 10px; }
.ap-vid video { width: 100%; height: 100%; object-fit: cover; }
.ap-list { margin-top: 1.4rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr)); column-gap: 1.5rem; }
.ap-list li { padding: 0.75rem 0; border-top: 1px solid var(--faint); }
.ap-note { margin-top: 1.3rem; color: var(--muted); font-size: 0.9rem; }

/* three needs */
.day { padding: clamp(5rem, 12vw, 8rem) var(--pad); }
.need { display: grid; gap: clamp(2.6rem, 6vw, 3.6rem); margin-top: clamp(2rem, 5vw, 3rem); }
.need article { display: grid; gap: 0.8rem; }
.need figure { aspect-ratio: 16 / 10; border-radius: 10px; }
.need img { width: 100%; height: 100%; object-fit: cover; }
.need .t-lede { color: var(--cream); }

/* calendar */
.cal { padding: clamp(5rem, 12vw, 8rem) var(--pad); }
.cal-list li { border-top: 1px solid var(--faint); }
.cal-list li:last-child { border-bottom: 1px solid var(--faint); }
.cal-item { display: grid; gap: 0.55rem; padding: 1.8rem 0; text-decoration: none; }
.cal-meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1.4rem; color: var(--muted); }
.cal-meta span:first-child { color: var(--accent); }
.cal-title { font: 600 clamp(1.4rem, 3.4vw, 2rem)/1.14 var(--disp); font-stretch: 115%; transition: transform 0.6s var(--ease), color 0.3s; }
a.cal-item:hover .cal-title { transform: translateX(0.5rem); color: var(--accent); }
.cal-where { color: var(--muted); }
.cal-cta { color: var(--accent); }

/* invite */
.invite { padding: clamp(5rem, 12vw, 8rem) var(--pad); }
.invite-list { margin-top: 1.8rem; }
.invite-list li { padding: 1rem 0; border-top: 1px solid rgba(54,25,11,0.16); display: grid; gap: 0.2rem; }
.invite-list li:last-child { border-bottom: 1px solid rgba(54,25,11,0.16); }
.invite-list strong { font: 600 clamp(1.15rem, 2.2vw, 1.45rem)/1.2 var(--disp); font-stretch: 112%; }

/* the space */
.kk-intro { padding: clamp(5rem, 12vw, 8rem) var(--pad) 0; display: grid; gap: 1.2rem; }
.kk-facts { margin-top: 1.2rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); }
.kk-facts div { padding: 0.85rem 0; border-top: 1px solid var(--faint); }
.kk-facts dt { color: var(--muted); }
.kk-facts dd { margin-top: 0.25rem; }
.room { position: relative; height: 320vh; }
.room-stick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; align-content: center; }
.room-track { display: flex; gap: clamp(0.6rem, 1.3vw, 1rem); padding-left: var(--gut); will-change: transform; }
.room-track figure { flex: none; height: min(52vh, 30rem); aspect-ratio: 4 / 3; margin: 0; border-radius: 10px; overflow: hidden; }
.room-track img { width: 100%; height: 100%; object-fit: cover; }

/* voices */
.voices { padding: clamp(5rem, 12vw, 8rem) var(--pad); }
.voices > .label { display: block; margin-bottom: 1.8rem; }
.ss-view { display: grid; }
.ss-slide { grid-area: 1 / 1; opacity: 0; transform: translateX(40px); transition: opacity 0.9s var(--ease), transform 1.1s var(--ease); pointer-events: none; }
.ss-slide.on { opacity: 1; transform: none; pointer-events: auto; }
.ss-slide.out { transform: translateX(-40px); }
.ss-slide blockquote { font: 300 clamp(1.35rem, 3.1vw, 2rem)/1.3 var(--disp); font-stretch: 106%; font-style: italic; }
.ss-slide p { margin-top: 1.4rem; }
.ss-nav { margin-top: 2.2rem; display: flex; align-items: center; gap: 1rem; }
.ss-btn { width: 3rem; height: 3rem; border-radius: 50%; border: 1px solid rgba(54,25,11,0.25); display: grid; place-items: center; transition: background-color 0.3s, color 0.3s; }
.ss-btn:hover { background: var(--ink); color: var(--paper); }
.ss-i { font: 600 0.9rem/1 var(--label); letter-spacing: 0.12em; }
.ss-bar { flex: 1; max-width: 12rem; height: 1px; background: rgba(54,25,11,0.18); overflow: hidden; }
.ss-bar i { display: block; height: 100%; background: var(--ink); transform-origin: left; transform: scaleX(0); }
.ss-bar i.run { animation: grow 7s linear forwards; }
@keyframes grow { to { transform: scaleX(1); } }

/* faq */
.faq { padding: clamp(5rem, 12vw, 8rem) var(--pad); display: grid; gap: 2rem; }
.qa { border-top: 1px solid rgba(54,25,11,0.16); }
.qa:last-child { border-bottom: 1px solid rgba(54,25,11,0.16); }
.qa-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.3rem 0; text-align: left; font: 600 clamp(1.05rem, 1.9vw, 1.3rem)/1.32 var(--disp); font-stretch: 108%; }
.qa-ic { position: relative; flex: none; width: 1rem; height: 1rem; }
.qa-ic i { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: currentColor; transition: transform 0.5s var(--ease); }
.qa-ic i:last-child { transform: rotate(90deg); }
.qa-q[aria-expanded="true"] .qa-ic i:last-child { transform: rotate(0); }
.qa-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.6s var(--ease); }
.qa-a > div { overflow: hidden; }
.qa-a p { padding-bottom: 1.4rem; color: var(--ink-2); }
.qa-q[aria-expanded="true"] + .qa-a { grid-template-rows: 1fr; }

/* contact + footer */
.visit { padding: clamp(5rem, 12vw, 8rem) var(--pad) 3rem; display: grid; gap: 2.8rem; }
.visit .label.acc { display: block; margin-bottom: 0.9rem; }
.visit address { font-style: normal; font: 600 clamp(1.2rem, 2.3vw, 1.55rem)/1.34 var(--disp); font-stretch: 110%; }
.visit ul li { padding: 0.65rem 0; border-top: 1px solid var(--faint); }
.visit ul a { text-decoration: none; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.visit ul a:hover { color: var(--accent); }
.foot { padding: 2rem var(--pad); overflow: hidden; }
.foot-wm { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2rem); }
.foot-wm img { width: min(62vw, 20rem); height: auto; }
.foot-row { margin-top: 2.2rem; padding-top: 1.2rem; border-top: 1px solid var(--faint); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; color: var(--muted); }
.foot-row a { text-decoration: none; }

/* read-more links */
.more { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--accent); padding: 0.35rem 0; border-bottom: 1px solid currentColor; transition: gap 0.4s var(--ease), color 0.3s; }
.more:hover { gap: 1rem; color: var(--cream); }
.light .more { color: var(--accent-deep); }
.light .more:hover { color: var(--ink); }
.btn-row .more { align-self: center; margin-left: 0.6rem; }

/* ---------- inner pages ---------- */
body.inner .nav-top { background: rgba(61, 28, 14, 0.9); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.page { padding-top: clamp(7rem, 14vw, 9rem); }
.t-h1 { font: 600 clamp(2.5rem, 8.4vw, 4.4rem)/1.02 var(--disp); font-stretch: 122%; letter-spacing: -0.01em; margin: 0.9rem 0 1.4rem; text-wrap: balance; }
.t-h1.hand { font-family: var(--hand); font-size: clamp(3.4rem, 12vw, 6rem); font-stretch: 100%; line-height: 0.95; letter-spacing: 0.02em; }
.pg-hero { padding: 0 var(--pad) clamp(2.5rem, 6vw, 3.5rem); }
.pg-hero .t-lede { color: var(--cream); max-width: 38rem; }
.pg-media { margin: 0 var(--pad); aspect-ratio: 16 / 9; overflow: hidden; background: var(--char-3); border-radius: 12px; }
.pg-media img, .pg-media video { width: 100%; height: 100%; object-fit: cover; }
.pg-sec { padding: clamp(4.5rem, 10vw, 7rem) var(--pad) clamp(1rem, 3vw, 2rem); scroll-margin-top: 4.5rem; }
.pg-sec.light { padding-bottom: clamp(4.5rem, 10vw, 7rem); margin-top: clamp(3rem, 7vw, 5rem); }
.pg-sec .t-h2 { margin: 0.8rem 0 1.8rem; }
.prose { display: grid; gap: 1.15rem; }
.prose > p { font-size: clamp(1rem, 1.1vw, 1.0625rem); line-height: 1.74; color: var(--muted); }
.light .prose > p { color: var(--ink-2); }
.prose strong { font-weight: 600; color: var(--cream); }
.light .prose strong { color: var(--ink); }
.pull { margin: 0.8rem 0; padding-left: 1.2rem; border-left: 2px solid var(--accent); font: 300 clamp(1.3rem, 2.6vw, 1.75rem)/1.32 var(--disp); font-stretch: 106%; font-style: italic; color: var(--cream); }
.light .pull { color: var(--ink); border-color: var(--accent-deep); }
.pull cite { display: block; margin-top: 0.8rem; font-style: normal; color: var(--muted); }
.pg-fig { margin: 0.6rem 0 0.8rem; }
.pg-fig img, .pg-fig video { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; background: var(--char-3); border-radius: 10px; }
.pg-fig figcaption { margin-top: 0.7rem; color: var(--muted); }
.pg-list { display: grid; }
.pg-list li { padding: 0.8rem 0 0.8rem 1.4rem; border-top: 1px solid var(--faint); position: relative; color: var(--muted); line-height: 1.55; }
.pg-list li:last-child { border-bottom: 1px solid var(--faint); }
.pg-list li::before { content: ""; position: absolute; left: 0; top: 1.35rem; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--accent); opacity: 0.85; }
.light .pg-list li { color: var(--ink-2); border-color: rgba(54,25,11,0.16); }
.pg-dl { display: grid; }
.pg-dl > div { padding: 1.05rem 0; border-top: 1px solid var(--faint); display: grid; gap: 0.3rem; }
.pg-dl > div:last-child { border-bottom: 1px solid var(--faint); }
.pg-dl dt { font: 600 clamp(1.08rem, 1.9vw, 1.28rem)/1.28 var(--disp); font-stretch: 112%; color: var(--cream); }
.pg-dl dd { color: var(--muted); line-height: 1.62; }
.pg-dl dd + dd { margin-top: 0.2rem; }
.light .pg-dl > div { border-color: rgba(54,25,11,0.16); }
.light .pg-dl dt { color: var(--ink); }
.light .pg-dl dd { color: var(--ink-2); }
.pg-dl .when { font: 600 0.78rem/1.4 var(--label); font-stretch: 112%; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.light .pg-dl .when { color: var(--accent-deep); }
.numbered { counter-reset: n; display: grid; }
.numbered > div { counter-increment: n; display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); gap: 0.2rem 0.6rem; padding: 1.15rem 0; border-top: 1px solid var(--faint); }
.numbered > div:last-child { border-bottom: 1px solid var(--faint); }
.numbered > div::before { content: counter(n); grid-row: span 2; font-family: var(--hand); font-weight: 700; font-size: 2rem; line-height: 1; color: var(--accent); }
.numbered dt { font: 600 clamp(1.08rem, 1.9vw, 1.28rem)/1.28 var(--disp); font-stretch: 112%; }
.numbered dd { color: var(--muted); line-height: 1.62; }
.light .numbered > div { border-color: rgba(54,25,11,0.16); }
.light .numbered > div::before { color: var(--accent-deep); }
.light .numbered dd { color: var(--ink-2); }
.pg-next { padding: clamp(4.5rem, 10vw, 7rem) var(--pad) 1rem; }
.pg-next ul { display: grid; }
.pg-next li a { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 0.3rem 1rem; padding: 1.2rem 0; border-top: 1px solid var(--faint); text-decoration: none; }
.pg-next li:last-child a { border-bottom: 1px solid var(--faint); }
.pg-next li a .label { grid-column: 1; }
.pg-next-t { grid-column: 1; font: 600 clamp(1.3rem, 2.8vw, 1.8rem)/1.15 var(--disp); font-stretch: 115%; transition: transform 0.6s var(--ease), color 0.3s; }
.pg-next li a i { grid-column: 2; grid-row: 1 / span 2; font-style: normal; color: var(--accent); font-size: 1.4rem; transition: transform 0.5s var(--ease); }
.pg-next li a:hover .pg-next-t { transform: translateX(0.5rem); color: var(--accent); }
.pg-next > p { margin-top: 2rem; }
.pg-fig.portrait { max-width: 26rem; }
.pg-fig.portrait img { aspect-ratio: 3 / 4; object-position: 50% 35%; }
.gal { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.6rem; margin-top: 1rem; }
.gal figure { border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 5; position: relative; }
.gal figure.w { grid-column: span 2; aspect-ratio: 16 / 9; }
.gal img { width: 100%; height: 100%; object-fit: cover; }
.gal figcaption { position: absolute; left: 0.8rem; bottom: 0.7rem; right: 0.8rem; text-shadow: 0 1px 10px rgba(0,0,0,0.7); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; }
  html.js [data-a], html.js [data-wipe], html.js .settle, html.js .settle img, html.js .settle video { opacity: 1; transform: none; clip-path: none; }
  html.js .ink .w { opacity: 1; }
}

/* guides */
.gd { margin-top: 1.8rem; display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 1.6rem 1.4rem; }
.gd li { display: grid; gap: 0.9rem; align-content: start; }
.gd-ph { position: relative; display: grid; place-items: center; aspect-ratio: 4 / 5; border-radius: 12px; overflow: hidden; background: var(--char-2) url("../img/mark.webp") center / 38% no-repeat; background-blend-mode: soft-light; }
.gd-ph span { font: 600 2.4rem/1 var(--disp); font-stretch: 125%; color: var(--cream); opacity: 0.9; text-shadow: 0 2px 18px rgba(0,0,0,0.4); }
.gd-n { font: 600 1.2rem/1.2 var(--disp); font-stretch: 112%; }
.gd-o { margin-top: 0.3rem; color: var(--ink-2); line-height: 1.5; }
.gd-ig { display: inline-block; margin-top: 0.55rem; color: var(--accent-deep); text-decoration: none; border-bottom: 1px solid currentColor; text-transform: none; letter-spacing: 0.02em; }
.gd-ig:hover { color: var(--ink); }
.gd-bio:empty { display: none; }
