/* ==========================================================================
   A Thread Inked In Fate — landing page
   ========================================================================== */

/* Palette sampled from the book cover: leaf greens, antique gold, teal dress, coral blooms */
:root {
  --green-950: #0b1a10;
  --green-900: #10261a;
  --green-800: #17371f;
  --green-700: #24492a;

  --gold: #dcbd6c;
  --gold-bright: #f0dda0;
  --gold-dim: #a89150;
  --gold-ink: #8a6d33;      /* gold on parchment */

  --teal: #22675e;
  --teal-bright: #46b3a6;   /* hover / focus accents */
  --coral: #d0693a;
  --coral-ink: #a54b21;     /* coral text on parchment */

  --cream: #f3e5b8;
  --cream-soft: #e9dcb4;
  --parchment: #ecdfc0;
  --ink: #2a1f12;

  --font-display: "Cinzel Decorative", "Cinzel", "Trajan Pro", Georgia, serif;
  --font-caps: "Cinzel", "Trajan Pro", Georgia, serif;
  --font-italic: "Cormorant Garamond", "EB Garamond", Georgia, serif;
  --font-body: "EB Garamond", "Cormorant Garamond", Georgia, serif;

  /* card corner brackets (one SVG, four orientations) */
  --c-tl: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a98a47' stroke-width='1.2'%3E%3Cpath d='M2 22V9c0-4 3-7 7-7h13'/%3E%3Cpath d='M6 22V11c0-3 2-5 5-5h11' opacity='.55'/%3E%3Ccircle cx='9' cy='9' r='1.5' fill='%23a98a47' stroke='none'/%3E%3C/svg%3E");
  --c-tr: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a98a47' stroke-width='1.2'%3E%3Cg transform='translate(24 0) scale(-1 1)'%3E%3Cpath d='M2 22V9c0-4 3-7 7-7h13'/%3E%3Cpath d='M6 22V11c0-3 2-5 5-5h11' opacity='.55'/%3E%3Ccircle cx='9' cy='9' r='1.5' fill='%23a98a47' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
  --c-bl: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a98a47' stroke-width='1.2'%3E%3Cg transform='translate(0 24) scale(1 -1)'%3E%3Cpath d='M2 22V9c0-4 3-7 7-7h13'/%3E%3Cpath d='M6 22V11c0-3 2-5 5-5h11' opacity='.55'/%3E%3Ccircle cx='9' cy='9' r='1.5' fill='%23a98a47' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
  --c-br: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a98a47' stroke-width='1.2'%3E%3Cg transform='translate(24 24) scale(-1 -1)'%3E%3Cpath d='M2 22V9c0-4 3-7 7-7h13'/%3E%3Cpath d='M6 22V11c0-3 2-5 5-5h11' opacity='.55'/%3E%3Ccircle cx='9' cy='9' r='1.5' fill='%23a98a47' stroke='none'/%3E%3C/g%3E%3C/svg%3E");

  /* parchment grain */
  --grain: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .32 0 0 0 0 .15 0 0 0 .10 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  /* green cloth grain */
  --grain-green: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .05 0 0 0 0 .12 0 0 0 0 .07 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

html { scroll-behavior: smooth; scroll-padding-top: 60px; }

body {
  margin: 0;
  background: var(--green-950);
  color: var(--cream);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip-link {
  position: absolute; left: 12px; top: -64px; z-index: 100;
  padding: .7rem 1.1rem; border: 1px solid var(--gold); border-radius: 6px;
  background: var(--green-950); color: var(--gold-bright); text-decoration: none;
  font: 500 .78rem/1 var(--font-caps); letter-spacing: .12em; text-transform: uppercase;
}
.skip-link:focus { top: 12px; }
main:focus { outline: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

a:focus-visible {
  outline: 2px solid var(--teal-bright);
  outline-offset: 4px;
  border-radius: 4px;
}

/* ---------- shared ornaments ---------- */
.orn-side { width: clamp(64px, 14vw, 150px); height: 14px; color: var(--gold); flex: none; }
.orn-side--r { transform: scaleX(-1); }

.rule { display: block; margin-inline: auto; color: var(--gold); }
.rule--sm { width: 84px; height: 12px; }
.rule--xs { width: 84px; height: 12px; color: var(--gold-ink); margin-inline: 0; }
.rule--md { width: min(320px, 70%); height: 16px; color: var(--gold-ink); margin-top: 10px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  border-radius: 999px; text-decoration: none; cursor: pointer;
  border: 1.5px solid var(--gold);
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn--ghost {
  padding: .95rem 2.3rem;
  background: rgba(10, 32, 13, .86);
  color: var(--gold-bright);
  font: 500 .78rem/1 var(--font-caps);
  letter-spacing: .2em; text-transform: uppercase;
  box-shadow: inset 0 0 0 3px rgba(10, 32, 13, .9), inset 0 0 0 4px rgba(214, 179, 106, .45), 0 6px 18px rgba(0, 0, 0, .35);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 3px rgba(12, 32, 18, .9), inset 0 0 0 4px var(--teal-bright), 0 0 22px rgba(70, 179, 166, .35); background: rgba(20, 58, 25, .95); border-color: var(--gold-bright); }
.btn__chev { width: .6em; height: 1em; }

.btn--solid {
  padding: .72rem 1.3rem;
  background: #0f2c13;
  color: var(--cream);
  border-color: #c6a55c;
  font: 500 .85rem/1 var(--font-body);
  box-shadow: inset 0 0 0 2px #0f2c13, inset 0 0 0 3px rgba(214, 179, 106, .45);
}
.btn--solid:hover { background: #17401c; border-color: var(--gold-bright); }
.btn__ext { width: .95em; height: .95em; }

.amz {
  position: relative; display: inline-block;
  font: 700 1.2rem/1 "Helvetica Neue", Arial, sans-serif; letter-spacing: -.03em;
  padding-bottom: .38em;
  color: #fff;
}
.amz svg {
  position: absolute; left: 14%; bottom: 0; width: 62%; height: .42em;
  color: #f0a53c;
}

/* ==========================================================================
   NAV
   ========================================================================== */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  height: 54px; padding: 0 clamp(14px, 3vw, 40px);
  background: linear-gradient(#0e2b12, #0a200d);
  border-bottom: 1px solid var(--gold-dim);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .4), inset 0 -1px 0 rgba(214, 179, 106, .2);
}
.nav__links { display: flex; gap: clamp(16px, 3.4vw, 40px); margin-left: clamp(0px, 13vw, 190px); }
.nav__links a {
  padding: .5rem 0; text-decoration: none;
  font: 500 .72rem/1 var(--font-caps); letter-spacing: .14em; text-transform: uppercase;
  color: var(--cream-soft);
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
}
.nav__links a:hover { color: var(--gold-bright); }
.nav__links a.is-active { color: #e8c672; border-bottom-color: var(--gold); }

.nav__brand {
  display: flex; align-items: center; gap: .7rem; text-decoration: none;
  font: 500 .66rem/1 var(--font-caps); letter-spacing: .14em; text-transform: uppercase;
  color: var(--cream-soft);
}
.nav__emblem { width: 26px; height: 26px; color: var(--gold); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  --hero-img: url("../img/hero-bg.jpg");
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; align-items: center;
  grid-template-columns: minmax(230px, 33%) minmax(0, 1fr);
  column-gap: clamp(12px, 3vw, 44px);
  min-height: clamp(506px, 46vw, 780px);
  padding: 26px clamp(20px, 5vw, 60px) 30px clamp(20px, 11.5vw, 170px);
  background:
    linear-gradient(0deg, rgba(11, 26, 16, .97) 0%, rgba(11, 26, 16, 0) 26%),
    linear-gradient(90deg, rgba(8, 20, 12, .22) 0%, rgba(8, 20, 12, 0) 38%),
    var(--hero-img) 62% 8% / cover no-repeat,
    #0d2a26;
}
@media (max-width: 900px) { .hero { --hero-img: url("../img/hero-bg-sm.jpg"); } }

.hero__book { position: relative; z-index: 1; justify-self: start; }
.hero__book img {
  display: block; width: 100%; max-width: 330px;
  filter: drop-shadow(0 20px 26px rgba(0, 0, 0, .55));
}

.hero__text { position: relative; z-index: 1; text-align: center; justify-self: center; width: 100%; max-width: 520px; }
.hero__text::before {
  content: ""; position: absolute; z-index: -1; inset: -12% -18%;
  background: radial-gradient(closest-side, rgba(7, 18, 11, .66) 0%, rgba(7, 18, 11, .40) 58%, rgba(7, 18, 11, 0) 100%);
  pointer-events: none;
}

.title {
  margin: 0;
  font: 700 clamp(1rem, 2vw, 1.25rem)/1 var(--font-display);
  color: #f5e7b9;
  text-shadow: 0 2px 0 rgba(20, 10, 0, .3), 0 6px 22px rgba(0, 0, 0, .5);
  display: flex; flex-direction: column; align-items: center;
}
.orn-row { display: flex; align-items: center; justify-content: center; gap: .55em; width: 100%; }
.title__a { font-size: clamp(1.9rem, 4.6vw, 3.1rem); }
.title__main { font-size: clamp(2.3rem, 5.6vw, 3.85rem); letter-spacing: .01em; margin-top: .05em; white-space: nowrap; }
.title__in { font-size: clamp(1.3rem, 2.8vw, 1.9rem); margin: .12em 0 .02em; }
.title__fate { font-size: clamp(3.4rem, 8.6vw, 6rem); line-height: .95; }

.hero__author {
  margin: 1.2rem 0 .35rem;
  font: 500 clamp(1rem, 2.2vw, 1.4rem)/1 var(--font-caps);
  letter-spacing: .34em; text-indent: .34em; text-transform: uppercase;
  color: #ecd9a0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .6);
}
.tagline {
  margin: 1.1rem 0 1.7rem;
  font: italic 500 clamp(1.1rem, 2.2vw, 1.42rem)/1.32 var(--font-italic);
  color: #f2e6c6;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .7);
}

/* ==========================================================================
   RELEASE COUNTDOWN
   ========================================================================== */
.release {
  padding: 12px clamp(12px, 2.4vw, 26px) 14px;
  background: var(--green-950) var(--grain-green);
  border-top: 1px solid var(--gold-dim);
}
.release__panel {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 30px 20px 30px; text-align: center;
  border: 2px solid var(--gold);
  background:
    var(--grain-green),
    radial-gradient(120% 150% at 50% 0%, #1b4a20 0%, #163b19 55%, #122f15 100%);
  box-shadow: inset 0 0 0 6px #123716, inset 0 0 0 7px rgba(214, 179, 106, .6), 0 8px 24px rgba(0, 0, 0, .4);
}
.release__panel::before, .release__panel::after {
  content: ""; position: absolute; top: 8px; bottom: 8px; z-index: -1;
  background-repeat: no-repeat; background-size: auto 100%; pointer-events: none;
}
.release__panel::before { left: 8px; width: 20%; max-width: 190px; background-image: url("../img/banner-left.png"); background-position: left center; }
.release__panel::after  { right: 8px; width: 18%; max-width: 170px; background-image: url("../img/banner-right.png"); background-position: right center; }

.release__label {
  margin: 0;
  font: 500 clamp(.95rem, 2vw, 1.15rem)/1 var(--font-caps);
  letter-spacing: .3em; text-indent: .3em; text-transform: uppercase; color: #ecd9a0;
}
.release__date {
  margin: .5rem 0 1.2rem;
  font: 600 clamp(1.7rem, 4.2vw, 2.4rem)/1.1 var(--font-caps);
  letter-spacing: .06em; text-transform: uppercase; color: #f6e8bb;
  text-shadow: 0 2px 10px rgba(0, 0, 0, .45);
}

.countdown {
  display: flex; align-items: flex-start; justify-content: center;
  gap: clamp(6px, 2.4vw, 26px);
}
.cd { display: flex; flex-direction: column; align-items: center; min-width: 4.2em; }
.cd__n {
  font: 600 clamp(1.7rem, 4vw, 2.5rem)/1 var(--font-display);
  color: #f3e2ae; font-variant-numeric: tabular-nums; letter-spacing: .04em;
}
.cd__l {
  margin-top: .5rem;
  font: 500 clamp(.6rem, 1.5vw, .74rem)/1 var(--font-caps);
  letter-spacing: .2em; text-indent: .2em; text-transform: uppercase; color: #dcc891;
}
.cd__sep { width: 34px; height: 10px; margin-top: clamp(.9rem, 2vw, 1.25rem); color: var(--gold); flex: none; }

/* ==========================================================================
   EDITIONS
   ========================================================================== */
.editions {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 34px clamp(16px, 5vw, 52px) 48px;
  text-align: center; color: var(--ink);
  background:
    var(--grain),
    radial-gradient(120% 90% at 50% 0%, rgba(255, 246, 222, .28), rgba(255, 246, 222, 0) 70%),
    #e6d5b3;
  border-top: 2px solid var(--gold-dim);
  border-bottom: 2px solid var(--gold-dim);
}
.editions::before, .editions::after {
  content: ""; position: absolute; top: 0; z-index: -1; height: 140px;
  background-repeat: no-repeat; background-size: auto 100%; pointer-events: none;
}
.editions::before { left: 0; width: 170px; background-image: url("../img/ed-top-left.png"); }
.editions::after  { right: 0; width: 164px; background-image: url("../img/ed-top-right.png"); background-position: right top; }

.section-title {
  margin: 0;
  font: 600 clamp(1.5rem, 3.6vw, 2.15rem)/1.1 var(--font-caps);
  letter-spacing: .14em; text-indent: .14em; text-transform: uppercase; color: #211810;
}

.editions__grid {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.6vw, 30px);
  max-width: 980px; margin: 28px auto 0;
  text-align: left;
}
.card {
  display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center;
  gap: clamp(12px, 2.4vw, 26px);
  padding: 26px clamp(16px, 2.4vw, 28px);
  border: 1px solid #b99a55;
  background:
    var(--c-tl) left 6px top 6px / 24px 24px no-repeat,
    var(--c-tr) right 6px top 6px / 24px 24px no-repeat,
    var(--c-bl) left 6px bottom 6px / 24px 24px no-repeat,
    var(--c-br) right 6px bottom 6px / 24px 24px no-repeat,
    #ecdbb9;
  box-shadow: inset 0 0 0 5px #ecdbb9, inset 0 0 0 6px rgba(185, 154, 85, .5);
}
.card__e { text-transform: none; font-size: .82em; }
.card__img {
  display: block; width: clamp(96px, 17vw, 172px);
}
.card__img--tablet { width: clamp(84px, 14vw, 146px); }

.card__title {
  margin: 0 0 .7rem;
  font: 600 clamp(1.15rem, 2.4vw, 1.4rem)/1.1 var(--font-caps);
  letter-spacing: .14em; text-transform: uppercase; color: #221a10;
}
.card__copy { margin: 0 0 .9rem; font: 400 clamp(1rem, 1.9vw, 1.16rem)/1.42 var(--font-body); color: #2f2415; }
.card__date { margin: .7rem 0 .8rem; font: 500 clamp(.95rem, 1.8vw, 1.08rem)/1.3 var(--font-body); color: var(--coral-ink); }
.card .btn { margin-top: .4rem; }
.card .rule--xs { margin-top: .2rem; }

/* ==========================================================================
   STORY
   ========================================================================== */
.story {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; align-items: center;
  grid-template-columns: minmax(0, 33%) minmax(0, 1fr) minmax(210px, 27%);
  column-gap: clamp(16px, 3vw, 40px);
  min-height: 300px;
  border-bottom: 2px solid var(--gold-dim);
  padding: 48px clamp(16px, 7vw, 90px) 56px 0;
  background: var(--grain-green), linear-gradient(180deg, #0f2d15 0%, #0a200d 100%);
}
.story::after {
  content: ""; position: absolute; right: 0; top: 0; bottom: 0; z-index: -1;
  width: 12%; max-width: 130px;
  background: url("../img/story-right.png") right center / auto 100% no-repeat; pointer-events: none;
}
.story__wolf {
  position: absolute; left: 0; bottom: 0; z-index: -1;
  height: 100%; max-height: 300px; width: auto; max-width: 34%; object-fit: cover; object-position: left bottom;
  pointer-events: none;
}
.story__text { grid-column: 2; }
.story__title {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  margin: 0 0 1.1rem;
  font: 500 clamp(1rem, 2.2vw, 1.3rem)/1 var(--font-caps);
  letter-spacing: .2em; text-transform: uppercase; color: var(--gold);
}
.story__title .orn-side { width: clamp(30px, 5vw, 52px); }
.story__text p {
  margin: 0; font: 400 clamp(.98rem, 1.6vw, 1.1rem)/1.62 var(--font-body); color: #eadcb6;
}

.meta {
  grid-column: 3; margin: 0; padding: 4px 0 4px clamp(18px, 3.4vw, 38px);
  border-left: 1px solid rgba(214, 179, 106, .5);
  display: grid; gap: 22px;
}
.meta__item { display: flex; align-items: center; gap: 16px; }
.meta__icon { width: 34px; height: 34px; flex: none; color: var(--gold); }
.meta dt { font: 500 .72rem/1 var(--font-caps); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.meta dd { margin: .45rem 0 0; font: 400 1.02rem/1.2 var(--font-body); color: #eadcb6; }

.foot {
  position: absolute; left: 3%; right: 3%; bottom: 14px;
  display: flex; align-items: center; gap: 12px;
}
.foot__line { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--gold-dim) 15%, var(--gold-dim) 85%, transparent); }
.foot__orn { width: 150px; height: 26px; color: var(--gold); flex: none; }

/* ==========================================================================
   SHARED BITS FOR THE NEW SECTIONS
   ========================================================================== */
.ico { width: 22px; height: 22px; flex: none; color: currentColor; }
.ico--lg { width: 44px; height: 44px; color: var(--gold); }
.section-title--light { color: var(--gold-bright); text-shadow: 0 2px 12px rgba(0, 0, 0, .45); }
.section-title--left { text-align: left; text-indent: 0; }
.rule--light { color: var(--gold); }
.rule--left { margin-inline: 0; }

/* ==========================================================================
   ABOUT THE AUTHOR
   ========================================================================== */
.author {
  position: relative; isolation: isolate;
  padding: 58px clamp(20px, 6vw, 80px) 64px;
  color: var(--ink);
  background:
    var(--grain),
    radial-gradient(120% 90% at 50% 0%, rgba(255, 246, 222, .28), rgba(255, 246, 222, 0) 70%),
    #e6d5b3;
  border-bottom: 2px solid var(--gold-dim);
}
.author__inner {
  display: grid; align-items: center;
  grid-template-columns: minmax(210px, 290px) minmax(0, 1fr);
  gap: clamp(26px, 6vw, 72px);
  max-width: 940px; margin: 0 auto;
}

/* arched portrait frame: photo if static/img/author.jpg exists, monogram otherwise */
.portrait {
  position: relative; aspect-ratio: 4 / 5; overflow: hidden;
  border: 2px solid var(--gold-ink);
  border-radius: 999px 999px 8px 8px;
  background: #16321f;
  box-shadow: inset 0 0 0 6px #e6d5b3, inset 0 0 0 7px var(--gold-ink), 0 16px 34px rgba(40, 24, 8, .3);
}
.portrait img { position: absolute; inset: 9px; width: calc(100% - 18px); height: calc(100% - 18px); object-fit: cover; border-radius: 999px 999px 4px 4px; }
.portrait__mono {
  position: absolute; inset: 9px; display: grid; place-content: center; justify-items: center; gap: .4rem;
  border-radius: 999px 999px 4px 4px;
  background:
    var(--grain-green),
    radial-gradient(90% 70% at 50% 30%, #2a5230 0%, #17381f 60%, #0f2415 100%);
  color: var(--gold);
}
.portrait__mono span { font: 700 clamp(3.2rem, 8vw, 4.6rem)/1 var(--font-display); letter-spacing: .04em; text-shadow: 0 3px 14px rgba(0, 0, 0, .5); }
.portrait__mono svg { width: 130px; height: 22px; color: var(--gold-dim); }

.author__text { min-width: 0; }
.author__name {
  margin: 1.5rem 0 .9rem;
  font: 500 clamp(1rem, 2vw, 1.2rem)/1 var(--font-caps); letter-spacing: .3em; text-transform: uppercase; color: var(--coral-ink);
}
.author__bio { margin: 0 0 1rem; max-width: 34em; font: 400 clamp(1.05rem, 1.9vw, 1.22rem)/1.7 var(--font-body); color: #2f2415; }
.author__link {
  display: inline-block; margin-top: .6rem; padding-bottom: 2px;
  font: 500 .78rem/1 var(--font-caps); letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold-ink); text-decoration: none; border-bottom: 1px solid var(--gold-ink);
  transition: color .2s, border-color .2s;
}
.author__link:hover { color: var(--teal); border-color: var(--teal); }

/* ==========================================================================
   SYNOPSIS
   ========================================================================== */
.synopsis {
  position: relative; isolation: isolate; text-align: center;
  padding: 58px clamp(16px, 5vw, 60px) 68px;
  background: var(--grain-green), linear-gradient(180deg, #0f2814 0%, #0b1c11 100%);
  border-bottom: 2px solid var(--gold-dim);
}
.page {
  position: relative; max-width: 700px; margin: 32px auto 0; text-align: left;
  padding: clamp(30px, 5vw, 56px) clamp(26px, 6vw, 68px) clamp(24px, 4vw, 40px);
  border: 1px solid #b99a55;
  background:
    var(--c-tl) left 8px top 8px / 26px 26px no-repeat,
    var(--c-tr) right 8px top 8px / 26px 26px no-repeat,
    var(--c-bl) left 8px bottom 8px / 26px 26px no-repeat,
    var(--c-br) right 8px bottom 8px / 26px 26px no-repeat,
    var(--grain),
    linear-gradient(180deg, #efe2c3 0%, #e6d5b3 100%);
  box-shadow: inset 0 0 0 6px #ecdcb9, inset 0 0 0 7px rgba(185, 154, 85, .5), 0 22px 44px rgba(0, 0, 0, .5);
  color: var(--ink);
}
.page__text p {
  margin: 0 0 1.1em; text-align: justify; hyphens: auto; text-wrap: pretty;
  font: 400 clamp(1.05rem, 1.9vw, 1.2rem)/1.75 var(--font-body);
}
.page__text p:first-child::first-letter {
  float: left; padding: .06em .12em 0 0;
  font: 700 3.7em/.82 var(--font-display); color: var(--coral-ink);
}
.page__end { margin: 1.2rem auto 0; color: var(--gold-ink); }
.synopsis__more { margin-top: 34px; }

/* ==========================================================================
   LISTEN & FOLLOW
   ========================================================================== */
.connect {
  position: relative; isolation: isolate; text-align: center; overflow: hidden;
  padding: 58px clamp(16px, 5vw, 60px) 92px;
  background:
    linear-gradient(180deg, rgba(11, 26, 16, .88) 0%, rgba(11, 26, 16, .70) 45%, rgba(11, 26, 16, .92) 100%),
    url("../img/hero-bg-sm.jpg") center bottom / cover no-repeat,
    #0b1a10;
}
.connect__lede { margin: 18px auto 0; max-width: 34em; font: italic 500 clamp(1.1rem, 2vw, 1.3rem)/1.4 var(--font-italic); color: #eadcb6; }

.players {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.6vw, 30px);
  max-width: 980px; margin: 34px auto 0; text-align: left;
}
.player {
  position: relative; display: flex; flex-direction: column;
  padding: 26px clamp(18px, 2.6vw, 30px) 24px;
  border: 1px solid var(--gold-dim);
  background:
    var(--c-tl) left 6px top 6px / 24px 24px no-repeat,
    var(--c-tr) right 6px top 6px / 24px 24px no-repeat,
    var(--c-bl) left 6px bottom 6px / 24px 24px no-repeat,
    var(--c-br) right 6px bottom 6px / 24px 24px no-repeat,
    rgba(8, 20, 12, .74);
  box-shadow: inset 0 0 0 5px rgba(8, 20, 12, .74), inset 0 0 0 6px rgba(214, 179, 106, .32), 0 14px 34px rgba(0, 0, 0, .4);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}
.player__head {
  display: flex; align-items: center; gap: .7rem; margin: 0 0 16px;
  font: 500 .9rem/1 var(--font-caps); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-bright);
}
.player__frame, .player__empty { height: 352px; border-radius: 12px; overflow: hidden; }
.player__frame { background: rgba(0, 0, 0, .25); }
.player__frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.player__empty {
  display: grid; place-content: center; justify-items: center; gap: .8rem; padding: 20px; text-align: center;
  border: 1px dashed rgba(214, 179, 106, .45);
  background: rgba(214, 179, 106, .05);
  color: var(--cream-soft);
}
.player__empty p { margin: 0; font: italic 500 1.15rem/1.3 var(--font-italic); }
.player .btn { align-self: flex-start; margin-top: 16px; }

.connect__sub {
  margin: 46px 0 0;
  font: 500 .82rem/1 var(--font-caps); letter-spacing: .3em; text-indent: .3em; text-transform: uppercase; color: var(--gold);
}
.socials { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(12px, 2.4vw, 22px); margin: 20px 0 0; padding: 0; }
.social {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  color: var(--gold-bright); text-decoration: none;
  border: 1.5px solid var(--gold);
  background: rgba(10, 26, 16, .8);
  box-shadow: inset 0 0 0 3px rgba(10, 26, 16, .92), inset 0 0 0 4px rgba(214, 179, 106, .4);
  transition: color .2s, border-color .2s, box-shadow .2s, transform .2s;
}
.social .ico { width: 22px; height: 22px; }
.social:hover {
  color: #fff; border-color: var(--teal-bright); transform: translateY(-2px);
  box-shadow: inset 0 0 0 3px rgba(10, 26, 16, .92), inset 0 0 0 4px rgba(70, 179, 166, .6), 0 0 20px rgba(70, 179, 166, .35);
}

/* ==========================================================================
   RELEASED STATE + ERROR PAGE
   ========================================================================== */
.release__cta { margin-top: .4rem; }

.notfound {
  display: grid; place-content: center; justify-items: center; gap: .4rem;
  min-height: calc(100vh - 54px); padding: 64px 24px; text-align: center;
  background:
    linear-gradient(180deg, rgba(11, 26, 16, .86), rgba(11, 26, 16, .94)),
    url("../img/hero-bg-sm.jpg") center / cover no-repeat,
    #0b1a10;
}
.notfound__code { margin: 0; font: 700 clamp(4.5rem, 16vw, 9rem)/1 var(--font-display); color: var(--gold); text-shadow: 0 6px 30px rgba(0, 0, 0, .6); }
.notfound__title { margin: .2rem 0 .6rem; font: 600 clamp(1.4rem, 4vw, 2rem)/1.2 var(--font-caps); letter-spacing: .12em; text-transform: uppercase; color: var(--gold-bright); }
.notfound__msg { margin: 1rem 0 1.8rem; font: italic 500 clamp(1.1rem, 2.4vw, 1.4rem)/1.4 var(--font-italic); color: #eadcb6; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 900px) {
  .players { grid-template-columns: 1fr; max-width: 520px; }
  .editions__grid { grid-template-columns: 1fr; max-width: 520px; }
  .story {
    grid-template-columns: 1fr; padding: 0 28px 44px; row-gap: 24px;
  }
  .story__wolf {
    position: static; z-index: auto; grid-column: 1;
    justify-self: start; margin-left: -28px;
    width: min(80%, 340px); max-width: none; height: auto; max-height: none;
  }
  .story__text, .meta { grid-column: 1; }
  .meta { border-left: 0; border-top: 1px solid rgba(214, 179, 106, .5); padding: 22px 0 0; }
  .story::after { display: none; }
}

@media (max-width: 760px) {
  .nav__brand span { display: none; }
  .nav__links { margin-left: 0; gap: 16px; flex: 1 1 auto; min-width: 0; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
  .nav__links::-webkit-scrollbar { display: none; }
  .nav__links a { font-size: .62rem; letter-spacing: .1em; }

  .author__inner { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .portrait { width: min(72%, 280px); }
  .section-title--left { text-align: center; text-indent: .14em; }
  .rule--left { margin-inline: auto; }
  .author__bio { margin-inline: auto; }
  .page__text p { text-align: left; }

  .hero {
    grid-template-columns: 1fr; row-gap: 22px; justify-items: center;
    padding: 36px 20px 40px;
  }
  .hero__book { justify-self: center; width: min(62%, 280px); }

  .release__panel::before, .release__panel::after { opacity: .55; }
  .cd { min-width: 3.4em; }
  .cd__sep { width: 18px; }
}

@media (max-width: 480px) {
  .nav__brand { display: none; }
  .title__main { white-space: normal; text-align: center; }
  .orn-side { width: 44px; }
  .card { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .card .rule--xs { margin-inline: auto; }
  .cd__sep { display: none; }
  .countdown { gap: 8px; }
}

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