:root {
  --ink: #14110e;
  --night: #1c1813;
  --bone: #f1ece4;
  --sand: #e4dbcf;
  --stone: #8a7e70;
  --umber: #4a3f34;
  --brass: #b8925a;
  --on-dark: #ece4d8;
  --on-dark-soft: rgba(236, 228, 216, 0.62);
  --hairline-dark: rgba(236, 228, 216, 0.16);
  --hairline: rgba(20, 17, 14, 0.14);
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, sans-serif;
  --gutter: clamp(1.25rem, 5vw, 4.5rem);
  --ease: cubic-bezier(0.22, 0.61, 0.21, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--on-dark);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
video {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin: 0;
}

em {
  font-style: italic;
}

h1 em,
h2 em {
  color: var(--brass);
}

.kicker {
  margin: 0 0 1.6rem;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--brass);
}

/* Navigation */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 1.6rem var(--gutter);
  transition: background 0.6s var(--ease), padding 0.6s var(--ease), border-color 0.6s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.is-solid {
  background: rgba(20, 17, 14, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding-block: 1rem;
  border-color: var(--hairline-dark);
}

.nav-links {
  display: flex;
  gap: 2.4rem;
}

.nav a {
  text-decoration: none;
}

.nav-links a,
.nav-reserve {
  font-size: 0.66rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
  transition: color 0.4s var(--ease);
}

.nav-links a:hover,
.nav-reserve:hover {
  color: var(--on-dark);
}

.wordmark {
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: 0.55em;
  margin-right: -0.55em;
  text-decoration: none;
  color: var(--on-dark);
}

.nav-reserve {
  justify-self: end;
  color: var(--on-dark);
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--brass);
}

/* I. Hero */

.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding: 0 var(--gutter) clamp(5rem, 12vh, 9rem);
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: url("/assets/concept/hero.jpg") 50% 12% / max(100%, 175vh) auto no-repeat;
  animation: drift 24s var(--ease) both;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 17, 14, 0.55) 0%, rgba(20, 17, 14, 0) 28%),
    linear-gradient(0deg, var(--ink) 0%, rgba(20, 17, 14, 0.2) 45%, rgba(20, 17, 14, 0) 70%);
}

@keyframes drift {
  from {
    transform: scale(1.12);
    opacity: 0;
  }
  12% {
    opacity: 1;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.hero-copy {
  max-width: 64rem;
}

.hero h1 {
  font-size: clamp(3rem, 6.6vw, 6.4rem);
  margin-bottom: 1.8rem;
}

.hero-sub {
  max-width: 26rem;
  margin: 0;
  font-size: 0.95rem;
  color: var(--on-dark-soft);
}

.fade {
  opacity: 0;
  transform: translateY(14px);
  animation: rise 1.6s var(--ease) forwards;
}

.fade:nth-child(1) { animation-delay: 0.9s; }
.fade:nth-child(2) { animation-delay: 1.2s; }
.fade:nth-child(3) { animation-delay: 1.6s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

.scroll-cue {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(5rem, 12vh, 9rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  font-size: 0.62rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
}

.scroll-cue i {
  display: block;
  width: 1px;
  height: 3.5rem;
  background: linear-gradient(var(--on-dark-soft), transparent);
  animation: cue 2.8s var(--ease) infinite;
  transform-origin: top;
}

@keyframes cue {
  0% { transform: scaleY(0); }
  50% { transform: scaleY(1); }
  100% { transform: scaleY(1); opacity: 0; }
}

/* II. Meaning */

.meaning {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
  padding: clamp(7rem, 18vh, 12rem) var(--gutter);
  max-width: 1320px;
  margin: 0 auto;
}

.breath {
  position: relative;
  aspect-ratio: 1;
  width: min(100%, 26rem);
  justify-self: center;
  display: grid;
  place-items: center;
}

.breath-ring {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px solid rgba(184, 146, 90, 0.45);
  background: radial-gradient(circle, rgba(184, 146, 90, 0.14) 0%, rgba(184, 146, 90, 0) 68%);
  animation: breathe 10s ease-in-out infinite;
}

.breath-ring--2 {
  inset: 0;
  border-color: rgba(184, 146, 90, 0.16);
  background: none;
  animation-delay: -0.4s;
}

/* 4s inhale, 6s exhale */
@keyframes breathe {
  0% { transform: scale(0.62); }
  40% { transform: scale(1); }
  100% { transform: scale(0.62); }
}

.breath-word {
  position: absolute;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(2.6rem, 5vw, 3.6rem);
  color: var(--on-dark);
  opacity: 0;
}

.breath-word--in { animation: word-in 10s ease-in-out infinite; }
.breath-word--out { animation: word-out 10s ease-in-out infinite; }

@keyframes word-in {
  0%, 36% { opacity: 1; }
  44%, 96% { opacity: 0; }
  100% { opacity: 1; }
}

@keyframes word-out {
  0%, 38% { opacity: 0; }
  48%, 88% { opacity: 1; }
  96%, 100% { opacity: 0; }
}

.meaning h2 {
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  margin-bottom: 2.2rem;
}

.meaning-copy p:not(.kicker) {
  max-width: 28rem;
  color: var(--on-dark-soft);
  margin: 0 0 1.1rem;
}

.meaning-copy p:last-child {
  color: var(--on-dark);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-style: italic;
}

/* III. Film */

.film {
  position: relative;
  padding: 0 var(--gutter);
}

.film-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  max-width: 1120px;
  margin: 0 auto;
  background: var(--night);
}

/* Scaled toward the upper-left so the source clip's corner watermark falls outside the frame. */
.film video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  transform-origin: 30% 30%;
}

.listen {
  position: absolute;
  left: max(calc(var(--gutter) + 1.6rem), calc(50% - 560px + 1.6rem));
  bottom: 1.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.75rem 1.2rem;
  border: 1px solid rgba(236, 228, 216, 0.4);
  border-radius: 999px;
  background: rgba(20, 17, 14, 0.35);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--on-dark);
  font: 500 0.64rem/1 var(--sans);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}

.listen:hover {
  background: rgba(20, 17, 14, 0.6);
  border-color: var(--on-dark);
}

.listen-bars {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 12px;
}

.listen-bars i {
  width: 2px;
  height: 3px;
  background: currentColor;
  transition: height 0.3s;
}

.listen[aria-pressed="true"] .listen-bars i {
  animation: eq 1.4s ease-in-out infinite;
}

.listen-bars i:nth-child(2) { animation-delay: -0.3s !important; }
.listen-bars i:nth-child(3) { animation-delay: -0.7s !important; }
.listen-bars i:nth-child(4) { animation-delay: -1s !important; }

@keyframes eq {
  0%, 100% { height: 3px; }
  50% { height: 12px; }
}

/* Light chapters */

.instrument,
.ritual,
.letter,
.makers {
  background: var(--bone);
  color: var(--ink);
}

.instrument .kicker,
.ritual .kicker,
.makers .kicker {
  color: var(--umber);
}

.instrument h2 em,
.ritual h2 em {
  color: var(--stone);
}

.instrument {
  margin-top: clamp(6rem, 14vh, 10rem);
  padding: clamp(7rem, 16vh, 11rem) var(--gutter) 0;
}

.section-head {
  max-width: 1320px;
  margin: 0 auto clamp(4rem, 10vh, 7rem);
}

.section-head h2 {
  font-size: clamp(2.6rem, 5.4vw, 4.8rem);
}

.chapter {
  max-width: 1320px;
  margin: 0 auto clamp(5rem, 14vh, 9rem);
  display: grid;
  grid-template-columns: 7fr 5fr;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.chapter--flip {
  grid-template-columns: 5fr 7fr;
}

.chapter--flip .chapter-media {
  order: 2;
}

.chapter-media {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--sand);
}

.chapter-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  transition: transform 2.4s var(--ease);
}

.chapter.in-view .chapter-media img {
  transform: scale(1);
}

.numeral {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--stone);
  margin-bottom: 1rem;
}

.chapter h3 {
  font-size: clamp(2.2rem, 3.6vw, 3.2rem);
  margin-bottom: 1.4rem;
}

.chapter-copy p {
  max-width: 26rem;
  margin: 0 0 1rem;
  color: var(--umber);
}

.chapter-copy .aside {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-style: italic;
  color: inherit;
}

.specs {
  margin: 2.2rem 0 0;
  max-width: 26rem;
  border-top: 1px solid var(--hairline);
}

.specs div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 0.82rem;
}

.specs dt {
  color: var(--stone);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.64rem;
  align-self: center;
}

.specs dd {
  margin: 0;
}

.chapter--dark {
  max-width: none;
  margin-inline: calc(var(--gutter) * -1);
  margin-bottom: 0;
  padding: clamp(5rem, 12vh, 8rem) var(--gutter);
  background: var(--ink);
  color: var(--on-dark);
}

.chapter--dark .chapter-media {
  background: var(--night);
}

.chapter--dark .chapter-copy p {
  color: var(--on-dark-soft);
}

.chapter--dark .chapter-copy .aside {
  color: var(--on-dark);
}

/* V. Ritual */

.ritual {
  padding: 0 0 clamp(6rem, 14vh, 10rem);
}

.ritual-media {
  margin: 0 0 clamp(4rem, 10vh, 7rem);
  width: 100%;
  aspect-ratio: 21 / 8;
  min-height: 18rem;
  overflow: hidden;
}

.ritual-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 50%;
}

.ritual .section-head {
  max-width: calc(1320px + var(--gutter) * 2);
  padding: 0 var(--gutter);
}

.hours {
  list-style: none;
  margin: 0 auto;
  padding: 0 var(--gutter);
  max-width: calc(1320px + var(--gutter) * 2);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 4rem);
}

.hours li {
  border-top: 1px solid var(--hairline);
  padding-top: 1.8rem;
}

.hours li:nth-child(2) { transition-delay: 0.15s; }
.hours li:nth-child(3) { transition-delay: 0.3s; }

.hour {
  font-size: 0.64rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--stone);
}

.hours h3 {
  font-size: 2.2rem;
  font-style: italic;
  margin: 0.8rem 0 1rem;
}

.hours p {
  margin: 0;
  color: var(--umber);
  max-width: 22rem;
}

/* VI. Letter */

.letter {
  padding: clamp(5rem, 12vh, 8rem) var(--gutter) clamp(7rem, 16vh, 11rem);
}

.letter blockquote {
  margin: 0 auto;
  max-width: 54rem;
  text-align: center;
}

.letter p {
  margin: 0 0 2.4rem;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.8rem, 3.4vw, 2.9rem);
  line-height: 1.25;
}

.letter footer {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.letter footer span {
  display: block;
  margin-top: 0.4rem;
  color: var(--stone);
}

/* VII. Edition */

.edition {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(8rem, 20vh, 13rem) var(--gutter);
}

.edition-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, var(--ink) 0%, rgba(20, 17, 14, 0.9) 38%, rgba(20, 17, 14, 0.05) 75%),
    url("/assets/concept/room.jpg") 60% 50% / cover no-repeat;
}

.edition-inner {
  max-width: 1320px;
  margin: 0 auto;
}

.edition h2 {
  font-size: clamp(2.6rem, 5.4vw, 4.8rem);
  margin-bottom: 2rem;
}

.edition-lede {
  max-width: 30rem;
  color: var(--on-dark-soft);
  margin: 0 0 3.5rem;
}

.ledger {
  margin: 0 0 3.5rem;
  max-width: 34rem;
  border-top: 1px solid var(--hairline-dark);
}

.ledger div {
  display: grid;
  grid-template-columns: 10rem 1fr;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--hairline-dark);
}

.ledger dt {
  font-size: 0.64rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
  align-self: center;
}

.ledger dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.35rem;
}

.ledger small {
  display: block;
  font-family: var(--sans);
  font-size: 0.72rem;
  color: var(--on-dark-soft);
  letter-spacing: 0.04em;
}

.reserve {
  display: inline-block;
  padding: 1.15rem 2.6rem;
  background: var(--on-dark);
  color: var(--ink);
  text-decoration: none;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  transition: background 0.5s var(--ease), color 0.5s var(--ease);
}

.reserve:hover {
  background: var(--brass);
  color: var(--ink);
}

.edition-note {
  margin: 1.2rem 0 0;
  font-size: 0.78rem;
  color: var(--on-dark-soft);
}

/* VIII. Makers */

.makers {
  padding: clamp(6rem, 14vh, 9rem) var(--gutter);
  text-align: center;
}

.makers h2 {
  max-width: 44rem;
  margin: 0 auto 2.4rem;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.25;
}

.text-link {
  font-size: 0.68rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-decoration: none;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid currentColor;
}

/* Footer */

.foot {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  padding: 3rem var(--gutter);
  border-top: 1px solid var(--hairline-dark);
}

.foot-line {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--on-dark-soft);
}

.foot nav {
  justify-self: end;
  display: flex;
  gap: 2rem;
}

.foot nav a {
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--on-dark-soft);
}

.foot nav a:hover {
  color: var(--on-dark);
}

/* Scroll reveal */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.4s var(--ease), transform 1.4s var(--ease);
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

/* Small screens */

@media (max-width: 860px) {
  .nav {
    grid-template-columns: 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .wordmark {
    justify-self: start;
  }

  .hero-media {
    background-position: 55% 14%;
    background-size: auto 46svh;
  }

  .hero-media::after {
    background:
      linear-gradient(180deg, rgba(20, 17, 14, 0.5) 0%, rgba(20, 17, 14, 0) 18%),
      linear-gradient(180deg, rgba(20, 17, 14, 0) 34%, var(--ink) 54%);
  }

  .scroll-cue {
    display: none;
  }

  .meaning,
  .chapter,
  .chapter--flip {
    grid-template-columns: 1fr;
  }

  .breath {
    width: min(78%, 20rem);
  }

  .chapter--flip .chapter-media {
    order: 0;
  }

  .film-frame {
    aspect-ratio: 4 / 5;
  }

  .listen {
    left: calc(var(--gutter) + 1rem);
    bottom: 1rem;
  }

  .hours {
    grid-template-columns: 1fr;
  }

  .ledger div {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .edition-media {
    background:
      linear-gradient(0deg, var(--ink) 30%, rgba(20, 17, 14, 0.75) 100%),
      url("/assets/concept/room.jpg") 50% 0 / auto 60% no-repeat;
  }

  .foot {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .foot .wordmark,
  .foot nav {
    justify-self: center;
  }

  .foot nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.2rem 1.6rem;
  }
}

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

  .fade,
  .reveal {
    opacity: 1;
    transform: none;
  }

  .breath-word--in {
    opacity: 1;
  }
}

/* Makers page */

.hero--page {
  min-height: 78svh;
  padding-top: 9rem;
  background: radial-gradient(ellipse at 70% 0%, rgba(184, 146, 90, 0.12) 0%, rgba(20, 17, 14, 0) 60%);
}

.hero--page .hero-sub {
  max-width: 34rem;
}

.roster {
  background: var(--bone);
  color: var(--ink);
  padding: clamp(5rem, 12vh, 8rem) var(--gutter);
}

.roster ul {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1320px;
  border-top: 1px solid var(--hairline);
}

.roster li {
  display: grid;
  grid-template-columns: 5fr 3fr 4fr;
  align-items: baseline;
  gap: clamp(1rem, 3vw, 3rem);
  padding: clamp(1.8rem, 4vh, 2.6rem) 0;
  border-bottom: 1px solid var(--hairline);
}

.roster h2 {
  font-size: clamp(2rem, 3.6vw, 3.2rem);
}

.roster-role {
  margin: 0;
  font-size: 0.66rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--umber);
}

.roster-note {
  margin: 0;
  color: var(--umber);
  max-width: 26rem;
}

.invite {
  display: grid;
  grid-template-columns: 7fr 5fr;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 6rem);
  max-width: calc(1320px + var(--gutter) * 2);
  margin: 0 auto;
  padding: clamp(6rem, 14vh, 10rem) var(--gutter);
}

.invite-media {
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--night);
}

.invite-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.invite h2 {
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  margin-bottom: 1.6rem;
}

.invite-copy p:not(.kicker) {
  color: var(--on-dark-soft);
  margin: 0 0 2.4rem;
}

@media (max-width: 860px) {
  .hero--page {
    min-height: 70svh;
  }

  .roster li,
  .invite {
    grid-template-columns: 1fr;
  }

  .roster li {
    gap: 0.6rem;
  }
}

/* Founding member page */

button.reserve,
button.text-link {
  border: 0;
  background: none;
  font-family: var(--sans);
  cursor: pointer;
  color: inherit;
}

button.reserve {
  background: var(--on-dark);
  color: var(--ink);
}

button.text-link {
  border-bottom: 1px solid currentColor;
  padding: 0 0 0.3rem;
}

.reserve:focus-visible,
.text-link:focus-visible {
  outline: 1px solid var(--brass);
  outline-offset: 4px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.member {
  justify-content: space-between;
  gap: 2rem;
}

.member h1 span,
.member h1 em {
  display: block;
}

.member h1 em {
  font-size: 0.5em;
  line-height: 1.2;
  margin-top: 0.6rem;
}

.member-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.6rem 2.4rem;
  margin-top: 2.6rem;
}

.member-number {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(5rem, 14vw, 13rem);
  line-height: 0.8;
  color: rgba(236, 228, 216, 0.14);
  font-variant-numeric: lining-nums tabular-nums;
}

.member-number span:first-child {
  font-size: 0.22em;
  font-style: italic;
  color: var(--brass);
  margin-right: 0.15em;
}

.certificate-wrap {
  background: var(--bone);
  color: var(--ink);
  padding: clamp(6rem, 14vh, 9rem) var(--gutter);
  display: grid;
  justify-items: center;
  gap: 2.4rem;
}

.certificate {
  width: min(100%, 44rem);
  padding: clamp(2.4rem, 6vw, 4.5rem) clamp(1.6rem, 6vw, 4.5rem);
  text-align: center;
  background: #f8f5f0;
  outline: 1px solid var(--hairline);
  outline-offset: -12px;
  border: 1px solid var(--hairline);
  box-shadow: 0 30px 60px -40px rgba(20, 17, 14, 0.35);
}

.certificate p {
  margin: 0;
}

.certificate-mark {
  display: block;
  justify-self: auto;
  margin-right: 0;
  padding-left: 0.55em;
  color: var(--ink);
  font-size: 1rem;
  margin-bottom: 2.6rem !important;
}

.certificate-lead {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--stone);
}

.certificate-name {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  line-height: 1.1;
  margin: 1rem 0 1.4rem !important;
  text-wrap: balance;
}

.certificate-body {
  max-width: 28rem;
  margin: 0 auto !important;
  color: var(--umber);
}

.certificate-foot {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--hairline);
  text-align: left;
}

.certificate-foot p {
  display: grid;
  gap: 0.2rem;
}

.certificate-foot span:first-child {
  font-size: 0.6rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--stone);
}

.certificate-foot em {
  font-family: var(--serif);
  font-size: 1.2rem;
}

.certificate-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem 2.4rem;
}

.certificate-actions .text-link {
  color: var(--ink);
}

.founder-note {
  padding: clamp(6rem, 14vh, 9rem) var(--gutter);
  max-width: calc(46rem + var(--gutter) * 2);
  margin: 0 auto;
}

.founder-note blockquote {
  margin: 0;
}

.founder-note blockquote p {
  margin: 0 0 1.4rem;
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  line-height: 1.35;
}

.founder-note blockquote p:nth-child(2) {
  color: var(--on-dark-soft);
}

.founder-note footer {
  margin-top: 2.2rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.6rem;
}

.founder-note footer span {
  display: block;
  font-family: var(--sans);
  font-style: normal;
  font-size: 0.64rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--on-dark-soft);
}

.helped {
  background: var(--bone);
  color: var(--ink);
  padding: clamp(6rem, 14vh, 9rem) var(--gutter);
}

/* Follows the certificate on the same background, so one gap is enough. */
.certificate-wrap + .helped {
  padding-top: 0;
}

.helped .kicker {
  color: var(--umber);
}

.helped h2 em {
  color: var(--stone);
}

.helped-grid {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1320px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.6rem, 3vw, 3rem);
}

.helped-grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  margin-bottom: 1.4rem;
}

.helped-grid h3 {
  font-size: 1.9rem;
  margin-bottom: 0.6rem;
}

.helped-grid p {
  margin: 0;
  color: var(--umber);
}

.member-status {
  padding: clamp(6rem, 14vh, 9rem) var(--gutter);
}

.member-status-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
}

.member-status h2 {
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
}

.member-status .ledger {
  margin-bottom: 1.8rem;
}

.member-status .ledger dd {
  font-variant-numeric: lining-nums;
}

.member-status-note {
  margin: 0;
  font-size: 0.85rem;
  color: var(--on-dark-soft);
}

.wall {
  background: var(--bone);
  color: var(--ink);
  padding: clamp(6rem, 14vh, 9rem) var(--gutter);
  text-align: center;
}

.wall .kicker {
  color: var(--umber);
}

.wall h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin-bottom: 1.6rem;
}

.wall h2 em {
  color: var(--stone);
}

.wall-lede {
  max-width: 32rem;
  margin: 0 auto 3rem;
  color: var(--umber);
}

.wall-meter {
  max-width: 34rem;
  margin: 0 auto 3.4rem;
}

.wall-progress-text {
  margin: 0 0 0.9rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-variant-numeric: lining-nums tabular-nums;
}

.wall-progress {
  height: 1px;
  background: var(--hairline);
}

.wall-progress-fill {
  display: block;
  height: 3px;
  margin-top: -1px;
  min-width: 3px;
  background: var(--brass);
}

.wall-share {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 1rem 2rem;
}

.wall-share span {
  font-size: 0.66rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--stone);
}

.wall-share .text-link {
  color: var(--ink);
}

.copy-toast {
  position: fixed;
  left: 50%;
  bottom: 2rem;
  z-index: 30;
  padding: 0.9rem 1.4rem;
  background: var(--on-dark);
  color: var(--ink);
  font-size: 0.8rem;
  transform: translate(-50%, 1rem);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease);
}

.copy-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 860px) {
  .member {
    flex-direction: column-reverse;
    align-items: flex-start;
    justify-content: flex-end;
  }

  .helped-grid,
  .member-status-inner {
    grid-template-columns: 1fr;
  }

  .certificate-foot {
    flex-direction: column;
    text-align: center;
  }
}

[hidden] {
  display: none !important;
}

main,
.foot {
  transition: opacity 0.8s var(--ease);
}

.is-loading main,
.is-loading .foot {
  opacity: 0;
}

.member-missing {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 8rem var(--gutter);
  max-width: calc(44rem + var(--gutter) * 2);
}

.member-missing h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  margin-bottom: 2rem;
}

.member-missing p:not(.kicker) {
  margin: 0 0 1rem;
  color: var(--on-dark-soft);
}

.member-missing .text-link {
  margin-top: 1.6rem;
}

/* Studio page */

.studio-hero .hero-media {
  background-image: url("/assets/concept/room.jpg");
  background-size: max(100%, 190vh) auto;
  background-position: 50% 0;
  /* The photograph is a wide strip (about 4:1); fade it out well before its lower edge. */
  -webkit-mask-image: linear-gradient(#000 0, #000 calc(max(25vw, 47.5vh) * 0.55), transparent calc(max(25vw, 47.5vh) * 0.95));
  mask-image: linear-gradient(#000 0, #000 calc(max(25vw, 47.5vh) * 0.55), transparent calc(max(25vw, 47.5vh) * 0.95));
}

.ensemble {
  display: grid;
  grid-template-columns: 5fr 6fr;
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
  max-width: calc(1320px + var(--gutter) * 2);
  margin: 0 auto;
  padding: clamp(7rem, 16vh, 11rem) var(--gutter);
}

.ensemble-figure {
  margin: 0;
  width: min(100%, 30rem);
  justify-self: center;
}

.ensemble-figure svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.ensemble-lines line {
  stroke: var(--hairline-dark);
  stroke-width: 1;
}

.ensemble-rings circle {
  fill: var(--ink);
  stroke: rgba(184, 146, 90, 0.35);
  stroke-width: 1;
  animation: ensemble-pulse 7s ease-in-out infinite;
}

.ensemble-hub {
  fill: var(--night);
  stroke: var(--brass);
  stroke-width: 1;
}

.ensemble-hub-core {
  fill: var(--brass);
}

/* One instrument after another takes the tone, once around the circle every seven seconds. */
@keyframes ensemble-pulse {
  0%, 22%, 100% {
    stroke: rgba(184, 146, 90, 0.35);
    fill: var(--ink);
  }
  8% {
    stroke: var(--brass);
    fill: rgba(184, 146, 90, 0.22);
  }
}

.ensemble h2 {
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  margin-bottom: 3rem;
}

.ensemble-parts {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--hairline-dark);
}

.ensemble-parts li {
  display: grid;
  grid-template-columns: 3.5rem 1fr;
  column-gap: 1rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--hairline-dark);
}

.ensemble-parts .numeral {
  grid-row: span 2;
  color: var(--brass);
  margin: 0.35rem 0 0;
}

.ensemble-parts h3 {
  font-size: 1.9rem;
  margin-bottom: 0.4rem;
}

.ensemble-parts p {
  margin: 0;
  max-width: 30rem;
  color: var(--on-dark-soft);
}

.studio-for {
  background: var(--bone);
  color: var(--ink);
  padding: clamp(6rem, 14vh, 9rem) var(--gutter);
}

.studio-for .kicker {
  color: var(--umber);
}

.studio-for h2 em {
  color: var(--stone);
}

.studio-for-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1320px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 4vw, 4rem);
}

.studio-for-list li {
  border-top: 1px solid var(--hairline);
  padding-top: 1.8rem;
}

.studio-for-list h3 {
  font-size: 2rem;
  font-style: italic;
  margin-bottom: 1rem;
}

.studio-for-list p {
  margin: 0;
  color: var(--umber);
  max-width: 22rem;
}

.studio-plan {
  padding: clamp(7rem, 16vh, 11rem) var(--gutter);
  background: radial-gradient(ellipse at 85% 100%, rgba(184, 146, 90, 0.1) 0%, rgba(20, 17, 14, 0) 55%);
}

.studio-plan-inner {
  max-width: 1320px;
  margin: 0 auto;
}

.studio-plan h2 {
  font-size: clamp(2.6rem, 5.4vw, 4.8rem);
  margin-bottom: 2rem;
}

@media (max-width: 860px) {
  .studio-hero .hero-media {
    background-size: auto 46svh;
    background-position: 50% 14%;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .ensemble,
  .studio-for-list {
    grid-template-columns: 1fr;
  }

  .ensemble-figure {
    width: min(80%, 22rem);
  }
}

/* Reserve chooser */

.chooser {
  width: min(100% - 2rem, 36rem);
  max-height: calc(100svh - 2rem);
  padding: 0;
  border: 1px solid var(--hairline-dark);
  background: var(--night);
  color: var(--on-dark);
  overflow: auto;
}

.chooser::backdrop {
  background: rgba(20, 17, 14, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.chooser[open] {
  animation: chooser-in 0.6s var(--ease);
}

@keyframes chooser-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}

.chooser-inner {
  position: relative;
  padding: clamp(2rem, 6vw, 3.2rem);
}

.chooser-close {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  border: 0;
  background: none;
  color: var(--on-dark-soft);
  font: 300 2rem/1 var(--serif);
  cursor: pointer;
}

.chooser-close:hover,
.chooser-close:focus-visible {
  color: var(--on-dark);
}

.chooser h2 {
  font-size: clamp(2.2rem, 6vw, 3rem);
  margin-bottom: 2rem;
}

.chooser-options {
  margin: 0 0 1.6rem;
  padding: 0;
  border: 0;
  display: grid;
  gap: 0.8rem;
}

.chooser-option {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 1rem;
  padding: 1.3rem 1.2rem;
  border: 1px solid var(--hairline-dark);
  cursor: pointer;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}

.chooser-option:hover {
  border-color: rgba(236, 228, 216, 0.35);
}

.chooser-option:has(input:checked) {
  border-color: var(--brass);
  background: rgba(184, 146, 90, 0.08);
}

.chooser-option:has(input:disabled) {
  cursor: default;
  opacity: 0.55;
}

.chooser-option:has(input:focus-visible) {
  outline: 1px solid var(--brass);
  outline-offset: 3px;
}

.chooser-option input {
  appearance: none;
  width: 1rem;
  height: 1rem;
  margin: 0.45rem 0 0;
  border: 1px solid var(--on-dark-soft);
  border-radius: 50%;
}

.chooser-option input:checked {
  border-color: var(--brass);
  background: radial-gradient(circle, var(--brass) 0 45%, transparent 50%);
}

.chooser-option-body {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

.chooser-option-name {
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.2;
}

.chooser-option-note {
  font-size: 0.85rem;
  color: var(--on-dark-soft);
}

.chooser-option-soon {
  font-size: 0.62rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brass);
}

.chooser-option-price {
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.2;
  font-variant-numeric: lining-nums;
}

.chooser-note {
  margin: 0 0 1.8rem;
  font-size: 0.8rem;
  color: var(--on-dark-soft);
}

.chooser-continue {
  width: 100%;
  text-align: center;
}

.chooser-continue:disabled {
  opacity: 0.5;
  cursor: default;
}
