/* --------------------------------------------------------------
   InnoFabric — Full CSS
   Based on InnoFabric Colour Specification v1.0
   Canonical anchor: #5B6CFF (InnoFabric Blue–Violet)
-------------------------------------------------------------- */

/* --------------------------------------------------------------
   Root variables and base styling
-------------------------------------------------------------- */

:root {
  /* Dark-first foundation */
  --bg: #0D1117;
  --bg-alt: #151B23;
  --surface: #151B23;
  --surface-elevated: #1D2632;
  --surface-strong: #111824;
  --surface-rfc: #101722;

  /* Text */
  --text: #EAF0F7;
  --muted: #AAB6C7;
  --muted-strong: #C5D0DD;

  /* InnoFabric anchor system */
  --accent: #5B6CFF;
  --accent-strong: #3F4FCC;
  --accent-mid: #7C8CFF;
  --accent-light: #A5B0FF;

  /* Semantic accents */
  --control: #2FB7A8;
  --signal: #D49B2A;
  --signal-alt: #B54243;

  /* Borders */
  --border: #2A3442;
  --border-strong: #3A4760;
  --border-soft: rgba(170, 182, 199, 0.14);

  /* Effects */
  --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.28);
  --shadow-panel: 0 18px 48px rgba(0, 0, 0, 0.34);
  --shadow-rfc: 0 20px 60px rgba(0, 0, 0, 0.38);
  --glow-accent: 0 0 0 1px rgba(91, 108, 255, 0.18), 0 0 32px rgba(91, 108, 255, 0.18);
  --glow-control: 0 0 0 1px rgba(47, 183, 168, 0.18), 0 0 28px rgba(47, 183, 168, 0.14);
  --glow-signal: 0 0 0 1px rgba(212, 155, 42, 0.18), 0 0 28px rgba(212, 155, 42, 0.14);

  /* Geometry */
  --radius-sm: 12px;
  --radius-lg: 18px;
  --radius-xl: 28px;
  --max-width: 1200px;
  --rfc-width: 980px;

  /* Hero background helpers */
  --hero-grid-line: rgba(124, 140, 255, 0.11);
  --hero-grid-line-strong: rgba(124, 140, 255, 0.18);
  --hero-glow-core: rgba(91, 108, 255, 0.22);
  --hero-glow-soft: rgba(165, 176, 255, 0.08);

  /* Header sizing */
  --header-height: 74px;
}

html {
  scrollbar-gutter: stable;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  padding-top: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont,
               "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 50% 16%, rgba(91, 108, 255, 0.14) 0%, rgba(91, 108, 255, 0.04) 22%, rgba(13, 17, 23, 0) 52%),
    radial-gradient(circle at 50% 82%, rgba(91, 108, 255, 0.07) 0%, rgba(13, 17, 23, 0) 46%),
    linear-gradient(180deg, #08101C 0%, #0D1117 22%, #0D1117 100%);
  line-height: 1.6;
}

h1,
h2,
h3 {
  font-family: inherit;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-top: 0;
}

p {
  margin-top: 0;
}

/* --------------------------------------------------------------
   Links
-------------------------------------------------------------- */

a {
  color: var(--accent-mid);
  text-decoration: none;
}

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

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* --------------------------------------------------------------
   Layout helpers
-------------------------------------------------------------- */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 56px 0;
}

.content {
  font-size: 1rem;
}

.content p {
  margin-bottom: 1em;
}

.content a {
  color: var(--accent-mid);
}

/* --------------------------------------------------------------
   Fixed-header compensation for normal content pages
-------------------------------------------------------------- */

main .section:first-child:not(.hero) {
  padding-top: 108px;
}

main .content,
main .container.content {
  padding-top: 0;
}

main .section:first-child:not(.hero) > .container > h1:first-child,
main .section:first-child:not(.hero) > .container > h2:first-child,
main .content > h1:first-child,
main .content > h2:first-child,
main .container.content > h1:first-child,
main .container.content > h2:first-child {
  margin-bottom: 18px;
  line-height: 1.05;
}

main .section:first-child:not(.hero) > .container > h1:first-child + .content,
main .section:first-child:not(.hero) > .container > h2:first-child + .content {
  margin-top: 0;
  padding-top: 0;
}

main .content > h1:first-child + p,
main .content > h2:first-child + p,
main .container.content > h1:first-child + p,
main .container.content > h2:first-child + p {
  margin-top: 0;
}

/* --------------------------------------------------------------
   Header — floating over hero
-------------------------------------------------------------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 14, 24, 0.30);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(42, 52, 66, 0.28);
  transition: background 0.2s ease, border 0.2s ease;
}

.site-header.scrolled {
  background: rgba(10, 14, 24, 0.82);
  border-bottom: 1px solid rgba(42, 52, 66, 0.7);
}

.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  flex: 0 0 auto;
}

.brand img {
  height: 42px;
  width: auto;
  display: block;
}

.nav-main {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 32px;
  font-size: 0.95rem;
  margin-left: auto;
}

.nav-main a {
  color: rgba(234, 240, 247, 0.84);
  font-weight: 500;
  position: relative;
  padding: 8px 2px;
}

.nav-main a:hover {
  color: #ffffff;
}

.nav-main a[aria-current="page"] {
  color: #ffffff;
}

.nav-main a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(91, 108, 255, 0.34);
}

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  font-size: 1.4rem;
  cursor: pointer;
  padding: 4px 6px;
  color: var(--text);
  line-height: 1;
}

/* --------------------------------------------------------------
   Hero
-------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(circle at 50% 10%, rgba(91, 108, 255, 0.16) 0%, rgba(91, 108, 255, 0.05) 22%, rgba(13, 17, 23, 0) 54%),
    linear-gradient(180deg, rgba(8, 12, 20, 0.98) 0%, rgba(13, 17, 23, 1) 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, transparent 0, transparent calc(100% - 1px), var(--hero-grid-line) calc(100% - 1px)),
    linear-gradient(to bottom, transparent 0, transparent calc(100% - 1px), var(--hero-grid-line) calc(100% - 1px));
  background-size: 72px 72px;
  opacity: 0.18;
  pointer-events: none;
  mask-image: radial-gradient(circle at 50% 28%, rgba(0,0,0,1) 0%, rgba(0,0,0,0.74) 42%, rgba(0,0,0,0.2) 74%, transparent 100%);
}

.hero::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -10px;
  transform: translateX(-50%);
  width: min(980px, 88vw);
  height: 320px;
  background: radial-gradient(circle at center, rgba(91, 108, 255, 0.15) 0%, rgba(91, 108, 255, 0.05) 40%, rgba(13, 17, 23, 0) 74%);
  pointer-events: none;
}

.section.hero {
  padding: 0 0 24px;
  margin-top: 0;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  align-items: start;
  text-align: center;
  padding-top: calc(var(--header-height) - 16px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
}

.hero-kicker {
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-light);
  opacity: 0.9;
  margin-bottom: 6px;
}

.hero-title {
  font-size: clamp(3.25rem, 6.2vw, 6rem);
  line-height: 0.90;
  margin: 0 auto 10px;
  font-weight: 700;
  color: #F2F5F9;
  letter-spacing: -0.06em;
  max-width: 1120px;
  text-wrap: normal;
}

.hero-title .hero-title-line {
  display: block;
  white-space: nowrap;
}

.hero-title .hero-title-sub {
  display: block;
  color: rgba(242, 245, 249, 0.98);
  font-weight: 700;
  white-space: nowrap;
}

.hero-lead {
  font-size: 1.08rem;
  line-height: 1.42;
  color: var(--muted-strong);
  margin: 0 auto 6px;
  max-width: 52rem;
  text-wrap: pretty;
}

.hero-org {
  margin: 0 auto 0;
  max-width: 54rem;
  font-size: 0.98rem;
  line-height: 1.32;
  color: rgba(170, 182, 199, 0.9);
  text-wrap: pretty;
}

.hero-org strong {
  color: #F2F5F9;
  font-weight: 600;
  letter-spacing: 0.01em;
}

/* --------------------------------------------------------------
   Hero visual
-------------------------------------------------------------- */

.hero-visual {
  position: relative;
  z-index: 1;
  max-width: 1152px;
  margin: -42px auto 0;
}

.hero-image-wrapper {
  width: 100%;
  margin: 0;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  box-shadow: none;
  border: 0;
}

.hero-image,
.hero-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center 18%;
  border-radius: 0;
  filter: drop-shadow(0 24px 56px rgba(0, 0, 0, 0.34));
}

/* --------------------------------------------------------------
   Buttons
-------------------------------------------------------------- */

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 28px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.18s ease;
}

.btn-primary {
  background: linear-gradient(180deg, #6676FF 0%, #4E5BF0 100%);
  color: #ffffff;
  border-color: rgba(124, 140, 255, 0.8);
  box-shadow: 0 12px 26px rgba(91, 108, 255, 0.28);
}

.btn-primary:hover {
  background: linear-gradient(180deg, #7483FF 0%, #5563F2 100%);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.02);
  color: #F2F5F9;
  border-color: rgba(170, 182, 199, 0.46);
  backdrop-filter: blur(6px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(234, 240, 247, 0.68);
  color: #ffffff;
}

.hero-actions {
  display: none;
}

/* --------------------------------------------------------------
   Section titles
-------------------------------------------------------------- */

.section-title {
  font-size: 1.9rem;
  margin-bottom: 10px;
  position: relative;
  padding-left: 26px;
  color: #F2F5F9;
}

.section-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.82em;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 16px rgba(91, 108, 255, 0.34);
}

.section-lead {
  max-width: 64ch;
  color: var(--muted);
  margin-bottom: 22px;
}

/* --------------------------------------------------------------
   Cards
-------------------------------------------------------------- */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(29, 38, 50, 0.92) 0%, rgba(21, 27, 35, 0.96) 100%);
  border-radius: var(--radius-lg);
  padding: 22px 22px;
  border: 1px solid rgba(42, 52, 66, 0.95);
  box-shadow: var(--shadow-panel);
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(124, 140, 255, 0.06) 0%, rgba(124, 140, 255, 0) 38%);
  pointer-events: none;
}

.card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.card-head h3 {
  margin: 0;
  flex: 1 1 auto;
  font-size: 1.05rem;
  color: #F2F5F9;
}

.card h3 {
  position: relative;
  z-index: 1;
  font-size: 1.05rem;
  margin-bottom: 0;
  color: #F2F5F9;
}

.card p {
  position: relative;
  z-index: 1;
  font-size: 0.94rem;
  color: var(--muted);
}

.card-accent-control {
  box-shadow: var(--shadow-panel), var(--glow-control);
}

.card-accent-signal {
  box-shadow: var(--shadow-panel), var(--glow-signal);
}

.card-accent-anchor {
  box-shadow: var(--shadow-panel), var(--glow-accent);
}

.card-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid rgba(170, 182, 199, 0.14);
  background: rgba(255, 255, 255, 0.02);
  margin: 0;
}

.card-icon img {
  width: 22px;
  height: 22px;
  display: block;
  opacity: 0.96;
}

.card-icon-anchor {
  box-shadow: 0 0 0 1px rgba(91, 108, 255, 0.14), 0 0 18px rgba(91, 108, 255, 0.10);
}

.card-icon-control {
  box-shadow: 0 0 0 1px rgba(47, 183, 168, 0.14), 0 0 18px rgba(47, 183, 168, 0.10);
}

.card-icon-signal {
  box-shadow: 0 0 0 1px rgba(212, 155, 42, 0.14), 0 0 18px rgba(212, 155, 42, 0.10);
}

/* --------------------------------------------------------------
   RFC pages
-------------------------------------------------------------- */

.rfc-shell {
  max-width: var(--rfc-width);
}

.rfc-kicker {
  margin-bottom: 12px;
}

.rfc-disclaimer {
  max-width: 60rem;
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid rgba(124, 140, 255, 0.22);
  border-radius: 12px;
  background: rgba(91, 108, 255, 0.06);
  color: var(--muted-strong);
  font-size: 0.95rem;
  line-height: 1.5;
}

.rfc-disclaimer a {
  color: #F2F5F9;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.rfc-disclaimer a:hover {
  color: #ffffff;
}

.rfc-document {
  position: relative;
  padding: 28px 32px 34px;
  border-radius: 20px;
  border: 1px solid rgba(58, 71, 96, 0.9);
  background:
    linear-gradient(180deg, rgba(20, 28, 41, 0.98) 0%, rgba(16, 23, 34, 0.99) 100%);
  box-shadow: var(--shadow-rfc);
}

.rfc-document::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(124, 140, 255, 0.05) 0%, rgba(124, 140, 255, 0) 18%);
}

.rfc-content {
  font-size: 1rem;
}

.rfc-content > :first-child {
  margin-top: 0;
}

.rfc-content h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  margin-bottom: 1.1rem;
  color: #F2F5F9;
}

.rfc-content h2,
.rfc-content h3,
.rfc-content h4 {
  scroll-margin-top: calc(var(--header-height) + 18px);
  color: #F2F5F9;
}

.rfc-content h2 {
  margin-top: 2.4rem;
  margin-bottom: 0.8rem;
  padding-top: 0.2rem;
  border-top: 1px solid rgba(58, 71, 96, 0.45);
  font-size: 1.4rem;
}

.rfc-content h3 {
  margin-top: 1.7rem;
  margin-bottom: 0.6rem;
  font-size: 1.08rem;
}

.rfc-content h4 {
  margin-top: 1.35rem;
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.rfc-content p,
.rfc-content li {
  color: var(--muted-strong);
}

.rfc-content ul,
.rfc-content ol {
  padding-left: 1.35rem;
}

.rfc-content blockquote {
  margin: 1.2rem 0;
  padding: 0.9rem 1rem;
  border-left: 3px solid rgba(91, 108, 255, 0.55);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted-strong);
}

.rfc-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0 1.7rem;
  font-size: 0.95rem;
  background: rgba(255, 255, 255, 0.01);
}

.rfc-content th,
.rfc-content td {
  border: 1px solid rgba(58, 71, 96, 0.85);
  padding: 10px 12px;
  vertical-align: top;
}

.rfc-content th {
  text-align: left;
  color: #F2F5F9;
  background: rgba(255, 255, 255, 0.04);
}

.rfc-content pre {
  overflow-x: auto;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(58, 71, 96, 0.85);
}

.rfc-content code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.92em;
}

.rfc-content hr {
  border: 0;
  border-top: 1px solid rgba(58, 71, 96, 0.55);
  margin: 2rem 0;
}

/* --------------------------------------------------------------
   About image
-------------------------------------------------------------- */

.about-photo {
  margin: 30px 0;
  text-align: center;
}

.about-photo img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: var(--shadow-panel);
  border: 1px solid rgba(42, 52, 66, 0.9);
}

/* --------------------------------------------------------------
   Biography
-------------------------------------------------------------- */

.biography-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.5rem;
  margin-top: 2.5rem;
  max-width: 960px;
  margin-left: auto;
  margin-right: auto;
  align-items: start;
}

.biography {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.biography + .biography {
  margin-top: 2.5rem;
}

.biography-content {
  min-width: 0;
}

.biography-photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(42, 52, 66, 0.9);
}

.biography-name {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: #F2F5F9;
}

.biography-link {
  display: inline-flex;
  align-items: center;
}

.biography-link img {
  width: 14px;
  height: 14px;
  opacity: 0.45;
  margin-left: 0.15rem;
}

.biography-link:hover img {
  opacity: 0.75;
}

.biography-role {
  margin: 0.15rem 0 0.75rem;
  font-size: 0.9rem;
  color: var(--muted);
}

.biography p {
  margin: 0 0 0.75rem;
}

.biography-content,
.biography-content p {
  overflow-wrap: anywhere;
  word-break: normal;
}

.biography strong {
  font-weight: 600;
}

/* --------------------------------------------------------------
   Policy papers
-------------------------------------------------------------- */

.paper-title {
  margin: 0 0 6px;
}

.paper-subtitle {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.35;
}

.paper-summary {
  margin: 0;
}

.paper-actions {
  margin-top: 12px;
}

.paper-download {
  font-weight: 700;
}

.paper-meta {
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.35;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.paper-meta-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.paper-meta-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.paper-fact {
  white-space: nowrap;
  font-size: 0.85rem;
}

.paper-sep {
  opacity: 0.7;
  padding: 0 2px;
}

.paper-meta-top .paper-fact {
  border-left: 1px solid rgba(255,255,255,0.12);
  padding-left: 10px;
}

.paper-meta-top .paper-fact:first-of-type {
  border-left: 0;
  padding-left: 0;
}

.paper-pill {
  display: inline-flex;
  align-items: center;
  padding: 2px 10px;
  border: 1px solid rgba(170, 182, 199, 0.22);
  border-radius: 999px;
  font-size: 0.8rem;
  line-height: 1.6;
  background: rgba(255,255,255,0.03);
  box-shadow: 0 1px 0 rgba(255,255,255,0.03);
  white-space: nowrap;
  color: inherit;
}

/* --------------------------------------------------------------
   Contact form
-------------------------------------------------------------- */

.contact-form {
  max-width: 480px;
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-form label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #F2F5F9;
}

.contact-form input,
.contact-form textarea {
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  padding: 10px 12px;
  font: inherit;
  width: 100%;
  background: rgba(29, 38, 50, 0.82);
  color: var(--text);
}

.contact-form textarea {
  resize: vertical;
}

.consent-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  margin-top: -6px;
  color: var(--muted);
}

.consent-row input[type="checkbox"] {
  margin: 0;
}

.consent-row label {
  white-space: nowrap;
}

.consent-row a {
  text-decoration: underline;
}

button[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.contact-form button {
  align-self: flex-start;
  padding: 10px 20px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

.contact-form button:hover {
  background: var(--accent-strong);
}

/* --------------------------------------------------------------
   Footer
-------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid rgba(42, 52, 66, 0.95);
  background: linear-gradient(180deg, #111824 0%, #0D1117 100%);
  margin-top: auto;
}

.site-footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 28px 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 22px;
  font-size: 0.85rem;
  line-height: 1.55;
  color: rgba(170, 182, 199, 0.88);
  flex-wrap: wrap;
}

.footer-left {
  white-space: normal;
  max-width: 42ch;
}

.footer-center {
  display: flex;
  gap: 14px;
  white-space: normal;
  flex-wrap: wrap;
}

.footer-center a {
  color: rgba(170, 182, 199, 0.88);
}

.footer-center a:hover {
  color: #ffffff;
}

.footer-right {
  display: flex;
  gap: 16px;
  align-items: center;
  white-space: nowrap;
}

.footer-right a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  line-height: 0;
}

.footer-right .icon {
  width: 20px;
  height: 20px;
  fill: rgba(170, 182, 199, 0.82);
  transition: opacity 0.2s ease, fill 0.2s ease;
}

.footer-right a:hover .icon {
  fill: #ffffff;
}

/* --------------------------------------------------------------
   Responsive layout adjustments
-------------------------------------------------------------- */

@media (min-width: 980px) {
  .biography-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 3rem;
  }

  .biography-grid .biography + .biography {
    margin-top: 0;
  }

  .biography-grid .biography {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 1rem;
  }

  .biography-grid .biography-photo img {
    width: 96px;
    height: 96px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 10px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 70px;
  }

  main .section:first-child:not(.hero) {
    padding-top: 96px;
  }

  main .content,
  main .container.content {
    padding-top: 0;
  }

  main .section:first-child:not(.hero) > .container > h1:first-child,
  main .section:first-child:not(.hero) > .container > h2:first-child,
  main .content > h1:first-child,
  main .content > h2:first-child,
  main .container.content > h1:first-child,
  main .container.content > h2:first-child {
    margin-bottom: 16px;
  }

  .hero::after {
    top: 0;
    height: 280px;
  }

  .section.hero {
    padding: 0 0 28px;
  }

  .hero-grid {
    gap: 10px;
    padding-top: calc(var(--header-height) - 10px);
  }

  .hero-title {
    font-size: clamp(2.6rem, 8.2vw, 4.4rem);
    line-height: 0.94;
    max-width: 780px;
  }

  .hero-title .hero-title-line,
  .hero-title .hero-title-sub {
    white-space: normal;
  }

  .hero-lead {
    font-size: 1rem;
    max-width: 38rem;
  }

  .hero-org {
    font-size: 0.94rem;
    max-width: 40rem;
  }

  .hero-visual {
    max-width: 100%;
    margin-top: -24px;
  }

  .hero-image,
  .hero-image-wrapper img {
    object-position: center 14%;
  }

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

  .rfc-document {
    padding: 24px 22px 28px;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: block;
  }

  .nav-main {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: rgba(13, 17, 23, 0.98);
    border-bottom: 1px solid rgba(42, 52, 66, 0.95);
    padding: 14px 20px 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    display: none;
  }

  html.nav-open .nav-main {
    display: flex;
  }
}

@media (max-width: 640px) {
  :root {
    --header-height: 64px;
  }

  .container {
    padding: 0 18px;
  }

  main .section:first-child:not(.hero) {
    padding-top: 88px;
  }

  main .content,
  main .container.content {
    padding-top: 0;
  }

  main .section:first-child:not(.hero) > .container > h1:first-child,
  main .section:first-child:not(.hero) > .container > h2:first-child,
  main .content > h1:first-child,
  main .content > h2:first-child,
  main .container.content > h1:first-child,
  main .container.content > h2:first-child {
    margin-bottom: 14px;
  }

  .hero::after {
    top: -8px;
    height: 240px;
  }

  .section.hero {
    padding: 0 0 22px;
  }

  .hero-grid {
    gap: 8px;
    padding-top: calc(var(--header-height) - 8px);
  }

  .hero-kicker {
    font-size: 0.74rem;
    letter-spacing: 0.14em;
    margin-bottom: 8px;
  }

  .hero-title {
    font-size: clamp(2.2rem, 10vw, 3.2rem);
    line-height: 0.98;
    margin-bottom: 10px;
    max-width: 100%;
  }

  .hero-title .hero-title-line,
  .hero-title .hero-title-sub {
    white-space: normal;
  }

  .hero-lead {
    font-size: 0.98rem;
    margin-bottom: 8px;
  }

  .hero-org {
    font-size: 0.9rem;
  }

  .hero-visual {
    margin-top: -18px;
  }

  .hero-image,
  .hero-image-wrapper img {
    object-position: center 12%;
  }

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

  .biography-photo {
    max-width: 120px;
  }

  .rfc-document {
    padding: 20px 16px 24px;
    border-radius: 16px;
  }

  .rfc-content h1 {
    font-size: clamp(1.6rem, 8vw, 2.2rem);
  }
}

@media (max-width: 600px) {
  .site-footer-inner {
    justify-content: center;
    text-align: center;
    align-items: center;
  }

  .footer-left {
    max-width: none;
  }
}