/* ==========================================================================
   CHOJU · Lebenscode · Design System
   Modern editorial UX — Apple/Google 2026 sensibility
   ========================================================================== */

:root {
  /* Palette */
  --ink:        #0e0e0e;
  --ink-soft:   #1a1a1a;
  --paper:      #f7f4ef;
  --paper-2:    #f1ede5;
  --cream:      #ede9e1;
  --gold:       #b8972a;
  --gold-lt:    #d4af5a;
  --sage:       #5a6b52;
  --sage-deep:  #2d4a3e;
  --sage-mist:  #b8d4c0;
  --rust:       #8c3a1e;
  --mist:       #c8cfc4;
  --line:       rgba(14, 14, 14, 0.08);
  --line-strong: rgba(14, 14, 14, 0.14);
  --muted:      #6b6b6b;
  --muted-2:    #444;

  /* Typography scale (fluid) */
  --fs-hero:    clamp(40px, 8vw, 88px);
  --fs-h1:      clamp(32px, 5vw, 56px);
  --fs-h2:      clamp(26px, 3.6vw, 40px);
  --fs-h3:      clamp(20px, 2.4vw, 26px);
  --fs-body:    15px;
  --fs-small:   13px;
  --fs-micro:   11px;

  /* Spacing scale (8pt) */
  --sp-1: 4px;
  --sp-2: 8px;
  --sp-3: 12px;
  --sp-4: 16px;
  --sp-5: 24px;
  --sp-6: 32px;
  --sp-7: 48px;
  --sp-8: 64px;
  --sp-9: 96px;
  --sp-10: 128px;

  /* Radii */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;
  --r-xl: 24px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 180ms;
  --dur-med:  340ms;
  --dur-slow: 600ms;

  /* Layout */
  --container: 1200px;
  --container-narrow: 880px;
  --nav-h: 64px;
}

/* ==========================================================================
   Reset & base
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'ss01', 'cv01', 'cv11';
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
::selection { background: var(--gold); color: var(--paper); }

/* Focus ring */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ==========================================================================
   Typography
   ========================================================================== */

.serif { font-family: 'Cormorant Garamond', 'Times New Roman', serif; font-weight: 300; }
.italic { font-style: italic; }

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--ink);
}
h1 { font-size: var(--fs-hero); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }

em { font-style: italic; color: var(--gold); }

.eyebrow {
  font-family: 'DM Sans', sans-serif;
  font-size: var(--fs-micro);
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.lede {
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 1.75;
  color: var(--muted-2);
  font-weight: 300;
}

/* ==========================================================================
   Layout primitives
   ========================================================================== */

.container        { width: 100%; max-width: var(--container);        margin-inline: auto; padding-inline: clamp(20px, 4vw, 48px); }
.container-narrow { width: 100%; max-width: var(--container-narrow); margin-inline: auto; padding-inline: clamp(20px, 4vw, 48px); }

.section { padding-block: clamp(28px, 5vw, 64px); }
.section-tight { padding-block: clamp(20px, 4vw, 44px); }

.rule { width: 48px; height: 1px; background: var(--gold); margin: var(--sp-5) 0; }
.rule-center { margin-inline: auto; }

/* ==========================================================================
   Navigation — sticky glass
   ========================================================================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 244, 239, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: background var(--dur-med) var(--ease), border-color var(--dur-med) var(--ease), padding var(--dur-med) var(--ease);
}

.nav.is-scrolled {
  background: rgba(247, 244, 239, 0.88);
  border-bottom-color: var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
  gap: var(--sp-5);
}

.nav-brand {
  display: flex;
  align-items: baseline;
  gap: var(--sp-2);
  font-family: 'Cormorant Garamond', serif;
  font-size: 19px;
  font-weight: 400;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.nav-brand strong { font-weight: 500; }
.nav-brand .nav-brand-sep { color: var(--gold); margin: 0 4px; }
.nav-brand .nav-brand-sub {
  font-family: 'DM Sans', sans-serif;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  font-size: 12.5px;
  letter-spacing: 0.04em;
  font-weight: 500;
  color: var(--muted-2);
  padding: 8px 12px;
  border-radius: var(--r-sm);
  transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
  white-space: nowrap;
}
.nav-links a:hover { color: var(--ink); background: rgba(14,14,14,0.04); }
.nav-links a.is-active { color: var(--ink); }
.nav-links a.is-active::after {
  content: '';
  display: inline-block;
  width: 4px; height: 4px;
  margin-left: 8px;
  border-radius: 50%;
  background: var(--gold);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 9px 16px;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease);
}
.nav-cta:hover { background: var(--gold); transform: translateY(-1px); }
.nav-cta svg { width: 12px; height: 12px; flex-shrink: 0; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: var(--r-sm);
  align-items: center;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  width: 20px; height: 1.5px;
  background: var(--ink);
  position: relative;
  transition: transform var(--dur-fast) var(--ease), opacity var(--dur-fast) var(--ease);
}
.nav-toggle span::before, .nav-toggle span::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  height: 1.5px;
  background: var(--ink);
  transition: transform var(--dur-fast) var(--ease);
}
.nav-toggle span::before { top: -6px; }
.nav-toggle span::after  { top:  6px; }

.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span::after  { transform: translateY(-6px) rotate(-45deg); }

/* Mobile drawer */
.nav-drawer {
  position: fixed;
  inset: var(--nav-h) 0 0 0;
  background: var(--paper);
  z-index: 99;
  padding: var(--sp-7) var(--sp-5) var(--sp-8);
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: transform var(--dur-med) var(--ease), opacity var(--dur-med) var(--ease);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  overflow-y: auto;
}
.nav-drawer.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.nav-drawer a {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 400;
  color: var(--ink);
}
.nav-drawer a .drawer-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--gold);
  font-weight: 500;
}
.nav-drawer .nav-cta {
  margin-top: var(--sp-5);
  align-self: flex-start;
  font-size: 14px;
  padding: 14px 24px;
  color: var(--paper);
  background: var(--ink);
  border-bottom: none;
  font-family: 'DM Sans', sans-serif;
}
.nav-drawer .nav-cta:hover { background: var(--gold); }

body.nav-open { overflow: hidden; }

@media (max-width: 1024px) {
  .nav-links, .nav .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* ==========================================================================
   Hero — landing
   ========================================================================== */

.hero {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  padding: clamp(72px, 12vw, 144px) 0 clamp(56px, 9vw, 96px);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 50% 110%, rgba(184,151,42,0.20) 0%, transparent 70%),
    radial-gradient(ellipse 40% 50% at 80% 0%, rgba(212,175,90,0.08) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.hero-inner { text-align: center; }
.hero .eyebrow { color: var(--gold); margin-bottom: var(--sp-4); }
.hero h1 {
  color: var(--paper);
  max-width: 18ch;
  margin-inline: auto;
}
.hero h1 em { color: var(--gold-lt); }
.hero-sub {
  max-width: 56ch;
  margin: var(--sp-5) auto 0;
  color: rgba(247, 244, 239, 0.72);
  font-size: clamp(14px, 1.4vw, 16px);
  line-height: 1.8;
  font-weight: 300;
}
.hero-meta {
  margin-top: var(--sp-7);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.hero-meta::before, .hero-meta::after {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   Module hero (for individual module pages)
   ========================================================================== */

.m-hero {
  padding: clamp(48px, 8vw, 96px) 0 clamp(16px, 3vw, 32px);
  background: var(--paper);
  position: relative;
}
.m-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-6);
  align-items: start;
}
.m-hero-meta {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-3);
}
.m-hero-meta .eyebrow { color: var(--gold); }
.m-hero-meta .page-ref {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}
.m-hero h1 {
  font-size: var(--fs-h1);
  margin-bottom: var(--sp-4);
}
.m-hero .lede { max-width: 60ch; }
.m-hero-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: var(--sp-5);
  transition: color var(--dur-fast) var(--ease), transform var(--dur-fast) var(--ease);
}
.m-hero-back:hover { color: var(--ink); transform: translateX(-2px); }
.m-hero-back svg { width: 12px; height: 12px; }

/* ==========================================================================
   Book quote
   ========================================================================== */

.quote {
  position: relative;
  margin: var(--sp-5) 0;
  padding: var(--sp-6);
  background: rgba(184, 151, 42, 0.05);
  border-left: 2px solid var(--gold);
  border-radius: 0 var(--r-md) var(--r-md) 0;
}
.m-body > .quote:first-child,
.m-body [data-reveal] > .quote:first-child { margin-top: 0; }
.quote::before {
  content: '\201C';
  position: absolute;
  top: -10px;
  left: 16px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 56px;
  line-height: 1;
  color: var(--gold);
  opacity: 0.5;
}
.quote p {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.5;
  color: var(--ink-soft);
  font-weight: 400;
}
.quote cite {
  display: block;
  margin-top: var(--sp-3);
  font-style: normal;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}

/* ==========================================================================
   Body content (within modules)
   ========================================================================== */

.prose {
  max-width: 60ch;
}
.prose p {
  margin-bottom: var(--sp-4);
  color: var(--muted-2);
  line-height: 1.8;
}
.prose p:last-child { margin-bottom: 0; }
.prose strong { color: var(--ink); font-weight: 500; }
.prose em { color: var(--sage); font-weight: 400; }

/* ==========================================================================
   Resource list
   ========================================================================== */

.resources {
  list-style: none;
  margin-top: var(--sp-5);
}
.resources li {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  padding: var(--sp-4) 0;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.resources li:first-child { border-top: none; padding-top: 0; }

.tag {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
  white-space: nowrap;
  margin-top: 2px;
}
.tag-choju    { background: var(--ink);  color: var(--gold); }
.tag-acten    { background: var(--sage); color: #fff; }
.tag-info     { background: var(--cream); color: var(--muted-2); border: 1px solid var(--line-strong); }
.tag-partner  { background: var(--rust); color: #fff; }
.tag-johannis { background: var(--sage-deep); color: var(--sage-mist); }

/* ==========================================================================
   QR panel (right column on module pages)
   ========================================================================== */

.qr-panel {
  position: sticky;
  top: calc(var(--nav-h) + 32px);
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  overflow: hidden;
  isolation: isolate;
}
.qr-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(184,151,42,0.12) 0%, transparent 70%);
  z-index: -1;
}
.qr-panel-label {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  text-align: center;
}
.qr-img {
  background: white;
  padding: 12px;
  border-radius: var(--r-md);
  margin: var(--sp-4) auto var(--sp-4);
  width: fit-content;
}
.qr-img img { width: 200px; height: 200px; }

.qr-panel .qr-cta {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 17px;
  line-height: 1.45;
  text-align: center;
  color: var(--paper);
  margin-bottom: var(--sp-3);
}
.qr-panel .qr-url {
  display: block;
  text-align: center;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.55);
  word-break: break-all;
  margin-bottom: var(--sp-4);
}
.qr-panel-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: var(--sp-3);
  text-align: center;
  font-size: 9.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}
.qr-panel-footer strong { color: var(--gold); font-weight: 600; }

/* sage variant (Modul 6) */
.qr-panel.qr-sage { background: #0e1a14; }
.qr-panel.qr-sage::before {
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(125,184,154,0.15) 0%, transparent 70%);
}
.qr-panel.qr-sage .qr-panel-label,
.qr-panel.qr-sage .qr-panel-footer strong { color: var(--sage-mist); }

/* ==========================================================================
   Module page — single-column editorial layout
   ========================================================================== */

.m-body {
  max-width: 68ch;
  margin-inline: auto;
  padding-block: clamp(16px, 3vw, 40px) clamp(32px, 6vw, 72px);
}

/* ==========================================================================
   Landing — module cards grid
   ========================================================================== */

.cards-section {
  background: var(--paper-2);
  padding-block: clamp(36px, 6vw, 72px);
}

.cards-head {
  text-align: center;
  margin-bottom: clamp(28px, 5vw, 56px);
  max-width: 60ch;
  margin-inline: auto;
}
.cards-head h2 { margin-bottom: var(--sp-3); }

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--sp-5);
}

.card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  transition: transform var(--dur-med) var(--ease), box-shadow var(--dur-med) var(--ease), border-color var(--dur-med) var(--ease);
  overflow: hidden;
  isolation: isolate;
}
.card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(184, 151, 42, 0.04) 100%);
  opacity: 0;
  transition: opacity var(--dur-med) var(--ease);
  z-index: -1;
  pointer-events: none;
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(184, 151, 42, 0.4);
  box-shadow: 0 24px 56px -20px rgba(14, 14, 14, 0.12);
}
.card:hover::after { opacity: 1; }
.card:hover .card-arrow { transform: translate(4px, -4px); }

.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.card-meta .card-page { color: var(--muted); }
.card-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  transition: transform var(--dur-med) var(--ease), background var(--dur-med) var(--ease), color var(--dur-med) var(--ease);
}
.card:hover .card-arrow { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.card-arrow svg { width: 12px; height: 12px; }

.card h3 {
  font-size: clamp(22px, 2.4vw, 26px);
  line-height: 1.2;
}
.card h3 em { color: var(--sage); }

.card-desc {
  font-size: 14px;
  color: var(--muted-2);
  line-height: 1.65;
}

.card-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: auto;
  padding-top: var(--sp-3);
  border-top: 1px solid var(--line);
}

/* ==========================================================================
   Cross-navigation footer (between module pages)
   ========================================================================== */

.cross-nav {
  background: var(--paper-2);
  padding-block: clamp(48px, 8vw, 88px);
  border-top: 1px solid var(--line);
}
.cross-nav-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
}
.cross-link {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  padding: var(--sp-5);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--paper);
  transition: transform var(--dur-med) var(--ease), border-color var(--dur-med) var(--ease), background var(--dur-med) var(--ease);
}
.cross-link:hover {
  transform: translateY(-2px);
  border-color: rgba(184, 151, 42, 0.4);
}
.cross-link.next { text-align: right; }
.cross-link .cn-label {
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.cross-link .cn-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(20px, 2.4vw, 26px);
  color: var(--ink);
  line-height: 1.2;
}
.cross-link.disabled {
  opacity: 0.4;
  pointer-events: none;
}

@media (max-width: 640px) {
  .cross-nav-inner { grid-template-columns: 1fr; }
  .cross-link.next { text-align: left; }
}

/* ==========================================================================
   Site footer
   ========================================================================== */

.site-footer {
  background: var(--ink);
  color: rgba(247, 244, 239, 0.65);
  padding: clamp(56px, 8vw, 88px) 0 var(--sp-7);
  font-size: 13px;
}
.site-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: var(--sp-7);
  padding-bottom: var(--sp-7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.site-footer h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: var(--sp-4);
}
.site-footer .footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  color: var(--paper);
  margin-bottom: var(--sp-3);
  line-height: 1.2;
}
.site-footer .footer-brand em { color: var(--gold-lt); }
.site-footer .footer-tag {
  max-width: 36ch;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.5);
}
.site-footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.site-footer a:hover { color: var(--gold-lt); }
.site-footer-bottom {
  padding-top: var(--sp-5);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.04em;
  flex-wrap: wrap;
  gap: var(--sp-3);
}
@media (max-width: 720px) {
  .site-footer-grid { grid-template-columns: 1fr; gap: var(--sp-6); }
}

/* ==========================================================================
   Druckbogen (print sheet)
   ========================================================================== */

.print-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: var(--sp-5);
}
.print-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--sp-5);
  text-align: center;
}
.print-card img {
  width: 160px;
  height: 160px;
  margin: 0 auto var(--sp-3);
}
.print-card .pc-num {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: 4px;
}
.print-card .pc-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.3;
  margin-bottom: var(--sp-2);
}
.print-card .pc-page {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.05em;
}
.print-card .pc-page strong { color: var(--ink); font-weight: 500; }

.print-actions {
  display: flex;
  justify-content: center;
  gap: var(--sp-3);
  margin: var(--sp-6) 0 var(--sp-8);
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  border-radius: 999px;
  transition: transform var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease), color var(--dur-fast) var(--ease);
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--gold); transform: translateY(-1px); }
.btn-ghost { border: 1px solid var(--line-strong); color: var(--ink); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-1px); }
.btn svg { width: 14px; height: 14px; }

/* ==========================================================================
   Entrance animations
   ========================================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  will-change: opacity, transform;
}
[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
[data-reveal-delay="1"] { transition-delay: 80ms; }
[data-reveal-delay="2"] { transition-delay: 160ms; }
[data-reveal-delay="3"] { transition-delay: 240ms; }
[data-reveal-delay="4"] { transition-delay: 320ms; }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 640px) {
  .quote { padding: var(--sp-5); }
  .qr-img img { width: 180px; height: 180px; }
  .resources li { flex-direction: column; gap: var(--sp-2); padding: var(--sp-3) 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Print
   ========================================================================== */

@media print {
  .nav, .nav-toggle, .nav-drawer, .site-footer, .cross-nav, .hero-meta { display: none !important; }
  body { background: white; color: black; }
  .qr-panel { background: white !important; color: black !important; border: 1px solid #ccc; }
  .qr-panel .qr-url, .qr-panel-footer, .qr-panel-label, .qr-panel-footer strong { color: black !important; }
  .print-card { break-inside: avoid; }
  a { color: inherit; text-decoration: none; }
  .section, .cards-section, .m-grid { padding-block: 20px; }
}
