/* Newsreader (editorial serif) + Manrope (clean humanist sans) — paired for the contrast between old lore and clear thinking */
@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,300;0,6..72,400;0,6..72,600;0,6..72,700;1,6..72,300;1,6..72,400;1,6..72,600&family=Manrope:wght@300;400;500;600;700&display=swap');

/* ============================================================
   reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ol, ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, textarea, select { font: inherit; }

/* ============================================================
   tokens
   ============================================================ */
:root {
  /* Colors — ivory parchment + deep saffron + forest ink */
  --c-bg:         #F7F3ED;      /* warm ivory */
  --c-bg-soft:    #F0EBE2;      /* deeper parchment */
  --c-ink:        #1A2E1A;      /* forest dark green-black */
  --c-ink-mid:    #3D4D30;      /* forest mid */
  --c-ink-muted:  #6B7A5C;      /* muted moss */
  --c-accent:     #D4860A;      /* saffron amber */
  --c-accent-dk:  #A86207;      /* deep saffron */
  --c-accent-lt:  #F5C96A;      /* pale saffron */
  --c-border:     #D9D0C3;      /* parchment border */
  --c-white:      #FDFAF6;      /* off-white for cards */

  /* Typography */
  --ff-serif: 'Newsreader', Georgia, serif;
  --ff-sans:  'Manrope', system-ui, sans-serif;

  /* Scale */
  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-md:   1.125rem;
  --fs-lg:   1.375rem;
  --fs-xl:   1.75rem;
  --fs-2xl:  2.25rem;
  --fs-3xl:  3rem;
  --fs-4xl:  4rem;

  /* Spacing */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.25rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* Radius */
  --r-sm:  3px;
  --r-md:  6px;
  --r-lg:  12px;
  --r-pill: 999px;

  /* Shadow */
  --shadow-sm: 0 1px 4px rgba(26, 46, 26, 0.08);
  --shadow-md: 0 4px 16px rgba(26, 46, 26, 0.12);
  --shadow-lg: 0 8px 32px rgba(26, 46, 26, 0.16);

  /* Transition */
  --tr-fast: 0.15s ease;
  --tr-base: 0.25s ease;
  --tr-slow: 0.4s ease;

  /* Z-index */
  --z-header:    100;
  --z-mobile:    200;
  --z-cookie:    300;
  --z-back-to-top: 150;

  /* Layout */
  --header-h:  68px;
  --max-w:     1100px;
  --max-w-text: 720px;

  /* Logo */
  --logo-w: 160px;
  --logo-h: 36px;
}

/* ============================================================
   base
   ============================================================ */
body {
  font-family: var(--ff-sans);
  font-size: var(--fs-base);
  line-height: 1.65;
  color: var(--c-ink);
  background: var(--c-bg);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-serif);
  font-weight: 400;
  line-height: 1.2;
  color: var(--c-ink);
}

h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }

p { margin-bottom: var(--sp-4); }
p:last-child { margin-bottom: 0; }

strong { font-weight: 600; }
em { font-style: italic; }

a:hover { color: var(--c-accent); }

/* Reading progress bar */
#reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--c-accent);
  z-index: calc(var(--z-header) + 10);
  transition: width 0.1s linear;
}

/* ============================================================
   layout
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

main {
  padding-top: var(--header-h);
  min-height: calc(100vh - var(--header-h));
}

.section {
  padding: var(--sp-20) 0;
}

.section--tight {
  padding: var(--sp-12) 0;
}

.text-center { text-align: center; }
.text-muted  { color: var(--c-ink-muted); }

/* ============================================================
   header
   ============================================================ */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: var(--c-bg);
  border-bottom: 1px solid var(--c-border);
  z-index: var(--z-header);
  overflow: hidden;
  transition: box-shadow var(--tr-base);
}

#site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

#site-header .container {
  height: 100%;
}

.nav-inner {
  display: flex;
  align-items: center;
  height: 100%;
  gap: var(--sp-8);
  overflow: hidden;
}

/* Logo */
.fpfuf-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.fpfuf-logo img {
  max-width: var(--logo-w);
  max-height: var(--logo-h);
  width: auto;
  height: auto;
  display: block;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-6);
  margin-left: auto;
}

.nav-links a {
  font-family: var(--ff-sans);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--c-ink-mid);
  text-decoration: none;
  transition: color var(--tr-fast);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--c-accent);
}

.nav-links a.active {
  border-bottom: 1px solid var(--c-accent);
  padding-bottom: 1px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  margin-left: auto;
  flex-shrink: 0;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--c-ink);
  border-radius: var(--r-pill);
  transition: transform var(--tr-base), opacity var(--tr-base);
}

.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   mobile menu
   ============================================================ */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: var(--z-mobile);
  background: var(--c-bg);
  padding: var(--sp-8) var(--sp-6);
  gap: var(--sp-4);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity var(--tr-base), transform var(--tr-base), visibility 0s linear 0.25s;
  overflow-y: auto;
}

.mobile-menu.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity var(--tr-base), transform var(--tr-base), visibility 0s linear 0s;
}

.mobile-menu a {
  font-family: var(--ff-sans);
  font-size: var(--fs-lg);
  font-weight: 400;
  color: var(--c-ink);
  padding: var(--sp-3) 0;
  border-bottom: 1px solid var(--c-border);
  text-decoration: none;
  transition: color var(--tr-fast);
}

.mobile-menu a:hover,
.mobile-menu a.active {
  color: var(--c-accent);
}

/* ============================================================
   hero — typographic, no image
   ============================================================ */
.hero-typo {
  background: var(--c-ink);
  color: var(--c-bg);
  padding: var(--sp-24) 0 var(--sp-20);
  position: relative;
  overflow: hidden;
}

.hero-typo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 40%, rgba(212, 134, 10, 0.18) 0%, transparent 65%);
  pointer-events: none;
}

.hero-typo .container {
  position: relative;
  z-index: 1;
}

.hero-label {
  font-family: var(--ff-sans);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: var(--sp-6);
  display: block;
}

.hero-typo h1 {
  font-size: clamp(var(--fs-3xl), 5vw, var(--fs-4xl));
  font-weight: 300;
  color: var(--c-bg);
  line-height: 1.1;
  max-width: 820px;
  margin-bottom: var(--sp-6);
  font-style: italic;
}

.hero-typo h1 em {
  font-style: normal;
  color: var(--c-accent-lt);
}

.hero-desc {
  font-size: var(--fs-md);
  color: rgba(247, 243, 237, 0.75);
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: var(--sp-8);
}

/* Scroll invitation */
.hero-scroll-hint {
  font-family: var(--ff-sans);
  font-size: var(--fs-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(247, 243, 237, 0.45);
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}

.hero-scroll-hint::after {
  content: '';
  display: inline-block;
  width: 40px;
  height: 1px;
  background: currentColor;
}

/* ============================================================
   signal board — homepage unique component
   ============================================================ */
.signal-board {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-top: var(--sp-12);
}

.signal-item {
  flex: 1 1 200px;
  padding: var(--sp-6) var(--sp-6);
  border-right: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  transition: background var(--tr-fast);
}

.signal-item:nth-child(3n) { border-right: none; }
.signal-item:nth-last-child(-n+3) { border-bottom: none; }

.signal-item:hover { background: var(--c-bg-soft); }

.signal-tag {
  font-family: var(--ff-sans);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: var(--sp-2);
}

.signal-item h3 {
  font-size: var(--fs-base);
  font-weight: 400;
  margin-bottom: var(--sp-2);
  line-height: 1.35;
}

.signal-item p {
  font-size: var(--fs-sm);
  color: var(--c-ink-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

/* ============================================================
   post card
   ============================================================ */
.post-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-8);
}

.post-card {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: box-shadow var(--tr-base), transform var(--tr-base);
}

.post-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.post-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.post-card-body {
  padding: var(--sp-5) var(--sp-5);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-card-tag {
  font-family: var(--ff-sans);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: var(--sp-2);
}

.post-card h3 {
  font-size: var(--fs-md);
  margin-bottom: var(--sp-3);
  line-height: 1.3;
}

.post-card p {
  font-size: var(--fs-sm);
  color: var(--c-ink-muted);
  line-height: 1.55;
  flex: 1;
  margin-bottom: var(--sp-4);
}

.post-card-meta {
  font-size: var(--fs-xs);
  color: var(--c-ink-muted);
  display: flex;
  gap: var(--sp-4);
}

/* ============================================================
   post article page
   ============================================================ */
.post-hero-img {
  width: 100%;
  max-height: 460px;
  object-fit: cover;
  border-radius: var(--r-md);
  margin-bottom: var(--sp-10);
}

.post-header {
  max-width: var(--max-w-text);
  margin: 0 auto var(--sp-8);
}

.post-meta {
  font-family: var(--ff-sans);
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-ink-muted);
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
  margin-bottom: var(--sp-4);
}

.post-title {
  font-size: clamp(var(--fs-2xl), 4vw, var(--fs-3xl));
  line-height: 1.15;
  margin-bottom: var(--sp-4);
}

.post-deck {
  font-family: var(--ff-serif);
  font-size: var(--fs-md);
  font-style: italic;
  color: var(--c-ink-mid);
  line-height: 1.6;
  border-left: 3px solid var(--c-accent);
  padding-left: var(--sp-5);
  margin-bottom: var(--sp-6);
}

.post-body {
  max-width: var(--max-w-text);
  margin: 0 auto;
  font-family: var(--ff-serif);
  font-size: var(--fs-md);
  line-height: 1.8;
  color: var(--c-ink);
}

.post-body h2 {
  font-size: var(--fs-xl);
  margin: var(--sp-10) 0 var(--sp-4);
}

.post-body h3 {
  font-size: var(--fs-lg);
  margin: var(--sp-8) 0 var(--sp-3);
}

.post-body p { margin-bottom: var(--sp-5); }

.post-body a {
  color: var(--c-accent-dk);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.post-body blockquote {
  border-left: 3px solid var(--c-accent);
  padding: var(--sp-4) var(--sp-6);
  margin: var(--sp-8) 0;
  font-style: italic;
  color: var(--c-ink-mid);
  background: var(--c-bg-soft);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}

/* ============================================================
   newsletter CTA (first post only)
   ============================================================ */
.newsletter-cta {
  max-width: var(--max-w-text);
  margin: var(--sp-12) auto;
  padding: var(--sp-8) var(--sp-8);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  background: var(--c-bg-soft);
}

.newsletter-cta h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-2);
}

.newsletter-cta p {
  font-size: var(--fs-sm);
  color: var(--c-ink-muted);
  margin-bottom: var(--sp-5);
}

.newsletter-form {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
}

.newsletter-form input[type="email"] {
  flex: 1 1 240px;
  padding: var(--sp-3) var(--sp-4);
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  background: var(--c-white);
  color: var(--c-ink);
  font-size: var(--fs-sm);
}

.newsletter-form input[type="email"]:focus {
  outline: 2px solid var(--c-accent);
  outline-offset: 1px;
  border-color: transparent;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  background: var(--c-accent);
  color: var(--c-white);
  border-radius: var(--r-sm);
  font-family: var(--ff-sans);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid transparent;
  transition: background var(--tr-fast), color var(--tr-fast), border-color var(--tr-fast);
  white-space: nowrap;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--c-accent-dk);
  color: var(--c-white);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-6);
  background: transparent;
  color: var(--c-accent);
  border: 1.5px solid var(--c-accent);
  border-radius: var(--r-sm);
  font-family: var(--ff-sans);
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background var(--tr-fast), color var(--tr-fast);
  cursor: pointer;
}

.btn-outline:hover {
  background: var(--c-accent);
  color: var(--c-white);
}

.newsletter-success {
  display: none;
  color: var(--c-ink-mid);
  font-size: var(--fs-sm);
  font-style: italic;
  margin-top: var(--sp-3);
}

/* ============================================================
   related reading
   ============================================================ */
.related-reading {
  max-width: var(--max-w-text);
  margin: var(--sp-12) auto 0;
  padding-top: var(--sp-8);
  border-top: 1px solid var(--c-border);
}

.related-reading h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-6);
}

.related-list {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
}

.related-item {
  display: flex;
  gap: var(--sp-4);
  align-items: flex-start;
  text-decoration: none;
  color: inherit;
  padding: var(--sp-4);
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  background: var(--c-white);
  transition: box-shadow var(--tr-fast);
}

.related-item:hover {
  box-shadow: var(--shadow-sm);
  color: var(--c-accent);
}

.related-item-label {
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-accent);
  white-space: nowrap;
  padding-top: 2px;
}

.related-item-title {
  font-family: var(--ff-serif);
  font-size: var(--fs-md);
  line-height: 1.3;
}

/* ============================================================
   author bio
   ============================================================ */
.author-bio {
  max-width: var(--max-w-text);
  margin: var(--sp-10) auto 0;
  padding: var(--sp-6);
  background: var(--c-bg-soft);
  border-radius: var(--r-md);
  border: 1px solid var(--c-border);
}

.author-bio-name {
  font-family: var(--ff-serif);
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-1);
}

.author-bio-role {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-accent);
  margin-bottom: var(--sp-3);
  font-weight: 600;
}

.author-bio p {
  font-size: var(--fs-sm);
  color: var(--c-ink-muted);
  line-height: 1.6;
  margin-bottom: var(--sp-3);
}

.author-bio-link {
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================================
   page hero (internal pages)
   ============================================================ */
.page-hero {
  padding: var(--sp-16) 0 var(--sp-12);
  border-bottom: 1px solid var(--c-border);
}

.page-hero h1 {
  font-size: clamp(var(--fs-2xl), 4vw, var(--fs-3xl));
  font-style: italic;
  margin-bottom: var(--sp-4);
}

.page-hero p {
  font-size: var(--fs-md);
  color: var(--c-ink-muted);
  max-width: 600px;
  line-height: 1.65;
  margin-bottom: 0;
}

/* ============================================================
   breadcrumb
   ============================================================ */
.breadcrumb {
  padding: var(--sp-4) 0;
  margin-bottom: var(--sp-2);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  align-items: center;
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-xs);
  color: var(--c-ink-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.breadcrumb li:not(:last-child)::after {
  content: '›';
  color: var(--c-border);
}

.breadcrumb a {
  color: var(--c-ink-muted);
  text-decoration: none;
  transition: color var(--tr-fast);
}

.breadcrumb a:hover { color: var(--c-accent); }
.breadcrumb li:last-child { color: var(--c-ink); }

/* ============================================================
   the log (blog index)
   ============================================================ */
.log-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  margin-bottom: var(--sp-8);
}

.filter-btn {
  padding: var(--sp-2) var(--sp-4);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-pill);
  font-family: var(--ff-sans);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-ink-mid);
  background: var(--c-white);
  cursor: pointer;
  transition: all var(--tr-fast);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--c-accent);
  border-color: var(--c-accent);
  color: var(--c-white);
}

/* ============================================================
   contact form
   ============================================================ */
.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-16);
  align-items: flex-start;
}

.contact-info {
  flex: 1 1 260px;
}

.contact-info h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-5);
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  margin-bottom: var(--sp-8);
}

.contact-detail-item {
  display: flex;
  flex-direction: column;
  gap: var(--sp-1);
}

.contact-detail-label {
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-accent);
}

.contact-detail-value {
  font-size: var(--fs-sm);
  color: var(--c-ink);
}

.contact-form-wrap {
  flex: 2 1 380px;
}

.form-group {
  margin-bottom: var(--sp-5);
}

.form-group label {
  display: block;
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-bottom: var(--sp-2);
  color: var(--c-ink);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-sm);
  background: var(--c-white);
  color: var(--c-ink);
  font-size: var(--fs-sm);
  transition: border-color var(--tr-fast), outline var(--tr-fast);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: 2px solid var(--c-accent);
  outline-offset: 1px;
  border-color: transparent;
}

.form-group textarea { resize: vertical; min-height: 140px; }

.captcha-group {
  background: var(--c-bg-soft);
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  padding: var(--sp-4);
  margin-bottom: var(--sp-5);
}

.captcha-group label {
  font-size: var(--fs-sm);
  font-weight: 600;
  margin-bottom: var(--sp-2);
  display: block;
  color: var(--c-ink);
}

.captcha-error {
  display: none;
  color: #B91C1C;
  font-size: var(--fs-xs);
  margin-top: var(--sp-2);
}

.form-success {
  display: none;
  padding: var(--sp-6);
  background: var(--c-bg-soft);
  border: 1px solid var(--c-border);
  border-radius: var(--r-sm);
  color: var(--c-ink-mid);
  font-style: italic;
  text-align: center;
}

/* ============================================================
   the mission (about) page
   ============================================================ */
.mission-body {
  max-width: var(--max-w-text);
}

.mission-body h2 {
  font-size: var(--fs-xl);
  margin: var(--sp-10) 0 var(--sp-4);
}

.mission-body p {
  font-size: var(--fs-md);
  line-height: 1.75;
  color: var(--c-ink-mid);
}

.authors-grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-8);
  margin-top: var(--sp-8);
}

.author-card {
  flex: 1 1 300px;
  padding: var(--sp-6);
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  background: var(--c-white);
}

.author-card h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-1);
}

.author-card-role {
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-accent);
  margin-bottom: var(--sp-4);
}

.author-card p {
  font-size: var(--fs-sm);
  color: var(--c-ink-muted);
  line-height: 1.6;
  margin-bottom: var(--sp-3);
}

.author-card a {
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--c-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============================================================
   lore counter strip — homepage unique feature
   ============================================================ */
.lore-counters {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--c-ink);
  margin-top: var(--sp-12);
}

.lore-counter-item {
  flex: 1 1 160px;
  padding: var(--sp-8) var(--sp-6);
  border-right: 1px solid rgba(255,255,255,0.08);
  text-align: center;
}

.lore-counter-item:last-child { border-right: none; }

.lore-counter-num {
  font-family: var(--ff-serif);
  font-size: var(--fs-3xl);
  font-weight: 300;
  color: var(--c-accent-lt);
  line-height: 1;
  margin-bottom: var(--sp-2);
}

.lore-counter-label {
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(247, 243, 237, 0.5);
}

/* ============================================================
   accordion FAQ (on mission page)
   ============================================================ */
.accordion {
  border: 1px solid var(--c-border);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-top: var(--sp-6);
}

.accordion-item {
  border-bottom: 1px solid var(--c-border);
}

.accordion-item:last-child { border-bottom: none; }

.accordion-trigger {
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-5) var(--sp-6);
  font-family: var(--ff-sans);
  font-size: var(--fs-base);
  font-weight: 600;
  color: var(--c-ink);
  background: var(--c-white);
  cursor: pointer;
  transition: background var(--tr-fast), color var(--tr-fast);
  gap: var(--sp-4);
}

.accordion-trigger:hover { background: var(--c-bg-soft); color: var(--c-accent); }

.accordion-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  position: relative;
}

.accordion-icon::before,
.accordion-icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  border-radius: var(--r-pill);
  transition: transform var(--tr-base);
}

.accordion-icon::before { width: 12px; height: 2px; top: 9px; left: 4px; }
.accordion-icon::after  { width: 2px; height: 12px; top: 4px; left: 9px; }

.accordion-trigger[aria-expanded="true"] .accordion-icon::after { transform: rotate(90deg); }

.accordion-panel {
  display: none;
  padding: var(--sp-4) var(--sp-6) var(--sp-6);
  background: var(--c-bg-soft);
  font-size: var(--fs-sm);
  color: var(--c-ink-muted);
  line-height: 1.65;
}

.accordion-panel.open { display: block; }

/* ============================================================
   quote strip — homepage animated
   ============================================================ */
.quote-strip {
  background: var(--c-bg-soft);
  padding: var(--sp-12) 0;
  border-top: 1px solid var(--c-border);
  border-bottom: 1px solid var(--c-border);
  margin: var(--sp-16) 0;
  overflow: hidden;
}

.quote-track {
  position: relative;
  min-height: 120px;
}

.quote-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 var(--sp-8);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--tr-slow), transform var(--tr-slow);
  pointer-events: none;
}

.quote-slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.quote-text {
  font-family: var(--ff-serif);
  font-size: var(--fs-xl);
  font-style: italic;
  font-weight: 300;
  color: var(--c-ink);
  max-width: 680px;
  line-height: 1.45;
  margin-bottom: var(--sp-4);
}

.quote-source {
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--c-accent);
}

.quote-dots {
  display: flex;
  justify-content: center;
  gap: var(--sp-2);
  margin-top: var(--sp-6);
}

.quote-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--r-pill);
  background: var(--c-border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--tr-fast);
}

.quote-dot.active { background: var(--c-accent); }

/* ============================================================
   legal pages
   ============================================================ */
.legal-body {
  max-width: var(--max-w-text);
  margin: 0 auto;
}

.legal-body h2 {
  font-size: var(--fs-lg);
  margin: var(--sp-10) 0 var(--sp-3);
  font-weight: 600;
  font-family: var(--ff-sans);
}

.legal-body h3 {
  font-size: var(--fs-base);
  margin: var(--sp-6) 0 var(--sp-2);
  font-weight: 600;
  font-family: var(--ff-sans);
}

.legal-body p, .legal-body li {
  font-size: var(--fs-sm);
  color: var(--c-ink-muted);
  line-height: 1.7;
  margin-bottom: var(--sp-3);
}

.legal-body ul { padding-left: var(--sp-6); list-style: disc; }

.legal-updated {
  font-size: var(--fs-xs);
  color: var(--c-ink-muted);
  margin-bottom: var(--sp-8);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============================================================
   scroll reveal
   ============================================================ */
.sr {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.sr.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   footer
   ============================================================ */
footer {
  background: var(--c-ink);
  color: rgba(247, 243, 237, 0.6);
  padding: var(--sp-16) 0 var(--sp-8);
}

/* Footer editorial quote */
.footer-editorial {
  text-align: center;
  padding-bottom: var(--sp-10);
  margin-bottom: var(--sp-10);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-editorial blockquote {
  font-family: var(--ff-serif);
  font-size: var(--fs-xl);
  font-weight: 300;
  font-style: italic;
  color: rgba(247, 243, 237, 0.85);
  max-width: 620px;
  margin: 0 auto var(--sp-4);
  line-height: 1.4;
}

.footer-editorial cite {
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--c-accent);
  font-style: normal;
}

.footer-cols {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-10);
  margin-bottom: var(--sp-10);
}

.footer-col {
  flex: 1 1 180px;
}

.footer-col-heading {
  font-family: var(--ff-sans);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(247, 243, 237, 0.4);
  margin-bottom: var(--sp-4);
}

.footer-col a {
  display: block;
  font-size: var(--fs-sm);
  color: rgba(247, 243, 237, 0.65);
  text-decoration: none;
  margin-bottom: var(--sp-3);
  transition: color var(--tr-fast);
}

.footer-col a:hover { color: var(--c-accent-lt); }

.footer-brand .fpfuf-logo img {
  max-width: calc(var(--logo-w) * 0.9);
  max-height: calc(var(--logo-h) * 0.9);
  width: auto;
  height: auto;
  filter: brightness(0) invert(1) opacity(0.7);
}

.footer-brand p {
  font-size: var(--fs-sm);
  color: rgba(247, 243, 237, 0.45);
  line-height: 1.6;
  margin-top: var(--sp-4);
  margin-bottom: 0;
  max-width: 240px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: var(--sp-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-size: var(--fs-xs);
  color: rgba(247, 243, 237, 0.35);
}

.footer-legal {
  display: flex;
  gap: var(--sp-5);
}

.footer-legal a {
  font-size: var(--fs-xs);
  color: rgba(247, 243, 237, 0.35);
  text-decoration: none;
  transition: color var(--tr-fast);
}

.footer-legal a:hover { color: var(--c-accent-lt); }

/* ============================================================
   cookie banner
   ============================================================ */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-cookie);
  background: var(--c-ink);
  color: rgba(247, 243, 237, 0.85);
  padding: var(--sp-5) var(--sp-6);
  border-top: 2px solid var(--c-accent);
  transform: translateY(100%);
  transition: transform var(--tr-slow);
}

#cookie-banner.visible { transform: translateY(0); }

.cookie-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-5);
  align-items: center;
  justify-content: space-between;
}

.cookie-text p {
  font-size: var(--fs-sm);
  margin-bottom: 0;
  color: rgba(247, 243, 237, 0.75);
}

.cookie-text a {
  color: var(--c-accent-lt);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-actions {
  display: flex;
  gap: var(--sp-3);
  flex-wrap: wrap;
  flex-shrink: 0;
}

.cookie-btn-accept {
  padding: var(--sp-2) var(--sp-5);
  background: var(--c-accent);
  color: #fff;
  border: none;
  border-radius: var(--r-sm);
  font-family: var(--ff-sans);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background var(--tr-fast);
}

.cookie-btn-accept:hover { background: var(--c-accent-dk); }

.cookie-btn-decline {
  padding: var(--sp-2) var(--sp-5);
  background: transparent;
  color: rgba(247, 243, 237, 0.55);
  border: 1px solid rgba(247, 243, 237, 0.2);
  border-radius: var(--r-sm);
  font-family: var(--ff-sans);
  font-size: var(--fs-xs);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: color var(--tr-fast), border-color var(--tr-fast);
}

.cookie-btn-decline:hover {
  color: rgba(247, 243, 237, 0.85);
  border-color: rgba(247, 243, 237, 0.4);
}

/* ============================================================
   back to top
   ============================================================ */
#back-to-top {
  position: fixed;
  bottom: var(--sp-8);
  right: var(--sp-8);
  z-index: var(--z-back-to-top);
  width: 44px;
  height: 44px;
  border-radius: var(--r-pill);
  background: var(--c-accent);
  color: var(--c-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--tr-base), transform var(--tr-base);
  box-shadow: var(--shadow-md);
  border: none;
}

#back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
}

#back-to-top:hover { background: var(--c-accent-dk); }

#back-to-top svg { color: inherit; }

/* ============================================================
   animations
   ============================================================ */
@keyframes fpfuf-fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-in {
  animation: fpfuf-fade-up 0.6s ease both;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.35s; }

/* ============================================================
   responsive
   ============================================================ */
@media (min-width: 1025px) {
  .nav-links { display: flex; }
  .hamburger { display: none; }
}

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 768px) {
  h1 { font-size: var(--fs-2xl); }
  h2 { font-size: var(--fs-xl); }

  .hero-typo { padding: var(--sp-16) 0 var(--sp-12); }
  .hero-typo h1 { font-size: var(--fs-2xl); }

  .section { padding: var(--sp-12) 0; }

  .signal-item { flex: 1 1 45%; }

  .post-grid { flex-direction: column; }

  .lore-counter-item { flex: 1 1 45%; }

  .footer-cols { gap: var(--sp-8); }

  .footer-bottom { flex-direction: column; align-items: flex-start; gap: var(--sp-3); }

  .contact-grid { flex-direction: column; gap: var(--sp-8); }

  #back-to-top { bottom: var(--sp-5); right: var(--sp-5); }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--sp-4); }
  .signal-item { flex: 1 1 100%; }
  .lore-counter-item { flex: 1 1 100%; }
  .newsletter-form { flex-direction: column; }
  .cookie-inner { flex-direction: column; align-items: flex-start; }
}

/* ============================================================
   prefers-reduced-motion
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .sr { opacity: 1; transform: none; }
}
