/* Corrections tied to the September Figma review. See FIGMA-REVIEW.md. */
:root { --review-body: "Segoe UI", Arial, sans-serif; --review-display: "Segoe UI", Arial, sans-serif; }
body { font-family: var(--review-body); line-height: 1.55; }
h1, h2, h3 { font-family: var(--review-display); font-weight: 700; letter-spacing: -.025em; line-height: 1.15; }
.brand, .main-nav, .header-cta, .button, .eyebrow, .card-index, .program-formula,
.tag, .field label, .next-steps h3, .chart-row strong, .partners span,
.day-grid span, .career-grid span, .labs-grid span { font-family: var(--review-body); }
.eyebrow, .card-index, .comparison-label, .day-grid span, .career-grid span,
.labs-grid span, .partners-label { font-size: 13px; font-weight: 600; letter-spacing: .045em; opacity: 1; }
.eyebrow { margin: 0 0 12px; color: #24529b; }
.learning .eyebrow, .admission .eyebrow, .environment .eyebrow { color: #c7dcff; }
section[id] { scroll-margin-top: 130px; }
/* #6–18, #88–98: one grid, visible navigation, grouped primary content. */
.site-header { position: fixed; top: 20px; z-index: 50; }
.header-inner {
  height: 80px;
  background: rgba(18, 54, 88, 0.45);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  padding: 12px 18px;
}
.brand { min-width: 0; flex-shrink: 0; }
.brand strong { font-weight: 700; }
.brand small { color: #e6eff8; font-size: 13px; }
.brand-mark { width: 52px; height: 52px; }
.main-nav { gap: 24px; font-size: 15px; font-weight: 600; }
.main-nav a:hover,
.main-nav a:focus-visible { color: #a9cdff; }
.main-nav .mobile-nav-cta { display: none; }
.header-cta { min-height: 48px; width: auto; height: auto; padding: 12px 24px; font-size: 15px; color: #fff; background: #1955d1; }
.hero { min-height: 0; padding-bottom: 64px; }
.hero .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; padding-top: 156px; padding-bottom: 0; min-height: 0; align-items: start; }
.hero-copy { max-width: none; }
.hero h1 { margin: 0; font-size: clamp(40px, 4.1vw, 60px); line-height: 1.14; letter-spacing: -.025em; font-weight: 700; }
.hero-line { white-space: nowrap; }
.hero .hero-lead { max-width: 100%; margin: 24px 0 0; font-size: 18px; line-height: 1.6; color: #f1f5ff; }
.hero .hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 32px; opacity: 1; letter-spacing: normal; }
.hero .hero-actions .button { width: 100%; min-height: 56px; height: auto; margin: 0; padding: 16px 20px; gap: 8px; font-size: 16px; line-height: 1.4; font-weight: 600; }
.button-primary { background: #1955d1; color: #fff; }
.button-secondary { color: #fff; background: #142b49; border: 1px solid #9db5d6; }
.hero-media { width: 100%; margin: 0; align-self: start; border-radius: 28px; }
@media (min-width: 851px) {
  /* Give the opening section room while keeping the video aligned with the copy. */
  .hero { min-height: clamp(640px, 85svh, 960px); }
  .hero .hero-grid { min-height: calc(clamp(640px, 85svh, 960px) - 64px); align-content: center; }
  .hero h1 { font-size: clamp(42px, 4.7vw, 74px); line-height: 1.1; }
  .hero .hero-lead { font-size: clamp(18px, 1.4vw, 22px); line-height: 1.6; margin-top: 28px; }
  .hero .hero-actions { margin-top: 36px; gap: 16px; }
  .hero .hero-actions .button { min-height: 64px; padding: 18px 20px; font-size: clamp(16px, 1.15vw, 18px); }
  .hero-media { align-self: stretch; min-height: clamp(340px, 28vw, 460px); }
  .hero-media video { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: center; }
}
.hero-waves { opacity: .3; }
/* #19–30, #99–104, #119: retain planets, put readable controls by the content. */
.college-universe { padding: 56px 0; }
.college-universe > .container { display: grid; grid-template-columns: fit-content(100%) minmax(0, 1fr); column-gap: 20px; }
.universe-heading { grid-column: 1; }
.universe-heading h2 { line-height: 1.15; letter-spacing: -.025em; }
.universe-layout { grid-column: 1 / -1; grid-template-columns: subgrid; gap: 20px; margin-top: 32px; align-items: center; }
.planet-map-window { grid-column: 2; grid-row: 1; width: 100%; max-width: 600px; justify-self: center; margin: 0; overflow: hidden; }
.universe-planet-diploma { width: 72px; height: 72px; }
.universe-planet-work { width: 50px; height: 50px; }
.universe-planet-practice { width: 54px; height: 54px; }
.universe-planet-career { width: 58px; height: 58px; }
.universe-planet-campus { width: 62px; height: 62px; }
.college-universe .universe-planet strong { font-size: 17px; }
.planet-map { width: 100%; min-width: 0; aspect-ratio: 1; }
.planet-map-help { display: block; margin: 0 0 16px; position: static; color: #d3e2f6; font-size: 14px; line-height: 1.5; }
.universe-details { grid-column: 1; grid-row: 1; contain: inline-size; min-width: 0; width: 100%; max-width: none; margin: 0; padding: 28px; touch-action: pan-y; }
.universe-instruction { margin: 0 0 16px; font-size: 14px; color: #c7dcff; }
.universe-panel { min-height: 250px; }
.universe-panel h3 { font-size: clamp(24px, 2.4vw, 32px); line-height: 1.2; letter-spacing: -.025em; margin: 0 0 12px; }
.universe-panel p { font-size: 17px; line-height: 1.6; color: #d3e2f6; }
.universe-panel a { margin-top: 20px; min-height: 44px; padding: 10px 0; gap: 10px; font-size: 16px; align-items: center; }
.universe-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 20px; }
.universe-controls button { width: 44px; height: 44px; flex: none; border: 1px solid #91baff; border-radius: 50%; background: #1c3559; color: #fff; font-size: 22px; cursor: pointer; }
.universe-position { margin: 0; font-size: 15px; color: #f1f5ff; }
@media (min-width: 851px) {
  .college-universe > .container { grid-template-rows: auto 1fr; row-gap: 32px; align-items: start; }
  .universe-heading { grid-row: 1; }
  .universe-layout { display: contents; }
  .planet-map-window {
    grid-row: 1 / 3;
    max-width: none;
    /* Outer orbit inset: campus radius (31px) + the 12px clearance in app.js. */
    margin-top: -43px;
  }
  .universe-details { grid-row: 2; }
}
/* #31–37, #105–112: consistent text colour, shadow and internal rhythm. */
.promise h2 { max-width: 100%; }
.promise-grid { margin-top: 32px; gap: 20px; }
.promise .promise-card, .comparison article { height: auto; min-height: 0; padding: 28px; border: 1px solid #385477; border-radius: 28px; box-shadow: 0 8px 24px rgb(7 18 32 / 8%); color: #fff; }
.promise .card-dark { background: #101c2d; }
.promise .card-blue, .comparison .comparison-accent { background: #1955d1; }
.promise .card-light, .comparison article { background: #254b88; }
.promise .card-yellow { background: #31456a; }
.promise .promise-card p, .comparison ul { color: #f1f5ff; opacity: 1; font-size: 16px; line-height: 1.6; }
.promise-card h3 { margin: 20px 0 12px; font-size: 24px; line-height: 1.2; letter-spacing: -.025em; }
.promise-card { transition: box-shadow 450ms ease, transform 450ms ease; }
.promise-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgb(7 18 32 / 12%); }
.comparison { margin-top: 24px; gap: 20px; }
.comparison-label, .comparison-accent .comparison-label { margin: 0; color: #e5efff; }
.comparison h3 { margin: 12px 0 16px; font-size: 28px; }
.comparison ul { gap: 8px; }
/* #38–42, #113–117: informational rows do not look like links or drift off-grid. */
.directions h2 { margin: 0 0 24px; line-height: 1.15; }
.program-formula { display: grid; grid-template-columns: auto minmax(32px, 1fr) auto; align-items: center; margin: 0 0 24px; padding: 24px 28px; gap: 20px; border-radius: 24px; }
.formula-arrow { position: relative; display: block; justify-self: center; width: min(100%, clamp(64px, 8vw, 120px)); height: 2px; background: currentColor; }
.formula-arrow::after { content: ""; position: absolute; right: 0; top: 50%; width: 10px; height: 10px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: translateY(-50%) rotate(45deg); }
.program-formula strong { font-size: 24px; line-height: 1.4; letter-spacing: normal; font-weight: 600; flex: initial; }
.program-formula strong span { display: inline; border: 0; border-radius: 0; background: none; box-shadow: none; color: inherit; font: inherit; letter-spacing: inherit; padding: 0; width: auto; height: auto; }
.directions .direction-list { width: 100%; margin: 0; }
.directions .direction { min-height: 120px; padding: 24px 0; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) 64px; gap: 20px; align-items: center; opacity: 1; transform: none; cursor: default; }
.direction::before, .direction::after { display: none; }
.directions .direction h3 { margin: 0; font-size: 24px; line-height: 1.25; letter-spacing: normal; font-weight: 600; text-transform: none; }
.directions .direction p { margin: 0; color: #3d4f65; font-size: 16px; line-height: 1.55; }
.directions .direction:nth-child(n) .direction-symbol { width: 56px; height: 56px; background: #1955d1; color: #fff; border-radius: 50%; display: grid; place-items: center; transform: none; padding: 12px; }
.direction-symbol svg, .environment-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.directions .direction:hover { padding-left: 0; background: transparent; }
.directions .direction:hover h3 { color: inherit; transform: none; }
.directions.has-scroll-lock .direction:hover h3 { color: inherit; transform: none; }
.directions .direction:hover .direction-symbol { transform: none; }
/* #43–62: preserve chart, reduce unrelated gaps; distinguish text from salary facts. */
.learning::before, .learning::after { display: none; }
.learning .section-lead { margin-top: 20px; color: #d3e2f6; font-size: 17px; }
.learning-chart { gap: 20px; background: #14243b; }
.chart-row { row-gap: 8px; }
.chart-row[hidden] { display: none; }
.chart-row strong { font-size: 20px; font-weight: 600; letter-spacing: normal; color: #f7dba1; }
.learning-data-note { font-size: 13px; color: #c7dcff; }
.student-day { margin-top: 32px; }
.day-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.learning .day-grid article { min-height: 0; padding: 28px; color: #fff; background: #243f65; }
.learning .day-grid article:nth-child(2) { background: #1955d1; }
.learning .day-grid article:nth-child(3) { background: #31456a; }
.learning .day-grid article.is-muted { opacity: 1; }
.day-grid h3 { margin: 20px 0 12px; font-size: 23px; line-height: 1.2; }
.day-grid p { color: #f1f5ff; opacity: 1; font-size: 16px; }
.career { padding-bottom: 64px; }
.career-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 32px; gap: 20px; }
.career-grid article { min-height: 0; padding: 28px; border-radius: 28px; }
.career-grid strong { margin: 20px 0 12px; font-family: var(--review-body); font-size: clamp(28px, 3vw, 40px); font-weight: 600; letter-spacing: .005em; }
.career-grid p { margin: 0; opacity: 1; font-size: 17px; color: #f1f5ff; }
.career-education { margin-top: 20px; padding: 24px 28px; border: 1px solid #c4d2e4; border-radius: 24px; background: #e2ebf8; }
.career-education h3 { margin: 0 0 12px; font-size: 24px; }
.career-education p { margin: 0; color: #3d4f65; font-size: 17px; }
/* #63–64: use the supplied marks without cropping, in equally sized badges. */
.partners { width: 100%; margin: 32px 0 0; padding: 24px 0 0; overflow: visible; background: transparent; }
.partners > .partners-label { width: 100%; margin: 0; padding: 0; font: 600 15px/1.5 var(--review-body); letter-spacing: .045em; }
.partners > .partner-viewport { width: 100%; overflow: visible; margin: 20px 0 0; }
.partner-track { display: block; width: 100%; animation: none; transform: none; }
.partner-set { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: 100%; }
.partner-set[aria-hidden="true"] { display: none; }
.partner-set .partner-logo:nth-child(n) { display: grid; grid-column: auto; place-items: center; width: 100%; min-width: 0; min-height: 0; height: 120px; padding: 16px; border: 1px solid #ccd8e7; border-radius: 18px; }
.partner-set .partner-logo:nth-child(n) svg { display: block; max-width: 100%; height: 40px; padding: 0; }
/* #65–73, #120–121: a stable grid; surface area is the fact, not a tiny badge. */
.environment { background: #101c2d; }
.environment-glass { padding: 24px 32px; border: 0; border-radius: 24px; background: #192f4d; box-shadow: none; }
.environment-glass::before, .environment-glass::after { display: none; }
.environment-glass h2 { margin: 12px 0 0; }
.environment-grid { margin-top: 24px; padding-block: 32px; gap: 20px; align-items: stretch; }
.environment .environment-card:nth-child(n) { height: auto; min-height: 0; padding: 28px; border-radius: 28px; transform: none; translate: none; box-shadow: 0 8px 24px rgb(0 0 0 / 10%); }
.environment-icon { width: 56px; height: 56px; padding: 14px; margin: 0; }
.environment-card:nth-child(2) .environment-icon { background: #fff; color: #101c2d; }
.environment .environment-card:hover .environment-icon { transform: none; }
.environment-card:first-child .environment-icon svg { transform: translateY(-1px); }
.environment .environment-card:nth-child(n) .tag { display: block; margin: 20px 0 0; padding: 0; background: transparent; border: 0; border-radius: 0; color: inherit; font-size: 32px; font-weight: 600; line-height: 1.2; }
.environment-card h3 { margin: 12px 0; font-size: 24px; line-height: 1.2; }
.environment-card p { max-width: none; margin: 0; color: #40526a; font-size: 16px; }
.environment-card:nth-child(n + 2) p { color: #f1f5ff; }
/* #74–76, #118, #122: specific heading, simple type and readable lab descriptions. */
.labs-grid { margin-top: 32px; gap: 20px; }
.labs-grid article { padding: 28px; min-height: 0; border-radius: 28px; }
.labs-grid h3 { margin: 20px 0 12px; font-size: 24px; }
.labs-grid p { opacity: 1; font-size: 16px; line-height: 1.6; }
.labs-grid article:nth-child(2), .labs-grid article:nth-child(5) { background: #1955d1; color: #fff; }
.labs-grid article:nth-child(3) { background: #e2ebf8; color: #101c2d; }
/* #25, #77–87: fields and their errors stay inside an auto-height form. */
.admission-grid { align-items: start; gap: 40px; }
.admission h2 { margin-top: 0; }
.admission-lead { margin-top: 20px; color: #d3e2f6; font-size: 17px; }
.next-steps { margin-top: 32px; }
.next-steps h3 { color: #fff; font-size: 22px; font-weight: 600; letter-spacing: normal; margin-bottom: 20px; }
.next-steps li { align-items: start; margin-bottom: 20px; }
.next-steps li > span { display: grid; gap: 4px; }
.next-steps li strong { color: #fff; font-size: 20px; line-height: 1.35; }
.next-steps li span span, .next-steps li small { color: #d3e2f6; }
.next-steps li small { font-size: 14px; }
.candidate-profile { margin-top: 32px; }
.candidate-profile strong { font-size: 22px; color: #fff; text-transform: none; letter-spacing: normal; }
.candidate-profile p { margin-top: 12px; color: #d3e2f6; }
.admission-price { margin-top: 32px; }
.registration-card { height: auto; min-height: 0; padding: 32px; border-radius: 28px; }
.registration-card > p { margin: 12px 0 28px; color: #40526a; font-size: 17px; line-height: 1.55; }
.field { margin: 0 0 24px; }
.field label { margin-bottom: 8px; text-transform: none; font-size: 15px; font-weight: 600; letter-spacing: normal; }
.field input, .field select { height: 56px; padding: 0 16px; font-size: 17px; border-radius: 14px; }
.field input::placeholder { color: #576b82; }
.field select { appearance: none; padding-right: 48px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%233d4f65' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 16px center; }
.consent { margin-top: 24px; gap: 12px; align-items: center; }
.consent input { width: 22px; height: 22px; margin: 0; flex-shrink: 0; }
.consent label { color: #40526a; font-size: 14px; line-height: 24px; }
.submit-button { height: auto; min-height: 56px; margin-top: 24px; padding: 14px 20px; font-size: 17px; }
.form-note { position: static; margin: 16px 0 0; font-size: 14px; color: #40526a; }
.site-footer { height: auto; padding: 48px 0; background: #11243e; color: #e6eff8; }
.footer-inner { display: grid; grid-template-columns: 1.3fr 1fr 1fr; align-items: start; gap: 32px; font-size: 15px; }
.footer-inner p { margin: 12px 0; }
.footer-inner nav { display: flex; flex-direction: column; gap: 12px; align-items: start; }
.footer-inner strong { font-size: 18px; color: #fff; }
.footer-inner a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 1100px) {
  .brand small { max-width: 210px; font-size: 11px; }
  .brand strong { font-size: 14px; }
  .main-nav { gap: 16px; font-size: 14px; }
  .header-cta { margin-left: 16px; padding-inline: 16px; }
  .day-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 850px) {
  .site-header { top: 12px; }
  .container, main .container { width: calc(100% - 40px); }
  .header-inner { height: 72px; padding: 10px 16px; }
  .brand { flex: 1; gap: 12px; }
  .brand small { font-size: 11px; }
  .brand-mark { width: 44px; height: 44px; flex-shrink: 0; }
  .header-cta { display: none; }
  .menu-toggle { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; width: 44px; height: 44px; border-radius: 50%; }
  .menu-toggle span { display: block; width: 22px; height: 2px; margin: 0; border-radius: 3px; }
  .main-nav { display: none; position: absolute; top: 84px; left: 20px; right: 20px; width: auto; margin: 0; padding: 20px 24px; gap: 4px; border: 1px solid #587aa5; border-radius: 24px; background: #123658; }
  .main-nav.open { display: flex; flex-direction: column; align-items: stretch; }
  .main-nav a { min-height: 44px; display: flex; align-items: center; padding: 8px 0; font-family: var(--review-body); font-size: 17px; }
  .main-nav .mobile-nav-cta { display: flex; justify-content: center; border-radius: 22px; background: #1955d1; margin-top: 12px; padding: 12px 16px; }
  .hero .hero-grid { grid-template-columns: 1fr; padding-top: 124px; gap: 32px; }
  .hero h1 { font-size: clamp(32px, 6.4vw, 50px); }
  .hero-media { order: 0; }
  .college-universe > .container { grid-template-columns: minmax(0, 1fr); column-gap: 0; }
  .universe-layout { grid-template-columns: minmax(0, 1fr); column-gap: 0; }
  .universe-planet-diploma { width: 64px; height: 64px; }
  .universe-planet-work { width: 44px; height: 44px; }
  .universe-planet-practice { width: 46px; height: 46px; }
  .universe-planet-career { width: 50px; height: 50px; }
  .universe-planet-campus { width: 54px; height: 54px; }
  .planet-map-window { grid-row: 1; grid-column: 1 / -1; max-width: 540px; }
  .universe-details { grid-row: 2; grid-column: 1 / -1; }
  .directions .direction { grid-template-columns: minmax(0, 1fr) 56px; gap: 8px 20px; }
  .directions .direction h3 { grid-column: 1; grid-row: 1; }
  .directions .direction p { grid-column: 1; grid-row: 2; }
  .directions .direction-symbol { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
  .partner-set { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-set .partner-logo:nth-child(n) svg { width: auto; height: 36px; }
  .environment-grid, .labs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .container, main .container, main .hero-grid, main .college-universe > .container, main .learning .container { width: calc(100% - 32px); }
  .main-nav { left: 16px; right: 16px; padding-left: 28px; }
  .brand small { max-width: 170px; color: #e6eff8; font-size: 10px; line-height: 1.4; }
  section[id] { scroll-margin-top: 104px; }
  .hero { min-height: 0; padding-bottom: 40px; }
  .hero .hero-grid { min-height: 0; align-content: start; padding-top: 112px; padding-bottom: 0; gap: 32px; }
  .hero h1 { font-size: clamp(28px, 7.7vw, 44px); line-height: 1.18; }
  .hero .hero-lead { font-size: 16px; line-height: 1.6; margin-top: 20px; }
  .hero .hero-actions { grid-template-columns: 1fr; margin-top: 24px; gap: 12px; }
  .hero .hero-actions .button { font-size: 16px; min-height: 52px; padding: 14px 20px; }
  .hero-media { order: -1; border-radius: 20px; }
  .hero-media video { aspect-ratio: 16 / 9; max-height: none; }
  .hero-waves { opacity: .16; }
  .college-universe { padding: 40px 0; }
  .universe-heading h2 { font-size: 28px; }
  .universe-layout { margin-top: 24px; gap: 16px; }
  .planet-map-window { width: 100%; max-width: 270px; margin-inline: auto; }
  .planet-map-help { display: block; margin: 0 0 16px; font-size: 13px; }
  .universe-details { padding: 24px; }
  .universe-instruction { font-size: 13px; }
  .universe-panel { min-height: 290px; }
  .universe-panel h3 { font-size: 24px; }
  .universe-panel p { font-size: 16px; }
  .universe-panel a { font-size: 15px; }
  .promise .promise-card, .comparison article, .registration-card, .career-grid article,
  .career-education, .labs-grid article, .learning .day-grid article, .learning-chart { padding: 24px; border-radius: 24px; }
  .promise-grid, .comparison, .career-grid, .environment-grid, .labs-grid { grid-template-columns: 1fr; gap: 16px; }
  .promise-card h3, .comparison h3 { font-size: 24px; }
  .directions .direction { padding: 20px 0; min-height: 0; gap: 8px 16px; grid-template-columns: minmax(0, 1fr) 48px; }
  .directions .direction h3 { font-size: 19px; overflow-wrap: normal; }
  .directions .direction p { font-size: 15px; overflow-wrap: normal; }
  .directions .direction:nth-child(n) .direction-symbol { width: 48px; height: 48px; padding: 11px; }
  .program-formula { display: grid; grid-template-columns: auto minmax(32px, 1fr) fit-content(48%); align-items: center; padding: 20px; gap: 12px; margin-top: 24px; background: #080b10; color: #fff; border: 1px solid #253850; border-radius: 20px; box-shadow: none; }
  .program-formula .formula-arrow { width: 100%; left: 16px; }
  .program-formula strong { width: auto; display: flex; flex-direction: column; gap: 8px; color: #fff; font-size: 15px; font-weight: 600; text-align: left; }
  .program-formula strong:first-child { align-items: flex-start; text-align: left; border-right: 0; padding-right: 0; }
  .program-formula strong:last-child { align-items: flex-end; text-align: right; }
  .program-formula strong .formula-value { font-size: 32px; line-height: 1.1; color: #8cb4ff; white-space: nowrap; }
  .program-formula strong .formula-label { font-size: clamp(12px, 2.8vw, 15px); line-height: 1.4; white-space: normal; overflow-wrap: anywhere; }
  .learning .section-lead { display: block; font-size: 16px; margin-top: 20px; }
  .learning-data-note { font-size: 13px; }
  .day-grid { gap: 16px; grid-template-columns: 1fr; }
  .learning .day-grid article { min-height: 0; }
  .learning .day-grid h3 { font-size: 23px; margin: 16px 0 12px; }
  .learning .day-grid p { display: block; font-size: 16px; }
  .partner-set { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .partner-set .partner-logo:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .partners { width: calc(100% - 32px); margin-inline: auto; }
  .partner-set .partner-logo:nth-child(n) { height: 100px; padding: 12px; }
  .partner-set .partner-logo:nth-child(n) svg { width: auto; height: 30px; }
  .environment-glass { padding: 24px; }
  .environment-glass h2 { font-size: 28px; }
  .environment .environment-card:nth-child(n) { padding: 24px; min-height: 0; }
  .environment-icon { width: 56px; height: 56px; }
  .environment-card h3 { font-size: 24px; }
  .environment-card p { font-size: 16px; }
  .next-steps h3, .candidate-profile strong { font-size: 20px; }
  .field label { font-size: 15px; }
  .form-note { font-size: 14px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .promise-card, .universe-panel { transition: none; animation: none; }
}

/* Follow-up browser comments: keep the refined marks in a desktop-only rail. */
.partner-set .partner-brand-rosatom:nth-child(n) { background: #013274; }
.partner-set .partner-brand-rusrobot:nth-child(n) { background: #333; }
.partner-set .partner-brand-valdai:nth-child(n) { background: #000; }
.partner-set .partner-brand-bitrobotics:nth-child(n),
.partner-set .partner-brand-new-line:nth-child(n) { background: #fff; }
.partner-set .partner-brand-rosatom:nth-child(n) svg { width: auto; height: 80px; }
@media (min-width: 601px) {
  .partners { width: 100%; margin-inline: 0; }
  .partners > .partners-label { width: min(1320px, calc(100% - 40px)); margin-inline: auto; }
  .partners > .partner-viewport { overflow: hidden; mask-image: none; -webkit-mask-image: none; }
  .partner-track { display: flex; width: max-content; animation: partner-scroll var(--partner-duration, 30s) linear infinite; will-change: transform; }
  .partner-set, .partner-set[aria-hidden="true"] { display: flex; width: max-content; flex: none; gap: 12px; padding-right: 12px; }
  .partner-set .partner-logo:nth-child(n) { width: 360px; flex: none; }
  .partner-set .partner-logo:nth-child(n) svg { width: auto; height: 40px; }
  .partner-set .partner-brand-rosatom:nth-child(n) svg { height: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  .partner-track { animation: none; }
  .partner-set[aria-hidden="true"] { display: none; }
  .partners > .partner-viewport { overflow-x: auto; }
}

/* Full-card buttons preserve the laboratory cards' typography and colours. */
.labs-grid article { position: relative; transition: box-shadow .2s ease; }
.labs-grid article:has(.lab-gallery-trigger:hover) { box-shadow: 0 12px 32px #1955d126; }
.lab-gallery-trigger { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; border-radius: inherit; background: transparent; cursor: pointer; }
.lab-gallery-trigger:focus-visible { outline: 3px solid #1955d1; outline-offset: 5px; }
.lab-gallery-open { overflow: hidden; }
.lab-gallery { box-sizing: border-box; width: min(960px, calc(100% - 32px)); max-height: calc(100dvh - 32px); margin: auto; padding: 28px; border: 1px solid #dce5f1; border-radius: 28px; background: #f6f9fe; color: #101c2d; box-shadow: 0 24px 100px #07122055; overflow: auto; }
.lab-gallery::backdrop { background: #071220b8; backdrop-filter: blur(6px); }
.lab-gallery-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.lab-gallery-eyebrow { margin: 0 0 8px; color: #1955d1; font-size: 13px; }
.lab-gallery h2 { margin: 0; font-size: clamp(24px, 4vw, 36px); line-height: 1.15; }
.lab-gallery button { font: inherit; cursor: pointer; }
.lab-gallery-close, .lab-gallery-navigation button { flex-shrink: 0; width: 44px; height: 44px; padding: 0; border: 1px solid #cedbf0; border-radius: 50%; background: #fff; color: #1955d1; }
.lab-gallery .lab-gallery-close { font-size: 28px; }
.lab-gallery button:focus-visible { outline: 3px solid #1955d1; outline-offset: 3px; }
.lab-gallery button:hover { background-color: #e2ebf8; }
.lab-gallery button:disabled { opacity: .35; cursor: default; }
.lab-gallery-status { padding: 48px 12px; text-align: center; line-height: 1.6; }
.lab-gallery-stage { display: grid; place-items: center; height: min(52dvh, 520px); min-height: 180px; border-radius: 18px; overflow: hidden; background: #e2ebf8; }
.lab-gallery-image { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.lab-gallery-error { padding: 24px; text-align: center; }
.lab-gallery-navigation { display: flex; align-items: center; justify-content: center; gap: 24px; margin: 16px 0; }
.lab-gallery-counter { margin: 0; min-width: 70px; text-align: center; font-variant-numeric: tabular-nums; }
.lab-gallery-thumbnails { display: flex; gap: 10px; overflow-x: auto; padding: 5px; }
.lab-gallery-thumbnails button { flex: 0 0 80px; height: 60px; padding: 0; border: 3px solid transparent; border-radius: 10px; overflow: hidden; background: #e2ebf8; }
.lab-gallery-thumbnails button[aria-pressed="true"] { border-color: #1955d1; }
.lab-gallery-thumbnails img { display: block; width: 100%; height: 100%; object-fit: cover; }
.lab-gallery [hidden] { display: none; }
@media (max-width: 600px) {
  .lab-gallery { padding: 18px; border-radius: 20px; }
  .lab-gallery-header { gap: 12px; margin-bottom: 18px; }
  .lab-gallery-stage { height: 42dvh; }
}
@media (prefers-reduced-motion: reduce) {
  .labs-grid article { transition: none; }
}

/* Side arrows change rooms; controls below the photo change photographs. */
.lab-gallery-rooms { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 16px; }
.lab-gallery-room-body { min-width: 0; }
.lab-gallery-room-prev, .lab-gallery-room-next { width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: #1955d1; color: #fff; }
.lab-gallery .lab-gallery-room-prev:hover, .lab-gallery .lab-gallery-room-next:hover { background: #1244ac; }
@media (max-width: 600px) {
  .lab-gallery { padding: 12px; width: calc(100% - 16px); }
  .lab-gallery-rooms { gap: 8px; }
}
