/* House of Surrender: shared styles. Home is the approved concept D (veil, then breath); inner pages extend it below. */

:root {
  --paper: #FBFAF8;
  --paper-2: #F3F0EC;
  --ink: #1E1714;
  --smoke: #5C4F47;
  --line: rgba(30, 23, 20, .14);
  --night: #110B0A;
  --night-ink: #F2EAE3;
  --night-smoke: #CDBDB1;
  --candle: #F1C79C;
  --lantern: #1F4C8F;          /* the cobalt glass lantern in Brahma Shala */
  --lantern-lift: #A9C1EA;     /* same hue, lifted for use on the photo and on night */
  --focus: var(--lantern);

  --display: "Imbue", "Didot", "Bodoni 72", serif;
  --text: "Ysabeau Office", "Optima", "Candara", "Segoe UI", sans-serif;

  /* wide enough that the gathered veil strips never touch text */
  --pad: clamp(1.5rem, 7.5vw, 7rem);
  --gap: clamp(4.5rem, 12vw, 11rem);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

/* the page itself turns to night while the Threshold is in view */
html.is-dark {
  --paper: #110B0A;
  --paper-2: #1A1210;
  --ink: #F2EAE3;
  --smoke: #CDBDB1;
  --line: rgba(242, 234, 227, .16);
  --focus: var(--lantern-lift);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--paper);
  scrollbar-color: var(--ink) var(--paper);
  scrollbar-width: thin;
  transition: background-color 1.1s var(--ease);
}
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-weight: 420;
  font-size: clamp(1.0625rem, .35vw + 1rem, 1.1875rem);
  line-height: 1.62;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  transition: background-color 1.1s var(--ease), color 1.1s var(--ease);
}

::selection { background: var(--lantern); color: #FBFAF8; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: var(--ink); border-radius: 8px; border: 2px solid var(--paper); }

img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
.unveil { overflow: hidden; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; border-radius: 2px; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 300;
  font-optical-sizing: auto;
  line-height: .95;
  letter-spacing: -.01em;
  margin: 0;
  text-wrap: balance;
}

.visually-hidden, .skip:not(:focus) {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip { position: fixed; top: 1rem; left: 1rem; z-index: 100; background: var(--ink); color: var(--paper); padding: .6rem 1rem; }

/* ---------- buttons ---------- */
.btn {
  --b: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: .7rem 1.4rem;
  font: 600 1rem/1.1 var(--text);
  letter-spacing: .015em;
  text-decoration: none; cursor: pointer; text-align: center;
  border: 1px solid var(--b); border-radius: 999px;
  background: transparent; color: var(--ink);
  transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease);
}
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }
.btn--light { --b: #FBFAF8; background: #FBFAF8; color: #1E1714; }
.btn--light:hover { background: transparent; color: #FBFAF8; }
.btn--ghost { --b: rgba(251, 250, 248, .75); color: #FBFAF8; }
.btn--ghost:hover { background: #FBFAF8; color: #1E1714; }
.btn--candle { --b: var(--candle); background: var(--candle); color: #110B0A; }
.btn--candle:hover { background: transparent; color: var(--candle); }
.btn--candle-line { --b: var(--candle); color: var(--candle); }
.btn--candle-line:hover { background: var(--candle); color: #110B0A; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .9rem var(--pad);
  color: #FBFAF8;
  --dot: var(--lantern-lift);
  --focus: var(--lantern-lift);
  transition: color .6s var(--ease), background-color .6s var(--ease), border-color .6s var(--ease), opacity .6s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-solid {
  color: var(--ink);
  --dot: var(--lantern);
  --focus: var(--lantern);
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  backdrop-filter: blur(14px) saturate(1.1);
  border-color: var(--line);
}
html.is-dark .nav.is-solid { --dot: var(--lantern-lift); --focus: var(--lantern-lift); }
.nav__mark { display: inline-flex; align-items: center; gap: .7rem; min-height: 44px; text-decoration: none; }
.nav__dot {
  width: 9px; height: 9px; border-radius: 50%; flex: none;
  background: var(--dot);
  transition: background-color .6s var(--ease);
  will-change: transform;
}
.nav__name {
  font-family: var(--display); font-weight: 400; font-size: 1.55rem; line-height: 1;
  letter-spacing: .01em; white-space: nowrap;
}
.nav__links { display: none; }
.nav__links a {
  font-weight: 560; font-size: .98rem; letter-spacing: .01em;
  text-decoration: none; padding: .5rem .2rem; position: relative;
}
.nav__links a::after {
  content: ""; position: absolute; left: .2rem; right: .2rem; bottom: .3rem; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ease);
}
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__links .nav__cta { border: 1px solid currentColor; border-radius: 999px; padding: .45rem 1.1rem; }
.nav__links .nav__cta::after { display: none; }

.nav__toggle {
  display: inline-flex; align-items: center; gap: .7rem; min-height: 44px;
  background: none; border: 0; color: inherit; cursor: pointer;
  font: 600 1rem/1 var(--text); letter-spacing: .02em;
}
.nav__toggle-lines { display: grid; gap: 6px; width: 26px; }
.nav__toggle-lines i { display: block; height: 1px; background: currentColor; transition: transform .5s var(--ease); }
.nav__toggle[aria-expanded="true"] .nav__toggle-lines i:first-child { transform: translateY(3.5px) rotate(20deg); }
.nav__toggle[aria-expanded="true"] .nav__toggle-lines i:last-child { transform: translateY(-3.5px) rotate(-20deg); }

.sheet {
  position: fixed; inset: 0; z-index: 45;
  background: var(--paper); color: var(--ink);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 6rem var(--pad) 2.5rem;
}
.sheet[hidden] { display: none; }
.sheet nav { display: grid; gap: .2rem; }
.sheet nav a {
  font-family: var(--display); font-weight: 300; font-size: clamp(2.8rem, 13vw, 4.5rem); line-height: 1.02;
  text-decoration: none;
}
.sheet__foot { margin: 2.5rem 0 0; color: var(--smoke); }

@media (min-width: 960px) {
  .nav__links { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
  .nav__toggle { display: none; }
  .sheet { display: none !important; }
}

/* ---------- hero ---------- */
.hero {
  position: relative; height: 100svh; min-height: 600px; overflow: hidden;
  background: #2A201B; color: #FBFAF8;
  --focus: var(--lantern-lift);
}
.hero__media, .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__img { object-fit: cover; object-position: 50% 45%; will-change: transform; }
.hero__blur { object-fit: cover; filter: blur(28px) saturate(.8) brightness(1.25); transform: scale(1.15); opacity: 0; }
/* heavier than A's: the breathing word sits higher on the photo, over the drapes */
.hero__scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to top, rgba(20, 14, 12, .88) 0%, rgba(20, 14, 12, .7) 26%, rgba(20, 14, 12, .4) 50%, rgba(20, 14, 12, .1) 66%, rgba(20, 14, 12, 0) 76%),
    linear-gradient(to bottom, rgba(20, 14, 12, .45), rgba(20, 14, 12, 0) 22%);
}
@media (max-width: 959px) {
  .hero__scrim {
    background:
      linear-gradient(to top, rgba(20, 14, 12, .92) 0%, rgba(20, 14, 12, .74) 45%, rgba(20, 14, 12, .3) 66%, rgba(20, 14, 12, 0) 80%),
      linear-gradient(to bottom, rgba(20, 14, 12, .45), rgba(20, 14, 12, 0) 22%);
  }
}

/* the veil: only exists when motion is allowed */
.veil { display: none; }
.motion .veil { display: block; position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.motion .hero__blur { opacity: 1; }
.motion .hero__copy, .motion .nav { opacity: 0; }
.veil__side { position: absolute; inset: 0; will-change: transform; }
.veil__panel {
  position: absolute; top: -2%; bottom: -2%; width: 17.5%;
  background:
    linear-gradient(90deg,
      rgba(251, 250, 248, .96) 0%,
      rgba(238, 233, 227, .78) 18%,
      rgba(251, 250, 248, .94) 42%,
      rgba(244, 240, 235, .82) 66%,
      rgba(251, 250, 248, .97) 100%);
  box-shadow: 6px 0 30px rgba(30, 23, 20, .06);
  will-change: transform;
}
.veil__side--l .veil__panel:nth-child(1) { left: 0; }
.veil__side--l .veil__panel:nth-child(2) { left: 11%; }
.veil__side--l .veil__panel:nth-child(3) { left: 22%; }
.veil__side--l .veil__panel:nth-child(4) { left: 33%; width: 18.5%; }
.veil__side--r .veil__panel:nth-child(1) { left: 48.5%; width: 18.5%; }
.veil__side--r .veil__panel:nth-child(2) { left: 60.5%; }
.veil__side--r .veil__panel:nth-child(3) { left: 71.5%; }
.veil__side--r .veil__panel:nth-child(4) { left: 82.5%; }
.veil__side--r .veil__panel { box-shadow: -6px 0 30px rgba(30, 23, 20, .06); }

.hero__copy {
  position: absolute; z-index: 4; inset: auto 0 0 0;
  padding: 0 var(--pad) clamp(1.5rem, 4.5vh, 3rem);
}
.hero__title {
  display: flex; flex-direction: column;
  font-weight: 300; line-height: 1; letter-spacing: 0;
  text-wrap: nowrap;
}
.mask { display: block; overflow: hidden; }
.hero.is-open .mask, html:not(.motion) .mask { overflow: visible; }
.hero__line { display: block; }
.mask--pre { padding-bottom: .1em; }
.hero__pre {
  font-family: var(--text);
  font-style: italic;
  font-weight: 460;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  line-height: 1.1;
  color: rgba(251, 250, 248, .92);
}
/* padding on the mask keeps the ascenders inside it while it is clipped */
.mask--word { padding-top: calc(var(--word-size, 20vw) * .1); margin-top: calc(var(--word-size, 20vw) * -.06); }
.hero__word {
  --w: 380;
  --ls: .01em;
  display: block;
  font-family: var(--display);
  font-size: var(--word-size, min(21vw, 30svh));
  line-height: .84;
  font-variation-settings: "wght" var(--w), "opsz" 100;
  letter-spacing: var(--ls);
  padding-left: var(--ls); /* keeps the optical centre when letter-spacing opens */
  white-space: nowrap;
  text-align: center;
  color: #FBFAF8;
  transform-origin: 50% 70%;
  will-change: transform;
}
.motion .hero__word { --w: 210; --ls: -.01em; }

.hero__foot {
  display: grid; gap: 1.25rem;
  margin-top: clamp(1.1rem, 3vh, 2rem);
  padding-top: 1.1rem;
  border-top: 1px solid rgba(251, 250, 248, .26);
}

/* the breath cue: a thin lantern line that fills, the phase word, one invitation */
.breath {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: .45rem .9rem; margin: 0;
  font-style: italic; font-weight: 440; font-size: 1rem; line-height: 1.45;
  color: rgba(251, 250, 248, .88);
  max-width: 30rem;
}
.breath__meter {
  position: relative; flex: none;
  width: 5.5rem; height: 2px;
  background: rgba(251, 250, 248, .24);
  overflow: hidden;
}
.breath__fill {
  position: absolute; inset: 0;
  background: var(--lantern-lift);
  transform-origin: 0 50%;
  transform: scaleX(1);
  will-change: transform;
}
.motion .breath__fill { transform: scaleX(0); }
.breath__cue {
  font-family: var(--display); font-style: normal;
  font-variation-settings: "wght" 460, "opsz" 24;
  font-size: 1.2rem; line-height: 1;
  color: var(--lantern-lift);
  min-width: 3.2ch;
}
.breath__cue:empty { display: none; }
.breath__text { flex-basis: 100%; }

.hero__lede { max-width: 36ch; text-wrap: pretty; font-size: 1.1rem; font-weight: 450; line-height: 1.5; margin-bottom: 1.1rem; color: rgba(251, 250, 248, .94); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .65rem; }

@media (max-width: 959px) {
  .hero__actions .btn { padding-inline: 1.15rem; }
}
@media (max-width: 399px) {
  .hero__lede { font-size: 1.02rem; }
  .hero__actions .btn { font-size: .95rem; }
}
@media (min-width: 960px) {
  .hero__foot { grid-template-columns: 1fr minmax(0, 30rem); align-items: end; gap: 3rem; }
  .breath__text { flex-basis: auto; }
  .hero__lede { margin-bottom: 1.25rem; }
}

/* ---------- house ---------- */
.house {
  padding: var(--gap) var(--pad);
  display: grid; gap: 3rem;
}
.house__title {
  font-size: clamp(2.6rem, 8.5vw, 6rem);
  max-width: 13ch;
  margin-bottom: 2.5rem;
}
.house__body { max-width: 36rem; }
.house__body p:first-child { font-size: 1.2em; font-weight: 380; line-height: 1.5; }
.house__body p:last-child { color: var(--smoke); font-style: italic; }
.house__figure { width: min(78%, 22rem); justify-self: end; }
.house__figure img { aspect-ratio: 3 / 4.4; object-fit: cover; }

@media (min-width: 960px) {
  .house { grid-template-columns: 1.5fr 1fr; align-items: end; column-gap: 6vw; }
  .house__body { margin-left: 18%; }
  .house__figure { width: 100%; max-width: 26rem; transform: translateY(12%); }
}

/* ---------- marquee ---------- */
.marquee {
  border-block: 1px solid var(--line);
  padding: clamp(.8rem, 1.6vw, 1.5rem) 0;
  margin-top: clamp(2rem, 6vw, 5rem);
  overflow: hidden;
}
.marquee__track {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 0 clamp(1.25rem, 3vw, 3rem);
  padding-inline: var(--pad);
}
.marquee.is-running .marquee__track {
  flex-wrap: nowrap; width: max-content; justify-content: flex-start;
  padding-inline: 0; gap: 0; will-change: transform;
}
.marquee.is-running .marquee__track > * { flex: none; margin-right: clamp(1.25rem, 3vw, 3rem); }
.marquee span {
  font-family: var(--display);
  font-size: clamp(3rem, 9vw, 8.5rem);
  line-height: 1.05;
  font-variation-settings: "wght" 160, "opsz" 100;
  white-space: nowrap;
}
.marquee span:nth-of-type(3n + 2) { font-variation-settings: "wght" 540, "opsz" 100; }
.marquee i { width: .5rem; height: .5rem; border-radius: 50%; border: 1px solid var(--ink); flex: none; }

/* ---------- spaces (home) ---------- */
.rooms { padding: var(--gap) 0 0; }
.rooms__head { padding: 0 var(--pad) clamp(2.5rem, 6vw, 4.5rem); }
.rooms__title { font-size: clamp(2.4rem, 7vw, 5.4rem); max-width: 16ch; margin-left: auto; text-align: right; }
.rooms__index { display: none; }

.room { padding: 0 0 clamp(3.5rem, 9vw, 6rem); }
.room__figure { overflow: hidden; }
.room__figure img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.room__caption { padding: 1.75rem var(--pad) 0; max-width: 40rem; }
.room__name { font-size: clamp(2.8rem, 12vw, 5rem); margin-bottom: .6rem; }
.room__meta { font-weight: 600; letter-spacing: .01em; color: var(--smoke); margin-bottom: .9rem; }
.room:nth-child(odd) .room__caption { margin-left: auto; }

@media (min-width: 640px) {
  .room__figure img { aspect-ratio: 16 / 10; }
}

/* pinned layout, applied by JS on wide screens with motion */
.rooms.is-pinned .rooms__stage { position: relative; height: 100vh; overflow: hidden; }
.rooms.is-pinned .room { position: absolute; inset: 0; padding: 0; }
.rooms.is-pinned .room__figure { position: absolute; inset: 0; }
.rooms.is-pinned .room__figure img { height: 100%; aspect-ratio: auto; }
.rooms.is-pinned .room__caption {
  position: absolute; left: var(--pad); bottom: clamp(2rem, 6vh, 4rem); margin: 0;
  width: min(30rem, 40vw); padding: 2rem 2.2rem 1.4rem;
  background: rgba(251, 250, 248, .86); color: #1E1714;
  -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: 0 20px 60px rgba(30, 23, 20, .18);
}
.rooms.is-pinned .room__caption .room__meta { color: #5C4F47; }
.rooms.is-pinned .room__name { font-size: clamp(3rem, 5vw, 4.6rem); }
.rooms.is-pinned .rooms__index {
  display: grid; gap: .35rem; position: absolute; z-index: 5; right: var(--pad); bottom: clamp(2rem, 6vh, 4rem);
  list-style: none; margin: 0; padding: 0; color: #FBFAF8; text-align: right;
  font-family: var(--display); font-size: 1.6rem; line-height: 1.1;
  text-shadow: 0 1px 18px rgba(20, 14, 12, .55);
}
.rooms__index li { opacity: .5; transition: opacity .6s var(--ease), transform .6s var(--ease); }
.rooms__index li.is-active { opacity: 1; transform: translateX(-.4rem); }

/* ---------- the work (C's editorial photographs) ---------- */
.work { padding: var(--gap) var(--pad) calc(var(--gap) * .6); }
.work__title { font-size: clamp(2.4rem, 6vw, 5rem); margin-bottom: clamp(2.5rem, 7vw, 6rem); max-width: 12ch; }
.work__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem) clamp(.75rem, 1.5vw, 1.5rem);
  align-items: start;
}
.ph { margin: 0; overflow: hidden; }
.ph__clip { overflow: hidden; height: 100%; }
.ph__clip img { width: 100%; height: 118%; object-fit: cover; transform: translateY(-7.5%); }
.ph--a { grid-column: 1 / 13; aspect-ratio: 3 / 2; }
.ph--b { grid-column: 5 / 13; aspect-ratio: 2 / 3; }
.ph--b img { object-position: 38% 50%; }
.ph--c { grid-column: 1 / 11; aspect-ratio: 3 / 2; }
.ph--d { grid-column: 5 / 13; aspect-ratio: 4 / 5; }
.work__line {
  font-family: var(--display);
  font-size: clamp(2.1rem, 4.6vw, 4.4rem);
  line-height: 1;
  font-variation-settings: "wght" 260, "opsz" 80;
  margin: 0;
  grid-column: 1 / 13;
}
.work__cap { margin: clamp(2rem, 4vw, 3rem) 0 0; font-style: italic; font-size: .95rem; color: var(--smoke); max-width: 48ch; }
@media (min-width: 768px) {
  .ph--a { grid-column: 1 / 8; grid-row: 1; }
  .work__line--1 { grid-column: 9 / 13; grid-row: 1; align-self: end; padding-bottom: .5rem; }
  .ph--b { grid-column: 9 / 12; grid-row: 2; }
  .work__line--2 { grid-column: 2 / 8; grid-row: 2; align-self: center; }
  .ph--c { grid-column: 3 / 9; grid-row: 3; }
  .ph--d { grid-column: 10 / 13; grid-row: 3; margin-top: 8rem; }
  .work__line--3 { grid-column: 1 / 8; grid-row: 4; }
}
@media (min-width: 960px) {
  .work__cap { margin-left: calc(100% / 12 * 9); max-width: 26ch; margin-top: -4rem; }
}

/* ---------- grounds ---------- */
.grounds {
  padding: var(--gap) var(--pad);
  display: grid; gap: 2rem;
  grid-template-columns: repeat(6, 1fr);
}
.grounds figure img { width: 100%; object-fit: cover; }
.grounds__a { grid-column: 1 / -1; }
.grounds__a img { aspect-ratio: 4 / 3; }
.grounds__text { grid-column: 1 / -1; }
.grounds__title { font-size: clamp(2.4rem, 8vw, 4.6rem); margin-bottom: 1.2rem; }
.grounds__text p { max-width: 34rem; }
.grounds__b { grid-column: 2 / -1; }
.grounds__b img { aspect-ratio: 16 / 10; }
.grounds__c { grid-column: 1 / 4; margin-top: -4rem; position: relative; }
.grounds__c img { aspect-ratio: 3 / 4; border: 8px solid var(--paper); transition: border-color 1.1s var(--ease); }

@media (min-width: 960px) {
  .grounds { grid-template-columns: repeat(12, 1fr); column-gap: 1.5rem; row-gap: 0; }
  .grounds__a { grid-column: 1 / 9; grid-row: 1 / 3; }
  .grounds__a img { aspect-ratio: 16 / 11; }
  .grounds__text { grid-column: 9 / 13; grid-row: 1; align-self: end; padding-left: 1rem; }
  .grounds__b { grid-column: 7 / 13; grid-row: 3; margin-top: 4rem; }
  .grounds__c { grid-column: 3 / 6; grid-row: 3; margin-top: -6rem; }
}

/* ---------- gatherings ---------- */
.gatherings { padding: clamp(2rem, 6vw, 5rem) var(--pad) var(--gap); position: relative; }
.gatherings__head { display: grid; gap: 1.25rem; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.gatherings__title { font-size: clamp(3.4rem, 15vw, 9rem); line-height: .85; }
.gatherings__head p { max-width: 30rem; color: var(--smoke); margin: 0; }
@media (min-width: 960px) {
  .gatherings__head { grid-template-columns: 1fr 22rem; align-items: end; }
}

.ledger { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ledger__row {
  display: grid; gap: .75rem 2rem; padding: 2rem 0 2.2rem;
  border-bottom: 1px solid var(--line);
  grid-template-columns: 1fr;
}
.ledger__when { margin: 0; font-weight: 600; letter-spacing: .01em; color: var(--smoke); font-variant-numeric: lining-nums tabular-nums; line-height: 1.35; }
.ledger__name { font-size: clamp(2.2rem, 8vw, 4.2rem); line-height: .95; margin-bottom: .7rem; transition: transform .8s var(--ease); }
.ledger__what p { margin: 0; max-width: 34rem; }
.ledger__thumb { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; order: -1; }
.ledger__cta { justify-self: start; margin-top: .5rem; }
.gatherings__note { margin: 2rem 0 0; color: var(--smoke); font-style: italic; }
.ledger__float { display: none; }

@media (min-width: 960px) {
  .ledger__row { grid-template-columns: 13rem 1fr auto; align-items: baseline; padding: 2.6rem 0; }
  .ledger__thumb { display: none; }
  .ledger__row:hover .ledger__name { transform: translateX(1rem); }
  .ledger__cta { align-self: center; margin: 0; }
}
@media (min-width: 960px) and (hover: hover) and (pointer: fine) {
  .ledger__float {
    display: block; position: fixed; left: 0; top: 0; z-index: 30; pointer-events: none;
    width: 22rem; aspect-ratio: 4 / 3; overflow: hidden;
    opacity: 0; clip-path: inset(100% 0 0 0);
    box-shadow: 0 24px 60px rgba(30, 23, 20, .22);
  }
  .ledger__float img { width: 100%; height: 100%; object-fit: cover; }
}

/* ---------- host ---------- */
.host { padding: var(--gap) 0; display: grid; gap: 3rem; }
.host__figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.host__body { padding: 0 var(--pad); max-width: 46rem; }
.host__title { font-size: clamp(2.8rem, 10vw, 5.6rem); margin-bottom: 1.6rem; }
.host__lede { font-size: 1.2em; font-weight: 380; line-height: 1.5; margin-bottom: 2.5rem; }

.terms { margin: 0 0 3rem; border-top: 1px solid var(--line); }
.terms > div { display: grid; gap: .25rem 2rem; padding: 1.15rem 0; border-bottom: 1px solid var(--line); }
.terms dt { font-family: var(--display); font-size: 1.9rem; line-height: 1; }
.terms dd { margin: 0; color: var(--smoke); }
@media (min-width: 640px) {
  .terms > div { grid-template-columns: 13rem 1fr; align-items: baseline; }
}

.cap { width: 100%; border-collapse: collapse; margin: 0 0 2.5rem; font-variant-numeric: lining-nums tabular-nums; }
.cap caption { text-align: left; font-family: var(--display); font-size: 1.9rem; line-height: 1; padding-bottom: .9rem; }
.cap th, .cap td { text-align: left; padding: .7rem .5rem .7rem 0; border-bottom: 1px solid var(--line); font-weight: 420; }
.cap thead th { font-weight: 600; letter-spacing: .01em; color: var(--smoke); }
.cap td:last-child, .cap th:last-child { text-align: right; padding-right: 0; }
.cap td { color: var(--smoke); }
.cap td:last-child { color: var(--ink); }

.host__notes { list-style: none; padding: 0; margin: 0 0 2.5rem; display: grid; gap: .9rem; }
.host__notes li { padding-left: 1.6rem; position: relative; }
.host__notes li::before { content: ""; position: absolute; left: .2rem; top: .7em; width: 5px; height: 5px; border-radius: 50%; border: 1px solid var(--ink); }

@media (min-width: 960px) {
  .host { grid-template-columns: 1.05fr 1fr; align-items: start; column-gap: 5vw; padding-right: var(--pad); }
  .host__figure { position: sticky; top: 0; height: 100vh; }
  .host__figure img { height: 100%; aspect-ratio: auto; }
  .host__body { padding: 12vh 0 0; }
}

/* ---------- threshold ---------- */
.threshold {
  position: relative; isolation: isolate;
  background: var(--night); color: var(--night-ink);
  padding: var(--gap) var(--pad);
  display: grid; gap: 3rem;
  overflow: hidden;
  --focus: var(--candle);
}
.threshold ::selection { background: var(--lantern); color: #FBFAF8; }
html.is-dark .threshold { background: transparent; }
.threshold__glow {
  position: absolute; z-index: -1; left: 50%; top: 40%; width: 120vmax; height: 120vmax;
  translate: -50% -50%;
  background: radial-gradient(closest-side, rgba(168, 38, 24, .30), rgba(120, 22, 14, .12) 45%, rgba(17, 11, 10, 0) 70%);
  pointer-events: none;
}
.threshold__title { font-size: clamp(3.4rem, 15vw, 8.4rem); line-height: .86; margin-bottom: 2rem; }
.threshold__text { max-width: 34rem; position: relative; z-index: 2; }
.threshold__text p { color: var(--night-smoke); }
.threshold__lede { font-size: 1.3em; font-weight: 380; line-height: 1.45; color: var(--night-ink) !important; }
.threshold__actions { margin: 2.2rem 0 2.8rem; }

.threshold__figure { position: relative; overflow: hidden; max-width: 30rem; width: 88%; justify-self: end; }
.threshold__figure img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; }
.dveil { display: none; }
.motion .dveil { display: block; position: absolute; inset: 0; pointer-events: none; }
.dveil span {
  position: absolute; top: -2%; bottom: -2%; width: 24%;
  background: linear-gradient(90deg, rgba(17, 11, 10, .97), rgba(40, 14, 11, .88) 35%, rgba(17, 11, 10, .95) 70%, rgba(30, 12, 10, .9));
}
.dveil span:nth-child(1) { left: 0; }
.dveil span:nth-child(2) { left: 19%; }
.dveil span:nth-child(3) { left: 38%; }
.dveil span:nth-child(4) { left: 57%; }
.dveil span:nth-child(5) { left: 76%; }
.threshold__small { width: 62%; max-width: 20rem; margin-top: -6rem; position: relative; z-index: 3; }
.threshold__small img { aspect-ratio: 4 / 5; object-fit: cover; object-position: 60% 50%; }

@media (min-width: 960px) {
  .threshold { grid-template-columns: 1fr 1fr; column-gap: 6vw; align-items: center; min-height: 100vh; }
  .threshold__text { grid-column: 1; grid-row: 1 / 3; }
  .threshold__figure { grid-column: 2; grid-row: 1; width: 100%; justify-self: center; }
  .threshold__small { grid-column: 2; grid-row: 2; justify-self: start; margin: -10rem 0 0 -8vw; width: 16rem; }
}

/* ---------- enquire: C's closing breath over A's form ---------- */
.enquire { padding: var(--gap) var(--pad); display: grid; gap: 3rem; }
.enquire__title {
  --w: 220;
  font-size: clamp(3.6rem, 13.5vw, 13rem);
  line-height: .86;
  font-variation-settings: "wght" var(--w), "opsz" 100;
  letter-spacing: -.01em;
}
.enquire__lede { font-size: 1.35em; font-weight: 380; line-height: 1.4; color: var(--ink) !important; }
.enquire__intro p { max-width: 30rem; color: var(--smoke); }
.enquire__mail {
  display: inline-block; margin-top: 1rem;
  font-family: var(--display); font-weight: 300; font-size: clamp(1.6rem, 6.4vw, 3rem); line-height: 1.1;
  text-decoration-color: var(--lantern); text-decoration-thickness: 2px; text-underline-offset: .18em;
  overflow-wrap: anywhere;
}
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 1.25rem; align-content: start; max-width: 40rem; }
.field { grid-column: 1 / -1; display: grid; gap: .35rem; }
.field--half { grid-column: span 1; }
.field label { font-weight: 600; letter-spacing: .01em; color: var(--smoke); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .55rem 0;
  font: 420 1.1rem/1.4 var(--text); color: var(--ink);
  background: transparent; border: 0; border-bottom: 1px solid rgba(30, 23, 20, .32); border-radius: 0;
  caret-color: var(--lantern);
  -webkit-appearance: none; appearance: none;
  transition: border-color .4s var(--ease);
}
html.is-dark .field input, html.is-dark .field select, html.is-dark .field textarea { border-bottom-color: rgba(242, 234, 227, .4); }
.field select {
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55%;
  background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2rem;
}
.field select option { color: #1E1714; background: #FBFAF8; }
.field textarea { resize: vertical; min-height: 7rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--lantern); box-shadow: 0 1px 0 var(--lantern); }
.field input::placeholder { color: #7D6F66; }
.field input:user-invalid { border-bottom-color: #9B2C1F; }
.form .btn { grid-column: 1 / -1; justify-self: start; margin-top: .5rem; }
.form__msg { grid-column: 1 / -1; min-height: 1.6em; margin: 0; font-style: italic; color: var(--smoke); }

@media (min-width: 960px) {
  .enquire { grid-template-columns: 1fr 1fr; column-gap: 6vw; row-gap: 4rem; }
  .enquire__title { grid-column: 1 / -1; }
}

/* ---------- footer ---------- */
.foot { padding: 0 var(--pad) 2.5rem; }
.foot__figure img { width: 100%; aspect-ratio: 16 / 7; object-fit: cover; }
.foot__cols { display: grid; gap: 1.6rem; padding-top: 2.5rem; border-top: 1px solid var(--line); margin-top: 2.5rem; }
.foot__mark { font-family: var(--display); font-size: 2.4rem; line-height: 1; margin: 0; }
.foot address { font-style: normal; color: var(--smoke); }
.foot nav { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; }
.foot nav a { text-decoration: none; font-weight: 560; padding: .4rem 0; }
.foot nav a:hover { text-decoration: underline; }
.foot__small { color: var(--smoke); font-size: .95rem; margin: 0; }
@media (min-width: 960px) {
  .foot__cols { grid-template-columns: 1.4fr 1fr 1.2fr 1fr; align-items: start; }
}

/* ---------- grain ---------- */
.grain {
  position: fixed; inset: 0; z-index: 60; pointer-events: none;
  opacity: .07; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.12 0 0 0 0 0.09 0 0 0 0 0.08 0 0 0 1 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
html.is-dark .grain { mix-blend-mode: screen; opacity: .05; }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: .01ms !important; /* 0s, not .01ms: a tiny transition makes the fit measurement read stale values */ }
  html { scroll-behavior: auto; }
}

/* =====================================================================
   INNER PAGES
   Same world as home: paper, timber ink, Imbue + Ysabeau, veils and breath.
   ===================================================================== */

/* current page in the nav */
.nav__links a[aria-current="page"]:not(.nav__cta)::after { transform: scaleX(1); }
.sheet nav a[aria-current="page"] { font-style: italic; }

/* ---------- page hero: a single photo, a shorter veil, a title that breathes ---------- */
.phero {
  position: relative; overflow: hidden;
  height: clamp(34rem, 84svh, 58rem);
  background: #2A201B; color: #FBFAF8;
  --focus: var(--lantern-lift);
}
.phero__media { position: absolute; inset: 0; }
.phero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.phero__scrim {
  position: absolute; inset: 0; pointer-events: none; z-index: 2;
  background:
    linear-gradient(to top, rgba(20, 14, 12, .86) 0%, rgba(20, 14, 12, .55) 30%, rgba(20, 14, 12, .12) 58%, rgba(20, 14, 12, 0) 70%),
    linear-gradient(to bottom, rgba(20, 14, 12, .45), rgba(20, 14, 12, 0) 24%);
}
.phero .veil__panel { top: -4%; bottom: -4%; }
.phero__copy {
  position: absolute; z-index: 4; inset: auto 0 0 0;
  padding: 0 var(--pad) clamp(2rem, 6vh, 3.75rem);
  display: grid; gap: 1.4rem;
}
.phero__title {
  --w: 330;
  font-size: clamp(3.6rem, 12.5vw, 9.5rem);
  line-height: .9;
  font-variation-settings: "wght" var(--w), "opsz" 100;
  letter-spacing: -.01em;
  color: #FBFAF8;
  text-wrap: balance;
}
.phero__title .mask { padding-bottom: .06em; margin-bottom: -.06em; }
.phero.is-open .mask, html:not(.motion) .phero .mask { overflow: visible; }
.phero__line { display: block; }
.phero__foot {
  display: grid; gap: 1rem;
  padding-top: 1.1rem; border-top: 1px solid rgba(251, 250, 248, .26);
}
.phero__lede { margin: 0; max-width: 38ch; font-size: 1.12rem; font-weight: 450; line-height: 1.5; color: rgba(251, 250, 248, .94); }
.phero__crumb { margin: 0; font-style: italic; font-weight: 440; font-size: 1rem; color: rgba(251, 250, 248, .82); }
.phero__crumb a { text-decoration: none; }
.phero__crumb a:hover { text-decoration: underline; }
.motion .phero__copy { opacity: 0; }
@media (min-width: 960px) {
  .phero__foot { grid-template-columns: 1fr minmax(0, 30rem); align-items: end; gap: 3rem; }
  .phero__lede { grid-column: 2; }
  .phero__crumb { grid-column: 1; grid-row: 1; align-self: end; }
}

/* the Threshold's hero hangs a dark veil instead of a white one */
.phero--night { background: #110B0A; }
.phero--night .veil__panel {
  background: linear-gradient(90deg, rgba(17, 11, 10, .97), rgba(40, 14, 11, .9) 35%, rgba(17, 11, 10, .95) 70%, rgba(30, 12, 10, .92));
  box-shadow: none;
}
.phero--night .phero__scrim {
  background:
    linear-gradient(to top, rgba(17, 11, 10, .95) 0%, rgba(17, 11, 10, .6) 36%, rgba(17, 11, 10, .15) 64%, rgba(17, 11, 10, .1) 100%),
    linear-gradient(to bottom, rgba(17, 11, 10, .55), rgba(17, 11, 10, 0) 26%);
}

/* ---------- a statement opening each page ---------- */
.lead { padding: var(--gap) var(--pad) calc(var(--gap) * .7); display: grid; gap: 2rem; }
.lead__title { font-size: clamp(2.6rem, 7.5vw, 5.8rem); max-width: 14ch; }
.lead__body { max-width: 36rem; }
.lead__body p:first-child { font-size: 1.2em; font-weight: 380; line-height: 1.5; }
.lead__body p { color: var(--ink); }
.lead__body p + p { color: var(--smoke); }
@media (min-width: 960px) {
  .lead { grid-template-columns: 1.3fr 1fr; column-gap: 6vw; align-items: end; }
  .lead__body { padding-bottom: .6rem; }
}

/* ---------- in-page index (spaces, faq) ---------- */
.jump {
  margin: 0 var(--pad); border-block: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: .2rem clamp(1.25rem, 3vw, 2.75rem);
  padding: .9rem 0;
}
.jump a {
  font-family: var(--display); font-size: clamp(1.35rem, 2.4vw, 1.9rem); line-height: 1.2;
  text-decoration: none; padding: .35rem 0; min-height: 44px; display: inline-flex; align-items: center;
  font-variation-settings: "wght" 300, "opsz" 40;
  transition: font-variation-settings .6s var(--ease);
}
.jump a:hover, .jump a:focus-visible { font-variation-settings: "wght" 560, "opsz" 40; }

/* ---------- spaces page: one full section per space ---------- */
.rsec {
  padding: var(--gap) var(--pad) 0;
  display: grid; gap: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  scroll-margin-top: 4rem;
}
.rsec img { width: 100%; height: 100%; object-fit: cover; }
.rsec__main { grid-column: 1 / -1; aspect-ratio: 4 / 3; }
.rsec__text { grid-column: 1 / -1; padding: 1rem 0 1.5rem; }
.rsec__b, .rsec__c { aspect-ratio: 4 / 5; }
.rsec__name { font-size: clamp(3.2rem, 10vw, 7rem); line-height: .9; margin-bottom: 1.6rem; }
.rsec__text p { max-width: 34rem; }
.rsec__text p:first-of-type { font-size: 1.15em; font-weight: 380; line-height: 1.5; }
.rsec__text p.rsec__note { color: var(--smoke); font-style: italic; }

.facts { margin: 0 0 1.75rem; display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.facts div { min-width: 7rem; }
.facts dt { font-weight: 600; letter-spacing: .01em; color: var(--smoke); font-size: .95rem; }
.facts dd { margin: 0; font-family: var(--display); font-size: 1.7rem; line-height: 1.1; font-variant-numeric: lining-nums; }

@media (min-width: 960px) {
  .rsec { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; row-gap: 0; }
  .rsec__main { grid-column: 1 / 9; grid-row: 1 / 3; aspect-ratio: 16 / 11; }
  .rsec__text { grid-column: 9 / 13; grid-row: 1; align-self: end; padding: 0 0 2rem 1rem; }
  .rsec__b { grid-column: 9 / 12; grid-row: 2; align-self: start; aspect-ratio: 4 / 5; margin-left: 1rem; }
  .rsec__c { grid-column: 3 / 8; grid-row: 3; aspect-ratio: 3 / 2; margin-top: -3rem; position: relative; }
  .rsec__c img { border: 8px solid var(--paper); }

  /* mirrored: the space on the right */
  .rsec--flip .rsec__main { grid-column: 5 / 13; }
  .rsec--flip .rsec__text { grid-column: 1 / 5; padding: 0 1rem 2rem 0; }
  .rsec--flip .rsec__b { grid-column: 2 / 5; margin: 0 1rem 0 0; }
  .rsec--flip .rsec__c { grid-column: 7 / 12; }

  /* Shivatri: text first, a wide frame beneath */
  .rsec--wide .rsec__text { grid-column: 1 / 6; grid-row: 1; align-self: start; padding: 0 0 3rem; }
  .rsec--wide .rsec__b { grid-column: 7 / 13; grid-row: 1; margin: 0; aspect-ratio: 16 / 10; }
  .rsec--wide .rsec__main { grid-column: 1 / 13; grid-row: 2; aspect-ratio: 21 / 9; margin-top: 1.5rem; }
  .rsec--wide .rsec__c { grid-column: 8 / 12; grid-row: 3; margin-top: -5rem; aspect-ratio: 4 / 3; }
}

/* ---------- the grounds ---------- */
.estate { padding: var(--gap) var(--pad) 0; scroll-margin-top: 4rem; }
.estate__head { display: grid; gap: 1.5rem; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.estate__title { font-size: clamp(3.2rem, 11vw, 8rem); line-height: .88; }
.estate__head p { max-width: 30rem; color: var(--smoke); margin: 0; }
.estate__wide { aspect-ratio: 4 / 3; overflow: hidden; margin: 0 calc(var(--pad) * -1); }
.estate__wide .ph__clip img, .estate__wide > img { width: 100%; height: 118%; object-fit: cover; }
.estate__grid { display: grid; gap: 3rem; margin-top: clamp(3rem, 7vw, 5rem); }
.estate__grid .terms { margin: 0; }
.estate__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; align-items: start; }
.estate__pair img { width: 100%; object-fit: cover; aspect-ratio: 3 / 4; }
.estate__pair figure:last-child { margin-top: 3rem; }
@media (min-width: 960px) {
  .estate__head { grid-template-columns: 1fr 24rem; align-items: end; }
  .estate__wide { aspect-ratio: 21 / 9; }
  .estate__grid { grid-template-columns: 1.1fr 1fr; column-gap: 6vw; align-items: start; }
}

/* terms, when used outside home's host section */
.terms dt { text-wrap: balance; }

/* ---------- capacity block ---------- */
.capsec { padding: var(--gap) var(--pad); display: grid; gap: 2.5rem; scroll-margin-top: 4rem; }
.capsec__title { font-size: clamp(2.6rem, 7vw, 5.4rem); }
.capsec .cap { margin: 0; }
.capsec .cap caption { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.capsec__side p { color: var(--smoke); max-width: 30rem; }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.75rem; }
@media (min-width: 960px) {
  .capsec { grid-template-columns: 1fr 1.2fr; column-gap: 6vw; align-items: start; }
  .capsec .cap td, .capsec .cap th { padding-block: 1rem; }
  .capsec .cap tbody th { font-family: var(--display); font-size: 1.6rem; line-height: 1.1; }
}

/* ---------- gatherings page ---------- */
.event {
  padding: var(--gap) var(--pad) 0;
  display: grid; gap: 2rem;
  scroll-margin-top: 4rem;
}
.event__figure img { width: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.event__when {
  margin: 0 0 1rem; font-weight: 600; letter-spacing: .01em; color: var(--smoke);
  font-variant-numeric: lining-nums tabular-nums;
}
.event__name { font-size: clamp(3rem, 9vw, 6.8rem); line-height: .9; margin-bottom: 1.75rem; }
.event__text > p { max-width: 34rem; }
.event__text > p.event__desc { font-size: 1.15em; font-weight: 380; line-height: 1.5; }
.event .facts dd { font-size: 1.35rem; }
.event .btn { margin-top: .75rem; }
.threads { list-style: none; margin: 1.5rem 0 2rem; padding: 0; border-top: 1px solid var(--line); }
.threads li {
  font-family: var(--display); font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1.05;
  padding: .8rem 0; border-bottom: 1px solid var(--line);
  font-variation-settings: "wght" 200, "opsz" 100;
}
.threads li:nth-child(2) { font-variation-settings: "wght" 520, "opsz" 100; padding-left: 12%; }
.threads li:nth-child(3) { font-style: italic; font-variation-settings: "wght" 320, "opsz" 100; padding-left: 24%; }
@media (min-width: 960px) {
  .event { grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 1.5rem; align-items: center; }
  .event__figure { grid-column: 1 / 6; }
  .event__text { grid-column: 7 / 13; }
  .event--flip .event__figure { grid-column: 8 / 13; grid-row: 1; }
  .event--flip .event__text { grid-column: 1 / 7; grid-row: 1; }
}

/* ---------- steps: a line that draws as you read down ---------- */
.steps-sec { padding: var(--gap) var(--pad); }
.steps-sec__title { font-size: clamp(2.6rem, 7vw, 5.4rem); max-width: 14ch; margin-bottom: clamp(2.5rem, 6vw, 4rem); }
.steps { position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line); }
.steps__rule {
  position: absolute; left: 0; top: 0; height: 1px; width: 100%; z-index: 1;
  background: var(--ink); transform-origin: 0 50%; transform: scaleX(1);
}
.motion .steps__rule { transform: scaleX(0); }
.steps__list { list-style: none; margin: 0; padding: 0; display: grid; }
.steps li { padding: 1.6rem 0 1.9rem; border-bottom: 1px solid var(--line); display: grid; gap: .5rem; }
.steps h3 { font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1; }
.steps p { margin: 0; color: var(--smoke); max-width: 30rem; }
@media (min-width: 960px) {
  .steps__list { grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); column-gap: 2.5rem; }
  .steps li { border-bottom: 0; padding: 2.4rem 0 0; align-content: start; position: relative; }
  .steps li::before {
    content: ""; position: absolute; left: 0; top: -4px; width: 7px; height: 7px; border-radius: 50%;
    border: 1px solid var(--ink); background: var(--paper); z-index: 2;
  }
}

.section-more { padding: 0 var(--pad); margin: clamp(1rem, 3vw, 2rem) 0 0; }
.section-more--flush { padding: 0; margin-top: 2rem; }

.note-line {
  margin: 0 var(--pad); padding: 2rem 0 0; border-top: 1px solid var(--line);
  display: grid; gap: 1rem;
}
.note-line p { margin: 0; max-width: 40rem; font-style: italic; color: var(--smoke); }
@media (min-width: 960px) { .note-line { grid-template-columns: 1fr auto; align-items: center; } }

/* ---------- host page ---------- */
.host--page { padding-top: calc(var(--gap) * .6); }
.host--page .host__body h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin: 0 0 1.5rem; }
.host--page .host__body h2 + .terms, .host--page .host__body h2 + .cap { margin-top: 0; }
.host--page .host__body > section + section { margin-top: clamp(3.5rem, 8vw, 5.5rem); }
.host__small { color: var(--smoke); font-style: italic; margin: -1.5rem 0 0; }
.host__notes li { max-width: 34rem; }
.enquire--form { border-top: 1px solid var(--line); margin: 0 var(--pad); padding-inline: 0; scroll-margin-top: 3rem; }
.form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn[aria-busy="true"] { opacity: .6; cursor: progress; }

/* home's short close: the form now lives on host/ */
.enquire--short .enquire__actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .65rem; }
@media (min-width: 960px) {
  .enquire--short .enquire__intro { grid-column: 2; }
}

/* ---------- threshold page ---------- */
.night-page .foot__figure img { filter: brightness(.7) saturate(.9); }
.tcon {
  position: relative; padding: var(--gap) var(--pad);
  display: grid; gap: 2rem;
}
.tcon__title {
  font-size: clamp(2.8rem, 9vw, 7.4rem); line-height: .9; max-width: 13ch;
}
.tcon__body { max-width: 34rem; }
.tcon__body p { color: var(--night-smoke); }
.tcon__body p:first-child { color: var(--night-ink); font-size: 1.25em; font-weight: 380; line-height: 1.45; }
@media (min-width: 960px) {
  .tcon { grid-template-columns: 1.4fr 1fr; column-gap: 6vw; align-items: end; }
}
.tclose {
  position: relative; isolation: isolate; overflow: hidden;
  padding: var(--gap) var(--pad); text-align: left;
  display: grid; gap: 2rem;
}
.tclose .threshold__glow { top: 60%; }
.tclose__title { font-size: clamp(3.4rem, 12vw, 9rem); line-height: .86; --w: 220; font-variation-settings: "wght" var(--w), "opsz" 100; }
.tclose__lines { list-style: none; margin: 0; padding: 0; display: grid; gap: .2rem; }
.tclose__lines li { font-family: var(--display); font-size: clamp(1.6rem, 3.6vw, 2.6rem); line-height: 1.15; color: var(--night-smoke); }
.tclose .btn { justify-self: start; }
.night-page .steps__rule { background: var(--candle); }
@media (min-width: 960px) {
  .tclose { grid-template-columns: 1.3fr 1fr; column-gap: 6vw; align-items: end; }
  .tclose__title { grid-column: 1 / -1; }
}

/* ---------- faq ---------- */
.faq { padding: calc(var(--gap) * .7) var(--pad) var(--gap); }
.faq__group { display: grid; gap: 1.5rem; padding: clamp(2.5rem, 6vw, 4rem) 0; border-top: 1px solid var(--line); scroll-margin-top: 4rem; }
.faq__group:first-child { border-top: 0; padding-top: 0; }
.faq__title { font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: .95; }
.qa { padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.qa:last-child { border-bottom: 0; }
.qa h3 { font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.05; margin-bottom: .7rem; font-variation-settings: "wght" 360, "opsz" 40; }
.qa p { margin: 0; max-width: 40rem; color: var(--smoke); }
.qa p + p { margin-top: .6rem; }
.faq__close { padding: 0 var(--pad) var(--gap); }
.faq__close p { font-size: 1.25em; font-weight: 380; max-width: 30rem; }
@media (min-width: 960px) {
  .faq__group { grid-template-columns: 1fr 1.6fr; column-gap: 6vw; align-items: start; }
  .faq__title { position: sticky; top: 6rem; }
}

/* ---------- 404 ---------- */
.lost { min-height: 88svh; padding: 9rem var(--pad) var(--gap); display: grid; align-content: end; gap: 1.5rem; }
.lost__title { --w: 220; font-size: clamp(3.6rem, 13vw, 11rem); line-height: .86; font-variation-settings: "wght" var(--w), "opsz" 100; }
.lost p { max-width: 30rem; color: var(--smoke); }

/* footer: FAQ joins the list */
.foot nav a[aria-current="page"] { text-decoration: underline; }

/* inner titles keep their lines whole while the weight breathes */
.phero__line { white-space: nowrap; }
.capsec__title { margin-bottom: 1.5rem; }
.note-line { margin-bottom: var(--gap); }
.phero__title { text-shadow: 0 2px 36px rgba(20, 14, 12, .35); }

/* =====================================================================
   TYPE OPTION C: Airy tracked caps
   Only typography below this line. Layout, colour and motion are untouched above.
   ===================================================================== */
:root {
  --display: "Josefin Sans", "Futura", "Avenir Next", sans-serif;
  --text: "Albert Sans", "Helvetica Neue", "Segoe UI", sans-serif;
}
h1, h2, h3 { font-optical-sizing: none; }

/* display roles re-sized for a wider, modern face (source sizes x a factor) */
:root { --k-n: 0.5; }
@media (max-width: 599px) { :root { --k-n: 0.62; } }
.house__title { font-size: calc(clamp(2.6rem, 8.5vw, 6rem) * 0.8); line-height: 1.02; letter-spacing: -.01em; }
.rooms__title { font-size: calc(clamp(2.4rem, 7vw, 5.4rem) * 0.8); line-height: 1.02; letter-spacing: -.01em; }
.room__name { font-size: calc(clamp(2.8rem, 12vw, 5rem) * var(--k-n)); line-height: 1.08; letter-spacing: .14em; }
.rooms.is-pinned .room__name { font-size: calc(clamp(3rem, 5vw, 4.6rem) * var(--k-n)); line-height: 1.08; letter-spacing: .14em; }
.rooms.is-pinned .rooms__index { font-size: calc(1.6rem * var(--k-n)); line-height: 1.08; letter-spacing: .14em; }
.work__title { font-size: calc(clamp(2.4rem, 6vw, 5rem) * 0.8); line-height: 1.02; letter-spacing: -.01em; }
.work__line { font-size: calc(clamp(2.1rem, 4.6vw, 4.4rem) * 0.8); line-height: 1.02; letter-spacing: -.01em; }
.grounds__title { font-size: calc(clamp(2.4rem, 8vw, 4.6rem) * 0.8); line-height: 1.02; letter-spacing: -.01em; }
.gatherings__title { font-size: calc(clamp(3.4rem, 15vw, 9rem) * var(--k-n)); line-height: 1.08; letter-spacing: .14em; }
.ledger__name { font-size: calc(clamp(2.2rem, 8vw, 4.2rem) * var(--k-n)); line-height: 1.08; letter-spacing: .14em; }
.host__title { font-size: calc(clamp(2.8rem, 10vw, 5.6rem) * 0.8); line-height: 1.02; letter-spacing: -.01em; }
.terms dt { font-size: calc(1.9rem * var(--k-n)); line-height: 1.08; letter-spacing: .14em; }
.cap caption { font-size: calc(1.9rem * var(--k-n)); line-height: 1.08; letter-spacing: .14em; }
.threshold__title { font-size: calc(clamp(3.4rem, 15vw, 8.4rem) * var(--k-n)); line-height: 1.08; letter-spacing: .14em; }
.enquire__title { font-size: calc(clamp(3.6rem, 13.5vw, 13rem) * 0.5); line-height: 1.06; letter-spacing: .12em; }
.phero__title { font-size: calc(clamp(3.6rem, 12.5vw, 9.5rem) * 0.5); line-height: 1.06; letter-spacing: .12em; }
.lead__title { font-size: calc(clamp(2.6rem, 7.5vw, 5.8rem) * 0.8); line-height: 1.02; letter-spacing: -.01em; }
.jump a { font-size: calc(clamp(1.35rem, 2.4vw, 1.9rem) * var(--k-n)); line-height: 1.08; letter-spacing: .14em; }
.rsec__name { font-size: calc(clamp(3.2rem, 10vw, 7rem) * var(--k-n)); line-height: 1.08; letter-spacing: .14em; }
.facts dd { font-size: calc(1.7rem * 0.8); line-height: 1.1; letter-spacing: 0em; }
.event .facts dd { font-size: calc(1.35rem * 0.8); line-height: 1.1; letter-spacing: 0em; }
.estate__title { font-size: calc(clamp(3.2rem, 11vw, 8rem) * var(--k-n)); line-height: 1.08; letter-spacing: .14em; }
.capsec__title { font-size: calc(clamp(2.6rem, 7vw, 5.4rem) * 0.8); line-height: 1.02; letter-spacing: -.01em; }
.capsec .cap caption { font-size: calc(clamp(1.6rem, 3vw, 2.2rem) * var(--k-n)); line-height: 1.08; letter-spacing: .14em; }
.event__name { font-size: calc(clamp(3rem, 9vw, 6.8rem) * var(--k-n)); line-height: 1.08; letter-spacing: .14em; }
.threads li { font-size: calc(clamp(2.2rem, 6vw, 4rem) * var(--k-n)); line-height: 1.08; letter-spacing: .14em; }
.steps-sec__title { font-size: calc(clamp(2.6rem, 7vw, 5.4rem) * 0.8); line-height: 1.02; letter-spacing: -.01em; }
.steps h3 { font-size: calc(clamp(1.9rem, 4vw, 2.6rem) * 0.8); line-height: 1.02; letter-spacing: -.01em; }
.host--page .host__body h2 { font-size: calc(clamp(2.2rem, 5vw, 3.6rem) * 0.8); line-height: 1.02; letter-spacing: -.01em; }
.tcon__title { font-size: calc(clamp(2.8rem, 9vw, 7.4rem) * 0.8); line-height: 1.02; letter-spacing: -.01em; }
.tclose__title { font-size: calc(clamp(3.4rem, 12vw, 9rem) * 0.5); line-height: 1.06; letter-spacing: .12em; }
.tclose__lines li { font-size: calc(clamp(1.6rem, 3.6vw, 2.6rem) * 0.8); line-height: 1.02; letter-spacing: -.01em; }
.faq__title { font-size: calc(clamp(2.4rem, 6vw, 4.4rem) * var(--k-n)); line-height: 1.08; letter-spacing: .14em; }
.qa h3 { font-size: calc(clamp(1.6rem, 3vw, 2.2rem) * 0.8); line-height: 1.02; letter-spacing: -.01em; }
.lost__title { font-size: calc(clamp(3.6rem, 13vw, 11rem) * 0.5); line-height: 1.06; letter-spacing: .12em; }
.marquee span { font-size: calc(clamp(3rem, 9vw, 8.5rem) * var(--k-n)); line-height: 1.08; letter-spacing: .14em; }
.sheet nav a { font-size: calc(clamp(2.8rem, 13vw, 4.5rem) * var(--k-n)); line-height: 1.08; letter-spacing: .14em; }
.enquire__mail { font-size: calc(clamp(1.6rem, 6.4vw, 3rem) * 0.8); line-height: 1.1; letter-spacing: 0em; }
@media (min-width: 960px) {
  .capsec .cap tbody th { font-size: calc(1.6rem * var(--k-n)); line-height: 1.08; letter-spacing: .14em; }
}

/* breathing titles: resting weights for the new face */
.phero__title { --w: 260; font-variation-settings: "wght" var(--w); }
.enquire__title, .tclose__title, .lost__title { --w: 200; font-variation-settings: "wght" var(--w); }

/* ---------- the wordmark: HOUSE OF + SURRENDER as one lockup ---------- */
.hero__word {
  text-transform: uppercase;
  font-variation-settings: "wght" var(--w);
  line-height: 1;
}
.hero__pre {
  font-family: var(--display);
  font-style: normal;
  text-transform: uppercase;
  line-height: 1;
  color: rgba(251, 250, 248, .9);
}
.mark__pre, .mark__word { text-transform: uppercase; }

/* Josefin Sans carries the voice in open caps; Albert Sans carries the reading. */
body { font-weight: 400; line-height: 1.64; }
h1, h2, h3 { font-weight: 300; }
.btn, .nav__toggle { font-weight: 600; letter-spacing: .02em; }
.nav__links a { font-weight: 500; letter-spacing: .01em; }
.house__body p:first-child, .lead__body p:first-child, .host__lede, .rsec__text p:first-of-type,
.event__text > p.event__desc, .threshold__lede, .enquire__lede, .tcon__body p:first-child, .faq__close p { font-weight: 330; }

/* names, the page titles and every breathing line are open caps; sentences stay in sentence case */
.room__name, .rooms.is-pinned .room__name, .rooms.is-pinned .rooms__index, .gatherings__title, .ledger__name,
.terms dt, .cap caption, .threshold__title, .enquire__title, .phero__title, .jump a, .rsec__name, .estate__title,
.capsec .cap caption, .event__name, .threads li, .tclose__title, .faq__title, .lost__title, .marquee span,
.sheet nav a, .capsec .cap tbody th { text-transform: uppercase; }
.terms dt, .cap caption, .capsec .cap tbody th { font-weight: 400; }
.breath__cue { font-size: .8rem; text-transform: uppercase; letter-spacing: .32em; font-variation-settings: "wght" 500; }
.jump a { font-variation-settings: "wght" 300; }
.jump a:hover, .jump a:focus-visible { font-variation-settings: "wght" 560; }
.marquee span { font-variation-settings: "wght" 120; }
.marquee span:nth-of-type(3n + 2) { font-variation-settings: "wght" 480; }
.threads li { font-variation-settings: "wght" 160; }
.threads li:nth-child(2) { font-variation-settings: "wght" 460; }
.threads li:nth-child(3) { font-variation-settings: "wght" 300; }
.qa h3 { font-variation-settings: "wght" 360; letter-spacing: 0; }
.work__line { font-variation-settings: "wght" 240; }
.sheet nav a { font-weight: 200; }
.sheet nav a[aria-current="page"] { font-style: normal; font-weight: 500; }

/* lockup: a masthead. HOUSE OF between two short hairlines, centred over SURRENDER */
.enquire__title, .tclose__title, .lost__title { font-size: clamp(2.3rem, 6.75vw, 6.5rem); }
.mask--pre { padding-bottom: 0; }
.hero__pre {
  display: flex; align-items: center; justify-content: center; gap: 1.3em;
  font-weight: 400;
  font-size: max(.74rem, calc(var(--word-size, 20vw) * .1));
  letter-spacing: .62em;
}
.hero__pre::before, .hero__pre::after {
  content: ""; flex: 0 0 min(3.2em, 9vw); height: 1px; background: rgba(251, 250, 248, .55);
  margin-top: -.12em; /* Josefin caps sit above the box centre */
}
.hero__pre::before { margin-right: .62em; } /* matches the tracking after the last letter */
.mask--word { padding-top: calc(var(--word-size, 20vw) * .15); margin-top: 0; }
.hero__word { padding-top: .08em; margin-bottom: -.08em; }
.motion .hero__word { --w: 140; --ls: 0.1em; }
.hero__word { --w: 300; --ls: 0.17em; }

.nav__name { display: inline-grid; justify-items: center; gap: .3rem; line-height: 1; padding-top: .15em; }
.nav__name .mark__pre { font-size: .56rem; font-weight: 500; letter-spacing: .62em; padding-left: .62em; }
.nav__name .mark__word { font-size: 1.02rem; font-weight: 400; letter-spacing: .34em; padding-left: .34em; }

.foot__mark { display: inline-grid; justify-items: center; justify-self: start; width: max-content; gap: .6rem; line-height: 1; }
.foot__mark .mark__pre { font-size: .7rem; font-weight: 500; letter-spacing: .62em; padding-left: .62em; }
.foot__mark .mark__word { font-size: 1.9rem; font-weight: 300; letter-spacing: .26em; padding-left: .26em; }
