/* Education page — same system as the homepage (night palette, Outfit + Geist Mono, LED-blue accents, hairlines) */

/* Solid header. The blur is painted on a ::before layer: a filter or backdrop-filter on the header element itself
   would become the containing block for the fixed, full-screen mobile menu and trap it inside the header bar. */
.bar--solid { background: none; border-bottom: 1px solid rgba(241, 245, 249, 0.1); }
.bar--solid::before { content: ""; position: absolute; inset: 0; z-index: -2; background: rgba(6, 8, 13, 0.9);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.page-edu { background: var(--night); }
.page-edu .tm { font-size: 0.42em; vertical-align: 1.05em; margin-left: 0.04em; letter-spacing: 0; }
.ed-fine { margin: 28px 0 0; max-width: 70ch; font-size: 13.5px; line-height: 1.65; color: var(--mist); }

/* ---------- A · Introduction: text beside the real equipment, no empty hero ---------- */
.ed-intro { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 88px); align-items: center;
  padding: 128px max(var(--pad), env(safe-area-inset-right, 0px)) clamp(64px, 8vw, 110px) max(var(--pad), env(safe-area-inset-left, 0px));
  background: radial-gradient(70% 90% at 85% 40%, rgba(40, 90, 160, 0.16) 0%, rgba(6, 8, 13, 0) 70%), var(--night); }
.ed-intro__text { display: grid; gap: 20px; align-content: start; }
.ed-intro__title { font-size: clamp(50px, 6.2vw, 112px); }
.ed-intro__sub { margin: 0; font-family: var(--sans); font-size: clamp(22px, 2.1vw, 32px); line-height: 1.2; letter-spacing: -0.02em; color: var(--ice); }
.ed-intro__sub em { font-style: normal; color: var(--led); }
.ed-intro .body { max-width: 50ch; }
.ed-intro__facts { list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: auto 1fr; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); max-width: 560px; }
.ed-intro__facts li { display: grid; gap: 4px; padding: 16px 24px 16px 0; }
.ed-intro__facts li + li { padding-left: 24px; border-left: 1px solid var(--hair); }
.ed-intro__facts b { font-family: var(--sans); font-weight: 400; font-size: 24px; letter-spacing: -0.02em; color: var(--ice); }
.ed-intro__facts span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mist); line-height: 1.5; }
.ed-intro__media { margin: 0; display: grid; gap: 12px; }
.ed-intro__media picture { display: block; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--hair); background: #000; box-shadow: 0 40px 120px rgba(0, 0, 0, 0.55); }
.ed-intro__media img { width: 100%; height: 100%; object-fit: cover; }
figcaption { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mist); line-height: 1.55; }

/* ---------- Sections ---------- */
.ed-sec { position: relative; padding: clamp(72px, 9vw, 136px) max(var(--pad), env(safe-area-inset-right, 0px)) clamp(72px, 9vw, 136px) max(var(--pad), env(safe-area-inset-left, 0px)); }
.ed-sec--band { background: linear-gradient(180deg, #0A0F18 0%, var(--night) 100%); border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.ed-head { display: grid; gap: 18px; max-width: 760px; margin-bottom: clamp(36px, 4.5vw, 64px); }
.ed-sec h3 { margin: 0; font-family: var(--sans); font-weight: 400; letter-spacing: -0.02em; color: var(--ice); }

/* B · What students do: a numbered progression with a light running through it */
.ed-do { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); position: relative; }
.ed-do::before { content: ""; position: absolute; left: 0; right: 0; top: 5px; height: 1px; background: linear-gradient(90deg, var(--led), rgba(140, 200, 255, 0.12)); }
.ed-do li { position: relative; display: grid; gap: 10px; align-content: start; padding: 34px clamp(12px, 1.6vw, 28px) 0 0; }
.ed-do li::before { content: ""; position: absolute; left: 0; top: 0; width: 11px; height: 11px; border-radius: 50%; background: var(--night); border: 1px solid var(--led); box-shadow: 0 0 14px rgba(140, 200, 255, 0.5); }
.ed-do li:nth-child(n+3)::before { background: rgba(140, 200, 255, 0.35); }
.ed-do li:nth-child(n+5)::before { background: var(--led); }
.ed-do__n { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.18em; color: var(--led); }
.ed-do h3 { font-size: clamp(20px, 1.6vw, 25px); }
.ed-do p { margin: 0; font-size: 15px; line-height: 1.6; color: #D6DEE7; }

/* C · What students develop: large typographic list */
.ed-dev { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(32px, 6vw, 110px); align-items: start; }
.ed-dev .ed-head { margin-bottom: 0; }
.ed-skills { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--hair); counter-reset: s; }
.ed-skills li { display: grid; grid-template-columns: 56px 1fr; align-items: baseline; gap: 12px; padding: clamp(16px, 1.8vw, 24px) 0; border-bottom: 1px solid var(--hair); }
.ed-skills span { font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em; color: var(--led); }
.ed-skills b { font-family: var(--sans); font-weight: 400; font-size: clamp(24px, 2.4vw, 38px); line-height: 1.12; letter-spacing: -0.025em; color: var(--ice); }

/* D · What schools receive */
.ed-receive { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--hair); border-left: 1px solid var(--hair); }
.ed-receive li { display: grid; gap: 8px; align-content: start; padding: 26px clamp(18px, 2vw, 32px) 30px; border-right: 1px solid var(--hair); border-bottom: 1px solid var(--hair); }
.ed-receive li::before { content: ""; width: 22px; height: 1px; background: var(--led); margin-bottom: 8px; }
.ed-receive b { font-family: var(--sans); font-weight: 400; font-size: 21px; letter-spacing: -0.015em; color: var(--ice); line-height: 1.25; }
.ed-receive span { color: var(--mist); font-size: 15px; line-height: 1.55; }

/* E · From design to outcome */
.ed-path { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.ed-path__steps { list-style: none; margin: 0; padding: 0 0 0 28px; position: relative; display: grid; gap: 30px; }
.ed-path__steps::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(180deg, rgba(140, 200, 255, 0.25), var(--led)); }
.ed-path__steps li { position: relative; display: grid; gap: 6px; }
.ed-path__steps li::before { content: ""; position: absolute; left: -28px; top: 4px; width: 11px; height: 11px; border-radius: 50%; border: 1px solid var(--led); background: var(--night); }
.ed-path__steps li:last-child::before { background: var(--led); box-shadow: 0 0 16px rgba(140, 200, 255, 0.6); }
.ed-path__k { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--led); }
.ed-path__steps h3 { font-size: clamp(22px, 1.9vw, 28px); }
.ed-path__steps p { margin: 0; font-size: 15.5px; line-height: 1.6; color: #D6DEE7; max-width: 46ch; }
.ed-path__media { display: grid; gap: 14px; }
.ed-path__media figure { margin: 0; display: grid; gap: 10px; }
.ed-path__main video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; border: 1px solid var(--hair); }
.ed-path__insets { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 14px; }
.ed-path__insets picture { display: block; aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid var(--hair); background: #000; }
.ed-path__insets img { width: 100%; height: 100%; object-fit: cover; }

/* F · Options: a path, not a price list */
.ed-options { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: o; }
.ed-options li { position: relative; display: grid; gap: 8px; align-content: start; padding: 26px clamp(16px, 2vw, 34px) 0 0; border-top: 1px solid var(--led); }
.ed-options li + li { padding-left: clamp(16px, 2vw, 34px); border-left: 1px solid var(--hair); }
.ed-options li:not(:last-child)::after { content: "→"; position: absolute; right: -9px; top: -12px; width: 18px; height: 22px; display: grid; place-items: center; font-size: 13px; color: var(--led); background: var(--night); }
.ed-options__k { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--led); }
.ed-options b { font-family: var(--sans); font-weight: 400; font-size: clamp(22px, 2vw, 30px); letter-spacing: -0.02em; color: var(--ice); }
.ed-options span:last-child { color: var(--mist); font-size: 15px; }

/* G · Adaptive */
.ed-adaptive__inner { display: grid; gap: 18px; max-width: 760px; }
.ed-adaptive .ed-fine { margin-top: 0; }

/* H · Contact */
.ed-contact { display: grid; gap: 20px; justify-items: start; }
.ed-contact .ctas { margin-top: 4px; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .ed-do { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; }
  .ed-do::before { display: none; }
  .ed-receive { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ed-options { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .ed-options li:nth-child(3) { padding-left: 0; border-left: 0; }
  .ed-options li:nth-child(2)::after { display: none; }
}
@media (max-width: 900px) {
  .ed-intro, .ed-dev, .ed-path { grid-template-columns: 1fr; }
  .ed-intro__media { order: -1; }
  .ed-intro { padding-top: 104px; gap: 28px; }
}
@media (max-width: 760px) {
  .ed-intro__title { font-size: clamp(42px, 12vw, 58px); }
  .ed-intro__facts { grid-template-columns: 1fr 1.4fr; }
  .ed-intro__facts li { padding-right: 12px; }
  .ed-intro__facts li + li { padding-left: 14px; }
  .ed-do { grid-template-columns: 1fr; gap: 0; padding-left: 26px; }
  .ed-do::before { display: block; left: 5px; right: auto; top: 6px; bottom: 6px; width: 1px; height: auto; background: linear-gradient(180deg, var(--led), rgba(140, 200, 255, 0.15)); }
  .ed-do li { padding: 0 0 26px; }
  .ed-do li::before { left: -26px; top: 2px; }
  .ed-receive, .ed-options { grid-template-columns: 1fr; }
  .ed-options li { padding-left: 0 !important; border-left: 0 !important; }
  .ed-options li::after { display: none; }
  .ed-skills li { grid-template-columns: 40px 1fr; }
  .ed-contact .ctas { flex-direction: column; }
}

/* Program focus tags (from the program overview) */
.ed-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ed-tags li { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ice); padding: 7px 12px; border: 1px solid rgba(140, 200, 255, 0.35); border-radius: 999px; }
/* Software + formation insets: the screenshot is shown whole, never cropped or enlarged past its native 768 px */
.ed-path__insets { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: start; }
.ed-path__insets .ed-soft picture { aspect-ratio: auto; max-width: 768px; background: #1b2230; }
.ed-path__insets .ed-soft img { height: auto; object-fit: contain; }
/* R6.3: the software screenshot (768×362, wide interface) is shown whole on black instead of being cropped to the
   16:10 frame, which cut off its side panels; it is never drawn wider than the frame, which stays under 768 CSS px. */
.ed-soft img { object-fit: contain; }
/* How a school gets started */
.ed-process { list-style: none; margin: clamp(36px, 4vw, 56px) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 0; counter-reset: p; }
.ed-process li { display: flex; align-items: center; font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ice); }
.ed-process li:not(:last-child)::after { content: "→"; margin: 0 14px; color: var(--led); }
@media (max-width: 760px) { .ed-path__insets { grid-template-columns: 1fr; } }
