/* =====================================================================
   CEDSI — site styles
   Palette taken from the logo: sky-blue drop + slate-grey wordmark.
   ===================================================================== */
:root {
  --sky: #00A8E8;        /* logo drop */
  --sky-ink: #0080B8;    /* sky darkened for text/links on white (AA) */
  --deep: #08476E;       /* deep milk-blue anchor */
  --deeper: #052F4B;
  --slate: #5E6A71;      /* logo wordmark grey */
  --ink: #17252F;
  --mist: #EAF6FC;
  --mist-2: #F5FBFE;
  --line: #D6E6EF;
  --white: #FFFFFF;

  --f-head: "Sora", "Segoe UI", system-ui, sans-serif;
  --f-body: "Nunito Sans", "Segoe UI", system-ui, sans-serif;

  --wrap: 1200px;
  --r-sm: 6px;
  --r-md: 14px;
  --r-lg: 28px;
  --shadow: 0 18px 40px -22px rgba(8, 71, 110, .45);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--f-body); font-size: 17px; line-height: 1.65;
  color: var(--ink); background: var(--white);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sky-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--deep); }
h1, h2, h3, h4 { font-family: var(--f-head); color: var(--deep); line-height: 1.2; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 1.3rem + 2.6vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; border-radius: 4px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--deep); color: #fff; padding: 10px 16px; z-index: 100; border-radius: var(--r-sm); }
.skip:focus { top: 12px; color: #fff; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.ico { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em; font-family: var(--f-head); font-weight: 600; font-size: .95rem;
  padding: .8em 1.5em; border-radius: 999px; text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.btn--solid { background: var(--sky); color: var(--white); }
.btn--solid:hover { background: var(--deep); color: var(--white); }
.btn--ghost { border-color: currentColor; color: var(--white); }
.btn--ghost:hover { background: var(--white); color: var(--deep); border-color: var(--white); }
.btn--line { border-color: var(--sky); color: var(--deep); }
.btn--line:hover { background: var(--sky); color: var(--white); }

/* ---------- top bar ---------- */
.topbar { background: var(--deeper); color: #C9DDEA; font-size: .85rem; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 40px; }
.topbar__tag { margin: 0; }
.topbar__links { list-style: none; display: flex; gap: 22px; align-items: center; }
.topbar a { color: #E4F1F8; text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: var(--sky); }
.topbar__social { display: flex; gap: 12px; }
.topbar__social .ico { width: 16px; height: 16px; }

/* ---------- header / nav ---------- */
.site-head { background: var(--white); position: sticky; top: 0; z-index: 50; border-bottom: 1px solid var(--line); }
.site-head.is-scrolled { box-shadow: 0 8px 24px -18px rgba(5, 47, 75, .5); }
.site-head__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 86px; }
.brand img { height: 62px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 18px; }
.menu { list-style: none; display: flex; align-items: center; gap: 2px; }
.menu__item { position: relative; display: flex; align-items: center; }
.menu__item > a {
  font-family: var(--f-head); font-size: .9rem; font-weight: 500; color: var(--ink); text-decoration: none;
  padding: 10px 11px; border-radius: var(--r-sm); white-space: nowrap;
}
.menu__item > a:hover, .menu__item.is-active > a { color: var(--sky-ink); }
.menu__item.is-active > a { box-shadow: inset 0 -2px 0 var(--sky); border-radius: 0; }
.sub-toggle { background: none; border: 0; color: var(--slate); padding: 4px; margin-left: -8px; cursor: pointer; display: inline-flex; }
.sub-toggle .ico { width: 15px; height: 15px; transition: transform .2s; }
.submenu {
  list-style: none; position: absolute; top: 100%; left: 0; min-width: 240px; background: var(--white);
  border: 1px solid var(--line); border-top: 3px solid var(--sky); border-radius: 0 0 var(--r-sm) var(--r-sm);
  padding: 8px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}
.submenu a { display: block; padding: 9px 12px; color: var(--ink); text-decoration: none; font-size: .92rem; border-radius: 4px; }
.submenu a:hover { background: var(--mist); color: var(--deep); }
@media (min-width: 1081px) {
  .menu__item.has-sub:hover .submenu, .menu__item.has-sub:focus-within .submenu, .menu__item.is-open .submenu { opacity: 1; visibility: visible; transform: none; }
}
.nav-toggle { display: none; }

@media (max-width: 1080px) {
  .topbar__tag { display: none; }
  .topbar__in { justify-content: center; }
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%;
    border: 1px solid var(--line); background: var(--white); color: var(--deep); cursor: pointer;
  }
  .nav-toggle .ico { width: 22px; height: 22px; }
  .nav-toggle .ico--close, .nav-toggle[aria-expanded="true"] .ico--open { display: none; }
  .nav-toggle[aria-expanded="true"] .ico--close { display: block; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%; background: var(--white); flex-direction: column; align-items: stretch;
    padding: 12px 20px 24px; border-bottom: 3px solid var(--sky); box-shadow: var(--shadow);
    max-height: calc(100vh - 120px); overflow-y: auto; display: none;
  }
  .site-nav.is-open { display: flex; }
  .menu { flex-direction: column; align-items: stretch; }
  .menu__item { flex-wrap: wrap; border-bottom: 1px solid var(--line); }
  .menu__item > a { flex: 1; padding: 14px 4px; font-size: 1rem; }
  .menu__item.is-active > a { box-shadow: none; }
  .sub-toggle { margin: 0; padding: 12px; }
  .submenu { position: static; flex-basis: 100%; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 10px 10px; display: none; min-width: 0; }
  .menu__item.is-open .submenu { display: block; }
  .menu__item.is-open .sub-toggle .ico { transform: rotate(180deg); }
  .nav-cta { align-self: flex-start; margin-top: 14px; }
}
@media (max-width: 640px) {
  .topbar__links li:nth-child(2) { display: none; }
  .brand img { height: 50px; }
  .site-head__in { min-height: 72px; }
}

/* ---------- the drop: signature shape from the logo ---------- */
/* Shape is drawn with mask-image so it scales with the element. */
.drop {
  position: relative; overflow: hidden;
  -webkit-mask: url("../images/designed/drop-mask.svg") center / 100% 100% no-repeat;
          mask: url("../images/designed/drop-mask.svg") center / 100% 100% no-repeat;
}
.drop img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- sections ---------- */
.section { padding: clamp(64px, 8vw, 112px) 0; }
.section--mist { background: var(--mist-2); }
.section--tight { padding: clamp(44px, 5vw, 72px) 0; }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head p { color: var(--slate); font-size: 1.08rem; margin: 0; }
.section-head--split { max-width: none; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.section-head--split > div { max-width: 680px; }
.lead { font-size: 1.15rem; color: var(--slate); }
.prose { max-width: 68ch; }
.prose p { margin-bottom: 1.1em; }
.wrap.prose { max-width: none; }
.wrap.prose > * { max-width: 68ch; }

/* ---------- home hero ---------- */
.hero { background: var(--deep); color: #DCEBF4; position: relative; overflow: hidden; }
.hero::before { /* soft milk-light from the top right */
  content: ""; position: absolute; inset: -30% -10% auto auto; width: 70%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(0, 168, 232, .35), transparent); pointer-events: none;
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 70px); align-items: center; padding: clamp(56px, 7vw, 96px) 0 clamp(96px, 10vw, 140px); position: relative; }
.hero h1 { color: var(--white); font-size: clamp(2.3rem, 1.4rem + 3.4vw, 4rem); line-height: 1.08; letter-spacing: -.025em; margin-bottom: .45em; }
.hero__intro { font-size: 1.15rem; max-width: 52ch; margin-bottom: 2em; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__art { position: relative; justify-self: center; width: min(100%, 470px); }
.drop--hero-main { aspect-ratio: 0.82; width: 100%; background: var(--deeper); }
.drop--hero-main img { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.drop--hero-main img.is-on { opacity: 1; }
.hero__ring { /* thin outline drop echoing the logo, offset behind the photo */
  position: absolute; inset: -18px -18px 18px 18px; z-index: -0; pointer-events: none;
}
.hero__ring path { fill: none; stroke: var(--sky); stroke-width: 1.4; vector-effect: non-scaling-stroke; }
.hero__caption {
  position: absolute; left: -8%; bottom: 10%; background: var(--white); color: var(--ink); border-radius: var(--r-md);
  padding: 14px 18px; box-shadow: var(--shadow); max-width: 250px; font-size: .9rem; line-height: 1.45;
}
.hero__caption strong { display: block; font-family: var(--f-head); color: var(--deep); font-size: 1rem; }
.pour { display: block; width: 100%; height: clamp(36px, 5vw, 70px); position: absolute; left: 0; bottom: -1px; fill: var(--white); }
.hero--mist-next .pour { fill: var(--mist-2); }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { width: min(78%, 380px); }
  .hero__caption { left: -4%; }
}

/* ---------- inner page banner (photo) ---------- */
.page-hero { position: relative; overflow: hidden; color: var(--white); min-height: clamp(300px, 34vw, 420px); display: flex; align-items: center; background: var(--deep); }
.page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::before { /* soft brand-blue wash on the text side only, so the photo stays visible */
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(5, 47, 75, .82) 0%, rgba(8, 71, 110, .58) 40%, rgba(8, 71, 110, 0) 72%);
}
.page-hero__text { position: relative; z-index: 2; padding: clamp(48px, 6vw, 72px) 0 clamp(80px, 8vw, 104px); }
.page-hero h1 { color: var(--white); margin-bottom: .3em; max-width: 18ch; text-shadow: 0 2px 18px rgba(5, 47, 75, .35); }
.page-hero .lead { color: #EAF4FA; max-width: 52ch; margin: 0; text-shadow: 0 1px 10px rgba(5, 47, 75, .4); }
.page-hero .pour { z-index: 2; }
.crumbs { font-size: .88rem; margin-bottom: 18px; display: flex; flex-wrap: wrap; gap: 8px; color: #CFE3EF; }
.crumbs a { color: var(--white); text-decoration: none; }
.crumbs a:hover { color: var(--sky); }
@media (max-width: 760px) {
  .page-hero::before { background: linear-gradient(180deg, rgba(5, 47, 75, .45), rgba(5, 47, 75, .72)); }
}

/* ---------- split layout ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split--wide { grid-template-columns: 1.2fr .8fr; }
.split__media img { border-radius: var(--r-lg); }
@media (max-width: 860px) { .split, .split--wide { grid-template-columns: 1fr; } }

.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--line); margin-top: 30px; }
.stat-row div { padding: 18px 18px 0 0; }
.stat-row strong { display: block; font-family: var(--f-head); color: var(--deep); font-size: 1.05rem; }
.stat-row span { color: var(--slate); font-size: .92rem; }
@media (max-width: 560px) { .stat-row { grid-template-columns: 1fr; } }

/* ---------- pillars (what we do) ---------- */
.pillars { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.pillar { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 30px 28px 30px 0; border-bottom: 1px solid var(--line); }
.pillars .pillar:nth-child(odd) { border-right: 1px solid var(--line); }
.pillars .pillar:nth-child(even) { padding-left: 28px; }
.pillar__icon { width: 54px; height: 54px; display: grid; place-items: center; color: var(--sky-ink); background: var(--mist); border-radius: 50% 50% 50% 0; transform: rotate(135deg); }
.pillar__icon .ico { width: 26px; height: 26px; transform: rotate(-135deg); }
.pillar h3 { margin-bottom: .35em; }
.pillar p { margin: 0; color: var(--slate); }
@media (max-width: 760px) {
  .pillars { grid-template-columns: 1fr; }
  .pillars .pillar:nth-child(odd) { border-right: 0; }
  .pillars .pillar:nth-child(even) { padding-left: 0; }
}

/* ---------- vision / mission ---------- */
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); }
.vm__item { background: var(--white); border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; }
.vm__item img { width: 100%; aspect-ratio: 2 / 1; object-fit: cover; }
.vm__body { padding: 28px 30px 32px; }
.vm__body h3 { display: flex; align-items: center; gap: 10px; font-size: 1.45rem; }
.vm__body h3 .ico { color: var(--sky); width: 28px; height: 28px; }
.vm__body p { margin: 0; color: var(--slate); font-size: 1.05rem; }
@media (max-width: 760px) { .vm { grid-template-columns: 1fr; } }

/* ---------- training tracks ---------- */
.tracks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--white); }
.track { padding: 34px 30px 30px; display: flex; flex-direction: column; gap: 12px; }
.track + .track { border-left: 1px solid var(--line); }
.track .ico { width: 34px; height: 34px; color: var(--sky); }
.track h3 { margin: 6px 0 0; }
.track p { color: var(--slate); margin: 0; flex: 1; }
.track ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.track li { font-size: .82rem; background: var(--mist); color: var(--deep); padding: 4px 10px; border-radius: 999px; }
.track a.more { font-family: var(--f-head); font-weight: 600; font-size: .92rem; margin-top: 8px; }
@media (max-width: 900px) { .tracks { grid-template-columns: 1fr; } .track + .track { border-left: 0; border-top: 1px solid var(--line); } }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 190px; gap: 12px; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--r-md); background: var(--mist); }
.gallery figure.tall { grid-row: span 2; }
.gallery figure.wide { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 10px; font-size: .85rem; color: #fff; background: linear-gradient(transparent, rgba(5, 47, 75, .85)); }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; } }

/* ---------- testimonials ---------- */
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 48px); }
.quote { margin: 0; padding: 0 0 0 26px; border-left: 3px solid var(--sky); }
.quote blockquote { margin: 0 0 22px; font-size: 1.05rem; color: var(--ink); }
.quote figcaption { display: flex; align-items: center; gap: 14px; }
.quote img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; }
.quote strong { display: block; font-family: var(--f-head); color: var(--deep); }
.quote span { color: var(--slate); font-size: .92rem; }
@media (max-width: 860px) { .quotes { grid-template-columns: 1fr; } }

/* ---------- logos ---------- */
.logos { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.logos li { background: var(--white); border: 1px solid var(--line); border-radius: var(--r-md); height: 100px; display: grid; place-items: center; padding: 14px; }
.logos img { max-height: 70px; width: auto; object-fit: contain; mix-blend-mode: multiply; }
.logos a { display: grid; place-items: center; width: 100%; height: 100%; }
.logo-group + .logo-group { margin-top: 56px; }
.logo-group h2 { font-size: 1.5rem; display: flex; align-items: center; gap: 12px; }
.logo-group h2 small { font-family: var(--f-body); font-weight: 600; font-size: .85rem; color: var(--slate); background: var(--mist); padding: 2px 10px; border-radius: 999px; }
.empty-note { border: 1px dashed var(--line); border-radius: var(--r-md); padding: 22px; color: var(--slate); margin: 0; }

/* ---------- subscribe band ---------- */
.band { background: var(--sky); color: var(--white); border-radius: var(--r-lg); padding: clamp(32px, 5vw, 56px); display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: center; position: relative; overflow: hidden; }
.band::after { content: ""; position: absolute; right: -60px; bottom: -110px; width: 260px; aspect-ratio: .82; background: rgba(255, 255, 255, .12); -webkit-mask: url("../images/designed/drop-mask.svg") center / contain no-repeat; mask: url("../images/designed/drop-mask.svg") center / contain no-repeat; }
.band h2 { color: var(--white); margin-bottom: .3em; }
.band p { margin: 0; color: #EAF7FD; }
.band form { position: relative; z-index: 1; }
@media (max-width: 860px) { .band { grid-template-columns: 1fr; } }

/* ---------- forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: .88rem; font-weight: 700; margin-bottom: 5px; color: inherit; }
.field input, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; padding: 12px 14px; border-radius: var(--r-sm); border: 1px solid var(--line);
  background: var(--white); color: var(--ink);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--sky); outline-offset: 0; border-color: var(--sky); }
.band .field input { border-color: transparent; }
.band .btn--solid { background: var(--deep); }
.band .btn--solid:hover { background: var(--deeper); }
.hp { position: absolute; left: -5000px; }
.notice-msg { padding: 12px 16px; border-radius: var(--r-sm); margin-bottom: 16px; font-weight: 600; }
.notice-msg--ok { background: #E3F6EC; color: #165C37; }
.notice-msg--error { background: #FDECEC; color: #8A1F1F; }
.band .notice-msg--ok, .band .notice-msg--error { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- lists ---------- */
.ticks { list-style: none; display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.ticks .ico { color: var(--sky); width: 20px; height: 20px; margin-top: 3px; }
.ticks--cols { grid-template-columns: 1fr 1fr; column-gap: 28px; }
@media (max-width: 640px) { .ticks--cols { grid-template-columns: 1fr; } }

/* ---------- objectives page ---------- */
.objective { display: grid; grid-template-columns: 220px 1fr; gap: 32px; padding: 34px 0; border-top: 1px solid var(--line); }
.objective:last-child { border-bottom: 1px solid var(--line); }
.objective__title { display: flex; flex-direction: column; gap: 12px; }
.objective__title .ico { width: 34px; height: 34px; color: var(--sky); }
.objective__title h2 { font-size: 1.25rem; margin: 0; }
.objective p { color: var(--slate); margin: 0; }
@media (max-width: 760px) { .objective { grid-template-columns: 1fr; gap: 14px; } }

.callout { background: var(--deep); color: #DCEBF4; border-radius: var(--r-lg); padding: clamp(28px, 4vw, 44px); font-size: 1.12rem; position: relative; overflow: hidden; }
.callout p { margin: 0; max-width: 70ch; }
.callout::after { content: ""; position: absolute; right: 28px; top: 50%; translate: 0 -50%; width: 70px; aspect-ratio: .82; background: var(--sky); opacity: .35; -webkit-mask: url("../images/designed/drop-mask.svg") center / contain no-repeat; mask: url("../images/designed/drop-mask.svg") center / contain no-repeat; }
.callout--pad { padding-right: 130px; }
@media (max-width: 640px) { .callout--pad { padding-right: 28px; } .callout::after { display: none; } }

/* ---------- people ---------- */
.people { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: clamp(20px, 3vw, 34px); }
.person { text-align: left; }
.portrait {
  aspect-ratio: .82; border-radius: var(--r-lg); overflow: hidden; position: relative; margin-bottom: 16px;
  background: linear-gradient(160deg, var(--mist), #CDEAF8);
}
.portrait::before { /* initials, visible until a photo loads over it */
  content: attr(data-initials); position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--f-head); font-weight: 600; font-size: 3.2rem; color: var(--deep); letter-spacing: .02em;
}
.portrait::after { content: ""; position: absolute; right: 16px; bottom: 16px; width: 26px; aspect-ratio: .82; background: var(--sky); -webkit-mask: url("../images/designed/drop-mask.svg") center / contain no-repeat; mask: url("../images/designed/drop-mask.svg") center / contain no-repeat; }
.portrait img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.person h3 { font-size: 1.1rem; margin-bottom: .2em; }
.person p { margin: 0; color: var(--slate); font-size: .95rem; line-height: 1.45; }
.person a { font-size: .92rem; }

/* ---------- training page ---------- */
.track-detail { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(28px, 5vw, 70px); align-items: start; scroll-margin-top: 110px; }
.track-detail + .track-detail { margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line); }
.track-detail h2 { display: flex; align-items: center; gap: 14px; }
.track-detail h2 .ico { width: 36px; height: 36px; color: var(--sky); }
.track-detail p { color: var(--slate); }
.track-detail--single { grid-template-columns: 1fr; }
.track-detail--single > div { max-width: 72ch; }
.callout a { color: var(--white); font-weight: 700; }
.callout a:hover { color: #BFE9FA; }
.focus-box { background: var(--mist-2); border: 1px solid var(--line); border-radius: var(--r-md); padding: 26px 28px; }
.focus-box h3 { font-size: 1.05rem; margin-bottom: .8em; }
.modules { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 30px; }
.module { border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px 24px; background: var(--white); }
.module h3 { font-size: 1.02rem; }
.module ul { list-style: none; display: grid; gap: 6px; }
.module li { padding-left: 18px; position: relative; color: var(--slate); font-size: .96rem; }
.module li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--sky); }
@media (max-width: 860px) { .track-detail, .modules { grid-template-columns: 1fr; } }

/* ---------- programs ---------- */
.program { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.program + .program { margin-top: clamp(56px, 7vw, 96px); }
.program:nth-child(even) .program__media { order: 2; }
.program__media { border-radius: var(--r-lg); overflow: hidden; background: var(--mist); }
.program__media img, .program__media iframe { width: 100%; aspect-ratio: 16 / 10; border: 0; display: block; object-fit: cover; }
.program__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--slate); font-size: .92rem; margin-bottom: 12px; }
.program__meta span { display: inline-flex; align-items: center; gap: 6px; }
.program__meta .ico { color: var(--sky); }
.program p { color: var(--slate); }
@media (max-width: 860px) { .program { grid-template-columns: 1fr; } .program:nth-child(even) .program__media { order: 0; } }

/* ---------- notices ---------- */
.notices { list-style: none; border-top: 1px solid var(--line); }
.notice { display: grid; grid-template-columns: 110px 1fr auto; gap: 24px; align-items: center; padding: 24px 0; border-bottom: 1px solid var(--line); }
.notice__date { font-family: var(--f-head); color: var(--deep); line-height: 1.1; }
.notice__date strong { display: block; font-size: 2rem; font-weight: 600; }
.notice__date span { font-size: .9rem; color: var(--slate); }
.notice h2 { font-size: 1.12rem; margin: 0; }
.notice__links { display: flex; gap: 10px; flex-wrap: wrap; }
.notice__links .btn { padding: .55em 1.1em; font-size: .86rem; }
@media (max-width: 700px) { .notice { grid-template-columns: 80px 1fr; } .notice__links { grid-column: 2; } }

/* ---------- newsletter ---------- */
.years { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.year { display: block; text-decoration: none; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 26px 24px; background: var(--white); color: var(--ink); transition: border-color .2s; }
.year:hover { border-color: var(--sky); color: var(--ink); }
.year strong { display: block; font-family: var(--f-head); font-size: 2.2rem; color: var(--deep); font-weight: 600; }
.year span { color: var(--slate); font-size: .95rem; }
.tabs { display: inline-flex; background: var(--mist); border-radius: 999px; padding: 4px; margin-bottom: 26px; }
.tabs button { font: 600 .95rem var(--f-head); border: 0; background: none; padding: .6em 1.3em; border-radius: 999px; cursor: pointer; color: var(--deep); }
.tabs button[aria-selected="true"] { background: var(--white); box-shadow: 0 2px 8px -2px rgba(8, 71, 110, .25); }
.issues { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.issues a { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-md); text-decoration: none; color: var(--ink); background: var(--white); }
.issues a:hover { border-color: var(--sky); }
.issues .ico { color: var(--sky); width: 22px; height: 22px; }
.issues small { display: block; color: var(--slate); font-size: .8rem; }
.issues b { font-family: var(--f-head); font-weight: 600; color: var(--deep); }
.month { margin-top: 26px; }
.month:first-child { margin-top: 0; }
.month h3 { font-size: 1rem; color: var(--slate); font-family: var(--f-body); font-weight: 700; margin-bottom: 10px; }
[role="tabpanel"][hidden] { display: none; }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 64px); }
.contact-list { list-style: none; display: grid; gap: 26px; margin: 26px 0 32px; }
.contact-list li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; }
.contact-list .ico-wrap { width: 48px; height: 48px; display: grid; place-items: center; background: var(--mist); color: var(--sky-ink); border-radius: 50%; }
.contact-list .ico { width: 22px; height: 22px; }
.contact-list h3 { font-size: 1rem; margin: 0 0 2px; }
.contact-list p { margin: 0; color: var(--slate); }
.form-card { background: var(--mist-2); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); }
.map { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); }
.map iframe { width: 100%; height: 320px; border: 0; display: block; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.site-foot { background: var(--deeper); color: #B9D2E2; position: relative; padding-top: clamp(80px, 9vw, 120px); font-size: .95rem; }
.pour--foot { top: -1px; bottom: auto; fill: var(--white); }
.section--mist + .site-foot .pour--foot, .site-foot.after-mist .pour--foot { fill: var(--mist-2); }
.site-foot__grid { display: grid; grid-template-columns: 1.4fr .8fr .8fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.foot-logo { display: inline-block; background: var(--white); border-radius: var(--r-md); padding: 8px 14px; margin-bottom: 18px; }
.foot-logo img { height: 50px; width: auto; }
.foot-brand p { max-width: 36ch; }
.foot-social { display: flex; gap: 10px; }
.foot-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); display: grid; place-items: center; color: #E4F1F8; }
.site-foot .foot-social a:hover, .site-foot .foot-social a:focus-visible { background: var(--sky); border-color: var(--sky); color: var(--white); text-decoration: none; }
.site-foot h2 { color: var(--white); font-size: 1rem; margin-bottom: 14px; }
.foot-col ul { list-style: none; display: grid; gap: 8px; }
.site-foot a { color: #E4F1F8; text-decoration: none; }
.site-foot a:hover { color: var(--sky); text-decoration: underline; }
.foot-contact p { display: grid; grid-template-columns: 20px 1fr; gap: 10px; margin-bottom: 12px; }
.foot-contact .ico { color: var(--sky); margin-top: 4px; }
.foot-base { border-top: 1px solid rgba(255, 255, 255, .12); padding: 20px 0 26px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .86rem; }
.foot-base p { margin: 0; }
@media (max-width: 900px) { .site-foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-foot__grid { grid-template-columns: 1fr; } }

/* ---------- back to top ---------- */
.to-top {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center; background: var(--sky); color: var(--white); text-decoration: none;
  box-shadow: 0 10px 24px -10px rgba(5, 47, 75, .6); opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .2s, transform .2s, visibility .2s, background-color .2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover, .to-top:focus-visible { background: var(--deep); color: var(--white); }
.to-top .ico { width: 22px; height: 22px; }

/* ---------- missing newsletter file ---------- */
.issues .is-missing { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px dashed var(--line); border-radius: var(--r-md); color: var(--slate); background: var(--mist-2); }
.issues .is-missing .ico { color: #9BB3C2; }
.issues .is-missing b { color: var(--slate); }

/* ---------- 404-ish / misc ---------- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-l { margin-top: clamp(32px, 4vw, 52px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; }
}
