/* =========================================================
   HCT — Heredia Consulting & Training
   Navy + brushed gold, drawn from the official logo.
   ========================================================= */

:root {
  --abyss: #060f24;
  --navy-900: #081530;
  --navy-800: #0b1b3d;
  --navy-700: #0f1f45;          /* logo navy */
  --navy-600: #172b5a;
  --gold-700: #9c7a2e;
  --gold-500: #c9a04e;
  --gold-300: #e9cd84;
  --ivory: #f3eee3;
  --ivory-dim: #d9d3c6;
  --mist: #a3adc4;
  --line: rgba(233, 205, 132, .18);
  --line-soft: rgba(243, 238, 227, .08);

  --gold-grad: linear-gradient(100deg, #9c7a2e 0%, #e9cd84 38%, #c9a04e 62%, #f1dc9f 82%, #a8873a 100%);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Type scale — 1.25 ratio, fluid */
  --fs-0: .8125rem;
  --fs-1: 1rem;
  --fs-2: clamp(1.0625rem, .98rem + .3vw, 1.1875rem);
  --fs-3: clamp(1.375rem, 1.2rem + .7vw, 1.75rem);
  --fs-4: clamp(2rem, 1.5rem + 2vw, 3.25rem);
  --fs-5: clamp(2.5rem, 1.6rem + 4.2vw, 5.5rem);

  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 1240px;
  --radius: 4px;
  --ease: cubic-bezier(.22, .8, .24, 1);
  --nav-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  background: var(--navy-900);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: var(--fs-1);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  font-variant-numeric: lining-nums;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul[role="list"], ol { list-style: none; padding: 0; }

:focus-visible { outline: 2px solid var(--gold-300); outline-offset: 3px; border-radius: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip {
  position: fixed; left: 1rem; top: -4rem; z-index: 200;
  background: var(--gold-300); color: var(--navy-900); padding: .7rem 1rem; font-weight: 700;
}
.skip:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
/* bordered bands: the border must sit on the content column, not the gutter */
ul.wrap { padding-inline: var(--gutter); }
.stats.wrap, .mv.wrap, .footer__bottom.wrap { width: calc(100% - 2 * var(--gutter)); max-width: calc(var(--max) - 2 * var(--gutter)); padding-inline: 0; }
.section { padding-block: clamp(5rem, 10vw, 9rem); }

/* ---------- Type ---------- */
.kicker {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: var(--fs-3);
  color: var(--gold-300);
  margin-bottom: .6rem;
  display: flex; align-items: center; gap: .9rem;
}
.kicker::before { content: ""; width: 2.25rem; height: 1px; background: var(--gold-500); }
.h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: var(--fs-4);
  line-height: 1.06;
  letter-spacing: -.01em;
  max-width: 18ch;
  text-wrap: balance;
}
.h3 {
  font-family: var(--serif);
  font-weight: 600;
  font-size: var(--fs-3);
  line-height: 1.2;
}
.lead { font-size: var(--fs-2); color: var(--ivory); }
p { color: var(--ivory-dim); max-width: 64ch; }

/* ---------- Buttons ---------- */
.btn {
  --pad: 1rem 1.6rem;
  position: relative; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: var(--pad);
  font-weight: 600; font-size: .9375rem; letter-spacing: .01em;
  border-radius: var(--radius); border: 1px solid transparent;
  overflow: hidden; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s, background-color .3s, color .3s;
}
.btn svg { width: 18px; height: 18px; fill: currentColor; flex: none; }
.btn--gold { background: var(--gold-grad); background-size: 200% 100%; color: var(--navy-900); box-shadow: 0 10px 30px -12px rgba(201, 160, 78, .55); }
.btn--gold::after { /* travelling sheen */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 16px 36px -14px rgba(233, 205, 132, .7); }
.btn--gold:hover::after { transform: translateX(120%); }
.btn--ghost { border-color: rgba(233, 205, 132, .45); color: var(--ivory); background: rgba(8, 21, 48, .25); backdrop-filter: blur(6px); }
.btn--ghost svg { fill: none; stroke: currentColor; stroke-width: 1.6; }
.btn--ghost:hover { border-color: var(--gold-300); color: var(--gold-300); }
.btn--sm { --pad: .65rem 1.1rem; min-height: 42px; font-size: .875rem; }

.ico { width: 32px; height: 32px; fill: none; stroke: var(--gold-300); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Intro ---------- */
.intro { display: none; }
.js .intro {
  display: grid; place-items: center;
  position: fixed; inset: 0; z-index: 150;
  background: radial-gradient(120% 80% at 50% 40%, var(--navy-700), var(--abyss));
  animation: intro-safety .5s 3.2s forwards; /* never block the page if scripts are slow */
}
@keyframes intro-safety { to { opacity: 0; visibility: hidden; } }
.intro__inner { width: min(320px, 70vw); }
.intro__logo { width: 100%; height: auto; opacity: 0; }

/* ---------- Header ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 100;
  transition: background-color .45s var(--ease), box-shadow .45s var(--ease), transform .45s var(--ease);
}
.nav.is-solid { background: rgba(6, 15, 36, .82); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); box-shadow: 0 1px 0 var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__bar { height: var(--nav-h); display: flex; align-items: center; gap: 2rem; }
.nav__brand { display: flex; align-items: center; gap: .8rem; flex: none; }
.nav__brand img { width: 72px; height: auto; }
.nav__brandtext {
  font-family: var(--serif); font-weight: 600; font-size: 1.15rem; letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold-300); line-height: 1.1; padding-left: .8rem; border-left: 1px solid var(--line);
}
.nav__brandtext small { display: block; font-family: var(--sans); font-size: .58rem; letter-spacing: .22em; color: var(--ivory-dim); font-weight: 600; margin-top: .25rem; }
.nav__links { display: flex; gap: 1.9rem; margin-left: auto; }
.nav__links a { position: relative; font-size: .9rem; font-weight: 500; color: var(--ivory-dim); padding-block: .4rem; transition: color .3s; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold-300);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav__links a:hover, .nav__links a.is-active { color: var(--ivory); }
.nav__links a:hover::after, .nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__actions { display: flex; align-items: center; gap: 1rem; }
.menu__links [data-platform] svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* Platform sign-in, top-right corner of the header */
.nav__login {
  display: inline-grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 999px;
  border: 1px solid rgba(233, 205, 132, .45); color: var(--gold-300); background: rgba(8, 21, 48, .25);
  transition: color .3s, border-color .3s, background .3s;
}
.nav__login svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; }
@media (max-width: 1440px) {
  .nav__links { gap: 1.3rem; }
  .nav__actions { gap: .6rem; }
  .nav__bar { gap: 1.4rem; }
}
.nav__login:hover, .nav__login:focus-visible { border-color: var(--gold-300); background: var(--gold-500); color: var(--navy-900); }
.menu__links [data-platform] { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; }

.lang { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; }
.lang button {
  min-width: 40px; min-height: 32px; padding: 0 .55rem; border: 0; border-radius: 999px;
  background: transparent; font-size: .75rem; font-weight: 700; letter-spacing: .08em; color: var(--mist);
  transition: background-color .3s, color .3s;
}
.lang button[aria-pressed="true"] { background: var(--gold-500); color: var(--navy-900); }

.nav__burger { display: none; position: relative; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; }
.nav__burger span:not(.sr) { position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ivory); transition: transform .4s var(--ease); }
.nav__burger span:nth-child(1) { top: 18px; }
.nav__burger span:nth-child(2) { top: 25px; }
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

.menu {
  position: fixed; inset: 0; z-index: 90;
  background: radial-gradient(140% 90% at 100% 0%, var(--navy-600), var(--abyss) 70%);
  padding: calc(var(--nav-h) + 2rem) var(--gutter) 2rem;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: circle(0% at calc(100% - 2.5rem) 2.4rem);
  transition: clip-path .7s var(--ease);
}
.menu.is-open { clip-path: circle(150% at calc(100% - 2.5rem) 2.4rem); }
.menu[hidden] { display: none; }
.menu__links { display: grid; gap: .3rem; }
.menu__links a:not(.btn) { font-family: var(--serif); font-size: clamp(2rem, 9vw, 2.75rem); font-weight: 600; line-height: 1.25; }
.menu__links .btn { margin-top: 1.5rem; justify-self: start; }
.menu__foot { display: grid; gap: .3rem; color: var(--mist); font-size: .95rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: calc(var(--nav-h) + 3rem); overflow: hidden; isolation: isolate;
}
.hero__media { position: absolute; inset: 0 0 auto; height: 108%; z-index: -2; overflow: hidden; background: var(--abyss); }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.6s var(--ease); }
.slide.is-on { opacity: 1; z-index: 2; }
.slide.is-prev { opacity: 1; z-index: 1; transition: none; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform-origin: var(--ox, 50%) var(--oy, 50%); filter: var(--tone, none); }
.slide.is-on img, .slide.is-prev img { animation: drift 9s cubic-bezier(.3, .2, .2, 1) both; }
@keyframes drift { from { transform: scale(1.16); } to { transform: scale(1.03); } }
.hero.is-paused .slide img, .hero.is-off .slide img, .hero.is-waiting .slide img,
.hero.is-paused .hero__dot.is-on i, .hero.is-off .hero__dot.is-on i, .hero.is-waiting .hero__dot.is-on i { animation-play-state: paused; }
.hero__shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(6, 15, 36, .94) 0%, rgba(8, 21, 48, .8) 42%, rgba(8, 21, 48, .3) 66%, rgba(8, 21, 48, .05) 100%),
    linear-gradient(0deg, var(--navy-900) 0%, rgba(8, 21, 48, 0) 38%),
    linear-gradient(180deg, rgba(6, 15, 36, .7) 0%, rgba(6, 15, 36, 0) 22%),
    linear-gradient(rgba(8, 21, 48, .18), rgba(8, 21, 48, .18));
}
.hero__content { padding-bottom: clamp(2.5rem, 6vh, 4.5rem); }
.hero__kicker { font-size: .95rem; font-weight: 500; color: var(--gold-300); max-width: 46ch; margin-bottom: 1.4rem; }
.hero__title {
  font-family: var(--serif); font-weight: 600; font-size: var(--fs-5); line-height: .98; letter-spacing: -.015em;
}
.hero__title .line { display: block; overflow: hidden; padding-bottom: .08em; }
.hero__title .line > span { display: inline-block; }
.hero__title .line:last-child > span {
  background: var(--gold-grad); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 9s ease-in-out infinite alternate;
}
@keyframes sheen { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
.hero__arc { width: min(560px, 80%); height: 46px; margin: 1.3rem 0 1.5rem; overflow: visible; }
.hero__arc path { fill: none; stroke: url(#g-arc); stroke-width: 3; stroke-linecap: round; }
.hero__sub { font-size: var(--fs-2); color: var(--ivory-dim); max-width: 54ch; }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: .9rem; margin-top: 2.2rem; }
.hero__controls[hidden] { display: none; }
.hero__controls { display: flex; align-items: center; gap: .8rem; margin-left: auto; }
.hero__dots { display: flex; gap: .35rem; }
.hero__dot { width: 30px; height: 44px; padding: 0; border: 0; background: none; display: grid; align-items: center; }
.hero__dot span { display: block; height: 2px; border-radius: 2px; overflow: hidden; background: rgba(243, 238, 227, .28); }
.hero__dot i { display: block; width: 0; height: 100%; background: var(--gold-300); }
.hero__dot.is-on i { animation: dotfill 6.5s linear forwards; }
@keyframes dotfill { to { width: 100%; } }
.hero__pause {
  width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid rgba(243, 238, 227, .35); background: rgba(6, 15, 36, .35); backdrop-filter: blur(6px);
  transition: border-color .3s;
}
.hero__pause:hover { border-color: var(--gold-300); }
.hero__pause svg { width: 13px; height: 13px; fill: var(--ivory); }
.hero__pause .i-play, .hero__pause[aria-pressed="true"] .i-pause { display: none; }
.hero__pause[aria-pressed="true"] .i-play { display: block; }

.disciplines { padding-bottom: 1.5rem; }
.disciplines__list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 1.6rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.dl { display: flex; align-items: center; gap: .75rem; min-height: 50px; padding: .4rem 0; font-size: .875rem; font-weight: 600; line-height: 1.3; color: var(--ivory-dim); transition: color .3s; }
.dl .ico { width: 24px; height: 24px; transition: transform .4s var(--ease); }
.dl:hover { color: var(--gold-300); }
.dl:hover .ico { transform: translateY(-2px); }

/* ---------- About ---------- */
.about { background: linear-gradient(180deg, var(--navy-900), var(--navy-800)); }
.about__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.about__text > * + * { margin-top: 1.3rem; }
.about__text .h2 { max-width: 22ch; font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.9rem); }
.about__media { position: relative; }
.about__frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: 180px 4px 4px 4px; }
.about__frame img { width: 100%; height: 118%; object-fit: cover; object-position: 80% 50%; }
.about__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(200deg, rgba(15, 31, 69, 0) 40%, rgba(15, 31, 69, .55)); }
.about__arc { position: absolute; inset: -18px auto auto -18px; width: 60%; height: 60%; overflow: visible; pointer-events: none; }
.about__arc path { fill: none; stroke: var(--gold-500); stroke-width: 1; vector-effect: non-scaling-stroke; }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(4rem, 8vw, 7rem); border-block: 1px solid var(--line);
}
.stat { padding: 2.2rem 1.5rem; display: grid; gap: .4rem; }
.stat + .stat { border-left: 1px solid var(--line-soft); }
.stat__n {
  font-family: var(--serif); font-weight: 600; font-size: clamp(3rem, 2rem + 3vw, 4.5rem); line-height: 1;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  font-variant-numeric: lining-nums tabular-nums;
}
.stat__n sup { font-size: .5em; vertical-align: super; margin-left: .05em; }
.stat__l { font-size: .9rem; color: var(--mist); max-width: 22ch; }


/* ---------- Technical portfolio ---------- */
.programs { background: var(--navy-800); padding-block: clamp(5rem, 10vw, 8rem); }
.programs { position: relative; isolation: isolate; overflow: hidden; }
.programs__bg { position: absolute; inset: 0; z-index: -2; }
.programs__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 40%; }
.programs::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 27, 61, .82) 0%, rgba(11, 27, 61, .9) 30%, rgba(11, 27, 61, .97) 60%, var(--navy-800) 100%); }
.programs__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.programs__lead { color: var(--mist); }

.disc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem; }
.disc {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: .5rem;
  aspect-ratio: 4 / 5; padding: 1.3rem 1.4rem; border: 0; border-radius: 10px; text-align: left;
  background: var(--navy-700); color: var(--ivory);
  box-shadow: 0 24px 40px -26px rgba(0, 0, 0, .85);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.js .disc.reveal.is-in { transition: opacity .9s var(--ease), transform .5s var(--ease), box-shadow .5s var(--ease); }
.disc img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: saturate(.8); transition: transform 1.2s var(--ease), filter .6s; }
.disc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(6, 15, 36, .96) 12%, rgba(6, 15, 36, .45) 58%, rgba(6, 15, 36, .2)); }
.disc__n { position: absolute; top: .9rem; left: 1.1rem; font-family: var(--serif); font-size: 1.15rem; font-weight: 600; color: var(--gold-300); }
.disc .ico { width: 28px; height: 28px; }
.disc__t { font-family: var(--serif); font-size: clamp(1.2rem, .95rem + .6vw, 1.6rem); font-weight: 600; line-height: 1.08; text-wrap: balance; }
.disc__c { font-size: .8rem; font-weight: 600; color: var(--mist); }
.disc:hover, .js .disc.reveal.is-in:hover { transform: translateY(-6px); box-shadow: 0 34px 50px -26px rgba(0, 0, 0, .9); }
.disc:hover img { transform: scale(1.07); filter: saturate(1); }
.disc[aria-expanded="true"], .js .disc.reveal.is-in[aria-expanded="true"] { transform: none; outline: 1.5px solid var(--gold-300); outline-offset: 3px; }
.disc[aria-expanded="true"] img { filter: saturate(1); }

.disc-panel { grid-column: 1 / -1; position: relative; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .65s var(--ease); }
.disc-panel.is-open { grid-template-rows: 1fr; }
.disc-panel[hidden] { display: none; }
.disc-panel__clip { min-height: 0; overflow: hidden; }
.disc-panel::before { /* caret pointing at the open discipline */
  content: ""; position: absolute; top: 3px; left: var(--caret-x, 50%); z-index: 1;
  width: 14px; height: 14px; transform: translateX(-50%) rotate(45deg);
  background: var(--navy-900); border-left: 1px solid var(--gold-500); border-top: 1px solid var(--gold-500);
  opacity: 0; transition: opacity .3s .25s, left .45s var(--ease);
}
.disc-panel.is-open::before { opacity: 1; }
.disc-panel__inner {
  position: relative; margin-top: 10px;
  display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.4fr);
  border: 1px solid var(--gold-500); border-radius: 10px; overflow: hidden; background: var(--navy-900);
}
.disc-panel__media { position: relative; min-height: 340px; overflow: hidden; }
.disc-panel__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.disc-panel__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 21, 48, .05), rgba(8, 21, 48, .25) 60%, var(--navy-900)); }
.disc-panel__body { padding: clamp(1.6rem, 3vw, 2.6rem); padding-right: clamp(3.6rem, 5vw, 4.6rem); }
.disc-panel__group { display: flex; align-items: center; gap: .7rem; font-size: .8125rem; font-weight: 600; color: var(--gold-300); }
.disc-panel__group::before { content: ""; width: 1.6rem; height: 1px; background: currentColor; }
.disc-panel__title { margin-top: .7rem; font-family: var(--serif); font-weight: 600; font-size: clamp(2rem, 1.5rem + 1.6vw, 3rem); line-height: 1.02; text-wrap: balance; }
.disc-panel__sub { margin-top: .7rem; font-size: var(--fs-2); color: var(--ivory-dim); }
.disc-panel__courses { margin-top: 1.6rem; display: grid; grid-template-columns: 1fr 1fr; column-gap: 2rem; border-top: 1px solid var(--line); }
.disc-panel__courses li { display: grid; gap: .15rem; align-content: start; padding: .85rem 0; border-bottom: 1px solid var(--line-soft); }
.disc-panel__courses strong { font-weight: 600; font-size: .975rem; color: var(--ivory); }
.disc-panel__courses span { font-size: .875rem; color: var(--mist); }
.disc-panel__ask { margin-top: 1.8rem; }
.disc-panel__close {
  position: absolute; top: 1rem; right: 1rem; z-index: 2; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; border: 1px solid var(--line); background: rgba(6, 15, 36, .6);
  transition: border-color .3s, transform .4s var(--ease);
}
.disc-panel__close:hover { border-color: var(--gold-300); transform: rotate(90deg); }
.disc-panel__close svg { width: 16px; height: 16px; fill: none; stroke: var(--ivory); stroke-width: 1.6; stroke-linecap: round; }
/* content settles in after the panel opens; quick fade when switching discipline in the same row */
.disc-panel__body > * { opacity: 0; transform: translateY(10px); transition: opacity .45s ease, transform .6s var(--ease); }
.disc-panel__media img { opacity: 0; transform: scale(1.06); transition: opacity .6s ease, transform 1.2s var(--ease); }
.disc-panel.is-open .disc-panel__body > *, .disc-panel.is-open .disc-panel__media img { opacity: 1; transform: none; }
.disc-panel.is-open .disc-panel__body > :nth-child(2) { transition-delay: .06s; }
.disc-panel.is-open .disc-panel__body > :nth-child(3) { transition-delay: .12s; }
.disc-panel.is-open .disc-panel__body > :nth-child(4) { transition-delay: .18s; }
.disc-panel.is-open .disc-panel__body > :nth-child(5) { transition-delay: .24s; }
.disc-panel.is-open.is-swapping .disc-panel__body > *, .disc-panel.is-open.is-swapping .disc-panel__media img { opacity: 0; transition-duration: .18s; transition-delay: 0s; }

/* ---------- Method: gauge + phases ---------- */
.method { background: var(--navy-900); }
.method__layout { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(2rem, 6vw, 6rem); margin-top: clamp(2rem, 5vw, 4rem); }
.gauge-wrap { position: sticky; top: max(calc(var(--nav-h) + 1rem), calc(50vh - 230px)); align-self: start; }
.gauge { max-width: 480px; margin-inline: auto; }
.gauge svg { display: block; width: 100%; height: auto; overflow: visible; }
.gauge__ring { fill: none; stroke: var(--line-soft); stroke-width: 1; }
.gauge__base { fill: none; stroke: rgba(243, 238, 227, .1); stroke-width: 10; }
.gauge__fill { fill: none; stroke: url(#gauge-gold); stroke-width: 10; stroke-dasharray: 1; stroke-dashoffset: 1; }
.gauge__tick { stroke: rgba(243, 238, 227, .22); stroke-width: 1.2; stroke-linecap: round; transition: stroke .4s; }
.gauge__tick.is-major { stroke: rgba(233, 205, 132, .45); stroke-width: 1.8; }
.gauge__tick.is-on { stroke: var(--gold-300); }
.gauge__sn { font-family: var(--serif); font-size: 17px; font-weight: 600; fill: var(--mist); text-anchor: middle; dominant-baseline: middle; transition: fill .4s; }
.gauge__sn.is-on { fill: var(--gold-300); }
.gauge__end { font-family: var(--sans); font-size: 12px; font-weight: 600; fill: var(--mist); text-anchor: middle; }
.gauge__num { font-family: var(--serif); font-size: 52px; font-weight: 600; fill: url(#gauge-gold); text-anchor: middle; }
.gauge__name { font-family: var(--serif); font-size: 19px; font-weight: 600; fill: var(--ivory); text-anchor: middle; }
.gauge__needle path { fill: url(#gauge-gold); filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .5)); }
.gauge__hub { fill: var(--navy-800); stroke: var(--gold-500); stroke-width: 1.5; }
.gauge__pin { fill: var(--gold-300); }
/* the scale draws itself in the first time it comes into view */
.js .gauge__base, .js .gauge__ring, .js .gauge__end { opacity: 0; transition: opacity 1s var(--ease); }
.js .gauge__tick { opacity: 0; transition: opacity .5s ease calc(var(--i) * 18ms), stroke .4s; }
.js .gauge.is-in .gauge__base, .js .gauge.is-in .gauge__ring, .js .gauge.is-in .gauge__end, .js .gauge.is-in .gauge__tick { opacity: 1; }
.gauge.is-swap .gauge__num, .gauge.is-swap .gauge__name { animation: readout .5s var(--ease); }
@keyframes readout { from { opacity: 0; } }

.phases { display: grid; gap: clamp(6rem, 18vh, 12rem); padding-block: clamp(2rem, 14vh, 8rem) clamp(3rem, 10vh, 6rem); }
.phase { position: relative; padding: .4rem 0 .4rem 2rem; border-left: 1px solid var(--line-soft); transition: opacity .6s var(--ease); }
.phase::before { content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 2px; background: var(--gold-grad); transform: scaleY(0); transform-origin: top; transition: transform .8s var(--ease); }
.js .phase { opacity: .34; }
.js .phase.is-active { opacity: 1; }
.phase.is-active::before { transform: scaleY(1); }
.phase__n {
  position: absolute; right: 0; top: -1.8rem; pointer-events: none;
  font-family: var(--serif); font-size: clamp(5rem, 4rem + 3vw, 7.5rem); font-weight: 600; line-height: 1;
  color: transparent; -webkit-text-stroke: 1px rgba(233, 205, 132, .28); transition: -webkit-text-stroke-color .6s;
}
.phase.is-active .phase__n { -webkit-text-stroke-color: rgba(233, 205, 132, .7); }
.phase .ico { width: 34px; height: 34px; }
.phase h3 { margin-top: 1rem; font-family: var(--serif); font-size: clamp(1.9rem, 1.5rem + 1.2vw, 2.6rem); font-weight: 600; line-height: 1.05; }
.phase p { margin-top: .8rem; max-width: 42ch; }

/* ---------- Modes ---------- */
.modes { position: relative; isolation: isolate; padding-block: clamp(5rem, 10vw, 8rem); overflow: hidden; }
.modes__media { position: absolute; inset: 0; z-index: -2; }
.modes__media img { width: 100%; height: 120%; object-fit: cover; filter: grayscale(.6); }
.modes::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8, 21, 48, .95), rgba(15, 31, 69, .86) 50%, rgba(8, 21, 48, .97)); }
.modes__inner { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: end; }
.modes__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.mode {
  padding: 2rem 1.5rem; display: grid; gap: .8rem; align-content: start;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(23, 43, 90, .55), rgba(8, 21, 48, .55)); backdrop-filter: blur(8px);
}
.mode h3 { font-family: var(--serif); font-size: 1.75rem; font-weight: 600; }
.mode p { font-size: .925rem; }

/* ---------- Coverage ---------- */
.coverage { background: radial-gradient(90% 70% at 75% 50%, var(--navy-700), var(--navy-900) 70%); overflow: hidden; }
.coverage__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.coverage__text > * + * { margin-top: 1.3rem; }
.countries { display: grid; gap: 0; margin-top: 2rem !important; border-top: 1px solid var(--line); }
.countries li { display: flex; justify-content: space-between; align-items: baseline; padding: .9rem 0; border-bottom: 1px solid var(--line-soft); font-family: var(--serif); font-size: 1.5rem; font-weight: 600; }
.countries em { font-family: var(--sans); font-style: normal; font-size: .75rem; font-weight: 700; color: var(--navy-900); background: var(--gold-300); padding: .15rem .55rem; border-radius: 999px; letter-spacing: .04em; }
.map { position: relative; aspect-ratio: 1 / 1.05; width: 100%; }
.map svg { width: 100%; height: 100%; overflow: visible; }
.map .land { fill: rgba(120, 140, 185, .1); stroke: rgba(163, 173, 196, .2); stroke-width: .6; }
.map .land.on { fill: rgba(201, 160, 78, .34); stroke: var(--gold-300); stroke-width: 1; }
.map .grat { fill: none; stroke: rgba(243, 238, 227, .05); stroke-width: .6; }
.map .route { fill: none; stroke: var(--gold-300); stroke-width: 1.4; stroke-linecap: round; }
.map .pt { fill: var(--gold-300); }
.map .pulse { fill: none; stroke: var(--gold-300); stroke-width: 1; transform-box: fill-box; transform-origin: center; animation: pulse 2.8s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(3.2); opacity: 0; } }
.map .lbl { font-family: var(--serif); font-weight: 600; font-size: 15px; fill: var(--ivory); }
.map .lbl--hq { fill: var(--gold-300); font-size: 17px; }

/* ---------- Team ---------- */
.team { background: var(--navy-900); }
.team__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2.5rem, 7vw, 6rem); align-items: center; }
.team__photo { position: relative; max-width: 460px; }
.team__photo img { width: 100%; height: auto; aspect-ratio: 680 / 1000; object-fit: cover; object-position: top; border-radius: 4px 220px 4px 4px; background: #eceae6; }
.team__arc { position: absolute; top: -5%; right: -11%; width: 14%; height: 110%; overflow: visible; pointer-events: none; }
.team__arc path { fill: none; stroke: var(--gold-500); stroke-width: 1.2; vector-effect: non-scaling-stroke; }
.team__text > * + * { margin-top: 1.25rem; }
.team__name { padding-left: 1.2rem; border-left: 2px solid var(--gold-500); margin-top: 2rem !important; }
.team__name h3 { font-family: var(--serif); font-size: clamp(1.9rem, 1.5rem + 1.4vw, 2.6rem); font-weight: 600; line-height: 1.1; }
.team__name p { color: var(--gold-300); font-weight: 600; }
.link { display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; color: var(--gold-300); padding-block: .5rem; border-bottom: 1px solid transparent; transition: border-color .3s; }
.link svg { width: 20px; height: 20px; fill: currentColor; }
.link:hover { border-bottom-color: var(--gold-300); }

.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: clamp(4rem, 8vw, 7rem); background: var(--line); border: 1px solid var(--line); }
.mv__item { background: var(--navy-900); padding: clamp(2rem, 4vw, 3.2rem); }
.mv__item h3 { font-family: var(--serif); font-style: italic; font-size: 1.6rem; font-weight: 500; color: var(--gold-300); margin-bottom: 1rem; }
.mv__item p { font-family: var(--serif); font-size: clamp(1.3rem, 1.1rem + .7vw, 1.7rem); line-height: 1.4; color: var(--ivory); max-width: 34ch; }

/* ---------- Partners ---------- */
.allies { background: linear-gradient(180deg, var(--navy-900), var(--navy-800)); }
.partners__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; margin-top: 2.5rem; }
.partner { display: grid; gap: 1rem; align-content: start; }
.partner__logo {
  height: 170px; padding: 1.5rem; display: grid; place-items: center;
  border-radius: 10px; background: #fff; box-shadow: 0 18px 36px -24px rgba(0, 0, 0, .75);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
/* each logo gets its own height so the three read with the same visual weight */
.partner__logo img { height: var(--lh, 80px); width: auto; max-width: 100%; object-fit: contain; }
.partner:hover .partner__logo { transform: translateY(-4px); box-shadow: 0 26px 44px -24px rgba(0, 0, 0, .85); }
.partner p { padding-inline: .2rem; font-size: .925rem; color: var(--ivory-dim); }

/* ---------- FAQ ---------- */
.faq { background: var(--navy-800); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line-soft); }
.qa summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.4rem 0; font-family: var(--serif); font-size: clamp(1.25rem, 1.1rem + .5vw, 1.5rem); font-weight: 600; line-height: 1.25;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; flex: none; width: 14px; height: 14px;
  background: linear-gradient(var(--gold-300), var(--gold-300)) center / 100% 1.5px no-repeat, linear-gradient(var(--gold-300), var(--gold-300)) center / 1.5px 100% no-repeat;
  transition: transform .45s var(--ease);
}
.qa[open] summary::after { transform: rotate(135deg); }
.qa__a { overflow: hidden; }
.qa__a p { padding-bottom: 1.5rem; }

/* ---------- Contact ---------- */
.contact { position: relative; isolation: isolate; padding-block: clamp(5rem, 10vw, 8.5rem); overflow: hidden; }
.contact__media { position: absolute; inset: 0; z-index: -2; }
.contact__media img { width: 100%; height: 100%; object-fit: cover; }
.contact::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 15, 36, .96) 0%, rgba(6, 15, 36, .88) 50%, rgba(6, 15, 36, .7) 100%); }
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.contact__text > * + * { margin-top: 1.3rem; }
.contact__list { display: grid; gap: 1.2rem; margin-top: 2.2rem !important; }
.contact__list dt { font-size: .8125rem; font-weight: 600; color: var(--gold-300); }
.contact__list dd { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; }
.contact__list a { border-bottom: 1px solid transparent; transition: border-color .3s; }
.contact__list a:hover { border-bottom-color: var(--gold-300); }

.form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 1.2rem;
  padding: clamp(1.4rem, 3vw, 2.4rem); border: 1px solid var(--line); border-radius: 6px;
  background: rgba(8, 21, 48, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.field { display: grid; gap: .4rem; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .8125rem; font-weight: 600; color: var(--ivory-dim); }
.field label em { color: var(--gold-300); font-style: normal; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: .75rem .9rem; font: inherit; font-size: 1rem; color: var(--ivory);
  background: rgba(6, 15, 36, .6); border: 1px solid rgba(243, 238, 227, .16); border-radius: var(--radius);
  transition: border-color .3s, box-shadow .3s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold-300) 50%), linear-gradient(135deg, var(--gold-300) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 2.4rem; }
.field select option { background: var(--navy-800); color: var(--ivory); }
.field textarea { resize: vertical; min-height: 110px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold-300); box-shadow: 0 0 0 3px rgba(233, 205, 132, .18); }
.field [aria-invalid="true"] { border-color: #e48b7a; }
.form__status { min-height: 1.4em; font-size: .9rem; color: var(--gold-300); }
.form__status.is-error { color: #f0a493; }
.form__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

/* ---------- Footer ---------- */
.footer { background: var(--abyss); padding-top: clamp(4rem, 7vw, 6rem); border-top: 1px solid var(--line); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 3rem; }
.footer__brand img { width: 200px; height: auto; }
.footer__brand p { margin-top: 1.2rem; font-family: var(--serif); font-size: 1.25rem; font-style: italic; color: var(--ivory-dim); }
.footer h2 { font-size: .8125rem; font-weight: 700; color: var(--gold-300); margin-bottom: 1rem; }
.footer nav, .footer__grid > div:last-child { display: grid; gap: .55rem; align-content: start; }
.footer a, .footer span { color: var(--ivory-dim); font-size: .95rem; transition: color .3s; }
.footer a:hover { color: var(--gold-300); }
.footer__bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 3.5rem; padding-block: 1.6rem; border-top: 1px solid var(--line-soft); }
.footer__bottom p, .footer__bottom a { font-size: .85rem; color: var(--mist); }

.wa {
  position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 80;
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold-grad); color: var(--navy-900); box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .6);
  transition: transform .4s var(--ease);
}
.wa svg { width: 28px; height: 28px; fill: currentColor; }
.wa:hover { transform: scale(1.08); }

/* ---------- About highlights ---------- */
.highlights { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; margin-top: 2rem !important; }
.hl { display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: start; padding: 1.1rem 1.2rem; border: 1px solid var(--line); border-radius: 8px; background: linear-gradient(180deg, rgba(23, 43, 90, .45), rgba(8, 21, 48, .2)); color: var(--ivory); font-size: .95rem; line-height: 1.45; }
.hl .ico { width: 26px; height: 26px; }
.about__cta { margin-top: 2rem !important; }

/* ---------- Solutions: three pillars ---------- */
.solutions { background: linear-gradient(180deg, var(--navy-800), var(--navy-900)); }
.solutions__head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(1.5rem, 5vw, 5rem); align-items: end; }
.solutions__head .h2 { max-width: 20ch; }
.pillars3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; margin-top: clamp(2.5rem, 5vw, 4rem); }
.pillar3 {
  position: relative; isolation: isolate; overflow: hidden; min-height: 500px;
  display: grid; gap: .9rem; align-content: end; padding: 2rem 1.8rem 2.2rem;
  border-top: 2px solid var(--gold-500); border-radius: 0 0 10px 10px; background: var(--navy-800);
  box-shadow: 0 30px 50px -30px rgba(0, 0, 0, .85); transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.pillar3__bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease), filter .8s; filter: saturate(.9); }
.pillar3::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(6, 15, 36, .98) 0%, rgba(6, 15, 36, .9) 34%, rgba(6, 15, 36, .45) 62%, rgba(6, 15, 36, .12) 100%); }
.pillar3:hover { transform: translateY(-6px); box-shadow: 0 40px 60px -30px rgba(0, 0, 0, .9); }
.pillar3:hover .pillar3__bg { transform: scale(1.06); filter: saturate(1.05); }
.pillar3__n { position: absolute; top: 1.2rem; right: 1.4rem; font-family: var(--serif); font-size: 3rem; font-weight: 600; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(233, 205, 132, .85); text-shadow: 0 2px 16px rgba(6, 15, 36, .6); }
.pillar3 .ico { width: 36px; height: 36px; }
.pillar3 h3 { font-family: var(--serif); font-size: clamp(1.6rem, 1.3rem + .8vw, 2rem); font-weight: 600; line-height: 1.1; }
.pillar3 p { font-size: .95rem; }
.solutions__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; margin-top: clamp(2.5rem, 5vw, 3.5rem); padding-top: 2rem; border-top: 1px solid var(--line); }
.solutions__motto { font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 1.2rem + 1vw, 2.1rem); color: var(--gold-300); max-width: none; }

/* ---------- IADC ---------- */
.iadc { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(5rem, 10vw, 8rem); }
.iadc__media { position: absolute; inset: 0; z-index: -2; }
.iadc__media img { width: 100%; height: 100%; object-fit: cover; }
.iadc::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 15, 36, .94) 0%, rgba(6, 15, 36, .78) 42%, rgba(6, 15, 36, .5) 100%); }
.iadc__list li { text-shadow: 0 1px 12px rgba(6, 15, 36, .9); }
.iadc__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.iadc__grid > div > * + * { margin-top: 1.2rem; }
.iadc__cta { margin-top: 1.8rem !important; }
.iadc__list { display: grid; border-top: 1px solid var(--line); }
.iadc__list li { display: grid; gap: .15rem; padding: 1rem 0; border-bottom: 1px solid var(--line-soft); }
.iadc__list strong { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--ivory); }
.iadc__list span { font-size: .9rem; color: var(--mist); }

/* ---------- Section calls to action ---------- */
.method__cta { margin-top: 1rem; display: flex; justify-content: center; }
.coverage__cta { margin-top: 2rem !important; }
.disc-panel__courses li.is-custom { grid-column: 1 / -1; }

/* ---------- Partners (stronger presence) ---------- */
.allies__intro { margin-top: 1.2rem; max-width: 62ch; }
.partner__body { display: grid; gap: .45rem; padding-inline: .2rem; }
.partner__name { font-family: var(--serif); font-size: 1.45rem; font-weight: 600; line-height: 1.15; color: var(--ivory); }
.partner__country { font-size: .8rem; font-weight: 700; color: var(--gold-300); }

/* ---------- Closing block ---------- */
.closing { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(5rem, 11vw, 9rem); text-align: center; }
.closing__media { position: absolute; inset: 0; z-index: -2; }
.closing__media img { width: 100%; height: 100%; object-fit: cover; }
.closing::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 80% at 50% 50%, rgba(8, 21, 48, .72), rgba(6, 15, 36, .55) 75%, rgba(6, 15, 36, .7)); }
.closing__inner { display: grid; justify-items: center; gap: 1.4rem; }
.closing__title { font-family: var(--serif); font-weight: 600; font-size: clamp(2.2rem, 1.5rem + 3vw, 4rem); line-height: 1.05; max-width: 22ch; text-wrap: balance; }
.closing .lead { max-width: 52ch; }
.closing__btn { margin-top: .6rem; min-width: 220px; }

/* ---------- Small shared pieces ---------- */
.lang a { min-width: 40px; min-height: 32px; padding: 0 .55rem; border-radius: 999px; display: inline-grid; place-items: center; font-size: .75rem; font-weight: 700; letter-spacing: .08em; color: var(--mist); }
.lang a[aria-current="true"] { background: var(--gold-500); color: var(--navy-900); }
.linkbtn { padding: 0; border: 0; background: none; font: inherit; font-size: .85rem; color: var(--mist); cursor: pointer; transition: color .3s; }
.linkbtn:hover { color: var(--gold-300); }
.footer__links { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; align-items: center; }
.form__legal { font-size: .8125rem; color: var(--mist); }
.form__legal a { color: var(--gold-300); text-decoration: underline; text-underline-offset: 3px; }
.disc-panel__actions { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.6rem; margin-top: 1.8rem; }
.disc-panel__actions .disc-panel__ask { margin-top: 0; }

/* cookie notice */
.consent {
  position: fixed; left: max(1rem, env(safe-area-inset-left)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 130;
  width: min(460px, calc(100% - 2rem)); padding: 1.2rem 1.3rem; display: grid; gap: 1rem;
  border: 1px solid var(--gold-500); border-radius: 10px; background: rgba(6, 15, 36, .96); backdrop-filter: blur(12px);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .8); animation: consent-in .6s var(--ease) both;
}
.consent p { font-size: .875rem; color: var(--ivory-dim); }
.consent a { color: var(--gold-300); text-decoration: underline; text-underline-offset: 3px; }
.consent__btns { display: flex; justify-content: flex-end; gap: .6rem; }
@keyframes consent-in { from { opacity: 0; transform: translateY(16px); } }

/* ---------- Inner pages (disciplines, privacy) ---------- */
.inner .nav__links { margin-left: auto; }
.dhero { position: relative; isolation: isolate; min-height: min(78svh, 680px); display: flex; align-items: flex-end; padding: calc(var(--nav-h) + 3rem) 0 clamp(2.5rem, 6vw, 4.5rem); overflow: hidden; }
.dhero__media { position: absolute; inset: 0; z-index: -2; }
.dhero__media img { width: 100%; height: 100%; object-fit: cover; }
.dhero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 15, 36, .95), rgba(8, 21, 48, .7) 55%, rgba(8, 21, 48, .35)), linear-gradient(0deg, var(--navy-900), rgba(8, 21, 48, 0) 45%); }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-size: .8125rem; color: var(--mist); margin-bottom: 1.6rem; }
.crumbs a { color: var(--ivory-dim); border-bottom: 1px solid transparent; transition: border-color .3s, color .3s; }
.crumbs a:hover { color: var(--gold-300); border-bottom-color: var(--gold-300); }
.crumbs [aria-current] { color: var(--gold-300); }
.dhero__title { font-family: var(--serif); font-weight: 600; font-size: clamp(2.6rem, 1.8rem + 3.6vw, 5rem); line-height: 1; letter-spacing: -.01em; max-width: 16ch; text-wrap: balance; }
.dhero__sub { margin-top: 1rem; font-size: var(--fs-2); color: var(--ivory-dim); max-width: 52ch; }
.dhero__count { margin-top: 1.2rem; font-size: .875rem; font-weight: 600; color: var(--gold-300); }
.dcourses { background: var(--navy-900); }
.dcourses__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: start; }
.dcourses__list { margin-top: 1.4rem; border-top: 1px solid var(--line); }
.dcourse { display: grid; grid-template-columns: auto 1fr; gap: 1.4rem; padding: 1.4rem 0; border-bottom: 1px solid var(--line-soft); }
.dcourse__n { font-family: var(--serif); font-size: 1.6rem; font-weight: 600; line-height: 1.1; color: var(--gold-300); }
.dcourse h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 600; line-height: 1.15; }
.dcourse p { margin-top: .35rem; font-size: .95rem; }
.dcta { margin-top: 2.5rem; padding: 1.8rem; border: 1px solid var(--line); border-radius: 10px; background: linear-gradient(180deg, rgba(23, 43, 90, .5), rgba(8, 21, 48, .3)); }
.dcta p { margin-top: .6rem; }
.dcta__btns { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.4rem; }
.dothers { background: var(--navy-800); }
.dothers__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; margin-top: 1.6rem; }
.dother { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 1rem; padding: 1.1rem 1.2rem; border: 1px solid var(--line-soft); border-radius: 8px; background: rgba(15, 31, 69, .45); transition: border-color .3s, transform .4s var(--ease); }
.dother:hover { border-color: var(--gold-500); transform: translateY(-3px); }
.dother__n { grid-row: span 2; font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--gold-300); }
.dother__t { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; line-height: 1.15; color: var(--ivory); }
.dother__c { font-size: .8rem; color: var(--mist); }
.legal { padding: calc(var(--nav-h) + clamp(3rem, 7vw, 5rem)) 0 clamp(4rem, 8vw, 6rem); background: var(--navy-900); }
.legal__wrap { max-width: 820px; }
.legal__wrap .h2 { max-width: none; margin-top: .4rem; }
.legal__wrap .lead { margin-top: 1.4rem; }
.legal__body { margin-top: 2.5rem; border-top: 1px solid var(--line); }
.legal__body h2 { margin-top: 2.2rem; font-family: var(--serif); font-size: 1.6rem; font-weight: 600; color: var(--ivory); }
.legal__body p { margin-top: .7rem; }
@media (max-width: 900px) {
  .dcourses__grid { grid-template-columns: 1fr; }
  .dothers__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .dothers__grid { grid-template-columns: 1fr; }
  .consent__btns .btn { flex: 1; }
}

/* ---------- Reveal defaults (JS adds motion; content visible without it) ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); }
.js .reveal.is-in { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .nav__links { gap: 1.3rem; }
  .nav__brandtext { display: none; }
}
@media (max-width: 1100px) {
  .disciplines__list { grid-template-columns: 1fr 1fr; }
  .disc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .disc { aspect-ratio: 16 / 10; }
  .solutions__head, .iadc__grid { grid-template-columns: 1fr; }
  .pillars3 { grid-template-columns: 1fr; }
  .pillar3 { min-height: 440px; }
}
@media (max-width: 1100px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav__actions { margin-left: auto; }
}
@media (max-width: 1024px) {
  .modes__inner { grid-template-columns: 1fr; }
}
@media (max-width: 900px) {
  .about__grid, .coverage__grid, .team__grid, .faq__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 520px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
  .team__photo { max-width: 380px; }
  .map { max-width: 560px; margin-inline: auto; }
  .programs__head { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .method__layout { grid-template-columns: 1fr; gap: 0; }
  .gauge-wrap {
    top: var(--nav-offset, 0px); z-index: 3; margin-inline: calc(var(--gutter) * -1); padding: .6rem var(--gutter) 1.4rem;
    transition: top .45s var(--ease);
    background: linear-gradient(180deg, var(--navy-900) 80%, rgba(8, 21, 48, 0));
  }
  .gauge { max-width: 300px; }
  .phases { gap: 4.5rem; padding-block: 1.5rem 3rem; }
  .phase__n { font-size: 4.6rem; top: -1rem; }
  .disc-panel__inner { grid-template-columns: 1fr; }
  .disc-panel__media { min-height: 0; aspect-ratio: 16 / 7; }
  .disc-panel__media::after { background: linear-gradient(0deg, var(--navy-900), rgba(8, 21, 48, .15) 70%); }
  .disc-panel__courses { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --nav-h: 66px; }
  .nav__cta { display: none; }
  .nav__brand img { width: 62px; }
  .hero { min-height: 100svh; }
  .hero__shade {
    background:
      linear-gradient(0deg, var(--navy-900) 4%, rgba(8, 21, 48, .84) 45%, rgba(8, 21, 48, .6) 72%, rgba(6, 15, 36, .75) 100%);
  }
  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__controls { margin-left: 0; }
  .disciplines__list { gap: 0 1rem; }
  .dl { min-height: 44px; font-size: .8125rem; gap: .6rem; }
  .dl .ico { width: 22px; height: 22px; }
  .disc { aspect-ratio: 4 / 5; padding: .9rem; gap: .35rem; }
  .disc__n { top: .75rem; left: .9rem; font-size: 1rem; }
  .disc .ico { width: 24px; height: 24px; }
  .disc__t { font-size: 1.08rem; }
  .disc-panel__body { padding: 1.4rem 1.2rem 1.6rem; }
  .disc-panel__ask { width: 100%; }
  .modes__grid, .mv, .partners__grid, .form, .highlights, .pillars3 { grid-template-columns: 1fr; }
  .partner__logo { height: 150px; }
  .form__actions .btn { flex: 1 1 100%; }
  .footer__grid { grid-template-columns: 1fr; gap: 2.2rem; }
  /* comfortable touch targets on phones */
  .footer nav, .footer__grid > div:last-child { gap: 0; }
  .footer nav a, .footer__grid > div:last-child a { display: flex; align-items: center; min-height: 44px; }
  .footer__links a, .footer__links .linkbtn { display: inline-flex; align-items: center; min-height: 44px; }
  .nav__brand { min-height: 44px; }
  .lang button, .lang a { min-height: 40px; min-width: 44px; }
  .contact__list a { display: inline-flex; align-items: center; min-height: 44px; }
  .team__arc { display: none; }
}
@media (max-width: 420px) {
  .stat { padding: 1.6rem 1rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .intro { display: none; }
  .hero__controls { display: none; }
}
