/* =========================================================
   LARA — laraom.com
   Design system stylesheet (v7)
   Brand tokens carried forward unchanged from v6.
   sand #F7F2EB / dark #212429 / gold #B59A6D / grey #787874
   Fonts: DM Sans (body) + DM Serif Display (display)
   ========================================================= */

/* Self-hosted fonts (no runtime request to any third-party font service) */
@font-face {
  font-family: 'DM Sans'; font-style: normal; font-weight: 300; font-display: swap;
  src: url('/assets/fonts/dm-sans-300.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/assets/fonts/dm-sans-400.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('/assets/fonts/dm-sans-500.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('/assets/fonts/dm-sans-700.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans'; font-style: italic; font-weight: 400; font-display: swap;
  src: url('/assets/fonts/dm-sans-400-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Serif Display'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/assets/fonts/dm-serif-display-400.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Serif Display'; font-style: italic; font-weight: 400; font-display: swap;
  src: url('/assets/fonts/dm-serif-display-400-italic.woff2') format('woff2');
}

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

:root {
  --sand: #F7F2EB;
  --dark: #212429;
  --gold: #B59A6D;
  /* v6 shipped #787874, which measures 3.98:1 on the sand canvas and
     fails WCAG AA for normal text. Darkened to the same hue at 4.88:1
     on sand, 5.44:1 on white and 5.17:1 on the neutral fill. */
  --grey: #6A6A65;
  --white: #FFFFFF;
  --hairline: rgba(181,154,109,0.22);
  --hairline-soft: rgba(181,154,109,0.14);
  --ink-soft: #3a3f47;

  --green-fill: #DCE8DC;
  --green-stroke: #6B8F71;
  --green-text: #2F4A34;
  --gold-fill: #F4E4C4;
  --gold-stroke: #B59A6D;
  --gold-text: #6B4E22;
  --neutral-fill: #FBF9F4;

  --max: 1200px;
  --font-sans: 'DM Sans', sans-serif;
  --font-disp: 'DM Serif Display', serif;
  --nav-h: 72px;
}

/* ---------- accessibility primitives ---------- */
.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;
}
.skip-link {
  position: absolute; left: 1rem; top: -60px; z-index: 999;
  background: var(--dark); color: var(--sand); padding: 0.7rem 1.2rem; border-radius: 0 0 8px 8px;
  text-decoration: none; font-size: 0.85rem; font-weight: 500; transition: top 0.2s ease;
}
.skip-link:focus { top: 0; }

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible,
select:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--gold-text); outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important; scroll-behavior: auto !important;
  }
}

/* ---------- base ---------- */
html { scroll-behavior: smooth; }
body {
  background: var(--sand); color: var(--dark);
  font-family: var(--font-sans); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
button { font-family: inherit; }

h1, h2, h3 { font-family: var(--font-disp); font-weight: 400; line-height: 1.18; }
h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); margin-bottom: 1.4rem; }
h3 { font-size: 1.3rem; margin-bottom: 0.8rem; }
p { max-width: 68ch; }
p + p { margin-top: 1.1rem; }
strong { font-weight: 500; }

.section { max-width: var(--max); margin: 0 auto; padding: 5rem 2.5rem; }
.section--tight { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.section--dark { background: var(--dark); color: var(--white); max-width: none; padding-left: 0; padding-right: 0; }
.section--dark > * { max-width: var(--max); margin-left: auto; margin-right: auto; padding-left: 2.5rem; padding-right: 2.5rem; }
.section--white { background: var(--white); max-width: none; padding-left: 0; padding-right: 0; }
.section--white > * { max-width: var(--max); margin-left: auto; margin-right: auto; padding-left: 2.5rem; padding-right: 2.5rem; }
.section--rule-top { border-top: 1px solid var(--hairline); }
.section--closing { padding-top: 3.5rem; padding-bottom: 5rem; }

.label {
  font-size: 0.72rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold-text); margin-bottom: 1.2rem; display: block;
}
.note { font-size: 0.92rem; font-style: italic; color: var(--grey); margin-top: 1.4rem; max-width: 66ch; }
.section--dark .note { color: rgba(255,255,255,0.62); }

.two-col { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: start; }
.two-col--form { grid-template-columns: 1fr 1.2fr; }

.body-copy p, .body-copy li { color: var(--ink-soft); font-size: 1.02rem; line-height: 1.75; }
.section--dark .body-copy p, .section--dark .body-copy li { color: rgba(255,255,255,0.85); }
.body-copy ul { margin: 0.9rem 0; }
.body-copy li { position: relative; padding-left: 1.2rem; margin-bottom: 0.55rem; max-width: 62ch; }
.body-copy li::before { content: "\2014"; position: absolute; left: 0; color: var(--gold-text); }
.section--dark .body-copy li::before { color: var(--gold); }

/* ---------- buttons and links ---------- */
.btn {
  font-family: var(--font-sans); font-size: 0.78rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; text-decoration: none; display: inline-block;
  padding: 0.85rem 1.7rem; transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.btn-primary { background: var(--dark); color: var(--white); border: 1px solid var(--dark); }
.btn-primary:hover { background: #3a3f47; border-color: #3a3f47; }
.section--dark .btn-primary { background: var(--gold); color: var(--dark); border-color: var(--gold); }
.section--dark .btn-primary:hover { background: #c7ad82; }
.btn-outline { background: transparent; color: var(--dark); border: 1px solid rgba(33,36,41,0.35); }
.btn-outline:hover { border-color: var(--dark); background: rgba(33,36,41,0.04); }
.section--dark .btn-outline { color: var(--white); border-color: rgba(255,255,255,0.45); }
.section--dark .btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

.cta-row { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.8rem; }

.link-cta {
  display: inline-flex; align-items: center; gap: 0.4rem; margin-top: 1.6rem;
  font-size: 0.92rem; font-weight: 500; color: var(--dark); text-decoration: none;
  border-bottom: 1px solid var(--gold); padding-bottom: 0.15rem;
}
.link-cta::after { content: "\2192"; transition: transform 0.2s; }
.link-cta:hover::after { transform: translateX(3px); }
.section--dark .link-cta { color: var(--white); }

/* ---------- header ---------- */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200; height: var(--nav-h);
  background: rgba(247,242,235,0.96); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.nav-inner {
  max-width: var(--max); margin: 0 auto; height: 100%; padding: 0 2.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.nav-logo img { height: 20px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 1.9rem; }
.nav-links a {
  font-size: 0.88rem; font-weight: 500; color: var(--dark); text-decoration: none;
  padding: 0.3rem 0; border-bottom: 2px solid transparent; display: inline-block;
}
.nav-links a:hover { border-bottom-color: var(--gold); }
.nav-links a.is-active { border-bottom-color: var(--gold-text); color: var(--gold-text); }
.nav-actions { display: flex; align-items: center; gap: 1rem; }
.nav-cta {
  font-size: 0.76rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--white); background: var(--dark); padding: 0.62rem 1.3rem;
  text-decoration: none; transition: background 0.2s; white-space: nowrap;
}
.nav-cta:hover { background: #3a3f47; }

.nav-toggle {
  display: none; width: 30px; height: 30px; position: relative;
  background: none; border: none; cursor: pointer; flex: 0 0 auto;
}
.nav-toggle span, .nav-toggle::before, .nav-toggle::after {
  content: ""; position: absolute; left: 3px; right: 3px; height: 2px; background: var(--dark);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle::before { top: 8px; }
.nav-toggle span { top: 14px; }
.nav-toggle::after { top: 20px; }
.nav-toggle[aria-expanded="true"]::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span { opacity: 0; }
.nav-toggle[aria-expanded="true"]::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 940px) {
  .nav-inner { padding: 0 1.4rem; }
  .nav-toggle { display: block; }
  .nav-menu {
    position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; background: var(--sand);
    padding: 1.5rem 1.4rem 3rem; overflow-y: auto;
    transform: translateX(100%); transition: transform 0.25s ease;
    visibility: hidden;
  }
  .nav-menu.is-open { transform: translateX(0); visibility: visible; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links li { border-bottom: 1px solid var(--hairline-soft); }
  .nav-links a { display: block; padding: 1rem 0.2rem; font-size: 1.05rem; border-bottom: none; }
  .nav-links a.is-active { color: var(--gold-text); }
  .nav-cta { font-size: 0.7rem; padding: 0.55rem 0.9rem; }
}
@media (max-width: 420px) {
  .nav-cta { letter-spacing: 0.06em; padding: 0.5rem 0.7rem; }
  .nav-actions { gap: 0.6rem; }
}

/* ---------- masthead and page hero ---------- */
.masthead {
  max-width: var(--max); margin: 0 auto;
  padding: calc(var(--nav-h) + 2.6rem) 2.5rem 0;
}
.masthead-img { width: 100%; height: auto; }

.page-hero { max-width: var(--max); margin: 0 auto; padding: 2.4rem 2.5rem 0; }
main > .page-hero:first-child { padding-top: calc(var(--nav-h) + 3.2rem); }
/* Headlines run to the full content measure rather than wrapping early. */
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); max-width: none; }
h1, h2 { max-width: none; }
.page-hero .lead { font-size: 1.14rem; color: var(--ink-soft); max-width: 68ch; margin-top: 1.2rem; }

/* ---------- status badge ---------- */
.status-badge {
  display: inline-flex; align-items: center; gap: 0.55rem; margin-bottom: 1.3rem;
  font-size: 0.76rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold-text); background: var(--gold-fill);
  border: 1px solid var(--gold-stroke); padding: 0.45rem 0.9rem; max-width: none;
}
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold-text); flex: 0 0 auto; }

/* ---------- takeaway blocks ----------
   Statements, quotes and callouts are centred and contained. An earlier
   version used a left accent bar on a full-width box, which left a large
   empty margin to the right and read as though the box was floating left
   of the content. */
.statement {
  padding: 2.2rem 0; text-align: center;
  border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline);
}
.statement p {
  font-family: var(--font-disp); font-style: italic; font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  max-width: 34ch; margin: 0 auto; color: var(--dark); line-height: 1.35;
}
.section--dark .statement { border-color: rgba(255,255,255,0.18); }
.section--dark .statement p { color: var(--white); }

.quote-block {
  background: var(--neutral-fill); border: 1px solid var(--hairline); border-top: 3px solid var(--gold);
  padding: 1.7rem 2rem; margin: 1.6rem auto 0; max-width: 720px; text-align: center;
}
.quote-block p {
  font-family: var(--font-disp); font-size: 1.25rem; line-height: 1.45;
  max-width: none; margin: 0 auto;
}

.callout {
  background: var(--white); border: 1px solid var(--hairline); border-top: 3px solid var(--gold);
  padding: 1.7rem 2rem; margin: 2.2rem auto; max-width: 720px; text-align: center;
  font-size: 1rem; color: var(--ink-soft);
}
.callout p { color: inherit; max-width: none; margin: 0 auto; }
.callout strong { color: var(--dark); }
.section--white .callout { background: var(--neutral-fill); }

/* keep the trailing note visually attached to the centred block above it */
.callout + .note, .quote-block + .note { text-align: center; margin-left: auto; margin-right: auto; }

/* ---------- four responsibilities (home) ---------- */
.resp-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; margin-top: 1.6rem;
}
.resp-card {
  background: var(--white); border: 1px solid var(--hairline);
  border-top: 3px solid var(--green-stroke); padding: 1.6rem 1.4rem;
}
.resp-card h3 { font-family: var(--font-disp); font-size: 1.35rem; color: var(--green-text); margin-bottom: 0.6rem; }
.resp-card p { font-size: 0.95rem; color: var(--ink-soft); line-height: 1.6; }

/* ---------- responsibilities detail (model) ---------- */
.resp-detail { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.2rem 3rem; margin-top: 1rem; }
.resp-detail-item { scroll-margin-top: calc(var(--nav-h) + 24px); }
.resp-detail-item h3 {
  font-family: var(--font-sans); font-weight: 700; font-size: 1.05rem;
  color: var(--green-text); margin-bottom: 0.5rem; padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--hairline);
}
.resp-detail-item p { font-size: 0.98rem; color: var(--ink-soft); }

/* ---------- role pair ---------- */
.role-pair { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; margin-top: 1.4rem; }
.role-panel { background: var(--green-fill); border: 1px solid var(--green-stroke); padding: 1.8rem 1.7rem; }
.role-panel h2, .role-panel h3 {
  font-family: var(--font-disp); color: var(--green-text); font-size: 1.45rem; margin-bottom: 0.8rem;
}
.role-panel p { color: var(--green-text); font-size: 0.98rem; }
.role-pair--detail .role-panel {
  background: var(--white); border-color: var(--hairline); border-top: 3px solid var(--green-stroke);
}
.role-pair--detail .role-panel p { color: var(--ink-soft); }
.role-lead-in { margin-top: 1.2rem; font-weight: 500; }
.role-list { margin-top: 0.7rem; }
.role-list li {
  position: relative; padding-left: 1.2rem; margin-bottom: 0.55rem;
  font-size: 0.96rem; color: var(--ink-soft); line-height: 1.6;
}
.role-list li::before { content: "\2014"; position: absolute; left: 0; color: var(--gold-text); }
.role-panel .note { margin-top: 1.3rem; }

/* ---------- model overview visual ----------
   Transparent: the diagram sits directly on the page surface with no
   panel behind it. Both variants are viewBox-only, so they scale
   fluidly to the container at every width. */
.model-visual { background: none; border: 0; padding: 0; margin: 0; }
.lara-overview-svg { width: 100%; height: auto; display: block; }
.mv-detailed { display: block; }
.mv-simple { display: none; }
.mv-band-label {
  font-size: 0.7rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--grey); margin-bottom: 0.9rem; text-align: center; max-width: none;
}
.mv-roles { margin-top: 1.6rem; }
.mv-role-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.8rem; }
.mv-role-list li {
  text-align: center; padding: 0.9rem 1rem; font-size: 0.98rem; font-weight: 500;
  background: var(--green-fill); border: 1px solid var(--green-stroke); color: var(--green-text);
}

/* ---------- tables (lenses + role comparison) ---------- */
.lens-table, .compare-table {
  width: 100%; border-collapse: collapse; margin-top: 1.6rem; text-align: left;
}
.lens-table th, .lens-table td, .compare-table th, .compare-table td {
  padding: 0.95rem 1.1rem; border-bottom: 1px solid var(--hairline); vertical-align: top;
  font-size: 0.97rem;
}
.lens-table thead th, .compare-table thead th {
  font-family: var(--font-sans); font-size: 0.72rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--grey);
  border-bottom: 1px solid var(--gold); padding-bottom: 0.7rem;
}
.lens-table tbody th {
  font-family: var(--font-disp); font-weight: 400; font-size: 1.1rem;
  color: var(--green-text); width: 12rem;
}
.lens-table td, .compare-table td { color: var(--ink-soft); }
.compare-table { table-layout: fixed; }

@media (max-width: 700px) {
  .lens-table thead, .compare-table thead { display: none; }
  .lens-table tr, .compare-table tr {
    display: block; border-bottom: 1px solid var(--hairline); padding: 0.9rem 0;
  }
  .lens-table th, .lens-table td, .compare-table td {
    display: block; border: none; padding: 0.2rem 0; width: auto;
  }
  .compare-table td::before, .lens-table td[data-col]::before {
    content: attr(data-col); display: block;
    font-size: 0.68rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--grey); margin-bottom: 0.2rem;
  }
  .compare-table td + td { margin-top: 0.9rem; }
}

/* ---------- learning pathways ---------- */
.pathways { margin-top: 1rem; }
.pathway {
  background: var(--white); border: 1px solid var(--hairline);
  border-top: 3px solid var(--gold-stroke); padding: 1.7rem 1.6rem;
}
.pathway h2 { font-size: 1.4rem; margin-bottom: 0.7rem; }
.pathway p { font-size: 0.97rem; color: var(--ink-soft); }
.pathway-award {
  margin-top: 1rem; padding-top: 0.8rem; border-top: 1px dashed var(--hairline);
  font-size: 0.86rem; color: var(--gold-text); font-weight: 500;
}
.pathway--foundation { max-width: 620px; margin: 0 auto; border-top-color: var(--green-stroke); }
.pathway-branch { height: 2.6rem; position: relative; margin: 0; }
.pathway-branch::before {
  content: ""; position: absolute; top: 0; left: 50%; width: 1px; height: 100%;
  background: var(--gold-stroke);
}
.pathway-pair { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }

/* ---------- partner price block ---------- */
.price-block { background: var(--white); border: 1px solid var(--hairline); padding: 1.9rem 1.8rem; max-width: 700px; }
.price-block h3 { font-size: 1.35rem; }
.price-block p { color: var(--ink-soft); font-size: 0.98rem; }
.price-figure { font-family: var(--font-disp); font-size: 2rem; color: var(--gold-text); margin: 0.4rem 0 1.2rem; }
.price-figure span { display: block; font-family: var(--font-sans); font-size: 0.85rem; color: var(--grey); letter-spacing: 0.04em; }
.price-block--pending { border-style: dashed; background: var(--neutral-fill); }

/* ---------- forms ---------- */
.form-block { max-width: 520px; }
.form-row { display: flex; flex-direction: column; margin-bottom: 1.1rem; }
.form-row label {
  font-size: 0.78rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--grey); margin-bottom: 0.4rem;
}
.form-row input, .form-row select, .form-row textarea {
  font-family: var(--font-sans); font-size: 0.98rem; color: var(--dark); background: var(--white);
  border: 1px solid rgba(33,36,41,0.3); padding: 0.75rem 1rem; width: 100%; outline: none;
  transition: border-color 0.2s; appearance: none; border-radius: 0;
}
.form-row textarea { resize: vertical; min-height: 120px; }
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { border-color: var(--gold-text); }
.form-row input[aria-invalid="true"], .form-row select[aria-invalid="true"], .form-row textarea[aria-invalid="true"] {
  border-color: #A32B18; border-width: 2px;
}
.form-row select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23787874' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem;
}
.form-row--check { flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 0.6rem; }
.form-row--check input { width: auto; margin-top: 0.3rem; flex: 0 0 auto; }
.form-row--check label {
  text-transform: none; font-weight: 400; letter-spacing: 0; font-size: 0.9rem;
  color: var(--ink-soft); margin-bottom: 0; flex: 1; min-width: 12rem;
}
.form-row--check .field-error { flex-basis: 100%; }
.field-error:not(:empty) {
  display: block; color: #A32B18; font-size: 0.82rem; margin-top: 0.35rem; font-weight: 500;
}
.form-note { font-size: 0.86rem; color: var(--grey); margin-bottom: 1.2rem; }
.btn-submit {
  font-family: var(--font-sans); font-size: 0.82rem; font-weight: 500; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--white); background: var(--dark); border: none;
  padding: 1rem 2rem; cursor: pointer; transition: background 0.2s; width: 100%; margin-top: 0.6rem;
}
.btn-submit:hover { background: #3a3f47; }
.btn-submit:disabled { background: var(--grey); cursor: not-allowed; }
.form-error:not(:empty) {
  display: block; color: #A32B18; font-size: 0.9rem; margin-top: 0.9rem; font-weight: 500;
}
.form-success {
  background: var(--green-fill); border: 1px solid var(--green-stroke);
  padding: 1.6rem; max-width: 520px;
}
.form-success p { color: var(--green-text); font-weight: 500; }

/* ---------- footer ---------- */
.site-footer { background: var(--dark); color: rgba(255,255,255,0.72); }
.footer-inner {
  max-width: var(--max); margin: 0 auto; padding: 3.4rem 2.5rem 2.4rem;
  display: grid; grid-template-columns: 1.2fr 1.6fr; gap: 3rem;
}
.footer-brand img { height: 18px; width: auto; margin-bottom: 1.1rem; filter: brightness(0) invert(1); }
.footer-brand p { color: rgba(255,255,255,0.62); font-size: 0.88rem; max-width: 42ch; }
.footer-links { display: grid; grid-template-columns: repeat(3, auto); gap: 0.6rem 2.4rem; align-content: start; }
.footer-links a { color: rgba(255,255,255,0.72); text-decoration: none; font-size: 0.88rem; }
.footer-links a:hover { color: var(--gold); text-decoration: underline; }
.footer-boundary {
  max-width: var(--max); margin: 0 auto; padding: 1.6rem 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-boundary p { font-size: 0.85rem; color: rgba(255,255,255,0.6); max-width: 78ch; }
.footer-bottom {
  max-width: var(--max); margin: 0 auto; padding: 1.6rem 2.5rem 2.6rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.9rem;
  font-size: 0.78rem; color: rgba(255,255,255,0.55);
}
.footer-bottom a { color: rgba(255,255,255,0.72); }
.footer-bottom .footer-legal { max-width: 52ch; }

/* ---------- reveal ---------- */
.fade-up { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .resp-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col, .two-col--form { grid-template-columns: 1fr; gap: 2.4rem; }
  .resp-detail { grid-template-columns: 1fr; gap: 1.8rem; }
}

@media (max-width: 760px) {
  .section { padding: 3.4rem 1.4rem; }
  .section--dark, .section--white { padding-left: 0; padding-right: 0; }
  .section--dark > *, .section--white > * { padding-left: 1.4rem; padding-right: 1.4rem; }
  .masthead { padding: calc(var(--nav-h) + 1.8rem) 1.4rem 0; }
  .page-hero { padding: 1.8rem 1.4rem 0; }
  main > .page-hero:first-child { padding-top: calc(var(--nav-h) + 2.4rem); }
  .role-pair, .pathway-pair, .mv-role-list { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; padding: 2.6rem 1.4rem 2rem; }
  .footer-links { grid-template-columns: repeat(2, auto); }
  .footer-boundary, .footer-bottom { padding-left: 1.4rem; padding-right: 1.4rem; }
  .model-visual { padding: 0; }
  /* Below this width the detailed per-segment descriptions become
     unreadable, so the simpler variant takes over. It still scales
     fluidly to the viewport — no fixed width, no sideways scrolling. */
  .mv-detailed { display: none; }
  .mv-simple { display: block; }
  .statement p { max-width: none; }
}

@media (max-width: 480px) {
  .resp-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; }
  .cta-row .btn { width: 100%; text-align: center; }
}
