/* ==========================================================================
   canlander.org
   Direction: late-night card table. Warm near-black, brass, parchment.
   ========================================================================== */

/* Fonts (self-hosted, OFL) ------------------------------------------------ */
@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-latin-full-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/assets/fonts/fraunces-latin-full-italic.woff2") format("woff2");
  font-weight: 100 900; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/instrument-sans-latin-wght-normal.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("/assets/fonts/instrument-sans-latin-wght-italic.woff2") format("woff2");
  font-weight: 400 700; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url("/assets/fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url("/assets/fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}

/* Tokens ------------------------------------------------------------------ */
:root {
  --table: #0f0d0b;
  --table-2: #15120e;
  --raised: #1c1813;
  --raised-2: #241f18;
  --felt: #111c17;
  --felt-2: #172620;

  --parchment: #ecdfc4;
  --parchment-2: #c9bc9f;
  --parchment-3: #8f846d;
  --brass: #c9a45c;
  --brass-hi: #e6c682;
  --brass-lo: #8a6f3c;
  --ember: #c4553a;

  --hair: rgba(201, 164, 92, 0.2);
  --hair-2: rgba(201, 164, 92, 0.38);

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Plex Mono", ui-monospace, "Cascadia Mono", Menlo, monospace;

  --wrap: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 3px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* Reset-ish --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--table);
  color: var(--parchment);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
/* Paper/felt grain over everything, very faint */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .07;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
::selection { background: var(--brass); color: var(--table); }

a { color: inherit; text-decoration-line: underline; text-decoration-color: var(--hair-2); text-decoration-thickness: 1px; text-underline-offset: .22em; transition: color .2s, text-decoration-color .2s; }
a:hover { color: var(--brass-hi); text-decoration-color: var(--brass); }
:focus-visible { outline: 2px solid var(--brass-hi); outline-offset: 3px; border-radius: 2px; }

.skip { position: absolute; left: -999px; top: .5rem; background: var(--brass); color: var(--table); padding: .5rem .9rem; z-index: 200; }
.skip:focus { left: .5rem; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: calc(720px + 2 * var(--gutter)); }
.mono { font-family: var(--mono); font-feature-settings: "zero" 0; letter-spacing: 0; }

/* Type -------------------------------------------------------------------- */
.eyebrow {
  font-family: var(--mono);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 1.1rem;
}
.eyebrow a { text-decoration: none; }
.h2 {
  font-family: var(--serif);
  font-variation-settings: "opsz" 96, "SOFT" 30;
  font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3rem);
  line-height: 1.06;
  letter-spacing: -.015em;
  margin-bottom: 1.25rem;
  text-wrap: balance;
}
.h3 {
  font-family: var(--serif);
  font-variation-settings: "opsz" 48;
  font-size: 1.45rem;
  line-height: 1.2;
}
em { font-style: italic; }

/* Buttons & links --------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem;
  padding: .85rem 1.35rem .8rem;
  border-radius: var(--radius);
  font-family: var(--sans); font-weight: 600; font-size: .95rem; letter-spacing: .01em;
  text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn--brass {
  background: var(--brass); color: #1a140b; border: 1px solid var(--brass-hi);
  box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 10px 30px -12px rgba(201,164,92,.6);
}
.btn--brass:hover { background: var(--brass-hi); color: #1a140b; transform: translateY(-1px); }
.btn--ghost { border: 1px solid var(--hair-2); color: var(--parchment); background: transparent; }
.btn--ghost:hover { border-color: var(--brass); color: var(--brass-hi); }

.link-arrow {
  display: inline-flex; align-items: baseline; gap: .4em;
  color: var(--brass); font-weight: 500; text-decoration: none;
}
.link-arrow span { display: inline-block; transition: transform .25s var(--ease); }
.link-arrow:hover { color: var(--brass-hi); }
.link-arrow:hover span { transform: translateX(3px); }

.link-btn { background: none; border: 0; padding: 0; color: var(--parchment-2); text-decoration: underline; text-decoration-color: var(--hair-2); text-underline-offset: .22em; cursor: pointer; }
.link-btn:hover { color: var(--brass-hi); }

/* Masthead ---------------------------------------------------------------- */
.masthead { position: relative; z-index: 20; border-bottom: 1px solid var(--hair); }
.masthead__inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .75rem; text-decoration: none; color: var(--parchment); }
.brand:hover { color: var(--parchment); }
.brand__mark { width: 30px; height: 30px; color: var(--brass); transition: transform .6s var(--ease); }
.brand:hover .brand__mark { transform: rotate(-12deg); }
.brand__word { font-family: var(--serif); font-variation-settings: "opsz" 36, "SOFT" 60; font-size: 1.4rem; font-style: italic; letter-spacing: -.01em; }
.brand__tld { font-family: var(--mono); font-style: normal; font-size: .72rem; color: var(--parchment-3); margin-left: .15rem; letter-spacing: .02em; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav ul { display: flex; gap: 1.6rem; list-style: none; }
.nav a { text-decoration: none; color: var(--parchment-2); font-size: .95rem; position: relative; padding: .3rem 0; }
.nav a:hover { color: var(--parchment); }
.nav ul a[aria-current="page"] { color: var(--parchment); }
.nav ul a[aria-current="page"]::after {
  content: ""; position: absolute; left: 50%; bottom: -.35rem; width: 4px; height: 4px; border-radius: 50%; background: var(--brass); transform: translateX(-50%);
}
.nav__cta { color: var(--brass) !important; font-family: var(--mono); font-size: .8rem !important; letter-spacing: .06em; text-transform: uppercase; border: 1px solid var(--hair-2); padding: .45rem .8rem !important; border-radius: var(--radius); }
.nav__cta:hover { border-color: var(--brass); color: var(--brass-hi) !important; }

.menu-toggle { display: none; background: none; border: 1px solid var(--hair-2); border-radius: var(--radius); padding: .45rem .8rem; font-family: var(--mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--parchment); cursor: pointer; }
.mobile-nav { border-top: 1px solid var(--hair); }
.mobile-nav ul { list-style: none; padding: .5rem var(--gutter) 1.25rem; }
.mobile-nav a { display: block; padding: .8rem 0; border-bottom: 1px solid var(--hair); text-decoration: none; font-family: var(--serif); font-size: 1.35rem; }

/* Hero -------------------------------------------------------------------- */
.hero { position: relative; padding: clamp(3.5rem, 8vw, 6.5rem) 0 2.5rem; isolation: isolate; overflow-x: clip; }
.hero__lamp {
  position: absolute; z-index: -1; pointer-events: none;
  left: 50%; top: -30%; width: min(1500px, 140vw); height: 120%;
  transform: translateX(-42%);
  background:
    radial-gradient(ellipse 42% 46% at 50% 38%, rgba(232, 178, 98, .16), rgba(232, 178, 98, .05) 45%, transparent 70%);
}
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero__title {
  font-family: var(--serif);
  font-variation-settings: "opsz" 144, "SOFT" 20, "WONK" 0;
  font-weight: 380;
  font-size: clamp(2.6rem, 1.4rem + 4.6vw, 5.1rem);
  line-height: .98;
  letter-spacing: -.028em;
  margin-bottom: 1.75rem;
}
.hero__title em { color: var(--brass-hi); font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; font-weight: 360; }
.hero__lede { max-width: 34rem; font-size: 1.12rem; color: var(--parchment-2); margin-bottom: 2.25rem; }
.hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 1.6rem; }

/* Real cards (Scryfall) */
.mtg { position: relative; margin: 0; aspect-ratio: 488 / 680; border-radius: 4.75% / 3.5%; background: #0b0a08; box-shadow: 0 1px 0 rgba(255,255,255,.06) inset, 0 16px 34px -14px rgba(0,0,0,.9), 0 2px 6px rgba(0,0,0,.55); }
.mtg img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.mtg__pts {
  position: absolute; top: -9px; right: -9px; z-index: 2;
  min-width: 34px; height: 34px; padding: 0 6px; border-radius: 999px;
  display: grid; place-items: center;
  font-family: var(--serif); font-style: italic; font-variation-settings: "opsz" 48, "SOFT" 100, "WONK" 1; font-size: 1.15rem; line-height: 1;
  color: #1a140b; background: radial-gradient(circle at 35% 30%, var(--brass-hi), var(--brass) 55%, var(--brass-lo));
  border: 2px solid #0f0d0b; box-shadow: 0 4px 10px rgba(0,0,0,.55);
}
.mtg__pts.is-zero { background: #2a251d; color: var(--parchment-2); border-color: #0f0d0b; }


/* Ticker */
.ticker {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  display: grid; grid-template-columns: 1fr 2fr 1fr;
  border-top: 1px solid var(--hair-2); border-bottom: 1px solid var(--hair);
}
.ticker__cell { padding: 1.05rem 1.25rem 1.1rem 0; display: flex; flex-direction: column; gap: .25rem; min-width: 0; text-decoration: none; color: inherit; }
a.ticker__cell:hover .ticker__v { color: var(--brass-hi); }
.ticker__cell + .ticker__cell { padding-left: 1.25rem; border-left: 1px solid var(--hair); }
.ticker__k { font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--parchment-3); }
.ticker__v { font-family: var(--serif); font-variation-settings: "opsz" 24; font-size: 1.08rem; color: var(--parchment); text-decoration: none; }
a.ticker__v:hover { color: var(--brass-hi); }
.ticker__count { font-family: var(--mono); font-size: .78rem; color: var(--brass); margin-left: .5rem; }

/* Sections ---------------------------------------------------------------- */
.section { padding: clamp(4rem, 9vw, 7.5rem) 0; position: relative; }
.section--rule { border-top: 1px solid var(--hair); }
.section__head { margin-bottom: 2.75rem; max-width: 46rem; }
.section__head--row { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; max-width: none; margin-bottom: 1.25rem; padding-bottom: .9rem; border-bottom: 1px solid var(--hair-2); }

.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.split__aside p { color: var(--parchment-2); max-width: 30rem; }

/* Index card */
.indexcard {
  --line: 1.85rem;
  position: relative;
  background-color: #efe4cb;
  background-image:
    linear-gradient(to bottom, transparent calc(3.4rem - 1px), rgba(176, 58, 46, .55) calc(3.4rem - 1px), rgba(176, 58, 46, .55) 3.4rem, transparent 3.4rem),
    repeating-linear-gradient(to bottom, transparent 0 calc(var(--line) - 1px), rgba(64, 104, 150, .2) calc(var(--line) - 1px) var(--line));
  background-position: 0 0, 0 calc(3.4rem + .3rem);
  background-repeat: no-repeat, repeat;
  color: #231c13;
  padding: 1rem clamp(1.25rem, 3vw, 2.25rem) 1.5rem;
  border-radius: 2px;
  transform: rotate(-1.2deg);
  box-shadow: 0 1px 0 #fff8 inset, 0 30px 60px -25px rgba(0,0,0,.9), 0 6px 14px -4px rgba(0,0,0,.6);
}
.indexcard::after { /* a bit of tape */
  content: ""; position: absolute; top: -12px; left: 50%; width: 92px; height: 26px; transform: translateX(-50%) rotate(2deg);
  background: rgba(232, 222, 190, .55); box-shadow: 0 1px 2px rgba(0,0,0,.2); backdrop-filter: blur(1px);
}
.indexcard__head { height: 2.4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; font-family: var(--serif); font-style: italic; font-size: 1.15rem; font-variation-settings: "opsz" 36, "SOFT" 80; }
.indexcard__head .mono { font-style: normal; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: #8a3b2c; }
.indexcard__list { list-style: none; counter-reset: rule; margin-top: 1.3rem; }
.indexcard__list li { counter-increment: rule; position: relative; padding-left: 2.1rem; line-height: var(--line); font-size: .99rem; }
.indexcard__list li::before { content: counter(rule) "."; position: absolute; left: 0; font-family: var(--serif); font-style: italic; color: #8a3b2c; font-size: 1.05rem; }
.indexcard__list b { font-weight: 650; }
.indexcard__foot { margin: .4rem 0 0; line-height: var(--line); font-family: var(--serif); font-style: italic; color: #5b4f3d; text-align: right; }

/* Felt section */
.section--felt {
  background:
    radial-gradient(ellipse 80% 70% at 50% 40%, var(--felt-2), var(--felt) 70%, #0b120f);
  border-top: 1px solid rgba(0,0,0,.6); border-bottom: 1px solid rgba(0,0,0,.6);
  box-shadow: 0 30px 60px -40px rgba(0,0,0,.9) inset, 0 -30px 60px -40px rgba(0,0,0,.9) inset;
}
.essay__title { max-width: 18ch; font-size: clamp(2.1rem, 1.4rem + 2.8vw, 3.6rem); }
.essay__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; margin-top: 2.5rem; color: var(--parchment-2); }
.essay__cols p:first-child::first-letter {
  font-family: var(--serif); float: left; font-size: 3.6em; line-height: .82; padding: .06em .1em 0 0; color: var(--brass-hi); font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; font-style: italic;
}
.pull { margin: 3.5rem 0 0; padding: 1.6rem 0 0; border-top: 1px solid var(--hair-2); max-width: 52rem; }
.pull p { font-family: var(--serif); font-style: italic; font-variation-settings: "opsz" 96, "SOFT" 100; font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.3rem); line-height: 1.2; color: var(--parchment); margin: 0; }
.pull p::before { content: "“"; color: var(--brass); margin-left: -.45em; }
.pull p::after { content: "”"; color: var(--brass); }

/* Steps */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--hair-2); }
.step { padding: 1.75rem 1.5rem 0 0; display: flex; flex-direction: column; }
.step + .step { padding-left: 1.5rem; border-left: 1px solid var(--hair); }
.step__n { font-family: var(--serif); font-style: italic; font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; font-size: 3rem; line-height: 1; color: var(--brass); margin-bottom: 1.1rem; }
.step__t { font-family: var(--serif); font-variation-settings: "opsz" 36; font-size: 1.3rem; margin-bottom: .5rem; }
.step p { color: var(--parchment-2); font-size: .97rem; flex: 1; }

/* Ledger list */
.two-up { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.5rem, 6vw, 5rem); }
.ledger { list-style: none; }
.ledger__row { display: grid; grid-template-columns: 11rem minmax(0, 1fr); gap: 1rem; align-items: baseline; padding: .85rem 0; border-bottom: 1px dashed var(--hair); }
.ledger__date { font-size: .78rem; color: var(--parchment-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ledger__title { font-family: var(--serif); font-variation-settings: "opsz" 24; font-size: 1.08rem; text-decoration: none; line-height: 1.35; }
.ext { color: var(--brass); font-size: .85em; }

/* Page head ---------------------------------------------------------------- */
.page-head { overflow-x: clip; padding: clamp(3.5rem, 8vw, 6rem) 0 clamp(2.5rem, 5vw, 3.5rem); border-bottom: 1px solid var(--hair); margin-bottom: clamp(2.5rem, 5vw, 4rem); position: relative; isolation: isolate; }
.page-head::before { content: ""; position: absolute; inset: -40% 0 0; z-index: -1; background: radial-gradient(ellipse 45% 60% at 20% 30%, rgba(232,178,98,.09), transparent 70%); pointer-events: none; }
.page-head__title { font-family: var(--serif); font-variation-settings: "opsz" 144, "SOFT" 20; font-weight: 380; font-size: clamp(2.4rem, 1.3rem + 4vw, 4.4rem); line-height: 1; letter-spacing: -.025em; max-width: 16ch; margin-bottom: 1.4rem; text-wrap: balance; }
.page-head__title em { color: var(--brass-hi); font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; }
.page-head__lede { max-width: 40rem; font-size: 1.12rem; color: var(--parchment-2); margin: 0; }

/* Docs layout -------------------------------------------------------------- */
.docs { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(2rem, 6vw, 6rem); padding-bottom: 6rem; }
.docs__toc { position: sticky; top: 2rem; align-self: start; }
.docs__toc ol { list-style: none; border-left: 1px solid var(--hair); }
.docs__toc a { display: block; padding: .38rem 0 .38rem 1rem; margin-left: -1px; border-left: 1px solid transparent; text-decoration: none; color: var(--parchment-2); font-size: .93rem; }
.docs__toc a .mono { color: var(--parchment-3); font-size: .72rem; margin-right: .35rem; }
.docs__toc a:hover, .docs__toc a.is-active { color: var(--parchment); border-left-color: var(--brass); }
.docs__official { display: inline-block; margin-top: 1.5rem; font-family: var(--mono); font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--brass); text-decoration: none; }
.docs__section { padding-bottom: 3.5rem; margin-bottom: 3.5rem; border-bottom: 1px solid var(--hair); scroll-margin-top: 2rem; }
.docs__section:last-child { border-bottom: 0; }
.docs__num { color: var(--brass); font-size: .78rem; margin-bottom: .4rem; }

/* Prose */
.prose { max-width: 44rem; }
.prose > * + * { margin-top: 0; }
.prose h2 { font-family: var(--serif); font-variation-settings: "opsz" 96, "SOFT" 30; font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.5rem); line-height: 1.1; letter-spacing: -.015em; margin: 0 0 1.25rem; }
.prose h3 { font-family: var(--serif); font-variation-settings: "opsz" 36; font-size: 1.35rem; margin: 2rem 0 .75rem; }
.prose p, .prose li { color: var(--parchment-2); }
.prose b, .prose strong { color: var(--parchment); font-weight: 600; }
.prose ul { list-style: none; margin: 0 0 1.25em; }
.prose ul li { position: relative; padding-left: 1.4rem; margin-bottom: .6rem; }
.prose ul li::before { content: ""; position: absolute; left: .1rem; top: .72em; width: .5rem; height: 1px; background: var(--brass); }
.prose code { font-family: var(--mono); font-size: .86em; background: var(--raised); padding: .1em .35em; border-radius: 2px; color: var(--parchment); }
.prose .lead { font-size: 1.25rem; line-height: 1.5; color: var(--parchment); font-family: var(--serif); font-variation-settings: "opsz" 24; }
.aside-note { font-size: .9rem; color: var(--parchment-3) !important; border-left: 2px solid var(--brass-lo); padding-left: 1rem; margin: 1.5rem 0 0; }

.rules-table { margin: 1.75rem 0; border-top: 1px solid var(--hair-2); }
.rules-table > div { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 1.5rem; padding: 1rem 0; border-bottom: 1px solid var(--hair); }
.rules-table dt { font-family: var(--mono); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brass); padding-top: .25rem; }
.rules-table dd { margin: 0; color: var(--parchment); }

.numbered { list-style: none; counter-reset: n; margin: 1.5rem 0; }
.numbered li { counter-increment: n; position: relative; padding: 1rem 0 1rem 3.25rem; border-top: 1px solid var(--hair); }
.numbered li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 0; top: 1.05rem; font-family: var(--mono); font-size: .8rem; color: var(--brass); }

.glossary { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.5rem; margin: 1.5rem 0 0; }
.glossary > div { padding: 1rem 0; border-top: 1px solid var(--hair); }
.glossary dt { font-family: var(--serif); font-variation-settings: "opsz" 24; font-size: 1.12rem; color: var(--parchment); margin-bottom: .25rem; }
.glossary dd { margin: 0; color: var(--parchment-2); font-size: .95rem; }

.faq details { border-top: 1px solid var(--hair); }
.faq details:last-child { border-bottom: 1px solid var(--hair); }
.faq summary { list-style: none; cursor: pointer; padding: 1.1rem 2.5rem 1.1rem 0; position: relative; font-family: var(--serif); font-variation-settings: "opsz" 24; font-size: 1.15rem; color: var(--parchment); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .25rem; top: .95rem; font-family: var(--mono); color: var(--brass); font-size: 1.2rem; transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 1.2rem; margin: 0; }

/* Points sandbox */
.sandbox {
  margin: 2.25rem 0 0; padding: clamp(1.25rem, 3vw, 2rem);
  background: linear-gradient(180deg, var(--raised), var(--table-2));
  border: 1px solid var(--hair-2); border-radius: 6px;
  box-shadow: 0 1px 0 rgba(255,255,255,.04) inset, 0 30px 60px -40px #000;
}
.sandbox__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.sandbox__head .eyebrow { margin-bottom: .4rem; }
.sandbox__title { font-family: var(--serif); font-style: italic; font-variation-settings: "opsz" 72, "SOFT" 100, "WONK" 1; font-size: 1.9rem; line-height: 1; margin: 0 !important; }
.sandbox__asof { font-size: .7rem; color: var(--parchment-3); margin: 0; }
.meter { display: grid; grid-template-columns: repeat(10, 1fr); gap: 6px; margin-bottom: .9rem; }
.meter__pip { height: 2.6rem; border-radius: 3px; border: 1px solid var(--hair-2); background: rgba(0,0,0,.25); transition: background .25s, border-color .25s, transform .25s var(--ease); }
.meter__pip.is-on { background: linear-gradient(160deg, var(--brass-hi), var(--brass-lo)); border-color: var(--brass-hi); transform: translateY(-2px); }
.sandbox.is-over .meter__pip.is-on { background: linear-gradient(160deg, #e07a5f, #7c2b1b); border-color: #e07a5f; }
.sandbox__status { font-family: var(--mono); font-size: .82rem; color: var(--parchment-2) !important; min-height: 1.5em; margin-bottom: 1.25rem; }
.sandbox.is-over .sandbox__status { color: #ee9a83 !important; }
.sandbox.is-full .sandbox__status { color: var(--brass-hi) !important; }
.sandbox__cards { list-style: none !important; display: flex; flex-wrap: wrap; gap: .5rem; margin: 0 0 1.25rem !important; }
.sandbox__cards li { padding: 0 !important; margin: 0 !important; }
.sandbox__cards li::before { display: none; }
.chip {
  display: inline-flex; align-items: center; gap: .65rem;
  padding: .45rem .5rem .45rem .8rem; cursor: pointer;
  background: rgba(0,0,0,.2); border: 1px solid var(--hair-2); border-radius: var(--radius);
  font-size: .9rem; color: var(--parchment);
  transition: background .2s, border-color .2s, transform .15s;
}
.chip:hover { border-color: var(--brass); }
.chip:active { transform: translateY(1px); }
.chip__pts { min-width: 1.6rem; text-align: center; padding: .1rem .3rem; border-radius: 2px; background: var(--raised-2); color: var(--brass-hi); font-size: .8rem; }
.chip[aria-pressed="true"] { background: rgba(201,164,92,.16); border-color: var(--brass); }
.chip[aria-pressed="true"] .chip__pts { background: var(--brass); color: #1a140b; }
.sandbox__foot { display: flex; justify-content: space-between; align-items: center; padding-top: 1rem; border-top: 1px solid var(--hair); }

/* Resources ---------------------------------------------------------------- */
.filter { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 3rem; }
.js .filter[hidden] { display: flex; }
.filter__btn { background: none; border: 1px solid var(--hair); border-radius: 999px; padding: .45rem .95rem; font-size: .88rem; color: var(--parchment-2); cursor: pointer; transition: all .2s; }
.filter__btn .mono { font-size: .72rem; color: var(--parchment-3); margin-left: .25rem; }
.filter__btn:hover { border-color: var(--hair-2); color: var(--parchment); }
.filter__btn[aria-pressed="true"] { border-color: var(--brass); color: var(--table); background: var(--brass); }
.filter__btn[aria-pressed="true"] .mono { color: #3d2f17; }

.directory__group { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); padding: 2.5rem 0; border-top: 1px solid var(--hair-2); scroll-margin-top: 1.5rem; }
.directory__group[hidden] { display: none; }
.directory__head { position: sticky; top: 1.5rem; align-self: start; }
.directory__n { color: var(--brass); font-size: .78rem; }
.directory__title { font-family: var(--serif); font-variation-settings: "opsz" 72, "SOFT" 30; font-size: 2rem; line-height: 1.05; margin: .35rem 0 .7rem; }
.directory__blurb { color: var(--parchment-3); font-size: .95rem; margin: 0; }
.directory__list { list-style: none; }
.entry {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "name domain" "desc desc";
  gap: .3rem 1.5rem; padding: 1.15rem 1rem; margin: 0 -1rem;
  border-bottom: 1px solid var(--hair); text-decoration: none; color: inherit; border-radius: 3px;
  transition: background .2s;
}
.directory__list li:last-child .entry { border-bottom: 0; }
.entry:hover { background: rgba(201,164,92,.06); color: inherit; }
.entry__name { grid-area: name; font-family: var(--serif); font-variation-settings: "opsz" 24; font-size: 1.2rem; color: var(--parchment); transition: color .2s; }
.entry:hover .entry__name { color: var(--brass-hi); }
.entry__star { font-family: var(--mono); font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brass); border: 1px solid var(--hair-2); border-radius: 2px; padding: .1rem .35rem; vertical-align: .2em; margin-left: .35rem; }
.entry__desc { grid-area: desc; color: var(--parchment-2); font-size: .96rem; max-width: 40rem; }
.entry__domain { grid-area: domain; font-size: .76rem; color: var(--parchment-3); white-space: nowrap; padding-top: .35rem; }
.entry:hover .entry__domain { color: var(--brass); }

.suggest { display: flex; justify-content: space-between; align-items: center; gap: 2rem; margin: 2rem 0 6rem; padding: 2rem clamp(1.25rem, 3vw, 2.25rem); border: 1px dashed var(--hair-2); border-radius: 6px; }
.suggest p { color: var(--parchment-2); margin: .5rem 0 0; max-width: 40rem; }
.suggest code { font-family: var(--mono); font-size: .85em; color: var(--parchment); }

/* News --------------------------------------------------------------------- */
.newslist { list-style: none; margin-bottom: 6rem; border-top: 1px solid var(--hair-2); }
.newslist__item { display: grid; grid-template-columns: 9rem minmax(0, 1fr); gap: 2rem; padding: 2rem 0; border-bottom: 1px solid var(--hair); }
.newslist__date { display: flex; flex-direction: column; gap: .15rem; padding-top: .35rem; }
.newslist__date .mono:first-child { color: var(--parchment); font-size: .9rem; }
.newslist__year { color: var(--parchment-3); font-size: .74rem; }
.tag { font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); margin-bottom: .5rem; }
.newslist__title { font-family: var(--serif); font-variation-settings: "opsz" 72, "SOFT" 20; font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2rem); line-height: 1.12; letter-spacing: -.01em; margin-bottom: .6rem; max-width: 30ch; }
.newslist__title a { text-decoration: none; }
.newslist__dek { color: var(--parchment-2); max-width: 44rem; margin: 0; }

.post { padding-bottom: 6rem; }
.post__head { padding-top: clamp(3.5rem, 8vw, 6rem); padding-bottom: 2.25rem; margin-bottom: 2.5rem; border-bottom: 1px solid var(--hair); }
.post__title { font-family: var(--serif); font-variation-settings: "opsz" 144, "SOFT" 20; font-weight: 380; font-size: clamp(2.1rem, 1.3rem + 3vw, 3.5rem); line-height: 1.04; letter-spacing: -.022em; margin-bottom: 1.1rem; text-wrap: balance; }
.post__dek { font-family: var(--serif); font-variation-settings: "opsz" 24; font-size: 1.25rem; color: var(--parchment-2); line-height: 1.45; }
.post__meta { font-size: .78rem; color: var(--parchment-3); margin: 1.25rem 0 0; }
.post__body p:first-of-type { color: var(--parchment); }
.post__foot { margin-top: 3rem; }
.source { font-size: .9rem; margin-top: 2rem !important; padding-top: 1rem; border-top: 1px solid var(--hair); color: var(--parchment-3) !important; }

.change-table { margin: 2rem 0; overflow-x: auto; }
.change-table table { width: 100%; border-collapse: collapse; font-size: .98rem; }
.change-table th { text-align: left; font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brass); font-weight: 400; padding: .6rem 0; border-bottom: 1px solid var(--hair-2); }
.change-table td { padding: .8rem 0; border-bottom: 1px solid var(--hair); color: var(--parchment); }
.change-table td:first-child { font-family: var(--serif); font-variation-settings: "opsz" 24; font-size: 1.05rem; }
.change-table th:not(:first-child), .change-table td:not(:first-child) { text-align: right; width: 6rem; font-family: var(--mono); }
.change-table td:nth-child(2) { color: var(--parchment-3); }
.change-table strong { color: var(--brass-hi); font-weight: 500; }

/* About / 404 --------------------------------------------------------------- */
.about { padding-bottom: 6rem; }
.about h2 { margin-top: 2.75rem; font-size: 1.8rem; }
.notfound { padding: clamp(5rem, 12vw, 9rem) 0; }
.notfound__links { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-top: 2rem; }

/* Footer -------------------------------------------------------------------- */
.colophon { border-top: 1px solid var(--hair-2); padding: 4rem 0 2.5rem; background: linear-gradient(180deg, transparent, rgba(0,0,0,.35)); }
.colophon__grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 3rem; }
.colophon__mark { font-family: var(--serif); font-style: italic; font-variation-settings: "opsz" 72, "SOFT" 100, "WONK" 1; font-size: 2.2rem; line-height: 1; margin-bottom: 1rem; }
.colophon__mark span { font-family: var(--mono); font-style: normal; font-size: .8rem; color: var(--parchment-3); }
.colophon__lead p:not(.colophon__mark) { color: var(--parchment-2); max-width: 32rem; font-size: .95rem; }
.colophon__col ul { list-style: none; }
.colophon__col li { margin-bottom: .45rem; }
.colophon__col a { text-decoration: none; color: var(--parchment-2); font-size: .95rem; }
.colophon__col a:hover { color: var(--brass-hi); }
.colophon__legal { margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--hair); display: flex; justify-content: space-between; gap: 2rem; }
.colophon__legal p { font-size: .78rem; color: var(--parchment-3); max-width: 46rem; margin: 0; line-height: 1.55; }
.colophon__small { text-align: right; white-space: nowrap; }

/* Section heads ------------------------------------------------------------ */
.section__lede { color: var(--parchment-2); font-size: 1.06rem; max-width: 38rem; margin: 0; }
.section__head--split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem 4rem; align-items: end; max-width: none; }
.section__head--split .h2 { margin-bottom: 0; }

/* Quotes ------------------------------------------------------------------- */
.q { margin: 1.5rem 0 0; padding: 0 0 0 1.1rem; border-left: 2px solid var(--brass); }
.q p { margin: 0 0 .45rem; font-family: var(--serif); font-style: italic; font-variation-settings: "opsz" 36, "SOFT" 100; font-size: 1.12rem; line-height: 1.4; color: var(--parchment); }
.q p::before { content: "“"; } .q p::after { content: "”"; }
.q footer { font-size: .82rem; color: var(--parchment-3); }
.q cite { font-style: normal; }
.q__who { color: var(--parchment-2); font-weight: 600; }
.q a { color: var(--parchment-3); }
.bigquote { margin: clamp(3rem, 7vw, 5.5rem) auto 0; max-width: 54rem; text-align: center; padding-top: 2.5rem; border-top: 1px solid var(--hair-2); }
.bigquote blockquote { margin: 0; }
.bigquote p { font-family: var(--serif); font-style: italic; font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; font-weight: 360; font-size: clamp(1.9rem, 1.2rem + 3vw, 3.4rem); line-height: 1.08; letter-spacing: -.015em; color: var(--brass-hi); margin: 0 0 1.1rem; }
.bigquote figcaption { color: var(--parchment-3); font-size: .9rem; }

/* Hooks -------------------------------------------------------------------- */
.hook { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(2rem, 6vw, 5.5rem); align-items: center; padding: clamp(2.5rem, 5vw, 4rem) 0; border-top: 1px solid var(--hair); }
.hook--flip .hook__cards { order: 2; }
.hook__cards { position: relative; height: clamp(250px, 26vw, 330px); }
.hook__cards .mtg { position: absolute; top: 50%; left: 50%; width: clamp(140px, 15vw, 190px); }
.hook__cards .mtg:nth-child(1) { transform: translate(-120%, -48%) rotate(-7deg); }
.hook__cards .mtg:nth-child(1) .mtg__pts { right: auto; left: -9px; }
.hook__cards .mtg:nth-child(2) { transform: translate(-50%, -54%) rotate(0deg); z-index: 2; }
.hook__cards .mtg:nth-child(3) { transform: translate(20%, -46%) rotate(7deg); }
.hook__cards .mtg { transition: transform .4s var(--ease); }
.hook:hover .hook__cards .mtg:nth-child(1) { transform: translate(-128%, -50%) rotate(-9deg); }
.hook:hover .hook__cards .mtg:nth-child(3) { transform: translate(28%, -48%) rotate(9deg); }
.hook__n { color: var(--brass); font-size: .78rem; margin-bottom: .5rem; }
.hook__t { font-family: var(--serif); font-variation-settings: "opsz" 72, "SOFT" 30; font-size: clamp(1.6rem, 1.2rem + 1.3vw, 2.2rem); line-height: 1.1; letter-spacing: -.012em; margin-bottom: 1rem; text-wrap: balance; }
.hook__text > p:not(.hook__n) { color: var(--parchment-2); }

/* Price list --------------------------------------------------------------- */
.pricelist__row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: clamp(.75rem, 1.6vw, 1.4rem); margin-top: 2.75rem; }
.pricelist__card { text-decoration: none; color: inherit; display: block; transition: transform .3s var(--ease); }
.pricelist__card:hover { transform: translateY(-6px); color: var(--brass-hi); }
.pricelist__name { display: block; margin-top: .8rem; font-family: var(--serif); font-size: .92rem; line-height: 1.25; text-align: center; color: var(--parchment-2); }
.pricelist__note { margin: 2rem 0 0; font-size: .74rem; color: var(--parchment-3); text-align: center; }
.cardrow { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; margin: 2rem 0 1.5rem; }

/* Deck tiles & carousel ----------------------------------------------------- */
.deck { position: relative; display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; border-radius: 6px; overflow: hidden; background: var(--raised); border: 1px solid var(--hair); transition: border-color .25s, transform .3s var(--ease), box-shadow .3s; }
.deck:hover { border-color: var(--brass); transform: translateY(-3px); box-shadow: 0 24px 50px -30px #000; color: inherit; }
.deck__art { display: block; aspect-ratio: 16 / 9; background-size: cover; background-position: center 25%; position: relative; }
.deck__art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(28,24,19,.95)); }
.deck__body { display: flex; flex-direction: column; gap: .55rem; padding: 0 1.1rem 1.05rem; margin-top: -1.6rem; position: relative; flex: 1; }
.deck__top { display: flex; justify-content: space-between; align-items: center; gap: .5rem; }
.deck__arch { font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
.deck__name { font-family: var(--serif); font-variation-settings: "opsz" 36, "SOFT" 30; font-size: 1.32rem; line-height: 1.15; color: var(--parchment); }
.deck__spend { font-size: .86rem; color: var(--parchment-2); line-height: 1.45; flex: 1; }
.deck__spend b { color: var(--brass-hi); font-weight: 600; margin-right: .3rem; font-family: var(--mono); font-size: .8rem; }
.deck__by { display: flex; align-items: center; gap: .65rem; padding-top: .8rem; border-top: 1px solid var(--hair); }
.deck__avatar { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; border: 1px solid var(--hair-2); flex: none; }
.deck__avatar--mono { display: grid; place-items: center; background: linear-gradient(135deg, #2a2520, #1a1714); color: var(--brass); font: 600 .62rem/1 var(--mono); letter-spacing: .02em; }
.deck__by > span:nth-child(2) { display: flex; flex-direction: column; line-height: 1.2; flex: 1; min-width: 0; }
.deck__author { font-weight: 600; font-size: .9rem; color: var(--parchment); }
.deck__meta { font-size: .68rem; color: var(--parchment-3); }
.deck__go { font-size: .7rem; color: var(--parchment-3); white-space: nowrap; }
.deck:hover .deck__go { color: var(--brass-hi); }
.pips { display: inline-flex; gap: 3px; }
.pip { width: 15px; height: 15px; border-radius: 50%; font-style: normal; font-size: 0; box-shadow: 0 0 0 1px rgba(0,0,0,.5), 0 1px 2px rgba(0,0,0,.5); }
.pip--w { background: #f6f1df; } .pip--u { background: #4f8fc6; } .pip--b { background: #2b2623; box-shadow: 0 0 0 1px #6b6253; } .pip--r { background: #d2553b; } .pip--g { background: #3f8f5a; }

.carousel { position: relative; margin-top: 2.5rem; }
.carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 2 * 1.25rem) / 3); gap: 1.25rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: .25rem .1rem 1rem; scrollbar-width: none; }
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__slide { scroll-snap-align: start; min-width: 0; }
.carousel__controls { display: flex; align-items: center; justify-content: flex-end; gap: 1rem; margin-top: .75rem; }
.carousel__btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--hair-2); background: transparent; color: var(--parchment); cursor: pointer; font-size: 1.05rem; transition: border-color .2s, color .2s; }
.carousel__btn:hover { border-color: var(--brass); color: var(--brass-hi); }
.carousel__count { font-size: .75rem; color: var(--parchment-3); min-width: 5.5rem; text-align: center; }
.carousel--feature { margin-top: 0; }
.deckgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.decks-all { margin-top: 4rem; }
.decks-snap { font-size: .72rem; color: var(--parchment-3); margin: 0; }

/* Build page ---------------------------------------------------------------- */
.prose--wide { max-width: 50rem; }
.spends { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.5rem 0 2rem; }
.spend { padding: 1.2rem 1.25rem; border: 1px solid var(--hair); border-radius: 6px; background: rgba(0,0,0,.18); }
.spend p { margin: 0; font-size: .95rem; }
.spend__name { font-family: var(--serif); font-variation-settings: "opsz" 24; font-size: 1.15rem !important; color: var(--parchment) !important; margin-bottom: .35rem !important; }
.spend__math { font-size: .74rem !important; color: var(--brass) !important; margin-bottom: .6rem !important; line-height: 1.5; }
.sandbox__bar { position: sticky; top: 0; z-index: 5; margin: -1px calc(-1 * clamp(1.25rem, 3vw, 2rem)) 1.5rem; padding: 1.1rem clamp(1.25rem, 3vw, 2rem) .4rem; background: linear-gradient(180deg, var(--raised) 85%, rgba(28,24,19,0)); border-radius: 6px 6px 0 0; }
.sandbox__row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.sandbox__row .sandbox__status { margin-bottom: .6rem; }
.sandbox__asof a { color: var(--parchment-3); }
.tier { margin-bottom: 1.75rem; }
.tier__label { font-size: .78rem; color: var(--parchment-3) !important; margin-bottom: .8rem !important; letter-spacing: .06em; text-transform: uppercase; }
.tier__label b { color: var(--brass-hi); font-size: 1rem; margin-right: .2rem; }
.tier__grid { list-style: none !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: .9rem; margin: 0 !important; }
.tier__grid li { padding: 0 !important; margin: 0 !important; }
.tier__grid li::before { display: none !important; }
.pick { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 6px; transition: transform .2s var(--ease); }
.pick .mtg { transition: box-shadow .2s, filter .2s; }
.pick .mtg__pts { min-width: 26px; height: 26px; font-size: .9rem; top: -6px; right: -6px; }
.pick:hover { transform: translateY(-3px); }
.pick[aria-pressed="true"] .mtg { box-shadow: 0 0 0 3px var(--brass-hi), 0 14px 30px -12px rgba(201,164,92,.7); }
.sandbox.is-over .pick[aria-pressed="true"] .mtg { box-shadow: 0 0 0 3px #e07a5f, 0 14px 30px -12px rgba(224,122,95,.6); }
.archetypes { display: grid; gap: 1.25rem; margin: 1.75rem 0; }
.arch { display: grid; grid-template-columns: 220px minmax(0, 1fr); border: 1px solid var(--hair); border-radius: 6px; overflow: hidden; background: rgba(0,0,0,.18); }
.arch__art { background-size: cover; background-position: center; min-height: 100%; }
.arch__body { padding: 1.25rem 1.5rem 1.1rem; }
.arch__body p { font-size: .96rem; margin-bottom: .7rem; }
.arch__tag { font-size: .66rem !important; letter-spacing: .14em; text-transform: uppercase; color: var(--brass) !important; margin-bottom: .25rem !important; }
.arch__name { font-family: var(--serif); font-variation-settings: "opsz" 48; font-size: 1.5rem; margin: 0 0 .55rem !important; }
.arch__meta { font-size: .88rem !important; }
.arch__meta .mono { display: inline-block; min-width: 5.5rem; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; color: var(--parchment-3); }
.stat { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.5rem; align-items: center; margin: 1.75rem 0; padding: 1.4rem 1.6rem; border: 1px solid var(--hair-2); border-radius: 6px; background: rgba(0,0,0,.2); }
.stat__big { margin: 0 !important; font-family: var(--serif); font-style: italic; font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); line-height: 1; color: var(--brass-hi) !important; }
.stat__label { margin: 0 !important; font-size: .95rem; }
.skeleton { margin: 1.75rem 0; padding: 1.4rem 1.6rem 1.2rem; border: 1px solid var(--hair); border-radius: 6px; background: rgba(0,0,0,.18); overflow-x: auto; }
.skeleton__title { font-size: .72rem !important; letter-spacing: .12em; text-transform: uppercase; color: var(--brass) !important; margin-bottom: .8rem !important; }
.skeleton table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.skeleton th { text-align: left; font-family: var(--mono); font-weight: 400; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--parchment-3); padding: .5rem .75rem .5rem 0; border-bottom: 1px solid var(--hair-2); }
.skeleton td { padding: .7rem .75rem .7rem 0; border-bottom: 1px solid var(--hair); color: var(--parchment-2); vertical-align: top; }
.skeleton td:first-child { color: var(--parchment); font-family: var(--serif); font-size: 1rem; white-space: nowrap; }
.skeleton td:nth-child(2) { font-family: var(--mono); color: var(--brass-hi); white-space: nowrap; }
.skeleton__note { font-size: .82rem !important; color: var(--parchment-3) !important; margin: .9rem 0 0 !important; }
.prose ul.checklist li::before { content: "✓"; width: auto; height: auto; background: none; color: var(--brass); top: 0; font-size: .9rem; }

/* Responsive ---------------------------------------------------------------- */
@media (max-width: 1000px) {
  .hero__grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .essay__cols { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(3) { border-left: 0; padding-left: 0; }
  .step:nth-child(n+3) { border-top: 1px solid var(--hair); margin-top: 1.75rem; }
  .docs { grid-template-columns: 1fr; }
  .docs__toc { position: static; padding-bottom: 1.5rem; border-bottom: 1px solid var(--hair); }
  .docs__toc ol { columns: 2; }
  .directory__group { grid-template-columns: 1fr; gap: 1rem; }
  .directory__head { position: static; }
  .colophon__grid { grid-template-columns: 1fr 1fr; }
  .colophon__lead { grid-column: 1 / -1; }
  .pricelist__row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .carousel__track { grid-auto-columns: calc((100% - 1.25rem) / 2); }
  .deckgrid { grid-template-columns: 1fr 1fr; }
  .section__head--split { grid-template-columns: 1fr; }
}
@media (max-width: 1160px) {
  .nav { display: none; }
  .menu-toggle { display: inline-block; }
}
@media (max-width: 760px) {
  .masthead__inner { min-height: 64px; }
  .ticker { grid-template-columns: 1fr; }
  .ticker__cell + .ticker__cell { padding-left: 0; border-left: 0; border-top: 1px solid var(--hair); }
  .essay__cols { grid-template-columns: 1fr; gap: 0; }
  .steps { grid-template-columns: 1fr; }
  .step, .step + .step { padding: 1.5rem 0; border-left: 0; border-top: 1px solid var(--hair); margin-top: 0 !important; }
  .step:first-child { border-top: 0; }
  .two-up { grid-template-columns: 1fr; }
  .ledger__row { grid-template-columns: 1fr; gap: .15rem; }
  .rules-table > div { grid-template-columns: 1fr; gap: .35rem; }
  .glossary { grid-template-columns: 1fr; }
  .docs__toc ol { columns: 1; }
  .entry { grid-template-areas: "name" "desc" "domain"; grid-template-columns: 1fr; }
  .entry__domain { padding-top: .2rem; }
  .suggest { flex-direction: column; align-items: flex-start; }
  .newslist__item { grid-template-columns: 1fr; gap: .5rem; }
  .newslist__date { flex-direction: row; gap: .6rem; }
  .colophon__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .colophon__legal { flex-direction: column; }
  .colophon__small { text-align: left; white-space: normal; }
  .indexcard { transform: rotate(-.6deg); }
  .indexcard__head .mono { display: none; }
  .hook, .hook--flip { grid-template-columns: 1fr; gap: 1.25rem; }
  .hook--flip .hook__cards { order: 0; }
  .hook__cards { height: 230px; }
  .hook__cards .mtg { width: 128px; }
  .pricelist__row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cardrow { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .carousel__track { grid-auto-columns: 86%; }
  .deckgrid { grid-template-columns: 1fr; }
  .spends { grid-template-columns: 1fr; }
  .arch { grid-template-columns: 1fr; }
  .arch__art { min-height: 150px; }
  .stat { grid-template-columns: 1fr; gap: .5rem; }
  .tier__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---- Revision 3 ------------------------------------------------------------ */
.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; }

/* Hero showcase */
.showcase { position: relative; margin: 0 auto; width: 100%; max-width: 440px; aspect-ratio: 1 / 1.08; }
.showcase::before { content: ""; position: absolute; inset: 8% 4% 0; background: radial-gradient(closest-side, rgba(230,198,130,.22), transparent 75%); filter: blur(10px); }
.showcase__card { position: absolute; width: 60%; top: 6%; left: 20%; transition: transform .8s var(--ease); }
.showcase__card .mtg { box-shadow: 0 30px 60px -20px rgba(0,0,0,.95), 0 4px 12px rgba(0,0,0,.6); }
.showcase__card--back2 { transform: translate(-30%, 6%) rotate(-12deg); filter: brightness(.7) saturate(.85); }
.showcase__card--back1 { transform: translate(30%, 6%) rotate(12deg); filter: brightness(.75) saturate(.85); }
.showcase__card--front { transform: translateY(0) rotate(-1deg); z-index: 2; }
.showcase:hover .showcase__card--back2 { transform: translate(-36%, 4%) rotate(-15deg); }
.showcase:hover .showcase__card--back1 { transform: translate(36%, 4%) rotate(15deg); }
.showcase:hover .showcase__card--front { transform: translateY(-3%) rotate(0deg); }
@media (max-width: 1000px) { .showcase { max-width: 340px; margin-top: 1rem; } }
@media (max-width: 760px) { .showcase { max-width: 270px; } }

.hook__more { display: inline-block; margin-top: 1.1rem; }

/* Teasers */
.teasers { padding-top: 0; }
.teasers__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.5vw, 1.75rem); }
.teaser { position: relative; display: flex; align-items: flex-end; min-height: 300px; overflow: hidden; border-radius: 6px; border: 1px solid var(--hair); text-decoration: none; color: var(--parchment); isolation: isolate; }
.teaser__art { position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center 30%; transform: scale(1.02); transition: transform 1.2s var(--ease); }
.teaser::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15,13,11,.2) 0%, rgba(15,13,11,.92) 70%); }
.teaser:hover .teaser__art { transform: scale(1.07); }
.teaser__body { display: flex; flex-direction: column; gap: .6rem; padding: clamp(1.4rem, 3vw, 2rem); }
.teaser__title { font-family: var(--serif); font-size: clamp(1.35rem, 1rem + 1.2vw, 1.85rem); line-height: 1.15; font-variation-settings: "opsz" 72, "SOFT" 50; max-width: 26ch; }
.teaser__title em { color: var(--brass-hi); }
.teaser:hover { color: var(--parchment); }

/* Play */
.section--tight { padding-top: clamp(2.5rem, 5vw, 4rem); }
.board { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1rem, 2.5vw, 1.75rem); }
.board__event { position: relative; padding: clamp(1.5rem, 3vw, 2.25rem); border: 1px solid var(--hair); border-radius: 6px; background: linear-gradient(180deg, var(--raised), var(--table-2)); }
.board__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; }
.board__day { font-family: var(--mono); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
.board__platform { font-size: .72rem; padding: .25rem .55rem; border: 1px solid var(--hair-2); border-radius: 999px; color: var(--parchment-2); }
.board__time { margin: 0; display: flex; align-items: baseline; gap: .6rem; }
.board__clock { font-family: var(--serif); font-size: clamp(3rem, 2rem + 3vw, 4.5rem); line-height: 1; font-variation-settings: "opsz" 144, "SOFT" 30; letter-spacing: -.02em; }
.board__ampm { font-size: .9rem; color: var(--parchment-3); }
.board__local { min-height: 1.3em; margin: .35rem 0 1.25rem; font-size: .78rem; color: var(--brass-hi); }
.board__name { margin: 0 0 .4rem; font-family: var(--serif); font-size: 1.4rem; font-weight: 400; }
.board__blurb { color: var(--parchment-2); margin: 0 0 1.4rem; }
.board__facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; margin: 0; padding-top: 1rem; border-top: 1px solid var(--hair); }
.board__facts dt { font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--parchment-3); }
.board__facts dd { margin: .2rem 0 0; font-size: .95rem; }
.howto { list-style: none; padding: 0; margin: clamp(2.5rem, 5vw, 3.5rem) 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.25rem, 3vw, 2rem); }
.howto li { display: flex; gap: .9rem; }
.howto__n { color: var(--brass); font-size: .8rem; padding-top: .3rem; }
.howto h3 { margin: 0 0 .35rem; font-size: 1.02rem; font-weight: 600; }
.howto p { margin: 0; font-size: .93rem; color: var(--parchment-2); }
.leagues { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.5vw, 1.5rem); }
.league { padding: 1.6rem; border: 1px solid rgba(236,223,196,.12); border-radius: 6px; background: rgba(15,13,11,.35); }
.league__platform { margin: 0 0 .6rem; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brass); }
.league__name { margin: 0 0 .7rem; font-family: var(--serif); font-weight: 400; font-size: 1.3rem; }
.league__format { margin: 0 0 .8rem; color: var(--parchment); }
.league__lists { margin: 0 0 .8rem; font-size: .9rem; color: var(--parchment-2); }
.league__lists .mono { font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; color: var(--parchment-3); margin-right: .4rem; }
.league__note { margin: 0; font-size: .9rem; color: var(--parchment-3); font-style: italic; }
.glossnote { margin: 1.5rem 0 0; font-size: .88rem; color: var(--parchment-3); }
.glossnote b { color: var(--parchment-2); font-weight: 600; }
.lfg { padding: 1.75rem; border: 1px solid var(--hair); border-radius: 6px; background: var(--raised); }
.lfg__label { margin: 0 0 1rem; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--parchment-3); }
.lfg__post { margin: 0 0 1.25rem; padding: 1rem 1.1rem; border-left: 3px solid var(--brass); background: rgba(15,13,11,.6); font-size: 1.02rem; }
.lfg__tag { display: inline-block; margin-right: .5rem; padding: .05rem .4rem; border-radius: 3px; background: var(--brass); color: #1a140b; font-family: var(--mono); font-size: .72rem; font-weight: 500; vertical-align: 2px; }
.lfg__parts { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; font-size: .93rem; color: var(--parchment-2); }
.lfg__parts b { display: inline-block; min-width: 3.5rem; font-family: var(--mono); font-size: .72rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--brass); }
.tables { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.tablecard { display: flex; flex-direction: column; gap: .5rem; padding: 1.4rem; border: 1px solid var(--hair); border-radius: 6px; text-decoration: none; color: var(--parchment); transition: border-color .25s, transform .25s var(--ease); }
.tablecard:hover { border-color: var(--brass); transform: translateY(-2px); color: var(--parchment); }
.tablecard__kind { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--parchment-3); }
.tablecard__name { font-family: var(--serif); font-size: 1.35rem; }
.tablecard__desc { flex: 1; font-size: .92rem; color: var(--parchment-2); }
.tablecard__cost { font-size: .75rem; color: var(--brass); }
.cta-band { border-top: 1px solid var(--hair); text-align: center; }
.cta-band__inner { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; }
.cta-band .h2 { margin: 0; }

/* Council */
.councillors { list-style: none; padding: 0; margin: clamp(1rem, 3vw, 2rem) 0 clamp(3rem, 6vw, 5rem); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2.5vw, 1.5rem); }
.councillor { display: grid; grid-template-columns: 112px 1fr; gap: 1.4rem; padding: clamp(1.4rem, 2.5vw, 1.9rem); border: 1px solid var(--hair); border-radius: 6px; background: linear-gradient(180deg, var(--raised), var(--table-2)); }
.councillor__photo img, .councillor__seal { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; display: block; border: 1px solid var(--hair-2); }
.councillor__seal { position: relative; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #2d271f, #15120e 70%); box-shadow: inset 0 0 0 6px rgba(15,13,11,.9), inset 0 0 0 7px rgba(201,164,92,.35); }
.councillor__seal span { font-family: var(--serif); font-style: italic; font-size: 3.1rem; line-height: 1; color: var(--brass); font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1; }
.councillor__since { margin: 0 0 .35rem; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brass); }
.councillor__name { margin: 0; font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.15; }
.councillor__handle { font-size: .75rem; color: var(--parchment-3); margin-left: .3rem; vertical-align: 3px; }
.councillor__role { margin: .3rem 0 .8rem; font-style: italic; color: var(--parchment-2); }
.councillor__bio { margin: 0; font-size: .95rem; color: var(--parchment-2); }
.councillor__links { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.councillor__links a { display: inline-block; padding: .3rem .65rem; border: 1px solid var(--hair-2); border-radius: 999px; font-size: .8rem; text-decoration: none; color: var(--parchment-2); }
.councillor__links a:hover { border-color: var(--brass); color: var(--brass-hi); }
.founders { list-style: none; padding: 0; margin: 1.25rem 0 1.5rem; display: flex; flex-wrap: wrap; gap: .4rem .5rem; }
.founders li { padding: .3rem .7rem; border: 1px solid var(--hair); border-radius: 3px; font-family: var(--serif); font-style: italic; }
.council__sources, .story__sources { margin-top: 2rem; font-size: .72rem; line-height: 1.8; color: var(--parchment-3); }

/* Story */
.chapters { list-style: none; padding: 0; margin: clamp(1rem, 3vw, 2rem) 0 0; position: relative; }
.chapters::before { content: ""; position: absolute; left: 7.5rem; top: 0; bottom: 0; width: 1px; background: linear-gradient(180deg, transparent, var(--hair-2) 6%, var(--hair-2) 94%, transparent); }
.chapter { position: relative; display: grid; grid-template-columns: 7.5rem minmax(0, 1fr) 200px; gap: 0 clamp(1.75rem, 4vw, 3.5rem); padding: clamp(2rem, 4vw, 3rem) 0; }
.chapter + .chapter { border-top: 1px solid rgba(201,164,92,.08); }
.chapter__year { position: relative; text-align: right; padding-right: 1.6rem; }
.chapter__year::after { content: ""; position: absolute; right: -5px; top: .9rem; width: 9px; height: 9px; border-radius: 50%; background: var(--table); border: 1px solid var(--brass); }
.chapter__year span { font-family: var(--serif); font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); line-height: 1; font-variation-settings: "opsz" 144, "SOFT" 40; color: var(--brass-hi); }
.chapter__kicker { margin: .4rem 0 .6rem; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--parchment-3); }
.chapter__title { margin: 0 0 1rem; font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 1.2rem + 1.3vw, 2.3rem); line-height: 1.1; font-variation-settings: "opsz" 96, "SOFT" 50; }
.chapter__body p { color: var(--parchment-2); max-width: 62ch; }
.chapter__body p em { color: var(--parchment); }
.chapter__art { padding-top: .5rem; }
.chapter__art .mtg { transform: rotate(3deg); transition: transform .5s var(--ease); }
.chapter--flip .chapter__art .mtg { transform: rotate(-3deg); }
.chapter:hover .chapter__art .mtg { transform: rotate(0) translateY(-4px); }
.chapter--noart .chapter__body { grid-column: 2 / 4; }
.epilogue { margin: clamp(2rem, 5vw, 4rem) 0 0; padding: clamp(2rem, 5vw, 3.5rem); border: 1px solid var(--hair); border-radius: 6px; background: radial-gradient(120% 120% at 0% 0%, rgba(201,164,92,.10), transparent 60%), var(--raised); }
.epilogue p:not(.eyebrow) { max-width: 60ch; color: var(--parchment-2); margin-bottom: 1.75rem; }

@media (max-width: 1000px) {
  .howto { grid-template-columns: 1fr 1fr; }
  .tables { grid-template-columns: 1fr 1fr; }
  .councillors { grid-template-columns: 1fr; }
  .chapter { grid-template-columns: 6rem minmax(0, 1fr); }
  .chapters::before { left: 6rem; }
  .chapter__art { grid-column: 2; max-width: 170px; margin-top: 1.25rem; }
  .chapter--noart .chapter__body { grid-column: 2; }
}
@media (max-width: 760px) {
  .teasers__grid, .board, .leagues { grid-template-columns: 1fr; }
  .howto, .tables { grid-template-columns: 1fr; }
  .councillor { grid-template-columns: 1fr; }
  .councillor__photo img, .councillor__seal { width: 84px; height: 84px; }
  .councillor__seal span { font-size: 2.3rem; }
  .chapters::before { left: 0; }
  .chapter { grid-template-columns: 1fr; padding-left: 1.25rem; }
  .chapter__year { text-align: left; padding: 0 0 .25rem; }
  .chapter__year::after { left: calc(-1.25rem - 4px); right: auto; }
  .chapter__art, .chapter--noart .chapter__body { grid-column: 1; }
}
.decks-count { font-size: .75rem; color: var(--parchment-3); margin-left: .5rem; vertical-align: 3px; }

/* Videos */
.vidnav { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.75rem; }
.vidnav a { padding: .4rem .8rem; border: 1px solid var(--hair-2); border-radius: 999px; font-size: .85rem; text-decoration: none; color: var(--parchment-2); }
.vidnav a:hover { border-color: var(--brass); color: var(--brass-hi); }
.vidsec { padding: clamp(2.5rem, 5vw, 4rem) 0 0; scroll-margin-top: 90px; }
.vidsec + .vidsec { border-top: 1px solid var(--hair); margin-top: clamp(2.5rem, 5vw, 4rem); }
.vidgrid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 1.75rem) 1.25rem; }
.vid { display: flex; flex-direction: column; gap: .5rem; text-decoration: none; color: var(--parchment); }
.vid__thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 5px; border: 1px solid var(--hair); background: var(--raised); }
.vid__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--ease), filter .3s; filter: saturate(.9); }
.vid:hover .vid__thumb img { transform: scale(1.04); filter: none; }
.vid__play { position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; background: rgba(15,13,11,.72); border: 1px solid var(--hair-2); transition: background .25s; }
.vid__play::after { content: ""; position: absolute; left: 22px; top: 17px; border-style: solid; border-width: 10px 0 10px 16px; border-color: transparent transparent transparent var(--brass-hi); }
.vid:hover .vid__play { background: rgba(201,164,92,.9); }
.vid:hover .vid__play::after { border-left-color: #1a140b; }
.vid__title { font-weight: 600; line-height: 1.3; }
.vid:hover .vid__title { color: var(--brass-hi); }
.vid__channel { font-size: .72rem; color: var(--parchment-3); }
@media (max-width: 1000px) { .vidgrid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .vidgrid { grid-template-columns: 1fr; } }

