/* ============================================================
   1. CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ============================================================ */
:root {
  /* Backgrounds */
  --bg:        #fafaf8;
  --bg-2:      #f4f2ee;
  --surface:   #ffffff;
  --surface-2: #f0ede8;

  /* Text */
  --ink:   #1c1917;
  --ink-2: #78716c;
  --ink-3: #a8a29e;

  /* Borders */
  --line:   #e7e5e0;
  --line-2: #d6d3cd;

  /* Brand */
  --emilia:    #3b82f6;
  --emilia-bg: #eff6ff;
  --letizia:   #e11d48;
  --letizia-bg:#fff1f2;

  /* Accent */
  --accent: #1c1917;

  /* Typography */
  --font-sans:  -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --font-serif: 'Georgia', 'Times New Roman', serif;

  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;

  /* Spacing (4px base) */
  --s1:  4px;  --s2:  8px;  --s3:  12px; --s4:  16px;
  --s5:  20px; --s6:  24px; --s7:  32px; --s8:  40px;
  --s9:  48px; --s10: 64px; --s11: 80px; --s12: 96px;

  /* Radius */
  --r1: 4px; --r2: 8px; --r3: 12px; --r4: 16px;
  --r5: 24px; --r-full: 9999px;

  /* Shadows */
  --sh1: 0 1px 2px rgba(0,0,0,.05);
  --sh2: 0 4px 12px rgba(0,0,0,.08);
  --sh3: 0 12px 32px rgba(0,0,0,.12);

  /* Nav */
  --topnav-h:    56px;
  --bottomnav-h: 60px;
}

/* ============================================================
   2. RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul, ol { list-style: none; }
hr { border: none; border-top: 1px solid var(--line); }
address { font-style: normal; }
details summary { cursor: pointer; list-style: none; }
details summary::-webkit-details-marker { display: none; }

/* ============================================================
   3. BASE TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
}
h1 { font-size: var(--text-3xl); }
h2 { font-size: var(--text-2xl); }
h3 { font-size: var(--text-xl); }
p  { color: var(--ink-2); line-height: 1.7; }
a:hover { opacity: .8; }
code { font-family: monospace; background: var(--surface-2); padding: 2px 6px; border-radius: var(--r1); font-size: .9em; }

/* ============================================================
   4. UTILITY CLASSES
   ============================================================ */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--s4);
}
.section-title {
  font-family: var(--font-serif);
  font-size: var(--text-2xl);
  color: var(--ink);
  margin-bottom: var(--s6);
}
.card {
  background: var(--surface);
  border-radius: var(--r4);
  box-shadow: var(--sh2);
  padding: var(--s6);
}
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ============================================================
   5. SKIP LINK
   ============================================================ */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--s4);
  background: var(--accent);
  color: #fff;
  padding: var(--s2) var(--s4);
  border-radius: var(--r2);
  font-size: var(--text-sm);
  font-weight: 600;
  z-index: 10000;
  transition: top .2s;
}
.skip-link:focus { top: var(--s2); }

/* ============================================================
   6. PRELOADER
   ============================================================ */
#loader {
  position: fixed; inset: 0;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
  transition: opacity .35s ease, transform .35s ease;
}
#loader.loader--out {
  opacity: 0;
  transform: scale(1.05);
  pointer-events: none;
}
.loader-word {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 5vw, 2.5rem);
  letter-spacing: .02em;
  display: flex;
  gap: .05em;
  align-items: baseline;
}
.loader-word span {
  opacity: 0;
  transform: translateY(8px);
  animation: ltr-in .3s ease forwards;
}
.loader-amp { color: var(--ink-3); font-size: .8em; margin: 0 .15em; }
@keyframes ltr-in { to { opacity: 1; transform: none; } }

/* ============================================================
   7. WORDMARK
   ============================================================ */
.wordmark {
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  font-weight: 400;
  white-space: nowrap;
  display: inline-flex;
  align-items: baseline;
  gap: 0;
}
.wordmark--sm { font-size: var(--text-base); }
.wm-e   { color: var(--emilia); }
.wm-amp { color: var(--ink-3); font-size: .8em; }
.wm-l   { color: var(--letizia); }

/* ============================================================
   8. TOP NAV (DESKTOP)
   ============================================================ */
.topnav {
  display: none; /* hidden on mobile */
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--topnav-h);
  background: rgba(250,250,248,.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  z-index: 100;
}
.topnav__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--s6);
  height: 100%;
  display: flex;
  align-items: center;
  gap: var(--s6);
}
.topnav__links {
  display: flex;
  align-items: center;
  gap: var(--s5);
  flex: 1;
  justify-content: center;
}
.topnav__links a {
  font-size: var(--text-sm);
  color: var(--ink-2);
  font-weight: 500;
  padding: var(--s1) 0;
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.topnav__links a:hover,
.topnav__links a.active {
  color: var(--ink);
  border-bottom-color: var(--ink);
  font-weight: 600;
}
.topnav__right { display: flex; align-items: center; gap: var(--s4); }
.topnav.scrolled { box-shadow: var(--sh2); }

/* Lang toggle (desktop) */
.lang-toggle { display: flex; align-items: center; gap: var(--s2); }
.lang-btn {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--ink-3);
  padding: var(--s1) var(--s2);
  border-radius: var(--r1);
  transition: color .15s;
}
.lang-btn.active { color: var(--ink); }
.lang-sep { color: var(--line-2); font-size: var(--text-xs); }

/* ============================================================
   9. BOTTOM TAB BAR (MOBILE)
   ============================================================ */
.bottomnav {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: calc(var(--bottomnav-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(250,250,248,.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  display: flex;
  align-items: stretch;
  z-index: 100;
}
.bottomnav__tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s1);
  color: var(--ink-3);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-top: 2px solid transparent;
  transition: color .15s, border-color .15s;
  padding: 0 var(--s2);
  background: none;
  border-left: none; border-right: none; border-bottom: none;
}
.bottomnav__tab svg { flex-shrink: 0; }
.bottomnav__tab.active,
.bottomnav__tab:focus-visible {
  color: var(--ink);
  border-top-color: var(--ink);
  outline: none;
}
.bottomnav__tab:focus-visible { outline: 2px solid var(--emilia); outline-offset: -2px; }

/* ============================================================
   10. BOTTOM SHEET (MORE)
   ============================================================ */
.more-sheet {
  position: fixed; inset: 0;
  z-index: 200;
}
.more-sheet[hidden] { display: none; }
.more-sheet__backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.4);
  animation: fade-in .2s ease;
}
.more-sheet__panel {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: var(--surface);
  border-radius: var(--r5) var(--r5) 0 0;
  padding: var(--s3) var(--s6) calc(var(--s8) + env(safe-area-inset-bottom));
  animation: slide-up .25s ease;
  max-height: 85vh;
  overflow-y: auto;
}
.more-sheet__handle {
  width: 40px; height: 4px;
  background: var(--line-2);
  border-radius: var(--r-full);
  margin: 0 auto var(--s5);
}
.more-sheet__links { display: flex; flex-direction: column; gap: var(--s1); }
.more-sheet__link {
  display: block;
  padding: var(--s3) var(--s2);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--ink);
  border-radius: var(--r2);
  transition: background .15s;
}
.more-sheet__link:hover { background: var(--bg-2); }
.more-sheet__link--sm { font-size: var(--text-sm); color: var(--ink-2); }
.more-sheet__divider { margin: var(--s3) 0; }
.more-sheet__lang {
  display: flex; gap: var(--s2);
  padding: var(--s2) var(--s2);
}
.lang-pill {
  padding: var(--s2) var(--s4);
  border-radius: var(--r-full);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--ink-2);
  background: var(--bg-2);
  border: 1px solid var(--line);
  transition: all .15s;
}
.lang-pill.active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.more-sheet__social {
  display: flex; gap: var(--s4);
  padding: var(--s2) var(--s2);
}
.social-icon-link { color: var(--ink-2); transition: color .15s; }
.social-icon-link:hover { color: var(--ink); }
.more-sheet__close {
  position: absolute; top: var(--s4); right: var(--s4);
  color: var(--ink-3);
  padding: var(--s2);
  border-radius: var(--r-full);
  transition: background .15s;
}
.more-sheet__close:hover { background: var(--bg-2); }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes slide-up { from { transform: translateY(100%); } to { transform: none; } }

/* ============================================================
   11. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s2);
  padding: var(--s3) var(--s6);
  border-radius: var(--r-full);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: .02em;
  transition: opacity .15s, transform .1s;
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn:hover { opacity: .85; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--emilia); outline-offset: 2px; }
.btn-sm { padding: var(--s2) var(--s4); font-size: var(--text-xs); }
.btn-lg { padding: var(--s4) var(--s8); font-size: var(--text-base); }
.btn-accent  { background: var(--accent); color: #fff; }
.btn-emilia  { background: var(--emilia); color: #fff; }
.btn-letizia { background: var(--letizia); color: #fff; }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn-outline:hover { background: var(--bg-2); }

/* ============================================================
   12. OFFLINE BANNER + COOKIE NOTICE
   ============================================================ */
.offline-banner {
  position: fixed; top: 0; left: 0; right: 0;
  background: #f59e0b;
  color: #1c1917;
  text-align: center;
  padding: var(--s2) var(--s4);
  font-size: var(--text-sm);
  font-weight: 600;
  z-index: 9998;
}
.cookie-notice {
  position: fixed;
  bottom: calc(var(--bottomnav-h) + env(safe-area-inset-bottom) + var(--s3));
  left: var(--s4); right: var(--s4);
  background: var(--ink);
  color: #fff;
  border-radius: var(--r3);
  padding: var(--s3) var(--s4);
  display: flex;
  align-items: center;
  gap: var(--s4);
  font-size: var(--text-sm);
  box-shadow: var(--sh3);
  z-index: 500;
  animation: slide-up .3s ease;
}
.cookie-notice .btn { flex-shrink: 0; background: #fff; color: var(--ink); }

/* ============================================================
   13. BACK TO TOP
   ============================================================ */
.back-to-top {
  position: fixed;
  bottom: calc(var(--bottomnav-h) + env(safe-area-inset-bottom) + var(--s4));
  right: var(--s4);
  width: 44px; height: 44px;
  background: var(--surface);
  border-radius: var(--r-full);
  box-shadow: var(--sh2);
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  z-index: 50;
  transition: opacity .2s, transform .2s;
  border: 1px solid var(--line);
}
.back-to-top[hidden] { display: none; }
.back-to-top:hover { transform: translateY(-2px); box-shadow: var(--sh3); }

/* ============================================================
   14. SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   15. HOME PAGE
   ============================================================ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center top;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.45);
}
.hero__content {
  position: relative;
  text-align: center;
  color: #fff;
  padding: var(--s6);
  z-index: 1;
}
.hero__label {
  font-size: var(--text-sm);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  margin-bottom: var(--s4);
}
.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.1;
  margin-bottom: var(--s4);
}
.hero__title-e   { color: #93c5fd; }
.hero__title-amp { color: rgba(255,255,255,.6); font-size: .7em; }
.hero__title-l   { color: #fda4af; }
.hero__subline {
  font-size: var(--text-base);
  color: rgba(255,255,255,.8);
  letter-spacing: .04em;
}
.hero__scroll {
  position: absolute;
  bottom: calc(var(--bottomnav-h) + env(safe-area-inset-bottom) + var(--s6));
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.6);
  animation: bounce .8s ease-in-out infinite alternate;
  z-index: 1;
}
@keyframes bounce { from { transform: translateX(-50%) translateY(0); } to { transform: translateX(-50%) translateY(6px); } }

/* Intro card */
.intro-card { margin-top: calc(-1 * var(--s6)); position: relative; z-index: 2; padding-bottom: var(--s9); }
.intro-card__inner { text-align: center; }
.intro-card__h2 { font-size: var(--text-2xl); margin-bottom: var(--s4); }
.intro-card__text { color: var(--ink-2); margin-bottom: var(--s6); max-width: 480px; margin-left: auto; margin-right: auto; }
.intro-card__ctas { display: flex; gap: var(--s3); justify-content: center; flex-wrap: wrap; }

/* Stats strip */
.stats-strip { padding: var(--s8) 0; background: var(--bg-2); }
.stats-row {
  display: flex;
  gap: var(--s4);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  justify-content: center;
}
.stats-row::-webkit-scrollbar { display: none; }
.stat-item {
  display: flex; flex-direction: column; align-items: center;
  gap: var(--s1); flex-shrink: 0;
  min-width: 100px;
}
.stat-num {
  font-family: var(--font-serif);
  font-size: var(--text-3xl);
  color: var(--ink);
  line-height: 1;
}
.stat-label { font-size: var(--text-xs); color: var(--ink-3); text-transform: uppercase; letter-spacing: .1em; }

/* Twin cards */
.twin-cards { padding: var(--s9) 0; }
.twin-cards__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s4); }
.twin-card {
  display: flex; flex-direction: column;
  background: var(--surface);
  border-radius: var(--r4);
  overflow: hidden;
  box-shadow: var(--sh1);
  border-top: 3px solid transparent;
  transition: box-shadow .2s, transform .2s;
}
.twin-card:hover { box-shadow: var(--sh3); transform: translateY(-3px); }
.twin-card--emilia  { border-top-color: var(--emilia); }
.twin-card--letizia { border-top-color: var(--letizia); }
.twin-card__img-wrap { aspect-ratio: 1; overflow: hidden; }
.twin-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.twin-card:hover .twin-card__img { transform: scale(1.04); }
.twin-card__body { padding: var(--s4); }
.twin-card__name { font-family: var(--font-serif); font-size: var(--text-lg); margin-bottom: var(--s1); }
.twin-card__link { font-size: var(--text-xs); color: var(--ink-3); }

/* Latest posts */
.latest-posts { padding: var(--s9) 0; background: var(--bg-2); }
.ig-grid { display: grid; grid-template-columns: 1fr; gap: var(--s4); }
.ig-grid--3 { grid-template-columns: 1fr; }
.ig-embed-wrap { background: var(--surface); border-radius: var(--r3); overflow: hidden; min-height: 200px; }
.ig-embed-wrap a { display: block; padding: var(--s4); color: var(--ink-2); font-size: var(--text-sm); }

/* Work CTA */
.work-cta { padding: var(--s11) 0; }
.work-cta__inner { text-align: center; }
.work-cta__title { font-size: var(--text-3xl); margin-bottom: var(--s4); }
.work-cta__text { color: var(--ink-2); margin-bottom: var(--s6); max-width: 400px; margin-left: auto; margin-right: auto; }

/* ============================================================
   16. TWIN PAGES (EMILIA / LETIZIA)
   ============================================================ */
.twin-page { padding-bottom: var(--s12); }
.twin-page__accent-bar { height: 3px; }
.twin-page--emilia  .twin-page__accent-bar { background: var(--emilia); }
.twin-page--letizia .twin-page__accent-bar { background: var(--letizia); }

.twin-profile {
  display: flex;
  align-items: center;
  gap: var(--s6);
  padding: var(--s8) 0 var(--s6);
  flex-wrap: wrap;
}
.twin-profile__img-wrap {
  flex-shrink: 0;
  width: 120px; height: 120px;
  border-radius: var(--r-full);
  overflow: hidden;
  box-shadow: var(--sh2);
}
.twin-profile__img { width: 100%; height: 100%; object-fit: cover; }
.twin-profile__name { font-size: var(--text-3xl); margin-bottom: var(--s2); }
.twin-profile__subtitle { color: var(--ink-3); font-size: var(--text-sm); letter-spacing: .08em; text-transform: uppercase; }

.twin-bio { padding: var(--s6) 0; }
.twin-bio__text { font-size: var(--text-lg); color: var(--ink-2); max-width: 640px; }

.twin-facts { padding: var(--s6) 0; }
.fact-list { display: flex; flex-direction: column; gap: 0; }
.fact-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: var(--s4);
  padding: var(--s3) 0;
  border-bottom: 1px solid var(--line);
}
.fact-item:first-child { border-top: 1px solid var(--line); }
.fact-item dt { font-size: var(--text-sm); color: var(--ink-3); font-weight: 500; }
.fact-item dd { font-size: var(--text-sm); color: var(--ink); }

.twin-cta { padding: var(--s6) 0; }

.twin-social { padding: var(--s6) 0; }
.social-chips { display: flex; flex-direction: column; gap: var(--s3); }
.social-chip {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding: var(--s3) var(--s4);
  background: var(--surface);
  border-radius: var(--r3);
  border: 1px solid var(--line);
  box-shadow: var(--sh1);
  transition: box-shadow .15s;
}
.social-chip:hover { box-shadow: var(--sh2); }
.social-chip span { flex: 1; font-size: var(--text-sm); color: var(--ink-2); }
.social-chip strong { font-size: var(--text-sm); color: var(--ink); }

/* ============================================================
   17. MEDIA PAGE
   ============================================================ */
.page-media { padding-bottom: var(--s12); }
.page-header {
  position: relative;
  height: 240px;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.page-header__img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.page-header__overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.5);
}
.page-header__content {
  position: relative;
  padding: var(--s6);
  z-index: 1;
}
.page-header__title {
  font-family: var(--font-serif);
  font-size: var(--text-3xl);
  color: #fff;
}

.platform-strip {
  display: flex;
  gap: var(--s3);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: var(--s6) 0;
}
.platform-strip::-webkit-scrollbar { display: none; }
.platform-chip {
  display: flex;
  align-items: center;
  gap: var(--s2);
  padding: var(--s3) var(--s4);
  background: var(--surface);
  border-radius: var(--r-full);
  border: 1px solid var(--line);
  white-space: nowrap;
  font-size: var(--text-sm);
  flex-shrink: 0;
  box-shadow: var(--sh1);
  transition: box-shadow .15s;
}
.platform-chip:hover { box-shadow: var(--sh2); }
.platform-chip strong { font-weight: 700; color: var(--ink); }
.platform-chip__follow { color: var(--ink-3); font-size: var(--text-xs); }

.ig-grid { grid-template-columns: 1fr; gap: var(--s4); margin-bottom: var(--s6); }

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s4);
  padding: var(--s6) 0;
}
.pagination__info { font-size: var(--text-sm); color: var(--ink-3); }

/* ============================================================
   18. FAQ PAGE
   ============================================================ */
.page-faq { padding-bottom: var(--s12); }
.page-inner-header { padding: var(--s9) 0 var(--s6); }
.page-inner-header__title { font-size: var(--text-3xl); }

.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  padding: var(--s4) 0;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--ink);
  transition: color .15s;
}
.faq-item__q:hover { color: var(--emilia); }
.faq-item__icon { flex-shrink: 0; color: var(--ink-3); transition: transform .2s; }
details[open] .faq-item__icon { transform: rotate(180deg); }
.faq-item__a {
  padding: 0 0 var(--s4);
  color: var(--ink-2);
  font-size: var(--text-sm);
  line-height: 1.7;
  max-width: 640px;
}

/* ============================================================
   19. PARTNERS PAGE
   ============================================================ */
.page-partners { padding-bottom: var(--s12); }

.reach-strip {
  display: flex;
  gap: var(--s4);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: var(--s6) 0;
  justify-content: center;
}
.reach-strip::-webkit-scrollbar { display: none; }
.reach-item {
  display: flex; flex-direction: column; align-items: center;
  gap: var(--s1); flex-shrink: 0; min-width: 90px;
}
.reach-num { font-family: var(--font-serif); font-size: var(--text-2xl); color: var(--ink); }
.reach-label { font-size: var(--text-xs); color: var(--ink-3); text-transform: uppercase; letter-spacing: .08em; text-align: center; }

.partner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s4);
  margin-bottom: var(--s6);
}
.partner-card {
  background: var(--surface);
  border-radius: var(--r4);
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: var(--sh1);
  display: flex; flex-direction: column;
  transition: box-shadow .2s;
}
.partner-card:hover { box-shadow: var(--sh2); }
.partner-card__logo-wrap {
  padding: var(--s4);
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-2);
  min-height: 80px;
}
.partner-card__logo { max-height: 48px; max-width: 100%; object-fit: contain; }
.partner-card__name-only {
  padding: var(--s4);
  background: var(--bg-2);
  display: flex; align-items: center; justify-content: center;
  min-height: 80px;
  font-family: var(--font-serif);
  font-size: var(--text-xl);
  color: var(--ink);
}
.partner-card__body { padding: var(--s4); flex: 1; display: flex; flex-direction: column; gap: var(--s2); }
.partner-card__name { font-size: var(--text-base); font-weight: 600; color: var(--ink); font-family: var(--font-sans); }
.partner-card__cat { font-size: var(--text-xs); color: var(--ink-3); }
.partner-card__cta { margin-top: auto; align-self: flex-start; }

.affiliate-disclaimer {
  font-size: var(--text-xs);
  color: var(--ink-3);
  padding: var(--s4);
  background: var(--bg-2);
  border-radius: var(--r2);
  margin-bottom: var(--s8);
}

.contact-cta { padding: var(--s9) 0; }
.contact-cta__inner { text-align: center; }
.contact-cta__title { font-size: var(--text-2xl); margin-bottom: var(--s4); }
.contact-cta__text { color: var(--ink-2); margin-bottom: var(--s6); }

/* ============================================================
   20. LEGAL PAGES
   ============================================================ */
.page-legal { padding-bottom: var(--s12); }
.legal-content {
  max-width: 720px;
  display: flex; flex-direction: column; gap: var(--s6);
}
.legal-content h2 { font-size: var(--text-xl); margin-top: var(--s4); }
.legal-content h3 { font-size: var(--text-base); font-weight: 600; font-family: var(--font-sans); color: var(--ink); }
.legal-content p, .legal-content address { font-size: var(--text-sm); color: var(--ink-2); line-height: 1.7; }
.legal-content a { color: var(--emilia); text-decoration: underline; }
.unofficial-notice {
  background: #fef3c7;
  border: 1px solid #fcd34d;
  border-radius: var(--r3);
  padding: var(--s4);
  display: flex; flex-direction: column; gap: var(--s2);
}
.unofficial-notice strong { color: var(--ink); font-size: var(--text-sm); }
.unofficial-notice p { font-size: var(--text-sm); color: var(--ink-2); }

/* ============================================================
   21. ERROR PAGE
   ============================================================ */
.page-error { padding: var(--s12) 0; }
.error-content { text-align: center; }
.error-code { font-family: var(--font-serif); font-size: 6rem; color: var(--line-2); line-height: 1; margin-bottom: var(--s4); }
.error-title { font-size: var(--text-2xl); margin-bottom: var(--s4); }
.error-text { color: var(--ink-2); margin-bottom: var(--s6); }

/* ============================================================
   22. FOOTER (DESKTOP ONLY)
   ============================================================ */
.site-footer {
  display: none;
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  padding: var(--s8) 0;
}
.footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 var(--s6);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s4);
  text-align: center;
}
.footer__unofficial { font-size: var(--text-xs); color: var(--ink-3); }
.footer__unofficial a { color: var(--emilia); text-decoration: underline; }
.footer__links { display: flex; gap: var(--s5); flex-wrap: wrap; justify-content: center; }
.footer__links a { font-size: var(--text-sm); color: var(--ink-2); }
.footer__links a:hover { color: var(--ink); }
.footer__copy { font-size: var(--text-xs); color: var(--ink-3); }

/* ============================================================
   23. RESPONSIVE OVERRIDES (min-width: 480px)
   ============================================================ */
@media (min-width: 480px) {
  .ig-grid { grid-template-columns: 1fr 1fr; }
  .ig-grid--3 { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   24. RESPONSIVE OVERRIDES (min-width: 768px)
   ============================================================ */
@media (min-width: 768px) {
  body { padding-top: var(--topnav-h); padding-bottom: 0; }

  .topnav { display: flex; }
  .bottomnav { display: none; }
  .site-footer { display: block; }

  .back-to-top {
    bottom: var(--s8);
    right: var(--s8);
  }
  .cookie-notice {
    bottom: var(--s6);
    left: auto;
    right: var(--s6);
    max-width: 400px;
  }

  .hero__scroll { bottom: var(--s8); }

  .ig-grid { grid-template-columns: 1fr 1fr 1fr; }
  .ig-grid--3 { grid-template-columns: 1fr 1fr 1fr; }

  .partner-grid { grid-template-columns: repeat(4, 1fr); }

  .twin-cards__grid { gap: var(--s6); }

  .fact-item { grid-template-columns: 180px 1fr; }

  .social-chips { flex-direction: row; flex-wrap: wrap; }
  .social-chip { flex: 1; min-width: 200px; }

  .page-header { height: 320px; }
  .page-header__title { font-size: var(--text-4xl); }

  h1 { font-size: var(--text-4xl); }
  h2 { font-size: var(--text-3xl); }
}

/* ============================================================
   25. PRINT STYLES
   ============================================================ */
@media print {
  .topnav, .bottomnav, .more-sheet, .back-to-top,
  .cookie-notice, #loader, .hero__scroll { display: none !important; }
  body { padding: 0; background: #fff; color: #000; }
  a[href]::after { content: ' (' attr(href) ')'; font-size: .8em; color: #666; }
}

/* ============================================================
   26. REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
