/* Verdant Conservatory: a Victorian glasshouse on a winter night. */

:root {
  --night: #0a120e;
  --glass-2: #11201a;
  --glass-3: #18302a;
  --iron-deep: #23382f;
  --iron: #3e6b5c;
  --iron-hi: #7fa99a;
  --lamp: #f3c27a;
  --lamp-soft: rgba(243, 194, 122, 0.18);
  --text: #ede6d6;
  --muted: #a7b3aa;
  --mist: rgba(220, 236, 240, 0.14);
  --season: #6b2e4f;
  --season-light: #c98aae;

  --display: 'Libre Caslon Display', 'Iowan Old Style', Georgia, serif;
  --plate: 'IM Fell English', 'Iowan Old Style', Georgia, serif;
  --sans: 'Onest', system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
  --gutter: clamp(20px, 5vw, 80px);
  --header: 64px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  background: var(--night);
  color-scheme: dark;
  overflow-x: clip;
}
body {
  margin: 0;
  background: var(--night);
  color: var(--text);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img,
svg,
canvas {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
button {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 1.5px solid var(--lamp);
  outline-offset: 4px;
  box-shadow: 0 0 0 6px rgba(243, 194, 122, 0.14);
}
.skip {
  position: fixed;
  left: 12px;
  top: -80px;
  z-index: 60;
  padding: 10px 16px;
  background: var(--lamp);
  color: var(--night);
  border-radius: 999px;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}
.vh {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
i[lang='la'],
.latin {
  font-family: var(--plate);
  font-style: italic;
}

/* ---------- iron ---------- */
.ironwork {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}
.ironwork path {
  vector-effect: non-scaling-stroke;
  fill: none;
}
.ironwork .iron-wall {
  fill: var(--night);
}
.ironwork .iron-bar {
  stroke: #1b2c25;
  stroke-width: 1.6;
}
.ironwork .iron-heavy {
  stroke: #182822;
  stroke-width: 7;
}
.ironwork .iron-frame {
  stroke: #1f342b;
  stroke-width: 12;
}
.ironwork .iron-frame-hi {
  stroke: rgba(127, 169, 154, 0.55);
  stroke-width: 1;
  transform: translate(-1px, -1px);
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 500 15px/1 var(--sans);
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition:
    background-color 0.35s var(--ease),
    border-color 0.35s var(--ease),
    transform 0.35s var(--ease);
}
.btn:active {
  transform: translateY(1px);
}
.btn-lamp {
  background: var(--lamp);
  color: #1a140a;
  box-shadow: 0 0 40px -6px rgba(243, 194, 122, 0.45);
}
.btn-lamp:hover {
  background: #f7d29a;
}
.btn-glass {
  background: rgba(220, 236, 240, 0.06);
  border-color: rgba(237, 230, 214, 0.38);
  color: var(--text);
}
.btn-glass:hover {
  border-color: var(--iron-hi);
  background: rgba(220, 236, 240, 0.1);
}

/* ---------- header ---------- */
.top {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 var(--gutter);
  transition:
    background-color 0.5s var(--ease),
    backdrop-filter 0.5s var(--ease);
}
.top.is-solid {
  background: rgba(10, 18, 14, 0.72);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid rgba(127, 169, 154, 0.16);
}
.mark {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.mark svg {
  width: 26px;
  height: 34px;
}
.mark svg path {
  fill: none;
  stroke: var(--iron-hi);
  stroke-width: 1.3;
}
.mark svg .glow {
  fill: var(--lamp);
  stroke: none;
  opacity: 0.85;
}
.mark span {
  font: 400 21px/1 var(--display);
  letter-spacing: 0.02em;
}
.top nav ul {
  display: flex;
  gap: 30px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.top nav a {
  display: inline-block;
  padding: 12px 0;
  font-size: 14px;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.3s var(--ease);
}
.top nav a:hover {
  color: var(--text);
}
.top .btn {
  min-height: 40px;
  padding: 0 18px;
  font-size: 14px;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  min-height: 100dvh;
  padding: calc(var(--header) + 12px) var(--gutter) 84px;
  display: grid;
  grid-template-rows: 1fr auto;
  gap: 22px;
  background:
    radial-gradient(70% 55% at 50% 38%, rgba(243, 194, 122, 0.09), transparent 70%),
    var(--night);
  overflow: hidden;
}
.glass-wrap {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 0;
}
.glass {
  position: relative;
  width: min(100%, calc((100dvh - var(--header) - 280px) * 1600 / 860));
  max-height: 100%;
  aspect-ratio: 1600 / 860;
  isolation: isolate;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.55));
}
.glass[data-layout='tall'] {
  width: min(100%, calc((100dvh - var(--header) - 260px) * 600 / 1000));
}
/* the same layout before the script runs, so nothing shifts */
@media (max-width: 720px) {
  .glass,
  .glass[data-layout='tall'] {
    aspect-ratio: 600 / 1000;
    width: min(100%, max(210px, calc((100dvh - var(--header) - 360px) * 600 / 1000)));
  }
}
.glass-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: crosshair;
}
.bay-link {
  position: absolute;
  display: grid;
  place-items: end center;
  padding-bottom: 7%;
  text-decoration: none;
  z-index: 2;
}
.glass[data-layout='tall'] .bay-link {
  place-items: center;
  padding: 0;
}
.plaque {
  padding: 8px 14px 7px;
  font: 400 clamp(11px, 1vw, 16px) / 1 var(--display);
  letter-spacing: 0.1em;
  white-space: nowrap;
  text-transform: uppercase;
  color: #d8e6df;
  background: linear-gradient(180deg, #2a4239, #16261f);
  border: 1px solid rgba(127, 169, 154, 0.55);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 10px 24px -10px rgba(0, 0, 0, 0.8);
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.5);
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
  pointer-events: none;
}
.bay-link.is-won .plaque,
.bay-link:focus-visible .plaque {
  opacity: 1;
  transform: none;
}
.bay-link:not(.is-won) {
  pointer-events: none;
}
.bay-link:focus-visible {
  outline-offset: -8px;
}
.hero-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 18px 40px;
  width: min(100%, max(960px, calc((100dvh - var(--header) - 280px) * 1600 / 860)));
  margin: 0 auto;
}
.hero h1 {
  margin: 0;
  font: 400 clamp(40px, 5.2vw, 76px) / 1 var(--display);
  letter-spacing: -0.005em;
}
.hero .sub {
  margin: 12px 0 0;
  max-width: 44ch;
  color: var(--muted);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- house panes ---------- */
.pane {
  position: relative;
  isolation: isolate;
}
.pane.is-shimmering .glass-canvas {
  filter: url(#heat);
}
.pane .glass-canvas {
  cursor: crosshair;
}

/* ---------- in flower ---------- */
.flower {
  --season: #6b2e4f;
  --season-light: #c98aae;
  position: relative;
  padding: clamp(80px, 10vw, 140px) var(--gutter);
  background:
    radial-gradient(45% 40% at 24% 55%, color-mix(in srgb, var(--season) 22%, transparent), transparent 70%),
    radial-gradient(40% 45% at 72% 40%, rgba(243, 194, 122, 0.07), transparent 70%),
    var(--night);
  transition: background 0.9s var(--ease);
}
.flower-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
  max-width: 1280px;
  margin: 0 auto;
}
.flower h2 {
  margin: 0;
  font: 400 clamp(38px, 4.4vw, 64px) / 1.02 var(--display);
}
.month-line {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 18px 0 34px;
}
.month-name {
  font: italic 400 clamp(26px, 2.6vw, 36px) / 1 var(--plate);
  color: var(--season-light);
  transition: color 0.6s var(--ease);
}
.now-tag {
  padding: 5px 11px 4px;
  border: 1px solid var(--lamp);
  border-radius: 999px;
  font-size: 13px;
  color: var(--lamp);
}
.dial {
  position: relative;
  width: min(100%, 470px);
  aspect-ratio: 1;
  border-radius: 50%;
  touch-action: none;
}
.dial:focus-visible {
  outline-offset: 10px;
}
.rose {
  width: 100%;
  height: 100%;
  overflow: visible;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.rose:active {
  cursor: grabbing;
}
.rose .rim {
  fill: none;
  stroke: #2b463c;
  stroke-width: 2.4;
}
.rose .rim-thin,
.rose .tracery {
  fill: none;
  stroke: #3e6b5c;
  stroke-width: 1.1;
}
.rose .thin {
  stroke-width: 0.6;
}
.rose .light {
  fill: rgba(127, 169, 154, 0.05);
  transition: fill 0.6s var(--ease);
}
.rose .light.on {
  fill: color-mix(in srgb, var(--season-light) 38%, transparent);
  filter: drop-shadow(0 0 6px color-mix(in srgb, var(--season-light) 60%, transparent));
}
.rose .roundel {
  fill: rgba(243, 194, 122, 0.05);
}
.rose .boss {
  fill: var(--lamp);
}
.rose .month {
  font: 400 6.2px var(--display);
  letter-spacing: 0.12em;
  text-anchor: middle;
  dominant-baseline: middle;
  fill: #8fa79d;
  cursor: pointer;
  transition: fill 0.4s var(--ease);
}
.rose .month.on {
  fill: var(--lamp);
}
.rose .pointer {
  fill: var(--lamp);
}
.dial-hint {
  margin: 22px 0 0;
  font-size: 14px;
  color: var(--muted);
}
.specimen {
  margin: 0;
}
.plate-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  padding: 14px;
  background: #0d1813;
  border: 1px solid color-mix(in srgb, var(--season-light) 45%, #2b463c);
  box-shadow:
    0 0 0 6px #0b1511,
    0 0 0 7px color-mix(in srgb, var(--season-light) 25%, #20342c),
    0 40px 80px -40px rgba(0, 0, 0, 0.9),
    0 0 90px -30px color-mix(in srgb, var(--season-light) 40%, transparent);
  transition:
    border-color 0.8s var(--ease),
    box-shadow 0.8s var(--ease);
}
.plate-canvas {
  width: 100%;
  height: 100%;
}
.plate-cap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 16px;
  margin-top: 16px;
  font-size: 13px;
  color: var(--muted);
}
.plate-cap i {
  font-size: 19px;
  color: var(--text);
}
.blooms {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}
.blooms button {
  display: grid;
  gap: 3px;
  width: 100%;
  height: 100%;
  padding: 14px 16px 16px;
  text-align: left;
  background: rgba(220, 236, 240, 0.03);
  border: 1px solid rgba(127, 169, 154, 0.22);
  border-radius: 2px;
  cursor: pointer;
  transition:
    border-color 0.4s var(--ease),
    background-color 0.4s var(--ease);
}
.blooms button:hover {
  border-color: rgba(127, 169, 154, 0.5);
}
.blooms button[aria-pressed='true'] {
  border-color: color-mix(in srgb, var(--season-light) 70%, transparent);
  background: color-mix(in srgb, var(--season) 14%, transparent);
}
.blooms i {
  font-size: 19px;
  line-height: 1.2;
}
.blooms .common {
  font-size: 15px;
}
.blooms .where {
  font-size: 13px;
  color: var(--iron-hi);
}
.blooms .note {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
.late-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 18px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--lamp);
  font-size: 15px;
  text-decoration: underline;
  text-decoration-color: rgba(243, 194, 122, 0.45);
  text-underline-offset: 5px;
  cursor: pointer;
  transition: text-decoration-color 0.3s var(--ease);
}
.late-link:hover {
  text-decoration-color: var(--lamp);
}
.late-link[hidden] {
  display: none;
}

@media (max-width: 960px) {
  .top nav {
    display: none;
  }
  .flower-grid {
    grid-template-columns: 1fr;
  }
  .dial {
    margin: 0 auto;
    width: min(100%, 380px);
  }
}
@media (max-width: 720px) {
  .hero {
    padding-left: 22px;
    padding-right: 22px;
  }
  .hero-copy {
    grid-template-columns: 1fr;
    width: 100%;
  }
  .hero-actions .btn {
    flex: 1 1 auto;
  }
  .blooms {
    grid-template-columns: 1fr;
  }
  .mark span {
    font-size: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation: none !important;
  }
}

/* ================= full page ================= */
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 12px);
}
html.sheet-open {
  overflow: hidden;
}
h2,
h3 {
  font-weight: 400;
  text-wrap: balance;
}
.top nav a,
.top .btn {
  white-space: nowrap;
}

/* reveals: one easing, no bounce */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}
.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- houses: shared ---------- */
.house {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(96px, 12vw, 180px) var(--gutter) 0;
}
.house h2,
.after h2,
.visit h2,
.members h2,
.events h2 {
  margin: 0 0 22px;
  font: 400 clamp(40px, 5vw, 72px) / 1.02 var(--display);
  letter-spacing: -0.005em;
}
.house-copy p {
  max-width: 44ch;
  margin: 0 0 16px;
  color: #d8d2c3;
}
.pane {
  border-radius: 2px;
  overflow: hidden;
  background: #0b1410;
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, 0.9), 0 0 120px -60px rgba(243, 194, 122, 0.35);
}

/* facts as engraved figure captions */
.facts {
  counter-reset: fig;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  max-width: 44ch;
}
.facts li {
  counter-increment: fig;
  position: relative;
  padding: 14px 0 14px 64px;
  border-top: 1px solid rgba(127, 169, 154, 0.22);
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
}
.facts li::before {
  content: 'Fig. ' counter(fig, lower-roman) '.';
  position: absolute;
  left: 0;
  top: 15px;
  font: italic 400 15px/1.4 var(--plate);
  color: var(--iron-hi);
}
.facts li i {
  font-family: var(--plate);
  font-size: 1.08em;
  color: var(--text);
}

/* plates in a dark mount */
.plate {
  margin: 0;
}
.plate-mount {
  padding: 12px;
  background: #0d1813;
  border: 1px solid #2b463c;
  box-shadow:
    0 0 0 5px #0b1511,
    0 0 0 6px #20342c,
    0 40px 80px -40px rgba(0, 0, 0, 0.9);
}
.plate-mount img {
  width: 100%;
  height: auto;
  filter: brightness(0.9) sepia(0.12);
}
.plate figcaption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2px 14px;
  margin-top: 14px;
  font-size: 13px;
  color: var(--muted);
}
.plate figcaption i {
  font: italic 400 18px/1.3 var(--plate);
  color: var(--text);
}

/* photographs */
.photo {
  margin: 0;
  overflow: hidden;
  border-radius: 2px;
  background: var(--glass-2);
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pair {
  display: grid;
  gap: clamp(14px, 1.6vw, 24px);
}

/* ---------- Palm: wide pane, copy beside plate, offset pair ---------- */
.house--palm .pane {
  margin-bottom: clamp(48px, 6vw, 88px);
}
.house-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.7fr);
  gap: clamp(40px, 6vw, 110px);
  align-items: start;
}
.house--palm .plate {
  margin-top: 90px;
}
.pair--offset {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  align-items: end;
  width: min(100%, 900px);
  margin-left: auto;
}
.pair--offset .photo:first-child {
  aspect-ratio: 688 / 1024;
}
.pair--offset .photo:last-child {
  aspect-ratio: 4 / 5;
  margin-bottom: 18%;
}

/* ---------- Orchid: square glass and plate stacked left, copy right ---------- */
.orchid-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: start;
}
.orchid-glass {
  position: relative;
}
.orchid-glass .plate {
  width: 56%;
  margin: -22% -6% 0 auto;
  position: relative;
}
.house--orchid .house-copy {
  padding-top: clamp(0px, 6vw, 90px);
}
.pair--side {
  grid-template-columns: 1fr 1fr;
  margin-top: 40px;
}
.pair--side .photo {
  aspect-ratio: 4 / 5;
}
.pair--side .photo:last-child {
  transform: translateY(40px);
}

/* ---------- Water Lily: long low pool, centred plate between two nights ---------- */
.lily-head {
  max-width: 640px;
  margin: clamp(44px, 5vw, 72px) auto 0;
  text-align: center;
}
.lily-head p {
  margin: 0 auto;
  max-width: 40ch;
  color: #d8d2c3;
}
.lily-plate {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  margin: clamp(56px, 7vw, 100px) 0;
}
.night {
  margin: 0;
  font: italic 400 clamp(19px, 1.7vw, 23px) / 1.4 var(--plate);
  color: var(--muted);
}
.night span {
  display: block;
  margin-bottom: 8px;
  font: 500 12px/1 var(--sans);
  font-variant: all-small-caps;
  letter-spacing: 0.14em;
  font-size: 15px;
  color: var(--iron-hi);
}
.night--one {
  text-align: right;
}
.night--one span {
  color: #f2efe6;
}
.night--two span {
  color: #e9a7b6;
}
.pair--row {
  grid-template-columns: 1fr 1.25fr 1fr;
  align-items: center;
}
.pair--row .photo {
  aspect-ratio: 4 / 5;
}
.pair--row .photo:nth-child(2) {
  aspect-ratio: 688 / 1024;
}
.facts--center {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 40px;
  max-width: 820px;
  margin: 48px auto 0;
}

/* ---------- Desert: sparse, copy left, clear glass right ---------- */
.house--desert {
  padding-bottom: clamp(96px, 12vw, 180px);
}
.desert-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr);
  gap: clamp(48px, 9vw, 160px);
  align-items: start;
}
.house--desert .plate {
  width: min(100%, 300px);
  margin-top: 56px;
}
.desert-glass .pane {
  box-shadow: 0 40px 90px -50px rgba(0, 0, 0, 0.9), 0 0 160px -70px rgba(243, 194, 122, 0.5);
}
.pair--small {
  grid-template-columns: 1fr 1fr;
  width: 72%;
  margin: clamp(32px, 4vw, 56px) 0 0 auto;
}
.pair--small .photo {
  aspect-ratio: 4 / 5;
}

/* ---------- After dark ---------- */
.after {
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: grid;
  align-items: end;
  overflow: hidden;
}
.after-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.after-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 40%;
}
.after::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, var(--night) 0%, rgba(10, 18, 14, 0) 22%),
    linear-gradient(0deg, var(--night) 6%, rgba(10, 18, 14, 0.9) 34%, rgba(10, 18, 14, 0.5) 55%, rgba(10, 18, 14, 0.1) 78%),
    linear-gradient(90deg, rgba(10, 18, 14, 0.75) 0%, rgba(10, 18, 14, 0) 55%);
}
.after-inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 30vh var(--gutter) clamp(72px, 9vw, 130px);
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
}
.after-copy p {
  margin: 0;
  max-width: 38ch;
  color: #e2dccd;
}
.nights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nights li {
  display: grid;
  justify-items: start;
  align-content: start;
  gap: 4px;
  padding: 22px 20px 20px;
  border-radius: 999px 999px 4px 4px;
  border: 1px solid rgba(243, 194, 122, 0.4);
  background: radial-gradient(90% 60% at 50% 0%, rgba(243, 194, 122, 0.16), transparent 70%), rgba(10, 18, 14, 0.62);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  text-align: left;
}
.nights .d {
  justify-self: center;
  font: 400 54px/1 var(--display);
  color: var(--lamp);
  margin-top: 10px;
}
.nights .m {
  justify-self: center;
  margin-bottom: 14px;
  font: italic 400 18px/1.2 var(--plate);
  color: var(--text);
}
.nights b {
  font-weight: 500;
  font-size: 16px;
}
.nights .t {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 14px;
}
.nights .btn {
  min-height: 44px;
  padding: 0 16px;
  font-size: 14px;
  width: 100%;
}

/* ---------- Visit ---------- */
.visit {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(96px, 12vw, 170px) var(--gutter);
}
.visit-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 12px 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(127, 169, 154, 0.25);
}
.visit-head h2 {
  margin: 0;
}
.address {
  margin: 0;
  font: italic 400 20px/1.45 var(--plate);
  color: var(--text);
  text-align: right;
}
.visit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.visit-pane {
  padding: 34px clamp(18px, 2vw, 32px) 8px;
  border-left: 1px solid rgba(127, 169, 154, 0.25);
}
.visit-pane:first-child {
  border-left: 0;
  padding-left: 0;
}
.visit-pane h3,
.tiers h3 {
  margin: 0 0 12px;
  font: 500 17px/1.2 var(--sans);
  font-variant: all-small-caps;
  letter-spacing: 0.12em;
  color: var(--iron-hi);
  font-size: 19px;
}
.visit-pane p {
  margin: 0 0 12px;
  font-size: 16px;
  color: #d3cdbf;
}

/* ---------- Members ---------- */
.members {
  position: relative;
  padding: clamp(96px, 12vw, 170px) var(--gutter);
  text-align: center;
  background: radial-gradient(60% 50% at 50% 30%, rgba(62, 107, 92, 0.18), transparent 70%), var(--glass-2);
}
.members h2 {
  margin-bottom: 12px;
}
.members-sub {
  margin: 0 auto 56px;
  max-width: 40ch;
  color: #d3cdbf;
}
.tiers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 300px));
  justify-content: center;
  gap: clamp(16px, 2vw, 28px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.tiers li {
  padding: 56px 28px 34px;
  border: 1px solid rgba(127, 169, 154, 0.35);
  border-radius: 999px 999px 4px 4px;
  background: linear-gradient(180deg, rgba(220, 236, 240, 0.05), transparent 60%);
}
.tiers li:nth-child(2) {
  border-color: rgba(243, 194, 122, 0.5);
  background: radial-gradient(80% 50% at 50% 0%, rgba(243, 194, 122, 0.12), transparent 70%);
}
.tiers .price {
  margin: 0 0 18px;
  font: 400 44px/1 var(--display);
  color: var(--text);
}
.tiers .price span {
  display: block;
  margin-top: 8px;
  font: italic 400 16px/1 var(--plate);
  color: var(--muted);
}
.tiers p {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: #d3cdbf;
}
.members-note {
  margin: 40px 0 0;
  font-size: 15px;
  color: var(--muted);
}

/* ---------- Weddings ---------- */
.events {
  max-width: 1280px;
  margin: 0 auto;
  padding: clamp(96px, 12vw, 170px) var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}
.photo--wide {
  aspect-ratio: 3 / 2;
}
.events-copy p {
  margin: 0 0 28px;
  max-width: 40ch;
  color: #d8d2c3;
}

/* ---------- Footer ---------- */
.foot {
  padding: 56px var(--gutter) 120px;
  border-top: 1px solid rgba(127, 169, 154, 0.2);
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}
.foot-mark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--text);
  font: 400 19px/1 var(--display);
}
.foot-mark svg {
  width: 22px;
  height: 30px;
}
.foot-mark svg path {
  fill: none;
  stroke: var(--iron-hi);
  stroke-width: 1.3;
}
.foot-mark svg .glow {
  fill: var(--lamp);
}
.foot p {
  margin: 0 auto 8px;
  max-width: 60ch;
}
.foot-fine {
  font-size: 13px;
}
.foot a {
  color: var(--text);
  text-underline-offset: 3px;
}

/* ---------- sheets (tickets, enquiry) ---------- */
.sheet {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(100%, 480px);
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-left: 1px solid rgba(127, 169, 154, 0.3);
  background: #0d1813;
  color: var(--text);
  overflow: hidden;
}
.sheet[open] {
  animation: sheet-in 0.55s var(--ease);
}
.sheet::backdrop {
  background: rgba(5, 10, 8, 0.6);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
@keyframes sheet-in {
  from {
    transform: translateX(40px);
    opacity: 0;
  }
}
.sheet-inner {
  height: 100%;
  display: flex;
  flex-direction: column;
}
.sheet-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(127, 169, 154, 0.2);
}
.sheet-head h2 {
  margin: 0;
  font: 400 30px/1 var(--display);
}
.sheet-close {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid rgba(237, 230, 214, 0.3);
  border-radius: 999px;
  background: none;
  font-size: 14px;
  cursor: pointer;
}
.sheet-body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 8px 24px 32px;
}
.step {
  margin: 0;
  padding: 22px 0;
  border: 0;
  border-bottom: 1px solid rgba(127, 169, 154, 0.16);
}
.step legend {
  padding: 0;
  margin-bottom: 14px;
  font: 500 19px/1 var(--sans);
  font-variant: all-small-caps;
  letter-spacing: 0.12em;
  color: var(--iron-hi);
}
.hint {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
.cal-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.cal-title {
  margin: 0;
  font: italic 400 20px/1 var(--plate);
}
.cal-nav {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(237, 230, 214, 0.25);
  background: none;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.cal-nav:disabled {
  opacity: 0.3;
  cursor: default;
}
.cal-dow,
.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 4px;
}
.cal-dow span {
  text-align: center;
  font-size: 12px;
  color: var(--muted);
  padding: 4px 0;
}
.day {
  position: relative;
  aspect-ratio: 1;
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: 50%;
  background: rgba(220, 236, 240, 0.04);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.day:hover:not(:disabled) {
  border-color: var(--iron-hi);
}
.day:disabled {
  background: none;
  color: #56625b;
  text-decoration: line-through;
  text-decoration-color: rgba(86, 98, 91, 0.6);
  cursor: default;
}
.day.is-late::after,
.key-late {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 4px;
  height: 4px;
  margin-left: -2px;
  border-radius: 50%;
  background: var(--lamp);
}
.day[aria-pressed='true'] {
  background: var(--lamp);
  color: #1a140a;
}
.day[aria-pressed='true']::after {
  background: #1a140a;
}
.cal-key {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--muted);
}
.key-late {
  position: static;
  margin: 0;
  flex: none;
  width: 6px;
  height: 6px;
}
.slots {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.slots .hint {
  grid-column: 1 / -1;
}
.slot {
  display: grid;
  gap: 3px;
  justify-items: center;
  padding: 10px 6px;
  min-height: 52px;
  border: 1px solid rgba(237, 230, 214, 0.22);
  border-radius: 10px;
  background: none;
  cursor: pointer;
  transition: background-color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.slot:hover:not(:disabled) {
  border-color: var(--iron-hi);
}
.slot-t {
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}
.slot-n {
  font-size: 12px;
  color: var(--lamp);
}
.slot.is-late {
  border-color: rgba(243, 194, 122, 0.4);
}
.slot:disabled {
  opacity: 0.45;
  cursor: default;
}
.slot:disabled .slot-n {
  color: var(--muted);
}
.slot[aria-pressed='true'] {
  background: var(--lamp);
  border-color: var(--lamp);
  color: #1a140a;
}
.slot[aria-pressed='true'] .slot-n {
  color: #4a3410;
}
.count {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 8px 0;
}
.count p {
  margin: 0;
}
.count-name {
  font-size: 16px;
}
.count-name span {
  margin-left: 6px;
  color: var(--muted);
  font-size: 14px;
}
.count-help {
  font-size: 13px;
  color: var(--muted);
}
.stepper {
  display: flex;
  align-items: center;
  gap: 6px;
}
.stepper button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(237, 230, 214, 0.28);
  background: none;
  font-size: 20px;
  cursor: pointer;
}
.stepper button:disabled {
  opacity: 0.3;
  cursor: default;
}
.stepper output {
  min-width: 26px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.summary {
  padding: 22px 0;
}
.summary p {
  margin: 0 0 4px;
}
.summary .total {
  margin-top: 10px;
  font: 400 34px/1 var(--display);
  color: var(--lamp);
}
.late-tag {
  margin-left: 6px;
  padding: 3px 9px 2px;
  border: 1px solid var(--lamp);
  border-radius: 999px;
  font-size: 12px;
  color: var(--lamp);
  vertical-align: 2px;
}
.btn-block {
  width: 100%;
}
.btn:disabled {
  opacity: 0.4;
  box-shadow: none;
  cursor: default;
}
.sheet-done {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 6px;
  padding-bottom: 80px;
}
.sheet-done[hidden] {
  display: none;
}
.done-title {
  margin: 0 0 6px;
  font: 400 44px/1.05 var(--display);
  outline: none;
}
.sheet-done p {
  margin: 0 0 8px;
  max-width: 34ch;
}
.done-fine {
  font: italic 400 18px/1.45 var(--plate);
  color: var(--muted);
  margin-bottom: 26px !important;
}
.field {
  display: grid;
  gap: 8px;
  margin: 20px 0 0;
  font-size: 15px;
  color: var(--muted);
}
.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(237, 230, 214, 0.25);
  border-radius: 10px;
  background: rgba(220, 236, 240, 0.04);
  color: var(--text);
  font: 16px/1.4 var(--sans);
  color-scheme: dark;
}
.field input:focus-visible,
.field textarea:focus-visible {
  outline-offset: 1px;
  border-color: var(--lamp);
}
.field input[aria-invalid='true'] {
  border-color: #e39a6f;
}
.form-err {
  margin: 14px 0 0;
  color: #f0b18f;
  font-size: 14px;
}
.sheet .btn-block {
  margin-top: 24px;
}

/* gentle parallax on photographs where the browser supports scroll timelines */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .photo img,
    .after-bg img {
      animation: drift linear both;
      animation-timeline: view();
      scale: 1.08;
    }
  }
}
@keyframes drift {
  from {
    transform: translateY(-3%);
  }
  to {
    transform: translateY(3%);
  }
}

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .visit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .visit-pane:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }
  .after-inner {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 960px) {
  .house-grid,
  .orchid-grid,
  .desert-grid,
  .events {
    grid-template-columns: 1fr;
  }
  .house--palm .plate {
    margin-top: 0;
    width: min(76%, 360px);
  }
  .pair--offset {
    width: 100%;
  }
  .orchid-glass .plate {
    margin-right: 0;
  }
  .lily-plate {
    grid-template-columns: 1fr 1fr;
  }
  .lily-plate .plate {
    grid-column: 1 / -1;
    grid-row: 1;
  }
  .night--one {
    text-align: left;
  }
  .tiers {
    grid-template-columns: minmax(0, 380px);
  }
}
@media (max-width: 720px) {
  .pair--row {
    grid-template-columns: 1fr 1fr;
  }
  .pair--row .photo:nth-child(2) {
    grid-column: 1 / -1;
    grid-row: 1;
    aspect-ratio: 4 / 3;
  }
  .facts--center {
    grid-template-columns: 1fr;
  }
  .pair--small {
    width: 100%;
  }
  .nights {
    grid-template-columns: 1fr;
  }
  .nights li {
    border-radius: 120px 120px 4px 4px;
    padding: 26px 22px 22px;
  }
  .visit-grid {
    grid-template-columns: 1fr;
  }
  .visit-pane,
  .visit-pane:first-child,
  .visit-pane:nth-child(3) {
    border-left: 0;
    padding: 26px 0 4px;
    border-top: 1px solid rgba(127, 169, 154, 0.18);
  }
  .visit-pane:first-child {
    border-top: 0;
  }
  .address {
    text-align: left;
  }
  .after-inner {
    padding-top: 40vh;
  }
  .sheet {
    border-left: 0;
  }
  .day {
    min-height: 36px;
  }
}
@media (max-width: 400px) {
  .facts li {
    padding-left: 54px;
  }
  .lily-plate {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 720px) {
  .hero {
    padding-bottom: 72px;
    gap: 18px;
  }
  .hero h1 {
    font-size: clamp(30px, 9vw, 40px);
  }
  .hero .sub {
    font-size: 16px;
    margin-top: 8px;
  }
}
