/* Core visual system for the OpenSchool Initiative workshop microsite. */
:root {
  --navy: #0d3b6e;
  --navy-dark: #082746;
  --gold: #f5a623;
  --off-white: #f5f7fa;
  --charcoal: #1a1a1a;
  --muted-blue: #1a5276;
  --green: #2e7d32;
  --red: #c62828;
  --white: #ffffff;
  --line: #d8e1ea;
  --soft-blue: #e7eef5;
  --shadow: 0 22px 50px rgba(13, 59, 110, 0.14);
  --radius: 8px;
  --header-height: 76px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--off-white);
  color: var(--charcoal);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

:where(a, button):focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 1rem;
  color: var(--white);
  font-size: 4.7rem;
  font-weight: 800;
}

h2 {
  max-width: 820px;
  margin-bottom: 1.1rem;
  color: var(--navy);
  font-size: 2.6rem;
  font-weight: 760;
}

h3 {
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 740;
}

p {
  margin-bottom: 1rem;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.container.section-balance {
  width: min(1240px, 100%);
  padding-right: clamp(1.25rem, 3vw, 2rem);
  padding-left: clamp(1.25rem, 3vw, 2rem);
}

.sr-only,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.skip-link:focus {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 0.75rem 1rem;
  background: var(--white);
  color: var(--navy);
  border: 2px solid var(--gold);
  border-radius: var(--radius);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.82rem 1.15rem;
  border: 2px solid transparent;
  border-radius: 6px;
  font-weight: 760;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button--gold {
  background: var(--gold);
  color: #111111;
  box-shadow: 0 12px 26px rgba(245, 166, 35, 0.24);
}

.button--gold:hover,
.button--gold:focus-visible {
  background: #ffb739;
}

.button--outline {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.07);
}

.button--outline:hover,
.button--outline:focus-visible {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.12);
}

.button--small {
  min-height: 42px;
  padding: 0.62rem 0.9rem;
}

/* Navigation */
.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  min-height: var(--header-height);
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid rgba(13, 59, 110, 0.12);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  min-height: var(--header-height);
  align-items: center;
  gap: 1.2rem;
}

.wordmark {
  display: inline-flex;
  min-width: 180px;
  align-items: center;
  color: var(--navy);
  font-weight: 800;
  text-decoration: none;
}

.wordmark__logo {
  width: 190px;
  height: auto;
  max-height: 52px;
  object-fit: contain;
}

.wordmark__mark {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--navy);
  border-radius: 6px;
  background: var(--white);
  color: var(--navy);
  font-size: 0.9rem;
}

.wordmark__name {
  font-size: 0.95rem;
}

.site-nav {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: flex-end;
  gap: 0.78rem;
}

.site-nav a {
  padding: 0.35rem 0.15rem;
  color: #24394d;
  font-size: 0.89rem;
  font-weight: 680;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: var(--gold);
  text-decoration-thickness: 3px;
  text-underline-offset: 7px;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  min-height: min(760px, calc(100svh - 96px));
  align-items: center;
  justify-content: center;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(145deg, #071f38 0%, #0d3b6e 58%, #123f63 100%);
  color: var(--white);
  scroll-margin-top: var(--header-height);
}

.hero::before {
  position: absolute;
  z-index: 1;
  inset: clamp(20px, 4vw, 54px);
  border: 1px solid rgba(245, 166, 35, 0.55);
  border-bottom-color: rgba(255, 255, 255, 0.22);
  border-right-color: rgba(255, 255, 255, 0.22);
  border-radius: var(--radius);
  content: "";
  pointer-events: none;
}

.hero__shade {
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(245, 166, 35, 0.13) 0, rgba(245, 166, 35, 0) 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(8, 39, 70, 0.22) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 960px;
  padding: 5.8rem 0 5rem;
  text-align: center;
}

.eyebrow,
.section-kicker {
  margin-bottom: 0.8rem;
  color: var(--muted-blue);
  font-size: 0.78rem;
  font-weight: 840;
  letter-spacing: 0;
  text-transform: uppercase;
}

.eyebrow {
  color: var(--gold);
}

.hero .eyebrow {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  margin-bottom: 1.15rem;
  border: 1px solid rgba(245, 166, 35, 0.45);
  border-radius: 999px;
  padding: 0.34rem 0.9rem;
  background: rgba(245, 166, 35, 0.12);
  color: #ffdca0;
  font-size: 1.02rem;
  font-weight: 760;
  line-height: 1.25;
  text-transform: none;
}

.hero h1 {
  margin-right: auto;
  margin-left: auto;
}

.section-kicker--light {
  color: var(--gold);
}

.hero__subtitle {
  max-width: 760px;
  margin-right: auto;
  margin-bottom: 1.15rem;
  margin-left: auto;
  color: #e9f0f6;
  font-size: 1.45rem;
  font-weight: 680;
  line-height: 1.35;
}

.hero__body {
  max-width: 800px;
  margin-right: auto;
  margin-bottom: 0;
  margin-left: auto;
  color: #eef4fa;
  font-size: 1.08rem;
  line-height: 1.68;
  text-wrap: pretty;
}

.hero__question {
  color: #ffffff;
  font-weight: 760;
}

.hero__argument {
  max-width: 760px;
  margin: 1.5rem auto 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-top: 5px solid var(--gold);
  border-radius: var(--radius);
  padding: 0.82rem 1rem 0.9rem;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 1.18rem;
  font-weight: 820;
}

.detail-strip {
  display: flex;
  max-width: 920px;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.58rem;
  margin: 1.7rem auto 1.9rem;
}

.detail-strip span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  padding: 0.38rem 0.78rem;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 700;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}

/* Shared sections */
.section,
.context-section,
.registration-section,
.shift-section,
.final-cta {
  scroll-margin-top: calc(var(--header-height) + 20px);
}

.section {
  padding: 5.8rem 0;
}

.section--white {
  background: var(--white);
}

.section-grid {
  display: grid;
  align-items: start;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 4rem;
}

.section-copy p {
  max-width: 650px;
  color: #3b4650;
  font-size: 1.05rem;
}

.section-heading {
  max-width: 850px;
  margin: 0 auto 3rem;
  text-align: center;
}

.section-heading--left {
  margin-right: 0;
  margin-left: 0;
  text-align: left;
}

.emphasis-line,
.note-line,
.context-line {
  margin: 2rem 0 0;
  border-left: 5px solid var(--gold);
  padding: 1rem 1.2rem;
  background: var(--white);
  color: var(--navy);
  font-size: 1.12rem;
  font-weight: 760;
  box-shadow: 0 10px 30px rgba(13, 59, 110, 0.08);
}

.team-callout {
  max-width: 780px;
  margin: 1rem auto 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.15rem;
  background: var(--off-white);
  color: var(--navy);
  font-weight: 760;
  text-align: center;
}

.risk-grid,
.output-grid,
.feature-grid,
.audience-grid,
.day-grid {
  display: grid;
  gap: 1rem;
}

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

.risk-card,
.output-card,
.day-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 30px rgba(13, 59, 110, 0.07);
}

.risk-card {
  padding: 1.25rem;
}

.risk-card h3,
.risk-card p {
  margin-bottom: 0.4rem;
}

.risk-card p {
  color: #4c5660;
}

.risk-card--red {
  border-top: 5px solid var(--red);
}

/* Strategic shift */
.shift-section {
  padding: 5.8rem 0;
  background: var(--navy);
  color: var(--white);
}

.shift-section h2 {
  color: var(--white);
}

.shift-section > .container > h2 {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.contrast-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 1.2rem;
  margin-top: 2.2rem;
}

.contrast-panel {
  min-height: 260px;
  border-radius: var(--radius);
  padding: 2rem;
}

.contrast-panel--old {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
}

.contrast-panel--new {
  border: 1px solid rgba(245, 166, 35, 0.62);
  background: #f8fafc;
  color: var(--charcoal);
  box-shadow: var(--shadow);
}

.contrast-label {
  margin-bottom: 1.1rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 840;
  text-transform: uppercase;
}

.contrast-panel--old h3 {
  color: var(--white);
  font-size: 1.85rem;
}

.contrast-panel--new h3 {
  color: var(--navy);
  font-size: 2rem;
}

/* Solution and outputs */
.solution-section {
  background: var(--soft-blue);
}

.pillar-list {
  display: grid;
  gap: 1rem;
}

.pillar {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 1rem;
  border-left: 5px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.05rem 1.2rem;
  background: var(--white);
}

.pillar h3 {
  margin-bottom: 0;
}

.pillar__number {
  color: var(--muted-blue);
  font-size: 0.82rem;
  font-weight: 840;
}

.output-grid {
  grid-template-columns: repeat(3, 1fr);
}

.output-card {
  min-height: 232px;
  padding: 1.35rem;
}

.output-card::before {
  display: block;
  width: 42px;
  height: 4px;
  margin-bottom: 1.15rem;
  background: var(--gold);
  content: "";
}

.output-card p {
  color: #45515c;
}

/* Journey */
.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.85rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline::before {
  position: absolute;
  top: 26px;
  right: 10%;
  left: 10%;
  height: 2px;
  background: var(--line);
  content: "";
}

.timeline__item {
  position: relative;
  min-height: 260px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem;
  background: var(--white);
}

.timeline__step {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  border: 3px solid var(--white);
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 840;
}

.timeline__item h3 {
  margin-bottom: 0.5rem;
}

.timeline__item p {
  color: #4b5661;
  font-size: 0.96rem;
}

.day-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-top: 2rem;
}

.day-card {
  padding: 1.35rem;
}

.day-card__label {
  margin-bottom: 0.5rem;
  color: var(--navy);
  font-weight: 840;
}

/* Audience and context */
.audience-grid {
  grid-template-columns: repeat(4, 1fr);
}

.audience-grid article,
.feature-grid article {
  min-height: 112px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.05rem;
  background: var(--off-white);
  color: var(--navy);
  font-weight: 760;
}

.context-section {
  padding: 5.8rem 0;
  background: var(--navy-dark);
  color: var(--white);
}

.context-section h2,
.context-section .section-copy p {
  color: var(--white);
}

.feature-grid {
  grid-template-columns: repeat(2, 1fr);
}

.feature-grid article {
  border-color: rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.context-line {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  box-shadow: none;
}

/* OSi section */
.osi-section {
  display: grid;
  max-width: 1080px;
  gap: 2rem;
}

.osi-intro {
  max-width: 850px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.osi-intro p:not(.section-kicker) {
  max-width: 800px;
  margin-right: auto;
  margin-left: auto;
  color: #3f4a54;
  font-size: 1.05rem;
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.proof-card {
  min-height: 150px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem;
  background: var(--off-white);
}

.proof-card::before {
  display: block;
  width: 38px;
  height: 4px;
  margin-bottom: 0.95rem;
  background: var(--gold);
  content: "";
}

.proof-card span {
  display: block;
  margin-bottom: 0.38rem;
  color: var(--muted-blue);
  font-size: 0.78rem;
  font-weight: 820;
  text-transform: uppercase;
}

.proof-card strong {
  display: block;
  color: var(--navy);
  font-size: 1.7rem;
  line-height: 1.05;
}

.proof-card p {
  margin: 0.42rem 0 0;
  color: #4b5661;
  line-height: 1.45;
}

.proof-card--wide {
  display: flex;
  min-height: 132px;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  grid-column: 1 / -1;
  text-align: center;
}

.proof-card--wide::before {
  margin-right: auto;
  margin-left: auto;
}

.proof-card--wide p {
  max-width: 680px;
  margin-right: auto;
  margin-left: auto;
  font-weight: 700;
}

.osi-brand-card {
  display: grid;
  grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
  align-items: center;
  gap: 1.5rem;
  border: 1px solid rgba(13, 59, 110, 0.16);
  border-left: 6px solid var(--gold);
  border-radius: var(--radius);
  padding: clamp(1.1rem, 3vw, 1.65rem);
  background: linear-gradient(135deg, #ffffff 0%, #f5f7fa 100%);
  box-shadow: 0 16px 38px rgba(13, 59, 110, 0.1);
}

.osi-brand-card__logo {
  width: min(100%, 360px);
  height: auto;
}

.osi-brand-card__name {
  margin-bottom: 0.25rem;
  color: var(--navy);
  font-size: 1.35rem;
  font-weight: 840;
}

.osi-brand-card__tagline {
  margin-bottom: 0.5rem;
  color: #3f4a54;
  font-weight: 700;
}

.osi-brand-card a {
  color: var(--muted-blue);
  font-weight: 780;
  text-decoration-color: rgba(245, 166, 35, 0.85);
  text-underline-offset: 4px;
}

/* Registration */
.registration-section {
  padding: 5.8rem 0;
  background: var(--navy);
  color: var(--white);
}

.registration-section h2,
.registration-section p {
  color: var(--white);
}

.registration-layout {
  display: grid;
  max-width: 1080px;
  gap: 1.7rem;
  justify-items: center;
  text-align: center;
}

.registration-intro {
  max-width: 800px;
}

.registration-intro__text {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  font-size: 1.06rem;
}

.registration-chips {
  margin: 0 auto 0.45rem;
}

.registration-card {
  width: 100%;
  max-width: 860px;
  border-radius: var(--radius);
  padding: 1.35rem;
  background: var(--white);
  color: var(--charcoal);
  box-shadow: var(--shadow);
  text-align: left;
}

.registration-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin: 0;
}

.registration-detail {
  min-height: 112px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.95rem;
  background: var(--off-white);
}

.registration-detail--wide {
  grid-column: span 3;
  min-height: auto;
}

.registration-card dt {
  margin-bottom: 0.35rem;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 820;
  text-transform: uppercase;
}

.registration-card dd {
  margin: 0;
  color: #38444f;
  line-height: 1.45;
}

.registration-card a:not(.button) {
  color: var(--muted-blue);
  font-weight: 760;
}

.registration-actions {
  display: flex;
  justify-content: center;
}

.registration-card__button {
  min-width: min(100%, 260px);
}

/* FAQ */
.faq-layout {
  display: grid;
  max-width: 1080px;
  gap: 2rem;
  justify-items: center;
}

.faq-heading {
  max-width: 760px;
  margin-bottom: 0;
  text-align: center;
}

.faq-intro {
  max-width: 700px;
  margin-right: auto;
  margin-left: auto;
  color: #45515c;
  font-size: 1.03rem;
}

.faq-contact {
  margin: 0;
  color: #45515c;
  font-weight: 700;
  text-align: center;
}

.faq-contact a {
  color: var(--muted-blue);
  text-decoration-color: rgba(245, 166, 35, 0.85);
  text-underline-offset: 4px;
}

.faq-list {
  display: grid;
  width: 100%;
  max-width: 940px;
  gap: 0.78rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--off-white);
}

.faq-item h3 {
  margin: 0;
}

.faq-question {
  display: flex;
  width: 100%;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border: 0;
  padding: 1rem 1.1rem;
  background: transparent;
  color: var(--navy);
  font: inherit;
  font-weight: 780;
  text-align: left;
  cursor: pointer;
}

.faq-icon {
  display: inline-flex;
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-weight: 760;
}

.faq-answer {
  display: none;
  padding: 0 1.1rem 1rem;
}

.faq-answer[hidden] {
  display: none;
}

.faq-answer p {
  margin-bottom: 0;
  color: #46515b;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.faq-item.is-open .faq-icon {
  background: var(--gold);
  color: #111111;
}

.faq-question:focus-visible {
  background: rgba(245, 166, 35, 0.12);
}

/* Final CTA and footer */
.final-cta {
  padding: 5.8rem 0;
  background:
    linear-gradient(90deg, rgba(8, 39, 70, 0.96), rgba(13, 59, 110, 0.9)),
    url("assets/hero-boundary-framework.svg") center / cover no-repeat;
  color: var(--white);
}

.final-cta__content {
  max-width: 850px;
  text-align: center;
}

.final-cta h2,
.final-cta p {
  color: var(--white);
}

.final-cta p {
  margin-bottom: 1.8rem;
  font-size: 1.1rem;
}

.final-cta__note {
  display: inline-block;
  margin-bottom: 1.6rem;
  border: 1px solid rgba(245, 166, 35, 0.42);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  background: rgba(245, 166, 35, 0.12);
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 760;
}

.site-footer {
  padding: 2.2rem 0;
  background: #071f38;
  color: #dce7f1;
}

.footer-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-wordmark {
  margin-bottom: 0.35rem;
  color: var(--white);
  font-weight: 820;
}

.site-footer p {
  margin-bottom: 0.25rem;
}

.site-footer a {
  color: #ffffff;
  text-decoration-color: rgba(245, 166, 35, 0.7);
  text-underline-offset: 4px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-social a {
  font-weight: 720;
}

.mobile-register {
  display: none;
}

@media (max-width: 1040px) {
  h1 {
    font-size: 3.7rem;
  }

  h2 {
    font-size: 2.2rem;
  }

  .site-nav {
    gap: 0.55rem;
  }

  .site-nav a {
    font-size: 0.84rem;
  }

  .output-grid,
  .audience-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .timeline::before {
    top: 0;
    bottom: 0;
    left: 22px;
    width: 2px;
    height: auto;
  }

  .timeline__item {
    min-height: auto;
    padding-left: 4.4rem;
  }

  .timeline__step {
    position: absolute;
    top: 1rem;
    left: 0.85rem;
  }
}

@media (max-width: 860px) {
  :root {
    --header-height: 68px;
  }

  body {
    padding-bottom: 78px;
  }

  h1 {
    font-size: 3.05rem;
  }

  h2 {
    font-size: 1.95rem;
  }

  .container {
    width: min(100% - 28px, 1120px);
  }

  .nav-shell {
    justify-content: space-between;
  }

  .wordmark {
    min-width: 0;
  }

  .wordmark__logo {
    width: 150px;
    max-height: 44px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-register {
    display: none;
  }

  .site-nav {
    position: absolute;
    top: var(--header-height);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-bottom: 1px solid var(--line);
    background: var(--white);
    padding: 0.4rem 1rem 0.8rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 0.78rem 0;
    font-size: 0.95rem;
  }

  .hero {
    min-height: auto;
  }

  .hero__shade {
    background:
      linear-gradient(180deg, rgba(8, 39, 70, 0.95) 0%, rgba(13, 59, 110, 0.86) 70%, rgba(13, 59, 110, 0.76) 100%);
  }

  .hero__content {
    padding: 4rem 0 3.5rem;
  }

  .hero__subtitle {
    font-size: 1.18rem;
  }

  .detail-strip {
    gap: 0.45rem;
  }

  .detail-strip span {
    min-height: 34px;
    font-size: 0.82rem;
  }

  .section,
  .context-section,
  .registration-section,
  .shift-section,
  .final-cta {
    padding: 4.2rem 0;
  }

  .section-grid,
  .contrast-grid,
  .faq-layout,
  .osi-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contrast-panel {
    min-height: auto;
    padding: 1.45rem;
  }

  .contrast-panel--old h3,
  .contrast-panel--new h3 {
    font-size: 1.45rem;
  }

  .proof-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .osi-brand-card {
    grid-template-columns: 1fr;
  }

  .osi-brand-card__logo {
    width: min(100%, 320px);
  }

  .registration-layout,
  .faq-layout {
    gap: 1.75rem;
  }

  .registration-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .registration-detail--wide {
    grid-column: span 2;
  }

  .mobile-register {
    position: fixed;
    z-index: 60;
    right: 14px;
    bottom: 14px;
    left: 14px;
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: var(--gold);
    color: #111111;
    font-weight: 820;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 18px 36px rgba(8, 39, 70, 0.28);
  }
}

@media (max-width: 620px) {
  h1 {
    font-size: 2.45rem;
  }

  h2 {
    font-size: 1.68rem;
  }

  .section-heading {
    margin-bottom: 2rem;
  }

  .hero__actions,
  .button {
    width: 100%;
  }

  .detail-strip {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .registration-chips {
    display: flex;
  }

  .detail-strip span {
    justify-content: center;
    border-radius: 6px;
    text-align: center;
  }

  .registration-card {
    padding: 1rem;
  }

  .registration-details {
    grid-template-columns: 1fr;
  }

  .registration-detail,
  .registration-detail--wide {
    grid-column: span 1;
  }

  .output-grid,
  .audience-grid,
  .feature-grid,
  .proof-grid,
  .day-grid {
    grid-template-columns: 1fr;
  }

  .output-card,
  .timeline__item,
  .audience-grid article,
  .feature-grid article,
  .proof-card {
    min-height: auto;
  }

  .proof-card--wide {
    grid-column: span 1;
  }

  .team-callout {
    text-align: left;
  }

  .final-cta__note {
    border-radius: 6px;
  }

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

  .timeline__item {
    padding-left: 4rem;
  }

  .footer-grid {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-links,
  .footer-social {
    gap: 0.8rem;
  }
}

@media print {
  .site-header,
  .mobile-register,
  .hero__actions,
  .registration-actions,
  .footer-links {
    display: none !important;
  }

  body {
    padding-bottom: 0;
    background: #ffffff;
    color: #111111;
  }

  .hero,
  .shift-section,
  .context-section,
  .registration-section,
  .final-cta,
  .site-footer {
    background: #ffffff !important;
    color: #111111 !important;
  }

  h1,
  h2,
  h3,
  p,
  a {
    color: #111111 !important;
  }

  .section,
  .context-section,
  .registration-section,
  .shift-section,
  .final-cta {
    padding: 2rem 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
