/* Shared Phase 05 navigation and layout tokens. */
:root {
  --transition-fast: 180ms ease;
  --transition-ui: 240ms cubic-bezier(.2, .7, .2, 1);
  --z-header: 30;
  --z-menu: 29;
  --bp-nav: 1120px;
}

.brand-name span,
.footer-brand span { white-space: nowrap; }
.primary-nav {
  align-items: center;
  display: flex;
  gap: clamp(.42rem, 1vw, .9rem);
  font: 600 .66rem/1.2 var(--body);
  letter-spacing: .075em;
}
.nav-group { position: relative; }
.nav-group > summary {
  align-items: center;
  color: var(--color-muted);
  cursor: pointer;
  display: flex;
  gap: .42rem;
  list-style: none;
  min-height: 44px;
  position: relative;
  white-space: nowrap;
}
.nav-group > summary::-webkit-details-marker { display: none; }
.nav-group > summary::after {
  border-bottom: 1px solid currentColor;
  border-right: 1px solid currentColor;
  content: "";
  height: .3rem;
  margin-top: -.18rem;
  transform: rotate(45deg);
  transition: transform var(--transition-fast);
  width: .3rem;
}
.nav-group[open] > summary::after { margin-top: .12rem; transform: rotate(225deg); }
.nav-group > summary::before {
  background: var(--green);
  bottom: 7px;
  content: "";
  height: 1px;
  left: 0;
  position: absolute;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-ui);
  width: calc(100% - .72rem);
}
.nav-group[data-active="true"] > summary::before,
.nav-group > summary:hover::before,
.nav-group > summary:focus-visible::before { transform: scaleX(1); }
.nav-submenu {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-menu);
  display: grid;
  gap: .12rem;
  left: -.8rem;
  min-width: 230px;
  padding: .45rem;
  position: absolute;
  top: calc(100% - 2px);
  z-index: 35;
}
.nav-submenu a {
  align-items: center;
  color: var(--ink);
  display: flex;
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: 0;
  min-height: 42px;
  padding: .5rem .65rem;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}
.nav-submenu a:hover,
.nav-submenu a[aria-current="page"] { background: var(--paper); color: var(--forest-dark); }
.nav-submenu a[aria-current="page"] { font-weight: 700; }
.primary-nav .nav-visit,
.primary-nav .nav-enquire {
  align-items: center;
  display: inline-flex;
  font: 700 .62rem/1.2 var(--body);
  justify-content: center;
  letter-spacing: .055em;
  min-height: 44px;
  padding: .65rem .78rem;
  white-space: nowrap;
}
.primary-nav .nav-enquire { background: var(--forest); color: var(--white); }
.primary-nav .nav-visit:hover,
.primary-nav .nav-enquire:hover { transform: translateY(-1px); }
.menu-toggle { display: none; }
.footer-navigation { display: flex; flex-wrap: wrap; gap: .65rem 1.35rem; }
.footer-navigation a,
.footer-actions a {
  color: var(--color-lavender-mid);
  font-size: .66rem;
  min-height: 36px;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
}
.footer-navigation a:hover,
.footer-actions a:hover { color: var(--white); text-decoration-color: currentColor; }
.footer-actions { display: flex; flex-wrap: wrap; gap: .3rem 1.2rem; }

/* Phase 11C: shared editorial scale and aligned page grid. */
:root {
  --gutter: clamp(1.5rem, 5vw, 5rem);
  --transition-ui: 260ms cubic-bezier(.2, .7, .2, 1);
}
body {font-size:17px;line-height:1.6}
.primary-nav {font-size:.82rem;letter-spacing:.035em}
.nav-group > summary {font-size:.82rem;letter-spacing:.055em}
.nav-submenu a {font-size:.82rem}
.primary-nav .nav-visit,.primary-nav .nav-enquire {font-size:.8rem;letter-spacing:.02em;min-height:48px;padding-inline:.82rem}
.site-footer {font-size:.9rem}
.site-footer .footer-navigation a,.site-footer .footer-actions a {font-size:.82rem;min-height:40px}
.site-footer small {font-size:.75rem}
#main .inner-hero:not(.hero-manifesto) h1 {font-size:clamp(4rem,5.4vw,5.125rem);line-height:1;letter-spacing:0}
#main .inner-hero .answer-intro {font-size:clamp(1.125rem,1.35vw,1.3rem);line-height:1.65;max-width:58ch}
#main .inner-section h2:not(.component-section-header__title):not(.component-heading--section) {font-size:clamp(3rem,4.5vw,4rem);line-height:1.06;letter-spacing:-.045em}
#main .inner-section h3:not(.component-section-header__title):not(.component-card__title):not(.component-heading--feature) {font-size:clamp(1.65rem,2.1vw,2.25rem);line-height:1.18;letter-spacing:-.025em}
#main .inner-section .component-section-header__eyebrow {font-size:.72rem;line-height:1.45;letter-spacing:.13em}
#main .inner-section p:not(.chapter-label):not(.form-title):not(.component-text):not(.component-section-header__eyebrow):not(.component-card__text):not(.component-card__credit):not(.component-contact__text):not(.component-process__text):not(.component-cta-block__text):not(.component-faq__answer):not(.component-section-header__text):not(.component-eyebrow):not(.component-card__eyebrow) {font-size:1.0625rem;line-height:1.7;max-width:min(100ch,100%)}
#main .eyebrow:not(.component-eyebrow),#main .chapter-label:not(.component-section-header__eyebrow):not(.component-eyebrow) {font-size:1rem;line-height:1.45;letter-spacing:.13em}
#main .breadcrumbs {font-size:.76rem;line-height:1.5}
#main .inner-button,#main .button {min-height:50px;padding:.78rem 1.2rem;font-size:.86rem}
#main .inner-section {padding-block:var(--space-section)}
.site-header {min-height:var(--header-h)}
.site-header {z-index:var(--z-header);background:rgba(252,250,247,.985)}
.brand img {width:40px;height:46px}
.menu-toggle {min-width:48px;min-height:48px}
:focus-visible {outline-color:var(--color-purple-deep);outline-width:3px;outline-offset:4px}
@media (max-width:1120px) {
  .primary-nav {font-size:1.9rem;letter-spacing:0}
  .primary-nav .nav-visit,.primary-nav .nav-enquire {font-size:.88rem}
  .nav-group > summary {font-size:.88rem;min-height:52px}
  .nav-submenu a {font-size:.94rem;min-height:46px}
}
@media (max-width:900px) {
  #main .inner-hero:not(.hero-manifesto) h1 {font-size:clamp(3.5rem,8vw,5rem)}
  #main .inner-section h2:not(.component-section-header__title):not(.component-heading--section) {font-size:clamp(2.75rem,6vw,3.75rem)}
}
@media (max-width:680px) {
  :root {--gutter:1.25rem;--space-section:clamp(4rem,11vw,5rem)}
  body {font-size:16px;line-height:1.62}
  .brand img {width:37px;height:43px}
  .primary-nav {font-size:1.8rem}
  .primary-nav .nav-visit,.primary-nav .nav-enquire {font-size:.85rem}
  #main .inner-hero:not(.hero-manifesto) h1 {font-size:clamp(2.625rem,11vw,3.25rem);line-height:1.03}
  #main .inner-hero .answer-intro {font-size:1.0625rem;line-height:1.6}
  #main .inner-section h2:not(.component-section-header__title):not(.component-heading--section) {font-size:clamp(2.25rem,9vw,2.75rem);line-height:1.08}
  #main .inner-section h3:not(.component-section-header__title):not(.component-card__title):not(.component-heading--feature) {font-size:clamp(1.5rem,6vw,1.75rem)}
  #main .inner-section p:not(.chapter-label):not(.form-title):not(.component-text):not(.component-section-header__eyebrow):not(.component-card__text):not(.component-card__credit):not(.component-contact__text):not(.component-process__text):not(.component-cta-block__text):not(.component-faq__answer):not(.component-section-header__text):not(.component-eyebrow):not(.component-card__eyebrow) {font-size:1rem;line-height:1.68}
  #main .eyebrow:not(.component-eyebrow),#main .chapter-label:not(.component-section-header__eyebrow):not(.component-eyebrow) {font-size:.72rem}
  .site-footer .footer-navigation a,.site-footer .footer-actions a {font-size:.82rem}
}
#main > .hero h1 {font-size:clamp(5.5rem,6.4vw,6.875rem);line-height:.92}
@media (max-width:680px) {
  #main > .hero h1 {font-size:clamp(3rem,12vw,3.625rem);line-height:.96}
}

@media (max-width: 1120px) {
  .site-header { z-index: var(--z-header); }
  .menu-toggle {
    align-items: center;
    background: var(--paper);
    border: 1px solid var(--line);
    cursor: pointer;
    display: flex;
    flex: 0 0 46px;
    flex-direction: column;
    gap: 6px;
    height: 46px;
    justify-content: center;
    position: relative;
    width: 46px;
    z-index: calc(var(--z-header) + 1);
  }
  .menu-toggle span {
    background: var(--ink);
    height: 1px;
    transition: transform var(--transition-fast);
    width: 17px;
  }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .primary-nav {
    align-content: start;
    align-items: stretch;
    background: var(--paper);
    bottom: 0;
    display: grid;
    gap: .25rem 1.1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    left: 0;
    opacity: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: calc(var(--header-h) + 1.15rem) var(--gutter) 2rem;
    position: fixed;
    right: 0;
    top: 0;
    transition: opacity var(--transition-ui), visibility var(--transition-ui);
    visibility: hidden;
    z-index: var(--z-menu);
    -webkit-overflow-scrolling: touch;
  }
  .primary-nav.is-open { opacity: 1; visibility: visible; }
  .nav-group { border-bottom: 1px solid var(--line); min-width: 0; }
  .nav-group > summary { color: var(--forest-dark); font-size: .7rem; min-height: 48px; }
  .nav-group > summary::before { display: none; }
  .nav-submenu {
    background: transparent;
    border: 0;
    box-shadow: none;
    gap: 0;
    min-width: 0;
    padding: 0 0 .7rem;
    position: static;
  }
  .nav-submenu a { background: transparent; font-size: .75rem; min-height: 42px; padding-inline: 0; }
  .nav-submenu a:hover,
  .nav-submenu a[aria-current="page"] { background: transparent; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 4px; }
  .primary-nav .nav-visit,
  .primary-nav .nav-enquire { align-self: end; font-size: .68rem; margin-top: .6rem; min-height: 48px; }
  .primary-nav .nav-visit { grid-column: 1; }
  .primary-nav .nav-enquire { grid-column: 2; }
  body.menu-open { overflow: hidden; }
}

@media (max-width: 420px) {
  .primary-nav { padding-inline: var(--gutter); }
  .primary-nav .nav-visit,
  .primary-nav .nav-enquire { font-size: .61rem; padding-inline: .35rem; }
}

@media (prefers-reduced-motion: reduce) {
  .primary-nav,
  .nav-group > summary::after,
  .nav-group > summary::before,
  .nav-submenu a,
  .menu-toggle span,
  .footer-navigation a,
  .footer-actions a { transition-duration: .01ms; }
}


.site-footer .footer-navigation { grid-column: 1 / -1; grid-row: 2; }
.site-footer .footer-actions { align-items: center; grid-column: 1 / -1; grid-row: 3; }
.site-footer .footer-actions a { border-bottom: 1px solid rgba(255,255,255,.28); display: inline-flex; align-items: center; gap: .45rem; text-decoration: none; }
.site-footer .footer-actions a span { transition: transform var(--transition-fast); }
.site-footer .footer-actions a:hover span { transform: translate(2px,-2px); }
.site-footer small { grid-row: 4; }

@media (max-width: 680px) {
  .site-footer .footer-navigation { grid-row: 3; gap: .25rem .9rem; }
  .site-footer .footer-actions { grid-row: 4; }
  .site-footer small { grid-row: 5; }
}
@media (max-width: 420px) {
  .primary-nav { column-gap: .75rem; }
}
.primary-nav .nav-visit[aria-current="page"] { box-shadow: inset 0 -2px var(--gold); }

/* Phase 05B: shared type, spacing and header scale. */
:root {
  --type-display: clamp(4.25rem, 8vw, 7.5rem);
  --type-h1: clamp(3.5rem, 5.25vw, 5.8rem);
  --type-h1-feature: clamp(4.6rem, 8.4vw, 8.2rem);
  --type-h2: clamp(2.6rem, 4.8vw, 4.8rem);
  --type-h3: clamp(1.45rem, 1.95vw, 1.95rem);
  --type-h3-feature: clamp(2.5rem, 4.2vw, 4.1rem);
  --type-body-lg: 1.0625rem;
  --type-body: 1rem;
  --type-small: .875rem;
  --type-label: .72rem;
  --type-nav: .85rem;
  --type-button: .75rem;
  --space-section: clamp(4rem, 7.2vw, 7rem);
  --space-xs: .35rem;
  --space-sm: .65rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2.25rem;
  --space-2xl: 3.5rem;
}

.brand img { height: 48px; width: 42px; }
.brand-name { font-size: .9rem; }
.brand-name span,
.footer-brand span { font-size: .68rem; letter-spacing: .07em; }
.primary-nav { gap: clamp(1rem, 1.5vw, 1.5rem); font-size: var(--type-nav); letter-spacing: .06em; }
.nav-group > summary { font-size: var(--type-nav); letter-spacing: .06em; }
.primary-nav .nav-visit,
.primary-nav .nav-enquire { font-size: var(--type-button); letter-spacing: .035em; min-height: 44px; padding-inline: .72rem; }
.breadcrumbs { font-size: var(--type-label); line-height: 1.5; padding-top: 1.05rem; }
.eyebrow,
.chapter-label,
.section-kicker { font-size: var(--type-label); letter-spacing: .12em; }

#main h1 {
  font-size: var(--type-h1);
  letter-spacing: 0;
  line-height: .98;
}
#main > .hero h1 {
  font-size: var(--type-display);
  letter-spacing: 0;
  line-height: 1.04;
}
#main .hero-manifesto h1 { font-size: var(--type-h1-feature); line-height: .94; }
#main h2:not(.component-section-header__title):not(.component-heading--section) {
  font-size: var(--type-h2);
  letter-spacing: -.045em;
  line-height: 1.04;
}
#main h3:not(.component-section-header__title):not(.component-card__title):not(.component-process__title):not(.component-contact__title):not(.component-heading--feature) {
  font-size: var(--type-h3);
  letter-spacing: -.02em;
  line-height: 1.2;
}
#main .journey-copy h3 { font-size: var(--type-h3-feature); line-height: 1; }
#main .guided-steps h3,
#main .manifesto-steps article h3 { font-size: clamp(1.65rem, 2.6vw, 2.4rem); }
#main .answer-row h3 { font: 600 var(--type-body)/1.5 var(--body); letter-spacing: 0; }
#main .inner-hero h1 { max-width: 14ch; }
#main .answer-intro { font-size: var(--type-body-lg); line-height: 1.65; max-width: 56ch; }
#main .inner-section p:not(.chapter-label):not(.form-title):not(.component-text):not(.component-section-header__eyebrow):not(.component-card__text):not(.component-card__credit):not(.component-contact__text):not(.component-process__text):not(.component-cta-block__text):not(.component-faq__answer):not(.component-section-header__text):not(.component-eyebrow):not(.component-card__eyebrow) {
  font-size: var(--type-body);
  line-height: 1.65;
  max-width: min(100ch, 100%);
}
#main .chapter-label:not(.component-section-header__eyebrow) { margin-bottom: 1.45rem; }
#main .inner-section h2:not(.component-section-header__title):not(.component-heading--section) { margin-bottom: 1.2rem; }
#main .inner-link,
#main .text-link { font-size: 1rem; line-height: 1.4; }
#main .inner-button,
#main .button { font-size: var(--type-button); letter-spacing: .015em; min-height: 48px; padding: .72rem 1.05rem; }
#main .hero-intro,
#main .journey-copy > p:not(.stage-count),
#main .learning-head > p,
#main .beyond-title > p:not(.eyebrow),
#main .expression-copy > p:not(.eyebrow):not(.content-note),
#main .campus-caption > p,
#main .leadership-copy > p:not(.eyebrow),
#main .philosophy-foot > p {
  font-size: var(--type-body);
  line-height: 1.65;
}
#main .hero-intro { max-width: 51ch; }
.site-footer .footer-brand { font-size: .95rem; }
.site-footer p,
.site-footer .back-top,
.site-footer .footer-navigation a,
.site-footer .footer-actions a { font-size: var(--type-small); line-height: 1.5; }
.site-footer small { font-size: .72rem; line-height: 1.5; }

@media (max-width: 1120px) {
  .primary-nav { gap: .45rem .9rem; }
  .brand { gap: .62rem; }
  .nav-group > summary { font-size: .8rem; letter-spacing: .085em; line-height: 1.3; }
  .nav-submenu { padding-left: .45rem; }
  .nav-submenu a { font-size: .9rem; line-height: 1.4; min-height: 44px; }
  .primary-nav .nav-visit,
  .primary-nav .nav-enquire { font-size: var(--type-button); min-height: 48px; }
}

@media (max-width: 680px) {
  :root {
    --header-h: 72px;
    --type-display: clamp(4.2rem, 16vw, 5.5rem);
    --type-h1: clamp(2.9rem, 10.5vw, 3.8rem);
    --type-h1-feature: clamp(3.6rem, 13vw, 5.3rem);
    --type-h2: clamp(2.35rem, 9vw, 3.15rem);
    --type-h3: clamp(1.35rem, 4vw, 1.6rem);
    --type-h3-feature: clamp(2.35rem, 11vw, 3.35rem);
    --space-section: clamp(3.75rem, 10vw, 4.5rem);
  }
  .brand img { height: 42px; width: 37px; }
  .brand-name { font-size: .86rem; }
  .brand-name span { font-size: .66rem; letter-spacing: .045em; }
  .menu-toggle { height: 44px; width: 44px; flex-basis: 44px; }
  .primary-nav { row-gap: .4rem; column-gap: .8rem; }
  .nav-group > summary { font-size: .76rem; min-height: 46px; }
  .nav-submenu { padding-left: .35rem; }
  .nav-submenu a { font-size: .88rem; min-height: 44px; }
  .primary-nav .nav-visit,
  .primary-nav .nav-enquire { font-size: .75rem; min-height: 48px; padding-inline: .55rem; }
  .breadcrumbs { font-size: .72rem; padding-top: .9rem; }
  #main h1 { line-height: 1; }
  #main > .hero h1 { line-height: .94; }
  #main .hero-manifesto h1 { font-size: var(--type-h1-feature); }
  #main h2 { line-height: 1.06; }
  #main .inner-hero h1 { max-width: 13ch; }
  #main .inner-hero { gap: 1.5rem; padding-top: 2.5rem; padding-bottom: 3.5rem; }
  #main .answer-intro { font-size: 1rem; }
  #main .inner-section { padding-block: var(--space-section); }
  #main .inner-section p:not(.chapter-label):not(.form-title):not(.component-text):not(.component-section-header__eyebrow):not(.component-card__text):not(.component-card__credit):not(.component-contact__text):not(.component-process__text):not(.component-cta-block__text):not(.component-faq__answer):not(.component-section-header__text):not(.component-eyebrow):not(.component-card__eyebrow) { font-size: 1rem; }
  #main .journey-copy h3 { font-size: var(--type-h3-feature); }
  .site-footer .footer-brand { font-size: .9rem; }
  .site-footer p,
  .site-footer .back-top,
  .site-footer .footer-navigation a,
  .site-footer .footer-actions a { font-size: .82rem; }
  .site-footer small { font-size: .72rem; }
}

#main > section.philosophy,
#main > section.learning,
#main > section.beyond,
#main > section.expression,
#main > section.campus,
#main > section.leadership,
#main > section.visit { padding-block: var(--space-section); }

/* Phase 11B: tune the existing type and spacing system for steadier reading. */
:root { --space-section: clamp(3.75rem, 6.2vw, 6.5rem); }
.breadcrumbs { font-size: .76rem; }
.primary-nav .nav-visit { background: var(--forest); color: var(--white) !important; }
.primary-nav .nav-visit:hover { background: var(--forest-dark); }
.primary-nav .nav-enquire { background: transparent; color: var(--forest) !important; }
.primary-nav .nav-enquire:hover { background: var(--paper-deep); }
#main .inner-section p:not(.chapter-label):not(.form-title):not(.component-text):not(.component-section-header__eyebrow):not(.component-card__text):not(.component-card__credit):not(.component-contact__text):not(.component-process__text):not(.component-cta-block__text):not(.component-faq__answer):not(.component-section-header__text):not(.component-eyebrow):not(.component-card__eyebrow) { max-width: min(100ch, 100%); }
#main .inner-section.note-line,
#main .inner-section.future-note,
#main .inner-section.requirements-note,
#main .inner-section.theme-rail,
#main .inner-section.taxonomy-note {
  padding-block: clamp(2.5rem, 4vw, 4rem);
}
#main .inner-enquiry label { font-size: .82rem; line-height: 1.45; }
#main .contact-facts dt,
#main .contact-facts dd { font-size: .90rem; line-height: 1.5; }
#main .form-fields label { font-size: .82rem; line-height: 1.45; }
#main .form-fields input,
#main .form-fields select { min-height: 48px; }
#main .field-error,
#main .form-status { font-size: .78rem !important; line-height: 1.5; }
#main .field-error { font-size: .78rem; line-height: 1.5; }
#main .contact-note { font-size: .78rem !important; line-height: 1.55; }
#main .content-note,
#main .principal-note { font-size: .78rem !important; line-height: 1.55; }
#main .progress-description { font-size: .94rem; line-height: 1.55; }
#main .progression-signature p { font-size: .82rem; line-height: 1.45; }
#main .faq-section summary { font-size: .92rem; line-height: 1.45; }
#main .evidence-status,
#main .taxonomy-note span { font-size: .78rem; line-height: 1.45; }

@media (min-width: 681px) and (max-width: 900px) {
  :root {
    --type-display: clamp(4.2rem, 8.8vw, 5.5rem);
    --type-h1: clamp(3.3rem, 5.1vw, 4.6rem);
    --type-h1-feature: clamp(3.9rem, 7.2vw, 5.5rem);
    --type-h2: clamp(2.5rem, 4.4vw, 3.6rem);
    --space-section: clamp(3.5rem, 6vw, 4.75rem);
  }
}

@media (max-width: 680px) {
  .breadcrumbs { font-size: .76rem; }
  #main .inner-section.note-line,
  #main .inner-section.future-note,
  #main .inner-section.requirements-note,
  #main .inner-section.theme-rail,
  #main .inner-section.taxonomy-note { padding-block: 2.5rem; }
  #main .inner-enquiry label { font-size: .86rem; }
  #main .contact-facts dt,
  #main .contact-facts dd { font-size: .86rem; }
  #main .form-fields label { font-size: .86rem; }
  #main .field-error { font-size: .8rem; }
  #main .form-status { font-size: .8rem !important; }
  #main .faq-section summary { font-size: .9rem; }
}

/* Shared header refinement: give the identity more presence while keeping the
   existing navigation layout and warm, understated palette. */
:root { --header-h: 120px; }

.site-header {
  height: var(--header-h);
  min-height: var(--header-h);
  border-bottom: 1px solid rgba(57, 32, 82, .12);
  transition: background-color 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.brand {
  gap: .85rem;
}

.brand img {
  width: 100px;
  height: 100px;
  object-fit: contain;
}

.brand-name {
  font-size: .94rem;
  letter-spacing: .015em;
}

.brand-name span {
  margin-top: .25rem;
  font-size: .67rem;
  letter-spacing: .075em;
}

@media (max-width: 1120px) {
  :root { --header-h: 82px; }
  .brand img { width: 45px; height: 52px; }
}

@media (max-width: 680px) {
  :root { --header-h: 76px; }
  .brand { gap: .68rem; }
  .brand img { width: 42px; height: 48px; }
  .brand-name { font-size: .86rem; }
  .brand-name span { margin-top: .18rem; font-size: .63rem; letter-spacing: .055em; }
}

/* The homepage header shares the cinematic image field, then settles into a
   clear warm surface after the reader begins scrolling. */
body.home-page .site-header {
  margin-bottom: calc(-1 * var(--header-h));
  background: rgba(252, 250, 247, .94);
  border-bottom-color: rgba(57, 32, 82, .08);
}

body.home-page .site-header.is-scrolled {
  background: rgba(252, 250, 247, .985);
  border-bottom-color: rgba(57, 32, 82, .12);
  box-shadow: 0 4px 16px rgba(37, 33, 43, .07);
}

.hero-copy {
  transition: opacity 450ms ease, transform 450ms ease;
}

.hero.is-changing .hero-copy {
  opacity: 0;
  transform: translateY(8px);
}

@media (prefers-reduced-motion: reduce) {
  .site-header, .hero-copy { transition: none; }
}

/* Phase 11C: restrained editorial navigation and footer hierarchy. */
@media (min-width: 1121px) {
  .primary-nav {
    gap: clamp(1rem, 1.5vw, 1.5rem);
    font-size: .78rem;
    letter-spacing: .065em;
  }
  .nav-group > summary {
    color: var(--color-muted);
    font-weight: 600;
    min-height: 48px;
  }
  .nav-group > summary:focus-visible,
  .nav-submenu a:focus-visible,
  .primary-nav > a:focus-visible {
    outline: 2px solid var(--forest);
    outline-offset: 3px;
  }
  .nav-group[open] > summary { color: var(--forest-dark); }
  .nav-submenu {
    border-top: 2px solid var(--green);
    box-shadow: 0 14px 30px rgba(37, 33, 43, .1);
    min-width: 245px;
    padding: .55rem;
    top: 100%;
  }
  .nav-submenu a { font-size: .78rem; min-height: 44px; }
}

.site-footer {
  align-items: start;
  column-gap: clamp(2rem, 5vw, 5.5rem);
  display: grid;
  grid-template-columns: minmax(190px, .9fr) minmax(260px, 1.2fr) minmax(220px, .9fr);
  padding: clamp(2.5rem, 5vw, 4.25rem) var(--gutter) 1.2rem;
  row-gap: 2.15rem;
}
.footer-identity,
.footer-links-block,
.footer-contact { min-width: 0; }
.site-footer .footer-brand {
  display: inline-flex;
  width: 50%;
}
.site-footer .footer-brand img { display: block; height: 100%; object-fit: contain; width: 100%; }
.site-footer .footer-location {
  color: var(--color-lavender-soft);
  font-size: .82rem;
  font-weight: 600;
  margin: 1rem 0 .35rem;
}
.site-footer .footer-note,
.site-footer .footer-contact p {
  color: var(--color-lavender-mid);
  font-size: .74rem;
  line-height: 1.7;
  margin: .4rem 0 0;
  max-width: 34ch;
}
.site-footer .footer-links-block h2,
.site-footer .footer-contact h2 {
  color: var(--color-gold);
  font: 600 1.2rem/1.3 var(--body);
  letter-spacing: .1em;
  margin: .2rem 0 .8rem;
  text-transform: uppercase;
}
.site-footer .footer-navigation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .08rem 1.1rem;
}
.site-footer .footer-navigation a,
.site-footer .footer-action-link,
.site-footer .back-top {
  align-items: center;
  color: var(--color-lavender-soft);
  display: inline-flex;
  font-size: .90rem;
  line-height: 1.45;
  min-height: 38px;
  text-decoration: none;
  text-underline-offset: 4px;
  transition: color var(--transition-fast), text-decoration-color var(--transition-fast);
}
.site-footer .footer-navigation a:hover,
.site-footer .footer-action-link:hover,
.site-footer .back-top:hover { color: #fff; text-decoration: underline; }
.site-footer .footer-navigation a:focus-visible,
.site-footer .footer-action-link:focus-visible,
.site-footer .back-top:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}
.site-footer .footer-action-link { display: flex; gap: .45rem; width: fit-content; }
.site-footer .footer-bottom {
  align-items: center;
  border-top: 1px solid rgba(255,255,255,.15);
  display: flex;
  grid-column: 1 / -1;
  justify-content: space-between;
  padding-top: 1rem;
}
.site-footer .footer-bottom small {
  border: 0;
  color: var(--color-muted);
  font-size: 1rem;
  grid-row: auto;
  padding: 0;
}
.site-footer .footer-bottom .back-top { color: var(--color-lavender-mid); }

@media (max-width: 900px) {
  .site-footer {
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
    row-gap: 1.8rem;
  }
  .site-footer .footer-contact { grid-column: 2; grid-row: 1; }
  .site-footer .footer-links-block { grid-column: 1 / -1; grid-row: 2; }
  .site-footer .footer-navigation { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .site-footer .footer-bottom { grid-row: 3; }
}
@media (max-width: 600px) {
  .site-footer { grid-template-columns: minmax(0, 1fr); row-gap: 1.45rem; }
  .site-footer .footer-contact,
  .site-footer .footer-links-block { grid-column: 1; grid-row: auto; }
  .site-footer .footer-navigation { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .12rem .75rem; }
  .site-footer .footer-bottom { grid-row: auto; }
  .site-footer .footer-bottom small { max-width: 70%; }
}
