/* ==========================================================
   SkillShip — public website
   Harbor ink + crane yellow. Containers carry unit identity.
   ========================================================== */
:root {
  /* Space theme tokens */
  --bg: #04060f;
  --ink: #052536;
  --ink-solid: #04121c;
  --ink-bg: rgba(8, 14, 32, .62);
  --fg: #f3f6ff;
  --card: rgba(12, 18, 38, .58);
  --card-2: rgba(16, 24, 48, .72);
  --line-strong: rgba(150, 175, 230, .26);
  --ink-2: #17455c;
  --ink-3: #225d7a;
  --paper: rgba(255, 255, 255, .035);
  --paper-2: rgba(255, 255, 255, .07);
  --white: #ffffff;
  --line: rgba(150, 175, 230, .14);
  --line-2: rgba(150, 175, 230, .09);
  --text: #dfe7f7;
  --muted: #9aa6c4;
  --crane: #f5a340;
  --sky: #00aaff;
  --sky-soft: #7fccf2;
  --crane-d: #c4741c;
  --link: #5cc8ff;
  /* unit colours (container liveries) */
  --u-yellow: #f5a340;
  --u-blue: #00aaff;
  --u-green: #3dad8f;
  --u-red: #2f7ea5;
  --u-violet: #9ed5f0;
  --u-teal: #1f88bc;
  --ok: #4fd08e;
  --warn: #f5b560;
  --bad: #ff7a85;
  --font: "Noto Sans Thai", "Leelawadee UI", Tahoma, sans-serif;
  --display: "Prompt", "Noto Sans Thai", "Leelawadee UI", sans-serif;
  --wrap: 1200px;
  --r-sm: 3px;
  --r: 6px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 17px/1.75 var(--font); color: var(--text); background: var(--card); text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--fg); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.25; margin: 0 0 .5em; color: var(--fg); letter-spacing: -.005em; }
h1 { font-size: clamp(32px, 4.4vw, 48px); }
h2 { font-size: clamp(25px, 2.8vw, 32px); }
h3 { font-size: 20px; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--crane); outline-offset: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--crane); color: var(--ink-solid); padding: 8px 14px; border-radius: var(--r-sm); }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.ic { width: 18px; height: 18px; flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.muted { color: var(--muted); }

/* unit colour helpers */
.u-yellow { --u: var(--u-yellow); --u-on: var(--ink); }
.u-blue { --u: var(--u-blue); --u-on: var(--ink); }
.u-green { --u: var(--u-green); --u-on: var(--ink); }
.u-red { --u: var(--u-red); --u-on: #fff; }
.u-violet { --u: var(--u-violet); --u-on: var(--ink); }
.u-teal { --u: var(--u-teal); --u-on: #fff; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 500 16px/1.2 var(--font); padding: 12px 20px; border-radius: var(--r-sm); border: 2px solid transparent; text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .15s, border-color .15s, color .15s; }
.btn-lg { padding: 14px 24px; font-size: 17px; }
.btn-sm { padding: 8px 14px; font-size: 15px; }
.btn-crane { background: var(--crane); color: var(--ink-solid); border-color: var(--crane); }
.btn-crane:hover { background: #f6b25f; border-color: #f6b25f; color: var(--ink-solid); }
.btn-ink { background: var(--ink-bg); color: #fff; border-color: var(--line-strong); }
.btn-ink:hover { background: var(--ink-3); border-color: var(--ink-3); color: #fff; }
.btn-line { background: transparent; color: var(--fg); border-color: var(--line-strong); }
.btn-line:hover { background: var(--ink-bg); color: #fff; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.08); color: #fff; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* ---------- Announcement + header ---------- */
.announce { background: var(--crane); color: var(--ink-solid); font-size: 15px; text-align: center; padding: 7px 0; }
.announce a { color: var(--fg); font-weight: 500; }
.site-head { background: var(--ink-bg); color: #fff; position: sticky; top: 0; z-index: 50; border-bottom: 1px solid rgba(255,255,255,.08); }
.head-row { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; flex: none; }
.logo img { height: 40px; width: auto; }
.logo-box { width: 30px; height: 18px; background: var(--crane); border-radius: 2px; position: relative; box-shadow: inset 0 -3px 0 rgba(0,0,0,.18); }
.logo-box::after { content: ""; position: absolute; inset: 3px 5px 5px; background: repeating-linear-gradient(90deg, rgba(5,37,54,.35) 0 1.5px, transparent 1.5px 5px); }
.logo-text { font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: .01em; }
.site-nav { display: flex; align-items: center; gap: 20px; margin-left: auto; }
.site-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.site-nav > ul > li { position: relative; display: flex; align-items: center; }
.site-nav > ul > li > a { color: #dceaf1; text-decoration: none; font-size: 15.5px; padding: 8px 10px; white-space: nowrap; border-radius: var(--r-sm); }
.site-nav > ul > li > a:hover, .site-nav > ul > li > a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.07); }
.site-nav > ul > li > a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--sky); border-radius: 0; }
.sub-toggle { background: none; border: 0; color: #dceaf1; width: 22px; height: 30px; cursor: pointer; padding: 0; margin-left: -6px; }
.sub-toggle span { display: block; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); margin: -3px auto 0; }
.sub { list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 10px); left: -10px; width: 360px; background: var(--card); border-radius: var(--r); box-shadow: 0 18px 40px rgba(5,37,54,.22); display: none; }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { display: block; }
.has-sub::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; }
.sub a { display: flex; gap: 12px; padding: 10px 12px; text-decoration: none; color: var(--text); border-radius: var(--r-sm); line-height: 1.45; }
.sub a:hover { background: var(--paper); }
.sub b { display: block; font-weight: 500; font-size: 15.5px; }
.sub small { display: block; color: var(--muted); font-size: 13.5px; }
.sub .dot { width: 14px; height: 10px; border-radius: 1px; background: var(--u); margin-top: 7px; flex: none; }
.nav-cta { padding: 10px 18px; font-size: 15.5px; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid rgba(255,255,255,.3); border-radius: var(--r-sm); width: 44px; height: 40px; cursor: pointer; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { display: block; width: 20px; height: 2px; background: var(--card); margin: 0 auto; position: relative; transition: transform .2s; }
.nav-toggle .bars::before, .nav-toggle .bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { background: var(--ink-bg); color: #fff; padding: 64px 0 0; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: auto 0 0 0; height: 120px; background: linear-gradient(transparent, rgba(0,0,0,.18)); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; position: relative; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: #c8dce6; margin-bottom: 18px; }
.hero-badge::before { content: ""; width: 10px; height: 10px; background: var(--sky); border-radius: 1px; }
.hero-title { font-size: clamp(42px, 6vw, 76px); line-height: 1.2; color: #fff; font-weight: 700; margin: 0 0 22px; letter-spacing: -.01em; }
.hero-title .nw { white-space: nowrap; display: inline-block; }
.hero-sub { font-size: 19px; color: #c8dce6; max-width: 34em; margin-bottom: 30px; line-height: 1.7; }

/* hero background slideshow */
.hero.has-slides { background: var(--ink-bg); }
.hero-bg { position: absolute; inset: 0; overflow: hidden; z-index: 0; }
.hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity 1.4s ease, transform 1.4s ease; }
.hero-slide.is-active { opacity: 1; transform: scale(1); transition: opacity 1.4s ease, transform 8s ease-out; }
.hero-bg::after { content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(5,37,54,var(--ov1)) 0%, rgba(5,37,54,var(--ov1)) 34%, rgba(5,37,54,var(--ov2)) 62%, rgba(5,37,54,var(--ov3)) 100%),
    linear-gradient(0deg, rgba(10,36,49,.85) 0%, rgba(10,36,49,0) 38%); }
.hero.has-slides::before { z-index: 1; }
.hero.has-slides > .wrap { position: relative; z-index: 2; }
.hero-controls { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin: 28px 0 -30px; position: relative; z-index: 3; }
.hero-dot { width: 28px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.hero-dot::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.45); transition: background-color .2s, transform .2s; }
.hero-dot:hover::before { background: rgba(255,255,255,.8); }
.hero-dot[aria-current="true"]::before { background: var(--crane); transform: scale(1.25); }
.hero-pause { width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(255,255,255,.45); background: rgba(5,37,54,.4); cursor: pointer; display: grid; place-items: center; margin-left: 4px; }
.hero-pause:hover { border-color: #fff; }
.hero-pause span { width: 10px; height: 11px; border-left: 3px solid #fff; border-right: 3px solid #fff; }
.hero-pause[aria-pressed="true"] span { width: 0; height: 0; border: 0; border-left: 10px solid #fff; border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 3px; }

/* container yard */
.yard { display: flex; flex-direction: column; gap: 6px; padding-bottom: 6px; }
.yard-row { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.yard-row:first-child { margin-left: 14%; }
.yard-row:nth-child(2) { margin-left: 7%; }
.yard-base { grid-template-columns: 1fr; }
.cntr { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 104px; padding: 12px 44px 12px 16px; color: var(--u-on, #fff); text-decoration: none; border-radius: 2px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.14) 0 4px, transparent 4px calc(100% - 5px), rgba(0,0,0,.22) calc(100% - 5px)),
    repeating-linear-gradient(90deg, rgba(255,255,255,.09) 0 5px, rgba(0,0,0,.09) 5px 7px, transparent 7px 12px),
    var(--u, var(--u-teal));
  transition: transform .18s ease, box-shadow .18s ease; box-shadow: 0 2px 0 rgba(0,0,0,.25); }
.cntr::after { content: ""; position: absolute; top: 10px; bottom: 10px; right: 12px; width: 18px; background: repeating-linear-gradient(90deg, rgba(0,0,0,.28) 0 2px, transparent 2px 8px); border-left: 2px solid rgba(0,0,0,.18); }
.cntr:hover, .cntr:focus-visible { transform: translateY(-4px); box-shadow: 0 10px 18px rgba(0,0,0,.3); color: var(--u-on, #fff); }
.cntr-name { font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1.1; }
.cntr-tag { font-size: 13.5px; line-height: 1.4; opacity: .92; margin-top: 6px; max-width: 26ch; }
.cntr-code { order: -1; margin-bottom: auto; padding-bottom: 6px; font-family: var(--display); font-size: 11px; font-weight: 600; letter-spacing: .08em; opacity: .7; }
.yard-base .cntr { min-height: 118px; }
.yard-base .cntr-name { font-size: 28px; }
.yard-base .cntr-tag { font-size: 15px; max-width: 40ch; }

/* route */
.route { list-style: none; margin: 56px 0 0; padding: 26px 0 34px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; position: relative; border-top: 1px solid rgba(255,255,255,.1); counter-reset: none; }
.route::before { content: ""; position: absolute; top: 46px; left: 10%; right: 10%; height: 2px; background: repeating-linear-gradient(90deg, var(--crane) 0 10px, transparent 10px 16px); transform-origin: left; animation: route-draw 1.4s cubic-bezier(.6,.1,.2,1) .2s both; }
.route li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; position: relative; animation: node-in .4s ease both; animation-delay: calc(.35s + var(--i) * .25s); }
.route-node { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--ink-bg); border: 2px solid var(--crane); font-family: var(--display); font-weight: 700; color: var(--crane); font-size: 17px; position: relative; z-index: 1; }
.route li:last-child .route-node { background: var(--crane); color: var(--ink-solid); }
.route-label { font-size: 15.5px; color: #dceaf1; line-height: 1.4; max-width: 13ch; }
@keyframes route-draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes node-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-alt { background: var(--paper); }
.sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.sec-head h2 { margin: 0; }
.sec-head.stacked { display: block; max-width: 760px; }
.sec-head.stacked h2 { margin-bottom: 12px; }
.sec-head.stacked p { color: var(--muted); margin: 0; }
.sec-link { font-weight: 500; white-space: nowrap; }

/* promos */
.promos { background: var(--paper); padding: 28px 0; border-bottom: 1px solid var(--line-2); }
.promos .wrap { display: flex; flex-direction: column; gap: 14px; }
.promo { display: flex; align-items: center; gap: 24px; background: var(--card); border-left: 6px solid var(--crane); padding: 18px 24px; border-radius: 0 var(--r) var(--r) 0; }
.promo img { width: 180px; aspect-ratio: 2/1; object-fit: cover; border-radius: var(--r-sm); flex: none; }
.promo-text { flex: 1; min-width: 0; }
.promo h2 { font-size: 21px; margin: 0 0 4px; }
.promo p { margin: 0; color: var(--muted); font-size: 16px; }

/* ---------- Schedule board ---------- */
.board { border-top: 3px solid var(--line-strong); }
.board-head, .board-row { display: grid; grid-template-columns: 104px minmax(0, 2.2fr) minmax(0, 1.2fr) minmax(0, 1.2fr) 120px 150px; gap: 16px; align-items: center; padding: 12px 8px; }
.board-head { font-size: 14px; color: var(--muted); border-bottom: 1px solid var(--line); padding-top: 10px; padding-bottom: 10px; }
.board-row { border-bottom: 1px solid var(--line-2); position: relative; padding-left: 16px; }
.board-row::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 5px; background: var(--u, var(--u-yellow)); border-radius: 1px; }
.board-row:hover { background: #f7fafc; }
.b-date { display: grid; grid-template-columns: auto 1fr; column-gap: 8px; align-items: end; font-family: var(--display); line-height: 1; }
.b-date b { font-size: 34px; font-weight: 700; color: var(--fg); grid-row: span 2; }
.b-date span { font-size: 15px; font-weight: 600; color: var(--fg); white-space: nowrap; }
.b-date small { font-family: var(--font); font-size: 13px; color: var(--muted); white-space: nowrap; }
.b-course a { font-weight: 500; color: var(--fg); text-decoration: none; font-size: 17px; line-height: 1.45; display: block; }
.b-course a:hover { text-decoration: underline; }
.b-course b { font-weight: 500; display: block; }
.b-course small, .b-when small, .b-where small { display: block; font-size: 14px; color: var(--muted); line-height: 1.5; }
.b-course small.b-note { color: var(--warn); }
.b-when, .b-where { font-size: 15.5px; line-height: 1.5; }
.seat { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 500; white-space: nowrap; }
.seat::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: currentColor; }
.seat-open { color: var(--ok); }
.seat-low { color: var(--warn); }
.seat-full { color: var(--bad); }
.b-act { text-align: right; }
.empty-note { background: var(--paper); border: 1px dashed var(--line); border-radius: var(--r); padding: 28px; text-align: center; color: var(--muted); }
.empty-note p { margin: 4px 0; }

/* ---------- Course cards ---------- */
.course-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
.course-card { display: flex; flex-direction: column; background: var(--card); border-top: 4px solid var(--u, var(--u-yellow)); }
.section-alt .course-card { background: var(--card); }
.cc-media { display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--paper-2); }
.cc-media img { width: 100%; height: 100%; object-fit: cover; }
.cc-body { padding: 18px 20px 6px; flex: 1; }
.cc-cat { font-size: 14px; color: var(--muted); margin: 0 0 6px; }
.cc-title { font-size: 20px; margin: 0 0 8px; line-height: 1.35; }
.cc-title a { color: var(--fg); text-decoration: none; }
.cc-title a:hover { text-decoration: underline; }
.cc-sum { font-size: 15.5px; color: var(--muted); line-height: 1.65; margin-bottom: 12px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; color: var(--muted); }
.chips li { display: inline-flex; align-items: center; gap: 5px; }
.chips .ic { width: 15px; height: 15px; }
.chip-job { color: var(--link) !important; font-weight: 500; }
.cc-foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; padding: 14px 20px 18px; border-top: 1px solid var(--line-2); margin-top: 12px; }
.cc-price { margin: 0; font-family: var(--display); line-height: 1.2; }
.cc-price b { font-size: 24px; font-weight: 700; color: var(--fg); }
.cc-price b.ask { font-size: 18px; }
.cc-price s { color: var(--muted); font-size: 15px; font-weight: 500; }
.cc-price small { font-family: var(--font); font-size: 14px; color: var(--muted); }
.cc-next { margin: 0; font-size: 13.5px; color: var(--muted); text-align: right; line-height: 1.4; }

/* generated container covers */
.ph-cover { width: 100%; height: 100%; min-height: 100%; position: relative; color: var(--u-on, #fff);
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.10) 0 7px, rgba(0,0,0,.10) 7px 10px, transparent 10px 18px),
    linear-gradient(180deg, rgba(255,255,255,.12), transparent 30%, rgba(0,0,0,.18)),
    var(--u, var(--u-teal)); }
.ph-cover::after { content: ""; position: absolute; top: 14%; bottom: 14%; right: 6%; width: 9%; background: repeating-linear-gradient(90deg, rgba(0,0,0,.28) 0 3px, transparent 3px 12px); border-left: 3px solid rgba(0,0,0,.18); }
.ph-label { position: absolute; left: 7%; bottom: 12%; font-family: var(--display); font-weight: 700; font-size: clamp(18px, 2vw, 24px); line-height: 1.2; max-width: 70%; }
.ph-code { position: absolute; left: 7%; top: 11%; font-family: var(--display); font-size: 12px; font-weight: 600; letter-spacing: .08em; opacity: .75; }

/* generated document covers (articles) */
.ph-doc { width: 100%; height: 100%; position: relative; background: #edf4f8; border: 1px solid var(--line); overflow: hidden; }
.ph-doc::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 10px; background: var(--ink-bg); }
.ph-doc-lines { position: absolute; left: 8%; right: 8%; top: 22%; bottom: 34%; background:
  linear-gradient(90deg, var(--line) 0 38%, transparent 38% 42%, var(--line) 42%) top / 100% 1px no-repeat,
  repeating-linear-gradient(180deg, transparent 0 15px, var(--line) 15px 16px); }
.ph-doc-lines::before { content: ""; position: absolute; left: 0; top: -14px; width: 34%; height: 8px; background: var(--crane); }
.ph-doc-label { position: absolute; left: 8%; bottom: 11%; font-family: var(--display); font-weight: 700; font-size: clamp(17px, 1.8vw, 22px); color: var(--fg); }

/* ---------- Units ---------- */
.units { border-top: 1px solid var(--line); }
.unit { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 28px; padding: 26px 0 26px 22px; border-bottom: 1px solid var(--line); position: relative; align-items: start; }
.unit::before { content: ""; position: absolute; left: 0; top: 28px; width: 8px; height: 48px; background: var(--u); }
.unit-id h3 { font-size: 22px; margin: 0 0 4px; }
.unit-id h3 a { color: var(--fg); text-decoration: none; }
.unit-id h3 a:hover { text-decoration: underline; }
.unit-id p { color: var(--muted); margin: 0; font-size: 15.5px; }
.unit-list { margin: 0; padding: 0; list-style: none; font-size: 15.5px; line-height: 1.6; }
.unit-list li { padding-left: 16px; position: relative; margin-bottom: 4px; }
.unit-list li::before { content: ""; position: absolute; left: 0; top: .72em; width: 7px; height: 2px; background: var(--u); }
.unit-for { font-size: 15px; color: var(--muted); line-height: 1.6; }
.unit-for-h { display: block; color: var(--text); font-weight: 500; font-size: 14px; }
.unit-link { font-weight: 500; white-space: nowrap; align-self: center; }

/* ---------- Corporate band ---------- */
.corp-band { background: var(--ink-2); color: #fff; padding: 72px 0; position: relative; }
.corp-band::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--u-blue) 0 25%, var(--u-green) 25% 50%, var(--u-red) 50% 75%, var(--u-violet) 75%); }
.corp-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: start; }
.corp-band h2 { color: #fff; }
.corp-lead { color: #c8dce6; font-size: 18px; margin-bottom: 28px; }
.corp-needs { margin: 0; display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,.14); }
.corp-needs > div { padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.corp-needs dt { font-weight: 500; font-size: 17px; color: #fff; }
.corp-needs dd { margin: 2px 0 0; color: #b3ccd8; font-size: 15.5px; }

/* ---------- Events ---------- */
.event-list { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.event-item { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 22px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--line); }
.ev-date { font-family: var(--display); text-align: center; line-height: 1; border: 2px solid var(--line-strong); padding: 8px 4px; border-radius: var(--r-sm); }
.ev-date b { display: block; font-size: 30px; font-weight: 700; color: var(--ink-solid); }
.ev-date span { display: block; font-size: 15px; font-weight: 600; margin-top: 2px; }
.ev-date small { display: block; font-family: var(--font); font-size: 13px; color: var(--muted); margin-top: 6px; }
.is-past .ev-date { border-color: var(--line); }
.is-past .ev-date b, .is-past .ev-date span { color: var(--muted); }
.ev-type { font-size: 14.5px; color: var(--muted); margin: 0 0 2px; display: flex; align-items: center; gap: 8px; }
.ev-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--u-red); }
.ev-webinar, .ev-workshop { background: var(--u-blue); }
.ev-jobfair { background: var(--u-green); }
.ev-openhouse { background: var(--u-yellow); }
.event-item h3 { font-size: 20px; margin: 0 0 4px; }
.event-item h3 a { color: var(--fg); text-decoration: none; }
.event-item h3 a:hover { text-decoration: underline; }
.ev-sum { margin: 0; color: var(--muted); font-size: 15.5px; }

/* ---------- Jobs ---------- */
.jobs-split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.6fr); gap: 48px; align-items: start; }
.jobs-intro p { color: var(--muted); }
.job-list { display: flex; flex-direction: column; gap: 10px; }
.job-row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.6fr) auto; gap: 18px; align-items: center; background: var(--card); padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--r); }
.job-row h3 { font-size: 18px; margin: 0; line-height: 1.4; }
.job-row h3 a { color: var(--fg); text-decoration: none; }
.job-row h3 a:hover { text-decoration: underline; }
.jr-main p { margin: 2px 0 0; font-size: 14.5px; color: var(--muted); }
.jr-meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 14.5px; color: var(--muted); }
.jr-meta li { display: inline-flex; align-items: center; gap: 5px; }
.jr-meta .ic { width: 15px; height: 15px; }
.jr-salary { color: var(--text) !important; font-weight: 500; }

/* ---------- Posts ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
.pc-media { display: block; aspect-ratio: 16/9; overflow: hidden; margin-bottom: 14px; background: var(--paper-2); }
.pc-media img { width: 100%; height: 100%; object-fit: cover; }
.pc-meta { font-size: 14px; color: var(--muted); margin: 0 0 6px; }
.post-card h3 { font-size: 20px; line-height: 1.4; margin: 0 0 8px; }
.post-card h3 a { color: var(--fg); text-decoration: none; }
.post-card h3 a:hover { text-decoration: underline; }
.pc-ex { color: var(--muted); font-size: 15.5px; margin: 0; }

/* ---------- Testimonials & partners ---------- */
.quotes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.quote { margin: 0; padding: 22px 24px; background: var(--paper); border-radius: var(--r); display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.quote blockquote { margin: 0; font-size: 16.5px; line-height: 1.75; }
.quote blockquote p { margin: 0; }
.quote figcaption { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: var(--muted); }
.quote figcaption img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.quote figcaption b { display: block; color: var(--text); font-weight: 500; }
.partners-sec { padding: 48px 0; border-top: 1px solid var(--line-2); }
.partners-h { font-size: 18px; color: var(--muted); font-family: var(--font); font-weight: 500; margin-bottom: 20px; }
.partner-logos { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; }
.partner-logos img { max-height: 48px; width: auto; filter: grayscale(1); opacity: .75; transition: filter .2s, opacity .2s; }
.partner-logos a:hover img { filter: none; opacity: 1; }
.partner-logos span { font-weight: 500; color: var(--muted); }

/* ---------- CTA strip ---------- */
.cta-strip { background: var(--ink-bg); color: #fff; padding: 44px 0; }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-strip h2 { color: #fff; font-size: 26px; margin: 0 0 4px; }
.cta-strip p { margin: 0; color: #c8dce6; }

/* ---------- Page band (inner pages) ---------- */
.band { background: var(--ink-bg); color: #fff; padding: 40px 0 44px; }
.band h1 { color: #fff; margin: 0; max-width: 24ch; }
.band-lead { color: #c8dce6; font-size: 18px; margin: 12px 0 0; max-width: 46em; }
/* Header band with background illustration/photo */
.band.has-bg { position: relative; overflow: hidden; isolation: isolate; padding: 76px 0 84px; min-height: 320px; }
.band-bg { position: absolute; inset: 0; z-index: -1; background: var(--ink-bg); }
.band-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; animation: band-zoom 16s ease-out both; }
.band-bg::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(5,37,54,.95) 0%, rgba(5,37,54,.86) 38%, rgba(5,37,54,.5) 72%, rgba(5,37,54,.28) 100%),
  linear-gradient(0deg, rgba(5,37,54,.75) 0%, rgba(5,37,54,0) 45%); }
.band.has-bg::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--sky) 0 50%, var(--crane) 50% 100%); }
.band.has-bg.unit-band::after { display: none; }
.band.has-bg h1 { text-shadow: 0 2px 18px rgba(6,23,31,.45); }
.band.has-bg .band-lead { color: #dceaf1; text-shadow: 0 1px 10px rgba(6,23,31,.5); }
@keyframes band-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.crumbs { font-size: 14px; color: #9dbbca; margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs a { color: #c8dce6; text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.band.unit-band { border-bottom: 8px solid var(--u); }

/* ---------- Filters ---------- */
.filter-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.pills { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.pills a { display: inline-block; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink-solid); font-size: 15px; background: var(--card); }
.pills a:hover { border-color: var(--line-strong); }
.pills a[aria-current="true"] { background: var(--ink-bg); color: #fff; border-color: var(--line-strong); }
.filter-form { display: flex; gap: 8px; margin-left: auto; flex-wrap: wrap; }
.filter-form input, .filter-form select { font: inherit; font-size: 15.5px; padding: 9px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--card); }
.filter-form input[type=search] { min-width: 220px; }
.result-count { font-size: 15px; color: var(--muted); margin: -12px 0 20px; }

/* ---------- Course detail ---------- */
.course-hero { background: var(--ink-bg); color: #fff; padding: 36px 0 44px; }
.course-hero .wrap { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.course-hero h1 { color: #fff; margin-bottom: 14px; }
.course-hero .lead { color: #c8dce6; font-size: 18px; }
.course-hero .chips { color: #c8dce6; font-size: 15px; gap: 8px 18px; margin-top: 18px; }
.course-hero .chip-job { color: var(--sky-soft) !important; }
.course-media { border-top: 5px solid var(--u, var(--u-yellow)); aspect-ratio: 16/10; overflow: hidden; background: var(--ink-2); }
.course-media img { width: 100%; height: 100%; object-fit: cover; }
.course-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; align-items: start; padding: 48px 24px 72px; }
.course-main > section { margin-bottom: 44px; }
.course-main h2 { font-size: 26px; margin-bottom: 16px; }
.prose { font-size: 17px; line-height: 1.85; max-width: 44em; }
.prose h2 { font-size: 24px; margin: 1.6em 0 .6em; }
.prose h3 { font-size: 20px; margin: 1.4em 0 .5em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: .35em; }
.prose blockquote { margin: 1.2em 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--crane); color: var(--muted); }
.prose img { border-radius: var(--r); margin: 1em 0; }
.prose iframe { width: 100%; aspect-ratio: 16/9; height: auto; border: 0; border-radius: var(--r); }
.prose table { border-collapse: collapse; width: 100%; font-size: 15.5px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.prose > *:first-child { margin-top: 0; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; }
.checks li { padding-left: 30px; position: relative; line-height: 1.6; }
.checks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 2px; background: var(--crane); }
.checks li::after { content: ""; position: absolute; left: 6px; top: calc(.3em + 3px); width: 5px; height: 9px; border-right: 2px solid var(--line-strong); border-bottom: 2px solid var(--line-strong); transform: rotate(45deg); }
.for-list { margin: 0; padding-left: 1.2em; }
.video-embed { aspect-ratio: 16/9; background: #000; border-radius: var(--r); overflow: hidden; }
.video-embed iframe { width: 100%; height: 100%; border: 0; }
.instructor { display: flex; gap: 20px; align-items: flex-start; background: var(--paper); padding: 20px; border-radius: var(--r); }
.instructor img, .instructor .avatar { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; flex: none; background: var(--ink-bg); color: var(--crane); display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 28px; }
.instructor h3 { margin: 0 0 2px; font-size: 19px; }
.instructor .role { color: var(--muted); font-size: 15px; margin: 0 0 8px; }
.instructor p:last-child { margin: 0; font-size: 15.5px; }

/* booking box */
.book-box { position: sticky; top: 92px; border: 1px solid var(--line); border-top: 5px solid var(--u, var(--u-yellow)); background: var(--card); }
.book-price { padding: 20px 22px 16px; border-bottom: 1px solid var(--line-2); font-family: var(--display); }
.book-price s { color: var(--muted); font-size: 17px; margin-right: 6px; }
.book-price b { font-size: 36px; font-weight: 700; color: var(--fg); }
.book-price small { font-family: var(--font); color: var(--muted); font-size: 15px; }
.book-price .note { display: block; font-family: var(--font); font-size: 14px; color: var(--muted); margin-top: 2px; }
.book-sessions { padding: 16px 22px; }
.book-sessions h3 { font-size: 16px; font-family: var(--font); font-weight: 500; margin-bottom: 10px; }
.sess-opt { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); margin-bottom: 8px; cursor: pointer; }
.sess-opt:has(input:checked) { border-color: var(--line-strong); box-shadow: inset 0 0 0 1px var(--ink); background: #f7fafc; }
.sess-opt input { margin-top: 6px; accent-color: var(--ink); }
.sess-opt b { display: block; font-weight: 500; }
.sess-opt small { display: block; color: var(--muted); font-size: 14px; line-height: 1.5; }
.sess-opt.is-full { opacity: .55; cursor: not-allowed; }
.sess-opt small.seat { display: inline-flex; margin-top: 2px; }
.sess-opt small.seat-open { color: var(--ok); }
.sess-opt small.seat-low { color: var(--warn); }
.sess-opt small.seat-full { color: var(--bad); }
.book-actions { padding: 4px 22px 22px; display: flex; flex-direction: column; gap: 10px; }
.book-perks { list-style: none; margin: 0; padding: 14px 22px 18px; border-top: 1px solid var(--line-2); font-size: 15px; display: flex; flex-direction: column; gap: 8px; }
.book-perks li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; }
.book-perks .ic { color: var(--ok); margin-top: 3px; }

/* ---------- Forms ---------- */
.form-shell { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: start; padding: 44px 24px 72px; }
.form-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; }
.form-card h2 { font-size: 22px; margin-bottom: 18px; }
.form-card h3 { font-size: 18px; margin: 22px 0 12px; padding-top: 18px; border-top: 1px solid var(--line-2); }
.f-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.f-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.f-wide, .f-grid > .f-full { grid-column: 1 / -1; }
.f-field label, .f-label { font-size: 15.5px; font-weight: 500; }
.req { color: var(--bad); }
.f-field input, .f-field select, .f-field textarea { font: inherit; font-size: 16.5px; padding: 11px 13px; border: 1px solid #b5c9d3; border-radius: var(--r-sm); background: var(--card); color: var(--text); width: 100%; }
.f-field input[type=file] { padding: 9px; background: var(--paper); }
.f-field textarea { resize: vertical; line-height: 1.65; }
.f-field input:focus, .f-field select:focus, .f-field textarea:focus { outline: 3px solid rgba(245,163,64,.55); outline-offset: 0; border-color: var(--line-strong); }
.has-error input, .has-error select, .has-error textarea { border-color: var(--bad); }
.f-error { color: var(--bad); font-size: 14.5px; }
.f-help { color: var(--muted); font-size: 14.5px; }
.radio-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.radio-card { display: flex; gap: 10px; align-items: flex-start; border: 1px solid #b5c9d3; border-radius: var(--r-sm); padding: 12px 14px; cursor: pointer; }
.radio-card:has(input:checked) { border-color: var(--line-strong); box-shadow: inset 0 0 0 1px var(--ink); }
.radio-card input { margin-top: 6px; accent-color: var(--ink); }
.radio-card b { display: block; font-weight: 500; }
.radio-card small { color: var(--muted); font-size: 14px; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.6; }
.consent input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--ink); flex: none; }
.form-submit { margin-top: 22px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-submit .f-help { margin: 0; }
.alert { padding: 14px 18px; border-radius: var(--r-sm); margin-bottom: 18px; font-size: 16px; border: 1px solid; }
.alert-error { background: #fbeeee; border-color: #ebc3c5; color: #7f1f25; }
.alert-success { background: #e9f5ee; border-color: #b8dcc5; color: #1b5533; }
.alert-info { background: #e8f5fb; border-color: #bfe0f1; color: #155e83; }

.side-card { background: var(--paper); border-radius: var(--r); padding: 22px; position: sticky; top: 92px; }
.side-card h2, .side-card h3 { font-size: 19px; margin-bottom: 12px; }
.sum-rows { margin: 0; }
.sum-rows div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.sum-rows dt { color: var(--muted); }
.sum-rows dd { margin: 0; text-align: right; font-weight: 500; }
.sum-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 12px; font-family: var(--display); }
.sum-total b { font-size: 28px; font-weight: 700; color: var(--fg); }

/* thank-you / receipt */
.done-wrap { max-width: 760px; margin: 0 auto; padding: 56px 24px 72px; }
.done-mark { width: 56px; height: 56px; border-radius: 50%; background: var(--ok); display: grid; place-items: center; margin-bottom: 16px; }
.done-mark::after { content: ""; width: 14px; height: 24px; border-right: 4px solid #fff; border-bottom: 4px solid #fff; transform: rotate(45deg) translate(-2px, -2px); }
.ticket { border: 2px solid var(--line-strong); border-radius: var(--r); margin: 24px 0; overflow: hidden; }
.ticket-head { background: var(--ink-bg); color: #fff; padding: 14px 20px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; }
.ticket-head .code { font-family: var(--display); font-size: 24px; font-weight: 700; color: var(--crane); letter-spacing: .03em; }
.ticket-body { padding: 18px 20px; }
.ticket-body dl { margin: 0; display: grid; grid-template-columns: 150px 1fr; gap: 8px 16px; font-size: 16px; }
.ticket-body dt { color: var(--muted); }
.ticket-body dd { margin: 0; font-weight: 500; }
.bank { background: var(--paper); border-radius: var(--r); padding: 20px; display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: center; }
.bank dl { margin: 0; display: grid; grid-template-columns: 140px 1fr; gap: 6px 14px; }
.bank dt { color: var(--muted); }
.bank dd { margin: 0; font-weight: 500; }
.bank .acct { font-family: var(--display); font-size: 22px; font-weight: 700; letter-spacing: .04em; }
.bank img { width: 150px; border-radius: var(--r-sm); background: var(--card); padding: 6px; }
.next-steps { counter-reset: step; list-style: none; padding: 0; margin: 20px 0; }
.next-steps li { counter-increment: step; position: relative; padding: 0 0 16px 46px; }
.next-steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--crane); color: var(--ink-solid); font-family: var(--display); font-weight: 700; display: grid; place-items: center; }

/* ---------- Generic two-column content ---------- */
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; align-items: start; padding: 48px 24px 72px; }
.lead-text { font-size: 19px; line-height: 1.8; color: var(--text); }
.info-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 14px; }
.info-list li { display: flex; gap: 12px; align-items: flex-start; }
.info-list .ic { color: var(--fg); margin-top: 4px; }
.info-list b { display: block; font-weight: 500; font-size: 14px; color: var(--muted); }

/* service page */
.svc-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin: 36px 0; }
.svc-cols h2 { font-size: 22px; }
.svc-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.svc-list li { padding: 12px 0 12px 22px; border-bottom: 1px solid var(--line); position: relative; }
.svc-list li::before { content: ""; position: absolute; left: 0; top: 23px; width: 10px; height: 3px; background: var(--u, var(--crane)); }
.svc-cta { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding: 26px 28px; background: var(--paper); border-left: 6px solid var(--u, var(--crane)); margin-top: 32px; }
.svc-cta h2 { font-size: 22px; margin: 0 0 4px; }
.svc-cta p { margin: 0; color: var(--muted); }
.svc-nav { list-style: none; padding: 0; margin: 0; }
.svc-nav li a { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--text); }
.svc-nav li a:hover b { text-decoration: underline; }
.svc-nav li a[aria-current="page"] b { color: var(--fg); font-weight: 700; }
.svc-nav li a[aria-current="page"] .dot { width: 24px; }
.svc-nav .dot { width: 18px; height: 12px; background: var(--u); border-radius: 1px; flex: none; }
.svc-nav small { display: block; color: var(--muted); font-size: 13.5px; }
.svc-nav b { font-weight: 500; }

/* about */
.values { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(var(--cols, 5), 1fr); gap: 0; border: 1px solid var(--line); }
.values li { padding: 22px 18px; border-right: 1px solid var(--line); }
.values li:last-child { border-right: 0; }
.values .letter { font-family: var(--display); font-size: 44px; font-weight: 700; color: var(--fg); line-height: 1; display: block; margin-bottom: 10px; }
.values .letter::after { content: ""; display: block; width: 24px; height: 4px; background: var(--crane); margin-top: 10px; }
.values b { display: block; font-weight: 600; }
.values span { color: var(--muted); font-size: 15px; }
.about-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.mission-list { counter-reset: m; list-style: none; padding: 0; margin: 0; }
.mission-list li { counter-increment: m; padding: 14px 0 14px 48px; position: relative; border-bottom: 1px solid var(--line); }
.mission-list li::before { content: counter(m); position: absolute; left: 0; top: 12px; font-family: var(--display); font-size: 26px; font-weight: 700; color: var(--crane-d); }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 3px solid var(--line-strong); }
.facts > div { padding: 22px 22px 22px 0; }
.facts b { display: block; font-family: var(--display); font-size: 48px; font-weight: 700; color: var(--fg); line-height: 1.1; }
.facts span { color: var(--muted); font-size: 15.5px; display: block; max-width: 28ch; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }

/* events / article detail */
.detail-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; color: #c8dce6; font-size: 15.5px; margin-top: 14px; }
.detail-meta span { display: inline-flex; align-items: center; gap: 6px; }
.article-wrap { max-width: 780px; margin: 0 auto; padding: 44px 24px 64px; }
.article-cover { margin: 0 0 32px; }
.article-cover img { width: 100%; border-radius: var(--r); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 28px 0 0; }
.tag-list li { background: var(--paper); padding: 4px 12px; border-radius: 999px; font-size: 14px; color: var(--muted); }
.share { display: flex; gap: 10px; align-items: center; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); flex-wrap: wrap; font-size: 15px; }
.share a, .share button { font: inherit; font-size: 14.5px; padding: 7px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--text); text-decoration: none; cursor: pointer; }
.share a:hover, .share button:hover { border-color: var(--line-strong); }

/* gallery */
.album-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }
.album-card a { text-decoration: none; color: var(--text); display: block; }
.album-card .thumb { aspect-ratio: 4/3; overflow: hidden; background: var(--paper-2); margin-bottom: 12px; }
.album-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.album-card a:hover img { transform: scale(1.03); }
.album-card h2 { font-size: 19px; margin: 0 0 2px; }
.album-card p { font-size: 14.5px; color: var(--muted); margin: 0; }
.photo-grid { columns: 3 280px; column-gap: 14px; }
.photo-grid figure { margin: 0 0 14px; break-inside: avoid; }
.photo-grid a { display: block; cursor: zoom-in; }
.photo-grid img { width: 100%; border-radius: var(--r-sm); }
.photo-grid figcaption { font-size: 14px; color: var(--muted); padding-top: 6px; }
.lightbox { position: fixed; inset: 0; background: rgba(9,30,40,.94); z-index: 200; display: none; align-items: center; justify-content: center; padding: 40px 60px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: var(--r-sm); }
.lightbox figure { margin: 0; text-align: center; color: #c8dce6; }
.lightbox figcaption { margin-top: 10px; font-size: 15px; }
.lb-btn { position: absolute; background: rgba(255,255,255,.1); color: #fff; border: 0; width: 48px; height: 48px; border-radius: 50%; cursor: pointer; font-size: 26px; line-height: 1; display: grid; place-items: center; }
.lb-btn:hover { background: rgba(255,255,255,.2); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 12px; top: 50%; transform: translateY(-50%); }

/* downloads */
.dl-list { border-top: 1px solid var(--line); }
.dl-item { display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.dl-ext { width: 56px; height: 64px; border: 2px solid var(--line-strong); border-radius: 2px 14px 2px 2px; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 14px; text-transform: uppercase; color: var(--fg); }
.dl-item h2 { font-size: 18px; margin: 0 0 2px; font-family: var(--font); font-weight: 500; }
.dl-item p { margin: 0; font-size: 15px; color: var(--muted); }

/* faq */
.faq-group { margin-bottom: 36px; }
.faq-group h2 { font-size: 22px; margin-bottom: 8px; }
.faq { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 16px 40px 16px 0; font-weight: 500; font-size: 17.5px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 8px; top: 24px; width: 10px; height: 10px; border-right: 2px solid var(--line-strong); border-bottom: 2px solid var(--line-strong); transform: rotate(45deg); transition: transform .2s; }
.faq[open] summary::after { transform: rotate(-135deg); top: 28px; }
.faq .ans { padding: 0 0 18px; color: var(--text); max-width: 46em; }

/* contact */
.map-embed { aspect-ratio: 16/10; border: 0; width: 100%; border-radius: var(--r); background: var(--paper-2); }

/* pagination */
.pagination { display: flex; gap: 6px; justify-content: center; margin: 40px 0 0; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 42px; text-align: center; padding: 8px 12px; border: 1px solid var(--line); border-radius: var(--r-sm); text-decoration: none; color: var(--text); font-size: 15.5px; }
.pagination a:hover { border-color: var(--line-strong); }
.pagination .current { background: var(--ink-bg); color: #fff; border-color: var(--line-strong); }
.pagination .gap { border: 0; }

/* empty / 404 */
.empty-state { text-align: center; padding: 56px 20px; background: var(--paper); border-radius: var(--r); color: var(--muted); }
.empty-state h2 { font-size: 22px; color: var(--fg); }
.notfound { padding: 80px 24px; max-width: 640px; }
.nf-code { font-family: var(--display); font-size: 120px; font-weight: 700; color: var(--paper-2); line-height: 1; margin: 0 0 10px; -webkit-text-stroke: 2px var(--ink); }

/* ---------- Footer ---------- */
.site-foot { background: #0b2938; color: #b3ccd8; font-size: 15.5px; padding: 56px 0 0; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1.4fr; gap: 36px; padding-bottom: 40px; }
.foot-brand p { margin: 14px 0; line-height: 1.6; }
.logo-light .logo-text { color: #fff; }
.contact-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.55; }
.contact-list .ic { width: 16px; height: 16px; margin-top: 4px; color: var(--sky); }
.site-foot a { color: #dceaf1; text-decoration: none; }
.site-foot a:hover { color: #fff; text-decoration: underline; }
.foot-h { font-family: var(--font); font-size: 15.5px; font-weight: 600; color: #fff; margin: 0 0 12px; }
.foot-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 7px; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.socials a { border: 1px solid rgba(255,255,255,.2); padding: 4px 12px; border-radius: 999px; font-size: 14px; }
.foot-news p { margin: 0 0 12px; }
.news-form { display: flex; flex-direction: column; gap: 8px; }
.news-form input { font: inherit; font-size: 16px; padding: 11px 13px; border-radius: var(--r-sm); border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); color: #fff; }
.news-form input::placeholder { color: #8babbb; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 18px 24px; border-top: 1px solid rgba(255,255,255,.1); font-size: 14px; color: #8babbb; }
.foot-legal { display: flex; gap: 18px; flex-wrap: wrap; }
.line-fab { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: inline-flex; align-items: center; gap: 8px; background: #06c755; color: #fff; padding: 12px 18px; border-radius: 999px; text-decoration: none; font-weight: 600; box-shadow: 0 8px 20px rgba(0,0,0,.2); }
.line-fab:hover { color: #fff; background: #05b04b; }
.line-fab .ic { width: 22px; height: 22px; }

/* audience paths (home) */
.paths { border-bottom: 1px solid var(--line-2); }
.path-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.path { padding: 30px 28px 30px 0; }
.path + .path { padding-left: 28px; border-left: 1px solid var(--line); }
.path-who { font-size: 14px; font-weight: 600; color: var(--crane-d); margin: 0 0 4px; }
.path h3 { font-size: 21px; margin: 0 0 6px; }
.path p { color: var(--muted); font-size: 15.5px; margin: 0 0 14px; }
.path-links { display: flex; flex-wrap: wrap; gap: 8px 16px; align-items: center; margin: 0 !important; }
.path-links a:not(.btn) { font-weight: 500; font-size: 15.5px; }

/* next webinar banner */
.next-webinar { background: var(--paper); border-bottom: 1px solid var(--line-2); padding: 26px 0; }
.nw-row { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 22px; align-items: center; }
.nw-date { background: var(--card); }
.nw-label { font-size: 14.5px; color: var(--crane-d); font-weight: 600; margin: 0 0 2px; }
.nw-body h2 { font-size: 23px; margin: 0 0 4px; }
.nw-body p:last-child { margin: 0; color: var(--muted); font-size: 15.5px; }

/* clips */
.clip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 28px 24px; align-items: start; }
.clip h3 { font-size: 18px; margin: 4px 0 0; line-height: 1.4; }
.clip h3 a { color: var(--fg); text-decoration: none; }
.clip h3 a:hover { text-decoration: underline; }
.clip-meta { font-size: 14px; color: var(--muted); margin: 10px 0 0; }
.video-embed.is-vertical { aspect-ratio: 9/16; max-width: 340px; background: #000; }
.clip .video-embed.is-vertical { max-height: 560px; margin: 0 auto; }

/* service steps + embedded form */
.svc-steps { margin: 8px 0 36px; }
.svc-steps h2 { font-size: 22px; }
.step-list { counter-reset: st; list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border-left: 2px dashed var(--u, var(--crane)); margin-left: 15px; }
.step-list li { counter-increment: st; position: relative; padding: 4px 0 18px 30px; }
.step-list li::before { content: counter(st); position: absolute; left: -16px; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--u, var(--crane)); color: var(--u-on, var(--ink)); font-family: var(--display); font-weight: 700; display: grid; place-items: center; }
.step-list li:last-child { padding-bottom: 0; }
.svc-form { margin-top: 36px; scroll-margin-top: 90px; }
.course-grid.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); }

/* about: network */
.network-h { font-size: 16px; font-family: var(--font); font-weight: 600; color: var(--muted); margin: 0 0 12px; }
.network-logos { margin-bottom: 26px; }
.network-empty { background: var(--card); border: 1px dashed var(--line); border-radius: var(--r); padding: 24px; }
.network-empty p { margin: 0 0 14px; }
.socials-dark a { color: var(--fg); border-color: var(--line); }
.news-note { font-size: 12.5px; color: #8babbb; line-height: 1.5; }
.news-note a { color: #c8dce6 !important; text-decoration: underline !important; }
#quote { scroll-margin-top: 90px; }

/* misc */
.month-h { font-size: 21px; margin: 40px 0 12px; }
.month-h:first-of-type { margin-top: 0; }
.flash-wrap { padding-top: 18px; }
.flash-wrap .alert { margin: 0; }
.h3-like { font-size: 22px; margin: 0 0 4px; }
.h3-like a { color: var(--fg); text-decoration: none; }
.h3-like a:hover { text-decoration: underline; }
.side-card .bank { grid-template-columns: 1fr; padding: 0; background: none; }
.side-card .bank dl { grid-template-columns: 1fr; gap: 0; }
.side-card .bank dd { margin-bottom: 10px; }
.side-card .bank img { width: 180px; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .site-nav > ul > li > a { padding: 8px 7px; font-size: 15px; }
  .foot-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .foot-news { grid-column: 1 / -1; max-width: 520px; }
  .news-form { flex-direction: row; }
  .news-form input { flex: 1; }
}
@media (max-width: 1060px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--ink-bg); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 24px; max-height: calc(100vh - 72px); overflow-y: auto; border-top: 1px solid rgba(255,255,255,.08); }
  .site-nav.open { display: flex; }
  .site-nav > ul { flex-direction: column; align-items: stretch; }
  .site-nav > ul > li { flex-wrap: wrap; border-bottom: 1px solid rgba(255,255,255,.08); }
  .site-nav > ul > li > a { flex: 1; padding: 14px 0; font-size: 17px; }
  .site-nav > ul > li > a[aria-current="page"] { box-shadow: none; color: var(--sky); background: none; }
  .sub-toggle { width: 44px; height: 44px; margin: 0; }
  .sub { position: static; width: 100%; box-shadow: none; background: rgba(255,255,255,.04); margin-bottom: 10px; display: none; }
  .has-sub:hover .sub, .has-sub:focus-within .sub { display: none; }
  .has-sub.open .sub { display: block; }
  .sub a { color: #dceaf1; }
  .sub a:hover { background: rgba(255,255,255,.06); }
  .sub small { color: #9dbbca; }
  .nav-cta { margin-top: 16px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-bg::after { background: linear-gradient(180deg, rgba(5,37,54,var(--ov2)) 0%, rgba(5,37,54,var(--ov1)) 45%, rgba(10,36,49,.92) 100%); }
  .yard { max-width: 620px; }
  .course-grid, .post-grid, .album-grid, .quotes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .path-row { grid-template-columns: 1fr; }
  .path, .path + .path { padding: 22px 0; border-left: 0; }
  .path + .path { border-top: 1px solid var(--line); }
  .unit { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
  .unit-for { grid-column: 2; }
  .unit-link { grid-column: 1; grid-row: 2; align-self: start; }
  .board-head { display: none; }
  .board-row { grid-template-columns: 76px minmax(0, 1fr) auto; grid-template-areas: "date course act" "date when seats" "date where seats"; gap: 4px 16px; padding: 16px 8px 16px 18px; }
  .b-date { grid-area: date; align-self: start; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
  .b-date b { grid-row: auto; line-height: .95; }
  .b-course { grid-area: course; }
  .b-when { grid-area: when; }
  .b-where { grid-area: where; }
  .b-seats { grid-area: seats; text-align: right; align-self: end; }
  .b-act { grid-area: act; }
  .corp-grid, .jobs-split, .about-split { grid-template-columns: 1fr; gap: 36px; }
  .course-hero .wrap, .course-layout, .form-shell, .content-grid { grid-template-columns: 1fr; }
  .wrap.course-layout, .wrap.form-shell, .wrap.content-grid { gap: 32px; }
  .book-box, .side-card { position: static; }
  .course-media { max-width: 560px; }
  .values { grid-template-columns: repeat(3, 1fr); }
  .values li:nth-child(3) { border-right: 0; }
  .values li:nth-child(n+4) { border-top: 1px solid var(--line); }
}
@media (max-width: 720px) {
  .band.has-bg { padding: 48px 0 56px; min-height: 0; }
  .band-bg::after { background: linear-gradient(0deg, rgba(5,37,54,.92), rgba(5,37,54,.78)); }
  body { font-size: 16.5px; }
  .wrap { padding: 0 18px; }
  .wrap.form-shell, .wrap.course-layout, .wrap.content-grid { padding-top: 28px; padding-bottom: 52px; }
  .course-media.is-ph { display: none; }
  .course-hero .wrap { gap: 0; }
  .head-row { min-height: 64px; }
  .logo-text { font-size: 21px; }
  .hero { padding-top: 40px; }
  .hero-title { font-size: clamp(38px, 12vw, 56px); }
  .hero-sub { font-size: 17.5px; }
  .yard-row:first-child, .yard-row:nth-child(2) { margin-left: 0; margin-right: 0; }
  .cntr { min-height: 92px; padding: 12px 36px 10px 12px; }
  .cntr-name { font-size: 19px; }
  .cntr-tag { font-size: 12.5px; }
  .cntr-code { display: none; }
  .yard-row:not(.yard-base) .cntr-tag { display: none; }
  .yard-row:not(.yard-base) .cntr { min-height: 74px; justify-content: center; }
  .yard-base .cntr-name { font-size: 23px; }
  .route { grid-template-columns: 1fr; gap: 0; margin-top: 40px; padding: 20px 0 28px; }
  .route::before { top: 40px; bottom: 48px; left: 19px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--crane) 0 10px, transparent 10px 16px); transform-origin: top; animation-name: route-draw-v; }
  .route li { flex-direction: row; text-align: left; gap: 16px; padding: 6px 0; }
  .route-label { max-width: none; }
  .section { padding: 52px 0; }
  .course-grid, .post-grid, .album-grid, .quotes, .course-grid.two-col { grid-template-columns: 1fr; }
  .nw-row { grid-template-columns: 70px minmax(0, 1fr); }
  .nw-row > .btn { grid-column: 1 / -1; }
  .unit { grid-template-columns: 1fr; gap: 12px; padding: 22px 0 22px 20px; }
  .unit-for, .unit-link { grid-column: auto; grid-row: auto; }
  .board-row { grid-template-columns: 62px minmax(0, 1fr); grid-template-areas: "date course" "date when" "date where" "date seats" "act act"; }
  .b-date b { font-size: 28px; }
  .b-seats { text-align: left; }
  .b-act { text-align: left; margin-top: 8px; }
  .b-act .btn { width: 100%; }
  .event-item { grid-template-columns: 70px minmax(0, 1fr); }
  .event-item > .btn { grid-column: 2; justify-self: start; }
  .job-row { grid-template-columns: 1fr; gap: 10px; }
  .job-row .btn { justify-self: start; }
  .promo { flex-direction: column; align-items: flex-start; }
  .promo img { width: 100%; }
  .f-grid, .radio-cards, .checks, .svc-cols { grid-template-columns: 1fr; }
  .form-card { padding: 20px 18px; }
  .ticket-body dl, .bank dl { grid-template-columns: 1fr; gap: 0 0; }
  .ticket-body dd, .bank dd { margin-bottom: 8px; }
  .bank { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr 1fr; }
  .values li { border-right: 0 !important; border-top: 1px solid var(--line); }
  .values li:first-child { border-top: 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .foot-brand { grid-column: 1 / -1; }
  .news-form { flex-direction: column; }
  .filter-form { margin-left: 0; width: 100%; }
  .filter-form input[type=search] { min-width: 0; flex: 1 1 140px; }
  .filter-form select { flex: 1 1 100%; }
  .dl-item { grid-template-columns: 48px minmax(0, 1fr); }
  .dl-item .btn { grid-column: 2; justify-self: start; }
  .lightbox { padding: 60px 10px; }
  .line-fab span { display: none; }
  .line-fab { padding: 14px; }
}
@keyframes route-draw-v { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) {
  .band-bg img { animation: none; }
  html { scroll-behavior: auto; }
  .hero-slide, .hero-slide.is-active { transform: none; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .site-head, .site-foot, .line-fab, .announce, .btn { display: none !important; }
  body { font-size: 12pt; }
  .band, .course-hero { background: none; color: #000; }
  .band-bg, .band.has-bg::after { display: none; }
  .band h1, .course-hero h1 { color: #000; }
}


/* ==========================================================
   Motion & refreshed homepage sections (v1.2)
   ========================================================== */
/* scroll reveal */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-left { transform: translateX(-32px); }
.js .reveal-zoom { transform: scale(.94); }

/* header shrinks + shadow once scrolled */
.site-head { transition: box-shadow .25s, background-color .25s; }
.site-head.is-scrolled { box-shadow: 0 8px 24px rgba(6,23,31,.28); background: rgba(5,37,54,.96); backdrop-filter: saturate(140%) blur(8px); }
.site-head .head-row { transition: min-height .25s; }
.site-head.is-scrolled .head-row { min-height: 60px; }

/* buttons: lift + shine */
.btn { position: relative; overflow: hidden; transition: background-color .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(5,37,54,.18); }
.btn:active { transform: translateY(0); }
.btn-crane::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-20deg); transition: left .6s ease; }
.btn-crane:hover::after { left: 120%; }

/* hero: entrance */
.hero-copy > * { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.hero-copy > *:nth-child(2) { animation-delay: .12s; }
.hero-copy > *:nth-child(3) { animation-delay: .24s; }
.hero-copy > *:nth-child(4) { animation-delay: .36s; }
.hero-title .nw:last-child { background: linear-gradient(90deg, var(--crane), #ffd08a, var(--sky-soft)); -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; animation: shimmer 6s ease-in-out infinite alternate; }
.yard .cntr { animation: drop .7s cubic-bezier(.3,1.4,.5,1) both; animation-delay: calc(.4s + var(--k, 0) * .12s); }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
@keyframes drop { from { opacity: 0; transform: translateY(-60px); } to { opacity: 1; transform: none; } }
@keyframes shimmer { from { background-position: 0 0; } to { background-position: 100% 0; } }
.hero-scroll { position: absolute; left: 50%; bottom: 14px; width: 24px; height: 38px; margin-left: -12px; border: 2px solid rgba(255,255,255,.5); border-radius: 14px; z-index: 3; }
.hero-scroll::before { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--crane); animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* section headings: accent bar */
.sec-head h2, .jobs-intro h2, .corp-band h2 { position: relative; padding-bottom: 14px; }
.sec-head h2::after, .jobs-intro h2::after, .corp-band h2::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--crane) 0 60%, var(--sky) 60%); transform-origin: left; transition: transform .8s .2s ease; }
.js .reveal:not(.is-in) h2::after { transform: scaleX(0); }
.sec-link { display: inline-flex; align-items: center; gap: 6px; }
.sec-link::after { content: "→"; transition: transform .2s; }
.sec-link:hover::after { transform: translateX(4px); }

/* audience paths: photo cards */
.paths { background: var(--paper); border: 0; padding: 0 0 64px; position: relative; }
.paths::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 90px; background: var(--ink-bg); }
.path-row { position: relative; gap: 22px; }
.path, .path + .path { position: relative; background: var(--card); border: 0; border-radius: 14px; padding: 0 24px 24px; box-shadow: 0 12px 30px rgba(5,37,54,.10); overflow: hidden; transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column; }
.path:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(5,37,54,.18); }
.path-img { margin: 0 -24px 18px; aspect-ratio: 16/9; overflow: hidden; position: relative; }
.path-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.path:hover .path-img img { transform: scale(1.07); }
.path-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(5,37,54,.55)); }
.path-num { position: absolute; top: 14px; right: 18px; z-index: 1; font-family: var(--display); font-weight: 700; font-size: 15px; color: #fff; background: rgba(5,37,54,.6); padding: 2px 10px; border-radius: 20px; backdrop-filter: blur(4px); }
.path-ico { position: absolute; z-index: 1; top: calc((100% * 0) + 0px); left: 24px; margin-top: -24px; width: 52px; height: 52px; border-radius: 14px; background: var(--crane); color: var(--ink-solid); display: grid; place-items: center; box-shadow: 0 8px 18px rgba(245,163,64,.4); transform: translateY(0); }
.path-img + .path-num + .path-ico { position: relative; top: auto; left: auto; margin: -44px 0 12px; }
.path-2 .path-ico { background: var(--sky); box-shadow: 0 8px 18px rgba(0,170,255,.4); }
.path-3 .path-ico { background: var(--ink-bg); color: var(--crane); box-shadow: 0 8px 18px rgba(5,37,54,.35); }
.path-ico .ic { width: 26px; height: 26px; }
.path p:not(.path-who):not(.path-links) { flex: 1; }
.path-links { margin-top: auto !important; }
.path-more { font-weight: 500; text-decoration: none; }
.path-more span { display: inline-block; transition: transform .2s; }
.path-more:hover span { transform: translateX(4px); }

/* stats */
.stats { margin: 40px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.stat { background: var(--ink-bg); color: #fff; border-radius: 14px; padding: 24px 26px; position: relative; overflow: hidden; }
.stat::after { content: ""; position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(0,170,255,.35), transparent 70%); }
.stat:nth-child(2)::after { background: radial-gradient(circle, rgba(245,163,64,.35), transparent 70%); }
.stat dt { font-family: var(--display); font-weight: 700; font-size: 52px; line-height: 1; color: var(--crane); }
.stat dd { margin: 10px 0 0; color: #c8dce6; font-size: 15.5px; line-height: 1.6; }

/* course cards & posts: hover */
.course-card, .post-card { transition: transform .3s, box-shadow .3s; border-radius: 10px; overflow: hidden; }
.course-card { box-shadow: 0 4px 14px rgba(5,37,54,.06); }
.course-card:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(5,37,54,.15); }
.cc-media img, .cc-media .ph-cover, .pc-media img, .pc-media .ph-doc { transition: transform .6s ease; }
.course-card:hover .cc-media img, .course-card:hover .cc-media .ph-cover, .post-card:hover .pc-media img, .post-card:hover .pc-media .ph-doc { transform: scale(1.06); }
.pc-media { border-radius: 10px; }
.post-card:hover { transform: translateY(-4px); }
.board-row { transition: background-color .2s, transform .2s; }
.board-row:hover { transform: translateX(4px); }

/* units: bento cards */
.units { border: 0; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.unit { display: flex; flex-direction: column; gap: 0; padding: 0; border: 0; border-radius: 14px; background: var(--card); box-shadow: 0 10px 28px rgba(5,37,54,.09); overflow: hidden; align-items: stretch; transition: transform .3s, box-shadow .3s; }
.unit::before { display: none; }
.unit:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(5,37,54,.17); }
.unit-lead { grid-row: span 2; }
.unit-box { position: relative; display: block; aspect-ratio: 16/9; overflow: hidden; color: #fff; text-decoration: none; background: var(--u); }
.unit-lead .unit-box { aspect-ratio: auto; min-height: 260px; flex: 1; }
.unit-box img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.unit:hover .unit-box img { transform: scale(1.07); }
.unit-box::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,37,54,.05) 30%, rgba(5,37,54,.85)); }
.unit-box::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--u); z-index: 2; }
.unit-code { position: absolute; top: 14px; left: 16px; z-index: 2; font-family: var(--display); font-size: 11px; letter-spacing: .1em; background: rgba(5,37,54,.55); padding: 3px 9px; border-radius: 20px; }
.unit-short { position: absolute; left: 18px; bottom: 16px; z-index: 2; font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1.1; }
.unit-lead .unit-short { font-size: 34px; }
.unit-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; }
.unit-body h3 { font-size: 20px; margin: 0; }
.unit-body h3 a { color: var(--fg); text-decoration: none; }
.unit-tag { color: var(--muted); margin: 0; font-size: 15px; }
.unit-list { margin: 4px 0 0; }
.unit-for { margin: 4px 0 0; font-size: 14.5px; }
.unit-for-h { display: inline; font-weight: 600; }
.unit-link { align-self: flex-start; margin-top: 6px; text-decoration: none; }
.unit-link .arr { display: inline-block; transition: transform .2s; }
.unit:hover .unit-link .arr { transform: translateX(5px); }

/* corporate band: photo + numbered needs */
.corp-band.has-bg { overflow: hidden; isolation: isolate; padding: 88px 0; }
.corp-bg { position: absolute; inset: 0; z-index: -1; }
.corp-bg img { width: 100%; height: 115%; object-fit: cover; transform: translateY(var(--py, 0)); will-change: transform; }
.corp-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,37,54,.96) 0%, rgba(5,37,54,.88) 45%, rgba(5,37,54,.7)); }
.corp-needs { border: 0; gap: 12px; }
.corp-needs > div { position: relative; border: 1px solid rgba(255,255,255,.14); border-radius: 12px; padding: 16px 18px 16px 64px; background: rgba(255,255,255,.05); backdrop-filter: blur(6px); transition: background-color .25s, transform .25s, border-color .25s; }
.corp-needs > div:hover { background: rgba(255,255,255,.1); border-color: var(--crane); transform: translateX(6px); }
.need-n { position: absolute; left: 16px; top: 16px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--crane); color: var(--ink-solid); font-family: var(--display); font-weight: 700; font-size: 14px; }

/* events: cards */
.event-cards { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; border: 0; }
.event-cards .event-item { grid-template-columns: 1fr; gap: 14px; align-items: start; border: 0; border-radius: 14px; padding: 22px; background: var(--card); box-shadow: 0 10px 28px rgba(5,37,54,.09); position: relative; overflow: hidden; transition: transform .3s, box-shadow .3s; }
.event-cards .event-item::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: linear-gradient(90deg, var(--sky), var(--crane)); }
.event-cards .event-item:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(5,37,54,.17); }
.event-cards .ev-date { display: inline-flex; align-items: baseline; gap: 8px; width: auto; justify-self: start; padding: 8px 14px; background: var(--ink-bg); color: #fff; border: 0; border-radius: 10px; }
.event-cards .ev-date b, .event-cards .ev-date span { color: #fff; display: inline; }
.event-cards .ev-date small { color: #9ed5f0; display: inline; margin: 0; }
.event-cards .btn { justify-self: start; }
.event-cards .ev-dot { animation: pulse 1.8s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(47,126,165,.55); } 100% { box-shadow: 0 0 0 10px rgba(47,126,165,0); } }

/* jobs & quotes */
.job-row { transition: transform .25s, box-shadow .25s, border-color .25s; }
.job-row:hover { transform: translateX(6px); border-color: var(--sky); box-shadow: 0 10px 24px rgba(5,37,54,.1); }
.quote { position: relative; background: var(--card); box-shadow: 0 10px 28px rgba(5,37,54,.08); border-radius: 14px; padding-top: 42px; transition: transform .3s; }
.quote:hover { transform: translateY(-4px); }
.quote::before { content: "\201C"; position: absolute; top: 4px; left: 20px; font-family: Georgia, serif; font-size: 64px; line-height: 1; color: var(--crane); }
.section:not(.section-alt) .quote { background: var(--paper); box-shadow: none; }

/* partners: marquee-ish hover */
.partner-logos li { transition: transform .2s; }
.partner-logos li:hover { transform: translateY(-3px); }

/* CTA strip with photo */
.cta-live { position: relative; overflow: hidden; isolation: isolate; padding: 64px 0; }
.cta-bg { position: absolute; inset: 0; z-index: -1; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,37,54,.95), rgba(5,37,54,.8)); }
.cta-live h2 { font-size: 30px; }

/* LINE button gentle bounce */
.line-fab { animation: fab-in .6s 1.2s cubic-bezier(.3,1.5,.5,1) both; transition: transform .2s, background-color .2s; }
.line-fab:hover { transform: translateY(-3px) scale(1.03); }
@keyframes fab-in { from { opacity: 0; transform: translateY(40px) scale(.8); } to { opacity: 1; transform: none; } }

/* back to top */
.to-top { position: fixed; right: 22px; bottom: 84px; z-index: 59; width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--ink-bg); color: #fff; cursor: pointer; box-shadow: 0 8px 20px rgba(0,0,0,.2); opacity: 0; transform: translateY(20px); pointer-events: none; transition: opacity .25s, transform .25s, background-color .2s; font-size: 20px; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--crane); color: var(--ink-solid); }

/* scroll progress */
.scroll-bar { position: fixed; left: 0; top: 0; height: 3px; width: 100%; z-index: 100; background: linear-gradient(90deg, var(--sky), var(--crane)); transform-origin: left; transform: scaleX(0); }

/* inner page header text entrance */
.band.has-bg .wrap > * { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.band.has-bg .wrap > *:nth-child(2) { animation-delay: .1s; }
.band.has-bg .wrap > *:nth-child(3) { animation-delay: .2s; }

@media (max-width: 1060px) {
  .units { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .unit-lead { grid-row: auto; grid-column: span 2; }
  .unit-lead .unit-box { aspect-ratio: 21/9; min-height: 0; }
  .event-cards { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .path-row { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 860px) {
  .path-row { grid-template-columns: 1fr; }
  .path, .path + .path { padding: 0 22px 22px; border: 0; }
  .stats { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 720px) {
  .units, .event-cards { grid-template-columns: 1fr; }
  .unit-lead { grid-column: auto; }
  .unit-lead .unit-box { aspect-ratio: 16/9; }
  .stat dt { font-size: 42px; }
  .corp-needs > div { padding-left: 58px; }
  .hero-scroll { display: none; }
  .to-top { bottom: 78px; right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1 !important; transform: none !important; transition: none; }
  .hero-copy > *, .yard .cntr, .band.has-bg .wrap > *, .line-fab, .hero-title .nw:last-child, .event-cards .ev-dot, .hero-scroll::before { animation: none !important; }
  .btn:hover, .path:hover, .unit:hover, .course-card:hover, .event-cards .event-item:hover { transform: none; }
  .corp-bg img { transform: none !important; }
  .scroll-bar { display: none; }
}
@media print { .to-top, .scroll-bar, .hero-scroll { display: none !important; } }

/* ==========================================================
   v1.3 homepage refinements
   ========================================================== */
.nw { white-space: nowrap; }
h1, h2, h3 { text-wrap: balance; }
p, dd, li { text-wrap: pretty; }

/* hero buttons: stronger */
.hero .btn-row { gap: 14px; }
.btn-hero { box-shadow: 0 10px 28px rgba(245,163,64,.45), inset 0 -3px 0 rgba(0,0,0,.12); font-weight: 600; padding: 15px 28px; border-radius: 8px; }
.btn-hero:hover { box-shadow: 0 16px 36px rgba(245,163,64,.6), inset 0 -3px 0 rgba(0,0,0,.12); }
.btn-hero::before { content: ""; position: absolute; inset: -3px; border-radius: 10px; border: 2px solid var(--crane); opacity: 0; animation: ring 2.6s ease-out 1.5s infinite; }
@keyframes ring { 0% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(1.15, 1.4); } }
.btn-arr { display: inline-block; transition: transform .2s; }
.btn-hero:hover .btn-arr { transform: translateX(5px); }
.btn-glass { background: rgba(255,255,255,.14); color: #fff; border: 2px solid rgba(255,255,255,.85); border-radius: 8px; font-weight: 600; padding: 15px 26px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: 0 8px 22px rgba(6,23,31,.25); }
.btn-glass:hover { background: var(--card); color: var(--ink-solid); border-color: #fff; }
.btn-glass .ic { width: 18px; height: 18px; }

/* hero containers: readable text + motion */
.cntr { color: #fff !important; overflow: hidden; border-radius: 4px;
  background:
    linear-gradient(180deg, rgba(5,37,54,0) 20%, rgba(5,37,54,.55) 100%),
    linear-gradient(180deg, rgba(255,255,255,.18) 0 4px, transparent 4px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.10) 0 5px, rgba(0,0,0,.10) 5px 7px, transparent 7px 12px),
    var(--u, var(--u-teal));
  box-shadow: 0 6px 16px rgba(0,0,0,.28), inset 0 0 0 1px rgba(255,255,255,.12); }
.cntr-name { text-shadow: 0 2px 6px rgba(6,23,31,.55); font-size: 23px; }
.cntr-tag { opacity: 1 !important; font-weight: 500; text-shadow: 0 1px 4px rgba(6,23,31,.7); color: #fff; }
.cntr-code { opacity: .95 !important; color: #fff; text-shadow: 0 1px 3px rgba(6,23,31,.6); }
.cntr::before { content: ""; position: absolute; top: 0; left: -70%; width: 45%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); animation: sweep 7s ease-in-out infinite; animation-delay: calc(2s + var(--k, 0) * .7s); pointer-events: none; }
@keyframes sweep { 0%, 70% { left: -70%; } 100% { left: 130%; } }
.yard .cntr { animation: drop .7s cubic-bezier(.3,1.4,.5,1) both, bob 5s ease-in-out infinite; animation-delay: calc(.4s + var(--k, 0) * .12s), calc(1.5s + var(--k, 0) * .4s); }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -5px; } }
.cntr:hover, .cntr:focus-visible { transform: translateY(-6px) scale(1.03) !important; box-shadow: 0 18px 32px rgba(0,0,0,.4), 0 0 0 2px #fff; z-index: 2; }
.cntr:hover .cntr-name { color: #fff; }
.yard-base .cntr-name { font-size: 30px; }

/* learner route: infographic */
.route { list-style: none; margin: 46px 0 0; padding: 30px 0 40px; display: grid; grid-template-columns: repeat(var(--n, 5), 1fr); gap: 10px; position: relative; border-top: 1px solid rgba(255,255,255,.1); }
.route::before { display: none; }
.route-track { position: absolute; top: 62px; left: calc(50% / var(--n, 5)); right: calc(50% / var(--n, 5)); height: 4px; border-radius: 2px; background: rgba(255,255,255,.14); list-style: none; }
.route-fill { position: absolute; inset: 0; border-radius: 2px; background: linear-gradient(90deg, var(--sky), var(--crane)); transform-origin: left; transform: scaleX(0); animation: fill 2.4s cubic-bezier(.6,.1,.2,1) .4s forwards; box-shadow: 0 0 12px rgba(245,163,64,.6); }
.route-fill::after { content: ""; position: absolute; right: -6px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--card); box-shadow: 0 0 0 4px rgba(245,163,64,.5), 0 0 18px #ffd08a; }
@keyframes fill { to { transform: scaleX(1); } }
.route-step { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; position: relative; z-index: 1; opacity: 0; animation: step-in .55s cubic-bezier(.3,1.4,.5,1) forwards; animation-delay: calc(.5s + var(--i) * .45s); }
@keyframes step-in { from { opacity: 0; transform: translateY(14px) scale(.85); } to { opacity: 1; transform: none; } }
.route-node { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; position: relative; background: linear-gradient(145deg, #1d5672, var(--ink)); border: 2px solid rgba(255,255,255,.25); color: #fff; box-shadow: 0 8px 20px rgba(0,0,0,.35); transition: transform .25s, border-color .25s, box-shadow .25s; }
.route-node .ic { width: 26px; height: 26px; }
.route-node b { position: absolute; top: -6px; right: -6px; width: 24px; height: 24px; border-radius: 50%; background: var(--crane); color: var(--ink-solid); font-family: var(--display); font-size: 13px; display: grid; place-items: center; box-shadow: 0 2px 6px rgba(0,0,0,.3); }
.route-node::after { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 2px solid var(--crane); opacity: 0; animation: node-pulse .9s ease-out forwards; animation-delay: calc(.6s + var(--i) * .45s); }
@keyframes node-pulse { 0% { opacity: .9; transform: scale(.8); } 100% { opacity: 0; transform: scale(1.35); } }
.route-step:last-child .route-node { background: linear-gradient(145deg, #ffc477, var(--crane)); color: var(--ink-solid); border-color: #ffd9a6; box-shadow: 0 0 0 6px rgba(245,163,64,.2), 0 10px 26px rgba(245,163,64,.45); }
.route-step:last-child .route-node b { background: var(--card); }
.route-step:hover .route-node { transform: translateY(-5px); border-color: var(--crane); box-shadow: 0 14px 28px rgba(0,0,0,.4); }
.route-label { font-size: 15.5px; font-weight: 500; color: #fff; line-height: 1.45; max-width: 15ch; text-shadow: 0 1px 6px rgba(6,23,31,.6); }

/* 3 audience cards: stronger scroll motion */
.js .path.reveal { opacity: 0; transform: translateY(70px) scale(.94) rotateX(8deg); transform-origin: 50% 100%; transition: opacity .8s ease, transform .9s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
.js .path.reveal.is-in { opacity: 1; transform: none; }
.path-row { perspective: 1200px; }
.path-img img { transform: translateY(var(--py, 0)) scale(1.12); }
.path:hover .path-img img { transform: translateY(var(--py, 0)) scale(1.2); }
.path .path-ico { transition: transform .35s cubic-bezier(.3,1.5,.5,1); }
.path:hover .path-ico { transform: rotate(-8deg) scale(1.12); }

/* stats: no boxes */
.stats-plain { gap: 0; margin-top: 48px; }
.stats-plain .stat { background: none; padding: 6px 32px; border-radius: 0; overflow: visible; color: var(--text); border-left: 1px solid var(--line); }
.stats-plain .stat:first-child { border-left: 0; padding-left: 0; }
.stats-plain .stat::after { display: none; }
.stats-plain dt { font-size: 64px; background: linear-gradient(120deg, var(--ink) 10%, var(--sky) 55%, var(--crane) 90%); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 5s ease-in-out infinite alternate; display: inline-block; }
.stats-plain dd { color: var(--muted); font-size: 16px; position: relative; padding-top: 14px; margin-top: 8px; }
.stats-plain dd::before { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 44px; border-radius: 2px; background: var(--crane); transform-origin: left; transition: transform .9s .3s ease, width .3s; }
.js .stats-plain .stat.reveal:not(.is-in) dd::before { transform: scaleX(0); }
.stats-plain .stat:hover dd::before { width: 90px; }

/* promo: orange band */
.promos-orange { background: var(--crane); padding: 30px 0; border: 0; position: relative; overflow: hidden; }
.promos-orange::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, rgba(255,255,255,.08) 0 18px, transparent 18px 36px); animation: stripes 20s linear infinite; }
@keyframes stripes { to { background-position: 400px 0; } }
.promos-orange .wrap { position: relative; }
.promos-orange .promo { background: transparent; border: 0; padding: 0; border-radius: 0; }
.promos-orange .promo h2 { color: var(--ink-solid); font-size: 23px; }
.promos-orange .promo p { color: #3a2a12; }
.promos-orange .promo .btn-ink { box-shadow: 0 8px 20px rgba(5,37,54,.3); }

/* schedule on navy */

/* units: 3 on top, 2 below */
.units { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.unit-top { grid-column: span 2; }
.unit-bottom { grid-column: span 3; }
.unit-bottom .unit-box { aspect-ratio: 21/9; }

/* live cards: orange date, red when live */
.event-cards .ev-date { background: var(--crane); color: var(--ink-solid); box-shadow: 0 6px 16px rgba(245,163,64,.35); }
.event-cards .ev-date b, .event-cards .ev-date span { color: var(--ink-solid); }
.event-cards .ev-date small { color: #5a3a0c; font-weight: 600; }
.event-cards .is-live .ev-date { background: #e0262f; box-shadow: 0 6px 18px rgba(224,38,47,.45); animation: live-glow 1.6s ease-in-out infinite; }
.event-cards .is-live .ev-date b, .event-cards .is-live .ev-date span, .event-cards .is-live .ev-date small { color: #fff; }
.event-cards .is-live::before { background: #e0262f; }
@keyframes live-glow { 50% { box-shadow: 0 6px 26px rgba(224,38,47,.75); } }
.ev-live-tag { display: inline-flex; align-items: center; gap: 5px; font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: .08em; background: var(--card); color: #e0262f; padding: 2px 7px; border-radius: 4px; margin-right: 4px; align-self: center; }
.ev-live-tag i { width: 7px; height: 7px; border-radius: 50%; background: #e0262f; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.event-item .ev-date { display: flex; }
.event-list:not(.event-cards) .ev-date { flex-direction: column; align-items: center; }
.event-list:not(.event-cards) .ev-live-tag { margin: 0 0 4px; background: #e0262f; color: #fff; }
.event-list:not(.event-cards) .is-live .ev-date { border-color: #e0262f; }
.pf-ic { width: 24px; height: 24px; border-radius: 6px; display: inline-grid; place-items: center; flex: none; box-shadow: 0 2px 6px rgba(0,0,0,.15); }
.ev-type { gap: 8px; }
.ev-dot { display: none; }
.btn-live { background: #e0262f; border-color: #e0262f; color: #fff; }
.btn-live:hover { background: #c41f27; border-color: #c41f27; color: #fff; }

@media (max-width: 1060px) {
  .units { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .unit-top, .unit-bottom { grid-column: auto; }
  .unit-top:first-child { grid-column: span 2; }
  .unit-top:first-child .unit-box, .unit-bottom .unit-box { aspect-ratio: 16/9; }
  .unit-top:first-child .unit-box { aspect-ratio: 21/9; }
  .route-node { width: 54px; height: 54px; }
  .route-track { top: 57px; }
}
@media (max-width: 720px) {
  .units { grid-template-columns: 1fr; }
  .unit-top:first-child { grid-column: auto; }
  .unit-top:first-child .unit-box { aspect-ratio: 16/9; }
  .route { grid-template-columns: 1fr; gap: 0; padding: 22px 0 28px; }
  .route-track { top: 50px; bottom: 60px; left: 26px; right: auto; width: 4px; height: auto; }
  .route-fill { transform-origin: top; transform: scaleY(0); animation-name: fill-v; }
  .route-fill::after { right: auto; left: 50%; top: auto; bottom: -6px; margin: 0 0 0 -6px; }
  @keyframes fill-v { to { transform: scaleY(1); } }
  .route-step { flex-direction: row; text-align: left; gap: 16px; padding: 8px 0; }
  .route-node { width: 54px; height: 54px; flex: none; }
  .route-label { max-width: none; }
  .stats-plain .stat { border-left: 0; padding: 14px 0; border-top: 1px solid var(--line); }
  .stats-plain .stat:first-child { border-top: 0; }
  .stats-plain dt { font-size: 52px; }
  .btn-hero, .btn-glass { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .route-step, .route-fill { animation: none !important; opacity: 1 !important; transform: none !important; }
  .cntr::before, .route-node::after, .btn-hero::before, .promos-orange::before, .stats-plain dt, .event-cards .is-live .ev-date, .ev-live-tag i { animation: none !important; }
  .yard .cntr { animation: none !important; }
  .js .path.reveal { opacity: 1 !important; transform: none !important; }
}
.route .route-track { position: absolute; display: block; animation: none; padding: 0; gap: 0; z-index: 0; }
.route .route-step { animation: step-in .55s cubic-bezier(.3,1.4,.5,1) forwards; animation-delay: calc(.5s + var(--i) * .45s); }
.cntr.u-violet, .cntr.u-blue, .cntr.u-yellow { background:
    linear-gradient(180deg, rgba(5,37,54,.15) 0%, rgba(5,37,54,.72) 100%),
    linear-gradient(180deg, rgba(255,255,255,.18) 0 4px, transparent 4px),
    repeating-linear-gradient(90deg, rgba(255,255,255,.10) 0 5px, rgba(0,0,0,.10) 5px 7px, transparent 7px 12px),
    var(--u); }
@media (prefers-reduced-motion: reduce) { .route .route-step { animation: none; opacity: 1; } }
.ev-live-tag, .event-cards .is-live .ev-date .ev-live-tag { color: #e0262f; } .event-list:not(.event-cards) .ev-live-tag { color: #fff; }

/* Brand logo (image) */
.logo img { display: block; height: 46px; width: auto; transition: height .25s; }
.site-head.is-scrolled .logo img { height: 40px; }
.foot-brand .logo img { height: 60px; }
@media (max-width: 720px) {
  .logo img, .site-head.is-scrolled .logo img { height: 38px; }
  .foot-brand .logo img { height: 52px; }
}


/* Schedule on blue (#00AAFF): navy text for contrast (6.2:1) */
.section-blue { background: var(--sky); color: var(--ink-solid); position: relative; overflow: hidden; }

/* Tables inside course/article content */
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.4em; font-size: 15.5px; line-height: 1.6; }
.prose th { background: var(--ink-bg); color: #fff; text-align: left; font-weight: 600; padding: 10px 12px; }
.prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose tbody tr:nth-child(even) td { background: var(--paper); }
.prose td:nth-child(2):not(:last-child), .prose th:nth-child(2):not(:last-child) { text-align: center; white-space: nowrap; }
@media (max-width: 720px) { .prose table { display: block; overflow-x: auto; } .prose td:first-child { min-width: 130px; } }


/* ==========================================================
   SPACE THEME — deep space, glass panels, WebGL planet behind
   ========================================================== */
html { background: var(--bg); }
body { background: transparent; color: var(--text); }
body::before { content: ""; position: fixed; inset: 0; z-index: -2; background:
  radial-gradient(1px 1px at 12% 18%, #cfe0ff 50%, transparent 51%), radial-gradient(1px 1px at 72% 12%, #cfe0ff 50%, transparent 51%),
  radial-gradient(1.5px 1.5px at 34% 62%, #cfe0ff 50%, transparent 51%), radial-gradient(1px 1px at 88% 48%, #cfe0ff 50%, transparent 51%),
  radial-gradient(1px 1px at 56% 84%, #cfe0ff 50%, transparent 51%), radial-gradient(1.5px 1.5px at 8% 76%, #cfe0ff 50%, transparent 51%),
  radial-gradient(90% 70% at 50% 110%, rgba(58,108,255,.28), transparent 60%),
  radial-gradient(60% 50% at 100% 0%, rgba(0,170,255,.10), transparent 60%), #040a1e; }
.planet-canvas { position: fixed; inset: 0; width: 100vw; height: 100vh; display: block; z-index: -1; pointer-events: none; opacity: 0; transition: opacity 1.2s ease; }
.planet-canvas.on { opacity: 1; }
a { color: var(--link); }
h1, h2, h3, h4 { color: var(--fg); text-shadow: 0 2px 30px rgba(0,0,0,.5); }
::selection { background: var(--crane); color: #04121c; }

/* glass surfaces */
.path, .path + .path, .unit, .course-card, .post-card, .quote, .event-cards .event-item, .book-box, .form-card, .side-card, .faq-item, .job-row, .album, .dl-item,
.info-card, .contact-card, .radio-card, .sess-opt, .empty-note, .toc, .clip, .values li, .facts > div, .board, .stat-card, .filter-form, .pager a, .pager span {
  background: var(--card); border: 1px solid var(--line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 30px 80px -40px rgba(0,0,0,.8); }
.path:hover, .unit:hover, .course-card:hover, .event-cards .event-item:hover, .job-row:hover, .quote:hover { background: var(--card-2); border-color: var(--line-strong); box-shadow: 0 30px 80px -30px rgba(0,0,0,.85), 0 0 0 1px rgba(0,170,255,.12); }
.section, .section-alt, .paths, .jobs-band, .partners, .promos:not(.promos-orange) { background: transparent; border-color: var(--line); }
.paths::before { display: none; }
.paths { padding-top: 40px; }
.section:not(.section-alt) .quote { background: var(--card); }

/* header / footer */
.site-head { background: rgba(4, 8, 20, .55); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.site-head.is-scrolled { background: rgba(4, 8, 20, .82); }
.topbar { background: rgba(2, 4, 12, .6); }
.site-foot { background: rgba(3, 6, 16, .78); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); border-top: 1px solid var(--line); }
.drop, .nav .drop { background: rgba(10, 16, 34, .96); border: 1px solid var(--line-strong); }

/* buttons: accent = brand amber, outline = glass */
.btn { border-radius: 999px; }
.btn-ink, .btn-crane { color: #04121c; background: linear-gradient(180deg, #ffbe6a, var(--crane)); border-color: transparent; box-shadow: 0 10px 30px -8px rgba(245,163,64,.55), inset 0 1px 0 rgba(255,255,255,.4); }
.btn-ink:hover, .btn-crane:hover { color: #04121c; background: linear-gradient(180deg, #ffd08f, #f7ad52); box-shadow: 0 16px 38px -8px rgba(245,163,64,.7); }
.btn-line, .btn-ghost-light, .btn-glass { color: var(--fg); background: rgba(255,255,255,.05); border: 1px solid var(--line-strong); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: none; }
.btn-line:hover, .btn-ghost-light:hover, .btn-glass:hover { color: var(--fg); background: rgba(255,255,255,.12); border-color: rgba(150,175,230,.4); }
.btn-hero, .btn-glass { border-radius: 999px; }
.btn-hero::before { border-radius: 999px; }

/* hero: let the planet show through */
.hero, .hero.has-slides { background: radial-gradient(125% 62% at 50% -10%, rgba(4,6,15,.82) 0%, rgba(4,6,15,.28) 44%, transparent 68%); }
.hero-bg { display: none; }
.hero::before, .hero::after { display: none; }
.hero-title .nw:last-child { background: linear-gradient(90deg, var(--crane), #ffd08a, var(--sky)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kicker, .sec-kicker, .path-who { color: var(--sky); letter-spacing: .14em; }
.cntr { -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: .96; }
.route { border-top-color: var(--line); }

/* headings accents */
.stats-plain dt { background: linear-gradient(180deg, #fff, var(--sky) 60%, var(--crane)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats-plain .stat { border-color: var(--line); color: var(--text); }

/* schedule board (was the blue section) */
.section-blue { position: relative; }
.board { border-radius: 18px; padding: 6px 22px 10px; border-top: 1px solid var(--line-strong); }
.board-head { border-bottom-color: var(--line); color: var(--muted); }
.board-row { border-bottom-color: var(--line); }
.board-row:last-child { border-bottom: 0; }
.board-row:hover { background: rgba(255,255,255,.05); }
.b-course small.b-note { color: var(--crane); }
.seat-open { color: var(--ok); } .seat-low { color: var(--warn); } .seat-full { color: var(--bad); }

/* photo bands stay, with a glass edge */
.band, .course-hero, .corp-band { background: rgba(6, 12, 28, .5); border-bottom: 1px solid var(--line); }
.band-bg::after { background: linear-gradient(90deg, rgba(4,6,15,.94) 0%, rgba(4,6,15,.82) 40%, rgba(4,6,15,.5) 75%, rgba(4,6,15,.3)), linear-gradient(0deg, rgba(4,6,15,.8), rgba(4,6,15,0) 45%); }
.corp-bg::after { background: linear-gradient(90deg, rgba(4,6,15,.95), rgba(4,6,15,.82) 45%, rgba(4,6,15,.6)); }
.cta-bg::after { background: linear-gradient(90deg, rgba(4,6,15,.94), rgba(4,6,15,.72)); }
.cta-strip { background: rgba(6,12,28,.5); }
.unit-box::after, .path-img::after { background: linear-gradient(180deg, rgba(4,6,15,.05) 30%, rgba(4,6,15,.88)); }
.unit-body h3 a, .cc-body h3 a, .pc-body h3 a, .b-course a, .ev-body h3 a, .job-row h3 a { color: var(--fg); }

/* forms */
input[type=text], input[type=email], input[type=tel], input[type=number], input[type=search], input[type=url], input[type=date], input[type=password], input[type=file], select, textarea {
  background: rgba(255,255,255,.06); color: var(--fg); border: 1px solid var(--line-strong); }
input::placeholder, textarea::placeholder { color: #7f8cab; }
input:focus, select:focus, textarea:focus { border-color: var(--sky); box-shadow: 0 0 0 3px rgba(0,170,255,.22); outline: 0; }
select option { background: #0a1124; color: #f3f6ff; }
label, legend, .field label { color: var(--text); }
.sess-opt:has(input:checked), .radio-card:has(input:checked) { background: rgba(0,170,255,.12); border-color: var(--sky); box-shadow: inset 0 0 0 1px var(--sky); }
.sess-opt input, .radio-card input, .consent input { accent-color: var(--crane); }

/* content */
.prose { color: var(--text); }
.prose table, .prose th, .prose td { border-color: var(--line); }
.prose th, .prose thead th { background: rgba(0,170,255,.14); color: var(--fg); }
.prose tbody tr:nth-child(even) td { background: rgba(255,255,255,.035); }
.prose td { background: transparent; }
.prose blockquote { background: var(--card); border-color: var(--crane); color: var(--text); }
.prose strong, .prose b { color: var(--fg); }
table { color: var(--text); }
hr { border-color: var(--line); }
.crumbs a, .crumbs { color: #b7c4e0; }
.nf-code { color: transparent; -webkit-text-stroke: 2px var(--sky); }
.to-top { background: var(--card-2); border: 1px solid var(--line-strong); }
.alert, .flash, .notice { background: var(--card-2); border: 1px solid var(--line-strong); color: var(--fg); }
.partner-logos li { background: var(--card); border: 1px solid var(--line); color: var(--muted); }
@media (max-width: 720px) { .board { padding: 4px 14px 8px; } }
@media print { body::before, .planet-canvas { display: none !important; } }
.ph-doc { background: linear-gradient(160deg, rgba(0,170,255,.16), rgba(12,18,38,.7)); }
.pills a, .pill-link, .filter-pills a, .chips a { background: rgba(255,255,255,.06); color: var(--text); border: 1px solid var(--line-strong); }
.pills a.is-active, .filter-pills a.is-active, .chips a.is-active, .pills a[aria-current] { background: var(--crane); color: #04121c; border-color: var(--crane); }
