:root {
  --void: #0c0b09;
  --void-soft: #13110e;
  --panel: #1a1712;
  --panel-lift: #221e18;
  --line: rgba(201, 169, 110, 0.24);
  --line-strong: rgba(201, 169, 110, 0.52);
  --gold: #c9a96e;
  --gold-deep: #9a7a42;
  --champagne: #efe4d0;
  --ivory: #f6efe3;
  --muted: #9a9080;
  --danger: #c9957d;
  --ok: #a8b894;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.42);
  --display: "Playfair Display", "Palatino Linotype", Palatino, serif;
  --body: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --wide: 1160px;
  --prose: 42rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(900px 520px at 88% -8%, #1f1a14 0%, transparent 55%),
    radial-gradient(700px 480px at -8% 12%, #18140f 0%, var(--void) 58%);
  color: var(--ivory);
  font-family: var(--body);
  font-size: 1.05rem;
  font-weight: 400;
  line-height: 1.72;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  transition: color 0.35s var(--ease), opacity 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease);
}

a:hover {
  color: var(--champagne);
}

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.16;
  color: var(--ivory);
  margin: 0 0 0.65em;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 5.1rem);
  font-weight: 400;
}

h2 {
  font-size: clamp(1.75rem, 3.1vw, 2.65rem);
}

h3 {
  font-size: 1.42rem;
}

p {
  margin: 0 0 1.1em;
  color: var(--champagne);
}

ul,
ol {
  padding-left: 1.2em;
  color: var(--champagne);
}

.kicker {
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.85rem;
}

.wrap {
  width: min(var(--wide), calc(100% - 2.4rem));
  margin-inline: auto;
}

.prose {
  max-width: var(--prose);
}

.lede {
  font-family: var(--display);
  font-size: clamp(1.22rem, 2.1vw, 1.55rem);
  font-style: italic;
  font-weight: 400;
  color: var(--ivory);
  max-width: 38rem;
  line-height: 1.45;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: var(--gold);
  color: var(--void);
  padding: 0.5rem 0.8rem;
  z-index: 80;
}

.skip-link:focus {
  top: 0.6rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: rgba(12, 11, 9, 0.78);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  width: min(var(--wide), calc(100% - 2.4rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  padding: 0.95rem 0;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ivory);
  text-decoration: none;
}

.logo:hover {
  color: var(--gold);
}

.logo-mark {
  color: var(--gold);
  display: flex;
}

.logo-word {
  font-family: var(--display);
  font-size: 1.32rem;
  font-style: italic;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 1.2rem;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.96rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--gold);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  width: 2.6rem;
  height: 2.4rem;
  padding: 0.45rem 0.5rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 1px;
  background: var(--gold);
  margin: 0.32rem 0;
}

.site-footer {
  margin-top: 5.5rem;
  border-top: 1px solid var(--line);
  background: var(--void-soft);
  padding: 3.6rem 0 1.8rem;
}

.footer-inner {
  width: min(var(--wide), calc(100% - 2.4rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.45fr 1fr 1fr 1fr;
  gap: 2rem;
}

.footer-name {
  font-family: var(--display);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--ivory);
}

.footer-label {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.7rem;
}

.footer-tag,
.footer-address {
  color: var(--muted);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: 0.38rem;
}

.footer-col a {
  color: var(--champagne);
  text-decoration: none;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-base {
  width: min(var(--wide), calc(100% - 2.4rem));
  margin: 2.4rem auto 0;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.btn {
  display: inline-block;
  border: 1px solid var(--gold);
  color: var(--champagne);
  background: transparent;
  padding: 0.72rem 1.28rem;
  font-family: var(--display);
  font-size: 1.02rem;
  letter-spacing: 0.06em;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
}

.btn:hover {
  background: var(--gold);
  color: var(--void);
}

.btn-gold {
  background: var(--gold);
  color: var(--void);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: var(--champagne);
}

.btn-ghost {
  border-color: var(--muted);
  color: var(--ivory);
}

.gold-rule {
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 1.4rem 0 1.6rem;
}

.plate {
  position: relative;
}

.plate img {
  width: 100%;
  object-fit: cover;
  filter: saturate(0.62) contrast(1.06);
  border: 1px solid var(--line);
}

.plate figcaption,
.plate-caption {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  right: 1rem;
  background: rgba(12, 11, 9, 0.74);
  padding: 0.65rem 0.85rem;
  font-size: 0.88rem;
  color: var(--gold);
  font-style: italic;
}

.opening {
  padding: 2.2rem 0 1.2rem;
}

.opening-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--gold);
  font-size: 0.86rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.6rem;
}

.opening-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 2.4rem;
  align-items: end;
}

.opening h1 {
  font-style: italic;
  max-width: 14ch;
}

.contents-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  border-top: 1px solid var(--line);
}

.contents-list li {
  display: grid;
  grid-template-columns: 2.2rem 1fr auto;
  gap: 0.8rem;
  align-items: baseline;
  padding: 0.72rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--champagne);
}

.contents-list a {
  text-decoration: none;
  color: inherit;
}

.contents-list a:hover {
  color: var(--gold);
}

.contents-list span {
  color: var(--gold);
  font-family: var(--display);
}

.hero-plate img {
  height: 36rem;
}

.journal-strip {
  padding: 3.4rem 0 1rem;
}

.journal-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.4rem;
}

.article-row {
  display: grid;
  grid-template-columns: 9.5rem 1fr auto;
  gap: 1.4rem;
  align-items: center;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}

.article-row time {
  color: var(--gold);
  letter-spacing: 0.08em;
  font-size: 0.9rem;
}

.article-row h3 {
  margin: 0 0 0.2rem;
  font-size: 1.4rem;
}

.article-row p {
  margin: 0;
  color: var(--muted);
}

.article-row em {
  color: var(--gold);
  font-style: italic;
  font-family: var(--display);
}

.voices-band {
  padding: 3.6rem 0;
}

.voices-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr 0.9fr;
  gap: 1.2rem;
}

.quote {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 1.55rem 1.6rem 1.4rem;
}

.quote.featured {
  background: linear-gradient(180deg, #241e16, var(--panel));
  border-color: var(--line-strong);
}

.quote blockquote {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-size: 1.28rem;
  font-style: italic;
  line-height: 1.4;
  color: var(--ivory);
}

.quote.featured blockquote {
  font-size: 1.55rem;
}

.quote cite {
  color: var(--muted);
  font-style: normal;
  font-size: 0.94rem;
}

.stars {
  color: var(--gold);
  letter-spacing: 0.14em;
  margin-bottom: 0.65rem;
}

.spotlight {
  padding: 2rem 0 3.5rem;
}

.spotlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.8rem;
  align-items: center;
}

.spotlight img {
  width: 100%;
  height: 28rem;
  object-fit: cover;
  border: 1px solid var(--line);
  filter: saturate(0.68) contrast(1.05);
}

.module-list {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 1.6rem;
}

.module-list li {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 0.7rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
}

.module-list span {
  color: var(--gold);
  font-family: var(--display);
}

.house-rules {
  padding: 3rem 0 2rem;
}

.rule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
}

.rule-card {
  border-top: 1px solid var(--gold);
  padding-top: 1.1rem;
}

.rule-card h3 {
  font-size: 1.35rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  transition: transform 0.45s var(--ease), border-color 0.45s var(--ease);
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--line-strong);
}

.card a.card-link {
  display: block;
  color: inherit;
  text-decoration: none;
  height: 100%;
}

.card img {
  width: 100%;
  height: 13.2rem;
  object-fit: cover;
  filter: saturate(0.7);
}

.card-body {
  padding: 1.25rem 1.3rem 1.45rem;
}

.card-body h3 {
  font-size: 1.48rem;
  margin-bottom: 0.35rem;
}

.card-body p {
  color: var(--muted);
  margin-bottom: 0.7rem;
}

.meta-row {
  display: flex;
  gap: 1rem;
  color: var(--gold);
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  margin-bottom: 0.45rem;
}

.section {
  padding: 3.6rem 0;
}

.section-panel {
  background: linear-gradient(180deg, transparent, rgba(26, 23, 18, 0.88) 10%, rgba(26, 23, 18, 0.88));
}

.letter {
  padding: 3.2rem 0 4rem;
}

.letter h2 {
  max-width: 18ch;
}

.page-hero {
  padding: 3.6rem 0 1.8rem;
}

.page-hero h1 {
  max-width: 16ch;
}

.page-hero.with-image {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.4rem;
  align-items: end;
}

.page-hero.with-image img {
  width: 100%;
  height: 22rem;
  object-fit: cover;
  border: 1px solid var(--line);
  filter: saturate(0.7);
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.6rem;
  align-items: start;
  padding: 1.5rem 0 2.5rem;
}

.split img {
  width: 100%;
  height: 24rem;
  object-fit: cover;
  border: 1px solid var(--line);
  filter: saturate(0.7);
}

.amount {
  font-family: var(--display);
  font-size: 2.5rem;
  color: var(--gold);
  margin: 0.2rem 0 0.8rem;
}

.aside-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 1.5rem 1.5rem 1.6rem;
}

.modules {
  counter-reset: module;
  padding: 1rem 0 2rem;
}

.modules article {
  list-style: none;
  margin: 0 0 0.2rem;
  padding: 1.15rem 0 1.15rem 4.4rem;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.modules article::before {
  counter-increment: module;
  content: counter(module, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1.15rem;
  color: var(--gold);
  font-family: var(--display);
  font-size: 1.28rem;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}

.faq summary {
  cursor: pointer;
  font-family: var(--display);
  font-size: 1.22rem;
  color: var(--ivory);
}

.faq p {
  margin-top: 0.7rem;
}

.instructor {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 1.5rem;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 1.2rem;
  margin: 1.5rem 0 2.5rem;
}

.instructor img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  filter: saturate(0.68);
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  align-items: stretch;
  padding-bottom: 2.5rem;
}

.price-card {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 1.75rem 1.55rem 1.9rem;
  display: flex;
  flex-direction: column;
}

.price-card.is-featured {
  border-color: var(--gold);
  background: linear-gradient(180deg, #261f16, var(--panel));
}

.price-card ul {
  color: var(--muted);
  flex: 1;
}

.form {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 1.7rem;
}

.field {
  margin-bottom: 1.05rem;
}

.field label {
  display: block;
  margin-bottom: 0.32rem;
  color: var(--gold);
}

.field input,
.field textarea,
.field select {
  width: 100%;
  background: var(--void);
  border: 1px solid var(--line);
  color: var(--ivory);
  padding: 0.68rem 0.78rem;
  font: inherit;
}

.field textarea {
  min-height: 9rem;
  resize: vertical;
}

.field-error {
  display: block;
  color: var(--danger);
  font-size: 0.92rem;
  margin-top: 0.28rem;
  min-height: 1.1em;
}

.form-status {
  min-height: 1.4em;
  margin-top: 0.8rem;
}

.form-status.is-success {
  color: var(--ok);
}

.form-status.is-error {
  color: var(--danger);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.4rem;
  padding-bottom: 3rem;
}

.address-block {
  border: 1px solid var(--line);
  padding: 1.5rem;
  background: var(--panel);
}

.cookie-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.4rem 0 2rem;
  font-size: 0.97rem;
}

.cookie-table th,
.cookie-table td {
  border: 1px solid var(--line);
  padding: 0.68rem 0.78rem;
  text-align: left;
  vertical-align: top;
}

.cookie-table th {
  color: var(--gold);
  font-weight: 500;
}

.legal h2 {
  margin-top: 2rem;
}

.empty-page {
  min-height: 58vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 4rem 1rem;
}

.cookie-banner {
  position: fixed;
  z-index: 60;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  max-width: 42rem;
  margin-inline: auto;
  background: var(--panel-lift);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
  padding: 1.2rem 1.3rem 1.3rem;
}

.cookie-actions {
  display: flex;
  gap: 0.7rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.inline-error {
  background: #3a241c;
  color: #f3dcd3;
  border-bottom: 1px solid var(--danger);
  padding: 0.8rem 1.2rem;
  margin: 0;
}

.case {
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 1.75rem;
  margin-bottom: 1.4rem;
}

.muted {
  color: var(--muted);
}

.blog-cover img {
  width: 100%;
  height: 22rem;
  object-fit: cover;
  border: 1px solid var(--line);
  filter: saturate(0.72);
  margin: 0.4rem 0 1.8rem;
}

.article-meta {
  color: var(--gold);
  letter-spacing: 0.08em;
  font-size: 0.92rem;
  margin-bottom: 1.2rem;
}

.ledger-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0 2rem;
}

.ledger-table th,
.ledger-table td {
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 0.4rem;
  text-align: left;
}

.ledger-table th {
  color: var(--gold);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .opening-grid,
  .voices-grid,
  .spotlight-grid,
  .card-grid,
  .rule-grid,
  .price-grid,
  .contact-grid,
  .footer-inner,
  .split,
  .page-hero.with-image,
  .instructor {
    grid-template-columns: 1fr;
  }

  .hero-plate img,
  .spotlight img,
  .page-hero.with-image img,
  .split img,
  .blog-cover img {
    height: 18rem;
  }

  .article-row {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto 0;
    background: rgba(12, 11, 9, 0.96);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1.2rem 1.35rem;
    flex-direction: column;
    gap: 0.7rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .opening-meta {
    flex-direction: column;
  }
}
