/* ============================================================
   houseofshit.com — House Style Sheet
   Direction: "Deadpan Maison" — tobacco hide, bone, gilt foil.
   Display: Bodoni Moda · Body & utility: Jost
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  /* 60% ground */
  --hide:        #2e211a;
  --hide-2:      #241a14;
  --hide-3:      #1b120e;
  /* 30% panels & type */
  --bone:        #efe7da;
  --bone-2:      #f7f2e9;
  --bone-dim:    rgba(239, 231, 218, 0.62);
  --bone-faint:  rgba(239, 231, 218, 0.14);
  /* 10% accent */
  --gilt:        #c9a24b;
  --gilt-2:      #e3c579;
  --gilt-dim:    rgba(201, 162, 75, 0.28);
  /* micro accent */
  --oxblood:     #7a2b24;

  --hairline:    1px solid var(--bone-faint);
  --hairline-gilt: 1px solid var(--gilt-dim);

  --font-display: "Bodoni Moda", "Didot", "Times New Roman", serif;
  --font-body:    "Jost", "Futura", "Century Gothic", system-ui, sans-serif;

  --step--1: clamp(0.78rem, 0.75rem + 0.15vw, 0.86rem);
  --step-0:  clamp(1rem, 0.96rem + 0.2vw, 1.08rem);
  --step-1:  clamp(1.2rem, 1.1rem + 0.5vw, 1.45rem);
  --step-2:  clamp(1.5rem, 1.3rem + 1vw, 2.1rem);
  --step-3:  clamp(2rem, 1.6rem + 2vw, 3.2rem);
  --step-4:  clamp(2.6rem, 1.8rem + 4.2vw, 6rem);

  --gutter: clamp(1.1rem, 4vw, 3rem);
  --shell: 1180px;
  --band-y: clamp(4rem, 9vw, 8rem);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- 2. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
body {
  min-height: 100vh;
  background-color: var(--hide);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
:focus-visible {
  outline: 2px solid var(--gilt-2);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Grain: the hide has a texture. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.28;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
}

/* ---------- 3. Domain for sale banner ---------- */
.domain-sale-banner {
  position: relative;
  z-index: 9999;
  width: 100%;
  color: #ffffff;
  background:
    radial-gradient(circle at 15% 50%, rgba(201, 162, 75, 0.38), transparent 36%),
    linear-gradient(100deg, #1b120e 0%, #241a14 58%, #3a2718 100%);
  border-bottom: 1px solid rgba(201, 162, 75, 0.3);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
  font-family: var(--font-body);
}
.domain-sale-banner__content {
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  margin: 0 auto;
  padding: 12px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.domain-sale-banner__text { display: grid; gap: 4px; line-height: 1.35; }
.domain-sale-banner__text strong {
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 500;
  letter-spacing: 0.01em;
}
.domain-sale-banner__text span {
  color: rgba(239, 231, 218, 0.72);
  font-size: 0.92rem;
}
.domain-sale-banner__button {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 22px;
  color: #1b120e;
  background: var(--gilt);
  border: 1px solid var(--gilt-2);
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(201, 162, 75, 0.22);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 160ms var(--ease), background 160ms var(--ease), box-shadow 160ms var(--ease);
}
.domain-sale-banner__button:hover,
.domain-sale-banner__button:focus-visible {
  background: var(--gilt-2);
  box-shadow: 0 10px 26px rgba(201, 162, 75, 0.36);
  transform: translateY(-2px);
  outline: none;
}
@media (max-width: 680px) {
  .domain-sale-banner__content {
    min-height: auto;
    padding: 14px 0;
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
  }
  .domain-sale-banner__button { width: 100%; }
}

/* ---------- 4. Shell & type utilities ---------- */
.shell {
  width: min(var(--shell), 100% - (var(--gutter) * 2));
  margin-inline: auto;
}
.shell--narrow { width: min(760px, 100% - (var(--gutter) * 2)); }

.eyebrow {
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gilt);
}
.eyebrow--bone { color: rgba(46, 33, 26, 0.55); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -0.01em;
}
h1 { font-size: var(--step-3); }
h2 { font-size: var(--step-3); }
h3 { font-size: var(--step-1); line-height: 1.2; }
p { max-width: 68ch; }
strong { font-weight: 500; }

.lede {
  font-size: var(--step-1);
  font-weight: 300;
  line-height: 1.5;
  color: var(--bone-dim);
}

/* ---------- 5. Bands ---------- */
.band { position: relative; z-index: 2; padding-block: var(--band-y); }
.band--bone { background: var(--bone); color: var(--hide); }
.band--bone p { color: rgba(46, 33, 26, 0.78); }
.band--deep { background: var(--hide-3); }
.band--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

.band-head { display: grid; gap: 1.1rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.band-head p { color: inherit; opacity: 0.72; }
.band--bone .band-head p { opacity: 1; }
.rule { height: 1px; background: var(--bone-faint); border: 0; }
.band--bone .rule { background: rgba(46, 33, 26, 0.16); }

/* ---------- 6. Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(46, 33, 26, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: var(--hairline);
  transition: background 240ms var(--ease), border-color 240ms var(--ease);
}
.site-header.is-stuck {
  background: rgba(27, 18, 14, 0.94);
  border-bottom-color: var(--gilt-dim);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 74px;
}
.brand { display: inline-flex; align-items: center; gap: 0.75rem; }
.brand__seal { width: 34px; height: 34px; flex: 0 0 auto; }
.brand__type { display: grid; line-height: 1; }
.brand__house {
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.36em;
  text-transform: uppercase;
  color: var(--gilt);
}
.brand__name {
  font-family: var(--font-display);
  font-size: 1.18rem;
  letter-spacing: 0.01em;
  margin-top: 3px;
}

.nav { display: flex; align-items: center; gap: clamp(1.2rem, 2.5vw, 2.4rem); }
.nav__link {
  position: relative;
  font-size: var(--step--1);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--bone-dim);
  padding-block: 4px;
  transition: color 180ms var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--gilt);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 260ms var(--ease);
}
.nav__link:hover, .nav__link:focus-visible, .nav__link[aria-current="page"] { color: var(--bone); }
.nav__link:hover::after,
.nav__link:focus-visible::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: var(--hairline);
  border-radius: 999px;
}
.nav-toggle__bars { display: grid; gap: 5px; width: 18px; }
.nav-toggle__bars span {
  display: block;
  height: 1px;
  background: var(--bone);
  transition: transform 220ms var(--ease), opacity 180ms var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    inset: 0;
    z-index: 890;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    background: var(--hide-3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 260ms var(--ease), transform 260ms var(--ease), visibility 260ms;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__link { font-size: 1.1rem; letter-spacing: 0.28em; }
  .nav .btn { margin-top: 0.5rem; }
  body.nav-open { overflow: hidden; }
}

/* ---------- 7. Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  min-height: 52px;
  padding: 0 1.75rem;
  border-radius: 999px;
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 180ms var(--ease), background 180ms var(--ease), color 180ms var(--ease), border-color 180ms var(--ease);
}
.btn:hover, .btn:focus-visible { transform: translateY(-2px); }
.btn--gilt { background: var(--gilt); color: var(--hide-3); border: 1px solid var(--gilt-2); }
.btn--gilt:hover, .btn--gilt:focus-visible { background: var(--gilt-2); }
.btn--ghost { border: 1px solid var(--bone-faint); color: var(--bone); }
.btn--ghost:hover, .btn--ghost:focus-visible { border-color: var(--gilt); color: var(--gilt-2); }
.btn--ink { background: var(--hide); color: var(--bone-2); border: 1px solid var(--hide); }
.btn--ink:hover, .btn--ink:focus-visible { background: var(--hide-3); }
.btn__arrow { transition: transform 220ms var(--ease); }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* ---------- 8. Hero ---------- */
.hero {
  position: relative;
  z-index: 2;
  padding-block: clamp(3.5rem, 8vw, 7rem) clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse 70% 55% at 50% 0%, rgba(201, 162, 75, 0.16), transparent 70%);
}
/* Signature: the gilt-foil maison frame */
.hero__frame {
  position: relative;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 1.6rem;
  padding: clamp(2.75rem, 6vw, 4.5rem) clamp(1.25rem, 4vw, 3.5rem) clamp(2.5rem, 5vw, 3.75rem);
  border: 1px solid var(--gilt-dim);
  outline: 1px solid var(--gilt-dim);
  outline-offset: 7px;
}
.hero__seal {
  position: absolute;
  top: 0;
  left: 50%;
  width: clamp(58px, 8vw, 78px);
  transform: translate(-50%, -50%);
  padding: 10px;
  background: var(--hide);
}
.hero__seal svg { width: 100%; height: auto; }

.wordmark { display: grid; justify-items: center; gap: 0.35rem; }
.wordmark__house {
  font-family: var(--font-body);
  font-size: clamp(0.8rem, 2.4vw, 1.25rem);
  font-weight: 400;
  letter-spacing: 0.5em;
  text-indent: 0.5em;
  text-transform: uppercase;
  color: var(--bone-dim);
}
.wordmark__name {
  position: relative;
  display: block;
  font-size: var(--step-4);
  line-height: 0.9;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: linear-gradient(96deg, var(--gilt) 0%, var(--gilt-2) 24%, #fff6df 38%, var(--gilt-2) 52%, var(--gilt) 78%);
  background-size: 260% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: foil 9s var(--ease) infinite;
}
@keyframes foil {
  0%, 12% { background-position: 130% 0; }
  55%, 100% { background-position: -30% 0; }
}
.wordmark__tld {
  margin-top: 0.9rem;
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--bone-dim);
}
.hero__lede { max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; }

.spec-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  border-top: var(--hairline);
  border-left: var(--hairline);
}
.spec {
  display: flex;
  flex-direction: column-reverse; /* value reads above its label */
  justify-content: flex-end;
  padding: 1.4rem 1.25rem;
  border-right: var(--hairline);
  border-bottom: var(--hairline);
  text-align: center;
}
.spec__value {
  font-family: var(--font-display);
  font-size: var(--step-2);
  line-height: 1;
  color: var(--gilt-2);
}
.spec__label {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bone-dim);
}

/* ---------- 9. Marquee ---------- */
.marquee {
  position: relative;
  z-index: 2;
  padding-block: 1.1rem;
  border-block: 1px solid var(--gilt-dim);
  background: var(--hide-2);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  gap: 2.5rem;
  animation: slide 34s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 2.5rem;
  font-size: var(--step--1);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--bone-dim);
  white-space: nowrap;
}
.marquee__dot { color: var(--gilt); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ---------- 10. Collection grid ---------- */
.collection {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(275px, 1fr));
  gap: 1px;
  background: rgba(46, 33, 26, 0.16);
  border: 1px solid rgba(46, 33, 26, 0.16);
}
.collection__item {
  display: grid;
  gap: 0.85rem;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  background: var(--bone);
  transition: background 260ms var(--ease);
}
.collection__item:hover { background: var(--bone-2); }
.collection__icon { width: 34px; height: 34px; color: var(--oxblood); }
.collection__label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(46, 33, 26, 0.5);
}
.collection__item h3 { color: var(--hide); }
.collection__item p { font-size: 0.95rem; }

/* ---------- 11. Editorial split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr 0.95fr; } }
.split__figure { position: relative; margin: 0; }
.split__figure img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border: 1px solid var(--gilt-dim);
}
.split__figure figcaption {
  margin-top: 0.9rem;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bone-dim);
}
.split__body { display: grid; gap: 1.4rem; }

/* ---------- 12. Reasons ---------- */
.reasons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: clamp(2rem, 4vw, 3.5rem);
}
.reason { display: grid; gap: 0.9rem; padding-top: 1.5rem; border-top: 1px solid var(--gilt-dim); }
.reason h3 { color: var(--bone); }
.reason p { color: var(--bone-dim); font-size: 0.97rem; }

/* ---------- 13. Ledger (asset facts) ---------- */
.ledger { display: grid; gap: 0; }
.ledger__row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.2rem;
  padding-block: 1.1rem;
  border-bottom: 1px solid rgba(46, 33, 26, 0.14);
}
@media (min-width: 620px) {
  .ledger__row { grid-template-columns: 220px 1fr; gap: 1.5rem; align-items: baseline; }
}
.ledger__row:first-child { border-top: 1px solid rgba(46, 33, 26, 0.14); }
.ledger__key {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(46, 33, 26, 0.55);
}
.ledger__value { font-size: var(--step-0); color: var(--hide); }
.band--bone .ledger__value { color: var(--hide); }

/* ---------- 14. Steps (a real sequence, so it is numbered) ---------- */
.steps { display: grid; gap: 1px; background: var(--bone-faint); border: var(--hairline); }
@media (min-width: 780px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { display: grid; gap: 0.7rem; padding: clamp(1.6rem, 3vw, 2.2rem); background: var(--hide-3); }
.step__num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gilt);
}
.step h3 { font-size: 1.1rem; }
.step p { font-size: 0.92rem; color: var(--bone-dim); }

/* ---------- 15. Pull quote ---------- */
.quote { display: grid; gap: 1.5rem; justify-items: center; text-align: center; }
.quote blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: var(--step-2);
  line-height: 1.35;
  max-width: 22ch;
}
.quote figcaption {
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--bone-dim);
}

/* ---------- 16. CTA band ---------- */
.cta { display: grid; justify-items: center; text-align: center; gap: 1.6rem; }
.cta h2 { max-width: 16ch; }
.cta p { color: var(--bone-dim); max-width: 50ch; }
.cta__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; justify-content: center; }

/* ---------- 17. Forms ---------- */
.offer-card {
  display: grid;
  gap: 1.4rem;
  padding: clamp(1.75rem, 4vw, 3rem);
  background: var(--hide-3);
  border: 1px solid var(--gilt-dim);
}
.field { display: grid; gap: 0.5rem; }
.field label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--bone-dim);
}
.field input, .field textarea, .field select {
  width: 100%;
  padding: 0.9rem 1rem;
  background: rgba(239, 231, 218, 0.05);
  border: var(--hairline);
  border-radius: 2px;
  font-weight: 300;
  transition: border-color 180ms var(--ease), background 180ms var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: rgba(239, 231, 218, 0.35); }
.field input:focus, .field textarea:focus, .field select:focus {
  border-color: var(--gilt);
  background: rgba(239, 231, 218, 0.08);
  outline: none;
}
.field__hint { font-size: 0.8rem; color: rgba(239, 231, 218, 0.5); }
.field__error { font-size: 0.8rem; color: var(--gilt-2); min-height: 1.2em; }
.amount-wrap { position: relative; }
.amount-wrap input { padding-left: 2.2rem; }
.amount-wrap::before {
  content: "$";
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gilt);
  pointer-events: none;
}
.contact-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
@media (min-width: 940px) { .contact-grid { grid-template-columns: 1.05fr 0.95fr; align-items: start; } }
.contact-aside { display: grid; gap: 2rem; }
.contact-block { display: grid; gap: 0.5rem; padding-top: 1.4rem; border-top: 1px solid var(--gilt-dim); }
.contact-block a { color: var(--gilt-2); text-decoration: underline; text-underline-offset: 4px; }
.contact-block p { color: var(--bone-dim); font-size: 0.95rem; }

/* ---------- 18. FAQ ---------- */
.faq { display: grid; }
.faq__item { border-bottom: var(--hairline); }
.faq__item:first-child { border-top: var(--hairline); }
.faq__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  padding: 1.4rem 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: var(--step-1);
  line-height: 1.25;
  color: var(--bone);
}
.faq__sign { flex: 0 0 auto; color: var(--gilt); font-family: var(--font-body); font-size: 1.4rem; transition: transform 240ms var(--ease); }
.faq__trigger[aria-expanded="true"] .faq__sign { transform: rotate(45deg); }
.faq__panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 300ms var(--ease); }
.faq__panel > div { overflow: hidden; }
.faq__item.is-open .faq__panel { grid-template-rows: 1fr; }
.faq__panel p { padding-bottom: 1.4rem; color: var(--bone-dim); font-size: 0.97rem; }

/* ---------- 19. Prose (about) ---------- */
.prose { display: grid; gap: 1.5rem; }
.prose h2 { margin-top: 1rem; }
.prose h3 { margin-top: 0.75rem; color: var(--bone); }
.prose p { color: var(--bone-dim); }
.prose ul { display: grid; gap: 0.8rem; }
.prose li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--bone-dim);
}
.prose li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 8px;
  height: 1px;
  background: var(--gilt);
}
.band--bone .prose p, .band--bone .prose li { color: rgba(46, 33, 26, 0.78); }
.band--bone .prose li::before { background: var(--oxblood); }
.band--bone .prose h3 { color: var(--hide); }

/* ---------- 20. 404 ---------- */
.error-page {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  text-align: center;
  min-height: 62vh;
  padding-block: var(--band-y);
}
.error-page__inner { display: grid; justify-items: center; gap: 1.5rem; }
.error-page__code {
  font-family: var(--font-display);
  font-size: clamp(5rem, 20vw, 12rem);
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1px var(--gilt);
}

/* ---------- 21. Footer ---------- */
.site-footer {
  position: relative;
  z-index: 2;
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
  background: var(--hide-3);
  border-top: 1px solid var(--gilt-dim);
}
.footer__top {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: var(--hairline);
}
@media (min-width: 800px) { .footer__top { grid-template-columns: 1.3fr 1fr 1fr; } }
.footer__col { display: grid; gap: 0.9rem; align-content: start; }
.footer__title {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gilt);
}
.footer__col p { font-size: 0.92rem; color: var(--bone-dim); }
.footer__col a { font-size: 0.92rem; color: var(--bone-dim); transition: color 180ms var(--ease); }
.footer__col a:hover, .footer__col a:focus-visible { color: var(--gilt-2); }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  font-size: 0.8rem;
  color: rgba(239, 231, 218, 0.45);
}

/* ---------- 22. Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* ---------- 23. Cascade corrections on bone bands ----------
   These selectors are declared last on purpose: several component
   rules (.cta p, .reason p) set a light colour and would otherwise
   win on equal specificity over .band--bone p. */
.band--bone .cta p,
.band--bone .reason p,
.band--bone .quote figcaption,
.band--bone .split__figure figcaption { color: rgba(46, 33, 26, 0.72); }
.band--bone .reason { border-top-color: rgba(46, 33, 26, 0.2); }
.band--bone .reason h3,
.band--bone .quote blockquote { color: var(--hide); }
.band--bone .btn--ghost { border-color: rgba(46, 33, 26, 0.25); color: var(--hide); }
.band--bone .btn--ghost:hover,
.band--bone .btn--ghost:focus-visible { border-color: var(--oxblood); color: var(--oxblood); }

/* ---------- 24. Helpers ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: absolute;
  left: 50%;
  top: 0;
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  background: var(--gilt);
  color: var(--hide-3);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transform: translate(-50%, -120%);
  transition: transform 200ms var(--ease);
}
.skip-link:focus { transform: translate(-50%, 0); }
.text-center { text-align: center; }
.mt-lg { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
