/* Blossom Training: Aesthetic Injectables Academy
   Visual world: "The Institute". Deep navy and porcelain, black three-ring mark,
   Source Serif 4 for display, Public Sans for reading. One accent (rose) used sparingly. */

:root {
  --ink: #0E1830;
  --navy: #14213D;
  --navy-2: #1D2C4F;
  --porcelain: #F4F5F8;
  --paper: #FFFFFF;
  --line: #D9DEE7;
  --line-soft: #E8EBF1;
  --text: #14213D;
  --text-2: #3C475E;
  --text-3: #5A6478;
  --on-dark: #FFFFFF;
  --on-dark-2: #C3CAD8;
  --on-dark-3: #9AA3B5;
  --rose: #B3264F;
  --rose-deep: #8F1D3F;
  --rose-wash: #F8E9EE;
  --mark: #111111;

  --serif: "Source Serif 4", "Iowan Old Style", Georgia, serif;
  --sans: "Public Sans", "Helvetica Neue", system-ui, sans-serif;

  --gutter: clamp(20px, 5vw, 72px);
  --max: 1296px;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow-lift: 0 1px 2px rgba(14, 24, 48, 0.06), 0 18px 48px -12px rgba(14, 24, 48, 0.22);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--porcelain);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; height: auto; }
::selection { background: var(--navy); color: #fff; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:hover { color: var(--rose-deep); }
:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 2px; }
html { scrollbar-color: #B7BFCD var(--porcelain); }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.012em;
  margin: 0;
  text-wrap: balance;
  font-optical-sizing: auto;
}
h1 { font-size: clamp(2.5rem, 4.4vw, 4.25rem); }
h2 { font-size: clamp(2rem, 3.2vw, 2.9rem); }
h3 { font-size: clamp(1.35rem, 1.8vw, 1.6rem); line-height: 1.2; }
h4 { font-size: 1.2rem; line-height: 1.25; }
p { margin: 0; max-width: 68ch; text-wrap: pretty; }
.lead { font-size: clamp(1.1rem, 1.4vw, 1.25rem); line-height: 1.6; color: var(--text-2); }
.muted { color: var(--text-3); }
.num { font-variant-numeric: tabular-nums lining-nums; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 9vw, 128px); }
.section.tight { padding-block: clamp(56px, 6vw, 88px); }
.section.paper { background: var(--paper); }
.section.dark { background: var(--ink); color: var(--on-dark); }
.section.dark .lead, .section.dark p { color: var(--on-dark-2); }
.section.dark a:not(.btn), .panel.dark a:not(.btn), .cta a:not(.btn), .band a:not(.btn) { color: #fff; }
.section.dark a:not(.btn):hover, .panel.dark a:not(.btn):hover, .cta a:not(.btn):hover, .band a:not(.btn):hover, .utility a:hover, .skip-link:hover { color: #fff; }
.stack { display: flex; flex-direction: column; gap: 20px; }
.stack-lg { display: flex; flex-direction: column; gap: clamp(36px, 4vw, 56px); }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px;
  font: 600 16px/1 var(--sans); letter-spacing: 0.005em;
  border-radius: var(--radius); border: 1px solid transparent;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--ink); color: #fff; }
.btn-accent { background: var(--rose); color: #fff; }
.btn-accent:hover { background: var(--rose-deep); color: #fff; }
.btn-ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-ghost:hover { background: var(--navy); color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--porcelain); color: var(--ink); }
.btn-outline-light { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn-outline-light:hover { background: rgba(255,255,255,.1); border-color: #fff; color: #fff; }
.btn .icon { width: 18px; height: 18px; transition: transform 200ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .btn:hover .icon { transform: translateX(3px); } }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.text-link { position: relative; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
a.text-link::before { content: ""; position: absolute; inset: -12px -6px; }
.text-link .icon { width: 16px; height: 16px; }

.icon { width: 20px; height: 20px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Utility bar + header */
.utility { background: var(--ink); color: var(--on-dark-2); font-size: 13.5px; }
.utility .wrap { display: flex; justify-content: space-between; gap: 16px; padding-block: 9px; }
.utility a { color: #fff; text-decoration: none; }
.utility a:hover { text-decoration: underline; }
@media (max-width: 760px) { .utility .hide-sm { display: none; } }
@media (max-width: 420px) { .brand-name span { display: none; } .brand svg { width: 34px; height: 34px; } }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow 240ms ease; }
.site-header.scrolled { box-shadow: 0 8px 28px -18px rgba(14,24,48,.45); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 78px; }
.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; color: var(--mark); }
.brand svg { width: 38px; height: 38px; flex: none; }
.brand-name { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name strong { font: 600 21px/1.05 var(--serif); letter-spacing: -0.01em; color: var(--mark); }
.brand-name span { font-size: 12px; letter-spacing: 0.04em; color: var(--text-3); margin-top: 3px; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2vw, 30px); }
.nav a.nav-link { font-size: 15px; font-weight: 500; color: var(--text); text-decoration: none; padding-block: 6px; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 260ms var(--ease-out); }
.nav a.nav-link:hover, .nav a.nav-link[aria-current="page"] { background-size: 100% 1px; color: var(--ink); }
.nav a.nav-link[aria-current="page"] { font-weight: 600; }
.nav .btn { min-height: 44px; padding: 0 18px; font-size: 15px; }
.menu-toggle { display: none; align-items: center; justify-content: center; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; color: var(--ink); cursor: pointer; }
.menu-toggle .icon { width: 22px; height: 22px; }
@media (max-width: 1100px) {
  .menu-toggle { display: inline-flex; }
  .nav { position: fixed; inset: 78px 0 auto 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px; border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgba(14,24,48,.4); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: transform 220ms var(--ease-out), opacity 180ms ease, visibility 0s linear 220ms; max-height: calc(100dvh - 78px); overflow-y: auto; }
  .nav.open { transform: none; opacity: 1; visibility: visible; transition: transform 220ms var(--ease-out), opacity 180ms ease; }
  .nav a.nav-link { font-size: 18px; padding: 15px 0; border-bottom: 1px solid var(--line-soft); background: none; }
  .nav .btn { margin-top: 16px; min-height: 52px; }
}

/* Breadcrumb */
.crumbs { font-size: 14px; color: var(--text-3); display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--line); }
.crumbs a { color: var(--text-3); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

/* Home hero */
.hero { position: relative; background: var(--ink); }
.hero-media { position: relative; height: clamp(440px, 60vh, 680px); overflow: hidden; }
.hero-media video, .hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; }
.hero-media video { opacity: 0; transition: opacity 900ms var(--ease-out); }
.hero-media video.is-playing { opacity: 1; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,24,48,.38) 0%, rgba(14,24,48,0) 45%), linear-gradient(0deg, rgba(14,24,48,.35), rgba(14,24,48,0) 40%); }
.hero-card-wrap { position: relative; margin-top: calc(clamp(120px, 14vw, 200px) * -1); z-index: 2; }
.hero-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); padding: clamp(28px, 3.4vw, 48px); max-width: 780px; display: flex; flex-direction: column; gap: 22px; }
.hero-card h1 { font-size: clamp(2.2rem, 3.5vw, 3.3rem); }
.hero-card .lead { max-width: 56ch; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 14.5px; color: var(--text-3); padding-top: 18px; border-top: 1px solid var(--line-soft); }
.hero-facts span { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts .icon { width: 17px; height: 17px; color: var(--rose); }

@media (prefers-reduced-motion: no-preference) {
  .hero-media img { animation: heroFade 1400ms var(--ease-out) both; }
  .hero-card { animation: heroCard 900ms var(--ease-out) 250ms both; }
  .hero-card > * { animation: heroRise 700ms var(--ease-out) both; }
  .hero-card > *:nth-child(1) { animation-delay: 420ms; }
  .hero-card > *:nth-child(2) { animation-delay: 500ms; }
  .hero-card > *:nth-child(3) { animation-delay: 580ms; }
  .hero-card > *:nth-child(4) { animation-delay: 660ms; }
}
@keyframes heroFade { from { opacity: 0; transform: scale(1.04); } to { opacity: 1; transform: none; } }
@keyframes heroCard { from { clip-path: inset(100% 0 0 0 round 10px); transform: translateY(24px); } to { clip-path: inset(0 0 0 0 round 10px); transform: none; } }
@keyframes heroRise { from { opacity: 0; transform: translateY(12px); filter: blur(3px); } to { opacity: 1; transform: none; filter: none; } }

/* Credentials band */
.creds { background: var(--paper); border-bottom: 1px solid var(--line); }
.creds .wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.cred { padding: 36px 36px 38px 0; display: flex; flex-direction: column; gap: 8px; }
.cred + .cred { padding-left: 36px; border-left: 1px solid var(--line); }
.cred-visual { height: 48px; display: flex; align-items: center; margin-bottom: 10px; }
.cred strong { font: 600 1.2rem/1.3 var(--serif); color: var(--text); }
.cred p { font-size: 15px; color: var(--text-2); }
.cred-seal { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: #fff; }
.cred-seal .icon { width: 22px; height: 22px; }
.stars { display: inline-flex; gap: 3px; color: #B7862A; }
.stars svg { width: 18px; height: 18px; fill: currentColor; stroke: none; }
.rating { gap: 14px; }
.rating b { font: 600 2.6rem/1 var(--serif); color: var(--text); }
@media (max-width: 960px) {
  .creds .wrap { grid-template-columns: 1fr; }
  .cred { padding: 28px 0; }
  .cred + .cred { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}

/* Split feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.split.wide-media { grid-template-columns: 1.15fr 1fr; }
.split .media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); }
.split .media.landscape img { aspect-ratio: 4 / 3; }
@media (max-width: 900px) { .split, .split.wide-media { grid-template-columns: 1fr; } .split .media { order: -1; } }

.points { display: grid; gap: 0; border-top: 1px solid var(--line); }
.point { display: grid; grid-template-columns: 34px 1fr; gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.point .icon { width: 24px; height: 24px; color: var(--rose); margin-top: 3px; }
.point h3 { font-size: 1.28rem; margin-bottom: 6px; }
.point p { color: var(--text-2); font-size: 16px; }
.section.dark .point, .section.dark .points { border-color: rgba(255,255,255,.14); }
.section.dark .point .icon { color: #F19AB6; }

/* Section header */
.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; margin-bottom: clamp(36px, 4vw, 56px); }
.section-head.row { max-width: none; flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 32px; }
@media (max-width: 800px) { .section-head.row { flex-direction: column; align-items: flex-start; } }

/* Programme list (home + catalogue) */
.programmes { display: grid; gap: 18px; }
.prog {
  display: grid; grid-template-columns: 300px 1fr auto; gap: clamp(20px, 3vw, 40px); align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 14px clamp(20px, 2.4vw, 32px) 14px 14px;
  text-decoration: none; color: var(--text);
  transition: border-color 220ms ease, box-shadow 260ms var(--ease-out), transform 260ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { a.prog:hover { border-color: #B9C2D2; box-shadow: var(--shadow-lift); transform: translateY(-2px); color: var(--text); } }
.prog img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; }
.prog-body { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.prog-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; align-items: center; min-height: 26px; padding: 0 10px; font-size: 13px; font-weight: 600; border-radius: 999px; background: var(--porcelain); color: var(--text-2); border: 1px solid var(--line-soft); }
.tag.level { background: var(--navy); color: #fff; border-color: var(--navy); }
.prog h3 { font-size: clamp(1.4rem, 2vw, 1.75rem); }
.prog p { color: var(--text-2); font-size: 16px; }
.prog-price { text-align: right; display: flex; flex-direction: column; gap: 4px; align-items: flex-end; min-width: 150px; }
.prog-price b { font: 600 1.7rem/1 var(--serif); font-variant-numeric: lining-nums; }
.prog-price span { font-size: 13px; color: var(--text-3); }
.prog-price .text-link { margin-top: 12px; font-size: 15px; }
@media (max-width: 980px) {
  .prog { grid-template-columns: 1fr; padding: 14px 14px 24px; }
  .prog-body, .prog-price { padding-inline: 8px; }
  .prog-price { text-align: left; align-items: flex-start; }
}

/* Pathway sequence */
.pathway { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: step; }
.step { position: relative; padding: 0 28px 0 0; display: flex; flex-direction: column; gap: 12px; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; font: 600 17px/1 var(--serif); position: relative; z-index: 1; }
.step::after { content: ""; position: absolute; top: 22px; left: 44px; right: 0; height: 1px; background: var(--line); }
.step:last-child::after { display: none; }
.step h3 { font-size: 1.3rem; }
.step p { font-size: 15.5px; color: var(--text-2); }
.step .step-when { font-size: 13.5px; font-weight: 600; color: var(--rose-deep); }
@media (max-width: 900px) {
  .pathway { grid-template-columns: 1fr; gap: 28px; }
  .step { padding: 0 0 0 64px; }
  .step::before { position: absolute; left: 0; top: 0; }
  .step::after { top: 44px; bottom: -28px; left: 22px; right: auto; width: 1px; height: auto; }
}

/* Day timeline */
.day { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr); gap: clamp(36px, 5vw, 80px); align-items: start; }
.timeline { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.16); }
.timeline li { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.timeline time { font-weight: 600; color: #F19AB6; font-variant-numeric: tabular-nums; }
.timeline strong { display: block; color: #fff; font-weight: 600; }
.timeline span { color: var(--on-dark-2); font-size: 15.5px; }
.section:not(.dark) .timeline { border-color: var(--line); }
.section:not(.dark) .timeline li { border-color: var(--line); }
.section:not(.dark) .timeline time { color: var(--rose-deep); }
.section:not(.dark) .timeline strong { color: var(--text); }
.section:not(.dark) .timeline span { color: var(--text-2); }
@media (max-width: 900px) { .day { grid-template-columns: 1fr; } .timeline li { grid-template-columns: 84px 1fr; } }

/* Trend grid */
.trends { display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.trend { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--ink); color: #fff; min-height: 300px; display: flex; align-items: flex-end; text-decoration: none; isolation: isolate; }
.trend img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 700ms var(--ease-out); }
.trend::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(14,24,48,0) 35%, rgba(14,24,48,.86) 100%); }
@media (hover: hover) and (pointer: fine) { a.trend:hover img { transform: scale(1.04); } a.trend:hover { color: #fff; } }
.trend .trend-body { padding: 26px; display: flex; flex-direction: column; gap: 6px; }
.trend h3 { font-size: 1.45rem; color: #fff; }
.trend p { font-size: 15px; color: #DDE2EC; }
.trend.feature { grid-row: span 2; min-height: 620px; }
.trend.feature h3 { font-size: clamp(1.7rem, 2.4vw, 2.2rem); }
.trend.wide { grid-column: span 2; }
@media (max-width: 960px) { .trends { grid-template-columns: 1fr 1fr; } .trend.feature { grid-row: auto; grid-column: span 2; min-height: 460px; } .trend.wide { grid-column: span 2; } }
@media (max-width: 600px) { .trends { grid-template-columns: 1fr; } .trend.feature, .trend.wide { grid-column: auto; } }

/* Image band with overlay text (stay) */
.band { position: relative; background: var(--ink); min-height: 560px; display: flex; align-items: flex-end; color: #fff; overflow: hidden; isolation: isolate; }
.band > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(14,24,48,.82) 0%, rgba(14,24,48,.5) 45%, rgba(14,24,48,.05) 80%); }
.band .wrap { padding-block: clamp(64px, 8vw, 110px); }
.band .stack { max-width: 600px; }
.band p { color: #E3E7EF; }
.band h2 { color: #fff; }
@media (max-width: 760px) {
  .band { min-height: 620px; }
  .band::before { background: linear-gradient(180deg, rgba(14,24,48,.25) 0%, rgba(14,24,48,.7) 38%, rgba(14,24,48,.92) 100%); }
}

/* Two-column info cards */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(28px, 3vw, 44px); display: flex; flex-direction: column; gap: 14px; }
.panel.dark { background: var(--navy); color: #fff; border-color: var(--navy); }
.panel.dark p, .panel.dark li { color: var(--on-dark-2); }
.panel h3 { font-size: 1.55rem; }
.panel p { color: var(--text-2); }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checklist li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; color: var(--text-2); }
.checklist .icon { width: 20px; height: 20px; color: var(--rose); margin-top: 3px; stroke-width: 2; }
.panel.dark .checklist .icon, .section.dark .checklist .icon { color: #F19AB6; }
.section.dark .checklist li { color: var(--on-dark-2); }

/* FAQ */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; font: 600 1.2rem/1.35 var(--serif); color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 22px; height: 22px; transition: transform 240ms var(--ease-out); color: var(--text-3); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq .answer { padding: 0 0 24px; color: var(--text-2); display: flex; flex-direction: column; gap: 12px; max-width: 72ch; }

/* CTA band */
.cta { background: var(--ink); color: #fff; }
.cta .wrap { display: grid; grid-template-columns: 1.3fr auto; gap: 40px; align-items: center; padding-block: clamp(64px, 7vw, 96px); }
.cta h2 { color: #fff; }
.cta p { color: var(--on-dark-2); margin-top: 14px; }
@media (max-width: 860px) { .cta .wrap { grid-template-columns: 1fr; } }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
table { width: 100%; border-collapse: collapse; min-width: 760px; font-size: 15.5px; }
th, td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
thead th { background: #EDF0F5; font-size: 13px; font-weight: 700; letter-spacing: 0.02em; color: var(--text-3); }
tbody th { font: 600 1.05rem/1.3 var(--serif); color: var(--text); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
td.price { font-variant-numeric: tabular-nums lining-nums; font-weight: 600; white-space: nowrap; }

/* Page hero (inner pages) */
.page-hero { background: var(--paper); border-bottom: 1px solid var(--line); }
.page-hero .wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(36px, 5vw, 80px); align-items: center; padding-block: clamp(40px, 5vw, 72px); }
.page-hero .stack { gap: 22px; }
.page-hero img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-lg); }
.page-hero.plain .wrap { grid-template-columns: 1fr; }
@media (max-width: 900px) { .page-hero .wrap { grid-template-columns: 1fr; } }

/* Course page layout */
.course { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(36px, 5vw, 72px); align-items: start; }
.course-main { display: flex; flex-direction: column; gap: clamp(48px, 5vw, 72px); min-width: 0; }
.course-main section { display: flex; flex-direction: column; gap: 20px; scroll-margin-top: 110px; }
.book-box { position: sticky; top: 104px; background: #fff; border: 0; border-radius: var(--radius-lg); box-shadow: var(--shadow-lift); padding: 30px; display: flex; flex-direction: column; gap: 18px; }
.book-box .price { font: 600 2.4rem/1 var(--serif); font-variant-numeric: lining-nums; }
.book-box .price .from { display: block; font: 500 14px/1.3 var(--sans); color: var(--text-3); margin-bottom: 6px; }
.book-box .price small { font: 500 14px/1.3 var(--sans); color: var(--text-3); display: block; margin-top: 8px; }
.facts { display: grid; gap: 0; margin: 0; }
.facts div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line-soft); font-size: 15px; }
.facts dt { color: var(--text-3); }
.facts dd { margin: 0; font-weight: 500; }
.option { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.option b { font-variant-numeric: tabular-nums lining-nums; }
.book-box .btn { width: 100%; }
.book-box .note { font-size: 13.5px; color: var(--text-3); }
@media (max-width: 1020px) { .course { grid-template-columns: 1fr; } .book-box { position: static; } }

.modules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px; border-top: 1px solid var(--line); }
.module { padding: 20px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.module h3 { font-size: 1.35rem; line-height: 1.25; }
.module p { font-size: 15.5px; color: var(--text-2); }
@media (max-width: 700px) { .modules { grid-template-columns: 1fr; } }

.onpage { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14.5px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.onpage a { color: var(--text-2); text-decoration: none; }
.onpage a:hover { color: var(--ink); text-decoration: underline; }

/* Catalogue filter */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--text); font: 500 15px/1 var(--sans); cursor: pointer; transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 160ms var(--ease-out); }
.chip:active { transform: scale(0.97); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.prog[hidden] { display: none; }

/* Educators */
.educators { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.educator { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; }
.educator > img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.educator .body { padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 14px; flex: 1; }
.educator .role { font-size: 14px; font-weight: 600; color: var(--rose-deep); }
.badge-line { display: flex; align-items: center; gap: 10px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line-soft); font-size: 14px; font-weight: 600; color: var(--text); max-width: none; }
.badge-line .icon { width: 18px; height: 18px; color: var(--rose); stroke-width: 2; }
@media (max-width: 860px) { .educators { grid-template-columns: 1fr; } }

/* Forms */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 20px; }
.form .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .field legend { font-size: 14.5px; font-weight: 600; color: var(--text); }
.field .hint { font-size: 13.5px; color: var(--text-3); }
.field input, .field select, .field textarea {
  font: 400 16px/1.4 var(--sans); color: var(--text); background: #fff;
  border: 1px solid #B9C2D2; border-radius: var(--radius); padding: 13px 14px; min-height: 50px; width: 100%;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(20,33,61,.18); }
.field input::placeholder, .field textarea::placeholder { color: #6B7488; }
.field .error { font-size: 13.5px; color: #A11B3A; display: none; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #A11B3A; }
.field.invalid .error { display: block; }
.consent { display: grid; grid-template-columns: 22px 1fr; gap: 12px; font-size: 14.5px; color: var(--text-2); align-items: start; }
.consent input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy); }
.form-status { grid-column: 1 / -1; padding: 16px 18px; border-radius: var(--radius); background: #EAF2EC; color: #1E4D2E; font-size: 15px; display: none; }
.form-status.show { display: block; }
.form-status.error { background: #FBEAEC; color: #8A1731; }
.form-privacy { font-size: 13.5px; color: var(--text-3); max-width: 70ch; }
.panel .form-privacy { color: var(--text-3); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
button[disabled] { opacity: .7; cursor: progress; }
@media (max-width: 700px) { .form { grid-template-columns: 1fr; } }

.contact-card { display: flex; flex-direction: column; gap: 18px; }
.contact-line { display: grid; grid-template-columns: 24px 1fr; gap: 12px; color: var(--text-2); font-size: 16px; }
.contact-line .icon { color: var(--rose); margin-top: 3px; }

/* Journal article */
.article { max-width: 760px; margin-inline: auto; display: flex; flex-direction: column; gap: 22px; }
.article p { font-size: 18px; line-height: 1.75; color: var(--text-2); }
.trend-entry { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(28px, 4vw, 64px); align-items: center; padding-block: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.trend-entry:nth-of-type(even) .trend-img { order: 2; }
.trend-entry .trend-img img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-lg); }
.trend-entry .stack { gap: 16px; }
.trend-entry .taught { font-size: 14.5px; color: var(--text-3); padding-top: 14px; border-top: 1px solid var(--line-soft); }
@media (max-width: 860px) { .trend-entry { grid-template-columns: 1fr; } .trend-entry:nth-of-type(even) .trend-img { order: 0; } }

/* Notice */
.notice { font-size: 14px; color: var(--text-3); border-top: 1px solid var(--line); padding-top: 18px; max-width: 80ch; }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-dark-2); font-size: 15px; }
.site-footer .wrap { padding-block: clamp(56px, 6vw, 84px) 36px; display: flex; flex-direction: column; gap: 48px; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-brand { display: flex; flex-direction: column; gap: 18px; }
.footer-brand .brand { color: #fff; }
.footer-brand .brand strong { color: #fff; }
.footer-brand .brand span { color: var(--on-dark-3); }
.site-footer h2 { font: 600 16px/1.2 var(--sans); letter-spacing: 0.01em; color: #fff; margin-bottom: 16px; text-transform: none; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer a { color: var(--on-dark-2); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.12); font-size: 13.5px; color: var(--on-dark-3); }
.footer-bottom p { max-width: 90ch; }
.footer-sign { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; text-align: right; }
.site-footer .powered { display: inline-flex; align-items: center; gap: 8px; min-height: 24px; color: var(--on-dark-3); text-decoration: none; white-space: nowrap; transition: color 200ms ease; }
.powered img { height: 14px; width: auto; opacity: .6; transition: opacity 200ms ease; }
.site-footer .powered:hover { color: #fff; text-decoration: none; }
.powered:hover img { opacity: 1; }
@media (max-width: 760px) { .footer-sign { align-items: flex-start; text-align: left; } }
.footer-cred { margin-top: 10px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); max-width: 340px; }
.footer-cred .cannz-mini { display: inline-flex; padding-block: 4px; }
.cannz-mini img { height: 15px; width: auto; opacity: .55; transition: opacity 200ms ease; }
.cannz-mini:hover img { opacity: 1; }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* Reveal: content is visible by default; JS adds .reveal-ready only when motion is allowed */
@media (prefers-reduced-motion: no-preference) {
  .reveal-ready [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); }
  .reveal-ready [data-reveal].in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
