/* Match the approved culture-first artwork while retaining readable live text. */
:root{--paper:#fff7ec;--orange:#c65000;--ink:#201b19}body{line-height:1.45;background:radial-gradient(ellipse at 75% 12%,#ffedda66,transparent 45%),var(--paper)}.wrap{max-width:1120px;padding-inline:28px}.header{position:relative;background:transparent;border:0;backdrop-filter:none}.nav-row{height:70px}.logo{font-size:30px;letter-spacing:-1.4px}.desktop-nav{font-size:14px;gap:34px}.hero{min-height:0;height:350px;padding-top:12px;padding-bottom:24px;grid-template-columns:1.13fr .87fr;gap:0;position:relative}.hero h1{font-size:44px;line-height:1.13;letter-spacing:-1.6px;margin-bottom:23px;max-width:620px}.hero p{font-size:16px;line-height:1.45;max-width:510px;margin-bottom:0}.actions{margin-top:22px;gap:14px}.button{padding:10px 23px;min-height:42px;border-radius:7px;font-size:14px}.hero-visual{margin:-12px -28px -24px -18px;align-self:stretch;overflow:hidden}.reference-art{position:relative;overflow:hidden;width:100%;isolation:isolate;mix-blend-mode:multiply}.reference-art img{position:absolute;max-width:none!important;height:auto!important;display:block;pointer-events:none}.hero-visual .reference-art{width:100%;align-self:center}.hero-visual .reference-art img{max-height:none;aspect-ratio:auto;object-fit:initial;border-radius:0;mask-image:none}.hero-visual .reference-art{mask-image:linear-gradient(90deg,transparent,#000 5%)}.mission{padding:20px 0 22px;background:linear-gradient(100deg,#ffe5c6,#ffe9cf);border:0}.section-label{font-size:12px;letter-spacing:1.6px;margin-bottom:8px}.section-label:before{width:4px;height:22px}.mission h2{font-size:30px;line-height:1.17;margin-bottom:8px;letter-spacing:-1px}.mission p{font-size:15px;color:#40352b}.culture{padding-top:22px;padding-bottom:20px}.culture h2{font-size:32px;margin-bottom:14px;letter-spacing:-1px}.culture-grid{margin-top:14px;gap:36px}.value .number{font-size:34px;line-height:1;margin-bottom:9px;gap:16px}.number:after{background:#c75d14}.value h3{font-size:24px;line-height:1.15;margin-bottom:6px;letter-spacing:-.6px}.value p{font-size:16px;color:#302821;line-height:1.3;margin-bottom:0;min-height:43px}.value .reference-art{height:auto;width:100%;margin-top:5px}.art-curious{max-width:280px}.art-practice{max-width:280px}.art-together{max-width:265px}.platforms{padding-bottom:20px}.platforms h2{font-size:30px;margin-bottom:18px}.bar-title{display:flex;gap:14px;align-items:center}.bar-title:before{content:'';width:4px;height:27px;background:var(--orange);flex-shrink:0}.platform-grid{gap:18px}.platform{padding:12px 22px 0;border:none;border-radius:12px;background:linear-gradient(125deg,#ffecd7,#fbf0e2);box-shadow:none}.pill{font-size:11px;line-height:1.2;letter-spacing:1px;padding:5px 10px;margin-bottom:8px;background:#ffe1bd}.platform h3{font-size:25px;margin-bottom:5px;letter-spacing:-.7px}.platform p{font-size:16px;margin-bottom:4px;color:#302821}.external{font-size:16px;line-height:1.35;font-weight:500;color:#bd4800}.platform .reference-art{width:92%;max-width:400px;margin:12px auto 0}.store{grid-template-columns:1fr 1.4fr;margin-top:15px;padding:12px 20px 8px;gap:8px;min-height:95px;background:#fff0df;border:0;overflow:hidden}.store h3{font-size:24px;margin-bottom:2px;border-left:4px solid var(--orange);padding-left:13px}.store p,.store .external{margin-left:17px;font-size:15px;margin-bottom:1px}.store .reference-art{align-self:center;width:100%;max-height:110px}.contact{padding-top:13px;padding-bottom:13px;margin-top:4px;border-color:#d77432;gap:14px}.contact h2{font-size:25px;margin:0;letter-spacing:-.7px}.footer{padding:10px 0 16px;border:0}.footer .logo{font-size:19px}.footer-links{gap:15px}.footer-row{font-size:11px}.footer .logo svg{width:21px}.footer .wrap{gap:14px}.legal-hero{margin-top:0}@media(min-width:1450px){.hero{min-height:0}.hero-visual{margin-right:-28px}}@media(min-width:601px) and (max-width:900px){.hero{height:310px;grid-template-columns:1.15fr .85fr}.hero h1{font-size:36px;letter-spacing:-1.2px}.hero p{font-size:14px}.button{padding:9px 14px;font-size:13px}.culture-grid{gap:22px}.value p{font-size:14px}.value h3{font-size:21px}.value .reference-art{height:auto}.mission h2,.culture h2,.platforms h2{font-size:27px}.platform{padding-inline:16px}.platform h3{font-size:23px}}@media(max-width:600px){.wrap{padding-inline:22px}.nav-row{height:64px}.logo{font-size:25px}.hero{height:auto;display:flex;padding-top:18px;padding-bottom:10px;gap:5px}.hero h1{font-size:32px;line-height:1.12;letter-spacing:-1.1px;margin-bottom:15px;max-width:100%}.hero p{font-size:15px;line-height:1.45}.actions{margin-top:17px;gap:10px}.button{padding:10px 14px;font-size:13px}.hero-visual{width:100%;height:200px;margin:5px 0 0;align-self:center;justify-content:center}.hero-visual .reference-art{width:250px;flex-shrink:0;align-self:flex-start}.mission{padding:17px 0}.mission h2{font-size:24px}.mission p{font-size:14px}.culture{padding-top:22px;padding-bottom:20px}.culture h2{font-size:26px}.culture-grid{gap:18px;margin-top:18px}.value{grid-template-columns:1fr 130px;gap:0 12px}.value .number{font-size:27px;margin-bottom:8px}.value h3{font-size:21px}.value p{font-size:14px;min-height:0}.value .reference-art{grid-column:2;grid-row:2/4;align-self:center;margin:0;height:auto}.platforms h2{font-size:25px;gap:10px}.platform{padding:15px 18px 0}.platform h3{font-size:25px}.platform p{font-size:15px}.platform .external{font-size:15px}.platform .reference-art{max-width:340px;margin-top:10px;width:100%}.platform-grid{gap:14px}.store{grid-template-columns:1fr;padding:14px 16px 0;gap:4px}.store .reference-art{width:100%;max-width:320px;max-height:none;justify-self:center}.store h3{font-size:23px}.contact{flex-direction:row;align-items:center;gap:10px;flex-wrap:wrap;padding-top:16px;padding-bottom:12px}.contact h2{font-size:22px;max-width:260px}.footer-row{gap:12px}.footer-links{gap:12px}.legal-layout{padding-top:24px}}
.reference-art{mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent);mask-composite:intersect}.value .reference-art,.platform .reference-art,.store .reference-art{mask-image:linear-gradient(90deg,transparent,#000 4%,#000 96%,transparent),linear-gradient(0deg,transparent,#000 8%,#000 92%,transparent);mask-composite:intersect}.hero-visual .reference-art{mask-image:linear-gradient(90deg,transparent,#000 8%,#000 94%,transparent),linear-gradient(0deg,transparent,#000 8%,#000 93%,transparent);mask-composite:intersect}

/* Company policies share the homepage artwork and editorial spacing. */
.policy-banner {
  background: linear-gradient(108deg, #fff7ec 30%, #ffebd2);
}
.policy-banner-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 28%);
  align-items: center;
  gap: 32px;
  padding-block: 23px;
}
.policy-banner h1 { font-size: clamp(28px, 3vw, 38px); margin: 0 0 8px; }
.policy-banner p { max-width: 64ch; margin: 0 0 12px; }
.policy-banner small { font-size: 13px; color: #674f3c; }
.policy-art { max-width: 265px; justify-self: end; }
.policy-switch { background: #ffe7cc; }
.policy-switch nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.policy-switch a { padding-block: 12px 9px; border-bottom: 3px solid transparent; font-size: 14px; }
.policy-switch a[aria-current] { border-color: #ae4609; color: #873600; font-weight: 700; }
.policy-page .legal-layout { padding-block: 24px 40px; }
.policy-page .legal-sidebar { top: 18px; }
.policy-page .toc { margin: 0; padding: 0; border: 0; display: block; }
.policy-page .toc a { font-size: 14px; }
.policy-page .policy section {
  background: transparent;
  border: 0;
  border-bottom: 1px solid #e8d3bc;
  border-radius: 0;
  padding: 18px 0;
  margin: 0;
  scroll-margin-top: 16px;
}
.policy-page .policy section:first-child { padding-top: 0; }
.policy-page .policy h2 { font-size: 22px; margin: 0 0 7px; }
.policy-page .policy p { max-width: 74ch; margin: 0; font-size: 16px; line-height: 1.55; color: #42372f; }
.policy-page .policy a { color: #994000; text-decoration: underline; overflow-wrap: anywhere; }
@media (max-width: 600px) {
  .policy-banner-inner { grid-template-columns: 1fr; padding-block: 18px; gap: 0; }
  .policy-art { display: none; }
  .policy-switch nav { column-gap: 14px; }
  .policy-switch a { font-size: 13px; }
  .policy-page .legal-layout { display: block; padding-top: 16px; }
  .policy-page .legal-sidebar { position: static; margin-bottom: 20px; max-height: none; }
  .policy-page .toc a { display: inline-block; padding: 4px 12px 4px 0; }
  .policy-page .toc small { display: block; }
}

.stem-series {
  background-color: #e6f0f2;
  background-image:
    linear-gradient(90deg, #41859a0c 1px, transparent 1px),
    linear-gradient(#41859a0c 1px, transparent 1px),
    linear-gradient(110deg, #f1f6f5, #dbeaf0);
  background-size: 24px 24px, 24px 24px, cover;
  border-block: 1px solid #c7dce1;
  margin-bottom: 24px;
}
.stem-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(20px, 4vw, 48px);
  align-items: center;
  padding-block: 22px;
}
.stem-copy .section-label { color: #216679; }
.stem-copy .section-label::before { background: #29829a; }
.stem-copy h2 { color: #173e50; font-size: clamp(25px, 3vw, 32px); margin: 0 0 10px; }
.stem-copy p { font-size: 16px; line-height: 1.5; margin: 0; }
.stem-copy p + p { margin-top: 8px; }
.stem-inner img { display: block; width: 100%; height: auto; border-radius: 10px; }
@media (max-width: 700px) {
  .stem-inner { grid-template-columns: 1fr; gap: 14px; }
  .stem-copy p { font-size: 15px; }
}

/* Carry the STEM palette into the copper hero and the adult learning platform. */
.hero {
  background: radial-gradient(ellipse at 79% 52%, #cee4e9 0%, #e0eef0a6 22%, transparent 48%);
}
.hero h1 { color: #213941; }
.hero .button.secondary {
  color: #216679;
  border-color: #76a2ab;
}
.hero .button.secondary:hover { background: #e3eff0; }
.platform-labs {
  background: linear-gradient(125deg, #f1f6f5, #dcebee);
  box-shadow: inset 0 0 0 1px #c4d9de;
}
.platform-labs h3 { color: #173e50; }
.platform-labs .pill { background: #d2e7eb; color: #23596c; }
.platform-labs .external { color: #216679; }
@media (max-width: 600px) {
  .hero {
    background: radial-gradient(ellipse at 55% 78%, #cee4e9 0%, #e0eef0a6 24%, transparent 52%);
  }
}

.business-card { color: inherit; text-decoration: none; }
.platform.business-card { display: block; }
.business-card h3 span { font-size: .7em; color: #985019; }
.platform-labs h3 span { color: #216679; }
.business-card:hover h3 { text-decoration: none; }
.business-card:focus-visible { outline: 3px solid #216679; outline-offset: 3px; }
.offering { background: #fff0df; padding-block: 28px 48px; }
.offering-labs { background: #e7f1f3; }
.offering .back-link { color: #483d34; font-size: 14px; }
.offering-layout {
  display: grid; grid-template-columns: 1fr 1fr; align-items: center;
  gap: 32px; margin-top: 30px;
}
.offering-layout h1 { font-size: clamp(30px, 4vw, 40px); margin-bottom: 12px; }
.offering-layout p { max-width: 55ch; font-size: 16px; }
.offering-summary { font-weight: 600; }
.offering-layout .button { margin-top: 8px; }
@media (max-width: 700px) {
  .offering-layout { grid-template-columns: 1fr; gap: 20px; }
}

/* Company navigation */
.header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: #fff8ef;
}
.header.compact { background: #fff8effa; box-shadow: 0 1px 8px #46321e20; }
.header.compact .nav-row { height: 50px; }
.header.compact .logo { font-size: 23px; }
.header.compact .logo svg { width: 24px; height: 26px; }
.nav-row { position: relative; }
.nav-toggle { display: none; }
.top-links { display: flex; align-items: center; gap: 6px; }
.top-links > a, .explore-menu summary, .nav-toggle {
  display: inline-flex; align-items: center; gap: 7px; padding: 10px;
  color: #42382e; font: 600 14px/1.3 Arial, sans-serif; border-radius: 6px;
}
.nav-icon { width: 17px; height: 17px; flex-shrink: 0; color: #945020; }
.explore-menu summary { list-style: none; cursor: pointer; }
.explore-menu summary::-webkit-details-marker { display: none; }
.top-links > a:hover, .explore-menu summary:hover, .explore-menu[open] summary { background: #ffead5; }
.explore-panel {
  position: absolute; top: 100%; right: 24px; width: min(720px, calc(100% - 48px));
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  padding: 14px; background: #fffbf5; border: 1px solid #e6d6c5;
  box-shadow: 0 14px 32px #40301c24; border-radius: 12px;
}
.explore-card { min-width: 0; border-radius: 7px; overflow: hidden; background: #fbefdf; }
.explore-card[href$="/labs/"] { background: #e7eff0; }
.explore-card:hover strong { text-decoration: underline; }
.explore-card img { width: 100%; height: auto; aspect-ratio: 1.9; object-fit: cover; }
.explore-text { display: block; padding: 10px; }
.explore-text strong { display: flex; align-items: center; gap: 6px; font-size: 15px; }
.explore-text small { display: block; font-size: 13px; line-height: 1.4; color: #51483f; margin-top: 4px; }
.header .nav-toggle { display: none; }
html { scroll-padding-top: 68px; }
.business-lead { padding: 18px 0 26px; background: linear-gradient(110deg,#fff6e9,#ffe9d2); }
.business-labs .business-lead { background: linear-gradient(110deg,#f5f5ed,#d9e9ed); }
.business-lead .back-link { font-size: 14px; color: #5a5047; }
.business-split { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(24px,5vw,60px); }
.business-split h1 { font-size: clamp(30px,3.5vw,42px); margin: 0 0 12px; }
.business-split p { max-width: 52ch; line-height: 1.55; }
.business-split img { width: 100%; height: auto; border-radius: 12px; }
.business-topics { padding-block: 26px 36px; }
.business-topics h2 { font-size: clamp(23px,3vw,29px); }
.topic-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.topic-grid article { border-top: 1px solid #cfad88; padding-top: 14px; }
.topic-grid h3 { font-size: 20px; margin-bottom: 7px; }
.topic-grid p { font-size: 15px; line-height: 1.55; margin: 0; }
.business-labs .topic-grid article { border-color: #8fb2bb; }
@media (max-width: 820px) {
  .header .nav-toggle { display: inline-flex; border: 1px solid #e0c8ae; background: #fffaf5; cursor: pointer; }
  .top-links {
    display: none; position: absolute; inset: 100% 12px auto; align-items: stretch;
    padding: 8px; gap: 0; max-height: calc(100dvh - 74px); overflow: auto;
    background: #fffaf2; border: 1px solid #e5cfb7; border-radius: 8px; box-shadow: 0 10px 24px #44321a20;
  }
  .nav-toggle[aria-expanded="true"] + .top-links { display: grid; }
  .explore-menu summary { width: 100%; }
  .explore-panel { position: static; width: 100%; grid-template-columns: 1fr; box-shadow: none; padding: 6px; }
  .explore-card { display: grid; grid-template-columns: 78px 1fr; align-items: center; }
  .explore-card img { aspect-ratio: 1.15; }
  .explore-text { padding: 7px; }
}
@media (max-width: 660px) {
  .business-split,.topic-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* The two learning destinations use the visual language of their own public sites. */
.business-k12 {
  --detail-accent: #ac3523;
  --detail-ink: #293529;
  background: #fffcf4;
  color: var(--detail-ink);
}
.business-k12 .business-lead {
  background: radial-gradient(ellipse at 78% 45%,#ffedbd 0,transparent 57%),#fff6df;
}
.business-k12 h1,.business-k12 h2,.business-k12 h3 { font-family: ui-rounded,"Trebuchet MS",system-ui,sans-serif; }
.business-k12 .business-split img { border: 3px solid #5e5945; border-radius: 24px; box-shadow: 4px 4px #e8cf94; }
.business-k12 .button { background: #ffc531; border: 2px solid #3c3529; color: #302716; border-radius: 24px; }
.business-k12 .topic-grid article { border: 1px solid #dbd8bd; border-radius: 16px; padding: 18px; background: #e9f2dc; }
.business-k12 .topic-grid article:nth-child(2) { background: #fff1c7; }
.business-k12 .topic-grid article:nth-child(3) { background: #e5f1f5; }
.business-labs { --detail-accent: #c8f25a; --detail-ink: #e9edf1; background: #101318; color: #e9edf1; }
.business-labs .business-lead {
  background-color: #11161c;
  background-image: linear-gradient(#a4bdcc0b 1px,transparent 1px),linear-gradient(90deg,#a4bdcc0b 1px,transparent 1px);
  background-size: 24px 24px;
}
.business-labs .back-link,.business-labs .topic-grid p,.business-labs .business-split p { color: #c6cdd3; }
.business-labs .section-label,.business-labs .resources-list h3 { color: var(--detail-accent); font-family: ui-monospace,monospace; }
.business-labs .section-label:before,.business-labs .bar-title:before { background: var(--detail-accent); }
.business-labs .business-split img { border-radius: 3px; border: 1px solid #43505b; }
.business-labs .button { border-color: #c8f25a; background: #c8f25a; color: #101318; border-radius: 3px; }
.business-labs .topic-grid article { border-color: #52616c; }
.resources-band { padding-block: 26px 32px; }
.business-k12 .resources-band { background: #eaf2e1; }
.business-labs .resources-band { background: #191f25; border-top: 1px solid #37414a; }
.resources-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px,5vw,60px); }
.resources-layout h2 { font-size: clamp(24px,3vw,30px); }
.resources-layout p,.resources-layout li { font-size: 15px; line-height: 1.55; }
.resources-layout ul { margin: 0 0 12px; padding-left: 20px; }
.resources-layout li + li { margin-top: 5px; }
.resources-list h3 { font-size: 19px; }
.resource-link { color: var(--detail-accent); font-weight: 650; text-decoration: underline; text-underline-offset: 4px; }
@media(max-width:660px) { .resources-layout { grid-template-columns: 1fr; } }

.stem-more { display:inline-block; margin-top:12px; color:#1c5864; font-weight:600; text-decoration:underline; text-underline-offset:3px; }
.stem-page .stem-series { margin-bottom:0; }
.stem-page h1 { font-size:clamp(32px,4vw,44px); margin:0 0 12px; }
.stem-page .button { margin-top:16px; }
.stem-experiment { padding-block:28px; }
.stem-experiment h2,.stem-inquiry h2 { font-size:clamp(23px,3vw,30px); }
.stem-experiment > p { max-width:72ch; }
.stem-subjects { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.stem-subjects article { border-top:2px solid #5e8582; background:#faf3e7; padding:14px; }
.stem-subjects h3 { font-size:19px; margin:0 0 7px; }
.stem-subjects p { font-size:15px; margin:0; }
.stem-inquiry { display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap; border-top:1px solid #afbbb1; padding-block:20px; }
.stem-inquiry h2,.stem-inquiry .button { margin:0; }
@media(max-width:820px) { .stem-subjects { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:500px) { .stem-subjects { grid-template-columns:1fr; } }

.stem-photo { margin:0; }
.stem-photo figcaption { margin-top:7px; color:#385759; font-size:13px; }
.stem-series-grid,.stem-kit-grid,.stem-resource-grid { display:grid; gap:18px; }
.stem-series-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
.stem-series-grid article { padding:20px; background:#faf2e6; border-left:3px solid #ad683f; border-radius:4px; }
.stem-series-grid article:nth-child(2) { background:#eaf2ef; border-color:#427775; }
.stem-page article h3,.stem-advanced h3 { font-size:19px; line-height:1.25; margin:6px 0; }
.stem-page article p,.stem-advanced p { font-size:15px; line-height:1.55; margin:0; }
.stem-series-grid span,.stem-kit-grid span,.stem-advanced span { color:#365f60; font-size:13px; font-weight:700; }
.stem-series-grid strong { display:block; font-size:14px; margin-top:12px; }
.stem-kit-band { background:#f1ece2; }
.stem-kit-grid,.stem-resource-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
.stem-kit-grid article { overflow:hidden; background:#fffaf2; border:1px solid #d9d1c4; border-radius:10px; }
.stem-kit-grid img { display:block; width:100%; aspect-ratio:2.45; object-fit:cover; }
.stem-kit-grid article div { padding:16px; }
.stem-advanced { display:flex; align-items:baseline; gap:20px; margin-top:18px; padding:15px 18px; background:#deebe6; border-radius:8px; }
.stem-advanced span { flex:none; }
.stem-resource-grid article { border-top:2px solid #87a7a3; padding-top:8px; }
#curriculum,#enrollment { scroll-margin-top:86px; }
.stem-hero-links { display:flex; flex-wrap:wrap; align-items:center; gap:8px 18px; margin-top:16px; }
.stem-hero-links .button,.stem-hero-links .stem-more { margin:0; }
@media(max-width:720px) {
 .stem-series-grid,.stem-kit-grid,.stem-resource-grid { grid-template-columns:1fr; }
 .stem-advanced { display:block; }
}
.stem-kit-grid small { display:block; margin-top:12px; color:#365f60; font-weight:650; }

.stem-enrollment { display:grid; grid-template-columns:1.45fr 1fr; gap:24px; align-items:stretch; }
.stem-fees { width:100%; border-collapse:collapse; color:#263e40; background:#fffaf2; }
.stem-fees th,.stem-fees td { padding:14px 10px; text-align:left; border-bottom:1px solid #d5d8ce; }
.stem-fees thead th { background:#deebe6; font-size:14px; }
.stem-fees tbody td:last-child { font-weight:700; color:#235e67; }
.stem-fees small { display:block; margin-top:3px; font-weight:400; }
.stem-fee-note,.stem-open-house p,.stem-open-house address { font-size:15px; line-height:1.5; }
.stem-open-house { background:#203f47; color:#fffaf2; padding:22px; border-radius:10px; }
.stem-page .stem-open-house h3 { color:#fffaf2; font-size:22px; margin:0; }
.stem-open-house time { color:#ffd295; font-weight:700; }
.stem-open-house address { font-style:normal; }
.stem-open-house .button { margin-top:0; }
@media(max-width:760px) { .stem-enrollment { grid-template-columns:minmax(0,1fr); } }
@media(max-width:500px) { .stem-fees th,.stem-fees td { padding:10px 5px; font-size:14px; } }

.home-courses { padding-block:30px; }
.home-courses h2 { font-size:clamp(25px,3vw,32px); margin:0 0 5px; }
.home-courses-head { display:flex; align-items:center; justify-content:space-between; gap:14px; margin-bottom:16px; }
.home-courses-head p { max-width:68ch; margin:0; }
.home-courses-head .stem-more { flex:none; margin:0; }
.home-levels { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:10px; }
.home-levels a,.home-special { color:#233e39; background:#fffaf1; border:1px solid #bccdc4; border-radius:9px; overflow:hidden; text-decoration:none; }
.home-levels a { display:block; padding-bottom:12px; }
.home-levels img { display:block; width:100%; aspect-ratio:1.65; object-fit:cover; margin-bottom:10px; }
.home-levels span,.home-special span { color:#785029; font-size:12px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; }
.home-levels :is(span,h3,p) { margin-inline:12px; }
.home-courses h3 { font-size:17px; line-height:1.2; margin-block:4px; }
.home-levels p,.home-special p { font-size:14px; margin-block:0; }
.home-special { display:grid; grid-template-columns:175px 1fr auto; align-items:center; gap:18px; margin-top:12px; background:#233f3d; color:#fffaf0; }
.home-special img { width:100%; height:102px; object-fit:cover; }
.home-special span { color:#ffcb92; }
.home-special h3,.home-special p { color:inherit; }
.home-special b { padding-right:18px; }
.home-levels a:hover,.home-special:hover { box-shadow:0 3px 10px #17382c25; border-color:#51776c; }
@media(max-width:800px) { .home-levels { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:550px) {
 .home-courses-head { display:block; }
 .home-courses-head .stem-more { margin-top:10px; }
 .home-levels { grid-template-columns:1fr; }
 .home-levels a { display:grid; grid-template-columns:100px 1fr; align-content:center; padding:0; }
 .home-levels img { grid-row:span 3; height:86px; margin:0; }
 .home-levels span { align-self:end; }
 .home-levels h3 { margin-block:0; }
 .home-special { grid-template-columns:1fr; gap:0; }
 .home-special div { padding:13px; }
 .home-special img { height:140px; }
 .home-special b { display:none; }
}

.home-event-invite { display:block; color:#fff9e5; background:#244b48; border-bottom:2px solid #d5ae66; text-decoration:none; }
.home-event-invite .wrap { display:flex; align-items:center; gap:14px; padding-block:11px; }
.invite-date { font-size:12px; font-weight:750; letter-spacing:.06em; padding:4px 8px; border-radius:4px; background:#ffe7a5; color:#31453c; }
.home-event-invite b { margin-left:auto; color:#ffe7a5; }
.home-event-invite:hover b { text-decoration:underline; }
@media(max-width:620px) { .home-event-invite .wrap { display:grid; grid-template-columns:auto 1fr; gap:4px 10px; font-size:13px; } .home-event-invite .invite-date { grid-row:span 2; } .home-event-invite b { grid-column:2; margin-left:0; } }
