/* ==========================================================================
   CETI — site styles (shared by index.html and masterclass.html)

   Corporate programme-page language: bold CETI-blue bands, a key-facts strip,
   condensed bold headings, white / light-grey section rhythm.
   Copper and teal are kept only to colour-code Plant vs Digital services.
   Mobile-first. Blue / navy sections re-map the colour tokens, so components work everywhere.
   ========================================================================== */

:root {
  --brand: #1B45C4;
  --brand-dark: #12308F;
  --brand-tint: #E8EEFC;
  --sun: #FFD166;

  --white: #FFFFFF;
  --grey: #F3F5F9;
  --ink: #1A2233;
  --ink-soft: #4B5565;
  --line: rgba(26, 34, 51, .12);
  --line-strong: rgba(26, 34, 51, .22);
  --surface: #FFFFFF;
  --surface-2: #F3F5F9;

  --navy: #0B1733;
  --navy-2: #13234A;
  --on-dark: #FFFFFF;
  --on-dark-soft: #C9D3EC;

  --copper: #B93F0F;
  --copper-tint: #FBEBE2;
  --teal: #0B6E73;
  --teal-tint: #E3F2F1;
  --wa: #25D366;
  --wa-ink: #0B1B12;

  --accent: var(--brand);
  --accent-tint: var(--brand-tint);
  --btn-bg: var(--brand);
  --btn-ink: #FFFFFF;

  --radius: 12px;
  --radius-sm: 8px;
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 76px;
  --shadow-sm: 0 1px 2px rgba(26, 34, 51, .06), 0 4px 14px -6px rgba(26, 34, 51, .14);
  --shadow: 0 1px 2px rgba(26, 34, 51, .06), 0 20px 44px -20px rgba(26, 34, 51, .32);

  --font-head: 'Barlow Semi Condensed', 'Arial Narrow', 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* Bold blue bands */
.section--blue, .hero, .page-hero, .bridge {
  --ink: #FFFFFF;
  --ink-soft: #DCE4FA;
  --line: rgba(255, 255, 255, .2);
  --line-strong: rgba(255, 255, 255, .38);
  --surface: rgba(255, 255, 255, .09);
  --surface-2: rgba(5, 16, 50, .22);
  --accent: var(--sun);
  --accent-tint: rgba(255, 209, 102, .16);
  --copper: #FFC09F;
  --copper-tint: rgba(255, 192, 159, .16);
  --teal: #8BE9E1;
  --teal-tint: rgba(139, 233, 225, .14);
  --btn-bg: #FFFFFF;
  --btn-ink: var(--brand-dark);
  background-color: var(--brand);
  color: var(--ink);
}
/* Dark navy (contact, footer, ticker) */
.section--navy, .site-footer, .ticker {
  --ink: #FFFFFF;
  --ink-soft: var(--on-dark-soft);
  --line: rgba(255, 255, 255, .12);
  --line-strong: rgba(255, 255, 255, .26);
  --surface: var(--navy-2);
  --surface-2: var(--navy);
  --accent: var(--sun);
  --accent-tint: rgba(255, 209, 102, .14);
  --copper: #F2875A;
  --copper-tint: rgba(242, 135, 90, .14);
  --teal: #4FD1C9;
  --teal-tint: rgba(79, 209, 201, .13);
  --btn-bg: #FFFFFF;
  --btn-ink: var(--navy);
  background-color: var(--navy);
  color: var(--ink);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 106.25%; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
html:has(.subnav) { scroll-padding-top: calc(var(--header-h) + 72px); }
html.text-lg { font-size: 118.75%; }
@media (min-width: 1024px) {
  html { font-size: 112.5%; }
  html.text-lg { font-size: 125%; }
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--font-body); font-size: 1rem; line-height: 1.7;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip;
}
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.08; letter-spacing: 0; margin: 0; }
p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 4px; box-shadow: 0 0 0 6px var(--brand-dark); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link {
  position: fixed; left: 12px; top: -64px; z-index: 100; padding: 12px 18px; border-radius: 8px;
  background: var(--brand-dark); color: #fff; font-weight: 600; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

/* Custom service icons (inline SVG sprite, drawn on a 32px grid). */
.ic-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ic { width: 1em; height: 1em; flex: none; overflow: visible; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Sections & type ---------- */
.section { position: relative; padding-block: clamp(64px, 8.5vw, 112px); }
.section--white { background: var(--white); }
.section--grey { background: var(--grey); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text, var(--accent));
}
.eyebrow::before { content: ""; width: 28px; height: 3px; background: currentColor; }

.section-head { max-width: 820px; margin-bottom: clamp(32px, 4.5vw, 52px); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.h2 { margin-top: 12px; font-size: clamp(2.1rem, 4.4vw, 3.3rem); }
.h2 em, .hero__title em, .page-hero h1 em { font-style: normal; color: var(--accent-text, var(--accent)); }
.h2 em.t-teal { color: var(--teal); }
.lead { margin-top: 16px; max-width: 66ch; font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--ink-soft); }
.section-head--center .lead { margin-inline: auto; }
.muted { color: var(--ink-soft); }

/* ---------- Buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 13px 26px; border-radius: 8px; border: 2px solid transparent;
  font-size: 1rem; font-weight: 700; line-height: 1.25; text-align: center; text-decoration: none;
  cursor: pointer; background: none;
  transition: transform .2s var(--ease), box-shadow .25s, background-color .25s, border-color .25s, color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: none; }
.btn i { font-size: 1.15em; }
.btn--primary { background: var(--btn-bg); color: var(--btn-ink); }
.btn--primary:hover { box-shadow: 0 14px 28px -14px rgba(0, 0, 0, .55); }
.btn--wa { background: var(--wa); color: var(--wa-ink); }
.btn--wa:hover { box-shadow: 0 14px 28px -12px rgba(37, 211, 102, .8); }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--sm { min-height: 44px; padding: 8px 18px; font-size: 15px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.link-wa { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; font-size: .95rem; color: var(--ink); text-decoration: none; }
.link-wa i { color: #1A9E4B; font-size: 1.25rem; }
.link-wa span { text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 4px; }
.link-wa:hover span { text-decoration-color: currentColor; }

.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); font-size: .88rem; font-weight: 600; color: var(--ink-soft); line-height: 1.3;
}
.chip i, .chip .ic { color: var(--accent); }
.chip .ic { width: 20px; height: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; }

.badge {
  display: inline-block; padding: 5px 12px; border-radius: 4px;
  font-size: .75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; background: var(--sun); color: var(--navy);
}

/* ---------- Top bar (desktop) ---------- */
.topbar { display: none; background: var(--grey); border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink-soft); }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 40px; }
.topbar__links { display: flex; align-items: center; gap: 22px; }
.topbar a { display: inline-flex; align-items: center; gap: 8px; color: var(--brand); font-weight: 600; text-decoration: none; }
.topbar a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 1200px) { .topbar { display: block; } }

.textsize { display: inline-flex; align-items: center; gap: 6px; }
.textsize button {
  min-width: 34px; height: 30px; padding: 0 8px; border-radius: 6px; border: 1px solid var(--line-strong);
  background: var(--white); color: var(--ink); font-weight: 700; font-size: 13px; cursor: pointer; line-height: 1;
}
.textsize button[data-text-size="large"] { font-size: 16px; }
.textsize button[aria-pressed="true"] { background: var(--brand); color: #fff; border-color: var(--brand); }

/* ---------- Header & navigation ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: var(--white); }
.site-header::before { content: ""; position: absolute; inset: 0; z-index: -1; border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.site-header.is-scrolled::before, .site-header.is-open::before { box-shadow: 0 10px 30px -20px rgba(26, 34, 51, .5); }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; flex: none; }
/* CETI.png is white with transparent padding (67px left, 71px right at 102px tall): tint it dark, pull it flush. */
.brand { --logo-h: 46px; }
.brand img { flex: none; max-width: none; height: var(--logo-h); width: auto; margin: 0 calc(var(--logo-h) * -.69) 0 calc(var(--logo-h) * -.64); filter: brightness(0); }
@media (min-width: 1080px) { .brand { --logo-h: 58px; } }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__links { display: flex; align-items: center; gap: 2px; list-style: none; }
.nav__link {
  position: relative; display: block; padding: 10px 11px; border-radius: 6px;
  font-size: 16px; font-weight: 600; color: var(--ink); text-decoration: none; transition: color .2s, background-color .2s;
}
.nav__link:hover { color: var(--brand); }
.nav__link.is-active, .nav__link[aria-current="page"] { color: var(--brand); }
.nav__link::after {
  content: ""; position: absolute; left: 11px; right: 11px; bottom: 2px; height: 3px;
  background: var(--brand); transform: scaleX(0); transition: transform .25s var(--ease);
}
.nav__link:hover::after, .nav__link.is-active::after, .nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav .btn { margin-left: 10px; }
.nav__link--ext i { margin-left: 4px; font-size: .7em; opacity: .7; }
.nav__links > li { flex: none; }
.nav__link, .nav .btn { white-space: nowrap; }
.nav__extras { display: none; }

/* Grouped menus (About ▾ / Services ▾): click or tap to open; hover also opens with a mouse. */
.nav__group { position: relative; }
.nav__group-label { display: none; }
.nav__trigger { display: inline-flex; align-items: center; gap: 7px; border: 0; background: none; cursor: pointer; font-family: inherit; }
.nav__trigger i { font-size: .65em; transition: transform .25s var(--ease); }
.nav__trigger[aria-expanded="true"] { color: var(--brand); background: var(--brand-tint); }
.nav__trigger[aria-expanded="true"] i { transform: rotate(180deg); }
.nav__panel {
  position: absolute; top: calc(100% + 14px); left: 50%; z-index: 60; min-width: 340px;
  display: grid; gap: 2px; padding: 10px; border-radius: 12px; border: 1px solid var(--line); border-top: 4px solid var(--brand);
  background: var(--white); box-shadow: 0 30px 60px -24px rgba(26, 34, 51, .45);
  opacity: 0; visibility: hidden; transform: translate(-50%, 8px);
  transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s;
}
.nav__panel::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; } /* hover bridge */
.nav__panel--services { min-width: 410px; }
.nav__group.is-open .nav__panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s; }
.nav__sub { display: flex; align-items: center; gap: 14px; padding: 11px 14px; border-radius: 8px; color: var(--ink); text-decoration: none; transition: background-color .2s; }
.nav__sub:hover, .nav__sub:focus-visible, .nav__sub[aria-current="page"] { background: var(--grey); }
.nav__sub-icon {
  flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  border: 2px solid currentColor; color: var(--brand); font-size: 1rem; transition: transform .25s var(--ease);
}
.nav__sub:hover .nav__sub-icon { transform: scale(1.08); }
.nav__sub--plant .nav__sub-icon { color: var(--copper); }
.nav__sub--digital .nav__sub-icon { color: var(--teal); }
.nav__sub-icon .ic { width: 24px; height: 24px; }
.nav__sub b { display: block; font-size: 16px; font-weight: 700; line-height: 1.3; }
.nav__sub small { display: block; margin-top: 1px; font-size: 13.5px; line-height: 1.35; color: var(--ink-soft); }

.nav-toggle {
  display: none; align-items: center; gap: 8px; min-height: 46px; padding: 0 16px; border-radius: 8px;
  border: 2px solid var(--line-strong); background: var(--white); cursor: pointer; font-weight: 700; font-size: 15px;
}
.nav-toggle i { font-size: 1.05rem; }

/* Scroll progress bar under the header */
.progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 4px; pointer-events: none; }
.progress span { display: block; height: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--brand), #4C7BF5 55%, var(--sun)); }

@media (max-width: 1199px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; height: calc(100dvh - var(--header-h));
    flex-direction: column; align-items: stretch; gap: 24px; overflow-y: auto;
    padding: 8px var(--gutter) 40px; background: var(--white);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s var(--ease), visibility 0s .25s;
  }
  .site-header.is-open .nav { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav__links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { padding: 16px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-size: 1.2rem; }
  .nav__link::after { display: none; }
      .nav .btn { margin-left: 0; width: 100%; min-height: 56px; font-size: 1.05rem; }
  .nav__extras { display: grid; gap: 12px; }
  .nav__extras .textsize { justify-content: space-between; padding: 12px 4px 0; font-size: 1rem; color: var(--ink-soft); }
  .nav__extras .textsize button { height: 40px; min-width: 48px; }
  /* Groups become a plain, always-open list with a small heading. */
  .nav__trigger { display: none; }
  .nav__group-label {
    display: block; padding: 20px 4px 4px; font-size: .8rem; font-weight: 700; letter-spacing: .12em;
    text-transform: uppercase; color: var(--brand);
  }
  .nav__group:first-child .nav__group-label { padding-top: 8px; }
  .nav__panel { position: static; min-width: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; opacity: 1; visibility: visible; transform: none; transition: none; gap: 0; }
  .nav__panel::before { display: none; }
  .nav__sub { padding: 12px 4px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav__sub b { font-size: 1.1rem; }
  .nav__sub small { font-size: .9rem; }
  .nav__group + li:not(.nav__group) .nav__link { margin-top: 12px; border-top: 1px solid var(--line); }
}

/* ---------- Hero (blue band) ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(40px, 5.5vw, 72px) 0 clamp(48px, 6vw, 80px); }
.hero__bg, .page-hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero__bg::after, .page-hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, .07) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .07) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: linear-gradient(100deg, transparent 30%, #000 75%); mask-image: linear-gradient(100deg, transparent 30%, #000 75%);
}
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: drift 18s ease-in-out infinite alternate; }
.blob--a { width: 460px; height: 460px; top: -180px; right: 8%; background: #3D6BF0; }
.blob--b { width: 520px; height: 520px; bottom: -260px; left: -120px; background: #0E2A80; animation-delay: -9s; }
@keyframes drift { to { transform: translate(60px, 40px) scale(1.1); } }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; font-size: .9rem; font-weight: 600; color: var(--ink-soft); }
.crumbs a { color: var(--ink); text-underline-offset: 3px; }
.crumbs li + li::before { content: "›"; margin-right: 8px; opacity: .7; }

.hero__title { margin-top: 16px; font-size: clamp(2.6rem, 8vw, 4rem); line-height: 1.02; }
.hero__title .line { display: block; animation: rise .9s var(--ease) both; }
.hero__title .line + .line { animation-delay: .15s; }
@keyframes rise { from { opacity: 0; transform: translateY(.45em); } }
/* Hand-drawn underline that draws in under the highlighted words */
.hero__title em, .page-hero h1 em { position: relative; display: inline-block; }
.hero__title em::after, .page-hero h1 em::after {
  content: ""; position: absolute; left: 1%; right: 1%; bottom: -.04em; height: .14em; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8.5C40 2.5 85 2 115 5.5S172 10.5 198 4' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8.5C40 2.5 85 2 115 5.5S172 10.5 198 4' fill='none' stroke='%23000' stroke-width='3.2' stroke-linecap='round'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
  clip-path: inset(0 100% 0 0); animation: draw 1s var(--ease) .75s forwards;
}
.hero__title .line + .line em::after { animation-delay: 1.1s; }
@keyframes draw { to { clip-path: inset(0 0 0 0); } }

.hero__grid { display: grid; gap: 40px; margin-top: 22px; }
.hero__lead { max-width: 60ch; font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--ink-soft); }
.hero .btn-row { margin-top: 26px; }
.doors-label { margin-top: 34px; font-weight: 700; font-size: 1rem; }
.doors { display: grid; gap: 12px; margin-top: 12px; }
.door {
  --door: var(--brand);
  position: relative; display: flex; flex-direction: column; gap: 6px; overflow: hidden;
  padding: 20px 20px 18px; border-radius: 10px; background: #FFFFFF; color: #1A2233; text-decoration: none;
  box-shadow: 0 18px 36px -20px rgba(4, 12, 40, .7);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.door:nth-child(1) { --door: #B93F0F; --door-text: #1B45C4; }
.door:nth-child(2) { --door: #0B6E73; }
.door::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: var(--door); }
.door__icon { width: 52px; height: 52px; margin-bottom: 6px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--door); color: var(--door); }
.door__icon .ic { width: 28px; height: 28px; }
.door__title { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; line-height: 1.15; }
.door__text { font-size: .92rem; line-height: 1.5; color: #4B5565; }
.door__go { display: inline-flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 10px; font-weight: 700; font-size: .92rem; color: var(--door-text, var(--door)); }
.door__go i { transition: transform .25s var(--ease); }
.door:hover { transform: translateY(-4px); box-shadow: 0 26px 44px -20px rgba(4, 12, 40, .85); }
.door:hover .door__go i { transform: translateX(4px); }

.trust { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); list-style: none; }
.trust li { display: flex; align-items: center; gap: 10px; font-size: .92rem; font-weight: 600; line-height: 1.35; color: var(--ink-soft); }
.trust img { width: 38px; height: 38px; border-radius: 50%; background: #fff; }
.trust i { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--line-strong); color: var(--sun); }

.hero__art { display: none; position: relative; }
.art-card { padding: 10px; border-radius: 14px; background: #FFFFFF; box-shadow: 0 40px 70px -30px rgba(4, 12, 40, .8); }
.art-card svg { width: 100%; height: auto; }
.art-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; fill: #5A6676; }
.art-vessel { fill: rgba(26, 34, 51, .03); stroke: rgba(26, 34, 51, .55); stroke-width: 1.5; }
.art-detail { fill: none; stroke: rgba(26, 34, 51, .38); stroke-width: 1.2; }
.art-pipe { fill: none; stroke: #B93F0F; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.art-pipe--teal { stroke: #0B6E73; stroke-width: 1.6; opacity: .8; }
.art-pipe--muted { stroke: rgba(26, 34, 51, .32); stroke-width: 1.5; }
.flow { stroke-dasharray: 6 10; animation: flow 1.4s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -32; } }
.pulse { transform-box: fill-box; transform-origin: center; animation: pulse 2.6s var(--ease) infinite; }
@keyframes pulse { 0% { opacity: .8; transform: scale(1); } 100% { opacity: 0; transform: scale(3); } }
.art-badge {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 16px 10px 10px; border-radius: 10px;
  background: #FFFFFF; color: #1A2233; box-shadow: 0 20px 40px -18px rgba(4, 12, 40, .7); animation: bob 5s ease-in-out infinite;
}
.art-badge b { display: block; font-family: var(--font-head); font-size: 1.15rem; line-height: 1.1; }
.art-badge small { display: block; font-size: .8rem; color: #4B5565; line-height: 1.3; }
.art-badge__icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; border: 2px solid currentColor; }
.art-badge__icon .ic { width: 24px; height: 24px; }
.art-badge--a { top: -28px; right: 28px; }
.art-badge--a .art-badge__icon { color: #1B45C4; }
.art-badge--b { bottom: -26px; left: 28px; animation-delay: -2.5s; }
.art-badge--b .art-badge__icon { color: #0B6E73; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* 3D process scene (js/plant3d.js): the line drawing keeps the card's size and shows until the scene is ready */
.art-card[data-plant3d] { position: relative; transition: background .8s var(--ease); }
.art-card[data-plant3d] > svg { transition: opacity .6s var(--ease); }
.plant3d, .plant3d-labels {
  position: absolute; top: 10px; left: 10px; width: calc(100% - 20px); height: calc(100% - 20px);
  border-radius: 8px; opacity: 0; pointer-events: none; transition: opacity .9s var(--ease);
}
.plant3d-labels { overflow: hidden; }
.plant3d-labels span {
  position: absolute; left: 0; top: 0; padding: 3px 8px; border-radius: 999px; white-space: nowrap; will-change: transform;
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .14em; color: #3D4757;
  background: rgba(255, 255, 255, .88); box-shadow: 0 3px 10px -3px rgba(16, 24, 40, .25);
}
.plant3d-labels .is-step { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px 3px 3px; color: #0B6E73; font-weight: 600; }
.plant3d-labels .is-step b {
  display: inline-grid; place-items: center; width: 16px; height: 16px; border-radius: 50%;
  background: #0B6E73; color: #FFFFFF; font-size: 9px; letter-spacing: 0;
}
.plant3d-labels .is-step i { font-size: 11px; }
.plant3d-labels .is-wa { color: #128C7E; }
.plant3d-labels .is-wa b { background: #25D366; }
.plant3d-labels .is-wa i { color: #25D366; font-size: 13px; }
.plant3d-labels .plant3d-legend { top: auto; left: auto; right: 10px; bottom: 10px; color: #4B5565; letter-spacing: .08em; }
.plant3d-legend em { display: inline-block; width: 14px; height: 4px; margin: 0 5px 0 8px; border-radius: 2px; vertical-align: middle; }
.plant3d-legend em:first-child { margin-left: 0; }
.plant3d-legend .is-data { background: #14C3C8; }
.plant3d-legend .is-ctrl { background: #E39A3B; }
.art-card.is-3d { background: radial-gradient(120% 95% at 45% 30%, #FFFFFF 0%, #F2F5FA 55%, #E3E9F2 100%); }
.art-card.is-3d > svg { opacity: 0; }
.art-card.is-3d .plant3d, .art-card.is-3d .plant3d-labels { opacity: 1; }

@media (min-width: 640px) { .doors { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1080px) {
  .hero__title { font-size: clamp(3rem, 5.2vw, 4.6rem); }
  .hero__grid { grid-template-columns: 1.12fr .88fr; gap: 64px; align-items: start; }
  .hero__art { display: block; }
}

/* ---------- Key facts strip ---------- */
.facts-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); list-style: none; }
.fact { display: flex; flex-direction: column; gap: 6px; padding: 26px 18px 24px 0; }
.fact__value { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.05; color: var(--ink); }
.fact__value small { font-size: .6em; color: var(--brand); }
.fact__label { font-size: .9rem; font-weight: 700; color: var(--ink-soft); line-height: 1.4; }
.fact:nth-child(odd) { padding-right: 18px; border-right: 1px solid var(--line); }
.fact:nth-child(even) { padding-left: 18px; }
.fact:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
@media (min-width: 900px) {
  .facts { grid-template-columns: repeat(4, 1fr); }
  .fact, .fact:nth-child(odd), .fact:nth-child(even) { padding: 34px 24px 32px; border: 0; border-left: 1px solid var(--line); }
  .fact:first-child { padding-left: 0; border-left: 0; }
}

/* Contact-person card (programme pages) */
.reach { display: grid; gap: 22px; padding: clamp(22px, 3vw, 32px); border-radius: var(--radius); background: var(--grey); border-left: 6px solid var(--brand); }
.reach h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.reach__list { display: grid; gap: 6px; list-style: none; }
.reach__list li { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 1rem; }
.reach__list b { min-width: 90px; }
.reach__list a { color: var(--brand); font-weight: 700; }
@media (min-width: 900px) { .reach { grid-template-columns: 1fr auto; align-items: center; } }

/* On-this-page bar (Masterclass page) */
.subnav { position: sticky; top: var(--header-h); z-index: 40; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 10px 24px -22px rgba(26, 34, 51, .6); }
.subnav__inner { display: flex; align-items: center; gap: 16px; min-height: 58px; }
.subnav__label { flex: none; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.subnav__links { display: flex; gap: 4px; list-style: none; overflow-x: auto; scrollbar-width: none; padding: 8px 0; }
.subnav__links::-webkit-scrollbar { display: none; }
.subnav__links a {
  display: block; padding: 8px 14px; border-radius: 999px; white-space: nowrap; font-size: 15px; font-weight: 600;
  color: var(--ink); text-decoration: none; transition: background-color .2s, color .2s;
}
.subnav__links a:hover { background: var(--grey); }
.subnav__links a.is-active { background: var(--brand); color: #fff; }
@media (max-width: 639px) { .subnav__label { display: none; } }

/* ---------- Ticker ---------- */
.ticker { display: flex; flex-direction: column; }
.ticker__label { flex: none; display: flex; align-items: center; gap: 10px; padding: 14px var(--gutter) 0; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sun); }
.ticker__viewport { overflow: hidden; flex: 1; min-width: 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.ticker__track { display: flex; width: max-content; }
html.js .ticker__track { animation: ticker 80s linear infinite; }
.ticker:hover .ticker__track, .ticker:focus-within .ticker__track { animation-play-state: paused; }
.ticker__list { display: flex; list-style: none; }
.ticker__item { display: flex; align-items: center; gap: 14px; padding: 16px 26px; white-space: nowrap; font-size: .95rem; color: var(--ink-soft); }
.ticker__item::before { content: ""; flex: none; width: 7px; height: 7px; background: var(--sun); transform: rotate(45deg); }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (min-width: 768px) { .ticker { flex-direction: row; align-items: center; } .ticker__label { padding: 0 0 0 var(--gutter); } }

/* ---------- Story: two generations ---------- */
.story { display: grid; gap: 18px; }
.gen { --accent: var(--copper); display: flex; flex-direction: column; gap: 12px; padding: clamp(22px, 3vw, 30px); border-radius: var(--radius); border: 1px solid var(--line); border-top: 5px solid var(--accent); background: var(--white); box-shadow: var(--shadow-sm); }
.gen { --accent-text: #1B45C4; }
.gen--next { --accent: var(--teal); --accent-text: var(--teal); }
.gen__tag { font-size: .82rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-text, var(--accent)); display: flex; align-items: center; gap: 8px; }
.gen h3 { font-size: clamp(1.6rem, 2.6vw, 1.9rem); }
.gen > p { color: var(--ink-soft); }
.gen__list-title { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line-strong); font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.gen__list { display: grid; gap: 8px; list-style: none; }
.gen__list li { display: flex; align-items: flex-start; gap: 10px; font-weight: 600; }
.gen__list i { margin-top: 5px; color: var(--accent); }
.bridge {
  position: relative; overflow: hidden; isolation: isolate; order: 3; background-color: var(--brand);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; text-align: center;
  padding: clamp(26px, 3.5vw, 36px); border-radius: var(--radius);
}
.bridge::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 50% at 100% 0%, rgba(255, 209, 102, .25), transparent 70%), radial-gradient(60% 60% at 0% 100%, rgba(5, 16, 50, .5), transparent 70%); }
.bridge__logo { width: auto; max-width: none; height: 70px; } /* the real CETI logo (white), shown on blue */
.bridge h3 { font-size: clamp(1.8rem, 3vw, 2.2rem); }
.bridge p { color: var(--ink-soft); }
.bridge .btn { margin-top: 6px; }
@media (min-width: 1024px) { .story { grid-template-columns: 1fr 1.05fr 1fr; gap: 22px; align-items: stretch; } .bridge { order: 0; } }

/* ---------- Journey timeline (blue band) ---------- */
.journey__grid { display: grid; gap: 40px; }
.mini-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 32px; }
.mini-stat { min-width: 0; padding: 16px 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); overflow-wrap: anywhere; }
@media (max-width: 400px) { .mini-stat { padding: 14px 10px; } .mini-stat b { font-size: 1.6rem; } }
.mini-stat b { display: block; font-family: var(--font-head); font-size: clamp(1.8rem, 3.2vw, 2.4rem); line-height: 1; color: var(--sun); }
.mini-stat > span { display: block; margin-top: 8px; font-size: .84rem; line-height: 1.4; color: var(--ink-soft); }
.timeline { position: relative; display: grid; gap: 18px; padding-left: 42px; list-style: none; }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 14px; top: 10px; width: 3px; }
.timeline::before { bottom: 10px; background: var(--line-strong); }
.timeline::after { height: calc((100% - 20px) * var(--progress, 1)); background: var(--sun); }
.chapter { position: relative; padding: 22px 24px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); }
.chapter::before { content: ""; position: absolute; left: -37px; top: 28px; width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--sun); background: var(--brand); }
.chapter__num { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--sun); }
.chapter h3 { margin-top: 6px; font-size: clamp(1.5rem, 2.4vw, 1.75rem); }
.chapter p { margin-top: 8px; color: var(--ink-soft); }
.chapter .chips { margin-top: 14px; }
.chapter .chip { color: var(--ink); }
@media (min-width: 1024px) {
  .journey__grid { grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: start; }
  .journey__head { position: sticky; top: calc(var(--header-h) + 40px); }
}

/* ---------- Today vs with CETI ---------- */
.diff { display: grid; gap: 14px; list-style: none; }
.diff__head { display: none; }
.diff-row { --accent: var(--copper); --accent-tint: var(--copper-tint); display: grid; gap: 12px; padding: 20px; border-radius: 10px; border: 1px solid var(--line); background: var(--white); }
.diff-row { --accent-text: #1B45C4; --accent-text-tint: var(--brand-tint); }
.diff-row--digital { --accent: var(--teal); --accent-tint: var(--teal-tint); --accent-text: var(--teal); --accent-text-tint: var(--teal-tint); }
.diff__side { display: flex; align-items: flex-start; gap: 12px; }
.diff__side > i { flex: none; width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; font-size: .85rem; margin-top: 2px; }
.diff__today { color: var(--ink-soft); }
.diff__today > i { background: var(--grey); color: #6B7684; }
.diff__with { font-weight: 600; }
.diff__with > i { background: var(--accent); color: #fff; }
.diff__label { display: block; margin-bottom: 2px; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.diff__with .diff__label { color: var(--accent-text, var(--accent)); }
.diff__tag { display: inline-block; margin-bottom: 6px; padding: 3px 10px; border-radius: 4px; background: var(--accent-text-tint, var(--accent-tint)); color: var(--accent-text, var(--accent)); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.diff__arrow { display: grid; place-items: center; color: var(--accent); transform: rotate(90deg); justify-self: start; margin-left: 4px; }
@media (min-width: 900px) {
  .diff__head { display: grid; grid-template-columns: 1fr 56px 1fr; gap: 16px; padding: 0 24px 4px; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
  .diff__head span:last-child { color: var(--brand); }
  .diff-row { grid-template-columns: 1fr 56px 1fr; align-items: center; gap: 16px; padding: 20px 24px; }
  .diff__label { display: none; }
  .diff__arrow { transform: none; justify-self: center; margin: 0; font-size: 1.2rem; }
}

/* ---------- Kinetic band of services ---------- */
.kinetic { overflow: hidden; padding: clamp(28px, 4vw, 44px) 0; background: var(--white); border-block: 1px solid var(--line); }
.kinetic__row { display: flex; width: max-content; }
.kinetic__row + .kinetic__row { margin-top: 6px; }
html.js .kinetic__row { animation: ticker 60s linear infinite; }
html.js .kinetic__row--rev { animation-direction: reverse; animation-duration: 70s; }
.kinetic__row ul { display: flex; align-items: center; list-style: none; }
.kinetic__row li { display: flex; align-items: center; gap: 28px; padding-right: 28px; white-space: nowrap; font-family: var(--font-head); font-weight: 700; font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.1; }
.kinetic__row li::after { content: "✦"; font-size: .45em; color: var(--brand); }
.kinetic__row--plant li { color: #B93F0F; }
.kinetic__row--digital li { color: #0B6E73; }
.kinetic__row li:nth-child(even) { color: transparent; -webkit-text-stroke: 1.5px #1A2233; }

/* ---------- Steps ---------- */
.steps-title { margin-bottom: 14px; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 18px; margin-bottom: 40px; list-style: none; }
.step { position: relative; padding: 14px 2px 10px; border-top: 3px solid var(--line); }
.step::before { content: ""; position: absolute; top: -3px; left: 0; width: 44px; height: 3px; background: var(--accent); }
.step__num { font-family: var(--font-head); font-weight: 700; font-size: 1.3rem; color: var(--accent-text, var(--accent)); }
.step__title { margin-top: 2px; font-weight: 700; font-size: 1.02rem; line-height: 1.3; }
.step__text { margin-top: 2px; font-size: .9rem; line-height: 1.5; color: var(--ink-soft); }
@media (min-width: 640px) { .steps { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(5, 1fr); } }

/* ---------- Service cards ---------- */
.section--plant { --accent: var(--copper); --accent-tint: var(--copper-tint); --accent-text: #1B45C4; }
.section--digital { --accent: var(--teal); --accent-tint: var(--teal-tint); }
.cards { display: grid; gap: 16px; }
@media (min-width: 680px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  position: relative; display: flex; flex-direction: column; gap: 14px; overflow: hidden;
  padding: clamp(22px, 3vw, 28px); border-radius: var(--radius); border: 1px solid var(--line); background: var(--white);
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--accent); transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card:hover::after { transform: scaleX(1); }
.card__icon { flex: none; width: 64px; height: 64px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--accent); color: var(--accent); font-size: 1.3rem; }
.card__icon .ic { width: 34px; height: 34px; transition: transform .35s var(--ease); }
.card:hover .card__icon .ic { transform: translateY(-2px) scale(1.06); }
.card__title { font-size: 1.6rem; }
.card__text { font-size: .98rem; color: var(--ink-soft); }
.card__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 18px; margin-top: auto; padding-top: 4px; }
.scope { border-top: 1px solid var(--line); padding-top: 6px; }
.scope summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; list-style: none; cursor: pointer; font-weight: 700; font-size: .95rem; }
.scope summary::-webkit-details-marker { display: none; }
.scope summary i { color: var(--accent); transition: transform .3s var(--ease); }
.scope[open] summary i { transform: rotate(45deg); }
.scope ul { display: grid; gap: 8px; margin: 6px 0 4px; list-style: none; }
.scope li { display: flex; gap: 10px; font-size: .95rem; line-height: 1.5; color: var(--ink-soft); }
.scope li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: .55em; background: var(--accent); }
.reassure { margin-top: 22px; }
.reassure .chip { background: var(--white); color: var(--ink); box-shadow: var(--shadow-sm); border-color: transparent; }
.wins { display: grid; gap: 12px; margin-top: 28px; list-style: none; }
.win { display: flex; align-items: flex-start; gap: 12px; padding: 18px 20px; border-radius: 10px; background: var(--white); border-left: 4px solid var(--accent); font-size: .96rem; line-height: 1.5; box-shadow: var(--shadow-sm); }
.win i { margin-top: 3px; color: var(--accent); }
@media (min-width: 640px) { .wins { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .wins { grid-template-columns: repeat(4, 1fr); } }
.panel-cta { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; padding: clamp(20px, 3vw, 28px); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); border-left: 6px solid var(--accent); }
.panel-cta strong { display: block; margin-bottom: 2px; font-family: var(--font-head); font-size: 1.5rem; }
.panel-cta p { color: var(--ink-soft); }
.panel-cta p strong { color: var(--ink); }
@media (min-width: 768px) { .panel-cta { flex-direction: row; align-items: center; justify-content: space-between; } }

/* ---------- Masterclass band (home) ---------- */
.mc-band__grid { position: relative; display: grid; gap: 48px; align-items: center; }
.mc-band .badge { margin-bottom: 16px; }
.mc-points { display: grid; gap: 12px; margin-top: 26px; list-style: none; }
.mc-points li { display: flex; align-items: flex-start; gap: 12px; }
.mc-points i { margin-top: 6px; color: var(--sun); }
.mc-band .btn-row { margin-top: 32px; }
@media (min-width: 1024px) { .mc-band__grid { grid-template-columns: 1.05fr .95fr; gap: 64px; } }
.flowsheet { padding: clamp(20px, 3vw, 28px); border-radius: var(--radius); background: #FFFFFF; color: #1A2233; box-shadow: 0 40px 70px -30px rgba(4, 12, 40, .8); }
.flowsheet__head, .flowsheet__foot { display: flex; justify-content: space-between; gap: 12px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #4B5565; }
.flowsheet__head { padding-bottom: 14px; border-bottom: 1px solid rgba(26, 34, 51, .12); }
.flowsheet__foot { flex-wrap: wrap; justify-content: flex-start; gap: 4px 20px; padding-top: 14px; border-top: 1px solid rgba(26, 34, 51, .12); text-transform: none; letter-spacing: 0; font-weight: 600; }
.flowsheet__list { position: relative; margin: 10px 0; list-style: none; }
.flowsheet__list::before { content: ""; position: absolute; left: 7px; top: 18px; bottom: 18px; width: 2px; background: repeating-linear-gradient(180deg, #B93F0F 0 6px, transparent 6px 12px); background-size: 2px 12px; animation: pipe-v 1s linear infinite; }
@keyframes pipe-v { to { background-position: 0 12px; } }
.flowsheet__list li { position: relative; display: flex; align-items: center; gap: 16px; padding: 9px 0; font-size: 1rem; font-weight: 600; }
.flowsheet__list li::before { content: ""; position: relative; z-index: 1; flex: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid #B93F0F; background: #fff; }
.flowsheet__list li span:last-child { margin-left: auto; font-family: var(--font-mono); font-size: .8rem; color: var(--brand); }

/* ---------- Projects ---------- */
.projects { display: grid; gap: 16px; list-style: none; }
.project { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s; }
.project:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.project__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.project__icon { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--brand); color: var(--brand); font-size: 1.1rem; }
.project__tag { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); text-align: right; }
.project__title { font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; line-height: 1.2; }
@media (min-width: 640px) { .projects { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .projects { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Team / faculty ---------- */
.team { display: grid; grid-template-columns: 1fr; gap: 12px; list-style: none; }
.member { display: flex; overflow: hidden; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s; }
.member:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.member__photo { flex: 0 0 116px; min-height: 140px; overflow: hidden; background: var(--grey); }
.member__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transition: transform .6s var(--ease); }
.member:hover .member__photo img { transform: scale(1.04); }
.member__body { display: flex; flex-direction: column; justify-content: center; gap: 4px; flex: 1; min-width: 0; padding: 16px 18px; border-top: 4px solid transparent; }
.member__name { font-size: 1.4rem; overflow-wrap: break-word; }
.member__role { font-size: .92rem; line-height: 1.45; color: var(--ink-soft); }
.member__role b { color: var(--ink); }
.member__link { align-self: flex-start; margin-top: 10px; display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 6px; border: 1px solid var(--line-strong); font-size: .88rem; font-weight: 700; text-decoration: none; color: var(--brand); }
.member__link:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
.member--lead .member__body { border-top-color: var(--brand); }
.team-note { margin-top: 28px; padding: clamp(20px, 3vw, 30px); border-radius: var(--radius); background: var(--white); border-left: 6px solid var(--brand); box-shadow: var(--shadow-sm); }
.team-note h3 { margin-bottom: 8px; font-size: 1.6rem; }
.team-note p { color: var(--ink-soft); }
@media (max-width: 359px) { .member__photo { flex-basis: 92px; } .member__body { padding: 14px; } .member__name { font-size: 1.2rem; } }
@media (min-width: 640px) {
  .team { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .member { flex-direction: column; }
  .member__photo { flex: none; aspect-ratio: 1 / 1; min-height: 0; }
  .member__body { justify-content: flex-start; padding: 18px 20px 20px; }
}
@media (min-width: 960px) { .team { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Book ---------- */
.book { display: grid; gap: 40px; align-items: center; }
.book__img { width: 100%; max-width: 420px; margin-inline: auto; filter: drop-shadow(0 30px 30px rgba(26, 34, 51, .2)); }
.book__meta { margin-top: 10px; font-weight: 700; color: var(--ink-soft); }
.book .lead { margin-top: 16px; }
.book .btn-row { margin-top: 28px; }
@media (min-width: 900px) { .book { grid-template-columns: .85fr 1.15fr; gap: 64px; } }

/* Buy the book: UPI QR (amount pre-filled) + WhatsApp */
.buy { margin-top: 28px; display: grid; gap: 22px; padding: 22px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface-2); }
@media (min-width: 640px) { .buy { grid-template-columns: 240px 1fr; align-items: center; } }
.buy__qr { max-width: 260px; padding: 8px; border-radius: 14px; border: 2px solid var(--brand); background: #FFFFFF; box-shadow: 0 16px 30px -20px rgba(11, 23, 51, .5); }
.buy__qr img { display: block; width: 100%; height: auto; }
.buy__label { font-family: var(--font-mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.buy__price { margin-top: 6px; font-family: var(--font-head); font-weight: 700; font-size: 2.3rem; line-height: 1; color: var(--ink); }
.buy__price small { font-family: var(--font-body); font-weight: 600; font-size: .95rem; color: var(--ink-soft); }
.buy__alt { margin-top: 4px; font-weight: 600; color: var(--ink-soft); }
.buy__steps { margin-top: 14px; padding-left: 1.2em; display: grid; gap: 6px; font-size: .98rem; }
.book .buy .btn-row { margin-top: 18px; }
.buy__upi { display: none; }
@media (hover: none) and (pointer: coarse) { .buy__upi { display: inline-flex; } }
.buy__note { margin-top: 14px; font-size: .9rem; line-height: 1.5; color: var(--ink-soft); }
.buy__note a { color: var(--brand); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 900px; margin-inline: auto; }
.faq details { border-radius: 10px; border: 1px solid var(--line); background: var(--white); transition: box-shadow .2s, border-color .2s; }
.faq details[open] { border-color: var(--brand); box-shadow: var(--shadow-sm); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 16px 22px; list-style: none; cursor: pointer; font-weight: 700; font-size: 1.05rem; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--brand); color: var(--brand); transition: transform .3s var(--ease), background-color .3s, color .3s; }
.faq details[open] summary i { transform: rotate(45deg); background: var(--brand); color: #fff; }
.faq details p { padding: 0 22px 22px; color: var(--ink-soft); }
.faq details p a { color: var(--brand); font-weight: 700; text-underline-offset: 3px; }

/* ---------- Contact ---------- */
.start-steps { display: grid; gap: 12px; margin-bottom: 32px; list-style: none; }
.start-step { display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); }
.start-step__num { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--wa); color: var(--wa-ink); font-weight: 700; font-family: var(--font-head); font-size: 1.2rem; }
.start-step > span:last-child b { display: block; font-size: 1.05rem; }
.start-step > span:last-child > span { display: block; font-size: .92rem; color: var(--ink-soft); line-height: 1.5; }
@media (min-width: 768px) { .start-steps { grid-template-columns: repeat(3, 1fr); } }
.contact__grid { display: grid; gap: 24px; }
.wa-builder { display: grid; gap: 22px; padding: clamp(20px, 4vw, 36px); border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.wa-builder fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.wa-builder legend, .field__label { margin-bottom: 10px; padding: 0; font-weight: 700; font-size: 1rem; }
.topics { display: flex; flex-wrap: wrap; gap: 8px; }
.topic { position: relative; }
.topic input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.topic span { display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-strong); font-size: .95rem; font-weight: 600; color: var(--ink-soft); cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.topic span:hover { border-color: var(--ink); color: var(--ink); }
.topic .ic { width: 22px; height: 22px; }
.topic i { width: 22px; text-align: center; }
.topic input:checked + span { background: var(--wa); border-color: var(--wa); color: var(--wa-ink); font-weight: 700; }
.topic input:focus-visible + span { outline: 3px solid var(--sun); outline-offset: 2px; }
.field { display: grid; }
.field-row { display: grid; gap: 22px; }
.field input, .field textarea { width: 100%; padding: 14px 16px; border-radius: 8px; border: 1px solid var(--line-strong); background: var(--surface-2); font-size: 1rem; line-height: 1.5; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: color-mix(in srgb, var(--ink-soft) 80%, transparent); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--wa); box-shadow: 0 0 0 3px rgba(37, 211, 102, .25); }
.wa-builder .btn { width: 100%; min-height: 58px; font-size: 1.08rem; }
.fine { font-size: .86rem; line-height: 1.5; color: var(--ink-soft); }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.contact-list { display: grid; gap: 12px; list-style: none; }
.contact-item { display: flex; align-items: flex-start; gap: 16px; padding: 20px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); text-decoration: none; transition: border-color .2s, transform .2s var(--ease); }
a.contact-item:hover { border-color: var(--line-strong); transform: translateY(-2px); }
.contact-item__icon { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--sun); color: var(--sun); font-size: 1.05rem; }
.contact-item--wa .contact-item__icon { border-color: var(--wa); color: var(--wa); font-size: 1.3rem; }
.contact-item__label { display: block; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
.contact-item__value { display: block; margin-top: 2px; font-weight: 700; font-size: 1.05rem; overflow-wrap: anywhere; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.socials a { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line-strong); text-decoration: none; transition: background-color .2s, color .2s, border-color .2s; }
.socials a:hover { background: #fff; color: var(--navy); border-color: #fff; }
@media (min-width: 1024px) { .contact__grid { grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: start; } }

/* ---------- Footer ---------- */
.site-footer { padding: 64px 0 28px; background-color: #081127; font-size: .95rem; }
.footer__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 24px; }
.footer__brand { grid-column: 1 / -1; }
.footer__brand img { max-width: none; height: 54px; width: auto; margin-left: -35px; }
.footer__brand p { margin-top: 16px; max-width: 42ch; color: var(--ink-soft); }
.footer__title { margin-bottom: 14px; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--sun); }
.footer__links { display: grid; gap: 8px; list-style: none; }
.footer__links a { display: inline-block; padding: 3px 0; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
.footer__links a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: .88rem; }
@media (min-width: 960px) { .footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1fr 1.2fr; } .footer__brand { grid-column: auto; } }

/* ---------- Floating WhatsApp button (labelled, sits above the Crisp bubble) ---------- */
.fab-wa {
  position: fixed; right: 20px; bottom: 96px; z-index: 40;
  display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 22px 0 16px; border-radius: 999px;
  background: var(--wa); color: var(--wa-ink); font-weight: 700; font-size: 16px; text-decoration: none;
  box-shadow: 0 14px 32px -10px rgba(26, 34, 51, .5); transition: transform .25s var(--ease);
}
.fab-wa i { font-size: 1.6rem; }
.fab-wa:hover { transform: translateY(-2px); }
/* Back-to-top button, stacked above the WhatsApp button; appears after the first screen */
.to-top {
  position: fixed; right: 20px; bottom: 162px; z-index: 40; width: 50px; height: 50px; display: grid; place-items: center;
  border-radius: 50%; border: 2px solid #fff; background: var(--brand); color: #fff; font-size: 1.1rem; text-decoration: none;
  box-shadow: 0 14px 30px -12px rgba(8, 17, 39, .6); transition: opacity .3s, translate .3s var(--ease), background-color .2s, visibility 0s .3s;
}
.to-top:hover { background: var(--brand-dark); }
html.js .to-top:not(.is-shown) { opacity: 0; translate: 0 12px; visibility: hidden; }
.to-top.is-shown { transition-delay: 0s; }
@media (max-width: 479px) { .to-top { right: 14px; bottom: 146px; width: 46px; height: 46px; } }
@media (max-width: 479px) { .fab-wa { right: 14px; bottom: 86px; min-height: 50px; padding: 0 16px 0 12px; font-size: 15px; } }

/* ---------- Floating book (founder's book on Amazon) ---------- */
.fab-book { position: fixed; left: 18px; bottom: 18px; z-index: 39; width: 132px; animation: float 3.2s ease-in-out infinite; transition: opacity .4s, translate .5s var(--ease), visibility 0s .5s; }
html.js .fab-book:not(.is-shown) { opacity: 0; translate: 0 140%; visibility: hidden; }
.fab-book.is-shown { transition-delay: 0s; }
.fab-book[hidden] { display: none; }
.fab-book__link { display: block; transition: transform .3s var(--ease); }
.fab-book__link:hover { transform: scale(1.06) rotate(-2deg); }
.fab-book img { width: 100%; filter: drop-shadow(0 12px 18px rgba(8, 17, 39, .45)); }
.fab-book__close {
  position: absolute; top: -12px; right: -6px; width: 34px; height: 34px; display: grid; place-items: center;
  border-radius: 50%; border: 1px solid var(--line-strong); background: #fff; color: #1A2233; cursor: pointer;
  font-size: 15px; box-shadow: var(--shadow-sm);
}
.fab-book__close:hover { background: #1A2233; color: #fff; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@media (max-width: 767px) { .fab-book { width: 90px; left: 10px; bottom: 12px; } }

/* ==========================================================================
   Masterclass page
   ========================================================================== */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(36px, 5vw, 64px) 0 clamp(48px, 6vw, 72px); }
.page-hero__grid { display: grid; gap: 40px; align-items: center; }
.page-hero h1 { margin-top: 18px; font-size: clamp(2.6rem, 8vw, 4.6rem); line-height: 1.02; animation: rise .9s var(--ease) both; }
.page-hero .eyebrow { margin-top: 24px; }
.page-hero .lead { margin-top: 18px; }
.page-hero .btn-row { margin-top: 30px; }
.page-hero__media { position: relative; display: none; }
.page-hero__photo { overflow: hidden; aspect-ratio: 4 / 4.2; border-radius: 6px; box-shadow: 0 40px 70px -30px rgba(4, 12, 40, .8); }
.page-hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 46% 22%; }
.page-hero__media .art-badge--a { top: auto; bottom: 34px; left: -40px; }
@media (min-width: 960px) { .page-hero__grid { grid-template-columns: 1.35fr .65fr; gap: 56px; } .page-hero__media { display: block; } }

.intro-grid { display: grid; gap: 32px; }
.intro-grid p { font-size: 1.05rem; color: var(--ink-soft); }
.intro-grid p + p { margin-top: 16px; }
.levers-title { margin: 28px 0 14px; font-weight: 700; color: var(--ink) !important; }
@media (min-width: 960px) { .intro-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }

/* "Why attend": icon list on a blue band */
.why-grid { display: grid; gap: 28px 32px; list-style: none; }
.why { display: flex; gap: 18px; align-items: flex-start; }
.why__icon { flex: none; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--ink); font-size: 1.25rem; }
.why h3 { margin-bottom: 6px; font-size: 1.5rem; }
.why p { color: var(--ink-soft); }
@media (min-width: 680px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .why-grid { grid-template-columns: repeat(3, 1fr); } }

/* Personas: who can benefit */
.audience { display: grid; gap: 26px 32px; list-style: none; }
.audience li { display: flex; align-items: flex-start; gap: 16px; }
.audience__icon { flex: none; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--brand); color: var(--brand); font-size: 1.15rem; }
.audience b { display: block; font-family: var(--font-head); font-size: 1.35rem; line-height: 1.2; color: var(--brand-dark); }
.audience li > span:last-child > span { display: block; margin-top: 4px; color: var(--ink-soft); }
.audience a { color: var(--brand); font-weight: 700; }
@media (min-width: 640px) { .audience { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .audience { grid-template-columns: repeat(3, 1fr); } }

/* Interactive process map */
.pm__hint { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-size: .92rem; font-weight: 600; color: var(--ink-soft); }
.pm__track { display: flex; list-style: none; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px 0 12px; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
.pm__stage { position: relative; flex: 0 0 118px; scroll-snap-align: start; }
.pm__stage::before, .pm__stage::after { content: ""; position: absolute; top: 39px; height: 2px; background: repeating-linear-gradient(90deg, var(--brand) 0 6px, transparent 6px 12px); background-size: 12px 2px; animation: pipe-h 1s linear infinite; }
.pm__stage::before { left: 0; right: 50%; }
.pm__stage::after { left: 50%; right: 0; }
.pm__stage:first-child::before, .pm__stage:last-child::after { display: none; }
@keyframes pipe-h { to { background-position: 12px 0; } }
.pm__btn { position: relative; z-index: 1; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 14px 6px 10px; border: 0; border-radius: 10px; background: none; cursor: pointer; color: var(--ink-soft); transition: color .2s, background-color .2s; }
.pm__btn:hover { color: var(--ink); }
.pm__node { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--brand); background: var(--white); color: var(--brand); font-size: 1.05rem; transition: background-color .25s, color .25s, transform .25s var(--ease), box-shadow .25s; }
.pm__name { font-size: .92rem; font-weight: 700; line-height: 1.25; text-align: center; }
.pm__count { font-family: var(--font-mono); font-size: .74rem; color: var(--ink-soft); }
.pm__btn[aria-selected="true"] { color: var(--ink); background: var(--brand-tint); }
.pm__btn[aria-selected="true"] .pm__node { background: var(--brand); color: #fff; transform: scale(1.08); box-shadow: 0 0 0 6px rgba(27, 69, 196, .18); }
.pm__btn[aria-selected="true"] .pm__count { color: var(--brand); font-weight: 700; }
.pm__btn:focus-visible { outline-offset: -3px; }
.pm__loop { display: none; }
@media (min-width: 1100px) {
  .pm__hint-scroll { display: none; }
  .pm__track { display: grid; grid-template-columns: repeat(9, 1fr); overflow: visible; }
  .pm__stage { flex: none; }
  .pm__loop { display: grid; grid-template-columns: repeat(9, 1fr); margin-top: -4px; }
  .pm__loop span { position: relative; grid-column: 2 / 10; height: 26px; margin: 0 calc(100% / 16); border: 2px dashed var(--line-strong); border-top: 0; border-radius: 0 0 16px 16px; }
  .pm__loop span::after { content: attr(data-label); position: absolute; left: 50%; bottom: -11px; transform: translateX(-50%); padding: 0 10px; background: var(--white); white-space: nowrap; font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }
}
.pm__panel { display: grid; gap: 20px; margin-top: 20px; padding: clamp(20px, 3vw, 32px); border-radius: var(--radius); background: var(--grey); border-left: 6px solid var(--brand); }
.pm__panel[hidden] { display: none; }
html.js .pm__panel:not([hidden]) { animation: panel-in .45s var(--ease); }
@keyframes panel-in { from { opacity: 0; transform: translateY(12px); } }
html:not(.js) .pm__panel[hidden] { display: grid; }
html:not(.js) .pm__panel + .pm__panel { margin-top: 12px; }
.pm__panel h3 { font-size: clamp(1.7rem, 2.8vw, 2.1rem); }
.stage-kicker { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--brand); }
.pm__panel p { margin-top: 10px; color: var(--ink-soft); }
@media (min-width: 900px) { .pm__panel { grid-template-columns: 1fr 1.15fr; gap: 32px; align-items: start; } }
/* On grey sections the panel and loop label sit on white / grey respectively. */
.section--grey .pm__panel { background: var(--white); box-shadow: var(--shadow-sm); }
.section--grey .pm__loop span::after { background: var(--grey); }
.section--grey .pm__btn[aria-selected="true"] { background: var(--white); box-shadow: var(--shadow-sm); }
.modules { display: grid; gap: 10px; list-style: none; }
.module { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 8px; border: 1px solid var(--line); background: var(--white); }
.module__num { flex: none; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--brand); color: #fff; font-family: var(--font-head); font-size: 1rem; font-weight: 700; }
.module__title { font-size: 1rem; font-weight: 600; line-height: 1.4; }
.module-groups { display: grid; gap: 16px; margin-top: 16px; }
.module-group { padding: clamp(20px, 3vw, 28px); border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow-sm); }
.module-group h3 { margin-bottom: 4px; font-size: 1.6rem; }
.module-group > p { margin-bottom: 16px; font-size: .95rem; color: var(--ink-soft); }
@media (min-width: 960px) { .module-groups { grid-template-columns: 1fr 1fr; } }
.curriculum { margin-top: 16px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); }
.curriculum summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 60px; padding: 0 22px; list-style: none; cursor: pointer; font-weight: 700; }
.curriculum summary::-webkit-details-marker { display: none; }
.curriculum summary i { color: var(--brand); transition: transform .3s var(--ease); }
.curriculum[open] summary i { transform: rotate(180deg); }
.curriculum ol { display: grid; gap: 2px; padding: 0 22px 22px; list-style: none; counter-reset: mod; }
.curriculum li { display: flex; gap: 14px; padding: 10px 0; border-top: 1px solid var(--line); counter-increment: mod; }
.curriculum li::before { content: "Module " counter(mod); flex: none; width: 82px; font-weight: 700; font-size: .88rem; line-height: 1.9; color: var(--brand); }
.tailored { display: flex; align-items: flex-start; gap: 14px; margin-top: 16px; padding: 18px 20px; border-radius: 8px; background: var(--brand-tint); color: var(--brand-dark); font-weight: 600; }
.tailored i { margin-top: 5px; }
@media (min-width: 768px) { .curriculum ol { grid-template-columns: 1fr 1fr; column-gap: 32px; } }

.instructor { display: grid; gap: 32px; align-items: start; }
.instructor__photo { overflow: hidden; aspect-ratio: 4 / 5; border-radius: 6px; background: var(--grey); box-shadow: var(--shadow); }
.instructor__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 46% 20%; }
.instructor__role { margin-top: 8px; font-weight: 700; color: var(--brand); }
.instructor__expertise { margin-top: 6px; font-weight: 600; }
.instructor__body p { margin-top: 16px; color: var(--ink-soft); }
.instructor__book { display: flex; align-items: center; gap: 18px; margin-top: 28px; padding: 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--grey); text-decoration: none; transition: box-shadow .2s; }
.instructor__book:hover { box-shadow: var(--shadow); }
.instructor__book img { flex: none; width: 96px; }
.instructor__book strong { display: block; font-family: var(--font-head); font-size: 1.3rem; line-height: 1.2; }
.instructor__book span { display: block; margin-top: 4px; font-size: .92rem; color: var(--ink-soft); }
@media (min-width: 900px) { .instructor { grid-template-columns: .75fr 1.25fr; gap: 56px; } }

.highlights { display: grid; gap: 32px; }
.online__list { display: grid; gap: 14px; margin-top: 24px; list-style: none; }
.online__list li { display: flex; align-items: flex-start; gap: 14px; font-size: 1.02rem; font-weight: 600; }
.online__list i { margin-top: 6px; color: var(--brand); }
@media (min-width: 960px) { .highlights { grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: start; } }

/* How to enrol: numbered steps */
.enrol { display: grid; gap: 16px; list-style: none; counter-reset: enrol; }
.enrol li { position: relative; padding: 26px 22px 22px; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow-sm); border-top: 5px solid var(--brand); counter-increment: enrol; }
.enrol li::before { content: "Step " counter(enrol); display: block; margin-bottom: 8px; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--brand); }
.enrol b { display: block; font-size: 1.08rem; }
.enrol span { display: block; margin-top: 4px; color: var(--ink-soft); }
@media (min-width: 640px) { .enrol { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .enrol { grid-template-columns: repeat(4, 1fr); } }

/* Programme details */
.details { display: grid; gap: 18px; }
.detail-card { padding: clamp(22px, 3vw, 32px); border-radius: var(--radius); background: var(--grey); border-top: 5px solid var(--brand); }
.detail-card h3 { margin-bottom: 10px; font-size: 1.7rem; }
.detail-card p { color: var(--ink-soft); }
.detail-card .btn-row { margin-top: 20px; }
@media (min-width: 900px) { .details { grid-template-columns: 1fr 1fr; } }

.cta-band { overflow: hidden; text-align: center; }
.cta-band::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(50% 70% at 50% 120%, rgba(255, 209, 102, .3), transparent 70%); }
.cta-band .container { position: relative; }
.cta-band h2 { max-width: 20ch; margin: 14px auto 0; font-size: clamp(2.3rem, 5.4vw, 3.8rem); }
.cta-band .lead { margin-inline: auto; }
.cta-band .btn-row { justify-content: center; margin-top: 32px; }

/* Certificate (Masterclass page). Sizes use cqi so it scales like a printed page.
   Left: CETI-blue panel with the original white logo, large. Right: ivory paper, engraved-line pattern, gold double frame. */
.cert-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 960px) { .cert-grid { grid-template-columns: .75fr 1.25fr; gap: 56px; } }
.cert { margin: 0; }
.cert__paper {
  position: relative; container-type: inline-size; aspect-ratio: 1.414 / 1; overflow: hidden;
  display: grid; grid-template-columns: 31% minmax(0, 1fr);
  border: .9cqi solid #0E2A80; background: #FFFDF7; color: #1A2233;
  box-shadow: 0 2px 4px rgba(8, 17, 39, .08), 0 40px 70px -30px rgba(8, 17, 39, .5);
}
.cert__side {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 7cqi 2cqi 3.5cqi; color: #fff;
  background: radial-gradient(120% 60% at 50% 0%, rgba(255, 255, 255, .14), transparent 60%), linear-gradient(165deg, #1B45C4 0%, #12308F 75%);
}
.cert__side::after { content: ""; position: absolute; top: 0; bottom: 0; right: 0; width: .7cqi; background: linear-gradient(#F3DE8E, #C9A227 40%, #A87B12 60%, #F3DE8E); }
/* CETI.png: 300x102 with transparent padding (67px left, 71px right); trimmed so the wordmark sits centred and large */
.cert__logo { width: auto; max-width: none; height: 14cqi; margin: 0 -9.75cqi 0 -9.2cqi; }
.cert__org { margin-top: 2.2cqi; padding-top: 1.6cqi; border-top: .2cqi solid rgba(243, 222, 142, .7); font-size: 1.55cqi; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: #F3DE8E; }
.cert__place { margin-top: .8cqi; font-size: 1.15cqi; letter-spacing: .24em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }
.cert__seal { width: 15cqi; height: auto; margin-top: auto; filter: drop-shadow(0 .8cqi 1cqi rgba(4, 12, 40, .45)); }
.cert__main {
  position: relative; display: flex; flex-direction: column; align-items: center; text-align: center;
  padding: 6.2cqi 5.5cqi 4.6cqi;
  background-color: #FFFDF7;
  background-image:
    radial-gradient(90% 70% at 50% 45%, rgba(255, 253, 247, .96) 40%, rgba(255, 253, 247, .55) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='16' viewBox='0 0 60 16'%3E%3Cpath d='M0 8 C15 0 15 16 30 8 S45 0 60 8' fill='none' stroke='%231B45C4' stroke-opacity='.11' stroke-width='.8'/%3E%3C/svg%3E");
}
.cert__main::before { content: ""; position: absolute; inset: 2cqi; border: .55cqi double #C9A227; pointer-events: none; }
.cert__main::after { content: ""; position: absolute; inset: 3.3cqi; border: .12cqi solid rgba(201, 162, 39, .45); pointer-events: none; }
.cert__title { font-family: Georgia, 'Times New Roman', serif; font-size: 5.3cqi; font-weight: 700; letter-spacing: .15em; margin-right: -.15em; text-transform: uppercase; line-height: 1; color: #12308F; }
.cert__of { display: flex; align-items: center; gap: 1.6cqi; margin-top: 1.3cqi; font-size: 1.7cqi; font-weight: 700; letter-spacing: .42em; text-transform: uppercase; color: #A87B12; }
.cert__of::before, .cert__of::after { content: ""; width: 6cqi; height: .18cqi; background: #C9A227; }
.cert__small { margin-top: 3.6cqi; font-family: Georgia, 'Times New Roman', serif; font-style: italic; font-size: 1.75cqi; line-height: 1.3; color: #4B5565; }
.cert__name + .cert__small { margin-top: 1.8cqi; }
.cert__name { margin-top: .9cqi; min-width: 64%; padding: 0 2cqi .5cqi; border-bottom: .2cqi solid #C9A227; font-family: Georgia, 'Times New Roman', serif; font-style: italic; font-size: 5cqi; line-height: 1.15; color: #1A2233; }
.cert__programme { margin-top: 1.2cqi; font-family: var(--font-head); font-size: 4.3cqi; font-weight: 700; line-height: 1.1; color: #1B45C4; }
.cert__sub { margin-top: 1cqi; font-size: 1.45cqi; line-height: 1.35; color: #4B5565; }
.cert__modules { margin-top: 1.6cqi; padding-top: 1.4cqi; border-top: .12cqi solid rgba(201, 162, 39, .55); font-size: 1.25cqi; letter-spacing: .02em; line-height: 1.35; color: #6B7684; }
.cert__foot { margin-top: auto; align-self: stretch; display: grid; grid-template-columns: 1fr 1fr; gap: 7cqi; padding: 0 1.5cqi; }
.cert__sign { display: flex; flex-direction: column; align-items: center; gap: .3cqi; }
.cert__line { align-self: stretch; height: .16cqi; margin-bottom: .7cqi; background: #1A2233; }
.cert__sign b { font-size: 1.65cqi; line-height: 1.2; }
.cert__sign small { font-size: 1.25cqi; line-height: 1.2; color: #4B5565; }
.cert__caption { margin-top: 14px; text-align: center; font-size: .9rem; color: var(--ink-soft); }

/* ---------- Reveal on scroll ---------- */
html.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
html.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html.js [data-reveal] { opacity: 1; transform: none; }
  html.js .ticker__track, html.js .kinetic__row { animation: none; width: auto; }
  .ticker__list, .kinetic__row ul { flex-wrap: wrap; }
  .ticker__list[aria-hidden="true"], .kinetic__row ul[aria-hidden="true"] { display: none; }
  .ticker__item { white-space: normal; }
}
