/* Freedom Under Sail — Section 7 accessibility layer
   Loaded after each page's existing stylesheet. */

:root {
  --fus-focus-dark: #071f22;
  --fus-focus-light: #c8ff65;
  --fus-error: #9f1f17;
  --fus-error-bg: #fff2f0;
  --fus-success: #135f3d;
  --fus-success-bg: #eefbf4;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
}

/* Cross-engine resilience for Safari/iOS, Chromium/Android and Firefox. */
img,
svg,
video,
canvas,
iframe {
  max-width: 100%;
}

button,
input,
select,
textarea {
  max-width: 100%;
  font: inherit;
}

a,
button,
input,
select,
textarea,
summary {
  -webkit-tap-highlight-color: rgba(166, 239, 50, 0.28);
}

p,
li,
dd,
td,
th,
a,
button,
label {
  overflow-wrap: anywhere;
}

@media (max-width: 680px) {
  input,
  select,
  textarea {
    font-size: 16px;
  }

  .site-header,
  .portal-header {
    padding-left: max(16px, env(safe-area-inset-left)) !important;
    padding-right: max(16px, env(safe-area-inset-right)) !important;
  }
}

/* Social profiles are intentionally hidden until real profile URLs exist. */
.social-topbar,
.footer-social {
  display: none !important;
}

.site-header {
  top: 0 !important;
}

/* Consistent project-following strip for every public page and the portal. */
.fus-global-social-topbar,
.fus-global-footer-social,
.fus-global-social-topbar *,
.fus-global-footer-social * {
  box-sizing: border-box;
}

.fus-global-social-topbar {
  position: relative;
  z-index: 1000;
  display: grid;
  grid-template-columns: minmax(10rem, 1fr) auto minmax(16rem, 1fr);
  align-items: center;
  gap: 1rem;
  min-height: 38px;
  width: 100%;
  padding: 0.42rem clamp(1.25rem, 4.5vw, 4.5rem);
  color: #fff;
  background: #052327;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.fus-global-social-topbar > p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  color: #fff;
  font-size: 0.69rem;
  font-weight: 850;
  letter-spacing: 0.15em;
  line-height: 1.2;
  text-transform: uppercase;
}

.fus-global-social-topbar > p > span {
  width: 0.48rem;
  height: 0.48rem;
  flex: 0 0 auto;
  background: #a6ef32;
  border-radius: 50%;
  box-shadow: 0 0 0 0.2rem rgba(166, 239, 50, 0.12);
}

.fus-global-social-topbar > small {
  justify-self: end;
  max-width: 37rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.63rem;
  font-weight: 650;
  letter-spacing: 0.05em;
  line-height: 1.35;
  text-align: right;
  text-transform: uppercase;
}

.fus-global-social-links {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.fus-global-social-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  min-height: 1.8rem;
  padding: 0.18rem 0.48rem;
  color: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.19);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
}

.fus-nomination-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  min-height: 2rem;
  padding: 0.34rem 0.72rem;
  color: #06272a !important;
  background: #b5f35d;
  border: 1px solid #b5f35d;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.fus-nomination-link:hover {
  color: #fff !important;
  background: #147064;
  border-color: #fff;
}

.fus-nomination-link-icon {
  font-size: 0.85rem;
  line-height: 1;
}

a.fus-global-social-chip {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

a.fus-global-social-chip:hover {
  color: #061f22;
  background: #a6ef32;
  border-color: #a6ef32;
}

.fus-global-social-icon {
  display: inline-grid;
  place-items: center;
  width: 1rem;
  height: 1rem;
  font-size: 0.76rem;
  font-weight: 900;
  line-height: 1;
}

.fus-social-header-offset {
  top: 38px !important;
}

.fus-global-footer-social {
  display: grid;
  grid-template-columns: minmax(14rem, 1fr) auto minmax(16rem, 1fr);
  align-items: center;
  gap: 1.4rem;
  width: 100%;
  grid-column: 1 / -1;
  flex: 0 0 100%;
  margin: 1.5rem 0;
  padding: 1.25rem clamp(1rem, 3.5vw, 2.75rem);
  color: #fff;
  background: #052b2d;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 0.85rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.fus-global-nomination,
.fus-global-nomination * {
  box-sizing: border-box;
}

.fus-global-nomination {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(12rem, 0.32fr);
  align-items: center;
  gap: clamp(1.25rem, 4vw, 3.25rem);
  width: 100%;
  grid-column: 1 / -1;
  flex: 0 0 100%;
  margin: 1.5rem 0 0;
  padding: clamp(1.35rem, 3.2vw, 2.2rem);
  color: #fff;
  background: linear-gradient(125deg, #0a4a45 0%, #062b2e 72%);
  border: 1px solid rgba(181, 243, 93, 0.56);
  border-radius: 0.85rem;
  box-shadow: inset 0.28rem 0 0 #b5f35d;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.fus-nomination-eyebrow {
  color: #b5f35d;
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.fus-global-nomination h2 {
  margin: 0.38rem 0 0;
  color: #fff;
  font-size: clamp(1.15rem, 2.4vw, 1.75rem);
  line-height: 1.18;
}

.fus-global-nomination p {
  max-width: 55rem;
  margin: 0.62rem 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.88rem;
  line-height: 1.55;
}

.fus-global-nomination .fus-nomination-guidance {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.77rem;
}

.fus-nomination-action {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.65rem;
}

.fus-nomination-link-panel {
  min-height: 2.85rem;
  padding: 0.75rem 1.05rem;
  font-size: 0.88rem;
}

.fus-nomination-action small {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.66rem;
  line-height: 1.4;
  text-align: center;
}

.fus-global-footer-social > div:first-child > span {
  color: #a6ef32;
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.fus-global-footer-social p {
  margin: 0.32rem 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.82rem;
  line-height: 1.45;
}

.fus-global-footer-social > small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.7rem;
  font-weight: 650;
  line-height: 1.45;
  text-align: right;
}

.fus-global-social-topbar a:focus-visible,
.fus-global-footer-social a:focus-visible,
.fus-global-nomination a:focus-visible {
  outline-color: #fff !important;
  box-shadow: 0 0 0 6px #a6ef32 !important;
}

/* Round Britain commercial context: readable evidence, not a sales claim. */
.rb-market-context {
  padding-block: clamp(4rem, 7vw, 7rem);
}

.rb-route-map-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  background: #cfedf2;
}

.rb-market-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.75fr);
  gap: clamp(1.5rem, 5vw, 5rem);
  align-items: end;
  margin-bottom: 2rem;
}

.rb-market-heading > p {
  margin: 0;
  color: #425b5e;
  font-size: 1rem;
  line-height: 1.65;
}

.rb-market-wrap {
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  border: 1px solid #c9d3d1;
  border-radius: 0.8rem;
  background: #fff;
}

.rb-market-table {
  width: 100%;
  min-width: 46rem;
  border-collapse: collapse;
  color: #0b2629;
}

.rb-market-table caption {
  padding: 1rem 1.2rem;
  color: #496164;
  font-size: 0.78rem;
  line-height: 1.45;
  text-align: left;
}

.rb-market-table th,
.rb-market-table td {
  padding: 1rem 1.2rem;
  border-top: 1px solid #dbe2e0;
  line-height: 1.5;
  text-align: left;
  vertical-align: top;
}

.rb-market-table thead th {
  color: #fff;
  background: #062c2f;
  border-top: 0;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.rb-market-table tbody th {
  font-weight: 800;
}

.rb-market-table a {
  color: #0a5c51;
  font-weight: 800;
  text-decoration-thickness: 0.11em;
  text-underline-offset: 0.18em;
}

.rb-market-logic {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.rb-market-logic article {
  padding: clamp(1.2rem, 2.5vw, 1.8rem);
  color: #eaf5f2;
  background: #062c2f;
  border-radius: 0.8rem;
}

.rb-market-logic h3 {
  margin: 0 0 0.65rem;
  color: #fff;
  font-size: 1.02rem;
}

.rb-market-logic p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.9rem;
  line-height: 1.62;
}

.rb-market-caveat {
  margin: 1rem 0 0;
  padding: 1rem 1.2rem;
  color: #263f42;
  background: #eef3f1;
  border-left: 0.3rem solid #6bbf39;
  font-size: 0.86rem;
  line-height: 1.58;
}

img,
video,
svg,
iframe {
  max-width: 100%;
}

main,
section,
article,
aside,
header,
footer,
nav,
form,
fieldset,
div {
  min-width: 0;
}

p,
li,
dd,
figcaption,
label,
a,
button {
  overflow-wrap: anywhere;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100000;
  padding: 0.8rem 1rem;
  color: #fff !important;
  background: #071f22 !important;
  border: 3px solid #c8ff65;
  border-radius: 0.25rem;
  font: 700 1rem/1.2 system-ui, sans-serif;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 0.15s ease;
}

.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
}

:where(a[href], button, input, select, textarea, summary, video[controls], [tabindex]:not([tabindex="-1"])):focus-visible {
  outline: 3px solid var(--fus-focus-dark) !important;
  outline-offset: 3px !important;
  box-shadow: 0 0 0 6px var(--fus-focus-light) !important;
}

:where(input, select, textarea)[aria-invalid="true"] {
  border-color: var(--fus-error) !important;
  border-width: 2px !important;
  box-shadow: 0 0 0 3px rgba(159, 31, 23, 0.14) !important;
}

.fus-field-error {
  display: block;
  margin: 0.45rem 0 0;
  color: var(--fus-error) !important;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: normal;
  text-transform: none;
}

.fus-required-marker {
  color: currentColor;
  font-weight: 900;
}

.fus-required-note {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  font-weight: 650;
}

.fus-required-note .fus-required-marker,
.fus-required-note > span[aria-hidden="true"] {
  color: currentColor;
  font-weight: 900;
}

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

.notice-error,
.flash-error {
  color: #54100b !important;
  background: var(--fus-error-bg) !important;
  border: 2px solid var(--fus-error) !important;
}

.notice-success,
.flash-success {
  color: #083d27 !important;
  background: var(--fus-success-bg) !important;
  border: 2px solid var(--fus-success) !important;
}

/* Keep small labels, captions and secondary actions readable. */
figcaption,
.eyebrow,
.section-number,
.card-number,
.optional,
.small-note,
.form-fallback,
.review-date {
  opacity: 1 !important;
}

.site-header .brand-copy small,
.site-header .brand-tagline,
.social-topbar > small,
.social-topbar .social-chip,
.featured-card p,
.vessel-copy > p:not(.eyebrow):not(.vessel-lede),
.vessel-facts dt,
.caveat,
.impact-stats span,
.founder-media > p,
.rb-lede,
.rb-status span,
.rb-outcome-grid p,
.rb-safety-note,
.rb-funding dd,
.rb-contact-panel p,
.rb-map-frame figcaption,
.rb-route-list p,
.rb-route-caveat,
.rb-route-facts span,
.rb-net-definition p,
.rb-package-note,
.rb-media-grid li,
.rb-reporting-grid p,
.rb-next p {
  color: rgba(255, 255, 255, 0.84) !important;
  opacity: 1 !important;
}

.hero .text-link,
.rb-hero .rb-text-link,
.rb-next a:not(.button),
.vessel a,
.signature-sail a {
  text-decoration: underline;
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.22em;
}

.hero .text-link,
.hero .eyebrow.light,
.hero-location,
.signature-sail .eyebrow.light,
.vessel .eyebrow.light,
.rb-hero figcaption,
.rb-media .eyebrow.light,
.rb-next .eyebrow.light {
  color: #fff !important;
  opacity: 1 !important;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.78);
}

.founder-media video {
  display: block;
  width: 100%;
}

.fus-transcript {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  color: #102b2e;
  background: #f4f7f3;
  border: 1px solid #98aaa6;
  border-radius: 0.25rem;
}

.fus-transcript summary {
  cursor: pointer;
  font-weight: 800;
}

.fus-transcript div {
  padding-top: 0.75rem;
}

.fus-transcript p:last-child {
  margin-bottom: 0;
}

.fus-policy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.2rem;
}

.fus-policy-links a {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.table-wrap:focus-visible {
  outline: 3px solid var(--fus-focus-dark) !important;
  outline-offset: 3px;
}

@media (max-width: 40rem) {
  .fus-global-social-topbar {
    grid-template-columns: 1fr auto;
    min-height: 42px;
    gap: 0.65rem;
    padding-inline: 1rem;
  }

  .fus-global-social-topbar > small {
    display: none;
  }

  .fus-global-social-links-top .fus-global-social-chip > span:last-child {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .fus-global-social-links-top .fus-global-social-chip {
    min-width: 2rem;
    justify-content: center;
    padding-inline: 0.38rem;
  }

  .fus-global-social-links-top .fus-nomination-link > span:last-child {
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: nowrap;
  }

  .fus-global-social-links-top .fus-nomination-link {
    min-width: auto;
    padding-inline: 0.58rem;
  }

  .fus-social-header-offset {
    top: 42px !important;
  }

  .fus-global-footer-social {
    grid-template-columns: minmax(0, 1fr);
    gap: 1rem;
    padding: 1.15rem;
  }

  .fus-global-nomination {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.1rem;
    padding: 1.25rem;
  }

  .fus-nomination-action {
    align-items: flex-start;
  }

  .fus-nomination-action small {
    max-width: 26rem;
    text-align: left;
  }

  .fus-global-footer-social .fus-global-social-links {
    justify-content: flex-start;
  }

  .fus-global-footer-social > small {
    text-align: left;
  }

  .rb-market-heading,
  .rb-market-logic {
    grid-template-columns: minmax(0, 1fr);
  }

  .field-row,
  .mission,
  .mission-columns,
  .programme-heading,
  .participant-grid,
  .participant-heading,
  .programme-grid,
  .vessel,
  .founder,
  .aboard-heading,
  .partner-grid,
  .partner-heading,
  .readiness-grid,
  .readiness-heading,
  .home-funding-facts,
  .funder-heading,
  .contact-hero,
  .contact-shell,
  .policy-layout,
  .portal-summary,
  .account-panels,
  .rb-purpose,
  .rb-route-layout,
  .rb-route-facts,
  .rb-plan-heading,
  .rb-stage-grid,
  .rb-budget-summary,
  .rb-package-grid,
  .rb-sponsor-heading,
  .rb-media-grid,
  .rb-reporting-grid,
  .rb-media-heading,
  .rb-independence,
  .two-column {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .hero-actions,
  .rb-next-actions,
  .decision-buttons,
  .site-header nav,
  .portal-header nav {
    flex-wrap: wrap;
  }

  :where(.button, .primary-button, .submit-button, .header-cta) {
    white-space: normal !important;
    text-align: center;
  }

  table {
    min-width: 38rem;
  }

  .table-wrap,
  .rb-budget-wrap {
    overflow-x: auto;
    overscroll-behavior-inline: contain;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (forced-colors: active) {
  :where(a[href], button, input, select, textarea, summary, video[controls]):focus-visible {
    outline: 3px solid CanvasText !important;
    box-shadow: none !important;
  }
}

/* Section 8: site-wide phone and small-tablet readability/navigation repair. */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

.fus-mobile-nav-toggle {
  display: none;
}

@media (max-width: 61.25rem) {
  .site-header.fus-mobile-nav-ready,
  .portal-header.fus-mobile-nav-ready {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    gap: 0.75rem 1rem !important;
    width: 100% !important;
  }

  .site-header.fus-mobile-nav-ready .brand,
  .portal-header.fus-mobile-nav-ready .portal-brand {
    min-width: 0;
  }

  .site-header.fus-mobile-nav-ready .brand-copy,
  .portal-header.fus-mobile-nav-ready .portal-brand > span {
    min-width: 0;
  }

  .fus-mobile-nav-toggle {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    min-width: 5.25rem;
    min-height: 2.9rem;
    margin: 0;
    padding: 0.65rem 0.8rem;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 0.45rem;
    font: 800 0.72rem/1 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }

  .fus-mobile-nav-toggle:hover,
  .fus-mobile-nav-toggle[aria-expanded="true"] {
    color: #071f22;
    background: #b5f35d;
    border-color: #b5f35d;
  }

  .fus-mobile-nav-icon {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.22rem;
    width: 1.15rem;
    height: 1rem;
  }

  .fus-mobile-nav-icon > span {
    display: block;
    width: 100%;
    height: 2px;
    background: currentColor;
    border-radius: 99px;
    transform-origin: center;
    transition: transform 0.18s ease, opacity 0.18s ease;
  }

  .fus-mobile-nav-toggle[aria-expanded="true"] .fus-mobile-nav-icon > span:nth-child(1) {
    transform: translateY(0.36rem) rotate(45deg);
  }

  .fus-mobile-nav-toggle[aria-expanded="true"] .fus-mobile-nav-icon > span:nth-child(2) {
    opacity: 0;
  }

  .fus-mobile-nav-toggle[aria-expanded="true"] .fus-mobile-nav-icon > span:nth-child(3) {
    transform: translateY(-0.36rem) rotate(-45deg);
  }

  .site-header.fus-mobile-nav-ready .fus-mobile-nav-menu,
  .portal-header.fus-mobile-nav-ready .fus-mobile-nav-menu {
    display: none !important;
    grid-column: 1 / -1 !important;
    width: 100% !important;
    max-height: min(72vh, 38rem);
    margin: 0 !important;
    padding: 0.45rem 0 0 !important;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: #061f22;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .site-header.fus-mobile-nav-open .fus-mobile-nav-menu,
  .portal-header.fus-mobile-nav-open .fus-mobile-nav-menu {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 0 !important;
  }

  .fus-mobile-nav-menu > a,
  .fus-mobile-nav-menu > button,
  .fus-mobile-nav-menu > form > button {
    display: flex !important;
    align-items: center;
    width: 100% !important;
    min-height: 3rem;
    margin: 0 !important;
    padding: 0.8rem 0.65rem !important;
    color: #fff !important;
    background: transparent !important;
    border: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13) !important;
    border-radius: 0 !important;
    font-size: 0.9rem !important;
    font-weight: 750 !important;
    line-height: 1.3 !important;
    text-align: left !important;
    text-decoration: none !important;
    white-space: normal !important;
  }

  .fus-mobile-nav-menu > form {
    width: 100%;
    margin: 0 !important;
  }

  .fus-mobile-nav-menu > a:hover,
  .fus-mobile-nav-menu > a:focus-visible,
  .fus-mobile-nav-menu > form > button:hover,
  .fus-mobile-nav-menu > form > button:focus-visible {
    color: #071f22 !important;
    background: #b5f35d !important;
  }
}

@media (max-width: 40rem) {
  body {
    width: 100%;
    font-size: 1rem;
  }

  input,
  select,
  textarea {
    max-width: 100%;
    font-size: 16px !important;
  }

  .site-header.fus-mobile-nav-ready,
  .portal-header.fus-mobile-nav-ready {
    padding: 0.8rem max(1rem, env(safe-area-inset-right)) 0.8rem max(1rem, env(safe-area-inset-left)) !important;
  }

  .site-header .brand-symbol,
  .portal-header .portal-brand img {
    width: 2.6rem !important;
    height: 2.6rem !important;
    flex: 0 0 2.6rem;
    object-fit: contain;
  }

  .site-header .brand-copy strong,
  .portal-header .portal-brand strong {
    font-size: clamp(0.95rem, 4.6vw, 1.25rem) !important;
    line-height: 1.1 !important;
  }

  .site-header .brand-copy small,
  .site-header .brand-tagline,
  .portal-header .portal-brand small {
    display: none !important;
  }

  .fus-mobile-nav-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .fus-mobile-nav-toggle {
    min-width: 3rem;
    width: 3rem;
    min-height: 3rem;
    padding: 0.75rem;
  }

  .fus-social-topbar,
  .fus-global-social-topbar {
    grid-template-columns: minmax(6.5rem, 1fr) auto !important;
    gap: 0.45rem !important;
    min-height: 2.75rem;
    padding: 0.42rem max(0.75rem, env(safe-area-inset-right)) 0.42rem max(0.75rem, env(safe-area-inset-left)) !important;
  }

  .fus-social-topbar > p,
  .fus-global-social-topbar > p {
    font-size: 0.55rem !important;
    letter-spacing: 0.1em !important;
  }

  .fus-social-topbar .social-links-top,
  .fus-global-social-links-top {
    gap: 0.3rem !important;
  }

  .fus-social-topbar .fus-nomination-link-top,
  .fus-global-social-topbar .fus-nomination-link-top {
    min-height: 2rem;
    padding-inline: 0.5rem;
  }

  .fus-social-topbar .fus-nomination-link-top > span:last-child,
  .fus-global-social-topbar .fus-nomination-link-top > span:last-child {
    max-width: 4.5rem;
    overflow: hidden;
    font-size: 0;
  }

  .fus-social-topbar .fus-nomination-link-top > span:last-child::after,
  .fus-global-social-topbar .fus-nomination-link-top > span:last-child::after {
    content: "Nominate";
    font-size: 0.68rem;
  }

  .hero {
    min-height: auto !important;
    height: auto !important;
  }

  .hero-content {
    width: 100% !important;
    max-width: none !important;
    padding: clamp(3.75rem, 17vw, 5.25rem) max(1.25rem, env(safe-area-inset-right)) 2rem max(1.25rem, env(safe-area-inset-left)) !important;
  }

  .hero h1,
  .fg-hero h1,
  .pc-hero h1,
  .rb-hero h1,
  .portal-hero h1,
  .admin-heading h1,
  .token-panel h1 {
    max-width: 100% !important;
    font-size: clamp(3rem, 14vw, 4rem) !important;
    line-height: 0.92 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  .hero .eyebrow {
    max-width: 100%;
    font-size: 0.67rem !important;
    letter-spacing: 0.13em !important;
    line-height: 1.5 !important;
    white-space: normal !important;
  }

  .hero-lede,
  .fg-lead,
  .pc-lead,
  .rb-lede,
  .portal-hero-copy > p:not(.eyebrow) {
    max-width: 100% !important;
    font-size: 1rem !important;
    line-height: 1.62 !important;
  }

  .hero-actions,
  .fg-actions,
  .pc-actions,
  .rb-actions,
  .rb-next-actions,
  .fus-participant-actions,
  .decision-buttons,
  .remove-document-actions,
  .document-actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    align-items: stretch !important;
    width: 100%;
    gap: 0.75rem !important;
  }

  :where(.button, .primary-button, .submit-button, .header-cta, .fg-contact-link, .pc-text-link) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 3.15rem;
    padding: 0.85rem 1rem !important;
    font-size: 0.82rem !important;
    line-height: 1.35 !important;
    letter-spacing: 0.06em !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  :where(.hero-actions, .fg-actions, .pc-actions, .rb-actions, .rb-next-actions) :where(.text-link, .fg-text-link, .pc-text-link, .rb-text-link) {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    width: fit-content;
    max-width: 100%;
    padding-block: 0.5rem;
  }

  :where(h1, h2, h3, h4) {
    max-width: 100%;
    text-wrap: balance;
    overflow-wrap: normal;
    word-break: normal;
  }

  :where(.section-shell, .rb-shell, .page-shell) {
    max-width: calc(100% - 2rem) !important;
  }

  :where(.fg-section, .pc-section, .rb-shell, .section-shell, .page-shell) {
    padding-top: clamp(2.75rem, 10vw, 4.5rem);
    padding-bottom: clamp(2.75rem, 10vw, 4.5rem);
  }

  .proof-strip,
  .impact-stats,
  .fg-facts,
  .pc-facts,
  .rb-status,
  .admin-stats {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .fg-hero,
  .pc-hero,
  .rb-hero,
  .portal-hero {
    grid-template-columns: minmax(0, 1fr) !important;
    min-height: 0 !important;
  }

  .fg-hero-copy,
  .pc-hero-copy,
  .rb-hero-copy,
  .portal-hero-copy {
    padding: 3.25rem 1.25rem !important;
  }

  .site-footer nav,
  .portal-footer nav,
  .fus-policy-links,
  .fus-portal-policy-links {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    width: 100%;
    gap: 0.25rem 0.75rem !important;
  }

  .site-footer nav a,
  .portal-footer nav a,
  .fus-policy-links a,
  .fus-portal-policy-links a {
    display: flex;
    align-items: center;
    min-height: 2.75rem;
    padding-block: 0.35rem;
  }

  .site-footer,
  .portal-footer {
    padding-left: max(1rem, env(safe-area-inset-left)) !important;
    padding-right: max(1rem, env(safe-area-inset-right)) !important;
  }

  .fus-global-nomination,
  .fus-global-footer-social {
    width: 100% !important;
    max-width: 100% !important;
    margin-inline: 0 !important;
  }

  .table-wrap,
  .rb-budget-wrap,
  .rb-market-wrap,
  .batch-file-table {
    width: 100%;
    max-width: 100%;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  table {
    font-size: 0.86rem;
  }

  summary,
  button,
  [role="button"] {
    min-height: 2.75rem;
  }
}

@media (max-width: 23rem) {
  .fus-social-topbar .social-chip:nth-child(-n+2),
  .fus-global-social-links-top .fus-global-social-chip:nth-child(-n+2) {
    display: none !important;
  }

  .site-footer nav,
  .portal-footer nav,
  .fus-policy-links,
  .fus-portal-policy-links {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}

/* Section 9: keep the branded header below the existing social strip. */
.fus-social-topbar + .site-header {
  top: 38px !important;
}

@media (max-width: 42.5rem) {
  .fus-social-topbar + .site-header {
    top: 42px !important;
  }
}

/* FUS-FLUID-TEXT-CONTAINMENT-20260828
   Keeps public-site text inside its component at every viewport width and zoom. */

/* Grid and flex children are allowed to become narrower than their contents. */
:where(
  main, section, article, aside, header, footer, nav, form, fieldset,
  div, dl, dt, dd, ul, ol, li, figure, figcaption
) {
  min-inline-size: 0;
}

/* Normal prose wraps only when it needs to. */
:where(p, li, dt, dd, figcaption, label, legend, summary, blockquote, a, button) {
  max-inline-size: 100%;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

/* Large display text must never escape its available column. */
:where(h1, h2, h3, h4, h5, h6) {
  max-inline-size: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
  text-wrap: balance;
}

/* Controls can use two lines at narrow widths instead of overflowing. */
:where(.button, .primary-button, .submit-button, .header-cta, .text-link) {
  max-inline-size: 100%;
  white-space: normal !important;
  text-align: center;
}

/* Reflow the homepage impact cards before their text becomes cramped. */
.impact-stats {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
}

.impact-stats > article {
  min-inline-size: 0;
  container-type: inline-size;
}

/* Size each statistic from its card, not from the browser window. */
.impact-stats strong {
  max-inline-size: 100%;
  font-size: clamp(1.65rem, 16cqi, 4.5rem);
  line-height: 0.98;
  overflow-wrap: anywhere;
  word-break: normal;
}

/* Current Chrome, Edge, Firefox and Safari use the rule above.
   This fallback keeps older browsers safe. */
@supports not (font-size: 1cqi) {
  .impact-stats strong {
    font-size: clamp(1.65rem, 4vw, 4.5rem);
  }
}

/* At tablet, split-screen and high-zoom widths, use one readable column. */
@media (max-width: 61.25rem) {
  .impact-stats {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .impact-stats > article {
    min-height: 0;
  }

  .impact-stats strong {
    font-size: clamp(2.25rem, 13cqi, 4.5rem);
  }
}

/* Keep amounts intact; the surrounding table may scroll on very small screens. */
:where(.fus-application, .fus-commercial-budget) th:last-child,
:where(.fus-application, .fus-commercial-budget) td:last-child {
  white-space: nowrap;
  overflow-wrap: normal;
  hyphens: none;
}


/* FUS-SITE-IMPROVEMENTS-20260828 */

/* Shared containment and all-width text safety. */
:where(main, section, article, aside, header, footer, nav, form, fieldset, div,
  dl, dt, dd, ul, ol, li, figure, figcaption) {
  min-inline-size: 0;
}

:where(p, li, dt, dd, figcaption, label, legend, summary, blockquote, a, button) {
  max-inline-size: 100%;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}

:where(h1, h2, h3, h4, h5, h6) {
  max-inline-size: 100%;
  overflow-wrap: anywhere;
  word-break: normal;
  text-wrap: balance;
}

:where(.button, .primary-button, .submit-button, .header-cta, .text-link) {
  max-inline-size: 100%;
  white-space: normal !important;
  text-align: center;
}

.impact-stats {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
}

.impact-stats > article {
  min-inline-size: 0;
  container-type: inline-size;
}

.impact-stats strong {
  max-inline-size: 100%;
  font-size: clamp(1.65rem, 16cqi, 4.5rem);
  line-height: 0.98;
  overflow-wrap: anywhere;
  word-break: normal;
}

@supports not (font-size: 1cqi) {
  .impact-stats strong {
    font-size: clamp(1.65rem, 4vw, 4.5rem);
  }
}

@media (max-width: 61.25rem) {
  .impact-stats {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .impact-stats > article {
    min-height: 0;
  }

  .impact-stats strong {
    font-size: clamp(2.25rem, 13cqi, 4.5rem);
  }
}

:where(.fus-application, .fus-commercial-budget) th:last-child,
:where(.fus-application, .fus-commercial-budget) td:last-child {
  white-space: nowrap;
  overflow-wrap: normal;
  hyphens: none;
}

/* Clear live-status and visitor-route panel. */
.fus-status-hub {
  padding: clamp(3rem, 6vw, 5.5rem) clamp(1.5rem, 7.5vw, 7.75rem);
  color: #112a2c;
  background: #f3efe5;
}

.fus-status-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  align-items: end;
  gap: clamp(1.5rem, 5vw, 5rem);
}

.fus-status-kicker {
  margin: 0 0 0.8rem;
  color: #06483c;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.fus-status-heading h2 {
  margin: 0;
  font: 400 clamp(2.4rem, 4.8vw, 5.4rem)/0.96 Georgia, "Times New Roman", serif;
  letter-spacing: -0.045em;
}

.fus-status-heading > p {
  margin: 0;
  color: #526967;
  font-size: 1rem;
  line-height: 1.7;
}

.fus-status-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin: clamp(2rem, 5vw, 4rem) 0 0;
  padding: 1px;
  background: rgba(17, 42, 44, 0.16);
}

.fus-status-facts > div {
  min-width: 0;
  padding: 1.35rem;
  background: #fbfaf5;
}

.fus-status-facts dt {
  color: #526967;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fus-status-facts dd {
  margin: 0.65rem 0 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.45;
}

.fus-route-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.fus-route-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  color: #fff;
  background: #0d292b;
}

.fus-route-card:last-child {
  background: #06483c;
}

.fus-route-card h3 {
  margin: 0;
  font: 400 clamp(1.5rem, 2.3vw, 2.3rem)/1.08 Georgia, "Times New Roman", serif;
}

.fus-route-card p {
  margin: 0.7rem 0 0;
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.6;
}

.fus-route-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  min-height: 3rem;
  padding: 0.75rem 1rem;
  color: #071b1e;
  background: #a7ed3b;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-align: center;
  text-transform: uppercase;
}

/* More forgiving hit areas without visually enlarging every link. */
:where(.main-nav, .site-footer nav, .fus-policy-links, .fus-global-footer-social) a {
  min-height: 2.75rem;
  padding-block: 0.7rem;
  display: inline-flex;
  align-items: center;
}

@media (max-width: 61.25rem) {
  .fus-status-heading,
  .fus-status-facts,
  .fus-route-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .fus-route-card {
    grid-template-columns: minmax(0, 1fr);
  }

  .fus-route-card a {
    width: 100%;
  }
}

/* FUS-WHOLE-WORD-HEADINGS-20260828-V1 */
/* Headings wrap at spaces only. Long prose, filenames and controls retain their own containment rules. */
:where(h1, h2, h3, h4, h5, h6),
:where(h1, h2, h3, h4, h5, h6) :where(em, span) {
  max-inline-size: 100%;
  overflow-wrap: normal !important;
  word-break: normal !important;
  hyphens: none !important;
}

/* Bound display type by width and height so large or zoomed windows remain readable. */
:where(.hero, .pc-hero, .fg-hero, .fo-hero, .portal-hero) h1 {
  font-size: clamp(3.25rem, min(6.25vw, 10vh), 6.75rem);
  line-height: .92;
  text-wrap: balance;
}

.fg-hero-copy {
  box-sizing: border-box;
  width: min(880px, 72vw);
}

.fg-hero h1 {
  max-inline-size: 720px;
}

@media (max-width: 760px) {
  :where(.hero, .pc-hero, .fg-hero, .fo-hero, .portal-hero) h1 {
    font-size: clamp(2.75rem, 12vw, 4.75rem);
    line-height: .95;
  }

  .fg-hero-copy {
    width: 100%;
  }
}
