/* ═══ k1r1l0v · the studio's one stylesheet ═══════════════════════════════════════════════════
   The whole web presence reads as ONE hand: a deep night, warm gold, generous air, hairline
   rules. No frameworks, no external requests (no fonts, no analytics, no cookies — the pages
   are self-contained by design: privacy IS part of the luxury). Type is the system's best
   serif/sans so every visitor gets native rendering at zero transfer cost. */

:root {
  --night: #08080c;
  --night-lift: #0d0d13;
  --ink: #e9e4d8;
  --ink-dim: #a89f8c;
  --whisper: #7a7466;
  --gold: #c9a558;
  --gold-bright: #e8cd8f;
  --gold-deep: #8a6f3a;
  --hairline: rgba(201, 165, 88, 0.28);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--night);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  /* the studio's night is never flat black — a faint warmth breathes at the crown */
  background-image: radial-gradient(1100px 520px at 50% -8%, rgba(201, 165, 88, 0.055), transparent 62%);
  background-repeat: no-repeat;
}

/* ── the page column ── */
main {
  width: 100%;
  max-width: 660px;
  padding: 0 24px 96px;
  flex: 1;
}

/* ── the shared masthead: the studio mark, small, always the way home ── */
header.mast {
  width: 100%;
  max-width: 660px;
  padding: 40px 24px 0;
}
header.mast a {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.34em;
  text-transform: lowercase;
  color: var(--ink-dim);
  text-decoration: none;
  transition: color 0.4s ease;
}
header.mast a:hover { color: var(--gold-bright); }

/* ── display voices ── */
h1 {
  font-family: var(--sans);
  font-weight: 300;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  font-size: clamp(26px, 6vw, 40px);
  color: var(--gold-bright);
  text-indent: 0.42em; /* balances the tracking so the word sits truly centred */
  text-align: center;
}
h2 {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 56px 0 18px;
}
h1 + .underline, .underline {
  width: 128px;
  height: 1px;
  margin: 26px auto;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  position: relative;
}
.underline::after { /* a soft bloom under the rule — light, never a box */
  content: "";
  position: absolute;
  inset: -7px -30px;
  background: radial-gradient(closest-side, rgba(201, 165, 88, 0.20), transparent);
}

/* ── body voices ── */
p { color: var(--ink-dim); margin: 0 0 18px; }
p.lead { font-size: 19px; color: var(--ink); }
p.whisper {
  font-style: italic;
  color: var(--whisper);
  text-align: center;
  font-size: 17px;
}
strong { color: var(--ink); font-weight: 600; }
em { color: var(--ink); }

a { color: var(--gold); text-decoration: none; border-bottom: 1px solid var(--hairline); transition: color .35s ease, border-color .35s ease; }
a:hover { color: var(--gold-bright); border-color: var(--gold-bright); }

ul { list-style: none; margin: 0 0 18px; }
ul li { color: var(--ink-dim); padding-left: 22px; position: relative; margin-bottom: 10px; }
ul li::before { content: "·"; color: var(--gold); position: absolute; left: 4px; }

ol { margin: 0 0 18px 20px; }
ol li { color: var(--ink-dim); margin-bottom: 10px; padding-left: 6px; }
ol li::marker { color: var(--gold); font-family: var(--sans); font-size: 14px; }

/* ── the centred ceremonial layouts (landing / hero) ── */
.rite {
  min-height: 72vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.kicker {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.44em;
  text-transform: uppercase;
  color: var(--whisper);
  text-indent: 0.44em;
}

/* ── the studio wordmark (the digits are part of the mark — set in the technical hand) ── */
.wordmark {
  font-family: var(--sans);
  font-weight: 200;
  font-size: clamp(40px, 10vw, 72px);
  letter-spacing: 0.30em;
  text-indent: 0.30em;
  color: var(--ink);
}
.wordmark .au { color: var(--gold-bright); }

/* ── the breathing star — one point of living light, pure CSS ── */
.star {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold-bright);
  margin: 44px auto;
  position: relative;
  animation: breathe 5.2s ease-in-out infinite;
}
.star::before { /* the halo */
  content: "";
  position: absolute;
  inset: -26px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(232, 205, 143, 0.35), transparent 70%);
}
.star::after { /* the cross of light — a point needs it to read as a STAR */
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 74px; height: 1px;
  transform: translate(-50%, -50%);
  background: linear-gradient(90deg, transparent, rgba(232, 205, 143, 0.8), transparent);
}
@keyframes breathe {
  0%, 100% { opacity: 0.55; transform: scale(0.92); }
  50%      { opacity: 1;    transform: scale(1.08); }
}

/* ── the golden orb (the AURUM page's one image, drawn in light) ── */
.orb {
  width: 148px; height: 148px;
  border-radius: 50%;
  margin: 8px auto 40px;
  background:
    radial-gradient(circle at 34% 30%, #f6e6b8 0%, #e2bd6e 26%, #a87f3a 58%, #4a3517 86%, #241a0c 100%);
  box-shadow:
    0 0 44px 8px rgba(201, 165, 88, 0.20),
    0 0 120px 30px rgba(201, 165, 88, 0.08),
    inset -14px -18px 42px rgba(0, 0, 0, 0.55);
  animation: orbbreathe 6.4s ease-in-out infinite;
}
@keyframes orbbreathe {
  0%, 100% { box-shadow: 0 0 44px 8px rgba(201,165,88,.20), 0 0 120px 30px rgba(201,165,88,.08), inset -14px -18px 42px rgba(0,0,0,.55); }
  50%      { box-shadow: 0 0 58px 12px rgba(201,165,88,.30), 0 0 150px 40px rgba(201,165,88,.12), inset -14px -18px 42px rgba(0,0,0,.55); }
}

/* ── quiet meta text (dates, addresses) ── */
.meta {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--whisper);
}

/* ── the footer: one hairline, one line ── */
footer {
  width: 100%;
  max-width: 660px;
  padding: 0 24px 44px;
  text-align: center;
}
footer .rule {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--hairline), transparent);
  margin-bottom: 22px;
}
footer p {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--whisper);
  margin: 0;
}
footer a { color: var(--ink-dim); border-bottom: none; }
footer a:hover { color: var(--gold-bright); }
footer .links { margin-bottom: 10px; }
footer .links a { margin: 0 12px; }

/* small rooms breathe too */
@media (max-width: 480px) {
  body { font-size: 16px; }
  .rite { min-height: 66vh; }
}

/* ═══ THE SHARED NIGHT (2026-07-10 deep pass): the regulation pages carry the brand too — the
   warm aurora, the vignette, sparse embers (assets/night.js) and gilded chapter heads. A legal
   document in this house still stands inside the Sanctum. ═══ */
.au-aurora {
  position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background: radial-gradient(1100px 520px at 50% -10%, rgba(201, 165, 88, 0.10), transparent 62%);
  animation: auaurora2 12s ease-in-out infinite;
}
@keyframes auaurora2 { 0%, 100% { opacity: 0.6; } 50% { opacity: 1; } }
.au-vignette {
  position: fixed; inset: 0; pointer-events: none; z-index: -1;
  background: radial-gradient(125% 125% at 50% 40%, transparent 55%, rgba(0, 0, 0, 0.48) 100%);
}
canvas.embers { position: fixed; inset: 0; width: 100%; height: 100%; display: block; z-index: -2; }
body.night { background-image: none; }

/* every chapter head grows its gold hairline as the page settles */
body.night h2 { position: relative; padding-bottom: 12px; }
body.night h2::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 64px; height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  transform: scaleX(0); transform-origin: left;
  animation: gildgrow 1.1s cubic-bezier(0.3, 0, 0.2, 1) 0.5s both;
}
@keyframes gildgrow { to { transform: scaleX(1); } }

/* the page arrives as one breath */
body.night main { animation: nightfade 1s ease 0.1s both; }
@keyframes nightfade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* the gold plates (THE LEDGER grammar, shared) */
.ledger { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 30px; }
@media (max-width: 560px) { .ledger { grid-template-columns: 1fr; } }
.ledger a {
  display: block;
  border: 1px solid rgba(201, 165, 88, 0.24);
  border-radius: 9px;
  padding: 18px 20px 16px;
  text-decoration: none; border-bottom-width: 1px;
  background: radial-gradient(220px 70px at 50% 130%, rgba(201, 165, 88, 0.10), transparent);
  transition: border-color .35s ease, box-shadow .35s ease, transform .35s ease;
}
.ledger a:hover {
  border-color: rgba(232, 205, 143, 0.65);
  box-shadow: 0 12px 44px rgba(201, 165, 88, 0.12);
  transform: translateY(-3px);
}
.ledger .t {
  font-family: var(--sans); font-size: 12.5px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold);
}
.ledger .w { font-style: italic; color: var(--whisper); font-size: 15px; margin-top: 6px; }

@media (prefers-reduced-motion: reduce) {
  .au-aurora, body.night h2::after, body.night main { animation: none; }
  body.night h2::after { transform: scaleX(1); }
}
