/* ============================================================
   GlobalPeaceCraft.org — Design System v3
   Warm, welcoming, light theme. Serif display + Inter body.
   Inspired by PeaceTalks. Open, friendly, accessible.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

/* ---------- Tokens ---------- */
:root {
  /* Backgrounds */
  --bg-deep:     #1a2b4a;
  --bg-base:     #ffffff;
  --bg-surface:  #f5f7fa;
  --bg-card:     #ffffff;
  --bg-card-hover: #f0f4f8;

  /* Text */
  --text-primary:    #1a2b4a;
  --text-secondary:  #5a6a82;
  --text-muted:      #8a96a8;
  --text-on-dark:    #ffffff;
  --text-on-dark-secondary: rgba(255,255,255,0.75);

  /* Accents */
  --accent:          #2cb5c0;
  --accent-hover:    #1a9aa5;
  --accent-glow:     rgba(44, 181, 192, 0.2);
  --accent-subtle:   rgba(44, 181, 192, 0.08);
  --accent-light:    #e6f7f8;
  --gold:            #d4af37;
  --gold-subtle:     rgba(212, 175, 55, 0.08);
  --rose:            #e8788a;
  --rose-subtle:     rgba(232, 120, 138, 0.08);

  /* Borders */
  --border:          rgba(26, 43, 74, 0.08);
  --border-card:     rgba(26, 43, 74, 0.10);
  --border-card-hover: rgba(44, 181, 192, 0.3);

  /* Type scale */
  --fs-display: clamp(2rem, 3.5vw, 3rem);
  --fs-h1:      clamp(1.65rem, 2.6vw, 2.25rem);
  --fs-h2:      clamp(1.25rem, 1.9vw, 1.6rem);
  --fs-h3:      clamp(1rem, 1.3vw, 1.2rem);
  --fs-body:    clamp(0.95rem, 1.05vw, 1.05rem);
  --fs-small:   clamp(0.82rem, 0.9vw, 0.88rem);
  --fs-caption: clamp(0.72rem, 0.8vw, 0.78rem);

  /* Layout */
  --section-py: clamp(4rem, 8vh, 7rem);
  --container:  min(90%, 1100px);

  /* Easings */
  --ease:        cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
  --ease-out:    cubic-bezier(0, 0, 0.2, 1);

  /* Font stacks */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.75;
  color: var(--text-primary);
  background-color: var(--bg-base);
  overflow-x: hidden;
}

/* Ensure all content sits above any decorative layers */
body > * { position: relative; z-index: 1; }

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
.container { width: var(--container); margin: 0 auto; }

/* ---------- Skip Link ---------- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: 0.6rem 1.2rem;
  background: var(--accent);
  color: #ffffff;
  font-size: var(--fs-small);
  font-weight: 600;
  border-radius: 0 0 8px 8px;
  z-index: 10000;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ---------- Reveal System ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--stagger, 0s);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children automatically inside grids */
.grid-2 > .reveal:nth-child(1),
.grid-3 > .reveal:nth-child(1) { --stagger: 0s; }
.grid-2 > .reveal:nth-child(2),
.grid-3 > .reveal:nth-child(2) { --stagger: 0.1s; }
.grid-3 > .reveal:nth-child(3) { --stagger: 0.2s; }
.grid-2 > .reveal:nth-child(3) { --stagger: 0.2s; }
.grid-2 > .reveal:nth-child(4) { --stagger: 0.3s; }

/* Credentials stagger */
.credentials > .reveal:nth-child(1) { --stagger: 0s; }
.credentials > .reveal:nth-child(2) { --stagger: 0.08s; }
.credentials > .reveal:nth-child(3) { --stagger: 0.16s; }
.credentials > .reveal:nth-child(4) { --stagger: 0.24s; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: var(--fs-small);
  letter-spacing: 0.01em;
  transition: all 0.3s var(--ease);
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
}

.btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 0 0 0 var(--accent-glow);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px -4px var(--accent-glow);
}

/* Primary on dark backgrounds */
.page-hero .btn-primary,
.footer .btn-primary {
  background: var(--accent);
  color: #ffffff;
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-card);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* Outline on dark backgrounds */
.page-hero .btn-outline {
  color: var(--text-on-dark);
  border-color: rgba(255,255,255,0.25);
}
.page-hero .btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn-text {
  background: transparent;
  color: var(--accent);
  padding: 0;
  font-weight: 500;
  font-size: var(--fs-small);
  border-radius: 0;
}
.btn-text:hover { color: var(--accent-hover); }
.btn-text::after {
  content: ' \2192';
  display: inline-block;
  transition: transform 0.25s var(--ease);
}
.btn-text:hover::after { transform: translateX(4px); }

/* ---------- Navigation ---------- */
.nav {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--container);
  margin: 0 auto;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.nav__logo-img { height: 38px; width: auto; display: block; }
.nav__logo-text {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}
.nav__logo-text em { font-style: italic; font-weight: 400; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav__link {
  font-size: var(--fs-small);
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
  position: relative;
}
.nav__link:hover,
.nav__link.active { color: var(--text-primary); }

/* Active underline */
.nav__link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.nav__link--cta {
  background: var(--accent);
  color: #ffffff !important;
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-weight: 600;
  transition: all 0.25s var(--ease);
}
.nav__link--cta:hover {
  background: var(--accent-hover);
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px -2px var(--accent-glow);
}
.nav__link--cta::after { display: none; }

section[id] { scroll-margin-top: 80px; }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}

/* ---------- Page Hero ---------- */
.page-hero {
  min-height: 60vh;
  display: flex;
  align-items: center;
  padding: clamp(4.5rem, 10vh, 7.5rem) 0 clamp(3.5rem, 8vh, 6rem);
  position: relative;
  overflow: hidden;
  background: var(--bg-deep);
  color: var(--text-on-dark);
}

/* Home hero — taller */
.page-hero--home {
  min-height: calc(100svh - 60px);
  padding-bottom: clamp(6rem, 12vh, 10rem);
}

/* Three-Element Orbits canvas (replaces old decorative circles) */
.hero-orbits-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.page-hero__label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--fs-caption);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 1rem;
}
.page-hero__label::after {
  content: '';
  width: 28px;
  height: 1.5px;
  background: var(--accent);
  order: -1;
}
.page-hero__label::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(44, 181, 192, 0.4);
  animation: labelPulse 2.5s ease-in-out infinite;
  order: -2;
}

.page-hero__title {
  font-family: var(--font-display);
  font-size: var(--fs-display);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  max-width: 750px;
  margin-bottom: 1.25rem;
  color: var(--text-on-dark);
}

.page-hero__desc {
  font-size: clamp(1rem, 1.2vw, 1.15rem);
  color: var(--text-on-dark-secondary);
  max-width: 600px;
  line-height: 1.75;
}

.page-hero__actions {
  display: flex;
  gap: 0.85rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* ---------- Sections ---------- */
section {
  padding: var(--section-py) 0;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--fs-caption);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 1rem;
}
.section-label::after {
  content: '';
  width: 28px;
  height: 1.5px;
  background: var(--accent);
}
.section-label::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px rgba(44, 181, 192, 0.4);
  animation: labelPulse 2.5s ease-in-out infinite;
}
@keyframes labelPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.75); }
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--fs-h1);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.005em;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

.section-desc {
  font-size: var(--fs-body);
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.75;
}

/* Alternating section backgrounds */
.section--alt {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ---------- Cards ---------- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 2.25rem;
  transition: all 0.45s var(--ease);
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-card-hover);
  transform: translateY(-4px);
  box-shadow:
    0 20px 50px -12px rgba(0,0,0,0.08),
    0 0 0 1px rgba(44, 181, 192, 0.08);
}

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  background: var(--accent-subtle);
  border: 1px solid rgba(44, 181, 192, 0.12);
}
.card__icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--accent);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card__icon--gold {
  background: var(--gold-subtle);
  border-color: rgba(212, 175, 55, 0.15);
}
.card__icon--gold svg { stroke: var(--gold); }
.card__icon--teal {
  background: var(--accent-subtle);
  border-color: rgba(44, 181, 192, 0.15);
}
.card__icon--teal svg { stroke: var(--accent); }
.card__icon--rose {
  background: var(--rose-subtle);
  border-color: rgba(232, 120, 138, 0.12);
}
.card__icon--rose svg { stroke: var(--rose); }

.card__number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  line-height: 1;
  color: rgba(44, 181, 192, 0.15);
  margin-bottom: 1rem;
  display: block;
}

.card__label {
  font-size: var(--fs-caption);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.card__title {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 500;
  margin-bottom: 0.75rem;
  line-height: 1.35;
  color: var(--text-primary);
}
.card__desc {
  color: var(--text-secondary);
  font-size: var(--fs-small);
  line-height: 1.7;
}
.card__link { margin-top: 1.75rem; }

/* Card accent-top variant */
.card--gold   { border-top: 3px solid var(--gold);   --glow-color: rgba(212, 175, 55, 0.06);  --glow-border: rgba(212, 175, 55, 0.2); }
.card--teal   { border-top: 3px solid var(--accent);  --glow-color: rgba(44, 181, 192, 0.06);  --glow-border: rgba(44, 181, 192, 0.2); }
.card--rose   { border-top: 3px solid var(--rose);    --glow-color: rgba(232, 120, 138, 0.06); --glow-border: rgba(232, 120, 138, 0.2); }

/* Card colour glow on hover */
.card--gold::before,
.card--teal::before,
.card--rose::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, var(--glow-color, rgba(44,181,192,0.06)) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  pointer-events: none;
  z-index: 0;
}
.card--gold:hover::before,
.card--teal:hover::before,
.card--rose:hover::before {
  opacity: 1;
}
.card--gold:hover,
.card--teal:hover,
.card--rose:hover {
  border-color: var(--glow-border);
  box-shadow:
    0 20px 50px -12px rgba(0,0,0,0.08),
    0 0 0 1px var(--glow-border);
}

/* ---------- Grid Layouts ---------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

/* ---------- Credential Strip ---------- */
.credentials {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.credential {
  text-align: center;
  padding: 2rem 1.5rem;
  background: linear-gradient(135deg, rgba(44,181,192,0.03) 0%, rgba(26,43,74,0.02) 100%);
  border: 1px solid var(--border-card);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.credential:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px -8px rgba(0,0,0,0.06);
}
/* Accent line at bottom, reveals on hover */
.credential::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 10%, var(--accent) 50%, transparent 90%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  border-radius: 2px;
}
.credential:hover::after {
  opacity: 0.6;
}

.credential__value {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  color: var(--accent);
  margin-bottom: 0.4rem;
}
.credential__label {
  font-size: var(--fs-caption);
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ---------- Prose / Content ---------- */
.prose { max-width: 680px; }

.prose p {
  color: var(--text-secondary);
  margin-bottom: 1.35rem;
}
.prose p:first-child {
  color: var(--text-primary);
  font-size: clamp(1rem, 1.15vw, 1.1rem);
}

.prose h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 500;
  margin: 3rem 0 0.85rem;
  color: var(--text-primary);
}
.prose h3 {
  font-size: var(--fs-h3);
  font-weight: 600;
  margin: 2.5rem 0 0.6rem;
  color: var(--text-primary);
}

.prose ul { margin-bottom: 1.25rem; }
.prose ul li {
  color: var(--text-secondary);
  font-size: var(--fs-body);
  padding: 0.35rem 0 0.35rem 1.5rem;
  position: relative;
}
.prose ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.9rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ---------- Two-Column Layout ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.split--wide-left { grid-template-columns: 1.4fr 1fr; }

/* ---------- Person Card ---------- */
.person {
  display: flex;
  gap: 1.5rem;
  align-items: start;
}
.person__info h3 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 500;
  margin-bottom: 0.2rem;
}
.person__info .role {
  font-size: var(--fs-caption);
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
}
.person__info p {
  color: var(--text-secondary);
  font-size: var(--fs-small);
  line-height: 1.7;
}

/* ---------- Accordion ---------- */
.accordion-item {
  border: 1px solid var(--border-card);
  border-radius: 16px;
  margin-bottom: 0.85rem;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
  background: var(--bg-card);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.accordion-item:hover {
  border-color: rgba(44, 181, 192, 0.2);
}
.accordion-item.open {
  border-color: rgba(44, 181, 192, 0.25);
  box-shadow: 0 4px 20px -6px rgba(0,0,0,0.08);
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem 1.75rem;
  cursor: pointer;
  user-select: none;
}
.accordion-header h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
}

.accordion-toggle {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--border-card);
  flex-shrink: 0;
  transition: all 0.3s var(--ease);
}
.accordion-toggle svg {
  width: 13px;
  height: 13px;
  stroke: var(--text-secondary);
  transition: transform 0.3s var(--ease);
}
.accordion-item.open .accordion-toggle {
  background: var(--accent);
  border-color: var(--accent);
}
.accordion-item.open .accordion-toggle svg {
  stroke: #ffffff;
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.accordion-body__inner {
  padding: 0 1.75rem 1.75rem;
  color: var(--text-secondary);
  font-size: var(--fs-small);
  line-height: 1.75;
}

/* ---------- Three-Elements Visual ---------- */
.elements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0;
}
.element-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: 20px;
  padding: 2.25rem 2rem;
  text-align: center;
  transition: all 0.4s var(--ease);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.element-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-card-hover);
  box-shadow: 0 16px 40px -10px rgba(0,0,0,0.08);
}
.element-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.element-card__icon svg {
  width: 32px;
  height: 32px;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.element-card__icon--gold {
  background: var(--accent-subtle);
  border: 1px solid rgba(44, 181, 192, 0.12);
}
.element-card__icon--gold svg { stroke: var(--accent); }
.element-card__icon--teal {
  background: var(--accent-light);
  border: 1px solid rgba(44, 181, 192, 0.15);
}
.element-card__icon--teal svg { stroke: var(--accent); }
.element-card__icon--rose {
  background: var(--rose-subtle);
  border: 1px solid rgba(232, 120, 138, 0.12);
}
.element-card__icon--rose svg { stroke: var(--rose); }

.element-card h3 {
  font-family: var(--font-display);
  font-size: var(--fs-h3);
  font-weight: 500;
  margin-bottom: 0.6rem;
  color: var(--text-primary);
}
.element-card p {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ---------- Paper Feature ---------- */
.paper-feature {
  display: grid;
  grid-template-columns: 1fr 2fr;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-card);
  box-shadow: 0 4px 32px -8px rgba(0,0,0,0.1);
  margin: 2rem 0;
}
.paper-feature__spine {
  background: var(--bg-deep);
  color: var(--text-on-dark);
  padding: 2.5rem 2.25rem;
  display: flex;
  flex-direction: column;
  position: relative;
}
.paper-feature__spine::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.paper-feature__journal {
  font-size: var(--fs-caption);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.35rem;
}
.paper-feature__vol {
  font-size: var(--fs-caption);
  color: rgba(255,255,255,0.45);
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 2rem;
}
.paper-feature__title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.5vw, 1.3rem);
  font-weight: 500;
  line-height: 1.4;
  color: var(--text-on-dark);
  flex: 1;
  margin-bottom: 1.5rem;
}
.paper-feature__author {
  font-size: var(--fs-small);
  color: var(--text-on-dark-secondary);
  margin-bottom: 1rem;
}
.paper-feature__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  background: rgba(44, 181, 192, 0.12);
  border: 1px solid rgba(44, 181, 192, 0.22);
  border-radius: 100px;
  font-size: var(--fs-caption);
  font-weight: 600;
  color: var(--accent);
  width: fit-content;
}
.paper-feature__badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}
.paper-feature__body {
  background: var(--bg-card);
  padding: 2.5rem 2.75rem;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--border-card);
}
.paper-feature__what-label {
  font-size: var(--fs-caption);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.paper-feature__desc {
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 1.75rem;
}
.paper-feature__findings {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex: 1;
}
.paper-feature__finding {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  font-size: var(--fs-small);
  color: var(--text-secondary);
  line-height: 1.6;
}
.paper-feature__finding-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 0.45rem;
}

/* ---------- Contact Form ---------- */
.form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  max-width: 540px;
}
.form__group label {
  display: block;
  font-size: var(--fs-caption);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}
.form__input,
.form__textarea {
  width: 100%;
  padding: 0.8rem 1.1rem;
  border-radius: 12px;
  border: 1px solid var(--border-card);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: var(--fs-body);
  font-family: var(--font-body);
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.form__input:focus,
.form__textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-subtle);
}
.form__input::placeholder,
.form__textarea::placeholder { color: var(--text-muted); }
.form__textarea { resize: vertical; min-height: 150px; }

/* ---------- Network Partner ---------- */
.partner {
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--border);
}
.partner:last-child { border-bottom: none; }

.partner__label {
  font-size: var(--fs-caption);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.35rem;
}
.partner__title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  font-weight: 500;
  margin-bottom: 0.85rem;
  color: var(--text-primary);
}
.partner__desc {
  color: var(--text-secondary);
  font-size: var(--fs-body);
  line-height: 1.75;
  max-width: 700px;
}

/* ---------- Footer ---------- */
.footer {
  padding: 5rem 0 2rem;
  background: var(--bg-deep);
  color: var(--text-on-dark);
  position: relative;
  overflow: hidden;
}

.footer > .container {
  position: relative;
  z-index: 1;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand-desc {
  color: var(--text-on-dark-secondary);
  font-size: var(--fs-small);
  margin-top: 0.85rem;
  line-height: 1.65;
  max-width: 300px;
}

.footer__heading {
  font-size: var(--fs-caption);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
}

.footer__link {
  display: block;
  color: var(--text-on-dark-secondary);
  font-size: var(--fs-small);
  padding: 0.3rem 0;
  transition: color 0.2s;
}
.footer__link:hover { color: var(--accent); }

.footer__bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255,255,255,0.4);
  font-size: var(--fs-caption);
}

.footer__link--legal {
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  margin-left: 0.75rem;
  padding-left: 0.75rem;
  border-left: 1px solid rgba(255,255,255,0.12);
  transition: color 0.2s;
}
.footer__link--legal:hover { color: rgba(255,255,255,0.7); }

.footer__socials { display: flex; gap: 0.75rem; }
.footer__social {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-on-dark-secondary);
  font-size: 0.85rem;
  transition: all 0.25s var(--ease);
}
.footer__social:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ---------- Scroll Progress Bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--gold));
  z-index: 1001;
  pointer-events: none;
  transition: width 0.05s linear;
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.max-w-narrow { max-width: 560px; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .elements-grid { grid-template-columns: 1fr 1fr; }
  .credentials { grid-template-columns: repeat(2, 1fr); }
  .split, .split--wide-left { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .paper-feature { grid-template-columns: 1fr; }
  .paper-feature__body { border-left: none; border-top: 1px solid var(--border-card); }
}

@media (max-width: 768px) {
  :root { --section-py: clamp(3.5rem, 7vh, 5rem); }

  .nav__links { display: none; }
  .nav__toggle { display: flex; }

  .nav__links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    justify-content: center;
    align-items: center;
    gap: 1.75rem;
    z-index: 999;
  }
  .nav__links.open .nav__link {
    font-size: 1.2rem;
    color: var(--text-primary);
  }
  .nav__toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav__toggle.open span:nth-child(2) { opacity: 0; }
  .nav__toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .page-hero { min-height: auto; }
  .page-hero--home { min-height: 80svh; }
  .page-hero__title { font-size: clamp(1.75rem, 6vw, 2.5rem); }

  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .elements-grid { grid-template-columns: 1fr; }
  .credentials { grid-template-columns: 1fr 1fr; }
  .paper-feature__spine,
  .paper-feature__body { padding: 2rem; }

  .page-hero__actions {
    flex-direction: column;
  }
  .page-hero__actions .btn { width: fit-content; }

  .footer__grid { grid-template-columns: 1fr; }
}

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