/* ─────────────────────────────────────────────────────────────
   aymk.tools — V2
   Ecosystem system (locked): #050505 · ivory #f2eee6 · gold #c9a86a
   Cormorant Garamond + Barlow Condensed, self-hosted.
   Every text colour below clears WCAG AA (4.5:1) on #050505.
   ───────────────────────────────────────────────────────────── */

@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300; font-display: swap; src: url("../fonts/cormorant-garamond-300.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 300; font-display: swap; src: url("../fonts/cormorant-garamond-300-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/cormorant-garamond-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/barlow-condensed-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/barlow-condensed-500.woff2") format("woff2"); }

:root {
  --bg: #050505;
  --ivory: #f2eee6;
  --gold: #c9a86a;

  --ink-1: #f2eee6;                    /* 17.6:1 */
  --ink-2: rgba(242, 238, 230, .78);   /* 10.5:1 */
  --ink-3: rgba(242, 238, 230, .58);   /*  6.1:1 — floor for text */
  --gold-1: #c9a86a;                   /*  9.0:1 */
  --gold-2: rgba(201, 168, 106, .76);  /*  5.5:1 — floor for gold text */
  --rule: rgba(242, 238, 230, .17);
  --rule-soft: rgba(242, 238, 230, .09);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --cond: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;

  --gutter: clamp(22px, 4.6vw, 68px);
  --max: 1320px;
  --col-gap: clamp(16px, 2.2vw, 36px);
  --track: .24em;
  --top-h: 64px;
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--top-h) + 20px); }

body {
  display: flex; flex-direction: column; min-height: 100vh;
  margin: 0;
  background: var(--bg);
  color: var(--ink-1);
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.3125rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, p, dl, dd, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
svg { fill: currentColor; }
::selection { background: rgba(201, 168, 106, .24); color: var(--ivory); }

:focus-visible { outline: 1px solid var(--gold); outline-offset: 5px; }

.vh {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip {
  position: absolute; left: var(--gutter); top: -80px; z-index: 40;
  padding: 12px 18px; background: var(--ivory); color: var(--bg);
  font-family: var(--cond); font-weight: 500; font-size: .875rem; letter-spacing: .16em; text-transform: uppercase;
}
.skip:focus { top: 10px; }

main { flex: 1; }
.w { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

/* ── The Λ. Neither typeface carries the glyph, so it is set as a vector.
      .lam   : the house geometric Λ, cut to Barlow's cap height.
      .lam-s : the master glyph, cut to Cormorant's cap height. ── */
.lam { display: inline-block; width: .553em; height: .7em; vertical-align: baseline; margin-right: var(--track); }
.lam-s { display: inline-block; width: .514em; height: .625em; vertical-align: baseline; margin-right: .02em; }
/* A Λ word: the real word is in the page once, hidden (.vh); this prints Λ + the rest for the eye. */
.lw { white-space: nowrap; }
.lw::after { content: attr(data-t); }

/* ── The sigil ΛT: one geometric cut at every size, like ΛK. ── */
.mark { display: block; flex: none; width: auto; height: 9px; }

.label {
  font-family: var(--cond); font-weight: 500; font-size: .8125rem; line-height: 1.5;
  letter-spacing: var(--track); text-transform: uppercase; color: var(--gold-2);
}

/* ── Header: stays with the reader. Solid, no blur. ── */
.top { position: sticky; top: 0; z-index: 30; background: var(--bg); border-bottom: 1px solid transparent; transition: border-color .3s ease; }
.top.is-scrolled { border-bottom-color: var(--rule-soft); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--top-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; }
.brand-name { font-family: var(--cond); font-weight: 500; font-size: .8125rem; letter-spacing: var(--track); text-transform: uppercase; white-space: nowrap; }
.top-nav ul { display: flex; align-items: center; gap: clamp(18px, 2.6vw, 40px); }
.top-nav a {
  display: inline-flex; align-items: center; min-height: 44px;
  font-family: var(--cond); font-weight: 400; font-size: .8125rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--ink-2);
  background: linear-gradient(var(--gold-2), var(--gold-2)) left calc(50% + 13px) / 0 1px no-repeat;
  transition: color .3s ease, background-size .3s ease;
}
.top-nav a:hover { color: var(--ink-1); }
.top-nav a[aria-current="true"] { color: var(--ink-1); background-size: 100% 1px; }

/* ── Hero ── */
.hero {
  position: relative;
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap);
  padding-top: clamp(56px, 11vh, 128px); padding-bottom: clamp(64px, 10vh, 120px);
}
.hero-ghost {
  position: absolute; right: 0; top: clamp(28px, 6vh, 72px);
  height: clamp(140px, 15vw, 210px); width: auto;
  color: rgba(242, 238, 230, .055); pointer-events: none;
}
.hero-kicker { position: relative; grid-column: 1 / -1; margin-bottom: clamp(24px, 3.6vh, 40px); }
.hero h1 {
  position: relative; grid-column: 1 / -1;
  font-weight: 300; font-size: clamp(2.6rem, 6.9vw, 5.5rem); line-height: 1.03; letter-spacing: -.022em; text-wrap: balance;
}
.hero h1 em { font-style: italic; font-weight: 300; }
.hero-lede {
  grid-column: 4 / span 4; grid-row: 3; align-self: end; margin-top: clamp(44px, 8vh, 92px);
  font-size: clamp(1.25rem, 1.7vw, 1.5rem); line-height: 1.5; color: var(--ink-2); text-wrap: pretty;
}

/* Index of the register: one row per application, in order of entry. */
.index { position: relative; grid-column: 9 / -1; grid-row: 3; align-self: end; margin-top: clamp(44px, 8vh, 92px); }
.index ol { margin-top: 14px; border-top: 1px solid var(--rule); }
.index-row {
  display: grid; grid-template-columns: 4.25rem minmax(0, 1fr) auto; column-gap: 12px; align-items: center;
  min-height: 60px; border-bottom: 1px solid var(--rule);
}
.index-ref { font-family: var(--cond); font-weight: 500; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-2); }
.index-name { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-size: 1.375rem; line-height: 1.2; color: var(--ink-1); transition: color .3s ease; }
a.index-name:hover { color: var(--gold-1); }
.index-icon { width: 26px; height: 26px; border-radius: 22%; flex: none; }
.index-go {
  display: inline-flex; align-items: center; min-height: 44px;
  font-family: var(--cond); font-weight: 500; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-1);
  background: linear-gradient(var(--gold-2), var(--gold-2)) left calc(50% + 12px) / 100% 1px no-repeat; transition: color .3s ease;
}
.index-go:hover { color: var(--gold-1); }
.index .is-pending .index-ref { color: var(--ink-3); }
.index .is-pending .index-name { font-style: italic; font-weight: 300; color: var(--ink-3); }

/* ── Links and the one button ── */
.go {
  display: inline-flex; align-items: center; min-height: 44px;
  font-family: var(--cond); font-weight: 500; font-size: .8125rem; letter-spacing: var(--track); text-transform: uppercase;
  color: var(--ink-1);
  background: linear-gradient(var(--gold-2), var(--gold-2)) left calc(50% + 14px) / 100% 1px no-repeat;
  transition: color .3s ease;
}
.go:hover { color: var(--gold-1); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 34px;
  background: var(--ivory); border: 1px solid var(--ivory); color: var(--bg);
  font-family: var(--cond); font-weight: 500; font-size: .875rem; letter-spacing: .22em; text-transform: uppercase; white-space: nowrap;
  transition: background-color .3s ease, color .3s ease;
}
.btn:hover { background: transparent; color: var(--ink-1); }

/* ── Sections: a ledger. Margin column names the section, body column holds it. ── */
.sec {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap);
  padding-block: clamp(64px, 9vw, 128px); border-top: 1px solid var(--rule);
}
#applications { padding-top: clamp(52px, 6vw, 88px); }
.sec-head { grid-column: 1 / span 3; }
.sec-head h2 { font-family: var(--cond); font-weight: 500; font-size: .8125rem; line-height: 1.5; letter-spacing: var(--track); text-transform: uppercase; color: var(--gold-2); }
.sec-head p { margin-top: 10px; font-family: var(--cond); font-weight: 400; font-size: .8125rem; line-height: 1.5; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.sec-body { grid-column: 4 / -1; }

.statement {
  font-weight: 300; font-size: clamp(1.75rem, 3.1vw, 2.75rem); line-height: 1.16; letter-spacing: -.012em;
  max-width: 21em; text-wrap: balance;
}

/* ── The register: one application ── */
.entry-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; column-gap: clamp(18px, 2.2vw, 30px); align-items: end; }
.entry-icon { width: 68px; height: 68px; border-radius: 22%; align-self: start; margin-top: 4px; }
.entry-title h3 { margin-top: 8px; font-weight: 300; font-size: clamp(2.75rem, 5.6vw, 4.5rem); line-height: 1; letter-spacing: -.02em; }
.entry-line { margin-top: 10px; font-style: italic; font-weight: 300; font-size: clamp(1.4rem, 2.1vw, 1.75rem); line-height: 1.25; }
.entry-cta { text-align: right; }
.entry-note { margin-top: 12px; font-family: var(--cond); font-weight: 400; font-size: .8125rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.entry-desc { margin-top: clamp(26px, 3vw, 38px); color: var(--ink-2); max-width: 31em; text-wrap: pretty; }

/* The page itself: a real capture of the application, lit like a screen in a dark room. */
.plate { margin-top: clamp(34px, 4vw, 54px); }
.plate img { width: 100%; background: var(--ivory); }
.plate figcaption { margin-top: 14px; font-family: var(--cond); font-weight: 400; font-size: .875rem; line-height: 1.5; letter-spacing: .08em; color: var(--ink-3); }

.ritual { margin-top: clamp(48px, 6vw, 84px); }
.ritual-status { margin-top: 10px; font-size: 1.1875rem; line-height: 1.5; color: var(--ink-2); }
.ritual ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--col-gap); margin-top: 18px; }
.ritual li { padding-top: 20px; border-top: 1px solid var(--rule); }
.ritual h5 { font-weight: 400; font-size: 1.5rem; line-height: 1.2; }
.ritual li p { margin-top: 8px; font-size: 1.1875rem; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }

.entry-foot { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); column-gap: var(--col-gap); align-items: start; margin-top: clamp(48px, 6vw, 84px); }
.never { grid-column: 1 / span 4; }
.never-line { font-weight: 300; font-size: clamp(1.75rem, 3.1vw, 2.75rem); line-height: 1.1; letter-spacing: -.012em; }
.never p + p { margin-top: 16px; font-size: 1.1875rem; line-height: 1.5; color: var(--ink-2); max-width: 20em; }
.never .go { margin-top: 14px; }

.entry-specs { grid-column: 6 / -1; border-top: 1px solid var(--rule); }
.entry-specs div { display: grid; grid-template-columns: 7.25rem minmax(0, 1fr); column-gap: 16px; align-items: baseline; padding-block: 14px; border-bottom: 1px solid var(--rule); }
.entry-specs dt { font-family: var(--cond); font-weight: 500; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.entry-specs dd { font-size: 1.1875rem; line-height: 1.35; color: var(--ink-1); overflow-wrap: anywhere; }
.entry-specs a { display: inline-block; margin-block: -11px; padding-block: 11px; background: linear-gradient(var(--gold-2), var(--gold-2)) left calc(100% - 10px) / 100% 1px no-repeat; transition: color .3s ease; }
.entry-specs a:hover { color: var(--gold-1); }

.entry-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 14px clamp(22px, 3vw, 40px); margin-top: clamp(40px, 5vw, 64px); }
.entry-more { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 0 clamp(22px, 3vw, 40px); }

.entry-next {
  display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); column-gap: var(--col-gap); align-items: baseline;
  margin-top: clamp(56px, 7vw, 96px); padding-top: 22px; border-top: 1px solid var(--rule-soft);
}
.entry-next .label { grid-column: 1 / span 2; color: var(--ink-3); }
.entry-next p { grid-column: 3 / -1; font-style: italic; font-weight: 300; font-size: 1.3125rem; color: var(--ink-3); }

/* ── Principle ── */
.rules { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--col-gap); margin-top: clamp(48px, 6vw, 84px); }
.rules li { padding-top: 22px; border-top: 1px solid var(--rule); }
.rules h3 { font-weight: 400; font-size: clamp(1.25rem, 1.72vw, 1.5rem); line-height: 1.22; letter-spacing: -.005em; }
.rules p { margin-top: 12px; font-size: 1.1875rem; line-height: 1.5; color: var(--ink-2); text-wrap: pretty; }

/* The maker's mark: the sigil, with the line every application carries. */
.signed { display: flex; align-items: center; gap: clamp(22px, 3vw, 40px); margin-top: clamp(56px, 7vw, 96px); padding-block: clamp(28px, 3.4vw, 44px); border-block: 1px solid var(--rule-soft); }
.signed-mark { flex: none; height: clamp(48px, 5vw, 64px); width: auto; color: var(--gold-1); }
.signature { font-family: var(--cond); font-weight: 500; font-size: 1rem; letter-spacing: .3em; text-transform: uppercase; color: var(--ink-1); --track: .3em; }
.signed-note { margin-top: 10px; font-size: 1.1875rem; line-height: 1.45; color: var(--ink-2); max-width: 26em; }

/* ── Ecosystem: the full width of the page, one column per house ── */
.houses { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(48px, 6vw, 84px); border-top: 1px solid var(--rule); }
.houses li { display: flex; flex-direction: column; padding: 26px clamp(18px, 2vw, 30px) 4px 0; }
.houses li + li { padding-left: clamp(18px, 2vw, 30px); border-left: 1px solid var(--rule); }
.house-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; min-height: 56px; }
.house-role { display: flex; flex-direction: column; gap: 4px; }
.house-role .label { color: var(--ink-1); }
.house-rel { font-family: var(--cond); font-weight: 400; font-size: .8125rem; letter-spacing: .06em; color: var(--ink-3); --track: .06em; }
.house-sig { flex: none; width: auto; color: rgba(242, 238, 230, .34); }
.sig-aa { height: 30px; } .sig-ak { height: 27px; } .sig-cc { height: 34px; } .sig-lt { height: 27px; }
.houses h3 { margin-top: 22px; font-weight: 300; font-size: clamp(1.6rem, 2.3vw, 2rem); line-height: 1.12; letter-spacing: -.01em; }
.house-line { margin-top: 14px; font-family: var(--cond); font-weight: 400; font-size: .75rem; line-height: 1.5; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); --track: .2em; }
.house-desc { margin-top: 14px; font-style: italic; font-weight: 300; font-size: 1.1875rem; line-height: 1.45; color: var(--ink-2); flex: 1; text-wrap: pretty; }
.houses .go, .houses .here { margin-top: 18px; align-self: flex-start; font-size: .75rem; letter-spacing: .18em; }
.houses .here { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--cond); font-weight: 500; text-transform: uppercase; color: var(--gold-2); }
.houses .is-here .house-role .label { color: var(--gold-2); }
.houses .is-here .house-sig { color: var(--gold-2); }

/* ── Contact ── */
.contact-line { margin-top: 18px; color: var(--ink-2); max-width: 26em; }
.mail {
  display: inline-block; margin-top: 30px; padding-block: 9px;
  font-weight: 300; font-size: clamp(1.6rem, 3.6vw, 2.75rem); line-height: 1.2; letter-spacing: -.01em; overflow-wrap: anywhere;
  background: linear-gradient(var(--gold-2), var(--gold-2)) left calc(100% - 4px) / 100% 1px no-repeat; transition: color .3s ease;
}
.mail:hover { color: var(--gold-1); }

/* ── Footer ── */
.foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 32px; padding-block: 26px 34px; border-top: 1px solid var(--rule); font-family: var(--cond); font-size: .75rem; letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); --track: .18em; }
.foot ul { display: flex; flex-wrap: wrap; align-items: center; gap: 0 clamp(18px, 2.4vw, 34px); }
.foot a { display: inline-block; padding-block: 13px; transition: color .3s ease; }
.foot a:hover { color: var(--ink-1); }
.foot-copy { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; }
.foot-copy .mark { height: 8px; }

/* ── Plain pages: legal, 404 ── */
.page { padding-top: clamp(56px, 10vh, 120px); padding-bottom: clamp(72px, 10vw, 128px); }
.page h1 { font-weight: 300; font-size: clamp(2.4rem, 5.4vw, 4rem); line-height: 1.05; letter-spacing: -.02em; }
.page-kicker { margin-bottom: 22px; }
.legal { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--col-gap); margin-top: clamp(48px, 7vw, 88px); padding-top: 30px; border-top: 1px solid var(--rule); }
.legal h2 { grid-column: 1 / span 3; font-family: var(--cond); font-weight: 500; font-size: .8125rem; line-height: 1.5; letter-spacing: var(--track); text-transform: uppercase; color: var(--gold-2); }
.legal-body { grid-column: 4 / span 8; }
.legal-body p { font-size: 1.1875rem; line-height: 1.6; color: var(--ink-2); max-width: 36em; font-variant-numeric: lining-nums; }
.legal-body p + p { margin-top: 16px; }
.legal-body h3 { margin: 40px 0 14px; font-family: var(--cond); font-weight: 500; font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.legal-body a { color: var(--ink-1); background: linear-gradient(var(--gold-2), var(--gold-2)) left 100% / 100% 1px no-repeat; transition: color .3s ease; }
.legal-body a:hover { color: var(--gold-1); }
.lost-lede { margin-top: 24px; font-size: 1.3125rem; color: var(--ink-2); max-width: 26em; }
.lost .go { margin-top: 34px; }

/* ── Motion: opacity only. One load sequence; sections surface once. ── */
@media (prefers-reduced-motion: no-preference) {
  .hero-kicker, .hero h1, .hero-lede, .index, .hero-ghost { animation: surface 1.1s ease both; }
  .hero h1 { animation-delay: .12s; }
  .hero-lede { animation-delay: .42s; }
  .index { animation-delay: .62s; }
  .hero-ghost { animation-duration: 2.4s; animation-delay: .3s; }
  .js-on [data-r] { opacity: 0; transition: opacity 1s ease; }
  .js-on [data-r].in { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@keyframes surface { from { opacity: 0; } to { opacity: 1; } }

/* ── Narrow screens ── */
@media (max-width: 1100px) {
  .hero-lede { grid-column: 3 / span 4; }
  .index { grid-column: 8 / -1; }
  .houses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .houses li:nth-child(3) { padding-left: 0; border-left: 0; }
  .houses li:nth-child(n + 3) { border-top: 1px solid var(--rule); }
  .never { grid-column: 1 / -1; }
  .entry-specs { grid-column: 1 / -1; margin-top: 40px; }
}

@media (max-width: 980px) {
  .rules { grid-template-columns: minmax(0, 1fr); row-gap: 30px; }
  .rules h3 { font-size: 1.5rem; }
}

@media (max-width: 860px) {
  body { font-size: 1.25rem; }
  :root { --top-h: 58px; }
  .sec-head { grid-column: 1 / -1; margin-bottom: 34px; }
  .sec-body { grid-column: 1 / -1; }
  .hero-ghost { display: none; }
  .hero-lede { grid-column: 1 / -1; grid-row: auto; max-width: 30em; }
  .index { grid-column: 1 / -1; grid-row: auto; margin-top: 44px; }
  .ritual ol { grid-template-columns: minmax(0, 1fr); row-gap: 26px; }
  .entry-next .label { grid-column: 1 / -1; }
  .entry-next p { grid-column: 1 / -1; margin-top: 6px; }
  .legal h2 { grid-column: 1 / -1; margin-bottom: 20px; }
  .legal-body { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .top-nav .opt { display: none; }
  .top-nav ul { gap: 22px; }
  .hero h1 { font-size: clamp(1.75rem, 9.3vw, 2.6rem); line-height: 1.06; }
  .entry-head { grid-template-columns: auto minmax(0, 1fr); }
  .entry-icon { width: 56px; height: 56px; }
  .entry-cta { grid-column: 1 / -1; margin-top: 28px; text-align: left; }
  .btn { width: 100%; }
  .entry-acts, .entry-more { flex-direction: column; align-items: flex-start; gap: 6px; }
  .entry-acts { align-items: stretch; }
  .entry-acts .btn { margin-bottom: 12px; }
  .houses { grid-template-columns: minmax(0, 1fr); }
  .houses li, .houses li + li { padding: 24px 0 6px; border-left: 0; }
  .houses li + li { border-top: 1px solid var(--rule); }
  .signed { align-items: flex-start; }
  .signature { font-size: .8125rem; letter-spacing: .22em; --track: .22em; }
  .foot { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 370px) {
  .top-in { gap: 12px; }
  .brand { gap: 9px; }
  .brand-name, .top-nav a { font-size: .75rem; letter-spacing: .14em; }
  .brand-name { --track: .14em; }
  .top-nav ul { gap: 14px; }
  .index-row { grid-template-columns: 3.4rem minmax(0, 1fr) auto; column-gap: 8px; }
  .index-go { letter-spacing: .14em; }
  .index-name { gap: 9px; font-size: 1.25rem; }
  .index-icon { width: 22px; height: 22px; }
}

@media print {
  :root { --bg: #fff; --ivory: #000; --ink-1: #000; --ink-2: #222; --ink-3: #444; --gold-1: #6b5220; --gold-2: #6b5220; --rule: #bbb; --rule-soft: #ddd; }
  body { background: #fff; color: #000; }
  .top { position: static; }
  .top-nav, .skip, .hero-ghost { display: none; }
  .js-on [data-r] { opacity: 1 !important; }
  .btn { background: none; border-color: #000; color: #000; }
  .house-sig { color: #777; }
}
