:root {
  color-scheme: light;
  --ink: #102638;
  --muted: #4d6474;
  --paper: #f7fafb;
  --line: #dbe4e9;
  --accent: #fee452;
  --white: #fff;
  font-family: "Segoe UI", Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); line-height: 1.55; }
a { color: inherit; }
button, input, select { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
:focus-visible { outline: 3px solid #2086bd; outline-offset: 4px; }
.wrap { width: min(1200px, calc(100% - 72px)); margin-inline: auto; }
.visually-hidden, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 2; top: 12px; left: 12px; padding: 10px 14px; background: var(--white); }
.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.header-row, .footer-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.header-row { min-height: 80px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-size: 21px; font-weight: 750; line-height: 1.1; }
.brand small { display: block; margin-top: 4px; font-size: 11px; font-weight: 500; color: var(--muted); }
.brand-mark { display: inline-grid; width: 35px; height: 36px; place-items: center; background: var(--ink); border-radius: 5px; }
.brand-mark::after { content: ""; width: 16px; height: 22px; background: var(--accent); clip-path: polygon(47% 0, 100% 0, 66% 43%, 100% 43%, 23% 100%, 41% 55%, 7% 55%); }
.header-row nav { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; }
.header-row nav a, .footer-row a { font-size: 15px; text-decoration: none; }
.header-row nav a:hover, .footer-row a:hover { text-decoration: underline; text-underline-offset: 4px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 10px 18px; border: 1px solid transparent; border-radius: 5px; color: var(--ink); font-weight: 700; text-align: center; text-decoration: none; }
.button-primary { background: var(--accent); }
.button-primary:hover { background: #ffe97a; }
.button-outline { border-color: #b8c9d2; background: transparent; }
.button-outline:hover { background: #ecf2f6; }
.hero { color: var(--white); background: #102638; }
.hero-layout { display: grid; grid-template-columns: 1fr .93fr; min-height: 505px; }
.hero-copy { align-self: center; padding: 65px 30px 71px 0; }
.hero-context { margin: 0 0 16px; color: #b4ccdd; font-size: 15px; }
h1, h2, h3 { line-height: 1.08; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(42px, 5.2vw, 73px); letter-spacing: -.055em; font-weight: 750; }
.hero-copy > p:not(.hero-context) { color: #d3e1eb; max-width: 50ch; font-size: clamp(16px, 1.55vw, 20px); margin: 26px 0; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 15px 24px; }
.hero-link { font-weight: 700; text-underline-offset: 5px; }
.hero-visual { position: relative; min-height: 290px; background: #28485c url("/hero.jpg") 53% 43% / cover no-repeat; }
.hero-visual::before { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, #102638ac, transparent 43%); }
.section { padding: clamp(56px, 8vw, 100px) 0; scroll-margin-top: 20px; }
h2 { font-size: clamp(33px, 4.6vw, 52px); letter-spacing: -.047em; }
.section-heading { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 18px 36px; margin-bottom: 30px; }
.section-heading p, .apply-layout > div p, .about-layout > div p { margin: 0; color: var(--muted); max-width: 47ch; }
.filter-bar { display: flex; justify-content: space-between; align-items: start; gap: 16px; padding-bottom: 15px; border-bottom: 1px solid var(--line); }
.filters { display: flex; flex-wrap: wrap; gap: 7px; }
.filters button { border: 1px solid var(--line); background: var(--white); color: var(--ink); min-height: 40px; padding: 7px 12px; border-radius: 4px; font-size: 14px; font-weight: 650; }
.filters button[aria-pressed="true"] { color: var(--white); background: #254e67; border-color: #254e67; }
.filters button:not([aria-pressed="true"]):hover { border-color: #678c9f; }
.search-label { width: min(245px, 100%); }
input:not([type="checkbox"]), select { width: 100%; min-height: 44px; border-radius: 4px; padding: 9px 12px; color: var(--ink); border: 1px solid #a7bac6; background: var(--white); }
.search-label input { min-height: 40px; font-size: 14px; }
.course-count { min-height: 22px; color: var(--muted); margin: 14px 0; font-size: 14px; }
.course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.course-card { display: flex; flex-direction: column; min-height: 213px; background: var(--white); border: 1px solid var(--line); border-top: 3px solid #6b92a8; padding: 20px 19px 15px; }
.course-track { margin: 0 0 9px; color: #42647a; font-size: 13px; font-weight: 650; }
.course-card h3 { font-size: 21px; line-height: 1.2; letter-spacing: -.025em; text-wrap: pretty; }
.course-description { margin: 10px 0 17px; color: var(--muted); font-size: 14px; }
.course-footer { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; }
.course-footer a { text-underline-offset: 3px; color: #21546e; }
.org-section { color: var(--white); background: #21445a; }
.org-layout, .apply-layout, .about-layout { display: grid; grid-template-columns: .85fr 1fr; gap: 28px 68px; }
.org-layout p { max-width: 49ch; color: #e1ebf1; margin: 19px 0 23px; }
.process { margin: 0; padding-left: 28px; }
.process li { padding: 13px 0 14px 8px; border-bottom: 1px solid #658497; }
.process li::marker { color: var(--accent); font-weight: 700; }
.process strong, .process span { display: block; }
.process span { color: #e1ebf1; font-size: 15px; }
.apply-layout > div p, .about-layout > div p { margin-top: 18px; }
#application-form { display: grid; gap: 15px; }
#application-form > label, .form-row > label { display: grid; gap: 5px; font-weight: 600; }
#application-form .optional { display: inline; font-size: 13px; color: var(--muted); font-weight: 400; }
#application-form > label:has(.optional) { display: block; }
#application-form > label:has(.optional) input { display: block; margin-top: 5px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.consent-row { display: flex; gap: 7px; align-items: start; font-size: 14px; }
.consent-row input { accent-color: #21445a; margin-top: 4px; width: 18px; height: 18px; flex-shrink: 0; }
.text-button { color: #21546e; background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 3px; }
#application-form > button { justify-self: start; }
.form-status { margin: 0; min-height: 22px; }
.form-status[data-state="error"] { color: #96261b; }
.form-status[data-state="success"] { color: #195f48; }
.about-section { border-top: 1px solid var(--line); background: #ecf2f6; }
.organization-details { margin: 0; }
.organization-details > div { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; border-top: 1px solid #c9d6dd; padding: 10px 0; }
.organization-details dt { color: var(--muted); }
.organization-details dd { margin: 0; font-weight: 650; overflow-wrap: anywhere; }
.site-footer { background: #102638; color: var(--white); padding: 28px 0; }
.footer-row { flex-wrap: wrap; }
dialog { width: min(550px, calc(100% - 32px)); border: 0; border-radius: 6px; padding: clamp(20px, 4vw, 32px); color: var(--ink); }
dialog h2 { font-size: 29px; }
dialog::backdrop { background: #102638a8; }
@media (max-width: 930px) {
  .wrap { width: calc(100% - 48px); }
  .header-row nav { gap: 13px; }
  .course-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 36px); }
  .header-row { gap: 8px 12px; flex-wrap: wrap; padding: 13px 0 10px; }
  .header-row nav { order: 3; width: 100%; gap: 8px 19px; padding-top: 5px; }
  .header-row .button { padding: 6px 9px; min-height: 37px; font-size: 13px; }
  .brand { font-size: 18px; }
  .brand-mark { width: 30px; height: 32px; }
  .hero-layout, .org-layout, .apply-layout, .about-layout { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { padding: 45px 0 40px; }
  .hero-visual { margin-inline: -18px; min-height: min(61vw, 340px); }
  .filter-bar { flex-wrap: wrap; }
  .search-label { width: 100%; }
  .footer-row { justify-content: start; gap: 9px 20px; }
}
@media (max-width: 480px) {
  .course-grid, .form-row { grid-template-columns: minmax(0, 1fr); }
  h1 { font-size: clamp(34px, 10vw, 47px); }
  .course-card { min-height: 185px; }
}

.classroom-section { background: var(--white); border-top: 1px solid var(--line); }
.classroom-section p { margin: 0 0 18px; max-width: 55ch; color: var(--muted); }
details{border-bottom:1px solid #cdd6d9;padding:1rem 0;max-width:900px}summary{font-weight:650;cursor:pointer;font-size:1.12rem}details p{max-width:78ch;line-height:1.6}

/* Public platform */
:root {
  --ink: #17192b;
  --muted: #50556e;
  --paper: #f3f4fa;
  --line: #d7d9e7;
  --accent: #ffdf57;
  --blue: #4535dc;
  --night: #151628;
}
[hidden] { display: none !important; }
:focus-visible { outline-color: #6754fa; }
.wrap { width: min(1260px, calc(100% - 88px)); }
.section { scroll-margin-top: 20px; }
.site-header { border: 0; background: var(--night); color: var(--white); }
.header-row { min-height: 86px; border-bottom: 1px solid #ffffff24; }
.brand { font-size: 23px; letter-spacing: -.045em; }
.brand small { color: #b7b9d1; letter-spacing: 0; }
.brand-mark { background: var(--accent); transform: rotate(-7deg); }
.brand-mark::after { background: var(--night); }
.header-row .button { border-color: #8c8fa7; color: var(--white); }
.header-row .button:hover { background: #ffffff19; }
.header-row nav a { color: #dbdcef; }
.button { gap: 9px; border-radius: 9px; }
.button-primary:hover { background: #ffeb92; }
.button-ink { color: var(--white); background: var(--night); justify-self: start; }
.button-ink:hover { background: #30324b; }
.hero { background: var(--night); overflow: clip; }
.hero-layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  min-height: 550px;
  align-items: center;
  position: relative;
  padding-bottom: 52px;
}
.hero-copy { z-index: 1; padding-block: 74px 60px; padding-right: 0; }
.hero-context { display: flex; align-items: center; gap: 9px; color: #d7d7ec; font-weight: 650; }
.live-dot { width: 10px; height: 10px; border: 2px solid var(--accent); border-radius: 50%; box-shadow: 0 0 0 3px #ffdf5733; }
h1 { font-size: clamp(42px, 5.85vw, 88px); font-weight: 800; line-height: .96; letter-spacing: -.065em; text-wrap: initial; }
h1 > span { color: var(--accent); }
.hero-copy > p:not(.hero-context) { color: #c9cbe1; max-width: 46ch; margin-block: 23px 26px; }
.hero-actions { gap: 13px 22px; }
.hero-link { color: var(--white); }
.hero-application { color: #c9cbe1; }
.hero-visual {
  position: relative;
  align-self: stretch;
  margin: 30px 0 0 -24px;
  background: none;
  min-height: 420px;
}
.hero-visual img {
  display: block;
  width: 100%; height: 100%;
  position: absolute; inset: 0;
  object-fit: cover; object-position: 53% 42%;
  border-radius: 24px 24px 85px 24px;
  filter: saturate(.87) contrast(1.05);
}
.hero-visual::before { z-index: 1; border-radius: 24px 24px 85px 24px; background: linear-gradient(90deg, #15162880, transparent 39%); }
.photo-frame { position: absolute; z-index: 2; inset: 16px; border: 1px solid #ffffff55; border-radius: 12px 12px 69px 12px; pointer-events: none; }
.photo-frame::after { position: absolute; content: ""; width: 55px; height: 10px; background: var(--accent); border-radius: 3px; right: 24px; top: -5px; }
.finder-section { position: relative; z-index: 2; margin-top: -28px; scroll-margin-top: 16px; }
.finder-panel {
  border-radius: 16px;
  background: var(--accent);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 22px 44px;
  padding: clamp(22px, 4vw, 43px);
  align-items: start;
}
.finder-intro p { margin: 13px 0 0; max-width: 32ch; color: #393218; }
.finder-controls { display: grid; gap: 7px; min-width: 0; }
.finder-controls label { font-size: 14px; font-weight: 700; }
.finder-controls select { border-color: #705f2e; background: #ffefac; }
.finder-extra { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 12px; }
.finder-extra label:first-child { grid-column: 1; grid-row: 1; }
.finder-extra label:nth-of-type(2) { grid-column: 2; grid-row: 1; }
.finder-controls .button { margin-top: 5px; }
.finder-status { margin: 0; color: #721a12; font-weight: 700; }
.finder-status:empty { display: none; }
h2 { font-size: clamp(34px, 5vw, 64px); line-height: .99; font-weight: 800; letter-spacing: -.055em; }
.section-heading { gap: 18px 34px; margin-bottom: 29px; }
.section-heading p { max-width: 39ch; }
.filter-bar { border-color: var(--line); }
.filters button { border-radius: 8px; border-color: #bbbfd7; }
.filters button[aria-pressed="true"] { border-color: var(--blue); background: var(--blue); }
.search-label input, input:not([type="checkbox"]), select { border-radius: 8px; border-color: #a7aac2; }
.catalog-status { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.course-grid { gap: 16px; }
.course-card {
  min-height: 245px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 21px 20px 17px;
  position: relative;
  overflow: clip;
}
.course-card::before { position: absolute; inset: 0 0 auto; height: 4px; background: #5a45ee; content: ""; }
.course-card[data-category="thermal"]::before { background: #097788; }
.course-card[data-category="industrial"]::before { background: #c37400; }
.course-track { color: #4736b4; font-weight: 750; }
.course-card[data-category="thermal"] .course-track { color: #086575; }
.course-card[data-category="industrial"] .course-track { color: #8e5300; }
.course-card h3 { font-size: clamp(20px, 2.4vw, 26px); letter-spacing: -.045em; }
.course-footer { flex-wrap: wrap; }
.course-actions { display: inline-flex; gap: 7px 13px; align-items: center; flex-wrap: wrap; }
.course-actions a { color: var(--white); padding: 6px 10px; border-radius: 6px; background: var(--blue); text-decoration: none; }
.course-actions a:hover { background: #3123b8; }
.text-button { color: #4936c4; }
.course-facts { margin-block: 19px; }
.course-facts div { display: flex; gap: 10px; justify-content: space-between; padding: 8px 0; border-top: 1px solid var(--line); }
.course-facts dd { margin: 0; font-weight: 700; }
.dialog-actions { display: flex; gap: 10px; flex-wrap: wrap; }
dialog { border-radius: 15px; }
dialog h2 { font-size: clamp(26px, 5vw, 38px); }
.org-section { background: var(--blue); }
.org-layout { gap: 30px 60px; align-items: start; }
.org-layout p, .process span { color: #f1eeff; }
.process li { border-color: #ffffff78; padding-block: 14px 15px; }
.process li:first-child { padding-top: 0; }
.process strong { font-size: 19px; }
.org-photo { width: 100%; height: 200px; object-fit: cover; object-position: center 38%; display: block; border-radius: 13px; margin-bottom: 20px; }
.application-section { background: #ecebff; }
#application-form { padding: clamp(19px, 3vw, 34px); border-radius: 16px; background: var(--white); }
#application-form > button { background: var(--blue); color: var(--white); }
#application-form > button:hover { background: #3322b9; }
.consent-row input { accent-color: var(--blue); }
.classroom-section { background: var(--night); color: var(--white); border: 0; }
.classroom-section p { color: #d4d5e9; }
.classroom-section .button { color: var(--night); background: var(--accent); border-color: transparent; }
.classroom-section .button:hover { background: #ffeb92; }
.faq-section details { border-top: 1px solid #bfc2d6; padding: 15px 0; }
.faq-section details:last-child { border-bottom: 1px solid #bfc2d6; }
.faq-section summary { cursor: pointer; font-size: clamp(17px, 2.4vw, 23px); font-weight: 700; }
.faq-section summary::marker { color: var(--blue); }
.faq-section details p { margin: 11px 0 0; max-width: 78ch; color: var(--muted); }
.about-section { background: #e6e8f4; }
.site-footer { background: var(--night); }
@keyframes hero-arrive {
  from { opacity: 0; transform: translateY(11px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: hero-arrive 450ms ease-out both; }
  .hero-visual { animation: hero-arrive 500ms 90ms ease-out both; }
  .button, .course-card { transition: background-color 150ms ease, border-color 150ms ease; }
  .course-card:hover { border-color: #a6a4c5; }
}
@media (max-width: 1100px) {
  .wrap { width: calc(100% - 54px); }
  .hero-layout { min-height: 490px; }
  h1 { font-size: clamp(44px, 6.1vw, 78px); }
  .hero-visual { min-height: 360px; }
}
@media (max-width: 930px) {
  .header-row nav { gap: 9px 13px; }
  .header-row nav a { font-size: 13px; }
  .header-row .button { min-height: 39px; padding: 7px 10px; font-size: 13px; }
  .hero-actions .hero-application { width: 100%; }
  .hero-visual { margin-left: 0; }
}
@media (max-width: 720px) {
  .wrap { width: calc(100% - 34px); }
  .hero-layout, .finder-panel { grid-template-columns: minmax(0, 1fr); }
  .hero-layout { padding-bottom: 38px; min-height: auto; }
  .brand { font-size: 19px; }
  .header-row { min-height: 0; }
  .header-row nav { gap: 6px 16px; }
  .hero-copy { padding: 40px 0 19px; }
  .hero-visual { margin: 0; min-height: clamp(214px, 53vw, 320px); }
  .hero-visual img, .hero-visual::before { border-radius: 16px 16px 44px 16px; }
  .photo-frame { inset: 10px; border-radius: 8px 8px 35px 8px; }
  .hero-actions .hero-application { width: auto; }
  .org-photo { height: min(50vw, 265px); }
}
@media (max-width: 450px) {
  .finder-extra { grid-template-columns: minmax(0, 1fr); }
  .finder-extra label:first-child, .finder-extra label:nth-of-type(2) { grid-column: auto; grid-row: auto; }
  h1 { font-size: clamp(34px, 9.9vw, 46px); }
  .hero-break { display: none; }
  .course-card { min-height: 193px; }
}


/* Occupational safety and shared request forms */
.hero {
  background: radial-gradient(ellipse at 75% 15%, #34277e 0%, transparent 58%), var(--night);
}
.hero-layout { gap: clamp(16px, 3vw, 46px); }
.hero-visual { margin-left: 0; }
.hero-copy > h1 { font-size: clamp(42px, 6vw, 86px); }
.hero-actions .hero-application {
  width: auto;
  color: var(--accent);
}
.finder-panel { box-shadow: 0 16px 38px #25185b1a; }
.section-heading h2 { max-width: 20ch; }
.course-card { box-shadow: 0 5px 16px #211b5010; }
.safety-section {
  background: #e8e4ff;
}
.safety-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .9fr);
  gap: clamp(24px, 4vw, 56px);
}
.safety-intro {
  padding: clamp(24px, 4vw, 52px);
  border-radius: 22px 22px 64px 22px;
  color: var(--white);
  background: linear-gradient(140deg, #33238c, #20193f);
}
.safety-kicker {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 0 0 18px;
  font-weight: 650;
}
.safety-kicker .live-dot { flex: 0 0 10px; }
.safety-intro p:not(.safety-kicker) {
  max-width: 48ch;
  margin: 20px 0 25px;
  color: #ede8ff;
}
.safety-services {
  display: grid;
  gap: 10px;
  margin: 0;
}
.safety-services > div {
  padding: clamp(16px, 2vw, 23px);
  border: 1px solid #d5cdf5;
  border-inline-start: 4px solid var(--blue);
  border-radius: 9px;
  background: var(--white);
}
.safety-services dt { color: #33238c; font-size: 19px; font-weight: 750; }
.safety-services dd { margin: 5px 0 0; color: var(--muted); }
.safety-request {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1fr);
  gap: clamp(22px, 4vw, 54px);
  align-items: start;
  padding: clamp(22px, 4vw, 42px);
  border-radius: 20px;
  background: var(--white);
  scroll-margin-top: 20px;
}
.safety-request h3 { font-size: clamp(25px, 3vw, 41px); letter-spacing: -.04em; scroll-margin-top: 20px; }
.safety-request > div p { max-width: 39ch; color: var(--muted); }
.request-form { display: grid; gap: 15px; }
.request-form > label { display: grid; gap: 5px; font-weight: 600; }
.request-form > button { justify-self: start; }
.request-form textarea {
  width: 100%;
  min-height: 100px;
  border: 1px solid #a7aac2;
  border-radius: 8px;
  padding: 9px 12px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
  font-weight: 400;
  resize: vertical;
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .course-card { transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease; }
  .course-card:hover, .course-card:focus-within { transform: translateY(-4px); box-shadow: 0 14px 28px #211b501c; }
  .hero-actions .button span, .safety-intro .button span { transition: transform 170ms ease; }
  .hero-actions .button:hover span, .safety-intro .button:hover span { transform: translate(2px, 2px); }
}
@media (max-width: 980px) {
  .header-row { flex-wrap: wrap; padding: 12px 0; gap: 12px; }
  .header-row nav { order: 3; width: 100%; }
}
@media (max-width: 720px) {
  .hero-copy > h1 { font-size: clamp(34px, 9.9vw, 49px); }
  .safety-layout, .safety-request { grid-template-columns: minmax(0, 1fr); }
}
