@font-face { font-family: 'Cormorant'; src: url('/fonts/cormorant.woff2') format('woff2'); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Cormorant'; src: url('/fonts/cormorant-italic.woff2') format('woff2'); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: 'Cormorant SC'; src: url('/fonts/cormorant-sc-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Cormorant SC'; src: url('/fonts/cormorant-sc-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }

:root {
  --abyss: #060609;
  --pitch: #0b090d;
  --bone: #d8d0bf;
  --ivory: #efe7d6;
  --ash: #8a838c;
  --whisper: #3d3842;
  --blood: #a3141e;
  --ember: #c8323c;
  --clot: #5a0b11;
  --oxblood: #7d0f17;
  --line: #1b171f;
  --serif: 'Cormorant', 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif;
  --caps: 'Cormorant SC', 'Cormorant', Georgia, serif;
  --mono: 'Cascadia Mono', 'Cascadia Code', Consolas, 'Courier New', monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--abyss); color: var(--bone);
  font: 400 21px/1.6 var(--serif); overflow-x: hidden;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
#deep { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.grain {
  position: fixed; inset: -50%; z-index: 0; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
header, main, footer, nav, article { position: relative; z-index: 1; }
a { color: var(--bone); text-decoration-color: var(--clot); text-underline-offset: 3px; }
a:hover { color: var(--ivory); text-decoration-color: var(--blood); }
a:focus-visible, summary:focus-visible, .button:focus-visible { outline: 1px solid var(--blood); outline-offset: 4px; }
::selection { background: var(--clot); color: var(--ivory); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
code { font: 15px var(--mono); color: var(--bone); background: #120f15; padding: 1px 6px; border-radius: 3px; }

/* ---- hero ------------------------------------------------------------ */
.hero {
  min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 72px 16px 56px;
  background:
    radial-gradient(ellipse 60% 45% at 50% 36%, rgba(125, 15, 23, .22), transparent 70%),
    radial-gradient(ellipse at 50% 120%, rgba(90, 11, 17, .25), transparent 60%);
}
.antlers { position: absolute; top: 4vh; left: 50%; width: min(760px, 120vw); transform: translateX(-50%); opacity: .1; pointer-events: none; }
.antlers path { fill: none; stroke: var(--bone); stroke-width: 2.2; stroke-linecap: round; stroke-dasharray: 600; stroke-dashoffset: 600; animation: grow 4.2s ease-out .4s forwards; }
@keyframes grow { to { stroke-dashoffset: 0; } }
.tree { width: 110px; height: 156px; margin-bottom: 18px; }
.tree .paths line { stroke: var(--whisper); stroke-width: 1; opacity: 0; transition: opacity .6s, stroke .6s; }
.tree .paths line.lit { opacity: 1; stroke: var(--ash); }
.tree .nodes circle { fill: var(--whisper); transition: fill .3s; }
.tree .nodes circle.lit { fill: var(--blood); }
.tree .nodes circle.crown.lit { fill: var(--bone); }
.mark {
  font: 300 clamp(44px, 9vw, 104px)/1 var(--serif);
  letter-spacing: .34em; margin: 0 0 14px; padding-left: .34em; color: var(--ivory);
  text-shadow: 0 0 46px rgba(163, 20, 30, .4);
}
.sigil { margin: 0 0 6px; min-height: 1.4em; font-size: clamp(26px, 3.4vw, 36px); line-height: 1.3; color: var(--blood); letter-spacing: .32em; white-space: nowrap; }
.sigil .noise { color: var(--whisper); }
.tagline { font-style: italic; font-weight: 300; font-size: 26px; color: var(--bone); margin: 0 0 26px; letter-spacing: .1em; }
.lede { max-width: 640px; color: var(--ash); margin: 0 0 36px; font-size: 21px; }
.cta { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.fine { margin: 18px 0 0; font: 15px var(--caps); letter-spacing: .12em; color: var(--whisper); text-transform: lowercase; }
.button, .ghost {
  display: inline-block; padding: 13px 30px; border-radius: 2px; text-decoration: none;
  font: 500 18px var(--caps); letter-spacing: .14em; transition: background .25s, box-shadow .25s, border-color .25s, color .25s;
}
.button { background: var(--oxblood); color: var(--ivory); box-shadow: 0 0 28px rgba(163, 20, 30, .28), inset 0 0 0 1px rgba(239, 231, 214, .08); }
.button b { font-weight: 500; }
.button:hover { background: var(--blood); color: var(--ivory); box-shadow: 0 0 42px rgba(200, 50, 60, .45); }
.ghost { border: 1px solid var(--whisper); color: var(--ash); }
.ghost:hover { border-color: var(--ash); color: var(--bone); }
.button.wide { display: block; margin: 28px auto 12px; max-width: 320px; }

/* ---- courses ----------------------------------------------------------- */
.course { max-width: 1040px; margin: 0 auto; padding: 72px 16px; text-align: center; }
.course-no { font: 15px var(--caps); letter-spacing: .3em; color: var(--blood); margin: 0 0 10px; }
.course-no::before, .course-no::after { content: ''; display: inline-block; width: 48px; height: 1px; background: var(--clot); vertical-align: middle; margin: 0 14px; }
h2 { font: 300 clamp(34px, 5vw, 50px)/1.15 var(--serif); letter-spacing: .06em; margin: 0 0 10px; color: var(--ivory); }
.sub { color: var(--ash); font-style: italic; margin: 0 auto 44px; max-width: 620px; }

.terminal { margin: 0; display: flex; flex-direction: column; align-items: center; }
.window {
  width: min(760px, 100%); background: #060609; border: 1px solid #1c1a20; border-radius: 8px; text-align: left;
  box-shadow: 0 40px 120px rgba(0, 0, 0, .85), 0 0 90px rgba(90, 11, 17, .18); overflow: hidden;
}
.chrome { display: flex; justify-content: space-between; padding: 8px 14px; font: 12px var(--mono); color: var(--whisper); letter-spacing: .1em; }
.chrome b { color: var(--ash); font-weight: 400; }
.screen {
  margin: 0; padding: 8px 18px 22px; font: 14px/1.35 var(--mono); color: var(--ash);
  overflow-x: auto; background: radial-gradient(ellipse at center, transparent 55%, rgba(0, 0, 0, .55));
}
.screen .big { font-size: 17px; letter-spacing: .08em; }
.bone { color: var(--bone); } .blood { color: var(--blood); } .dim { color: var(--ash); }
.btn { color: var(--oxblood); } .btnface { background: var(--oxblood); color: var(--ivory); font-weight: 700; }
.whisper { color: #5a5560; }
figcaption { margin-top: 16px; font-style: italic; color: var(--ash); font-size: 18px; }

.menu { list-style: none; margin: 0 auto; padding: 0; max-width: 760px; counter-reset: dish; }
.menu li { padding: 26px 8px 28px; border-bottom: 1px solid var(--line); }
.menu li:last-child { border-bottom: 0; }
.dish { display: block; font: 14px var(--caps); letter-spacing: .32em; color: var(--blood); text-transform: lowercase; }
.menu h3 { font: 400 28px/1.2 var(--serif); margin: 6px 0 8px; color: var(--ivory); letter-spacing: .02em; }
.menu p { margin: 0 auto; max-width: 600px; color: var(--ash); font-size: 19px; }

.ledger-table { max-width: 760px; margin: 0 auto; border-top: 1px solid var(--clot); border-bottom: 1px solid var(--clot); }
.ledger-table [role=row] { display: grid; grid-template-columns: 1.1fr 1fr 1.4fr; gap: 12px; padding: 12px 8px; border-bottom: 1px solid var(--line); text-align: left; font-size: 19px; }
.ledger-table [role=row]:last-child { border-bottom: 0; }
.ledger-table .head { font: 15px var(--caps); letter-spacing: .2em; color: var(--ash); }
.ledger-table [role=rowheader] { color: var(--ash); }
.ledger-table b { color: var(--ivory); font-weight: 500; }
.ledger-table [role=cell]:last-child { color: #6a646d; }

.quote { padding: 96px 16px; text-align: center; }
blockquote { margin: 0 auto; max-width: 780px; font: italic 300 clamp(26px, 3.6vw, 38px)/1.35 var(--serif); color: var(--bone); }

.bill {
  max-width: 440px; margin: 0 auto; padding: 40px 36px 30px; background: linear-gradient(180deg, #0d0a0f, #08070a);
  border: 1px solid var(--line); box-shadow: 0 30px 90px rgba(0, 0, 0, .6), inset 0 1px 0 rgba(239, 231, 214, .04);
}
.price { font: 300 96px/1 var(--serif); color: var(--ivory); margin: 0; text-shadow: 0 0 40px rgba(163, 20, 30, .35); }
.price .currency { font-size: 40px; vertical-align: 44px; color: var(--ash); margin-right: 4px; }
.price .cents { font-size: 44px; color: var(--bone); }
.once { font-style: italic; color: var(--ash); margin: 8px 0 22px; }
.bill ul { list-style: none; padding: 0; margin: 0; text-align: left; }
.bill li { padding: 9px 0 9px 28px; border-bottom: 1px dotted #221d26; position: relative; font-size: 19px; }
.bill li::before { content: '∴'; position: absolute; left: 4px; color: var(--blood); }
.small { font-size: 15px; color: var(--whisper); }

.faq { max-width: 760px; text-align: left; }
.faq .course-no, .faq h2 { text-align: center; }
.faq h2 { margin-bottom: 36px; }
details { border-bottom: 1px solid var(--line); padding: 4px 0; }
summary { cursor: pointer; list-style: none; padding: 16px 30px 16px 0; font-size: 22px; color: var(--ivory); position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 4px; color: var(--blood); font-size: 26px; line-height: 1; top: 18px; transition: transform .3s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 18px; color: var(--ash); }

footer { text-align: center; padding: 40px 16px 56px; color: var(--whisper); font-size: 17px; border-top: 1px solid #110e13; }
footer a { color: var(--ash); }
.ornament { color: var(--clot); font-size: 26px; margin: 0 0 8px; }

/* ---- the journal (articles) ---------------------------------------------- */
.topbar { display: flex; justify-content: space-between; align-items: center; max-width: 1040px; margin: 0 auto; padding: 22px 16px; font: 16px var(--caps); letter-spacing: .24em; }
.topbar a { text-decoration: none; color: var(--bone); }
.topbar .home { font: 300 24px var(--serif); letter-spacing: .34em; color: var(--ivory); }
.journal { max-width: 780px; margin: 0 auto; padding: 24px 16px 80px; }
.journal .kicker { font: 15px var(--caps); letter-spacing: .3em; color: var(--blood); margin: 0; text-transform: lowercase; }
.journal h1 { font: 300 clamp(36px, 6vw, 58px)/1.1 var(--serif); color: var(--ivory); margin: 10px 0 14px; letter-spacing: .01em; }
.journal .meta { color: var(--whisper); font-size: 16px; margin: 0 0 30px; font-family: var(--caps); letter-spacing: .14em; }
.journal p, .journal li { color: #bdb5a5; }
.journal h2 { text-align: left; font-size: clamp(30px, 4vw, 40px); margin: 64px 0 12px; }
.journal h2 .rank { color: var(--blood); margin-right: 10px; font-style: italic; }
.journal h3 { font: 500 24px var(--serif); color: var(--ivory); margin: 28px 0 8px; }
.journal .lead::first-letter { float: left; font: 300 86px/.8 var(--serif); color: var(--blood); padding: 8px 10px 0 0; }
.journal figure { margin: 26px 0; }
.journal figure img { width: 100%; height: auto; display: block; border: 1px solid #1c1a20; border-radius: 8px; box-shadow: 0 30px 90px rgba(0, 0, 0, .7); }
.journal figcaption { text-align: center; }
.verdict { border-left: 2px solid var(--blood); padding: 6px 0 6px 18px; margin: 22px 0; font-style: italic; color: var(--bone); }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 14px 0 6px; font-size: 18px; }
.facts dt { color: var(--ash); font-family: var(--caps); letter-spacing: .12em; }
.facts dd { margin: 0; color: var(--bone); }
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.proscons h4 { font: 15px var(--caps); letter-spacing: .24em; margin: 8px 0; color: var(--ash); }
.proscons ul { margin: 0; padding-left: 20px; font-size: 18px; }
.table-wrap { overflow-x: auto; margin: 22px 0; border: 1px solid var(--line); }
table { border-collapse: collapse; width: 100%; font-size: 17px; min-width: 640px; }
th, td { padding: 11px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font: 15px var(--caps); letter-spacing: .14em; color: var(--ash); background: #0b090d; }
tbody th { color: var(--bone); font-weight: 500; }
td { color: #a9a193; }
tr.ours th, tr.ours td, td.ours, th.ours { background: rgba(125, 15, 23, .12); color: var(--ivory); }
.yes { color: var(--bone); } .no { color: #5e5862; } .part { color: #9a8a6a; }
.disclosure { font-size: 16px; color: var(--whisper); border-top: 1px solid var(--line); padding-top: 18px; margin-top: 56px; }

@media (max-width: 640px) {
  body { font-size: 19px; }
  .mark { letter-spacing: .22em; padding-left: .22em; }
  .sigil { letter-spacing: .18em; }
  .ledger-table [role=row] { grid-template-columns: 1fr 1fr; }
  .ledger-table [role=row] > :last-child { grid-column: 1 / -1; font-size: 16px; margin-top: -6px; }
  .proscons { grid-template-columns: 1fr; }
  .course-no::before, .course-no::after { width: 18px; margin: 0 8px; }
  .bill { padding: 32px 20px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  .antlers path { stroke-dashoffset: 0; }
  #deep { display: none; }
}
/* letters are laid out exactly as written (visual order, like the terminal):
   the Hebrew noise never makes the browser reorder a line mid-turn */
#sigil, [data-sigil], [data-whisper], .scramble { unicode-bidi: bidi-override; direction: ltr; }
.keyform { margin: 28px 0 8px; }
.keyform label { display: block; font: 15px var(--caps); letter-spacing: .2em; color: var(--ash); text-transform: lowercase; margin-bottom: 8px; }
.keyrow { display: flex; gap: 12px; flex-wrap: wrap; }
.keyrow input { flex: 1 1 260px; min-width: 0; background: #0b090d; border: 1px solid var(--whisper); color: var(--ivory); border-radius: 2px; padding: 12px 14px; font: 17px var(--mono); letter-spacing: .06em; }
.keyrow input:focus { outline: none; border-color: var(--blood); box-shadow: 0 0 0 1px var(--blood); }
.keyrow .button { border: 0; cursor: pointer; }
.keyrow .button:disabled { opacity: .6; cursor: wait; }
