/* Arcana Mentis. System serif, parchment on ink. No webfonts. */

:root {
  --ink: #12100e;
  --ink-soft: #1c1814;
  --parchment: #f3e7d1;
  --parchment-edge: #e4d3b4;
  --parchment-deep: #e7d7bc;
  --ink-text: #241c16;
  --rule: rgba(36, 28, 22, 0.22);
  --gold: #b08948;
  --gold-soft: #cbb892;
  --oxblood: #5c1826;
  --header-text: #f3e7d1;
  --header-muted: #cbb892;
  --serif: "Iowan Old Style", Palatino, "Palatino Linotype", "Book Antiqua", Georgia, "Times New Roman", ui-serif, serif;
  --measure: 65ch;
  --frame: 76rem;
  --tap: 2.75rem;
  /* Clear sticky header (+ rooms row) when jumping to in-page anchors */
  --anchor-offset: 6.75rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: var(--anchor-offset);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1.7;
  background:
    radial-gradient(1100px 420px at 50% -8%, #2c241c 0%, transparent 58%),
    var(--ink);
  color: var(--header-text);
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--oxblood);
  color: var(--parchment);
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  transform: translateY(-160%);
  z-index: 60;
  padding: 0.45rem 0.75rem;
  background: var(--parchment);
  color: var(--ink-text);
  text-decoration: none;
}

.skip-link:focus {
  transform: none;
}

.frame {
  width: min(100% - 1.5rem, var(--frame));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--ink);
  border-bottom: 1px solid rgba(176, 137, 72, 0.45);
}

.site-header .frame {
  padding: 0.85rem 0 0.35rem;
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.brand {
  color: var(--header-text);
  text-decoration: none;
}

.brand-name {
  display: block;
  font-size: 1.35rem;
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.brand-note {
  display: block;
  margin-top: 0.15rem;
  color: var(--header-muted);
  font-size: 0.82rem;
  font-style: italic;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.55rem;
  min-height: var(--tap);
  padding: 0.35rem 0.7rem;
  border: 1px solid rgba(243, 231, 209, 0.45);
  background: transparent;
  color: var(--header-text);
  font: inherit;
  font-size: 0.95rem;
  cursor: pointer;
}

.js .nav-toggle {
  display: inline-flex;
}

.nav-toggle-bars {
  position: relative;
  width: 1rem;
  height: 1px;
  background: currentColor;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 1rem;
  height: 1px;
  background: currentColor;
}

.nav-toggle-bars::before {
  top: -0.34rem;
}

.nav-toggle-bars::after {
  top: 0.34rem;
}

.site-nav {
  padding: 0.35rem 0 0.85rem;
}

.js .site-nav {
  display: none;
}

.js .site-nav.is-open {
  display: block;
}

.nav-label {
  margin: 0.85rem 0 0.15rem;
  color: var(--header-muted);
  font-size: 0.78rem;
  font-variant: small-caps;
  letter-spacing: 0.12em;
}

.site-nav ul,
.site-footer ul,
.topic-map,
.toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-main a,
.nav-topics a,
.footer-links a {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: var(--tap);
  color: var(--header-text);
  text-decoration: none;
}

.nav-main a {
  font-size: 1rem;
  font-variant: small-caps;
  letter-spacing: 0.06em;
}

.nav-topics a {
  font-size: 1.02rem;
}

.site-header a:hover,
.site-footer a:hover,
.toc a:hover {
  color: var(--gold);
}

.site-nav a[aria-current="page"],
.site-footer a[aria-current="page"] {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 0.28em;
}

.sheet-wrap {
  width: min(100% - 1.5rem, var(--frame));
  margin-inline: auto;
  padding: 1.25rem 0 1.75rem;
}

.sheet {
  width: min(100%, calc(var(--measure) + 2.6rem));
  margin: 0 auto;
  padding: 1.35rem 1.15rem 1.6rem;
  border: 1px solid var(--parchment-edge);
  border-top: 3px solid var(--gold);
  background:
    linear-gradient(180deg, rgba(255, 252, 246, 0.55), rgba(255, 252, 246, 0) 2.4rem),
    var(--parchment);
  color: var(--ink-text);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.32);
}

.prose {
  font-size: 1.0625rem;
  line-height: 1.7;
}

.sheet h1,
.sheet h2,
.sheet h3 {
  scroll-margin-top: var(--anchor-offset);
  font-weight: 500;
  line-height: 1.2;
}

.sheet [id] {
  scroll-margin-top: var(--anchor-offset);
}

.sheet h1 {
  margin: 0 0 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--rule);
  font-size: clamp(1.85rem, 6vw, 2.65rem);
  letter-spacing: 0.01em;
}

.sheet h2 {
  margin: 1.65rem 0 0.45rem;
  font-size: 1.35rem;
  letter-spacing: 0;
  text-transform: none;
}

.sheet h3 {
  margin: 1.25rem 0 0.35rem;
  font-size: 1.12rem;
}

.sheet p {
  margin: 0 0 0.85rem;
}

.sheet p:last-child {
  margin-bottom: 0;
}

.lead {
  font-size: 1.2rem;
  line-height: 1.55;
}

.crumbs {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
}

.season-list,
.resources-list {
  margin: 0.35rem 0 1rem;
  padding-left: 1.25rem;
}

.season-list li + li,
.resources-list li + li {
  margin-top: 0.45rem;
}

.sheet a {
  color: var(--oxblood);
  text-underline-offset: 0.18em;
}

.sheet a:hover:not(.cta) {
  color: #3d0e18;
}

.stub {
  font-style: italic;
}

.topic-map li {
  border-top: 1px solid var(--rule);
}

.topic-map li:last-child {
  border-bottom: 1px solid var(--rule);
}

.topic-map a {
  display: flex;
  align-items: center;
  min-height: var(--tap);
  color: var(--ink-text);
  font-size: 1.05rem;
  text-decoration: none;
}

.topic-map a:hover,
.topic-map a:focus-visible {
  color: var(--oxblood);
}

.toc {
  margin: 0 0 1.2rem;
  padding: 0.75rem 0.95rem 0.85rem;
  border: 1px solid var(--rule);
  background: rgba(255, 252, 246, 0.55);
  font-size: 0.98rem;
}

.toc-label {
  margin: 0 0 0.35rem;
  color: var(--oxblood);
  font-variant: small-caps;
  letter-spacing: 0.08em;
}

.toc ol {
  padding-left: 1.15rem;
  list-style: decimal;
}

.toc li {
  margin: 0.15rem 0;
}

.toc a {
  color: var(--ink-text);
  text-decoration: none;
}

.toc a:hover,
.toc a:focus-visible {
  text-decoration: underline;
}

.cta {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  margin: 0.35rem 0;
  padding: 0.35rem 0.9rem;
  border: 1px solid var(--oxblood);
  background: transparent;
  color: var(--oxblood);
  font: inherit;
  text-decoration: none;
}

.cta:hover,
.cta:focus-visible,
a.cta:hover,
a.cta:focus-visible,
button.cta:hover,
button.cta:focus-visible {
  background: var(--oxblood);
  color: var(--parchment);
}

/* Beat .sheet a:hover so filled CTAs keep parchment labels */
.sheet a.cta:hover,
.sheet a.cta:focus-visible {
  color: var(--parchment);
}

.card-grid {
  display: grid;
  gap: 0.85rem;
  margin: 1rem 0;
}

.product-card {
  margin: 0;
  padding: 0.9rem 0.95rem 1rem;
  border: 1px solid var(--rule);
  background: rgba(255, 252, 246, 0.45);
}

.product-card h2,
.product-card h3 {
  margin: 0 0 0.35rem;
  padding: 0;
  border: 0;
  font-size: 1.15rem;
}

.coming {
  display: inline-block;
  margin: 0.1rem 0 0.45rem;
  padding: 0.08rem 0.45rem 0.12rem;
  border: 1px solid var(--gold);
  color: var(--oxblood);
  font-size: 0.78rem;
  font-variant: small-caps;
  letter-spacing: 0.08em;
  line-height: 1.4;
}

.price {
  margin: 0 0 0.4rem;
  color: var(--oxblood);
  font-variant: small-caps;
  letter-spacing: 0.06em;
}

.price .planned {
  margin-left: 0.35rem;
  font-style: italic;
  font-variant: normal;
  font-size: 0.92rem;
  letter-spacing: 0;
  text-transform: none;
}

.product-card .room,
.product-card .format,
.product-card .card-note {
  font-size: 0.95rem;
}

.product-card .format {
  font-style: italic;
}

.tier-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  margin: 0.2rem 0 1rem;
}

.tier-jump a {
  font-variant: small-caps;
  letter-spacing: 0.06em;
}

.definition {
  margin: 0 0 1rem;
}

.definition dt {
  font-variant: small-caps;
  letter-spacing: 0.04em;
}

.definition dd {
  margin: 0.25rem 0 0.85rem;
  padding-left: 0.85rem;
  border-left: 3px solid var(--gold);
}

.disclaimer {
  margin: 1rem 0;
  padding: 0.85rem 0.95rem;
  border: 1px solid var(--rule);
  border-left: 3px solid var(--oxblood);
  background: rgba(92, 24, 38, 0.06);
  font-style: normal;
  font-size: 0.98rem;
}

.path-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin: 0.4rem 0 1.15rem;
  padding: 0;
  list-style: none;
}

.path-card {
  margin: 0;
  padding: 0.9rem 0.95rem 1rem;
  border: 1px solid var(--parchment-edge);
  border-left: 3px solid var(--gold);
  background: rgba(255, 252, 246, 0.55);
}

.path-card h2 {
  margin: 0 0 0.35rem;
  padding: 0;
  border: 0;
  font-size: 1.2rem;
}

.path-card .lead {
  margin: 0 0 0.45rem;
  font-size: 1.05rem;
  line-height: 1.5;
}

.path-card p:last-child {
  margin-bottom: 0;
}

.path-steps {
  margin: 0.35rem 0 1.15rem;
  padding-left: 1.35rem;
}

.path-steps li + li {
  margin-top: 0.75rem;
}

.path-steps li::marker {
  color: var(--oxblood);
}

ol.path-steps:has(> .path-card) {
  padding-left: 0;
  list-style: none;
}

ol.path-steps > li.path-card + li.path-card {
  margin-top: 0.85rem;
}

.waitlist {
  margin-top: 1rem;
  padding: 0.85rem 0.95rem;
  border: 1px dashed rgba(36, 28, 22, 0.4);
  background: var(--parchment-deep);
}

.waitlist label {
  display: block;
  margin: 0.35rem 0 0.3rem;
}

.waitlist input {
  width: min(100%, 28rem);
  min-height: var(--tap);
  padding: 0.4rem 0.65rem;
  border: 1px solid var(--rule);
  background: rgba(255, 252, 246, 0.7);
  color: var(--ink-text);
  font: inherit;
}

.waitlist input::placeholder {
  color: rgba(36, 28, 22, 0.55);
}

button.cta {
  appearance: none;
  cursor: pointer;
}

.waitlist button.cta {
  margin-top: 0.65rem;
}

button.cta:disabled,
.waitlist input:disabled {
  cursor: not-allowed;
  opacity: 0.72;
}

.site-footer {
  padding: 0 0 1.6rem;
  border-top: 1px solid rgba(243, 231, 209, 0.2);
  color: var(--header-muted);
}

.site-footer .frame {
  padding-top: 0.7rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.15rem 0.35rem;
}

.footer-links a {
  width: auto;
  margin-right: 0.85rem;
}

.crisis {
  max-width: calc(var(--measure) + 2.6rem);
  margin: 0.75rem 0 0.25rem;
  color: var(--header-text);
  font-size: 0.95rem;
}

.crisis a {
  color: var(--header-text);
}

.fine-print {
  max-width: calc(var(--measure) + 2.6rem);
  margin: 0;
  font-size: 0.82rem;
}

.address-pending {
  color: rgba(36, 28, 22, 0.62);
}

@media (min-width: 62rem) {
  :root {
    --anchor-offset: 7.25rem;
  }

  .js .nav-toggle {
    display: none;
  }

  .js .site-nav,
  .js .site-nav.is-open {
    display: block;
  }

  .site-header .frame {
    display: grid;
    grid-template-columns: 16rem minmax(0, 1fr);
    column-gap: 1.5rem;
    align-items: center;
    padding-top: 1rem;
    padding-bottom: 0.7rem;
  }

  .site-nav {
    padding: 0;
  }

  .nav-main,
  .nav-topics {
    display: flex;
    flex-wrap: wrap;
    gap: 0.1rem 1.15rem;
  }

  .nav-main a,
  .nav-topics a {
    width: auto;
    min-height: 2.2rem;
  }

  .nav-topics a {
    font-size: 0.98rem;
  }

  .nav-label {
    margin-top: 0.15rem;
  }

  .sheet {
    padding: 2rem 1.3rem 2.15rem;
  }

  .sheet-wrap {
    padding-top: 1.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media print {
  html {
    color-scheme: light;
  }

  body,
  .site-header,
  .site-footer,
  .brand,
  .brand-name,
  .brand-note,
  .crisis,
  .crisis a,
  .fine-print {
    background: #fff !important;
    color: #000 !important;
    box-shadow: none;
  }

  .site-header {
    position: static;
    border-bottom: 1px solid #000;
  }

  .nav-toggle,
  #site-nav,
  .site-footer nav {
    display: none !important;
  }

  .sheet {
    width: auto;
    max-width: none;
    border: 0;
    box-shadow: none;
    background: #fff;
    color: #000;
  }

  .sheet a,
  .cta {
    color: #000;
    background: transparent;
  }

  .sheet a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
  }

  .disclaimer,
  .waitlist,
  .product-card,
  .path-card,
  .toc {
    border-color: #000;
    background: #fff;
  }
}

.nav-toggle-label {
  font-size: 0.95rem;
}

/* Free sample pamphlets. Light rules only; the house sheet stays as it is. */

.sample-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin: 0.4rem 0 1.15rem;
  padding: 0;
  list-style: none;
}

.sample-card {
  margin: 0;
  padding: 0.95rem 1rem 1.05rem;
  border: 1px solid var(--parchment-edge);
  border-left: 3px solid var(--gold);
  background: rgba(255, 252, 246, 0.55);
}

.sample-card h2 {
  margin: 0 0 0.35rem;
  padding: 0;
  font-size: 1.22rem;
}

.sample-card p:last-child {
  margin-bottom: 0;
}

.sample-kicker {
  margin: 0 0 0.25rem;
  color: var(--oxblood);
  font-variant: small-caps;
  letter-spacing: 0.06em;
  font-size: 0.88rem;
}

.pamphlet {
  hyphens: auto;
}

.sample-cta {
  margin: 1.5rem 0 1.15rem;
  padding: 0.95rem 1rem 1.05rem;
  border: 1px solid var(--parchment-edge);
  border-top: 3px solid var(--gold);
  background: rgba(255, 252, 246, 0.72);
}

.sample-cta h2 {
  margin: 0 0 0.45rem;
  padding: 0;
  font-size: 1.25rem;
}

.sample-cta p:last-child {
  margin-bottom: 0;
}

.sample-cta .cta {
  margin-top: 0.35rem;
}

@media print {
  .sample-card,
  .sample-cta,
  .pamphlet .disclaimer {
    border-color: #000;
    background: #fff;
    break-inside: avoid;
  }

  .pamphlet {
    font-size: 12pt;
  }
}

/* Design refresh (3 Oct 2026). Same palette and system serif; calmer structure.
   Kept minimal on purpose: one accent rule per heading, no ornaments, no motion. */

:root {
  --gold-deep: #8a6a35;
  --oxblood-deep: #3d0e18;
  --ink-muted: #5a4a3c;
}

/* Header: brand and main links on one row, the nine rooms as one band below */

.brand {
  display: inline-grid;
  grid-template-columns: auto auto;
  align-items: center;
  column-gap: 0.7rem;
}

.brand::before {
  content: "";
  grid-row: 1 / span 2;
  width: 2.4rem;
  height: 2.4rem;
  background: url("../favicon.svg") center / contain no-repeat;
  border-radius: 50%;
}

.brand-name {
  align-self: end;
  letter-spacing: 0.04em;
}

.brand-note {
  align-self: start;
  color: var(--gold);
}

@media (max-width: 61.99rem) {
  .js .site-nav.is-open {
    margin-top: 0.6rem;
    border-top: 1px solid rgba(176, 137, 72, 0.3);
  }

  .nav-main li,
  .nav-topics li {
    border-bottom: 1px solid rgba(243, 231, 209, 0.08);
  }

  .nav-topics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1rem;
  }

  .nav-topics a {
    line-height: 1.25;
  }
}

@media (min-width: 62rem) {
  .brand {
    grid-template-columns: auto auto auto;
  }

  .brand::before {
    grid-row: 1;
  }

  .brand-name,
  .brand-note {
    align-self: center;
  }

  .brand-note {
    margin-top: 0.2rem;
  }

  .site-header .frame {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "brand main"
      "rooms rooms";
    padding-top: 0.8rem;
    padding-bottom: 0;
  }

  .header-bar {
    grid-area: brand;
  }

  .site-nav,
  .js .site-nav,
  .js .site-nav.is-open {
    display: contents;
  }

  .nav-main {
    grid-area: main;
    justify-content: flex-end;
    gap: 0 1.6rem;
  }

  .nav-main a {
    min-height: 2.6rem;
    font-size: 0.98rem;
    letter-spacing: 0.08em;
  }

  /* Hidden from sight on desktop; screen readers still announce it */
  .nav-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .nav-topics {
    grid-area: rooms;
    justify-content: space-between;
    margin-top: 0.7rem;
    border-top: 1px solid rgba(176, 137, 72, 0.25);
  }

  .nav-topics a {
    min-height: 2.5rem;
    color: var(--gold-soft);
    font-size: 0.93rem;
  }

  .site-nav .nav-topics a[aria-current="page"] {
    color: var(--parchment);
    text-decoration-color: var(--gold);
  }
}

/* Sheet */

.sheet-wrap {
  padding-top: 2rem;
  padding-bottom: 3rem;
}

.sheet {
  border-top: 1px solid var(--parchment-edge);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

/* Type */

.crumbs {
  margin-bottom: 1.25rem;
  color: var(--ink-muted);
  font-size: 0.85rem;
  font-variant: small-caps;
  letter-spacing: 0.08em;
}

.sheet .crumbs a {
  color: var(--gold-deep);
  text-decoration: none;
}

.sheet .crumbs a:hover {
  color: var(--oxblood);
  text-decoration: underline;
}

.sheet h1 {
  margin-bottom: 1rem;
  padding-bottom: 0;
  border-bottom: 0;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.1;
}

.sheet h1::after {
  content: "";
  display: block;
  width: 4rem;
  height: 2px;
  margin-top: 1rem;
  background: var(--gold);
}

.lead {
  color: var(--ink-muted);
  font-style: italic;
}

.sheet h2 {
  margin-top: 2.2rem;
  font-size: 1.5rem;
  font-weight: 400;
}

.sheet a {
  text-decoration-color: rgba(92, 24, 38, 0.35);
  text-decoration-thickness: 1px;
}

.sheet a:hover:not(.cta) {
  text-decoration-color: currentColor;
}

/* Care note */

.disclaimer {
  margin: 1.4rem 0 1.6rem;
  padding: 0.95rem 1.15rem;
  border: 0;
  border-left: 3px solid var(--oxblood);
  background: rgba(92, 24, 38, 0.05);
  font-size: 0.95rem;
}

.disclaimer strong {
  color: var(--oxblood);
}

/* On this page. The element is <nav id="toc">, which the older .toc rules never matched. */

#toc {
  margin: 0 0 1.5rem;
  padding: 0.1rem 0 0.1rem 1rem;
  border-left: 2px solid var(--gold);
  font-size: 0.95rem;
}

#toc .toc-label {
  margin: 0 0 0.35rem;
  color: var(--gold-deep);
  font-size: 0.85rem;
  font-variant: small-caps;
  letter-spacing: 0.12em;
}

#toc ol {
  margin: 0;
  padding-left: 1.3rem;
}

#toc li {
  margin: 0.15rem 0;
}

#toc li::marker {
  color: var(--gold-deep);
  font-size: 0.85em;
}

#toc a {
  color: var(--ink-text);
  text-decoration: none;
}

#toc a:hover,
#toc a:focus-visible {
  color: var(--oxblood);
  text-decoration: underline;
}

@media (min-width: 80rem) {
  .sheet:has(> #toc:not([hidden])) {
    display: grid;
    grid-template-columns: 12rem minmax(0, var(--measure));
    column-gap: 3rem;
    width: min(100%, calc(var(--measure) + 20rem));
  }

  .sheet:has(> #toc:not([hidden])) > * {
    grid-column: 2;
  }

  .sheet:has(> #toc:not([hidden])) > #toc {
    grid-column: 1;
    grid-row: 1 / span 200;
    align-self: start;
    position: sticky;
    top: calc(var(--anchor-offset) + 1rem);
    margin: 0.3rem 0 0;
  }
}

/* Buttons: one solid primary; the outline stays as secondary */

.cta {
  border-radius: 2px;
}

.cta-solid,
.sheet a.cta-solid {
  background: var(--oxblood);
  color: var(--parchment);
}

.cta-solid:hover,
.cta-solid:focus-visible,
.sheet a.cta-solid:hover,
.sheet a.cta-solid:focus-visible {
  border-color: var(--oxblood-deep);
  background: var(--oxblood-deep);
  color: var(--parchment);
}

/* Home opening, on the ink */

.hero {
  padding: 2.25rem 0 2.75rem;
  text-align: center;
}

.hero-seal {
  display: block;
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.1rem;
}

.hero h1 {
  margin: 0;
  color: var(--parchment);
  font-size: clamp(2.4rem, 7vw, 4rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.05;
}

.hero-tagline {
  margin: 0.5rem 0 0;
  color: var(--gold);
  font-size: clamp(1.1rem, 2.6vw, 1.35rem);
  font-style: italic;
}

.hero-intro {
  max-width: 34rem;
  margin: 1.5rem auto;
  color: var(--parchment-edge);
  font-size: 1.12rem;
}

.hero .cta-solid {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--ink);
}

.hero .cta-solid:hover,
.hero .cta-solid:focus-visible {
  border-color: var(--oxblood);
  background: var(--oxblood);
  color: var(--parchment);
}

/* Room cards on the home page */

.room-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 0.75rem 0 1.75rem;
  padding: 0;
  list-style: none;
}

.room-grid a {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  height: 100%;
  padding: 0.95rem 1.05rem 1.05rem;
  border: 1px solid var(--parchment-edge);
  border-top: 2px solid var(--gold);
  background: rgba(255, 252, 246, 0.55);
  color: var(--ink-text);
  text-decoration: none;
}

.room-name {
  color: var(--oxblood);
  font-size: 1.15rem;
}

.room-line {
  color: var(--ink-muted);
  font-size: 0.93rem;
  line-height: 1.5;
}

.sheet .room-grid a:hover,
.sheet .room-grid a:focus-visible {
  border-color: var(--ink);
  background: var(--ink-soft);
  color: var(--parchment);
}

.room-grid a:hover .room-name,
.room-grid a:focus-visible .room-name {
  color: var(--gold);
}

.room-grid a:hover .room-line,
.room-grid a:focus-visible .room-line {
  color: var(--parchment-edge);
}

@media (max-width: 40rem) {
  .room-grid {
    grid-template-columns: 1fr;
  }
}

/* Link lists: library, hub seasons, hub resources */

.room-blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  gap: 1rem 1.5rem;
  margin-top: 1.5rem;
}

.room-block {
  min-width: 0;
  padding: 1.05rem 1.15rem 1.1rem;
  border: 1px solid var(--parchment-edge);
  border-top: 2px solid var(--gold);
  background: rgba(255, 252, 246, 0.5);
}

.sheet .room-block h2 {
  margin: 0 0 0.2rem;
  font-size: 1.3rem;
}

.room-block > p {
  color: var(--ink-muted);
  font-size: 0.93rem;
  font-style: italic;
}

.season-list,
.resources-list {
  padding-left: 0;
  list-style: none;
}

.season-list li,
.resources-list li {
  padding: 0.5rem 0;
  border-top: 1px solid var(--rule);
  font-size: 0.97rem;
  line-height: 1.5;
}

.season-list li + li,
.resources-list li + li {
  margin-top: 0;
}

.season-list a,
.resources-list a {
  font-weight: 600;
  text-decoration: none;
}

.season-list a:hover,
.resources-list a:hover {
  text-decoration: underline;
}

/* Begin: the whole path card is the link */

.path-card {
  position: relative;
}

.path-card h2 a {
  text-decoration: none;
}

.path-card h2 a::after {
  content: "";
  position: absolute;
  inset: 0;
}

.path-card:hover {
  border-left-color: var(--oxblood);
}

.path-card:hover h2 a {
  text-decoration: underline;
}

/* Shop: cards in a grid, parts in the same order on every card */

.tier-jump {
  gap: 0.5rem;
}

.sheet .tier-jump a {
  display: inline-flex;
  align-items: center;
  min-height: 2.4rem;
  padding: 0 1rem;
  border: 1px solid var(--gold);
  border-radius: 999px;
  color: var(--ink-text);
  text-decoration: none;
}

.sheet .tier-jump a:hover,
.sheet .tier-jump a:focus-visible {
  border-color: var(--oxblood);
  background: var(--oxblood);
  color: var(--parchment);
}

.card-grid {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr));
}

.product-card {
  display: flex;
  flex-direction: column;
  border-top: 2px solid var(--gold);
}

.product-card .coming { order: 1; align-self: flex-start; }
.product-card h3 { order: 2; }
.product-card .price { order: 3; margin-bottom: 0.1rem; }
.product-card .room { order: 4; }
.product-card > p:not([class]) { order: 5; }
.product-card .format { order: 6; color: var(--ink-muted); }

.product-card .room {
  font-variant: small-caps;
  letter-spacing: 0.06em;
}

.product-card .room a {
  color: var(--gold-deep);
  text-decoration: none;
}

.product-card .card-note {
  order: 7;
  margin-top: auto;
  padding-top: 0.65rem;
  border-top: 1px solid var(--rule);
  color: var(--ink-muted);
  font-size: 0.85rem;
  line-height: 1.5;
}

/* Contact */

.address-pending {
  display: inline-block;
  padding: 0.3rem 0.75rem;
  border: 1px dashed rgba(36, 28, 22, 0.35);
  font-size: 0.95rem;
  font-style: italic;
}

.waitlist {
  margin-top: 2rem;
  border: 1px solid var(--parchment-edge);
  border-top: 2px solid var(--gold);
}

.sheet .waitlist h2 {
  margin-top: 0;
}

/* Glossary */

.definition dt a {
  text-decoration: none;
}

.definition dd {
  border-left-width: 2px;
  color: var(--ink-muted);
}

/* Footer: same contents, a little more air */

.site-footer {
  padding-bottom: 2rem;
  border-top-color: rgba(176, 137, 72, 0.35);
}

.site-footer .frame {
  padding-top: 1.25rem;
}

.footer-links a {
  font-size: 0.92rem;
  font-variant: small-caps;
  letter-spacing: 0.1em;
}

.crisis a {
  color: var(--gold);
}

.fine-print {
  color: rgba(203, 184, 146, 0.7);
}

@media print {
  .sheet:has(> #toc) {
    display: block;
    width: auto;
  }

  #toc,
  .hero-seal,
  .brand::before {
    display: none !important;
  }

  .hero h1,
  .hero-tagline,
  .hero-intro {
    color: #000;
  }
}
