/* ============================================================
   STORYROOMS.ORG — Reading Rooms
   Editorial Ink & Paper Theme · Cool Silver Palette
   ============================================================ */

/* --- Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400;1,600&family=Montserrat:wght@300;400;500;600&family=EB+Garamond:ital,wght@0,400;0,500;1,400;1,500&display=swap');

/* --- Variables --- */
:root {
  --navy:         #080c14;
  --deep:         #0d1220;
  --surface:      #131a28;
  --surface-2:    #1a2236;
  --surface-3:    #1f2840;
  --border:       rgba(180,200,230,0.09);
  --border-soft:  rgba(180,200,230,0.05);
  --silver:       #7a9ab8;
  --silver-light: #a8c4dc;
  --silver-dim:   rgba(122,154,184,0.22);
  --text-primary: #d4e0ee;
  --text-muted:   rgba(212,224,238,0.50);
  --text-faint:   rgba(212,224,238,0.22);
  --white:        #ffffff;
  --radius:       3px;
  --radius-lg:    6px;
  --transition:   0.35s cubic-bezier(0.4, 0, 0.2, 1);

  /* Reader-specific */
  --reader-bg:    #0e1420;
  --reader-text:  #cdd8e8;
  --reader-width: min(680px, 90vw);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--navy);
  color: var(--text-primary);
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* --- Typography --- */
.serif { font-family: 'Cormorant Garamond', Georgia, serif; }

h1, h2, h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 300;
  letter-spacing: 0.04em;
  line-height: 1.2;
}

a { color: inherit; text-decoration: none; }

/* --- Site Header --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 24px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to bottom, rgba(8,12,20,0.97) 0%, transparent 100%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}

.site-header.scrolled {
  border-bottom-color: var(--border);
}

.site-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 12px;
}

.site-logo-mark {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.site-logo-wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.site-logo img {
  height: 44px;
  width: auto;
  display: block;
}

.site-nav {
  display: flex;
  gap: 32px;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.site-nav a { transition: color var(--transition); }
.site-nav a:hover { color: var(--silver-light); }

/* --- Silver Divider --- */
.silver-rule {
  width: 48px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--silver), transparent);
  margin: 0 auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 14px 32px;
  border: 1px solid var(--silver);
  background: transparent;
  color: var(--silver);
  cursor: pointer;
  transition: all var(--transition);
  border-radius: var(--radius);
}

.btn:hover {
  background: var(--silver);
  color: var(--navy);
}

.btn-solid {
  background: var(--silver);
  color: var(--navy);
}

.btn-solid:hover {
  background: var(--silver-light);
  border-color: var(--silver-light);
  color: var(--navy);
}

/* ============================================================
   HOME PAGE
   ============================================================ */

.home-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

/* Subtle grid texture overlay */
.home-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 50% 40%, rgba(122,154,184,0.05) 0%, transparent 70%),
    radial-gradient(ellipse 80% 60% at 50% 90%, rgba(8,12,20,0.9) 0%, transparent 100%);
  pointer-events: none;
}

/* Fine crosshatch texture */
.home-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(180,200,230,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(180,200,230,0.015) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.home-hero-eyebrow {
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.home-hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-style: italic;
  color: var(--text-primary);
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.home-hero h1 em {
  font-style: normal;
  color: var(--silver-light);
}

.home-hero-sub {
  font-size: clamp(0.75rem, 2vw, 0.9rem);
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-top: 16px;
  margin-bottom: 48px;
  max-width: 480px;
  line-height: 1.85;
  position: relative;
  z-index: 1;
}

/* Suite Grid */
.suite-grid-section {
  padding: 80px 48px 120px;
  max-width: 1200px;
  margin: 0 auto;
}

.suite-grid-section .section-title {
  text-align: center;
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 56px;
}

.suite-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2px;
}

/* Book-cover portrait ratio (2:3) */
.suite-card {
  position: relative;
  aspect-ratio: 2/3;
  overflow: hidden;
  cursor: pointer;
  display: block;
  background: var(--surface);
}

.suite-card-art {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), filter 0.5s ease;
  filter: brightness(0.5) saturate(0.6);
}

.suite-card:hover .suite-card-art {
  transform: scale(1.04);
  filter: brightness(0.65) saturate(0.8);
}

.suite-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,12,20,0.94) 0%, rgba(8,12,20,0.3) 50%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px 28px;
  transition: background var(--transition);
}

.suite-card:hover .suite-card-overlay {
  background: linear-gradient(to top, rgba(8,12,20,0.97) 0%, rgba(8,12,20,0.55) 60%, rgba(8,12,20,0.15) 100%);
}

/* Subtle spine line at left edge */
.suite-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--silver-dim), transparent);
  z-index: 2;
  opacity: 0;
  transition: opacity var(--transition);
}

.suite-card:hover::before {
  opacity: 1;
}

.suite-card-label {
  font-size: 0.6rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 8px;
}

.suite-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 400;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 8px;
}

.suite-card-author {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.suite-card-price {
  font-size: 0.75rem;
  color: var(--silver);
  letter-spacing: 0.1em;
}

.suite-card-enter {
  margin-top: 16px;
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-faint);
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(6px);
  transition: all var(--transition);
}

.suite-card-enter::after {
  content: '→';
  color: var(--silver);
}

.suite-card:hover .suite-card-enter {
  opacity: 1;
  transform: translateY(0);
}

/* Site Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px;
  text-align: center;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--text-faint);
}

.site-footer .footer-logo {
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}

.footer-wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.4;
}

/* ============================================================
   SUITE PAGE — READING SUITE
   ============================================================ */

/* Ambient Background */
.suite-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.suite-bg-art {
  position: absolute;
  inset: -10%;
  width: 120%;
  height: 120%;
  object-fit: cover;
  filter: blur(90px) brightness(0.12) saturate(0.4);
  transition: filter 2s ease;
}

.suite-bg-art.reading {
  filter: blur(70px) brightness(0.18) saturate(0.5);
}

.suite-bg-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 50%, rgba(8,12,20,0.2) 0%, var(--navy) 80%);
}

/* Suite Layout */
.suite-layout {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 110px 24px 80px;
}

/* Book Cover — portrait 2:3 ratio */
.suite-cover {
  position: relative;
  width: min(200px, 48vw);
  aspect-ratio: 2/3;
  margin-bottom: 36px;
  flex-shrink: 0;
}

.suite-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow:
    0 0 0 1px rgba(122,154,184,0.12),
    6px 6px 0 rgba(8,12,20,0.8),
    0 24px 60px rgba(0,0,0,0.75),
    0 0 40px rgba(122,154,184,0.04);
  transition: box-shadow 1s ease, transform 0.8s ease;
}

.suite-cover-img.reading {
  box-shadow:
    0 0 0 1px rgba(122,154,184,0.25),
    4px 4px 0 rgba(8,12,20,0.8),
    0 24px 60px rgba(0,0,0,0.75),
    0 0 60px rgba(122,154,184,0.10);
}

/* Spine effect */
.suite-cover::after {
  content: '';
  position: absolute;
  top: 2px;
  left: -4px;
  width: 6px;
  height: calc(100% - 4px);
  background: linear-gradient(to right, rgba(8,12,20,0.9), rgba(30,40,60,0.7));
  border-radius: var(--radius) 0 0 var(--radius);
  transform: perspective(200px) rotateY(12deg);
  transform-origin: right center;
}

/* Suite Meta */
.suite-meta {
  text-align: center;
  margin-bottom: 40px;
  max-width: 480px;
}

.suite-meta-label {
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 12px;
}

.suite-meta-title {
  font-size: clamp(1.8rem, 5vw, 3rem);
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.15;
  margin-bottom: 8px;
}

.suite-meta-author {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.suite-meta-info {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--text-faint);
}

/* ---- THE READER BUTTON ---- */
.reader-btn-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
}

.reader-btn-ring {
  position: absolute;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  border: 1px solid var(--silver-dim);
  animation: ring-pulse 3.5s ease-in-out infinite;
  pointer-events: none;
}

.reader-btn-ring:nth-child(2) { animation-delay: 1.15s; }
.reader-btn-ring:nth-child(3) { animation-delay: 2.3s; }

@keyframes ring-pulse {
  0%   { transform: scale(0.85); opacity: 0.55; }
  50%  { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(0.85); opacity: 0.55; }
}

.reader-btn {
  position: relative;
  z-index: 1;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 1.5px solid var(--silver);
  background: rgba(122,154,184,0.06);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  outline: none;
  backdrop-filter: blur(4px);
}

.reader-btn:hover {
  background: rgba(122,154,184,0.14);
  box-shadow: 0 0 30px rgba(122,154,184,0.18);
  transform: scale(1.04);
}

.reader-btn:active { transform: scale(0.97); }

.reader-btn svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--silver);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}

/* Toggle icons */
.icon-open  { display: block; }
.icon-close { display: none; }

.reader-btn.is-reading .icon-open  { display: none; }
.reader-btn.is-reading .icon-close { display: block; }

/* Button label */
.reader-btn-label {
  position: absolute;
  bottom: -28px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-faint);
  transition: color var(--transition);
  pointer-events: none;
}

.reader-btn-wrap:hover .reader-btn-label {
  color: var(--text-muted);
}

/* ---- INLINE READER PANEL ---- */
.reader-panel {
  width: var(--reader-width);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.9s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s ease;
  opacity: 0;
}

.reader-panel.open {
  max-height: 75vh;
  opacity: 1;
}

.reader-panel-inner {
  background: var(--reader-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

/* Reading progress line at top */
.reader-progress-bar {
  height: 2px;
  background: var(--border-soft);
  position: relative;
}

.reader-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(to right, var(--silver-dim), var(--silver));
  transition: width 0.1s linear;
  border-radius: 2px;
}

/* Reader toolbar */
.reader-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.reader-toolbar-left {
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
  display: flex;
  align-items: center;
  gap: 12px;
}

.reader-toolbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.reader-font-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  border-radius: var(--radius);
  transition: all 0.2s ease;
}

.reader-font-btn:hover {
  border-color: var(--silver-dim);
  color: var(--silver-light);
}

.reader-pct {
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  color: var(--silver);
  min-width: 36px;
  text-align: right;
}

/* The scrollable text area */
.reader-scroll {
  height: min(65vh, 500px);
  overflow-y: auto;
  padding: 48px 56px;
  scroll-behavior: smooth;
}

/* Custom scrollbar */
.reader-scroll::-webkit-scrollbar {
  width: 4px;
}
.reader-scroll::-webkit-scrollbar-track {
  background: transparent;
}
.reader-scroll::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 2px;
}
.reader-scroll::-webkit-scrollbar-thumb:hover {
  background: var(--silver-dim);
}

/* Typography inside reader */
.reader-text {
  font-family: 'EB Garamond', 'Cormorant Garamond', Georgia, serif;
  font-size: var(--reader-font-size, 1.08rem);
  line-height: 1.95;
  color: var(--reader-text);
  letter-spacing: 0.01em;
}

.reader-text h1,
.reader-text h2,
.reader-text h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  margin: 2.5em 0 1em;
}

.reader-text h1 { font-size: 1.8em; font-style: italic; }
.reader-text h2 { font-size: 1.35em; }
.reader-text h3 { font-size: 1.1em; letter-spacing: 0.12em; text-transform: uppercase; font-family: 'Montserrat', sans-serif; font-weight: 400; }

.reader-text p {
  margin-bottom: 1.6em;
  text-indent: 1.5em;
}

.reader-text p:first-of-type,
.reader-text p.no-indent {
  text-indent: 0;
}

/* Drop cap for first paragraph */
.reader-text p.drop-cap::first-letter {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.4em;
  font-weight: 600;
  line-height: 0.82;
  float: left;
  margin-right: 0.08em;
  margin-top: 0.04em;
  color: var(--silver-light);
  font-style: italic;
}

.reader-text em { font-style: italic; color: var(--silver-light); }
.reader-text strong { font-weight: 500; color: var(--text-primary); }

.reader-text hr {
  border: none;
  text-align: center;
  margin: 2.5em 0;
  color: var(--text-faint);
  letter-spacing: 0.4em;
}

.reader-text hr::before { content: '· · ·'; }

.reader-text blockquote {
  border-left: 1px solid var(--silver-dim);
  margin: 2em 0;
  padding: 0.5em 1.5em;
  font-style: italic;
  color: var(--text-muted);
}

/* Chapter heading ornament */
.reader-chapter {
  text-align: center;
  margin-bottom: 3em;
}

.reader-chapter-number {
  font-size: 0.6rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--silver);
  display: block;
  margin-bottom: 12px;
}

.reader-chapter-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-style: italic;
  font-weight: 300;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.reader-chapter-ornament {
  color: var(--silver-dim);
  font-size: 1.2rem;
  letter-spacing: 0.2em;
  display: block;
  margin-top: 16px;
}

/* Bottom fade in reader */
.reader-panel-inner::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, var(--reader-bg), transparent);
  pointer-events: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

/* ============================================================
   PAYMENT GATE OVERLAY
   ============================================================ */

.gate-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(8,12,20,0.93);
  backdrop-filter: blur(18px);
  padding: 24px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.gate-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.gate-card {
  width: min(460px, 100%);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 52px 44px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Subtle crosshatch inside gate card */
.gate-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(180,200,230,0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(180,200,230,0.012) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}

.gate-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--silver), transparent);
}

.gate-card-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  opacity: 0.45;
  position: relative;
  z-index: 1;
}

.gate-card-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--silver);
  stroke-width: 1;
}

.gate-eyebrow {
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.gate-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-style: italic;
  line-height: 1.2;
  margin-bottom: 8px;
  font-weight: 300;
  position: relative;
  z-index: 1;
}

.gate-author {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.gate-divider {
  width: 48px;
  height: 1px;
  background: var(--border);
  margin: 0 auto 28px;
  position: relative;
  z-index: 1;
}

.gate-description {
  font-size: 0.8rem;
  line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 1;
}

.gate-price-block {
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.gate-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.8rem;
  font-weight: 300;
  color: var(--text-primary);
  line-height: 1;
}

.gate-price sup {
  font-size: 1.2rem;
  vertical-align: super;
  color: var(--silver);
}

.gate-price-note {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  margin-top: 6px;
}

.gate-btn {
  width: 100%;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 0.72rem;
  padding: 16px 32px;
  position: relative;
  z-index: 1;
}

.gate-trust {
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.gate-trust svg {
  width: 12px;
  height: 12px;
  fill: var(--text-faint);
}

.gate-demo-link {
  margin-top: 20px;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  color: var(--text-faint);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  position: relative;
  z-index: 1;
}

.gate-demo-link:hover { color: var(--text-muted); }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
  .site-header { padding: 20px 24px; }
  .site-nav { display: none; }
  .suite-grid-section { padding: 60px 16px 80px; }
  .gate-card { padding: 40px 28px; }
  .reader-scroll { padding: 32px 28px; }
  .suite-cover { margin-bottom: 28px; }
}

@media (max-width: 480px) {
  .reader-btn { width: 64px; height: 64px; }
  .reader-btn-ring { width: 84px; height: 84px; }
}

/* ============================================================
   ANIMATIONS & UTILITIES
   ============================================================ */

.fade-in {
  animation: fade-in 0.8s ease forwards;
}

@keyframes fade-in {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.stagger-1 { animation-delay: 0.1s;  opacity: 0; }
.stagger-2 { animation-delay: 0.25s; opacity: 0; }
.stagger-3 { animation-delay: 0.4s;  opacity: 0; }
.stagger-4 { animation-delay: 0.55s; opacity: 0; }
