/* Bespoke landing page design for "Armored in Fear" (Claude Design pass, Oct 2026). */

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

    :root {
      --ink:        #080a0f;
      --ink-mid:    #0e1018;
      --ink-lift:   #161824;
      --parchment:  #f0eefc;
      --silver:     #c8d4e8;
      --opal-1:     #a8c4e0;   /* soft blue */
      --opal-2:     #b8a8d8;   /* lavender */
      --opal-3:     #a8d8c8;   /* pale teal */
      --opal-4:     #d8c8a8;   /* warm cream */
      --fear:       #1a1a2e;   /* deep fear-dark */
      --fear-glow:  rgba(80,40,140,0.45);
      --miraclite:  #c0b8e8;   /* opalescent base */
    }

    html { scroll-behavior: smooth; }

    body {
      background: var(--ink);
      color: var(--parchment);
      font-family: 'EB Garamond', Georgia, serif;
      font-size: 18px;
      line-height: 1.72;
      overflow-x: hidden;
    }

    /* Shimmer canvas — same engine, different feel */
    #shimmer-canvas {
      position: fixed;
      inset: 0;
      pointer-events: none;
      z-index: 0;
    }

    /* Miraclite iridescent glow overlay — very subtle */
    body::before {
      content: '';
      position: fixed;
      inset: 0;
      background:
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(168,196,224,0.04) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 20% 80%, rgba(184,168,216,0.04) 0%, transparent 70%);
      pointer-events: none;
      z-index: 0;
    }

    /* NAV */
    nav {
      position: fixed;
      top: 0; left: 0; right: 0;
      z-index: 100;
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 20px 60px;
      background: linear-gradient(to bottom, rgba(8,10,15,0.97) 0%, rgba(8,10,15,0) 100%);
    }
    .nav-logo {
      display: flex; align-items: center; gap: 10px;
      text-decoration: none;
      font-family: 'Cinzel', serif;
      font-size: 14px;
      letter-spacing: 0.12em;
      color: var(--miraclite);
    }
    .nav-links { display: flex; gap: 32px; list-style: none; }
    .nav-links a {
      font-family: 'Cinzel', serif;
      font-size: 10px;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: rgba(240,238,252,0.5);
      text-decoration: none;
      transition: color 0.2s;
    }
    .nav-links a:hover, .nav-links a.active { color: var(--miraclite); }

    /* Shared */
    .container { max-width: 1100px; margin: 0 auto; padding: 0 60px; }
    .section-label {
      font-family: 'Cinzel', serif;
      font-size: 9px;
      letter-spacing: 0.3em;
      text-transform: uppercase;
      color: var(--miraclite);
      opacity: 0.75;
      margin-bottom: 10px;
    }
    .section-title {
      font-family: 'Cinzel', serif;
      font-size: clamp(26px, 3vw, 40px);
      font-weight: 600;
      color: var(--parchment);
      margin-bottom: 48px;
      line-height: 1.15;
    }
    .rule {
      display: flex; align-items: center; gap: 18px;
      margin: 0 0 72px;
    }
    .rule::before, .rule::after {
      content: ''; flex: 1; height: 1px;
      background: rgba(192,184,232,0.15);
    }
    .rule-gem { color: var(--miraclite); font-size: 11px; opacity: 0.5; }

    .btn-opal {
      font-family: 'Cinzel', serif;
      font-size: 10px;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      padding: 13px 30px;
      background: var(--miraclite);
      color: var(--ink);
      border: none;
      text-decoration: none;
      display: inline-block;
      cursor: pointer;
      transition: background 0.2s, transform 0.15s;
    }
    .btn-opal:hover { background: #d4cef4; transform: translateY(-1px); }
    .btn-ghost {
      font-family: 'Cinzel', serif;
      font-size: 10px;
      letter-spacing: 0.2em;
      text-transform: uppercase;
      padding: 12px 30px;
      background: transparent;
      color: var(--parchment);
      border: 1px solid rgba(240,238,252,0.22);
      text-decoration: none;
      display: inline-block;
      cursor: pointer;
      transition: border-color 0.2s, color 0.2s;
    }
    .btn-ghost:hover { border-color: var(--miraclite); color: var(--miraclite); }

    .fade-up { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
    .fade-up.visible { opacity: 1; transform: translateY(0); }

    /* ══ HERO ══════════════════════════════════════════════ */
    .hero {
      position: relative;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      justify-content: flex-end;
      padding: 0 60px 100px;
      z-index: 1;
      overflow: hidden;
    }

    /* Fear armor glow — smoldering ember from below left */
    .hero-glow-fear {
      position: absolute;
      bottom: -80px; left: 5%;
      width: 600px; height: 400px;
      background: radial-gradient(ellipse at center, rgba(80,40,140,0.22) 0%, rgba(40,20,80,0.1) 45%, transparent 70%);
      pointer-events: none;
      animation: fearPulse 5s ease-in-out infinite;
    }
    @keyframes fearPulse {
      0%,100% { transform: scale(1);    opacity: 0.7; }
      50%      { transform: scale(1.08); opacity: 1; }
    }

    /* Miraclite shimmer glow — top right */
    .hero-glow-opal {
      position: absolute;
      top: 10%; right: -5%;
      width: 500px; height: 500px;
      background: radial-gradient(ellipse at center,
        rgba(168,196,224,0.07) 0%,
        rgba(184,168,216,0.05) 35%,
        transparent 65%);
      pointer-events: none;
      animation: opalPulse 7s ease-in-out infinite;
    }
    @keyframes opalPulse {
      0%,100% { opacity: 0.6; transform: scale(1) rotate(0deg); }
      50%      { opacity: 1;   transform: scale(1.06) rotate(3deg); }
    }

    /* Draft badge */
    .draft-badge {
      position: absolute;
      top: 110px; right: 60px;
      display: flex; flex-direction: column;
      align-items: center; gap: 6px;
    }
    .draft-ring { width: 88px; height: 88px; position: relative; }
    .draft-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
    .draft-ring-label {
      position: absolute; inset: 0;
      display: flex; flex-direction: column;
      align-items: center; justify-content: center;
    }
    .draft-num {
      font-family: 'Cinzel', serif;
      font-size: 22px; font-weight: 700;
      color: var(--miraclite); line-height: 1;
    }
    .draft-word {
      font-family: 'Cinzel', serif;
      font-size: 8px; letter-spacing: 0.14em;
      color: rgba(192,184,232,0.55); text-transform: uppercase;
    }
    .draft-caption {
      font-family: 'Cinzel', serif;
      font-size: 8px; letter-spacing: 0.16em;
      color: rgba(240,238,252,0.28); text-transform: uppercase;
    }

    .hero-eyebrow {
      font-family: 'Cinzel', serif;
      font-size: 9px; letter-spacing: 0.3em;
      text-transform: uppercase;
      color: var(--miraclite);
      margin-bottom: 20px;
      display: flex; align-items: center; gap: 14px;
    }
    .hero-eyebrow::before {
      content: '';
      width: 28px; height: 1px;
      background: var(--miraclite); opacity: 0.45;
    }
    .hero-title {
      font-family: 'Cinzel', serif;
      font-size: clamp(48px, 8vw, 110px);
      font-weight: 700;
      line-height: 0.92;
      color: var(--parchment);
      margin-bottom: 32px;
      text-wrap: balance;
    }
    .hero-title .title-dim {
      display: block;
      color: var(--miraclite);
      font-size: 0.48em;
      letter-spacing: 0.22em;
      font-weight: 400;
      margin-bottom: 4px;
      opacity: 0.8;
    }
    .hero-tagline {
      font-size: 20px;
      font-style: italic;
      color: rgba(240,238,252,0.62);
      max-width: 540px;
      margin-bottom: 12px;
      line-height: 1.6;
    }
    .hero-sub {
      font-family: 'Cinzel', serif;
      font-size: 9px; letter-spacing: 0.2em;
      color: rgba(240,238,252,0.28);
      text-transform: uppercase;
    }

    /* ══ HOOK ══════════════════════════════════════════════ */
    .hook-section { position: relative; z-index: 1; padding: 0 0 80px; }
    .hook-inner { max-width: 780px; margin: 0 auto; padding: 0 60px; }
    .hook-chapter {
      font-family: 'Cinzel', serif;
      font-size: 9px; letter-spacing: 0.3em;
      text-transform: uppercase;
      color: var(--miraclite); opacity: 0.6;
      margin-bottom: 28px; text-align: center;
    }
    .hook-text {
      font-size: 19px; line-height: 1.85;
      color: rgba(240,238,252,0.8);
      font-style: italic; text-align: center;
      position: relative;
    }
    .hook-text::before {
      content: '\201C';
      font-size: 80px; color: var(--miraclite);
      opacity: 0.15;
      position: absolute; top: -30px; left: -20px;
      font-family: 'EB Garamond', serif; line-height: 1;
    }

    /* ══ WORLD — three peoples ══════════════════════════════ */
    .world-section {
      position: relative; z-index: 1;
      padding: 80px 0;
      background: rgba(8,10,20,0.6);
    }
    .peoples-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 1px;
      background: rgba(192,184,232,0.08);
      border: 1px solid rgba(192,184,232,0.08);
    }
    .people-card {
      background: var(--ink-mid);
      padding: 40px 32px 36px;
      display: flex; flex-direction: column; gap: 14px;
      transition: background 0.25s;
    }
    .people-card:hover { background: var(--ink-lift); }
    .people-icon { width: 48px; height: 48px; margin-bottom: 4px; }
    .people-name {
      font-family: 'Cinzel', serif;
      font-size: 16px; font-weight: 600;
      color: var(--parchment); letter-spacing: 0.05em;
    }
    .people-sub {
      font-family: 'Cinzel', serif;
      font-size: 9px; letter-spacing: 0.16em;
      text-transform: uppercase; opacity: 0.5;
    }
    .people-desc {
      font-size: 15px;
      color: rgba(240,238,252,0.55);
      line-height: 1.65; flex: 1;
    }
    .people-tag {
      font-family: 'Cinzel', serif;
      font-size: 8px; letter-spacing: 0.18em;
      text-transform: uppercase;
      padding: 5px 10px;
      border: 1px solid;
      display: inline-block; align-self: flex-start;
    }

    /* ══ MIRACLITE + FEAR ARMOR — dual magic ════════════════ */
    .magic-section { position: relative; z-index: 1; padding: 80px 0; }
    .magic-split {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2px;
      background: rgba(192,184,232,0.06);
      border: 1px solid rgba(192,184,232,0.06);
    }
    .magic-half {
      padding: 52px 48px;
      display: flex; flex-direction: column; gap: 20px;
    }
    .magic-half.miraclite {
      background: rgba(168,196,224,0.04);
    }
    .magic-half.fear-armor {
      background: rgba(20,10,40,0.5);
      border-left: 1px solid rgba(80,40,140,0.2);
    }
    .magic-icon { width: 56px; height: 56px; margin-bottom: 8px; }
    .magic-name {
      font-family: 'Cinzel', serif;
      font-size: 22px; font-weight: 600;
      color: var(--parchment); line-height: 1.1;
    }
    .magic-tag {
      font-family: 'Cinzel', serif;
      font-size: 9px; letter-spacing: 0.2em;
      text-transform: uppercase;
      padding: 5px 12px; border: 1px solid;
      display: inline-block; align-self: flex-start;
    }
    .miraclite .magic-tag { color: var(--opal-1); border-color: rgba(168,196,224,0.3); }
    .fear-armor .magic-tag { color: #9060c0; border-color: rgba(144,96,192,0.3); }
    .magic-desc {
      font-size: 16px;
      color: rgba(240,238,252,0.6); line-height: 1.75;
    }
    .magic-quote {
      font-style: italic; font-size: 15px;
      color: rgba(240,238,252,0.38);
      border-top: 1px solid rgba(240,238,252,0.07);
      padding-top: 16px; line-height: 1.6;
    }
    .magic-list {
      display: flex; flex-direction: column; gap: 10px;
      list-style: none;
    }
    .magic-list li {
      font-size: 15px;
      color: rgba(240,238,252,0.55);
      display: flex; gap: 12px; align-items: baseline;
    }
    .magic-list li::before {
      content: '—';
      color: var(--miraclite);
      opacity: 0.5;
      font-size: 12px;
      flex-shrink: 0;
    }
    .fear-armor .magic-list li::before { color: #9060c0; }

    /* ══ KYNESTHETICS — the emotional magic ════════════════ */
    .kyn-section {
      position: relative; z-index: 1;
      padding: 80px 0;
      background: rgba(8,10,20,0.6);
    }
    .kyn-inner {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px; align-items: center;
    }
    .kyn-visual {
      display: flex; flex-direction: column;
      align-items: center; gap: 28px;
    }
    /* Emotion color swatches */
    .emotion-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px; width: 100%;
    }
    .emotion-swatch {
      padding: 18px 14px;
      border-radius: 2px;
      display: flex; flex-direction: column; gap: 6px;
      background: rgba(240,238,252,0.03);
      border: 1px solid rgba(240,238,252,0.07);
      transition: border-color 0.2s;
    }
    .emotion-swatch:hover { border-color: rgba(192,184,232,0.2); }
    .emotion-dot {
      width: 12px; height: 12px;
      border-radius: 50%;
      animation: emotionPulse 2.5s ease-in-out infinite;
    }
    @keyframes emotionPulse {
      0%,100% { opacity: 0.6; transform: scale(0.9); }
      50%      { opacity: 1;   transform: scale(1.1); }
    }
    .emotion-name {
      font-family: 'Cinzel', serif;
      font-size: 9px; letter-spacing: 0.14em;
      text-transform: uppercase;
      color: rgba(240,238,252,0.55);
    }
    .kyn-caption {
      font-family: 'Cinzel', serif;
      font-size: 9px; letter-spacing: 0.2em;
      text-transform: uppercase;
      color: rgba(192,184,232,0.4);
      text-align: center;
    }
    .kyn-text .section-title { margin-bottom: 20px; }
    .kyn-body {
      font-size: 17px;
      color: rgba(240,238,252,0.6); line-height: 1.78;
      margin-bottom: 28px;
    }
    .kyn-pull {
      font-style: italic; font-size: 18px;
      color: rgba(240,238,252,0.8);
      border-left: 2px solid var(--miraclite);
      padding-left: 20px; line-height: 1.65;
      opacity: 0.85;
    }

    /* ══ CHARACTERS ════════════════════════════════════════ */
    .characters-section { position: relative; z-index: 1; padding: 80px 0; }
    .pov-label {
      font-family: 'Cinzel', serif;
      font-size: 9px; letter-spacing: 0.28em;
      text-transform: uppercase;
      color: rgba(240,238,252,0.3);
      text-align: center;
      margin-bottom: 40px;
    }
    .characters-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 2px;
      background: rgba(192,184,232,0.05);
      border: 1px solid rgba(192,184,232,0.05);
    }
    .char-card {
      background: var(--ink-mid);
      padding: 36px 28px;
      display: flex; flex-direction: column; gap: 12px;
      transition: background 0.2s;
      position: relative;
    }
    .char-card:hover { background: var(--ink-lift); }
    .pov-tag {
      position: absolute;
      top: 20px; right: 20px;
      font-family: 'Cinzel', serif;
      font-size: 8px; letter-spacing: 0.18em;
      text-transform: uppercase;
      color: rgba(192,184,232,0.35);
    }
    .char-initial {
      width: 52px; height: 52px;
      border-radius: 50%; border: 1px solid;
      display: flex; align-items: center; justify-content: center;
      font-family: 'Cinzel', serif;
      font-size: 20px; font-weight: 700;
      margin-bottom: 6px;
    }
    .char-name {
      font-family: 'Cinzel', serif;
      font-size: 16px; font-weight: 600;
      color: var(--parchment);
    }
    .char-role {
      font-family: 'Cinzel', serif;
      font-size: 8px; letter-spacing: 0.18em;
      text-transform: uppercase; opacity: 0.45;
    }
    .char-desc {
      font-size: 15px;
      color: rgba(240,238,252,0.52); line-height: 1.65; flex: 1;
    }
    .char-perspective {
      font-size: 13px;
      font-style: italic;
      color: rgba(240,238,252,0.35);
      border-top: 1px solid rgba(240,238,252,0.07);
      padding-top: 12px;
      line-height: 1.5;
    }

    /* ══ PASSAGE QUOTE ═════════════════════════════════════ */
    .passage-section {
      position: relative; z-index: 1;
      padding: 80px 0;
      background: rgba(8,10,20,0.6);
    }
    .passage-inner { max-width: 720px; margin: 0 auto; padding: 0 60px; }
    .passage-card {
      background: rgba(20,15,40,0.7);
      border-left: 2px solid var(--miraclite);
      padding: 36px 44px;
      position: relative;
    }
    /* Opal shimmer dots */
    .opal-dots {
      position: absolute; top: 20px; right: 24px;
      display: flex; gap: 5px; align-items: center;
    }
    .o-dot {
      width: 5px; height: 5px; border-radius: 50%;
      animation: oDotPulse 2s ease-in-out infinite;
    }
    .o-dot:nth-child(1) { background: var(--opal-1); animation-delay: 0s; }
    .o-dot:nth-child(2) { background: var(--opal-2); animation-delay: 0.35s; }
    .o-dot:nth-child(3) { background: var(--opal-3); animation-delay: 0.7s; }
    .o-dot:nth-child(4) { background: var(--opal-4); animation-delay: 1.05s; }
    @keyframes oDotPulse {
      0%,100% { opacity: 0.2; transform: scale(0.8); }
      50%      { opacity: 1;   transform: scale(1.3); }
    }
    .passage-card blockquote {
      font-style: italic; font-size: 19px;
      color: rgba(240,238,252,0.82); line-height: 1.85;
    }
    .passage-card cite {
      display: block; margin-top: 18px;
      font-style: normal;
      font-family: 'Cinzel', serif;
      font-size: 9px; letter-spacing: 0.22em;
      color: var(--miraclite); opacity: 0.7;
    }

    /* ══ AUTHOR NOTE ════════════════════════════════════════ */
    .author-section { position: relative; z-index: 1; padding: 80px 0; }
    .author-inner {
      display: grid;
      grid-template-columns: 200px 1fr;
      gap: 64px; align-items: flex-start;
      max-width: 900px;
    }
    .author-photo-wrap { position: relative; }
    .author-photo {
      width: 100%; display: block;
      filter: sepia(0.15) contrast(1.05);
      mix-blend-mode: luminosity; opacity: 0.82;
    }
    .author-photo-frame {
      position: absolute; inset: -8px;
      border: 1px solid rgba(192,184,232,0.18);
      pointer-events: none;
    }
    .author-note-label {
      font-family: 'Cinzel', serif;
      font-size: 9px; letter-spacing: 0.3em;
      text-transform: uppercase;
      color: var(--miraclite); opacity: 0.7;
      margin-bottom: 16px;
    }
    .author-note-title {
      font-family: 'Cinzel', serif;
      font-size: 26px; font-weight: 600;
      color: var(--parchment); margin-bottom: 20px; line-height: 1.2;
    }
    .author-note-body {
      font-size: 17px;
      color: rgba(240,238,252,0.6); line-height: 1.8;
    }
    .note-divider{display:flex;align-items:center;gap:14px;margin:28px 0}.nd-line{flex:1;height:1px;background:linear-gradient(90deg,transparent,rgba(192,184,232,0.45))}.nd-line:last-child{background:linear-gradient(90deg,rgba(192,184,232,0.45),transparent)}.nd-ring{width:22px;height:22px;border:1px solid rgba(192,184,232,0.6);border-radius:50%;display:grid;place-items:center;transform:rotate(45deg)}.nd-core{width:7px;height:7px;background:var(--miraclite);opacity:0.8}

    /* ══ CTA ════════════════════════════════════════════════ */
    .cta-section {
      position: relative; z-index: 1;
      padding: 80px 0 120px;
      text-align: center;
      background: rgba(8,10,20,0.6);
    }
    .cta-title {
      font-family: 'Cinzel', serif;
      font-size: clamp(28px, 4vw, 52px);
      font-weight: 700; color: var(--parchment);
      margin-bottom: 16px; line-height: 1.1;
    }
    .cta-title em {
      color: var(--miraclite);
      font-style: normal;
    }
    .cta-sub {
      font-size: 17px; font-style: italic;
      color: rgba(240,238,252,0.42); margin-bottom: 44px;
    }

    /* ══ FOOTER ═════════════════════════════════════════════ */
    footer {
      position: relative; z-index: 1;
      padding: 40px 60px;
      border-top: 1px solid rgba(240,238,252,0.06);
      display: flex; justify-content: space-between; align-items: center;
    }
    .footer-logo {
      font-family: 'Cinzel', serif;
      font-size: 14px; color: var(--miraclite);
    }
    .footer-links { display: flex; gap: 28px; list-style: none; }
    .footer-links a {
      font-family: 'Cinzel', serif;
      font-size: 9px; letter-spacing: 0.16em;
      text-transform: uppercase;
      color: rgba(240,238,252,0.32);
      text-decoration: none; transition: color 0.2s;
    }
    .footer-links a:hover { color: var(--miraclite); }

    /* ══ TWEAKS ═════════════════════════════════════════════ */
    #tweak-panel {
      display: none;
      position: fixed; right: 16px; bottom: 16px;
      z-index: 2000; width: 260px;
      background: rgba(12,10,24,0.96);
      border: 1px solid rgba(192,184,232,0.22);
      border-radius: 8px; padding: 16px;
      font-family: 'Cinzel', serif; font-size: 11px;
      color: var(--parchment);
      backdrop-filter: blur(12px);
    }
    #tweak-panel.visible { display: block; }
    .tweak-head {
      font-size: 11px; letter-spacing: 0.15em;
      text-transform: uppercase; color: var(--miraclite);
      margin-bottom: 14px;
      display: flex; justify-content: space-between; align-items: center;
    }
    .tweak-x { background: none; border: none; color: rgba(240,238,252,0.35); cursor: pointer; font-size: 15px; }
    .tweak-row { margin-bottom: 11px; }
    .tweak-lbl { display: flex; justify-content: space-between; margin-bottom: 4px; font-size: 9px; letter-spacing: 0.1em; color: rgba(240,238,252,0.55); }
    .tweak-sl { width: 100%; accent-color: var(--miraclite); }
    .tweak-tgl { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 9px; letter-spacing: 0.1em; color: rgba(240,238,252,0.55); }
    .tweak-tgl input { accent-color: var(--miraclite); }
    .tweak-sep { height: 1px; background: rgba(240,238,252,0.07); margin: 14px 0 12px; }

    /* Responsive */
    @media (max-width: 900px) {
      nav { padding: 18px 24px; }
      .nav-links { display: none; }
      .hero { padding: 0 24px 80px; }
      .container { padding: 0 24px; }
      .peoples-grid { grid-template-columns: 1fr; }
      .magic-split { grid-template-columns: 1fr; }
      .characters-grid { grid-template-columns: 1fr 1fr; }
      .kyn-inner { grid-template-columns: 1fr; }
      .author-inner { grid-template-columns: 1fr; }
      .author-photo-wrap { max-width: 180px; }
      footer { flex-direction: column; gap: 20px; text-align: center; }
      .draft-badge { display: none; }
      .hook-inner, .passage-inner { padding: 0 24px; }
    }
