/* ==============================================================
   METANEERING.COM — style.css
   Single stylesheet for the entire site. Loaded by every page
   in every language via: <link rel="stylesheet" href="/assets/style.css">
   Brand accent overrides: load /assets/brand-accent.css immediately after this file.

   TABLE OF CONTENTS
   ─────────────────
   1.  Design Tokens (CSS Custom Properties)
   2.  @font-face Declarations
   3.  Reset & Base
   4.  Typography
   5.  Layout Utilities (container, grid, section)
   6.  Navigation (desktop + mobile hamburger)
   7.  Language Switcher Dropdown
   8.  Hero Section
   9.  Content Sections (shared styles)
   10. Latest Section
   11. Founder Card
   12. Footer
   13. Page-specific: Perspectives / Long Voyage
   14. Page-specific: Publications
   15. Page-specific: Contact Form
   16. Reveal Animations (CLS-safe — opacity + transform only)
   17. Responsive (md: 768px, lg: 1024px)
   ============================================================== */


/* ==============================================================
   1. DESIGN TOKENS
   All colors, spacing, and type scales defined as CSS custom
   properties. Change here → changes everywhere.

   Color naming:
   - --text, --text2, --text3, --text4: primary text hierarchy
   - --line, --line2: border/divider utilities
   - --orange: burnt orange accent (#C2662D) — links, hover, CTA
   - --van-dyke: warm dark brown (#4A3C31) — secondary surfaces
   - --ecru: warm beige (#F5F0E8) — card backgrounds, highlights
   - --bg: near-white warm page background
   - --bg-footer: dark warm brown footer background (#5D5047)
   ============================================================== */
:root {
  /* Primary text hierarchy */
  --text:         #1A1D23;                   /* Main text — near black */
  --text2:        #3A2E24;                   /* Secondary text — warm dark (V2) */
  --text3:        rgba(26, 29, 35, 0.35);    /* Tertiary — muted UI, captions */
  --text4:        rgba(26, 29, 35, 0.20);    /* Weakest text / placeholders */

  /* Header / main nav chrome: primary interactive color (not --text3 — too faint on desktop) */
  --nav-chrome-text: var(--text2);

  /* Borders and dividers */
  --line:         rgba(26, 29, 35, 0.08);    /* Subtle dividers */
  --line2:        rgba(26, 29, 35, 0.12);    /* Slightly stronger dividers */

  /* Brand accent colors */
  --orange:       #C2662D;                   /* Burnt orange — hover, links, CTAs */
  /* PDF download buttons (Perspectives) — gold CTA; same alpha recipe as former orange fill */
  --pdf-cta-gold: #C5A54A;
  --van-dyke:     #4A3C31;                   /* Dark warm brown */
  --ecru:         #F5F0E8;                   /* Warm beige — cards, hero bg */

  /* Page backgrounds */
  --bg:           hsl(36, 33%, 97%);         /* Near-white warm background */
  --bg-footer:    #5D5047;                   /* Footer — warm dark brown */

  /* Footer-specific colors (contrast tuned for WCAG on --bg-footer) */
  --footer-text:  #F5F0E8;                   /* Footer body text */
  --footer-muted: rgba(245, 240, 232, 0.90); /* Footer muted text — higher contrast */
  --footer-accent:#E2D4B0;                   /* Footer headings — warm gold, brighter */

  /* Footer type — sizes only (font stacks set on .footer / headings / copyright to avoid var()+comma edge cases) */
  --footer-size-body: 0.875rem;
  --footer-lh-body: 1.45;
  --footer-size-label: 0.625rem;
  --footer-lh-label: 1.25;
  --footer-size-mono: 0.625rem;
  --footer-lh-mono: 1.5;
  --footer-stack-sm: 0.75rem;
  --footer-stack-md: 1rem;
  --footer-stack-lg: 1.5rem;

  /* Transitions */
  --transition:   0.2s ease;
  --transition-long: 0.3s ease;

  /* Header: logo + nav link sizes (1.07 ≈ +7%; set to 1.7 for +70%) */
  --nav-header-scale: 1.16;

  /* Homepage: “Built in Luxembourg” → company (hover — steel blue) */
  --link-company-hover: #1e6b9e;
  --brand-blue:     #1e6b9e;
  /* +50% relative opacity vs prior 0.16 / 0.42 (hub buttons: read / PDF / CARE) */
  --brand-blue-muted: rgba(30, 107, 158, 0.24);
  --brand-blue-line:  rgba(30, 107, 158, 0.63);
  --van-dyke-muted:   rgba(74, 60, 49, 0.24);
  --van-dyke-line-btn: rgba(74, 60, 49, 0.63);

  /* Perspective articles: one vertical step = 24px (1.5rem @ 16px root) */
  --article-stack: 1.5rem;
  /* Shared reading column for Long Voyage, ILM, Generational (ch = “0” width in font) */
  --article-measure: 76ch;
}


/* ==============================================================
   2. @font-face DECLARATIONS
   Fonts are self-hosted as WOFF2 (smallest format, modern browsers).
   font-display: swap — body text renders immediately in fallback
   font, then swaps to the loaded font. Prevents invisible text
   during font load (FOIT), avoids blocking render.

   Files expected in /fonts/:
   - HankenGrotesk-VariableFont_wght.woff2    (UI / headlines)
   - Newsreader-VariableFont_opsz,wght.woff2  (body / editorial)
   - Newsreader-Italic-VariableFont_opsz,wght.woff2 (loaded only via /assets/newsreader-italic.css on founder + long-voyage)
   - SpaceMono-Regular.woff2                  (labels / mono)
   - SpaceMono-Bold.woff2                     (bold mono labels)
   ============================================================== */

/* Hanken Grotesk — variable font (weight 100–900) */
@font-face {
  font-family: 'Hanken Grotesk';
  src: url('/fonts/HankenGrotesk-VariableFont_wght.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* Newsreader — variable font (optical size + weight) */
@font-face {
  font-family: 'Newsreader';
  src: url('/fonts/Newsreader-VariableFont_opsz,wght.woff2') format('woff2');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

/* Newsreader Italic: loaded via /assets/newsreader-italic.css on founder + long-voyage only (saves ~211 KiB elsewhere). */

/* Space Mono — Regular */
@font-face {
  font-family: 'Space Mono';
  src: url('/fonts/SpaceMono-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Space Mono — Bold */
@font-face {
  font-family: 'Space Mono';
  src: url('/fonts/SpaceMono-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}


/* ==============================================================
   3. RESET & BASE
   Minimal reset. Preserves browser defaults where sensible.
   box-sizing: border-box on everything — padding doesn't add width.
   ============================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.0625rem;       /* 17px */
  line-height: 1.65;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--orange);
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  background: none;
  border: none;
  font: inherit;
  color: inherit;
}


/* ==============================================================
   4. TYPOGRAPHY
   Type scale and text utilities.

   Roles:
   - .font-sans  → Hanken Grotesk (UI, nav, headlines, buttons)
   - .font-serif → Newsreader (body text, editorial, footer)
   - .font-mono  → Space Mono (labels, technical, code)

   Heading sizes use fluid clamping between mobile and desktop.
   ============================================================== */

/* Font-family utilities */
.font-sans  { font-family: 'Hanken Grotesk', system-ui, sans-serif; }
.font-serif { font-family: 'Newsreader', Georgia, serif; }
.font-mono  { font-family: 'Space Mono', 'Courier New', monospace; }

/* Brand “split e” (logo): base colour on the glyph, last ~⅓ overlaid with accent.
   Markup: wrap only the letter e, e.g.  metan<span class="brand-e brand-e--steel font-mono">e</span>ering
   Use .font-mono on the span (or a Space Mono parent) so the overlay matches the logo weight.
   The ::before duplicate is visual-only (not read twice by screen readers). */
.brand-e {
  position: relative;
  display: inline-block;
  font-weight: 700;
  color: var(--orange);
}

/* ::after paints above the real glyph; ::before sat underneath and was fully covered (invisible). */
.brand-e::after {
  content: 'e';
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background: linear-gradient(
    115deg,
    var(--brand-e-accent-a, var(--link-company-hover)) 0%,
    var(--brand-e-accent-b, #5ba3d4) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  clip-path: inset(0 0 0 66%);
}

.brand-e--steel {
  --brand-e-accent-a: var(--link-company-hover);
  --brand-e-accent-b: #6eb8e0;
}

.brand-e--ember {
  --brand-e-accent-a: #e8944a;
  --brand-e-accent-b: #f0b875;
}

/* Heading hierarchy */
h1, h2, h3, h4 {
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  line-height: 1.15;
  font-weight: 500;
  color: var(--text);
}

h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 300;
  letter-spacing: -0.01em;
}

h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 400;
}

h3 {
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 500;
}

h4 {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Eyebrow / label — used above section headings */
.eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 0.6875rem;       /* 11px */
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text3);
}

/* Claim text — homepage hero tagline (ERP performance). */
.claim {
  font-family: 'Space Mono', monospace;
  font-size: clamp(0.875rem, 1.5vw, 1.125rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Homepage Luxembourg line: link to /about/company/ */
a.home-lux-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(26, 29, 35, 0.22);
  transition: color var(--transition), border-color var(--transition);
}

a.home-lux-link:hover {
  color: var(--link-company-hover);
  border-bottom-color: var(--link-company-hover);
}

a.home-lux-link:focus-visible {
  outline: 2px solid var(--link-company-hover);
  outline-offset: 3px;
}

/* Homepage practice block — profisaison.com */
a.practice-home-link {
  color: var(--orange);
  text-decoration: none;
  transition: color var(--transition), filter var(--transition);
}

a.practice-home-link:hover {
  color: var(--orange);
  filter: brightness(0.88);
}

a.practice-home-link:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

/* Divider line — thin horizontal rule used between hero elements */
.divider {
  border: none;
  border-top: 1px solid var(--line2);
  margin: 2rem 0;
}

/* Muted text */
.text-muted { color: var(--text3); }
.text-muted2 { color: var(--text2); }


/* ==============================================================
   5. LAYOUT UTILITIES
   container: centered, max-width 80rem, horizontal padding.
   section: vertical padding for all page sections.
   ============================================================== */

/* Main content container — used inside every section */
.container {
  max-width: 80rem;             /* 1280px */
  margin: 0 auto;
  padding: 0 2rem;
}

/* Narrow container for editorial content (long-voyage, publications) */
.container--narrow {
  max-width: 50rem;             /* 800px */
  margin: 0 auto;
  padding: 0 2rem;
}

/* Section vertical rhythm */
section {
  padding: 5rem 0;
}

/* Utility: visually hidden (accessible, still in DOM for screen readers) */
.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;
}


/* ==============================================================
   6. NAVIGATION
   Fixed top navigation bar. Present on every page.

   Default link colour for nav chrome: var(--nav-chrome-text) → --text2
   (see :root). Hover/active use --text or --orange where defined.

   Desktop layout (≥ 768px):
     [Logo]      [Home] [Perspectives] [About ▾]     [🇬🇧 EN ▾] [Contact]
     left                center                         right

   Mobile (< 768px):
     [Logo]                                              [☰]
   Hamburger opens a fullscreen overlay with all links.

   Scroll behavior:
   - On the homepage hero, nav is transparent (class: nav--transparent)
   - After scrolling > 60px, class nav--opaque is added via JS
   - On all other pages, nav is always opaque

   Active link: current page link gets class nav__link--active
   ============================================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: calc(5rem * var(--nav-header-scale));
  display: flex;
  align-items: center;
  transition: background-color var(--transition-long),
              border-color var(--transition-long);
  border-bottom: 1px solid transparent;
}

/* Default state: used on all non-hero pages */
.nav--opaque {
  background-color: var(--bg);
  border-bottom-color: var(--line);
}

/* Transparent state: used on homepage hero before scroll */
.nav--transparent {
  background-color: transparent;
  border-bottom-color: transparent;
}

/* Inner wrapper — handles the logo / center / right three-column layout */
.nav__inner {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

/* ---- Logo ---- */
.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav__logo img {
  height: calc(3.125rem * var(--nav-header-scale));
  width: auto;
  max-height: 100%;
  object-fit: contain;
}

/* ---- Center links (desktop) ---- */
.nav__links {
  display: none;                /* Hidden on mobile; shown ≥ 768px */
  align-items: center;
  gap: 2rem;
}

.nav__link {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: calc(0.75rem * var(--nav-header-scale));
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--nav-chrome-text);
  transition: color var(--transition);
  white-space: nowrap;
}

.nav__link:hover,
.nav__link--active {
  color: var(--text);
}

/* About dropdown trigger button — styled like a nav link */
.nav__dropdown-btn {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: calc(0.75rem * var(--nav-header-scale));
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--nav-chrome-text);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
  padding: 0;
}

.nav__dropdown-btn:hover,
.nav__dropdown-btn[aria-expanded="true"] {
  color: var(--text);
}

/* Chevron icon inside dropdown button */
.nav__chevron {
  width: calc(0.625rem * var(--nav-header-scale));
  height: calc(0.625rem * var(--nav-header-scale));
  transition: transform var(--transition);
}

.nav__dropdown-btn[aria-expanded="true"] .nav__chevron {
  transform: rotate(180deg);
}

/* ---- Right side (desktop) ---- */
.nav__right {
  display: none;                /* Hidden on mobile; shown ≥ 768px */
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

/* Contact button — pill shape with border */
.nav__contact {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: calc(0.6875rem * var(--nav-header-scale));
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  border: 1px solid var(--line2);
  border-radius: 9999px;
  padding: calc(0.375rem * var(--nav-header-scale)) calc(0.875rem * var(--nav-header-scale));
  transition: color var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.nav__contact:hover {
  color: var(--orange);
  border-color: var(--orange);
}

/* ---- About dropdown menu ---- */
.nav__dropdown {
  position: relative;
}

.nav__dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--bg);
  border: 1px solid var(--line2);
  border-radius: 0.375rem;
  padding: 0.5rem 0;
  min-width: 12rem;
  box-shadow: 0 4px 24px rgba(26, 29, 35, 0.08);
  z-index: 10;
}

.nav__dropdown-menu--open {
  display: block;
}

.nav__dropdown-item {
  display: block;
  padding: 0.5rem 1.25rem;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: calc(0.75rem * var(--nav-header-scale));
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--nav-chrome-text);
  transition: color var(--transition), background-color var(--transition);
  white-space: nowrap;
}

.nav__dropdown-item:hover {
  color: var(--orange);
  background-color: var(--ecru);
}

/* Current section within About dropdown (subpages) */
.nav__dropdown-btn--active {
  color: var(--text);
}

.nav__dropdown-item--active {
  color: var(--text);
  background-color: var(--ecru);
}

/* ---- Mobile hamburger button ---- */
.nav__hamburger {
  display: flex;                /* Visible on mobile */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: calc(0.3125rem * var(--nav-header-scale));
  width: calc(2rem * var(--nav-header-scale));
  height: calc(2rem * var(--nav-header-scale));
  padding: 0.25rem;
  color: var(--text);
}

.nav__hamburger-line {
  display: block;
  width: calc(1.25rem * var(--nav-header-scale));
  height: 1.5px;
  background-color: currentColor;
  transition: transform var(--transition), opacity var(--transition);
  transform-origin: center;
}

/* Animate hamburger → X when mobile menu is open */
.nav__hamburger[aria-expanded="true"] .nav__hamburger-line:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav__hamburger[aria-expanded="true"] .nav__hamburger-line:nth-child(2) {
  opacity: 0;
}
.nav__hamburger[aria-expanded="true"] .nav__hamburger-line:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ---- Mobile overlay menu ---- */
.nav__mobile-overlay {
  display: none;                /* Shown when hamburger is active */
  position: fixed;
  inset: 0;
  background-color: var(--bg);
  z-index: 99;
  flex-direction: column;
  padding: calc(5rem * var(--nav-header-scale)) 2rem 2rem;
  overflow-y: auto;
}

.nav__mobile-overlay--open {
  display: flex;
}

.nav__mobile-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav__mobile-link {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: calc(1.25rem * var(--nav-header-scale));
  font-weight: 400;
  color: var(--text);
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--line);
  transition: color var(--transition);
}

.nav__mobile-link:hover {
  color: var(--orange);
}

.nav__mobile-link--active {
  font-weight: 500;
}

/* Mobile sub-links (About dropdown items) */
.nav__mobile-sublinks {
  display: flex;
  flex-direction: column;
  padding-left: 1rem;
  margin-top: 0.25rem;
}

.nav__mobile-sublink {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: calc(0.875rem * var(--nav-header-scale));
  font-weight: 400;
  color: var(--nav-chrome-text);
  padding: 0.375rem 0;
  transition: color var(--transition);
}

.nav__mobile-sublink:hover {
  color: var(--orange);
}

.nav__mobile-sublink--active {
  color: var(--text);
}

/* Mobile bottom: language switcher */
.nav__mobile-bottom {
  margin-top: auto;
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.nav__mobile-contact {
  display: inline-flex;
  align-items: center;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: calc(0.75rem * var(--nav-header-scale));
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text);
  border: 1px solid var(--line2);
  border-radius: 9999px;
  padding: calc(0.625rem * var(--nav-header-scale)) calc(1.25rem * var(--nav-header-scale));
  width: fit-content;
  transition: color var(--transition), border-color var(--transition);
}

.nav__mobile-contact:hover {
  color: var(--orange);
  border-color: var(--orange);
}


/* ==============================================================
   7. LANGUAGE SWITCHER
   Present in both desktop nav (right side) and mobile overlay.

   Locales (fixed order in UI): EN, FR, NL, DE, IT, ES.

   Desktop: [🇬🇧 EN ▾] button opens a dropdown with all 6 options.
   Mobile: 6 flag+code links shown directly in the overlay.

   Each language option is a plain <a href="/{lang}/{page}/">.
   Static links (no JS needed) — Google can crawl them.
   Active language is visually distinguished.
   ============================================================== */

/* Desktop language switcher container */
.lang-switcher {
  position: relative;
}

/* Desktop language button */
.lang-switcher__btn {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: calc(0.75rem * var(--nav-header-scale));
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--nav-chrome-text);
  transition: color var(--transition);
  padding: 0.25rem 0;
}

.lang-switcher__btn:hover,
.lang-switcher__btn[aria-expanded="true"] {
  color: var(--text);
}

/* Flag icon — circular SVG inline, ~18×18px (scaled with nav).
   Safari/WebKit: percentage-sized SVGs inside flex can ignore the box and
   blow up to intrinsic size — use explicit px/rem + min/max caps.
   Safari often ignores overflow:hidden + border-radius on the wrapper for
   inline SVG — clip the SVG itself; isolation + layer promote the mask. */
.lang-flag {
  --lang-flag-size: calc(1.125rem * var(--nav-header-scale));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--lang-flag-size);
  height: var(--lang-flag-size);
  min-width: var(--lang-flag-size);
  min-height: var(--lang-flag-size);
  max-width: var(--lang-flag-size);
  max-height: var(--lang-flag-size);
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 1px solid var(--line);
  line-height: 0;
  position: relative;
  isolation: isolate;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.lang-flag svg {
  display: block;
  flex: none;
  width: var(--lang-flag-size);
  height: var(--lang-flag-size);
  min-width: 0;
  max-width: var(--lang-flag-size);
  max-height: var(--lang-flag-size);
  border-radius: 50%;
  -webkit-clip-path: circle(50% at 50% 50%);
  clip-path: circle(50% at 50% 50%);
}

/* Chevron inside language button */
.lang-switcher__chevron {
  width: calc(0.5625rem * var(--nav-header-scale));
  height: calc(0.5625rem * var(--nav-header-scale));
  transition: transform var(--transition);
}

.lang-switcher__btn[aria-expanded="true"] .lang-switcher__chevron {
  transform: rotate(180deg);
}

/* Desktop language dropdown */
.lang-switcher__menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.75rem);
  right: 0;
  background-color: var(--bg);
  border: 1px solid var(--line2);
  border-radius: 0.375rem;
  padding: 0.375rem 0;
  min-width: 10rem;
  box-shadow: 0 4px 24px rgba(26, 29, 35, 0.08);
  z-index: 10;
}

.lang-switcher__menu--open {
  display: block;
}

/* Each language option row */
.lang-switcher__option {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 1rem;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: calc(0.75rem * var(--nav-header-scale));
  font-weight: 500;
  color: var(--nav-chrome-text);
  transition: color var(--transition), background-color var(--transition);
  white-space: nowrap;
}

.lang-switcher__option:hover {
  color: var(--text);
  background-color: var(--ecru);
}

/* Active language — current page language */
.lang-switcher__option--active {
  color: var(--text);
  font-weight: 600;
  background-color: var(--ecru);
}

.lang-switcher__option-code {
  text-transform: uppercase;
  min-width: 1.5rem;
}

.lang-switcher__option-name {
  color: inherit;
  font-weight: 400;
}

/* Mobile language links — shown directly in overlay, no dropdown */
.lang-mobile {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.lang-mobile__option {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: calc(0.6875rem * var(--nav-header-scale));
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--nav-chrome-text);
  padding: 0.375rem 0.625rem;
  border: 1px solid var(--line);
  border-radius: 9999px;
  transition: color var(--transition), border-color var(--transition);
}

.lang-mobile__option:hover,
.lang-mobile__option--active {
  color: var(--text);
  border-color: var(--line2);
}


/* ==============================================================
   8. HERO SECTION
   Full-viewport hero on the homepage.
   Background: --ecru
   Contains animated vertical lines (CSS-only, no JS) and a
   decorative pyramid.

   CLS RULE (Patch 6):
   All animated elements use ONLY opacity and transform transitions.
   No height, width, padding, or margin animations.
   This guarantees Cumulative Layout Shift = 0.

   The H1 and claim text are visible immediately (no fade delay).
   Only decorative elements (lines, pyramid) may animate.
   ============================================================== */

.hero {
  min-height: 100vh;
  background-color: var(--ecru);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: calc(5rem * var(--nav-header-scale)); /* Space for fixed nav */
}

/* Animated vertical lines — pure CSS, no JS, no layout impact */
.hero__lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  display: flex;
  justify-content: space-between;
  padding: 0 2rem;
  opacity: 0.12;
}

.hero__line {
  width: 1px;
  height: 100%;
  background-color: var(--text);
  transform: scaleY(0);
  transform-origin: top;
  animation: lineReveal 1s cubic-bezier(.16,1,.3,1) forwards;
}

/* Staggered delays for 6 lines */
.hero__line:nth-child(1) { animation-delay: 0.1s; }
.hero__line:nth-child(2) { animation-delay: 0.25s; }
.hero__line:nth-child(3) { animation-delay: 0.4s; }
.hero__line:nth-child(4) { animation-delay: 0.55s; }
.hero__line:nth-child(5) { animation-delay: 0.7s; }
.hero__line:nth-child(6) { animation-delay: 0.85s; }

@keyframes lineReveal {
  to { transform: scaleY(1); }
}

/* Decorative pyramid — bottom-right (pyr03.png).
   Safari: constrain replaced <img> so width:40vw cannot expand past layout. */
.hero__pyramid {
  position: absolute;
  bottom: 0;
  right: 0;
  width: min(40vw, 28rem);
  max-width: 28rem;
  height: auto;
  max-height: min(55vh, 26rem);
  object-fit: contain;
  object-position: bottom right;
  opacity: 0.06;
  pointer-events: none;
  mix-blend-mode: multiply;
}

/* Hero content wrapper */
.hero__content {
  position: relative;          /* Above the lines layer */
  z-index: 1;
  padding: 4rem 2rem;
  max-width: 80rem;
  margin: 0 auto;
  width: 100%;
}

/* Hero headline — visible immediately, no delay */
.hero__headline {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--text);
  max-width: 22ch;
  margin-bottom: 1.5rem;
}

/* Hero subheading — Newsreader serif */
.hero__sub {
  font-family: 'Newsreader', serif;
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 400;
  color: var(--text2);
  max-width: 44ch;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Hero claim — short value line under hero sub. */
.hero__claim {
  font-family: 'Space Mono', monospace;
  font-size: clamp(0.75rem, 1.2vw, 0.9375rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text);
}

/* Hero footer — bottom bar with company name + est. year */
.hero__footer {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  right: 2rem;
  max-width: 80rem;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.hero__footer-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.6875rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text3);
}


/* ==============================================================
   8b. INNER PAGE HERO + BODY (About, Founder, etc.)
   Compact hero below fixed nav — not full-viewport homepage hero.
   ============================================================== */
section.page-hero {
  padding: calc(2rem + 5rem * var(--nav-header-scale)) 0 3rem;
  background-color: var(--ecru);
  border-bottom: 1px solid var(--line);
}

/* Match .container / .hero__content (80rem) so inner pages align with nav + homepage */
.page-hero__inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 2rem;
}

.page-hero h1 {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  margin-top: 1rem;
  margin-bottom: 0.75rem;
}

.page-hero .page-hero__lead {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text2);
  max-width: var(--article-measure);
}

/* Perspectives hub — small cover thumbnail to the right of the headline */
.page-hero--perspectives-cover {
  padding-top: calc(1.25rem + 5rem * var(--nav-header-scale));
}

.page-hero__inner--perspectives-hub {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 2rem;
}

.page-hero__title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem 1.25rem;
  margin-bottom: 0.75rem;
}

.page-hero__inner--perspectives-hub .page-hero__title-row h1 {
  flex: 1 1 12rem;
  min-width: min(100%, 10rem);
  margin-top: 0;
  margin-bottom: 0;
}

.page-hero__thumb {
  flex: 0 0 auto;
  margin: 0;
  align-self: flex-start;
  max-width: 10rem;
  width: min(26vw, 10rem);
}

.page-hero__thumb .page-hero__cover-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
  border: 1px solid var(--line);
}

.page-hero__inner--perspectives-hub .page-hero__lead {
  margin-top: 0;
}

@media (max-width: 520px) {
  .page-hero__thumb {
    max-width: 7.5rem;
    width: min(34vw, 7.5rem);
  }
}

section.page-inner {
  padding: 4rem 0 5rem;
}

.page-inner__prose {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: left;
}

/* Inner pages (non-homepage): same reading measure as the three Perspectives articles (76ch), left in the 80rem column. */
.page-inner__prose p {
  margin-bottom: var(--article-stack);
  color: var(--text2);
  max-width: var(--article-measure);
  font-family: 'Newsreader', serif;
  font-size: 1.0625rem;
  line-height: 1.75;
}

.page-inner__prose p:last-child {
  margin-bottom: 0;
}

/* Editorial section titles — match .article__body h2 (exclude language-picker cards). */
.page-inner__prose h2:not(.lang-card__name) {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none;
  color: var(--text);
  margin-top: calc(var(--article-stack) * 2);
  margin-bottom: var(--article-stack);
  max-width: var(--article-measure);
}

.page-inner__prose h2:not(.lang-card__name):first-child {
  margin-top: 0;
}

.page-inner__prose .perspectives-teaser .pub-entry__title {
  max-width: var(--article-measure);
}

.page-inner__prose > ul,
.page-inner__prose > ol {
  margin: 0 0 var(--article-stack);
  padding-left: var(--article-stack);
  list-style-position: outside;
  max-width: var(--article-measure);
}

.page-inner__prose > ul {
  list-style-type: disc;
}

.page-inner__prose > ol {
  list-style-type: decimal;
}

.page-inner__prose > ul > li + li,
.page-inner__prose > ol > li + li {
  margin-top: calc(var(--article-stack) * 0.5);
}

.page-inner__prose blockquote {
  max-width: var(--article-measure);
}

.page-inner__prose .founder-expertise-panel {
  max-width: var(--article-measure);
}

.page-inner__prose .founder-project {
  max-width: var(--article-measure);
}


/* ==============================================================
   9. CONTENT SECTIONS (SHARED STYLES)
   Reusable patterns used across multiple page sections.
   ============================================================== */

/* Section with ecru background (warm beige) */
.section--ecru {
  background-color: var(--ecru);
}

/* Section with white background */
.section--white {
  background-color: #fff;
}

/* Centered section layout */
.section--centered {
  text-align: center;
}

/* Section label: eyebrow text + decorative line */
.section-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.section-label::after {
  content: '';
  display: block;
  flex: 1;
  height: 1px;
  background-color: var(--line2);
}

/* Card — bordered box used for Latest entries, Founder card */
.card {
  border: 1px solid var(--line2);
  border-radius: 0.25rem;
  padding: 2rem;
  transition: border-color var(--transition);
}

.card:hover {
  border-color: rgba(26, 29, 35, 0.25);
}

/* Read arrow link — "Read →" / "Full profile →" */
.read-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text3);
  transition: color var(--transition), gap var(--transition);
}

.read-link:hover {
  color: var(--orange);
  gap: 0.625rem;
}


/* ==============================================================
   10. LATEST SECTION
   Two entries (book chapter + position paper) separated by a
   divider line. On the homepage below the hero.
   Distinct semi-transparent band + intro line so “latest news”
   reads clearly when scrolling past the hero.
   ============================================================== */

.latest {
  position: relative;
  padding: 5rem 0;
  overflow: hidden;
  /* Warm ecru band — reads as its own strip vs. plain page bg */
  background: linear-gradient(
    180deg,
    rgba(245, 240, 232, 0.22) 0%,
    rgba(245, 240, 232, 0.58) 14%,
    rgba(245, 240, 232, 0.52) 50%,
    rgba(245, 240, 232, 0.58) 86%,
    rgba(245, 240, 232, 0.18) 100%
  );
  border-top: 1px solid var(--line2);
  border-bottom: 1px solid var(--line2);
  box-shadow:
    inset 0 1px 0 0 rgba(255, 255, 255, 0.55),
    inset 0 -1px 0 0 rgba(26, 29, 35, 0.04);
}

/* Narrow accent — signals “editorial / news” without dominating */
.latest::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(
    180deg,
    rgba(194, 102, 45, 0.45) 0%,
    rgba(194, 102, 45, 0.12) 45%,
    rgba(74, 60, 49, 0.2) 100%
  );
  pointer-events: none;
}

.latest .eyebrow {
  color: var(--van-dyke);
  font-weight: 500;
  letter-spacing: 0.2em;
}

.latest__intro {
  margin-bottom: 2.5rem;
}

.latest__intro .section-label {
  margin-bottom: 1rem;
}

.latest__lead {
  font-family: 'Newsreader', serif;
  font-size: clamp(0.9375rem, 1.45vw, 1.0625rem);
  font-style: italic;
  color: var(--text2);
  line-height: 1.55;
  max-width: 52ch;
  margin: 0;
}

.latest__entry {
  padding: 2rem 0;
  border-bottom: 1px solid var(--line);
}

.latest__entry:first-of-type {
  border-top: 1px solid var(--line);
}

.latest__meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
}

.latest__type {
  font-family: 'Space Mono', monospace;
  font-size: 0.625rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text3);
}

.latest__title {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: clamp(1.125rem, 2vw, 1.5rem);
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.latest__title a:hover {
  color: var(--orange);
}

.latest__teaser {
  font-family: 'Newsreader', serif;
  font-size: 1rem;
  color: var(--text2);
  line-height: 1.6;
  max-width: 60ch;
  margin-bottom: 1.25rem;
}


/* ==============================================================
   11. FOUNDER CARD
   Portrait image + name + description + profile link.
   Used on homepage (compact) and /founder/ page (full).
   ============================================================== */

.founder-card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.founder-card__portrait {
  width: 6rem;                  /* 96px */
  height: 6rem;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  filter: grayscale(100%);
  background-color: var(--ecru);
}

.founder-card__portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-card__body {
  flex: 1;
}

.founder-card__label {
  font-family: 'Space Mono', monospace;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text3);
  margin-bottom: 0.375rem;
}

.founder-card__name {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.founder-card__bio {
  font-family: 'Newsreader', serif;
  font-size: 0.9375rem;
  color: var(--text2);
  line-height: 1.6;
  margin-bottom: 1rem;
  max-width: 52ch;
}

/* Founder page — hero tagline, expertise panel, publications, projects */
.founder-page__tagline {
  margin: 0 0 1.5rem;
  padding: 0;
  border: none;
  font-family: 'Newsreader', serif;
  font-size: 1rem;
  color: var(--text2);
  line-height: 1.5;
}

.founder-page__tagline p {
  margin: 0 0 0.25rem;
}

.founder-page__tagline footer {
  font-family: 'Space Mono', monospace;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text3);
}

.founder-page__role {
  font-family: 'Space Mono', monospace;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text3);
  margin: -0.25rem 0 0.75rem;
}

.founder-card--full {
  align-items: flex-start;
  gap: 2rem;
  padding: 2rem;
  border: 1px solid var(--line2);
  border-radius: 0.25rem;
  background: #fff;
}

.founder-card--full .founder-card__portrait {
  width: 12.5rem;
  height: 12.5rem;
}

.founder-expertise-panel {
  margin: 1.125rem 0 2rem;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--line2);
  border-radius: 0.25rem;
  background: rgba(255, 255, 255, 0.6);
}

.founder-expertise-panel__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.founder-expertise-panel__list li {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.founder-expertise-panel__hint {
  font-family: 'Newsreader', serif;
  font-size: 0.875rem;
  color: var(--text3);
  line-height: 1.45;
}

.founder-word-quote {
  margin: 0;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--orange);
  background: rgba(255, 255, 255, 0.6);
}

.founder-word-quote p {
  margin: 0;
  font-family: 'Newsreader', serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text2);
}

.founder-section-h2 {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  margin: 0 0 1rem;
  text-align: start;
  max-width: var(--article-measure);
}

#founder-publications .container > .founder-pub-list {
  max-width: var(--article-measure);
}

.founder-section-lead {
  text-align: start;
  margin: 0 0 2.5rem;
  max-width: var(--article-measure);
  color: var(--text2);
  line-height: 1.6;
}

.founder-pub-list .pub-entry:first-child {
  padding-top: 0;
}

.founder-project {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.founder-project:first-of-type {
  margin-top: 1.5rem;
  border-top: 0;
  padding-top: 0;
}

.founder-project__meta {
  font-family: 'Space Mono', monospace;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text3);
  margin-bottom: 0.5rem;
}

.founder-nav-links {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

/* Privacy policy (legal tables + NL/IT/ES translation notice) */
.privacy-lang-notice {
  margin: 0 0 var(--article-stack);
  padding: 1rem 1.25rem;
  border: 1px solid var(--line2);
  border-left: 3px solid var(--orange);
  background: rgba(255, 255, 255, 0.65);
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text2);
  max-width: var(--article-measure);
}

.privacy-lang-notice a {
  color: var(--orange);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.privacy-lang-notice a:hover {
  color: var(--text);
}

.privacy-meta {
  font-size: 0.9375rem;
  color: var(--text3);
}

/* Impressum — anchored EU / insurance blocks */
.impressum-section {
  scroll-margin-top: 5rem;
  margin-top: 2.25rem;
}

.article__body .impressum-section .disclaimer {
  font-size: 0.875rem;
  color: var(--text3);
  margin-top: 0.65rem;
  line-height: 1.55;
}

.privacy-table-wrap {
  overflow-x: auto;
  margin: 0 0 var(--article-stack);
  max-width: var(--article-measure);
  -webkit-overflow-scrolling: touch;
}

.privacy-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  line-height: 1.45;
  border: 1px solid var(--line2);
}

.privacy-table th,
.privacy-table td {
  border: 1px solid var(--line2);
  padding: 0.5rem 0.65rem;
  text-align: left;
  vertical-align: top;
}

.privacy-table th {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text3);
  background: rgba(245, 240, 232, 0.5);
}

.privacy-table code {
  font-family: 'Space Mono', monospace;
  font-size: 0.8125rem;
}

.privacy-back {
  margin-top: calc(var(--article-stack) * 2);
}

/* About — Career & Culture (long-form; same measure as articles; special paragraphs override body p) */
.page-inner__prose.career-prose .career-governing,
.page-inner__prose.career-prose .career-profile,
.page-inner__prose.career-prose .career-systems-grid,
.page-inner__prose.career-prose .career-cta {
  max-width: var(--article-measure);
}

.page-inner__prose.career-prose .career-governing p,
.page-inner__prose.career-prose .career-sys p {
  max-width: none;
}

.page-inner__prose.career-prose p.career-part-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.625rem;
  line-height: 1.5;
  letter-spacing: 0.2em;
}

.page-inner__prose.career-prose p.career-profile__label {
  font-family: 'Space Mono', monospace;
  font-size: 0.55rem;
  line-height: 1.5;
  letter-spacing: 0.2em;
}

.page-inner__prose.career-prose p.career-profile__title {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.35;
}

.page-inner__prose.career-prose p.career-languages-line {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.04em;
}

.page-inner__prose.career-prose p.career-cta__title {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.35;
}

.career-part-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 700;
  padding: 2.5rem 0 1rem;
  margin-top: 1.5rem;
  margin-bottom: 0;
  border-top: 1px solid var(--line2);
}

.page-inner__prose.career-prose > .career-part-label:first-of-type {
  border-top: 0;
  margin-top: 0;
  padding-top: 0;
}

.career-governing {
  margin: 1rem 0 2rem;
  border-left: 3px solid var(--orange);
  padding-left: 1.25rem;
}

.career-governing__line {
  font-family: 'Newsreader', serif;
  font-size: 1.0625rem;
  font-style: italic;
  color: var(--van-dyke);
  line-height: 1.65;
  margin-bottom: 0.35rem;
}

.career-governing__whisper {
  font-family: 'Newsreader', serif;
  font-size: 0.8125rem;
  font-style: italic;
  color: var(--text3);
  line-height: 1.6;
  margin-top: 0.75rem;
  margin-bottom: 0;
}

.career-body-text--quiet {
  font-size: 0.9375rem;
  color: var(--text3);
}

.career-profile {
  margin-bottom: 2rem;
}

.career-profile__label {
  font-family: 'Space Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text4);
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.career-profile__title {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--van-dyke);
  margin: 0 0 0.5rem;
}

.career-profile__body {
  font-size: 1rem;
  line-height: 1.78;
  color: var(--text2);
}

.career-systems-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
  margin: 1rem 0 1.5rem;
}

@media (max-width: 560px) {
  .career-systems-grid {
    grid-template-columns: 1fr;
  }
}

.career-sys {
  border: 1px solid var(--line2);
  background-color: var(--ecru);
  padding: 1rem 1.25rem;
}

.career-sys--primary {
  border-left: 3px solid var(--orange);
}

.career-sys__label {
  font-family: 'Space Mono', monospace;
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.career-sys__name {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--van-dyke);
  margin: 0.1rem 0;
}

.career-sys__desc {
  font-family: 'Newsreader', serif;
  font-size: 0.875rem;
  color: var(--text3);
  line-height: 1.5;
  margin: 0;
}

.career-languages-line {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--van-dyke);
  letter-spacing: 0.04em;
  margin: 0.5rem 0 1rem;
}

.career-cta {
  border-top: 1px solid var(--line2);
  padding: 2.25rem 0 0;
  margin-top: 2.25rem;
}

.career-cta__title {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--van-dyke);
  margin-bottom: 0.5rem;
}


/* ==============================================================
   12. FOOTER
   Three columns: brand + connect | explore + location | company + EU teaser.
   EU block sits under Company links (right of Location on desktop).
   Breakpoints: ~640px / ~900px.
   ============================================================== */

.footer {
  background-color: var(--bg-footer);
  color: var(--footer-text);
  font-family: 'Newsreader', Georgia, serif;
  font-size: var(--footer-size-body);
  line-height: var(--footer-lh-body);
  padding: var(--footer-stack-lg) 0 var(--footer-stack-md);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--footer-stack-lg);
  padding-bottom: var(--footer-stack-lg);
  border-bottom: 1px solid rgba(245, 240, 232, 0.14);
  align-items: start;
}

@media (min-width: 640px) and (max-width: 899px) {
  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--footer-stack-lg) var(--footer-stack-lg);
  }

  .footer__col--brand {
    grid-column: 1 / -1;
  }
}

@media (min-width: 900px) {
  .footer__grid {
    grid-template-columns: minmax(0, 1.28fr) minmax(0, 1fr) minmax(0, 1.05fr);
    gap: var(--footer-stack-lg) var(--footer-stack-lg);
  }

  .footer__col--brand {
    grid-column: auto;
  }
}

.footer__col {
  min-width: 0;
}

.footer__logo {
  margin-bottom: var(--footer-stack-sm);
}

.footer__logo img {
  height: 2.375rem;
  width: auto;
  object-fit: contain;
  opacity: 0.95;
}

/* Body copy: same size + line-height as links & address & EU text */
.footer__description {
  font-size: var(--footer-size-body);
  line-height: var(--footer-lh-body);
  font-weight: 400;
  color: var(--footer-muted);
  max-width: 42ch;
  margin: 0 0 var(--footer-stack-md);
}

/* Section labels — Hanken, one scale */
.footer__heading {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: var(--footer-size-label);
  font-weight: 600;
  line-height: var(--footer-lh-label);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--footer-accent);
  margin: 0 0 var(--footer-stack-sm);
}

.footer__col--brand > .footer__heading {
  margin-top: 0;
}

.footer__col--mid > .footer__heading + .footer__links + .footer__heading {
  margin-top: var(--footer-stack-md);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer__link {
  font-size: var(--footer-size-body);
  line-height: var(--footer-lh-body);
  font-weight: 400;
  color: var(--footer-muted);
  transition: color var(--transition);
}

.footer__link:hover {
  color: var(--footer-text);
}

.footer__address {
  font-size: var(--footer-size-body);
  line-height: var(--footer-lh-body);
  font-weight: 400;
  color: var(--footer-muted);
  font-style: normal;
  margin: 0;
}

/* EU teaser — same Newsreader body metrics as links */
.footer__eu-teaser {
  margin-top: var(--footer-stack-md);
  padding-top: var(--footer-stack-md);
  border-top: 1px solid rgba(245, 240, 232, 0.12);
}

.footer__eu-teaser-link {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--footer-stack-sm);
  text-decoration: none;
  color: inherit;
  transition: opacity var(--transition);
}

.footer__eu-teaser-link:hover {
  opacity: 0.9;
}

.footer__eu-teaser-link:focus-visible {
  outline: 2px solid var(--footer-accent);
  outline-offset: 3px;
}

.footer__eu-teaser-logo {
  flex-shrink: 0;
  display: block;
  height: 40px;
  width: auto;
  object-fit: contain;
}

.footer__eu-teaser-copy {
  font-size: var(--footer-size-body);
  line-height: var(--footer-lh-body);
  font-weight: 400;
  letter-spacing: 0;
  color: var(--footer-muted);
  min-width: 0;
}

.footer__eu-teaser-title {
  font-weight: 600;
  color: var(--footer-text);
}

.footer__eu-teaser-sub {
  font-weight: 400;
  color: var(--footer-muted);
}

/* exali liability seal — official exali.com embed (no decorative frame) */
.footer__exali-seal {
  margin-top: var(--footer-stack-md);
}

.footer__exali-seal-link {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
}

.footer__exali-seal-link:focus-visible {
  outline: 2px solid var(--footer-accent);
  outline-offset: 3px;
}

.footer__exali-seal-link img {
  display: block;
  width: 65px;
  height: 65px;
  border: 0;
}

.footer__bottom {
  padding-top: var(--footer-stack-md);
}

.footer__copyright {
  font-family: 'Space Mono', monospace;
  font-size: var(--footer-size-mono);
  line-height: var(--footer-lh-mono);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--footer-muted);
  margin: 0;
}


/* ==============================================================
   13. PAGE-SPECIFIC: PERSPECTIVES / LONG VOYAGE
   Magazine-style index page and individual article page.
   ============================================================== */

/* Perspectives index — numbered entry list */
.perspectives-entry {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1.5rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--line);
}

.perspectives-entry__number {
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  color: var(--text4);
  padding-top: 0.25rem;
}

.perspectives-entry__type {
  font-family: 'Space Mono', monospace;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

.perspectives-entry__title {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: clamp(1rem, 2vw, 1.375rem);
  font-weight: 400;
  color: var(--text);
  margin-bottom: 0.625rem;
  line-height: 1.3;
}

.perspectives-entry__teaser {
  font-family: 'Newsreader', serif;
  font-size: 0.9375rem;
  color: var(--text2);
  line-height: 1.6;
  margin-bottom: 1rem;
  max-width: 56ch;
}

.perspectives-entry__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-bottom: 1rem;
}

.tag {
  font-family: 'Space Mono', monospace;
  font-size: 0.5625rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text3);
  border: 1px solid var(--line2);
  border-radius: 9999px;
  padding: 0.1875rem 0.5625rem;
}

/* Article / Long Voyage page */
.article__header {
  padding: calc(3rem + 5rem * var(--nav-header-scale)) 0 3rem;
  background-color: var(--ecru);
}

.article__header-grid {
  display: grid;
  grid-template-columns: 1fr minmax(200px, 38%);
  gap: var(--article-stack) calc(var(--article-stack) * 2);
  align-items: start;
}

@media (max-width: 900px) {
  .article__header-grid {
    grid-template-columns: 1fr;
  }

  .article__header-visual {
    order: -1;
    max-width: 20rem;
    margin: 0 auto;
  }
}

.article__header-text {
  min-width: 0;
}

.article__kicker {
  font-family: 'Space Mono', monospace;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text3);
  margin: 0 0 var(--article-stack);
}

.article__pubdate {
  font-family: 'Space Mono', monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
  color: var(--text4);
  margin: 0 0 var(--article-stack);
}

.article__title {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--text);
  margin: 0 0 var(--article-stack);
}

.article__h1-sub {
  display: block;
  font-weight: 400;
  font-size: 0.92em;
  color: var(--text2);
  margin-top: 0.35rem;
}

.article__tagline {
  margin-top: var(--article-stack);
  margin-bottom: var(--article-stack);
}

.article__author {
  font-family: 'Newsreader', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--text3);
  margin: 0 0 var(--article-stack);
}

.article__pdf-row {
  margin: 0 0 var(--article-stack);
}

.article__header-img {
  width: 100%;
  height: auto;
  max-width: 420px;
  margin-left: auto;
  display: block;
  mix-blend-mode: multiply;
  opacity: 0.92;
}

.article__header-img--archiving-hero {
  mix-blend-mode: normal;
  opacity: 1;
}

.article__header-img--gen-hero {
  mix-blend-mode: normal;
  opacity: 1;
}

.article__back {
  margin-top: calc(var(--article-stack) * 2);
}

.article__body .article__disclaimer:last-of-type,
.article__body p.article__copyright {
  font-size: 0.9375rem;
  color: var(--text3);
}

.article__disclaimer-heading {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  margin-top: calc(var(--article-stack) * 2);
  margin-bottom: var(--article-stack);
  color: var(--text);
}

.article__byline {
  font-family: 'Space Mono', monospace;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text3);
  margin-bottom: var(--article-stack);
}

.article__byline a:hover {
  color: var(--orange);
}

.article__date {
  font-variant-numeric: tabular-nums;
}

/* Article body text — perspective articles only (paired with .page-inner__prose) */
.article__body.page-inner__prose h2 {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 500;
  margin-top: calc(var(--article-stack) * 2);
  margin-bottom: var(--article-stack);
  color: var(--text);
  letter-spacing: normal;
  text-transform: none;
}

.article__body.page-inner__prose h2:first-child {
  margin-top: 0;
}

.article__body.page-inner__prose p {
  font-family: 'Newsreader', serif;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--text2);
  margin-bottom: var(--article-stack);
}

.article__body.page-inner__prose h3:not(.article__disclaimer-heading) {
  margin-top: var(--article-stack);
  margin-bottom: calc(var(--article-stack) * 0.75);
}

.article__body.page-inner__prose ul,
.article__body.page-inner__prose ol {
  margin: 0 0 var(--article-stack);
  padding-left: var(--article-stack);
  list-style-position: outside;
}

.article__body.page-inner__prose ul {
  list-style-type: disc;
}

.article__body.page-inner__prose ol {
  list-style-type: decimal;
}

.article__body.page-inner__prose li + li {
  margin-top: calc(var(--article-stack) * 0.5);
}

/* All Perspectives articles: one measure (76ch), left-aligned in the 80rem prose box (same padding as .container). */
.article__body.page-inner__prose p,
.article__body.page-inner__prose h2,
.article__body.page-inner__prose h3,
.article__body.page-inner__prose ul,
.article__body.page-inner__prose ol,
.article__body.page-inner__prose blockquote,
.article__body.page-inner__prose .article__end-tools,
.article__body.page-inner__prose .article__related,
.article__body.page-inner__prose .article__back {
  max-width: var(--article-measure);
}

.article__body.page-inner__prose .article__care-footnote {
  max-width: min(var(--article-measure), 100%);
}

/* Inline product link in article body — same type as surrounding text; underline = link */
.article__body.page-inner__prose a.article__inline-text-link {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  font-style: inherit;
  letter-spacing: normal;
  text-transform: none;
  display: inline;
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.12em;
}

.article__body.page-inner__prose a.article__inline-text-link:hover,
.article__body.page-inner__prose a.article__inline-text-link:focus-visible {
  color: var(--orange);
  outline: none;
}

.article__body blockquote {
  border-left: 3px solid var(--orange);
  padding: calc(var(--article-stack) * 0.5) 0 calc(var(--article-stack) * 0.5) var(--article-stack);
  margin: calc(var(--article-stack) * 2) 0;
  color: var(--text2);
  font-style: italic;
}

/* Optional support / donation line under PDF download */
.article__donate {
  margin-top: 2rem;
  padding: 1.25rem 1.5rem;
  max-width: 42rem;
  border: 1px solid var(--line2);
  border-radius: 2px;
  background-color: rgba(255, 255, 255, 0.45);
}

.article__donate__text {
  font-family: 'Newsreader', serif;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text2);
  margin: 0 0 0.75rem;
}

.article__donate .read-link {
  margin-top: 0;
}

/* Perspectives hub — article teaser row */
.perspectives-teaser {
  margin-top: 2rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}

.perspectives-teaser:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.perspectives-teaser__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.75rem;
  align-items: center;
  margin-top: 1rem;
}

/* Perspectives hub — compact row: Read (blue), PDF (orange), CARE (van dyke); uniform min-height */
.perspectives-teaser__actions .perspectives-teaser__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  min-height: 2.125rem;
  padding: 0.4rem 0.85rem;
  box-sizing: border-box;
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  border: 1px solid transparent;
  line-height: 1.2;
  transition: background-color var(--transition), border-color var(--transition), color var(--transition);
}

.perspectives-teaser__actions .perspectives-teaser__btn:hover {
  gap: 0.25rem;
}

.perspectives-teaser__actions .perspectives-teaser__btn--read {
  color: var(--brand-blue);
  background-color: var(--brand-blue-muted);
  border-color: var(--brand-blue-line);
}

.perspectives-teaser__actions .perspectives-teaser__btn--read:hover,
.perspectives-teaser__actions .perspectives-teaser__btn--read:focus-visible {
  color: var(--brand-blue);
  background-color: rgba(30, 107, 158, 0.39);
  border-color: rgba(30, 107, 158, 0.83);
  outline: none;
}

.perspectives-teaser__actions .perspectives-teaser__btn--care {
  color: var(--van-dyke);
  background-color: var(--van-dyke-muted);
  border-color: var(--van-dyke-line-btn);
}

.perspectives-teaser__actions .perspectives-teaser__btn--care:hover,
.perspectives-teaser__actions .perspectives-teaser__btn--care:focus-visible {
  color: var(--van-dyke);
  background-color: rgba(74, 60, 49, 0.39);
  border-color: rgba(74, 60, 49, 0.83);
  outline: none;
}

/* Hub PDF: smaller + same translucency as generational article CTA */
.perspectives-teaser__actions a.long-voyage-pdf:not(.long-voyage-pdf--ghost) {
  color: var(--pdf-cta-gold);
  background-color: rgba(197, 165, 74, 0.24);
  border-color: rgba(197, 165, 74, 0.63);
  box-shadow: 0 1px 2px rgba(26, 29, 35, 0.06);
  padding: 0.4rem 0.85rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.055em;
  min-height: 2.125rem;
  border-radius: 2px;
  gap: 0.25rem;
}

.perspectives-teaser__actions a.long-voyage-pdf:not(.long-voyage-pdf--ghost):hover,
.perspectives-teaser__actions a.long-voyage-pdf:not(.long-voyage-pdf--ghost):focus-visible {
  color: var(--pdf-cta-gold);
  background-color: rgba(197, 165, 74, 0.39);
  border-color: rgba(197, 165, 74, 0.83);
  outline: none;
}

.perspectives-teaser__actions .perspectives-teaser__btn--pdf-disabled,
.perspectives-teaser__actions span.long-voyage-pdf--ghost {
  color: var(--pdf-cta-gold);
  background-color: rgba(197, 165, 74, 0.24);
  border: 1px solid rgba(197, 165, 74, 0.63);
  box-shadow: 0 1px 2px rgba(26, 29, 35, 0.06);
  cursor: default;
  pointer-events: none;
  user-select: none;
}

/* PDF download — translucent gold (same opacity steps as prior orange) */
a.read-link.long-voyage-pdf {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 1.35rem;
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  color: var(--pdf-cta-gold);
  background-color: rgba(197, 165, 74, 0.24);
  border: 1px solid rgba(197, 165, 74, 0.63);
  border-radius: 2px;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(26, 29, 35, 0.06);
}

a.read-link.long-voyage-pdf:hover:not(.long-voyage-pdf--ghost),
a.read-link.long-voyage-pdf:focus-visible:not(.long-voyage-pdf--ghost) {
  color: var(--pdf-cta-gold);
  background-color: rgba(197, 165, 74, 0.39);
  border-color: rgba(197, 165, 74, 0.83);
  outline: none;
}

/* Archiving whitepaper — same PDF CTA shape as other perspective articles */
.article__pdf-row--archiving {
  margin: 0 0 var(--article-stack);
}

/* Generational article — PDF row(s); .multi = three-language downloads */
.article__availability-note {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--text3, #5a5a5a);
  margin: 0.35rem 0 0;
  max-width: 42rem;
}

.article__pdf-row--generational {
  margin: 0 0 var(--article-stack);
}

.article__pdf-row--generational.article__pdf-row--multi {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  align-items: baseline;
}

.article__pdf-row--generational.article__pdf-row--multi .article__pdf-gap {
  color: var(--text4, #888);
  user-select: none;
}

.article__pdf-row--generational.article__pdf-row--multi .article__pdf-lang {
  font-weight: 600;
}

.article__pdf-row--generational .read-link.long-voyage-pdf.long-voyage-pdf--ghost {
  cursor: default;
  user-select: none;
  pointer-events: none;
}

.article__end-tools {
  margin-top: calc(var(--article-stack) * 2);
  padding-top: var(--article-stack);
  border-top: 1px solid var(--line2);
}

.article__pdf-row--end {
  margin: 0 0 var(--article-stack);
}

/* Related links — same rhythm as end-tools (replaces former inline styles on <nav>) */
.article__related {
  margin-top: var(--article-stack);
  padding-top: var(--article-stack);
  border-top: 1px solid var(--line2);
  font-size: 0.95rem;
  font-family: 'Newsreader', Georgia, serif;
}

/* Internal Metaneering links in related row: same serif as body (not .read-link / Hanken) */
.article__related > a[href^="/"] {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.12em;
}

.article__related > a[href^="/"]:hover,
.article__related > a[href^="/"]:focus-visible {
  color: var(--orange);
}

.article__care-footnote {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 0.6875rem;
  line-height: 1.5;
  color: var(--text4);
  margin: 0;
  max-width: 52ch;
}

.article__care-footnote__link {
  color: var(--text3);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article__care-footnote__link:hover {
  color: var(--orange);
}

/* ==============================================================
   Company page — imagery, slogan, product strip
   ============================================================== */
.company-slogan {
  font-family: 'Newsreader', Georgia, serif;
  font-size: clamp(1.15rem, 2.5vw, 1.45rem);
  font-weight: 500;
  font-style: italic;
  color: var(--orange);
  margin: 0.5rem 0 0;
  letter-spacing: 0.02em;
}

.company-visual-section {
  background: hsl(36, 28%, 95%);
  border-top: 1px solid var(--line2);
  border-bottom: 1px solid var(--line2);
  padding: clamp(1.5rem, 4vw, 2.75rem) 0;
}

.company-visual-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.25rem, 3vw, 2rem);
  max-width: 920px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .company-visual-grid {
    grid-template-columns: 1fr 1fr;
  }

  .company-visual-grid .company-visual:first-child {
    grid-column: 1 / -1;
  }
}

.company-visual {
  margin: 0;
}

.company-visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.company-visual figcaption {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--text3);
  margin-top: 0.5rem;
}

.company-visual--card img {
  max-width: 420px;
  margin: 0 auto;
}

.company-prose .company-product {
  margin: 2rem 0;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line2);
  border-bottom: 1px solid var(--line2);
}

.company-product__heading {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.company-product__link {
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--orange);
}

.company-product__link:hover {
  color: var(--orange);
}

.company-product__name {
  font-family: 'Hanken Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
}

.company-credentials {
  margin-top: 2rem;
}

.company-credentials__list {
  margin: 0.5rem 0 1.25rem;
  padding-left: 1.25rem;
}

.company-credentials__list li {
  margin-bottom: 0.35rem;
}

.company-credentials__sub {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text3);
  margin: 1.25rem 0 0.35rem;
}

/* Company page — compact layout (founder card + legal + verify) */
.company-hero--compact {
  padding: 7rem 0 4rem;
}

.container--company {
  max-width: 56rem;
}

/* Map under hero — left-aligned reading column, not centered narrow strip */
.company-map {
  margin: 0 0 2.5rem;
  max-width: 28rem;
}

.company-map img {
  width: 100%;
  height: auto;
  border-radius: 0.25rem;
  filter: grayscale(30%);
}

.company-hero__title {
  margin-top: 0.75rem;
}

.company-compact-lead {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.125rem;
  color: var(--text2);
  line-height: 1.7;
  max-width: 52ch;
  margin-top: 1.25rem;
}

.company-compact-body {
  padding-bottom: 4rem;
}

.company-compact-founder {
  margin-bottom: 3rem;
}

.company-compact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

@media (max-width: 640px) {
  .company-compact-grid {
    grid-template-columns: 1fr;
  }
}

.company-compact-section-title {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text3);
  margin-bottom: 1rem;
}

.company-compact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9375rem;
  line-height: 2;
  color: var(--text2);
}

.company-compact-product-text {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 0.9375rem;
  color: var(--text2);
  line-height: 1.7;
  margin: 0;
}

.company-compact-product-text a {
  color: var(--orange);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s, color 0.15s;
}

.company-compact-product-text a:hover,
.company-compact-product-text a:focus-visible {
  border-bottom-color: var(--orange);
}

.company-verify {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.company-verify__intro {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 0.9375rem;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.company-verify__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.company-verify-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: 1px solid var(--line2);
  border-radius: 0.25rem;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text2);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}

.company-verify-btn:hover,
.company-verify-btn:focus-visible {
  border-color: var(--orange);
  color: var(--orange);
}

.company-privacy-note {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 0.9375rem;
  color: var(--text2);
  margin-top: 2rem;
}

.company-compact-cta {
  margin-top: 2.5rem;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

/* ==============================================================
   14. PAGE-SPECIFIC: PUBLICATIONS
   Chronological list of academic / professional publications.
   ============================================================== */

.pub-entry {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--line);
}

.pub-entry__date {
  font-family: 'Space Mono', monospace;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text3);
  margin-bottom: 0.375rem;
}

.pub-entry__type {
  font-family: 'Space Mono', monospace;
  font-size: 0.5625rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange);
  margin-bottom: 0.5rem;
}

.pub-entry__title {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 0.375rem;
  line-height: 1.35;
}

.pub-entry__publisher {
  font-family: 'Newsreader', serif;
  font-size: 0.875rem;
  color: var(--text3);
  margin-bottom: 0.625rem;
}

.pub-entry__link {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--orange);
  transition: opacity var(--transition);
}

.pub-entry__link:hover {
  opacity: 0.7;
  color: var(--orange);
}


/* ==============================================================
   15. PAGE-SPECIFIC: CONTACT FORM
   Consultation booking form on /contact/.
   ============================================================== */

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.form-label {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 0.6875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text3);
}

.form-input,
.form-textarea {
  font-family: 'Newsreader', serif;
  font-size: 1rem;
  color: var(--text);
  background-color: transparent;
  border: 1px solid var(--line2);
  border-radius: 0.1875rem;
  padding: 0.75rem 1rem;
  transition: border-color var(--transition);
  width: 100%;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--orange);
}

.form-textarea {
  min-height: 8rem;
  resize: vertical;
}

.form-required {
  color: var(--orange);
  margin-left: 0.125rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.75rem 1.75rem;
  border-radius: 9999px;
  transition: background-color var(--transition), color var(--transition),
              border-color var(--transition);
  cursor: pointer;
}

.btn--primary {
  background-color: var(--text);
  color: var(--bg);
  border: 1px solid var(--text);
}

.btn--primary:hover {
  background-color: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.btn--outline {
  background-color: transparent;
  color: var(--text);
  border: 1px solid var(--line2);
}

.btn--outline:hover {
  border-color: var(--orange);
  color: var(--orange);
}


/* ==============================================================
   16. REVEAL ANIMATIONS
   CLS-safe entrance animations. Uses ONLY opacity and transform.
   No height, width, padding, or margin changes — those cause CLS.

   Usage:
   - Add class="reveal" to any element that should animate in
   - The IntersectionObserver in nav.js adds class "visible"
   - CSS transitions handle the visual effect

   Reduced motion: users who prefer reduced motion get no animation.
   ============================================================== */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s cubic-bezier(.16,1,.3,1),
              transform 0.6s cubic-bezier(.16,1,.3,1);
}

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

/* Stagger delay utilities for sibling elements */
.reveal--delay-1 { transition-delay: 0.1s; }
.reveal--delay-2 { transition-delay: 0.2s; }
.reveal--delay-3 { transition-delay: 0.3s; }
.reveal--delay-4 { transition-delay: 0.4s; }

/* Respect user's motion preference */
@media (prefers-reduced-motion: reduce) {
  .reveal,
  .hero__line,
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}


/* ==============================================================
   17. RESPONSIVE
   Mobile-first base styles above. These overrides apply at
   larger breakpoints.

   Breakpoints:
   - sm: 640px  — small tablets
   - md: 768px  — tablets / desktop nav threshold
   - lg: 1024px — desktop
   - xl: 1280px — wide desktop
   ============================================================== */

/* ---- sm (640px) ---- */
@media (min-width: 640px) {
  .container {
    padding: 0 2rem;
  }

  .founder-card {
    gap: 2rem;
  }
}

/* ---- md (768px) — Desktop navigation appears ---- */
@media (min-width: 768px) {
  /* Show desktop nav elements */
  .nav__links {
    display: flex;
  }

  .nav__right {
    display: flex;
  }

  /* Hide mobile hamburger */
  .nav__hamburger {
    display: none;
  }

  /* Hero content wider */
  .hero__content {
    padding: 5rem 2rem;
  }
}

/* ---- lg (1024px) ---- */
@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }

  .hero__content {
    padding: 6rem 2rem;
  }

  section {
    padding: 6rem 0;
  }
}

/* ---- Mobile overrides (< 768px) ---- */
@media (max-width: 767px) {
  /* Perspectives entry: single column */
  .perspectives-entry {
    grid-template-columns: 1fr;
    gap: 0.5rem;
  }

  .perspectives-entry__number {
    display: none;
  }

  /* Founder card: stack on very small screens */
  .founder-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .container,
  .container--narrow {
    padding: 0 1.25rem;
  }

  .page-hero__inner,
  .page-inner__prose {
    padding: 0 1.25rem;
  }

  .hero__content {
    padding: 3rem 1.25rem;
  }

  .card {
    padding: 1.25rem;
  }
}

/* Long Voyage PDF: post-open donation dialog (same tab, after window.open) */
.donate-pdf-modal {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(15, 23, 42, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.donate-pdf-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.donate-pdf-modal__panel {
  max-width: 28rem;
  width: 100%;
  background: var(--ecru);
  color: var(--text);
  border-radius: 0.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  padding: 1.5rem 1.5rem 1.25rem;
}

.donate-pdf-modal__title {
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  line-height: 1.3;
}

.donate-pdf-modal__body {
  font-family: 'Newsreader', Georgia, serif;
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0 0 1.25rem;
}

.donate-pdf-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.donate-pdf-modal__actions .read-link,
.donate-pdf-modal__actions .donate-pdf-modal__donate {
  margin: 0;
}

.donate-pdf-modal__close {
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-size: 0.875rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--line2);
  border-radius: 0.375rem;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.donate-pdf-modal__close:hover,
.donate-pdf-modal__close:focus-visible {
  border-color: var(--text3);
  outline: none;
}

.donate-pdf-modal__blocked {
  display: none;
  font-family: 'Newsreader', Georgia, serif;
  font-size: 0.9rem;
  color: var(--text2);
  margin: 0 0 1rem;
}

.donate-pdf-modal__blocked.is-visible {
  display: block;
}


.article__underline {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article__footnotes {
  margin-top: calc(var(--article-stack) * 2);
  padding-top: var(--article-stack);
  border-top: 1px solid var(--line2);
}

.article__footnotes-title {
  font-family: 'Hanken Grotesk', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 var(--article-stack);
}

.article__footnotes-list {
  list-style: decimal;
  padding-left: 1.25rem;
  margin: 0;
}

.article__footnotes-list li {
  margin: 0 0 0.75rem;
  color: var(--text2);
  font-size: 0.95rem;
  line-height: 1.6;
}

.article__fn-ref,
.article__fn-back {
  font-family: 'Hanken Grotesk', system-ui, sans-serif;
  font-size: 0.75em;
}

.article__fn-back {
  margin-left: 0.35rem;
}
