/* =========================================================
   Nikki Riker — Dark paranormal & MC romance
   Aesthetic: dangerous elegance, cinematic editorial noir
   ========================================================= */

:root {
  /* Palette A — Vampire Aristocracy on Deep Amethyst (default) */
  --obsidian: #2D1B4E;        /* base — Deep Amethyst */
  --obsidian-2: #1C1033;      /* section / card depth — 1 step deeper */
  --obsidian-3: #140a26;      /* deepest well — under UI, panels */
  --garnet: #a8213a;           /* pushed slightly warmer to sit on purple */
  --garnet-soft: #c33a54;
  --gold: #D4B882;             /* nudged a touch more luminous against purple */
  --gold-soft: #e4ca97;
  --bone: #F4EFE5;             /* warm bone for max readability on purple */
  --bone-dim: rgba(244,239,229,0.72);
  --bone-faint: rgba(244,239,229,0.40);
  --hair: rgba(212,184,130,0.14);   /* hair-lines tinted gold so they feel intentional, not grey */
  --amethyst: #2D1B4E;
  --ink: 20, 10, 38;          /* deep well R,G,B for alpha overlays */
  --shadow: 10, 5, 20;        /* near-black for drop shadows */

  --accent: var(--garnet);
  --accent-soft: var(--garnet-soft);
  --lux: var(--gold);

  /* Type */
  --font-display: "Cormorant Garamond", "Cormorant", "EB Garamond", Georgia, serif;
  --font-script: "Cormorant Garamond", Georgia, serif;
  --font-body: "Lora", "Libre Baskerville", Georgia, serif;
  --font-label: "Raleway", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-brutal: "Bebas Neue", "Oswald", Impact, sans-serif;
}

/* Palette variants */
body[data-palette="brotherhood"] {
  --obsidian: #111111;
  --obsidian-2: #181818;
  --obsidian-3: #201d1c;
  --garnet: #C0392B;
  --garnet-soft: #d85848;
  --gold: #B8860B;
  --gold-soft: #cfa02a;
  --bone: #EDE8DC;
  --ink: 10, 10, 10;
  --shadow: 0, 0, 0;
}
body[data-palette="gothic"] {
  --obsidian: #0A0A0A;
  --obsidian-2: #131016;
  --obsidian-3: #1c1420;
  --garnet: #6b1220;
  --garnet-soft: #8f1a2d;
  --gold: #C9A227;
  --gold-soft: #d9b440;
  --bone: #F5F0E8;
  --ink: 10, 8, 14;
  --shadow: 0, 0, 0;
}

/* Type variants */
body[data-type="hybrid"] {
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Libre Baskerville", Georgia, serif;
  --font-label: "Bebas Neue", Impact, sans-serif;
}
body[data-type="editorial"] {
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Raleway", Helvetica, Arial, sans-serif;
  --font-label: "Raleway", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--obsidian);
  color: var(--bone);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

/* Selection */
::selection { background: var(--garnet); color: var(--bone); }

/* Global film grain (optional) */
body[data-grain="on"]::after {
  content: "";
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.93  0 0 0 0 0.93  0 0 0 0 0.87  0 0 0 0.22 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: .28;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 1000;
}

/* ========= Utility ========= */

.nr-eyebrow {
  display: inline-block;
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
body[data-type="hybrid"] .nr-eyebrow {
  font-size: 14px; letter-spacing: 0.25em;
}

.nr-section-head {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--bone);
  margin: 14px 0 24px;
  text-wrap: balance;
}
.nr-section-head em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}
.nr-section-head-center { text-align: center; margin-left: auto; margin-right: auto; }

.nr-caption-rule {
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--gold);
  margin-right: 12px;
  vertical-align: middle;
}

.nr-inline-link {
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 3px;
  transition: color .3s, border-color .3s;
}
.nr-inline-link:hover { color: var(--bone); border-color: var(--bone); }

/* ========= Buttons ========= */
.nr-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid transparent;
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  transition: all .35s ease;
  cursor: pointer;
  background: none;
}
.nr-btn-primary {
  background: var(--garnet);
  color: var(--bone);
  border-color: var(--garnet);
}
.nr-btn-primary:hover {
  background: transparent;
  color: var(--bone);
  border-color: var(--gold);
}
.nr-btn-ghost {
  color: var(--bone);
  border-color: rgba(240,237,230,0.35);
  background: rgba(13,13,13,0.4);
  backdrop-filter: blur(6px);
}
.nr-btn-ghost:hover { border-color: var(--gold); color: var(--gold); }
.nr-btn-gold {
  border-color: var(--gold);
  color: var(--gold);
}
.nr-btn-gold:hover { background: var(--gold); color: var(--obsidian); }
.nr-btn-block { width: 100%; justify-content: center; }
.nr-btn:disabled { opacity: .5; cursor: wait; }

/* ========= Header — logo-as-navigation ========= */
/* Logo size is driven by a CSS var so the hero layout can reserve exactly
   the right amount of top space on every viewport. Logo PNG is square but
   visible glyph is ~80% tall, so effective height ≈ width / 1.4 */
:root {
  --logo-width: clamp(200px, 24vw, 320px);
  --logo-height: calc(var(--logo-width) * 0.72);
  --logo-top: 28px;
  --logo-left: 36px;
  --logo-breathing: clamp(40px, 6vh, 80px);
}
.nr-header {
  position: absolute;
  top: 0; left: 0;
  z-index: 100;
  padding: var(--logo-top) 0 0 var(--logo-left);
  pointer-events: none;
}
.nr-mark-huge {
  display: block;
  pointer-events: auto;
  line-height: 0;
  width: var(--logo-width);
  filter: drop-shadow(0 4px 24px rgba(0,0,0,0.55));
  transition: opacity .3s;
}
.nr-mark-huge:hover { opacity: 0.88; }
.nr-mark-huge img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 767px) {
  :root {
    --logo-width: clamp(160px, 42vw, 220px);
    --logo-top: 16px;
    --logo-left: 16px;
  }
  .nr-header {
    /* On mobile the logo floats over the top of the photo */
    position: absolute;
  }
}

/* ========= Hero — unified, photo-first, bulletproof responsive ========= */
/* Core principle: on desktop the photo is full-bleed with content pinned
   to the left third over a strong gradient mask. On mobile the photo sits
   on top, content sits below on solid dark — no overlap possible. */

.nr-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: rgb(var(--ink));
}

/* DESKTOP + TABLET (>= 768px): full-bleed photo, content over left third */
@media (min-width: 768px) {
  .nr-hero {
    min-height: min(100svh, 900px);
    display: flex;
    align-items: stretch;
  }
  .nr-hero-media {
    position: absolute; inset: 0;
    z-index: 0;
  }
  .nr-hero-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center right; /* keep Nikki fully in frame */
  }
  .nr-hero-vignette {
    position: absolute; inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
      /* bottom fade for CTA legibility */
      linear-gradient(180deg, transparent 40%, rgba(var(--ink),0.55) 85%, rgb(var(--ink)) 100%),
      /* left-side mask — stronger so text always reads, tapers past 45% */
      linear-gradient(90deg, rgba(var(--ink),0.92) 0%, rgba(var(--ink),0.72) 25%, rgba(var(--ink),0.3) 45%, rgba(var(--ink),0) 65%);
  }
  .nr-hero-chrome {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: calc(var(--logo-top) + var(--logo-height) + var(--logo-breathing)) clamp(40px, 6vw, 80px) clamp(60px, 8vh, 100px);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }
  .nr-hero-bottom {
    max-width: clamp(420px, 42vw, 560px);
    display: flex;
    flex-direction: column;
    gap: 32px;
  }
}

/* MOBILE (< 768px): stacked layout — photo on top, content below on dark */
@media (max-width: 767px) {
  .nr-hero {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
  }
  .nr-hero-media {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 5;
    max-height: 55svh;
    flex: 0 0 auto;
    overflow: hidden;
  }
  .nr-hero-media img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: 70% center; /* frame Nikki */
  }
  .nr-hero-vignette {
    position: absolute; inset: 0;
    z-index: 1;
    pointer-events: none;
    /* Strong top-left darkening so the gold logo always reads against busy photo areas (candles, bookshelves).
       Plus a soft bottom fade into the content section below. */
    background:
      radial-gradient(ellipse 85% 65% at 0% 0%, rgba(var(--ink),0.92) 0%, rgba(var(--ink),0.75) 25%, rgba(var(--ink),0.45) 50%, rgba(var(--ink),0.15) 75%, rgba(var(--ink),0) 95%),
      linear-gradient(180deg, transparent 60%, rgba(var(--ink),0.4) 85%, rgb(var(--ink)) 100%);
  }
  .nr-hero-chrome {
    position: relative;
    z-index: 2;
    flex: 1 1 auto;
    padding: 40px 24px 56px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }
  .nr-hero-bottom {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 560px;
  }
}

/* Shared — grain overlay always on top */
.nr-hero-grain {
  position: absolute; inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.08;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.5'/></svg>");
}

/* Tagline + actions */
.nr-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(19px, 2.2vw, 26px);
  font-weight: 500;
  color: var(--bone);
  line-height: 1.4;
  margin: 0;
  text-wrap: balance;
  text-shadow: 0 2px 16px rgba(0,0,0,0.6);
}
.nr-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

/* Hide the scroll indicator on mobile (no room) and soften on desktop */
.nr-hero-scroll {
  position: absolute;
  z-index: 3;
  right: clamp(24px, 4vw, 40px);
  bottom: 28px;
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--bone-faint);
}
.nr-hero-scroll-line {
  display: block; width: 48px; height: 1px;
  background: var(--bone-faint);
  position: relative;
  overflow: hidden;
}
.nr-hero-scroll-line::after {
  content: ""; position: absolute; inset: 0;
  background: var(--gold);
  transform: translateX(-100%);
  animation: scrollSweep 3s ease-in-out infinite;
}
@keyframes scrollSweep {
  0%, 100% { transform: translateX(-100%); }
  50% { transform: translateX(100%); }
}
@media (max-width: 767px) {
  .nr-hero-scroll { display: none; }
}
/* Split hero layout: brand left, signup card right */
.nr-hero-split { align-items: center; }
.nr-hero-chrome-split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  padding: 140px 40px 100px;
}

.nr-hero-brand { position: relative; max-width: 640px; }
.nr-hero-brand .nr-eyebrow { margin-bottom: 24px; display: inline-block; }

.nr-hero-brand .nr-wordmark {
  font-size: clamp(64px, 10vw, 148px);
}

.nr-hero-brand .nr-tagline {
  max-width: 480px;
  margin: 30px 0 36px;
  font-size: clamp(17px, 1.6vw, 22px);
}

.nr-hero-brand .nr-hero-actions { gap: 24px; align-items: center; }

/* Signup card on right */
.nr-hero-card {
  position: relative;
  max-width: 440px;
  justify-self: end;
  width: 100%;
}
.nr-hero-card-frame {
  position: relative;
  padding: 44px 38px 38px;
  background:
    linear-gradient(180deg, rgba(var(--ink),0.75), rgba(var(--ink),0.92));
  border: 1px solid rgba(212,184,130,0.28);
  backdrop-filter: blur(14px) saturate(130%);
  box-shadow:
    0 30px 80px rgba(var(--shadow),0.55),
    inset 0 1px 0 rgba(212,184,130,0.08);
}
.nr-hero-card-frame::before,
.nr-hero-card-frame::after {
  content: "";
  position: absolute;
  width: 22px; height: 22px;
  border: 1px solid var(--gold);
}
.nr-hero-card-frame::before { top: 8px; left: 8px; border-right: 0; border-bottom: 0; }
.nr-hero-card-frame::after { bottom: 8px; right: 8px; border-left: 0; border-top: 0; }

.nr-card-ornament {
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  background: var(--obsidian);
  color: var(--gold);
  padding: 0 12px;
  font-size: 14px;
  letter-spacing: 0.3em;
}

.nr-hero-card .nr-eyebrow {
  display: block;
  margin-bottom: 12px;
  text-align: center;
}
.nr-hero-card-head {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 3.2vw, 40px);
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--bone);
  margin: 0 0 18px;
  text-align: center;
  text-wrap: balance;
}
.nr-hero-card-head em {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}
.nr-hero-card-lede {
  color: var(--bone-dim);
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
  margin: 0 0 24px;
}
.nr-hero-form { display: flex; flex-direction: column; gap: 16px; }
.nr-hero-form .nr-field input { font-size: 18px; }
.nr-hero-form .nr-btn-primary { padding: 14px 20px; }

@media (max-width: 960px) {
  .nr-hero-chrome-split {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 120px 24px 60px;
  }
  .nr-hero-card { justify-self: center; max-width: 420px; }
  .nr-hero-brand .nr-wordmark { font-size: clamp(56px, 14vw, 96px); }
}
/* Logo mark replacing the typographic wordmark.
   Uses a canvas-generated transparent PNG (white shape on clear bg).
   Anchored top-left of hero — fills the dead space next to candles. */
.nr-wordmark-logo {
  margin: 0;
  line-height: 0;
  width: clamp(340px, 44vw, 640px);
  aspect-ratio: auto;
  background: transparent;
  align-self: flex-start;
}
.nr-wordmark-logo img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 30px rgba(0,0,0,0.55));
}

.nr-hero-media img {
  width: 100%; height: 100%;
  object-fit: cover;
}

@keyframes heroFloat {
  from { transform: scale(1.04) translateX(-0.5%); }
  to   { transform: scale(1.08) translateX(0.5%); }
}

.nr-wordmark {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(72px, 14vw, 200px);
  line-height: 0.86;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--bone);
  text-wrap: balance;
}
.nr-wordmark .nr-word {
  display: block;
}
.nr-wordmark .nr-word-script {
  font-style: italic;
  color: var(--gold);
  padding-left: clamp(40px, 9vw, 160px);
  margin-top: -0.14em;
  font-weight: 300;
  letter-spacing: -0.015em;
}

/* Smoke */
.nr-smoke { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.nr-smoke-puff {
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,184,130,0.10) 0%, rgba(var(--ink),0) 60%);
  filter: blur(40px);
}
.nr-smoke-1 { top: -120px; left: 10%; animation: smokeA 24s ease-in-out infinite alternate; }
.nr-smoke-2 { bottom: -200px; right: 12%; animation: smokeB 28s ease-in-out infinite alternate; }
@keyframes smokeA { from { transform: translate(0,0); opacity:.5 } to { transform: translate(80px, -40px); opacity:.8 } }
@keyframes smokeB { from { transform: translate(0,0); opacity:.4 } to { transform: translate(-60px, -60px); opacity:.7 } }

/* ========= Section shell ========= */
section { position: relative; }
.nr-about, .nr-signup, .nr-praise, .nr-shop, .nr-social {
  padding: 140px 40px;
  max-width: 1440px;
  margin: 0 auto;
}
@media (max-width: 860px) {
  .nr-about, .nr-signup, .nr-praise, .nr-shop, .nr-social {
    padding: 80px 24px;
  }
}

/* Divider ornaments between sections */
section + section::before {
  content: "";
  display: block;
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, transparent, var(--gold), transparent);
  opacity: .5;
}

/* ========= About ========= */
.nr-about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
  align-items: center;
}
@media (max-width: 860px) {
  .nr-about-grid { grid-template-columns: 1fr; gap: 60px; }
}

.nr-about-portrait { position: relative; }
.nr-portrait-frame {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--obsidian-2);
}
.nr-portrait-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: saturate(.92) contrast(1.05);
  transition: transform .9s cubic-bezier(.2,.7,.2,1);
}
.nr-portrait-frame:hover img { transform: scale(1.03); }
.nr-portrait-corners span {
  position: absolute;
  width: 28px; height: 28px;
  border: 1px solid var(--gold);
}
.nr-portrait-corners span:nth-child(1) { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.nr-portrait-corners span:nth-child(2) { top: -1px; right: -1px; border-left: 0; border-bottom: 0; }
.nr-portrait-corners span:nth-child(3) { bottom: -1px; left: -1px; border-right: 0; border-top: 0; }
.nr-portrait-corners span:nth-child(4) { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

.nr-portrait-caption {
  margin-top: 20px;
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--bone-faint);
}

.nr-about-copy { max-width: 560px; }
.nr-about-body { color: var(--bone-dim); font-size: 18px; line-height: 1.75; margin-bottom: 36px; }
.nr-about-body p { margin: 0 0 18px; }
.nr-about-body p:first-child::first-letter {
  font-family: var(--font-display);
  font-size: 4.2em;
  float: left;
  line-height: .85;
  padding: 6px 14px 0 0;
  color: var(--gold);
  font-style: italic;
}

/* ========= Signup ========= */
.nr-signup {
  background:
    radial-gradient(ellipse at 20% 30%, rgba(139,0,35,0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 70%, rgba(201,169,110,0.06) 0%, transparent 55%),
    var(--obsidian-2);
  max-width: none;
  padding-left: 0; padding-right: 0;
}
.nr-signup-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 860px) {
  .nr-signup-inner { grid-template-columns: 1fr; gap: 60px; padding: 0 24px; }
}

.nr-signup-art {
  position: relative;
  aspect-ratio: 4/5;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(168,33,58,0.30) 0%, transparent 60%),
    linear-gradient(160deg, var(--obsidian-2) 0%, var(--obsidian-3) 100%);
  display: grid; place-items: center;
  overflow: hidden;
  border: 1px solid var(--hair);
}
/* E-reader artwork (provided PNG with transparent bg) */
.nr-ereader-art {
  position: relative;
  width: 100%;
  max-width: 720px;
  height: auto;
  display: block;
  transform: rotate(-2deg);
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
  filter: drop-shadow(-24px 40px 50px rgba(0,0,0,0.55))
          drop-shadow(0 8px 20px rgba(0,0,0,0.35));
}
.nr-signup-art:hover .nr-ereader-art { transform: rotate(-0.5deg) translateY(-6px); }

/* Legacy bezel rules (no longer rendered) */
.nr-ereader { display: none; }

.nr-ereader-bezel {
  position: relative;
  width: 100%; height: 100%;
  background: linear-gradient(160deg, #2a2a2a 0%, #161616 55%, #0c0c0c 100%);
  border-radius: 14px;
  padding: 8% 7% 14% 7%;
  box-shadow:
    -40px 60px 90px rgba(var(--shadow),0.65),
    0 0 0 1px rgba(255,255,255,0.04),
    inset 0 1px 0 rgba(255,255,255,0.06),
    inset 0 -1px 0 rgba(0,0,0,0.6);
}
.nr-ereader-screen {
  position: relative;
  width: 100%; height: 86%;
  background: #e8e4dc;
  overflow: hidden;
  box-shadow:
    inset 0 0 0 1px rgba(0,0,0,0.3),
    inset 0 2px 8px rgba(0,0,0,0.35);
}
.nr-ereader-screen img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.02);
}
.nr-ereader-glare {
  position: absolute; inset: 0;
  background: linear-gradient(115deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.08) 38%,
    rgba(255,255,255,0) 58%);
  pointer-events: none;
}
.nr-ereader-brand {
  position: absolute;
  left: 0; right: 0; bottom: 3.5%;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  font-family: var(--font-label);
  font-size: 9px;
  letter-spacing: 0.3em;
  text-transform: lowercase;
  color: rgba(255,255,255,0.35);
}
.nr-ereader-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: rgba(255,255,255,0.22);
  box-shadow: inset 0 1px 1px rgba(0,0,0,0.5);
}
.nr-ereader-shadow {
  position: absolute;
  left: 6%; right: 6%; bottom: -20px;
  height: 30px;
  background: radial-gradient(ellipse, rgba(var(--shadow),0.7), transparent 70%);
  filter: blur(8px);
  z-index: -1;
}

.nr-rose {
  position: absolute;
  width: 140px; height: 140px;
  bottom: -30px; right: -30px;
  opacity: .5;
  background:
    radial-gradient(circle at 30% 30%, rgba(139,0,35,0.6), transparent 60%),
    radial-gradient(circle at 60% 60%, rgba(201,169,110,0.2), transparent 55%);
  filter: blur(6px);
}

/* Form */
.nr-signup-copy { max-width: 520px; }
.nr-signup-lede {
  color: var(--bone-dim);
  font-size: 18px;
  line-height: 1.7;
  margin-bottom: 32px;
}
.nr-form { display: flex; flex-direction: column; gap: 18px; }
.nr-field { display: flex; flex-direction: column; gap: 8px; }
.nr-field-label {
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}
.nr-field input {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--hair);
  color: var(--bone);
  font-family: var(--font-display);
  font-size: 22px;
  padding: 10px 0;
  outline: none;
  transition: border-color .3s;
}
.nr-field input::placeholder { color: var(--bone-faint); font-style: italic; }
.nr-field input:focus { border-color: var(--gold); }
.nr-field input[aria-invalid="true"] { border-color: var(--garnet); }
.nr-form-err {
  color: var(--garnet-soft);
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: 0.08em;
}
.nr-form-fine {
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--bone-faint);
  margin: 8px 0 0;
  text-align: center;
}

.nr-form-success {
  padding: 32px 0;
  text-align: center;
}
.nr-success-seal { color: var(--gold); margin-bottom: 18px; }
.nr-form-success h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 38px;
  margin: 0 0 12px;
  color: var(--bone);
}
.nr-form-success p { color: var(--bone-dim); font-size: 16px; }

/* ========= Praise ========= */
.nr-praise-header { text-align: center; margin-bottom: 70px; }
.nr-praise-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 860px) {
  .nr-praise-grid { grid-template-columns: 1fr; }
}
.nr-praise-card {
  margin: 0;
  padding: 40px 32px 32px;
  border: 1px solid var(--hair);
  background:
    linear-gradient(180deg, rgba(201,169,110,0.03), transparent 30%),
    var(--obsidian-2);
  position: relative;
  transition: border-color .4s, transform .4s;
}
.nr-praise-card:hover {
  border-color: rgba(201,169,110,0.4);
  transform: translateY(-4px);
}
.nr-quote-mark { color: var(--gold); opacity: .6; margin-bottom: 16px; }
.nr-praise-card blockquote {
  margin: 0 0 28px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  line-height: 1.4;
  color: var(--bone);
}
.nr-praise-card figcaption {
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--bone-faint);
}

/* ========= Shop ========= */
.nr-shop-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 80px;
  align-items: center;
  border: 1px solid var(--hair);
  background:
    radial-gradient(ellipse at 80% 20%, rgba(201,169,110,0.08) 0%, transparent 60%),
    var(--obsidian-2);
  transition: border-color .5s;
  position: relative;
  overflow: hidden;
}
.nr-shop-card:hover { border-color: var(--gold); }
.nr-shop-card::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 80% 20%, rgba(201,169,110,0.12), transparent 55%);
  opacity: 0; transition: opacity .5s;
  pointer-events: none;
}
.nr-shop-card:hover::after { opacity: 1; }

.nr-shop-copy p { color: var(--bone-dim); margin: 0 0 32px; max-width: 440px; }

.nr-shop-feature {
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  border: 1px solid var(--hair);
  background:
    radial-gradient(ellipse at 50% 30%, rgba(168,33,58,0.14), transparent 70%),
    linear-gradient(180deg, rgba(var(--ink),0.3), rgba(var(--ink),0.7));
  position: relative;
  overflow: hidden;
}
.nr-shop-feature::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(201,169,110,0.18);
  pointer-events: none;
}
.nr-shop-feature-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}
.nr-shop-feature-inner .nr-tile-glyph {
  font-size: 72px;
  line-height: 1;
}
.nr-shop-feature-inner .nr-tile-label {
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--bone);
}
.nr-shop-feature-note {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  color: var(--bone-dim);
  letter-spacing: 0.04em;
}

.nr-shop-tile {
  border: 1px solid var(--hair);
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background .4s;
  background:
    linear-gradient(180deg, rgba(var(--ink),0.2), rgba(var(--ink),0.6));
}
.nr-shop-tile-1 {
  grid-row: span 2;
  background:
    linear-gradient(180deg, rgba(168,33,58,0.18), rgba(var(--ink),0.6));
}
.nr-shop-tile-2 { background: linear-gradient(180deg, rgba(212,184,130,0.10), rgba(var(--ink),0.6)); }
.nr-shop-tile-3 { background: linear-gradient(180deg, rgba(100,62,170,0.22), rgba(var(--ink),0.6)); }
.nr-tile-glyph {
  font-family: var(--font-display);
  font-size: 36px;
  color: var(--gold);
}
.nr-tile-label {
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--bone-dim);
}
@media (max-width: 860px) {
  .nr-shop-card { grid-template-columns: 1fr; gap: 40px; padding: 40px 24px; }
  .nr-shop-feature { height: 260px; }
}

/* ========= Social ========= */
.nr-social-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  margin-bottom: 48px;
}
.nr-social-links { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; }
.nr-social-links a {
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--bone-dim);
  border-bottom: 1px solid var(--hair);
  padding-bottom: 6px;
  transition: color .3s, border-color .3s;
}
.nr-social-links a:hover { color: var(--gold); border-color: var(--gold); }
@media (max-width: 860px) {
  .nr-social-header { flex-direction: column; align-items: flex-start; }
  .nr-social-links { align-items: flex-start; }
}

.nr-social-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}
@media (max-width: 860px) {
  .nr-social-grid { grid-template-columns: repeat(2, 1fr); }
}
.nr-social-tile {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: var(--obsidian-2);
  border: 1px solid var(--hair);
}
.nr-social-placeholder { position: absolute; inset: 0; }
.nr-placeholder-stripes {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(201,169,110,0.04) 0 2px,
      transparent 2px 12px
    ),
    radial-gradient(ellipse at center, rgba(168,33,58,0.12), transparent 70%),
    linear-gradient(160deg, var(--obsidian-2), var(--obsidian-3));
}
.nr-social-overlay {
  position: absolute; inset: 0;
  padding: 14px;
  display: flex; flex-direction: column; justify-content: space-between;
  color: var(--bone-dim);
  transition: background .4s, color .3s;
}
.nr-social-tile:hover .nr-social-overlay {
  background: linear-gradient(180deg, rgba(var(--ink),0.3), rgba(var(--ink),0.88));
  color: var(--gold);
}
.nr-social-icon { color: var(--gold); }
.nr-social-caption {
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ========= Footer ========= */
.nr-footer {
  background: var(--obsidian-2);
  border-top: 1px solid var(--hair);
  padding: 80px 40px 30px;
}
.nr-footer-top {
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--hair);
}
.nr-footer-brand { display: flex; flex-direction: column; gap: 10px; }
.nr-footer-mark {
  font-family: var(--font-display);
  font-size: 34px;
  font-style: italic;
  color: var(--gold);
}
.nr-footer-tag {
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--bone-faint);
}
.nr-footer-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.nr-footer-cols > div { display: flex; flex-direction: column; gap: 12px; }
.nr-footer-heading {
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}
.nr-footer-cols a {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--bone-dim);
  transition: color .3s;
}
.nr-footer-cols a:hover { color: var(--bone); }
.nr-footer-note {
  font-family: var(--font-label);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--bone-faint);
}
.nr-footer-bottom {
  max-width: 1440px;
  margin: 0 auto;
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--font-label);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--bone-faint);
}
.nr-footer-sigil { color: var(--gold); letter-spacing: 0.4em; }
@media (max-width: 860px) {
  .nr-footer-top { grid-template-columns: 1fr; gap: 40px; }
  .nr-footer-cols { grid-template-columns: 1fr 1fr; }
  .nr-footer-bottom { flex-direction: column; gap: 14px; }
}

/* ========= Tweaks panel ========= */
.nr-tweaks {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  background: rgba(var(--ink),0.95);
  border: 1px solid var(--hair);
  backdrop-filter: blur(14px);
  color: var(--bone);
  font-family: var(--font-label);
  font-size: 12px;
  width: 300px;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}
.nr-tweaks-handle {
  width: 100%;
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 18px;
  background: var(--obsidian-3);
  border: 0; color: var(--gold);
  letter-spacing: 0.3em; text-transform: uppercase; font-size: 11px;
  border-bottom: 1px solid var(--hair);
}
.nr-tweaks-body { padding: 18px; display: flex; flex-direction: column; gap: 18px; }
.nr-tweak-group { display: flex; flex-direction: column; gap: 10px; }
.nr-tweak-head {
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--bone-faint);
}
.nr-tweak-row { display: flex; gap: 8px; flex-wrap: wrap; }
.nr-tweak-col { display: flex; flex-direction: column; gap: 6px; }
.nr-tweak-chip {
  flex: 1 1 80px;
  background: transparent;
  border: 1px solid var(--hair);
  padding: 8px;
  display: flex; flex-direction: column; gap: 6px;
  color: var(--bone-dim);
  transition: border-color .2s, color .2s;
}
.nr-tweak-chip.is-on { border-color: var(--gold); color: var(--gold); }
.nr-tweak-swatches { display: flex; gap: 2px; }
.nr-tweak-swatches span { flex: 1; height: 16px; }
.nr-tweak-label { font-size: 9px; letter-spacing: 0.12em; text-transform: uppercase; text-align: left; }
.nr-tweak-opt {
  text-align: left;
  background: transparent;
  border: 1px solid var(--hair);
  padding: 10px 12px;
  color: var(--bone-dim);
  display: flex; flex-direction: column; gap: 3px;
  transition: border-color .2s, color .2s;
}
.nr-tweak-opt.is-on { border-color: var(--gold); color: var(--bone); }
.nr-tweak-opt-label { font-size: 12px; letter-spacing: 0.04em; }
.nr-tweak-opt-sub { font-size: 9px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--bone-faint); }
.nr-tweak-hero {
  flex: 1;
  background: transparent;
  border: 1px solid var(--hair);
  padding: 4px;
  color: var(--bone-dim);
  display: flex; flex-direction: column; gap: 4px;
  transition: border-color .2s;
}
.nr-tweak-hero.is-on { border-color: var(--gold); }
.nr-tweak-hero img { aspect-ratio: 3/1; object-fit: cover; }
.nr-tweak-hero span { font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase; padding: 4px 2px; }
.nr-tweak-toggle {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; color: var(--bone-dim);
}
.nr-tweak-toggle input { accent-color: var(--gold); }

/* Reveal on scroll */
.nr-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1.2s cubic-bezier(.2,.7,.2,1), transform 1.2s cubic-bezier(.2,.7,.2,1);
}
.nr-reveal.is-visible { opacity: 1; transform: none; }
