/* M1 homepage only. Legacy styles, includes and original brand assets are unchanged. */
:root {
  --navy: #0B2239;
  --deep-navy: #06182A;
  --orange: #F58220;
  --orange-hover: #D9680B;
  --steel: #526579;
  --surface: #F4F6F8;
  --card: #FFFFFF;
  --text: #17212B;
  --border: #D9E0E6;
  --success: #248A5A;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 20px; }
body { margin: 0; color: var(--text); background: var(--card); font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.6; overflow-wrap: anywhere; }
a { color: inherit; text-underline-offset: .22em; }
a:focus-visible { outline: 3px solid var(--navy); outline-offset: 5px; }
.home-header a:focus-visible, .hero a:focus-visible, .reference-section a:focus-visible, .home-footer a:focus-visible { outline-color: var(--orange); }
main:focus { outline: none; }
img { display: block; max-width: 100%; height: auto; }
svg { flex-shrink: 0; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.15; }
h2 { color: var(--navy); font-size: clamp(1.75rem, 2.65vw, 2.5rem); font-weight: 700; letter-spacing: -.035em; }
h3 { font-size: 1.25rem; letter-spacing: -.02em; }
p { color: var(--steel); }
.wrap { width: min(100% - 80px, 1240px); margin-inline: auto; }
.section { padding-block: 76px; }
.eyebrow { color: var(--steel); font-size: .72rem; font-weight: 700; letter-spacing: .14em; line-height: 1.6; margin-bottom: 16px; }
.skip-link { position: absolute; top: -100px; left: 16px; z-index: 5; background: white; color: var(--navy); padding: 12px 20px; font-weight: 700; }
.skip-link:focus { top: 12px; }
.home-header { background: var(--deep-navy); color: white; border-bottom: 1px solid #304255; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 100px; }
.brand { min-height: 44px; min-width: 0; max-width: 100%; display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-symbol { display: block; flex-shrink: 0; }
.brand-mark { flex-shrink: 0; width: 66px; height: 60px; }
.brand-name { min-width: 0; font-weight: 700; font-size: 1.55rem; line-height: 1.1; letter-spacing: -.04em; }
.brand-name > span, .footer-brand > span { color: var(--orange); }
.brand-name small { display: block; margin-top: 8px; font-size: .55rem; letter-spacing: .13em; font-weight: 400; color: #D9E0E6; }
.primary-nav { display: flex; align-items: center; gap: 28px; }
.primary-nav a { display: inline-flex; align-items: center; min-height: 48px; border-bottom: 2px solid transparent; font-size: .875rem; text-decoration: none; }
.primary-nav a[aria-current] { color: var(--orange); border-bottom-color: var(--orange); font-weight: 700; }
.primary-nav a:hover { text-decoration: underline; }
.hero { position: relative; isolation: isolate; background: var(--navy); color: white; padding-top: 60px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.hero-copy { position: relative; z-index: 1; padding-block: 12px 36px; }
.hero .eyebrow { color: #D9E0E6; display: flex; align-items: center; gap: 12px; font-size: .65rem; }
.accent-line { width: 27px; height: 2px; background: var(--orange); flex-shrink: 0; }
h1 { max-width: 670px; font-size: clamp(2.1rem, 3.9vw, 3.5rem); line-height: 1.08; letter-spacing: -.045em; }
h1 > span { color: var(--orange); }
.hero-summary { color: white; font-size: 1.13rem; line-height: 1.55; margin-top: 25px; max-width: 470px; }
.hero-description { color: #CAD4DF; margin-top: 13px; max-width: 530px; font-size: .95rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { max-width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 50px; padding: 13px 18px; border: 1px solid transparent; border-radius: 3px; font-size: .85rem; font-weight: 700; line-height: 1.45; text-decoration: none; }
.button span { font-size: 1.2rem; }
.primary { color: var(--deep-navy); background: var(--orange); }
.primary:hover { background: var(--orange-hover); }
.secondary { color: white; border-color: #75879A; }
.secondary:hover { background: #18344F; border-color: white; }
.availability-note { font-size: .76rem; color: #CAD4DF; margin-top: 16px; }
/* Full-bleed atmosphere: opaque navy protects copy; every image edge fades. */
.hero-visual { position: absolute; z-index: -1; inset: 0 0 0 42%; pointer-events: none; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 0%, rgba(11,34,57,.96) 15%, rgba(11,34,57,.4) 46%, rgba(11,34,57,.08) 78%, rgba(11,34,57,.3) 100%), linear-gradient(180deg, var(--navy) 0%, transparent 26%, transparent 62%, var(--navy) 100%); }
.hero-footnote { display: flex; flex-wrap: wrap; gap: 16px 40px; padding-block: 22px; border-top: 1px solid #405469; color: #D9E0E6; font-size: .65rem; font-weight: 700; letter-spacing: .12em; }
.section-heading > * { min-width: 0; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 32px; margin-bottom: 20px; }
.section-heading h2 { max-width: 710px; }
.section-heading .eyebrow { margin-bottom: 12px; }
.section-intro { max-width: 680px; font-size: .94rem; }
.workflow { background: var(--surface); border-bottom: 1px solid var(--border); }
.future-badge { max-width: 100%; color: var(--navy); background: #FFF4E9; border: 1px solid #DD9B65; border-radius: 3px; font-size: .64rem; font-weight: 700; letter-spacing: .08em; padding: 10px 13px; flex-shrink: 0; }
.workflow-steps { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); list-style: none; padding: 0; margin: 36px 0 0; gap: 32px; }
.workflow-steps li { border-top: 1px solid #B7C2CD; padding-top: 20px; }
.step-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 15px; }
.step-number { color: var(--steel); font-size: .8rem; font-family: monospace; }
.step-connector, .step-end { color: #AB4700; font-size: 1.5rem; line-height: 1; }
.workflow-steps h3 { color: var(--navy); font-size: 1.07rem; letter-spacing: .045em; }
.workflow-steps p { font-size: .88rem; line-height: 1.55; margin-top: 12px; }
.available-label { color: var(--steel); }
.available-label::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 9px; border-radius: 50%; background: var(--success); }
.heading-aside { font-size: .9rem; }
.resource-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 20px; margin-top: 32px; }
.resource-card { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: 4px; padding: 27px; text-decoration: none; background: var(--card); }
.card-index { font-size: .62rem; color: var(--steel); font-weight: 700; letter-spacing: .1em; margin-bottom: 24px; }
.resource-card h3 { color: var(--navy); }
.resource-card p { font-size: .9rem; margin-block: 14px 25px; }
.card-link { display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: .8rem; font-weight: 700; color: var(--navy); margin-top: auto; }
.card-link > span { color: #AB4700; font-size: 1.3rem; }
.resource-card:hover { border-color: var(--navy); }
.resource-card:hover h3 { text-decoration: underline; text-underline-offset: .2em; }
.reference-section { background: var(--deep-navy); color: white; padding-block: 64px; }
.reference-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 100px; align-items: center; }
.reference-section h2 { color: white; }
.reference-section .eyebrow { color: var(--orange); }
.reference-section p:not(.eyebrow) { color: #CAD4DF; }
.reference-grid > div > p:not(.eyebrow):not(.topics-label):not(.reference-note) { margin-block: 20px 26px; max-width: 530px; }
.topics-label { font-size: .65rem; font-weight: 700; letter-spacing: .14em; }
.reference-topics ul { padding: 0; margin: 14px 0; list-style: none; }
.reference-topics li { padding-block: 12px; border-bottom: 1px solid #30475D; font-size: 1.1rem; }
.reference-topics li span { color: var(--orange); font-size: .7rem; margin-right: 20px; font-family: monospace; }
.reference-note { font-size: .76rem; line-height: 1.6; }
.learning-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 100px; }
.learning-intro > p:not(.eyebrow) { margin-block: 22px; font-size: .95rem; }
.text-link { max-width: 100%; display: inline-flex; align-items: center; gap: 14px; min-height: 44px; color: var(--navy); font-size: .86rem; font-weight: 700; }
.text-link:hover { text-decoration-thickness: 2px; }
.lesson-list { margin: 0; padding: 0; list-style: none; }
.lesson-list li { border-bottom: 1px solid var(--border); }
.lesson-list li:first-child { border-top: 1px solid var(--border); }
.lesson-list a { display: grid; grid-template-columns: 30px minmax(0,1fr) max-content; gap: 17px; padding-block: 25px; text-decoration: none; }
.lesson-number { font-family: monospace; font-size: .78rem; color: var(--steel); padding-top: 3px; }
.lesson-list small { display: block; font-size: .59rem; color: var(--steel); letter-spacing: .09em; font-weight: 700; margin-bottom: 10px; }
.lesson-list h3 { color: var(--navy); font-size: 1.2rem; }
.lesson-list p { font-size: .85rem; margin-top: 8px; }
.lesson-list a:hover h3 { text-decoration: underline; }
.lesson-arrow { color: #AB4700; font-size: 1.3rem; align-self: center; }
.selected { background: var(--surface); }
.reading-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px; margin-top: 35px; }
.reading-grid article { border-top: 2px solid var(--navy); padding-top: 23px; }
.reading-category { font-size: .65rem; letter-spacing: .11em; font-weight: 700; }
.reading-grid h3 { color: var(--navy); margin-block: 12px; font-size: 1.38rem; }
.reading-grid h3 a { display: block; min-height: 44px; }
.reading-grid article > p:last-child { font-size: .9rem; }
.about-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 100px; }
.about-grid > div + div > p { margin-bottom: 16px; font-size: .95rem; }
.home-footer { background: var(--deep-navy); color: white; padding-top: 44px; }
.footer-top { display: flex; gap: 32px; justify-content: space-between; align-items: start; padding-bottom: 35px; }
.footer-brand { display: inline-block; font-size: 1.4rem; font-weight: 700; text-decoration: none; min-height: 44px; }
.footer-top p { color: #CAD4DF; font-size: .78rem; max-width: 330px; }
.footer-top nav { display: flex; flex-wrap: wrap; gap: 12px 28px; }
.footer-top nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .8rem; }
.footer-bottom { border-top: 1px solid #304255; display: flex; justify-content: space-between; gap: 24px; padding-block: 24px; font-size: .67rem; color: #CAD4DF; }
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 56px); }
  .hero-grid { gap: 32px; }
  .primary-nav { gap: 19px; }
  .reference-grid, .learning-grid, .about-grid { gap: 48px; }
  .section-heading { align-items: start; }
  .future-badge { max-width: 195px; }
  .resource-card { padding: 22px; }
}
@media (max-width: 900px) {
  .header-inner { flex-wrap: wrap; justify-content: center; gap: 12px; padding-block: 22px 10px; }
  .primary-nav { justify-content: center; width: 100%; }
  .hero-grid { grid-template-columns: 1.1fr 1fr; }
  .hero .eyebrow { font-size: .6rem; }

  .workflow-steps { gap: 24px; }
  .resource-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hero-footnote { gap: 12px 24px; font-size: .58rem; }
  .section-heading { flex-wrap: wrap; gap: 20px; }
  .future-badge { max-width: 100%; }
}
@media (max-width: 900px) {
  .hero-grid { display: block; }
  .hero-copy { max-width: 650px; padding-bottom: 0; }
  .hero-visual { position: relative; inset: auto; width: 100%; height: clamp(230px, 43vw, 360px); margin-top: -12px; }
  .hero-visual img { object-position: center 55%; }
  .hero-visual::after { background: linear-gradient(180deg, var(--navy) 0%, rgba(11,34,57,.6) 22%, rgba(11,34,57,.08) 48%, rgba(11,34,57,.35) 70%, var(--navy) 100%), linear-gradient(90deg, rgba(11,34,57,.5), transparent 30%, transparent 70%, rgba(11,34,57,.5)); }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .section { padding-block: 48px; }
  .hero { padding-top: 36px; }
  .hero-grid, .reference-grid, .learning-grid, .about-grid { grid-template-columns: minmax(0,1fr); gap: 32px; }
  .hero-copy { padding-block: 0; }
  h1 { font-size: clamp(2.1rem, 7.5vw, 3.2rem); max-width: 620px; }
  .hero .eyebrow { font-size: .58rem; }

  .hero-summary { font-size: 1.05rem; margin-top: 20px; }
  .hero-description { font-size: .9rem; }
  .hero-footnote { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px 20px; }
  .workflow-steps { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 26px; }
  .heading-aside br { display: none; }
  .reference-section { padding-block: 48px; }
  .reading-grid { grid-template-columns: minmax(0,1fr); gap: 28px; }
  .reading-grid h3 a { display: inline-flex; align-items: center; }
  .footer-top, .footer-bottom { flex-direction: column; gap: 20px; }
  .home-footer { padding-top: 30px; }
}
@media (max-width: 480px) {
  .brand-name { font-size: 1.4rem; }
  .brand-name small { display: none; }
  .brand-mark { width: 40px; height: 40px; }
  .primary-nav { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px 20px; }
  .primary-nav a { justify-content: center; text-align: center; font-size: .74rem; line-height: 1.35; }
  .hero-actions { flex-direction: column; }
  .button { min-height: 50px; font-size: .8rem; }
  .resource-grid { grid-template-columns: minmax(0,1fr); gap: 14px; margin-top: 25px; }
  .card-index { margin-bottom: 15px; }
  .resource-card p { margin-block: 12px 17px; }
  .workflow-steps { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .workflow-steps li { display: grid; grid-template-columns: 40px 1fr; gap: 0 15px; padding-top: 18px; }
  .step-top { margin: 0; grid-row: span 2; flex-direction: column; justify-content: start; gap: 14px; }
  .step-connector { transform: rotate(90deg); }
  .workflow-steps p { grid-column: 2; margin-top: 9px; }
  .workflow-steps h3 { padding-top: 3px; }
  .lesson-list a { grid-template-columns: 23px minmax(0,1fr) max-content; gap: 10px; }
  .footer-top nav { gap: 8px 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
