@import url("heading-levels.css");

/* ==========================================================================
   Goldratt Japan Recruit — Site foundation
   Owner of: tokens (DESIGN_SYSTEM.md §25), base typography, grid widths,
   header / footer, buttons, Section Navigation (DESIGN_SYSTEM_NAVIGATION.md),
   Section Anchor (DESIGN_SYSTEM_HEADINGS.md), shared reading / utility parts.
   Page compositions live in top.css / pages.css / member.css.
   ========================================================================== */

:root {
  /* Neutral */
  --color-ink: #111318;
  --color-body: #222222; /* 通常本文（上流：近黒#222、2026-11-03） */
  --color-muted: #686D76;
  --color-white: #FFFFFF;
  --color-paper: #FAFAF8;
  --color-border: #DDE1E6;

  /* Spectrum Energy */
  --energy-pink: #F52B77;
  --energy-coral: #FF625B;
  --energy-orange: #FF8A32;
  --energy-yellow: #FFC928;
  --energy-lime: #B9D93B;
  --energy-green: #48C991;
  --energy-cyan: #15BED2;

  /* Goldratt World */
  --world-navy: #0B1F33;
  --world-navy-deep: #061522;
  --world-gold: #D8B46A;
  --world-gold-soft: #F4E8CE;

  /* Width */
  --width-canvas: 1920px;
  --width-editorial: 1320px;
  --width-content: 1180px;
  --width-reading: 820px;

  /* Spacing */
  --space-micro: 8px;
  --space-inline: 16px;
  --space-component: 24px;
  --space-group: 32px;
  --space-block: 48px;
  --space-section-inner: 80px;
  --space-section: 120px;
  --space-narrative: 160px;

  /* Radius */
  --radius-editorial: 4px;
  --radius-ui: 8px;
  --radius-surface: 16px;
  --radius-pill: 999px;

  /* Lines */
  --line-hairline: 1px;
  --line-emphasis: 2px;

  /* Typography */
  --font-sans: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --font-serif: "Noto Sans JP", sans-serif; /* 2026-11-03：Cormorant Garamondを廃止（上流：Noto Sans）。数字・欧文ラベルもNoto Sans JP */

  /* Layout helpers */
  --header-h: 72px;
  --gutter: clamp(20px, 4.4vw, 64px);
  --ease: cubic-bezier(.2, .7, .25, 1);
  --arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 12'%3E%3Cpath d='M0 6h18M13 1l5 5-5 5' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E");
}

@media (max-width: 900px) {
  :root {
    --header-h: 60px;
    --space-inline: 12px;
    --space-component: 20px;
    --space-group: 24px;
    --space-block: 40px;
    --space-section-inner: 56px;
    --space-section: 80px;
    --space-narrative: 120px;
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.9;
  color: var(--color-body);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-break: strict;
  overflow-wrap: break-word;
}

@media (max-width: 900px) {
  body { font-size: 15px; padding-bottom: 76px; }
}

img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
strong { font-weight: 700; }

:focus-visible {
  outline: 2px solid var(--world-navy);
  outline-offset: 3px;
  border-radius: 2px;
}
.on-navy :focus-visible { outline-color: var(--world-gold); }

.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--color-ink);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius-ui);
  transform: translateY(-160%);
  transition: transform .2s var(--ease);
}
.skip-link:focus { transform: none; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Layout ---------- */
.wrap { width: min(100% - var(--gutter) * 2, var(--width-content)); margin-inline: auto; }
.wrap--wide { width: min(100% - var(--gutter) * 2, var(--width-editorial)); }
.wrap--reading { width: min(100% - var(--gutter) * 2, var(--width-reading)); }

.section { padding-block: var(--space-section); }
.section--paper { background: var(--color-paper); }
.on-navy { background: var(--world-navy); color: rgba(255, 255, 255, .86); }
.on-navy h1, .on-navy h2, .on-navy h3, .on-navy strong { color: #fff; }

/* Authored line breaking: .ln = designed line, .u = protected meaning unit */
.ln { display: block; }
.u { display: inline-block; }
.sp-only { display: none; }
@media (max-width: 900px) {
  .sp-only { display: inline; }
  .pc-only { display: none; }
}

/* ---------- Type tokens ---------- */
.t-display-xl,
.t-display-l,
.t-heading-l,
.t-heading-m,
.t-heading-s {
  color: var(--color-ink);
  font-feature-settings: "palt";
  letter-spacing: .02em;
}
.t-display-xl { font-size: clamp(56px, 5.2vw, 76px); font-weight: var(--heading-weight); line-height: 1.28; }
.t-display-l { font-size: clamp(44px, 4.2vw, 62px); font-weight: var(--heading-weight); line-height: 1.35; }
.t-heading-l { font-size: var(--heading-h2-size); font-weight: var(--heading-h2-weight); line-height: 1.45; }
.t-heading-m { font-size: 28px; font-weight: 700; line-height: 1.45; }
h2.t-heading-m { font-size: var(--heading-h2-size); font-weight: var(--heading-h2-weight); }
h3.t-heading-l, h3.t-heading-m, h3.t-display-l, h3.t-display-xl { font-size: var(--heading-h3-size); font-weight: var(--heading-h3-weight); }
.t-heading-s { font-size: 22px; font-weight: 700; line-height: 1.5; }
.t-lead { font-size: 19px; font-weight: 500; line-height: 1.9; }
.t-caption { font-size: 13px; font-weight: 500; line-height: 1.6; color: var(--color-muted); }
.t-num { font-family: var(--font-serif); font-weight: 500; letter-spacing: .04em; }
.on-navy .t-display-xl, .on-navy .t-display-l, .on-navy .t-heading-l,
.on-navy .t-heading-m, .on-navy .t-heading-s { color: #fff; }
.on-navy .t-caption { color: rgba(255, 255, 255, .64); }

@media (max-width: 900px) {
  .t-display-xl { font-size: clamp(36px, 9.8vw, 46px); }
  .t-display-l { font-size: clamp(30px, 8.2vw, 40px); }
  .t-heading-l { font-size: var(--heading-h2-size); }
  .t-heading-m { font-size: 23px; }
  .t-heading-s { font-size: 19px; }
  .t-lead { font-size: 17px; }
  .t-caption { font-size: 12px; }
}

.reading p + p { margin-top: 1.2em; }
.reading { max-width: 40em; }

/* ---------- Section Anchor (CATEGORY → ANSWER → EVIDENCE) ---------- */
.anchor {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--color-border);
  margin-bottom: 28px;
}
.anchor__num {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: .06em;
  color: var(--world-navy);
  min-width: 1.6em;
}
.anchor__label {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: .06em;
  color: var(--color-ink);
}
.on-navy .anchor { border-top-color: rgba(255, 255, 255, .24); }
.on-navy .anchor__num { color: var(--world-gold-soft); }
.on-navy .anchor__label { color: #fff; }

/* Child-page section heading: number + rule + H2 */
.sec-head {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 20px;
  align-items: baseline;
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
  margin-bottom: var(--space-block);
}
.sec-head__num {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 500;
  line-height: 1;
  color: var(--world-navy);
  letter-spacing: .06em;
}
.sec-head h2 { grid-column: 2; }
.on-navy .sec-head { border-top-color: rgba(255, 255, 255, .24); }
.on-navy .sec-head__num { color: var(--world-gold-soft); }

/* Section kicker + title block (child pages) */
.sec-kicker {
  display: block;
  margin-bottom: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--color-muted);
}
.on-navy .sec-kicker { color: rgba(255, 255, 255, .64); }
.sec-title-block { margin-bottom: var(--space-block); padding-top: 20px; border-top: 1px solid var(--color-border); }
.on-navy .sec-title-block { border-top-color: rgba(255, 255, 255, .24); }
.sec-title-block .t-heading-l + p { margin-top: 20px; max-width: 42em; }

/* ---------- Buttons / Actions ---------- */
.btn-entry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 22px;
  border-radius: 6px;
  background: var(--color-ink);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .06em;
  text-decoration: none;
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.btn-entry:hover { background: #2B3039; }
.btn-entry:active { transform: translateY(1px); }
.btn-entry--large { min-height: 56px; padding: 14px 36px; font-size: 16px; }

/* Section Navigation — Monolithic Contrast (Link semantic / Button visual) */
.nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 60px;
  width: auto;
  min-width: min(100%, 300px);
  max-width: 100%;
  padding: 14px 22px 14px 24px;
  border-radius: 8px;
  background: var(--world-navy);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: .04em;
  text-align: left;
  text-decoration: none;
  transition: background-color .2s var(--ease), transform .2s var(--ease);
}
.nav-button::after {
  content: "";
  flex: none;
  width: 18px;
  height: 12px;
  background: var(--world-gold);
  -webkit-mask: var(--arrow) no-repeat center / contain;
  mask: var(--arrow) no-repeat center / contain;
  transition: transform .2s var(--ease);
}
.nav-button:hover { background: var(--world-navy-deep); }
.nav-button:hover::after { transform: translateX(3px); }
.nav-button:active { transform: translateY(1px); }
.on-navy .nav-button,
.nav-button--light { background: #fff; color: var(--world-navy); }
.on-navy .nav-button:hover,
.nav-button--light:hover { background: var(--world-gold-soft); }
.on-navy .nav-button:focus-visible { outline-color: var(--world-gold); }
@media (max-width: 900px) {
  .nav-button { width: 100%; }
}

/* Inline Link */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 15px;
  font-weight: 700;
  color: var(--world-navy);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}
.text-link::after {
  content: "";
  width: 16px;
  height: 10px;
  background: currentColor;
  -webkit-mask: var(--arrow) no-repeat center / contain;
  mask: var(--arrow) no-repeat center / contain;
  transition: transform .2s var(--ease);
}
.text-link:hover::after { transform: translateX(3px); }
.on-navy .text-link { color: #fff; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 12px 28px;
  border: 1px solid var(--world-navy);
  border-radius: 6px;
  color: var(--world-navy);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.btn-outline:hover { background: var(--world-navy); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.site-header.is-scrolled { border-bottom-color: var(--color-border); background: #fff; }
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 100%;
  width: min(100% - var(--gutter) * 2, 1440px);
  margin-inline: auto;
}
.site-header__logo { display: flex; align-items: center; flex: none; min-height: 44px; margin-right: auto; }
.site-header__logo img { width: 112px; height: auto; }

.gnav__list { display: flex; align-items: center; gap: 4px; }
.gnav__item { position: relative; }
.gnav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 8px 12px;
  border: 0;
  background: none;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: .04em;
  color: var(--color-ink);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.gnav__link[aria-current="page"],
.gnav__toggle[data-current="true"] { font-weight: 700; box-shadow: inset 0 -2px 0 var(--world-navy); }
.gnav__link:hover { color: var(--world-navy); text-decoration: underline; text-underline-offset: 6px; }
.gnav__toggle::after {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: -3px;
  border-right: 1.4px solid currentColor;
  border-bottom: 1.4px solid currentColor;
  transform: rotate(45deg);
  transition: transform .2s var(--ease);
}
.gnav__item.is-open .gnav__toggle::after { transform: translateY(3px) rotate(225deg); }
.gnav__menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  min-width: 248px;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-ui);
  box-shadow: 0 12px 32px rgba(6, 21, 34, .08);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -4px);
  transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s;
}
.gnav__item.is-open .gnav__menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}
@media (hover: hover) {
  .gnav__item:hover .gnav__menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
}
.gnav__menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-ink);
  text-decoration: none;
}
.gnav__menu a:hover { background: var(--color-paper); color: var(--world-navy); }

.site-header__menu {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  border: 0;
  background: none;
  cursor: pointer;
}
.site-header__menu span {
  position: absolute;
  left: 12px;
  width: 20px;
  height: 1.6px;
  background: var(--color-ink);
  transition: transform .25s var(--ease), top .25s var(--ease);
}
.site-header__menu span:nth-child(1) { top: 17px; }
.site-header__menu span:nth-child(2) { top: 26px; }
.site-header__menu[aria-expanded="true"] span:nth-child(1) { top: 21.5px; transform: rotate(45deg); }
.site-header__menu[aria-expanded="true"] span:nth-child(2) { top: 21.5px; transform: rotate(-45deg); }

@media (max-width: 1200px) {
  .site-header__inner { gap: 16px; }
  .gnav__link { padding-inline: 8px; font-size: 13px; }
}

@media (max-width: 1080px) {
  .gnav { display: none; }
  .site-header__menu { display: block; }
  .site-header__logo img { width: 100px; }
}

@media (max-width: 900px) {
  .site-header__entry { display: none; }
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: var(--header-h) 0 0;
  z-index: 99;
  overflow-y: auto;
  padding: 16px var(--gutter) 120px;
  background: #fff;
  border-top: 1px solid var(--color-border);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__group { padding-block: 16px; border-bottom: 1px solid var(--color-border); }
.mobile-menu__group > a,
.mobile-menu__heading {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-ink);
  text-decoration: none;
}
.mobile-menu__group ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; margin-top: 4px; }
.mobile-menu__group ul a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
  color: var(--color-body);
  text-decoration: none;
}
.mobile-menu__entry { margin-top: 28px; }
.mobile-menu__entry .btn-entry { width: 100%; min-height: 56px; font-size: 16px; }
body.is-menu-open { overflow: hidden; }

/* Mobile fixed Entry */
.mobile-entry { display: none; }
@media (max-width: 900px) {
  .mobile-entry {
    display: block;
    position: fixed;
    inset: auto 0 0;
    z-index: 90;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96);
    border-top: 1px solid var(--color-border);
  }
  .mobile-entry .btn-entry { width: 100%; min-height: 52px; font-size: 15px; }
}

/* ---------- Page head (child pages) ---------- */
.page-head { padding-top: calc(var(--header-h) + clamp(56px, 7vw, 104px)); padding-bottom: clamp(56px, 6vw, 88px); }
.page-head__kicker {
  display: block;
  margin-bottom: 18px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  color: var(--color-muted);
}
.on-navy .page-head__kicker { color: rgba(255, 255, 255, .64); }
.page-head__lead { margin-top: 24px; max-width: 36em; }

/* ---------- Reveal (Static First: visible without JS) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after { scroll-behavior: auto !important; }
}

/* ---------- Shared evidence parts ---------- */
.photo { position: relative; overflow: hidden; background: var(--color-paper); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo--r { border-radius: var(--radius-editorial); }

.fact-list { border-top: 1px solid var(--color-border); }
.fact-list > li {
  display: grid;
  grid-template-columns: 2.4em 1fr;
  gap: 12px;
  padding-block: 20px;
  border-bottom: 1px solid var(--color-border);
}
.fact-list__num { font-family: var(--font-serif); font-size: 20px; line-height: 1.5; color: var(--world-navy); }
.on-navy .fact-list, .on-navy .fact-list > li { border-color: rgba(255, 255, 255, .2); }
.on-navy .fact-list__num { color: var(--world-gold-soft); }

/* Reference Evidence rows (thumbnail + name + fact) */
.refs { margin-top: 48px; border-top: 1px solid var(--ref-line, var(--color-border)); }
.ref {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  padding-block: 24px;
  border-bottom: 1px solid var(--ref-line, var(--color-border));
}
.ref img { width: 96px; height: 96px; object-fit: cover; border-radius: 2px; filter: grayscale(1); }
.ref p { font-size: 15px; line-height: 1.85; }
.ref strong { display: block; margin-bottom: 6px; font-family: var(--font-serif); font-size: 22px; font-weight: 500; line-height: 1.2; color: #fff; }
@media (max-width: 900px) {
  .ref { grid-template-columns: 72px minmax(0, 1fr); gap: 16px; }
  .ref img { width: 72px; height: 72px; }
}
.on-navy { --ref-line: rgba(255, 255, 255, .2); }
.ref strong { color: var(--color-ink); }
.on-navy .ref strong { color: #fff; }

/* Process flow (nodes on one baseline; direction is information) */
.flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin-bottom: clamp(56px, 6vw, 88px);
}
.flow::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 12px;
  right: calc((100% - 72px) / 4 - 12px);
  height: 1px;
  background: var(--world-navy);
}
.flow__step { position: relative; padding-top: 44px; }
.flow__step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 23px;
  height: 23px;
  border: 2px solid var(--world-navy);
  border-radius: 50%;
  background: var(--color-paper);
}
.flow__step.is-focus::before { border-color: var(--world-gold); background: var(--world-gold); }
.flow__num { font-family: var(--font-serif); font-size: 18px; color: var(--world-navy); letter-spacing: .06em; }
.flow__step h3 { margin-top: 4px; font-size: 20px; font-weight: 700; line-height: 1.5; color: var(--color-ink); }
@media (max-width: 900px) {
  .flow { grid-template-columns: 1fr; gap: 0; }
  .flow::before { top: 12px; bottom: 30px; left: 11px; right: auto; width: 1px; height: auto; }
  .flow__step { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: 14px; padding: 0 0 24px 44px; }
  .flow__step::before { top: 2px; }
  .flow__step h3 { margin: 0; font-size: 18px; }
  .flow__step h3 .ln { display: inline; }
}

/* Definition table */
.spec { border-top: 1px solid var(--world-navy); }
.spec__row {
  display: grid;
  grid-template-columns: minmax(160px, 1fr) 3fr;
  gap: 24px;
  padding-block: 24px;
  border-bottom: 1px solid var(--color-border);
}
.spec__row dt { font-weight: 700; color: var(--color-ink); }
@media (max-width: 900px) {
  .spec__row { grid-template-columns: 1fr; gap: 6px; padding-block: 18px; }
}

/* FAQ disclosure */
.faq-item { border-bottom: 1px solid var(--color-border); }
.faq-item:first-child { border-top: 1px solid var(--color-border); }
.faq-item summary {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px;
  gap: 16px;
  align-items: center;
  min-height: 64px;
  padding: 20px 0;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
  line-height: 1.6;
  color: var(--color-ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  width: 12px;
  height: 12px;
  justify-self: center;
  border-right: 1.6px solid var(--world-navy);
  border-bottom: 1.6px solid var(--world-navy);
  transform: translateY(-3px) rotate(45deg);
  transition: transform .2s var(--ease);
}
.faq-item[open] summary::after { transform: translateY(3px) rotate(225deg); }
.faq-item__q { font-family: var(--font-serif); font-size: 22px; line-height: 1; color: var(--world-navy); }
.faq-item__a { padding: 0 40px 24px 0; }
.faq-item--q summary { grid-template-columns: auto minmax(0, 1fr) 24px; }
.faq-item--q .faq-item__a { padding-left: 42px; }
@media (max-width: 900px) {
  .faq-item__a, .faq-item--q .faq-item__a { padding-right: 0; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--world-navy-deep); color: rgba(255, 255, 255, .72); font-size: 14px; }
.site-footer a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.site-footer__inner { width: min(100% - var(--gutter) * 2, var(--width-editorial)); margin-inline: auto; padding-block: 80px 32px; }
.site-footer__top { display: grid; grid-template-columns: minmax(220px, 1fr) 3fr; gap: 56px; }
.site-footer__logo img { width: 132px; }
.site-footer__tagline { margin-top: 20px; font-size: 14px; line-height: 1.9; color: rgba(255, 255, 255, .72); }
.site-footer__links { display: flex; gap: 20px; margin-top: 20px; font-size: 13px; letter-spacing: .06em; }
.site-footer__links a { display: inline-flex; align-items: center; min-height: 44px; }
.site-footer__nav { display: grid; grid-template-columns: repeat(6, auto); justify-content: space-between; gap: 32px; }
.site-footer__heading { margin-bottom: 12px; font-size: 13px; font-weight: 700; letter-spacing: .06em; color: #fff; }
.site-footer__nav ul li + li { margin-top: 6px; }
.site-footer__nav ul a { display: inline-block; padding-block: 3px; line-height: 1.6; }
.site-footer__bottom { margin-top: 64px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 12px; color: rgba(255, 255, 255, .56); }

@media (max-width: 1200px) {
  .site-footer__top { grid-template-columns: 1fr; gap: 48px; }
  .site-footer__nav { grid-template-columns: repeat(3, 1fr); justify-content: stretch; }
}
@media (max-width: 900px) {
  .site-footer__inner { padding-block: 56px 28px; }
  .site-footer__nav { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .site-footer__nav ul a { padding-block: 8px; }
}

/* Page-level hierarchy navigation only (NAVIGATION §6).
   Unclassified links, external links and section CTAs retain their local composition. */
main a[data-page-nav="parent"],
main a[data-page-nav="deeper"] {
  display: flex;
  width: max-content;
  max-width: 100%;
}
main a[data-page-nav="parent"] {
  margin-inline-start: 0;
  margin-inline-end: auto;
  align-self: flex-start;
}
main a[data-page-nav="deeper"] {
  margin-inline-start: auto;
  margin-inline-end: 0;
  align-self: flex-end;
}
@media (max-width: 900px) {
  main a[data-page-nav="parent"],
  main a[data-page-nav="deeper"] { min-width: 0; }
}
