/* ============================================================
   COASTAL INSTITUTE OF TECHNOLOGY AND MANAGEMENT
   Design system  ·  v1.0
   Palette sampled directly from the institute poster.
   ============================================================ */

/* ---------- 1. Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
/* Author `display` values outrank the UA [hidden] rule — pin it. */
[hidden] { display: none !important; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
img, svg, video { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
:where(h1,h2,h3,h4){ text-wrap: balance; }
:where(p,li){ text-wrap: pretty; }

/* ---------- 2. Tokens ---------- */
:root{
  /* Ink — sampled #01143E / #011C49 / #031135 */
  --ink-900:#02071A;
  --ink-850:#030C24;
  --ink-800:#04102E;
  --ink-700:#071A3D;
  --ink-600:#0B2450;
  --ink-500:#123063;
  --ink-400:#1D4183;

  /* Gold — sampled #EBB545 / #C68D2A / #D19D2F */
  --gold-300:#F7DBA0;
  --gold-400:#F2C766;
  --gold-500:#EBB545;
  --gold-600:#D19D2F;
  --gold-700:#B4801F;

  /* Neutrals — sampled #F1E3C8 / #FBFBFB */
  --cream:#F2E6CE;
  --paper:#F6F4EF;
  --white:#FFFFFF;

  --fg:           #EDEAE3;
  --fg-dim:       #A7B0C4;
  --fg-faint:     #8391AB;
  --line:         rgba(235,181,69,.16);
  --line-soft:    rgba(255,255,255,.08);

  /* Type */
  --font-display: "Archivo", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-body:    "Archivo", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-mono:    ui-monospace, "Cascadia Mono", "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;

  /* Rhythm */
  --gutter: clamp(1.25rem, 5vw, 5rem);
  --maxw: 1320px;
  --sec-y: clamp(5rem, 11vw, 10.5rem);
  --radius: 3px;

  /* Motion */
  --ease: cubic-bezier(.22,.61,.36,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
  --ease-in-out: cubic-bezier(.65,0,.35,1);
  --dur: .6s;

  --nav-h: 74px;
  color-scheme: dark;
}

@media (max-width: 700px){ :root{ --nav-h: 64px; } }

/* ---------- 3. Base ---------- */
html{ scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior: auto; } }

body{
  font-family: var(--font-body);
  font-size: clamp(1rem, .96rem + .18vw, 1.0625rem);
  line-height: 1.62;
  font-weight: 400;
  color: var(--fg);
  background: var(--ink-900);
  overflow-x: hidden;
  /* base filmic ground: a single warm key light in a cold room */
  background-image:
    radial-gradient(120% 70% at 50% -10%, rgba(235,181,69,.10), transparent 60%),
    linear-gradient(180deg, var(--ink-850) 0%, var(--ink-900) 60%);
  background-attachment: scroll;
}

::selection{ background: var(--gold-500); color: var(--ink-900); }

:focus-visible{
  outline: 2px solid var(--gold-500);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip{
  position: fixed; top: -100px; left: 50%; transform: translateX(-50%);
  z-index: 999; background: var(--gold-500); color: var(--ink-900);
  padding: .75rem 1.25rem; font-weight: 700; border-radius: 0 0 4px 4px;
  transition: top .25s var(--ease);
}
.skip:focus{ top: 0; }

/* ---------- 4. Filmic overlays ---------- */
/* Grain: one static SVG turbulence, composited once. No animation = no cost. */
.grain{
  position: fixed; inset: -50%;
  pointer-events: none; z-index: 900;
  opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.vignette{
  position: fixed; inset: 0; pointer-events: none; z-index: 899;
  background: radial-gradient(130% 100% at 50% 42%, transparent 42%, rgba(2,7,26,.55) 100%);
}
@media (max-width: 700px){ .grain{ opacity: .04; } }

/* ---------- 5. Layout ---------- */
.wrap{ width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section{ position: relative; padding-block: var(--sec-y); }
.section--tight{ padding-block: clamp(3.5rem, 7vw, 6rem); }
.section > .wrap{ position: relative; z-index: 2; }

.defer{ contain: layout style; }

/* ---------- 6. Typography ---------- */
.display{
  font-family: var(--font-display);
  font-weight: 900;
  line-height: .9;
  letter-spacing: -.03em;
  text-transform: uppercase;
}
.d-xl{ font-size: clamp(2.35rem, 7.1vw, 6.75rem); }
.d-lg{ font-size: clamp(2.05rem, 5.1vw, 4rem); }
.d-md{ font-size: clamp(1.75rem, 4.2vw, 3.1rem); line-height: .96; }
.d-sm{ font-size: clamp(1.3rem, 2.6vw, 1.9rem); line-height: 1.06; letter-spacing: -.02em; }

.gold{ color: var(--gold-500); }
.cream{ color: var(--cream); }
.dim{ color: var(--fg-dim); }

/* Hollow / outline display text — the "title card" treatment */
.hollow{
  color: transparent;
  -webkit-text-stroke: 1.5px var(--gold-600);
  paint-order: stroke fill;
}
@media (max-width: 700px){ .hollow{ -webkit-text-stroke-width: 1px; } }

.eyebrow{
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gold-500);
  font-weight: 500;
  display: inline-flex; align-items: flex-start; gap: .75rem;
  line-height: 1.6;
}
.eyebrow::before{
  content: ""; width: 34px; height: 1px; background: var(--gold-600); flex: none;
  margin-top: .8em;
  transform-origin: left; transform: scaleX(0);
  transition: transform .7s var(--ease-out) .1s;
}
.is-in .eyebrow::before, .eyebrow.is-in::before{ transform: scaleX(1); }

.lede{
  font-size: clamp(1.0625rem, 1rem + .45vw, 1.3125rem);
  line-height: 1.62;
  color: var(--fg-dim);
  max-width: 62ch;
}

.rule{
  height: 1px; background: linear-gradient(90deg, var(--gold-600), rgba(235,181,69,0));
  transform-origin: left; transform: scaleX(0);
  transition: transform 1.1s var(--ease-out);
}
.is-in .rule{ transform: scaleX(1); }

/* ---------- 7. Reveal choreography ---------- */
[data-reveal]{
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition:
    opacity .85s var(--ease-out) var(--d, 0ms),
    transform .85s var(--ease-out) var(--d, 0ms);
}
[data-reveal].is-in{ opacity: 1; transform: none; }

/* Line reveal: the mask lives on a wrapper so the observed box is never
   self-clipped (a clip-path on the target itself stops IntersectionObserver
   from ever reporting it as visible). */
[data-reveal="line"]{
  opacity: 1; transform: none;
  display: block; overflow: hidden;
  padding-bottom: .09em; margin-bottom: -.09em;
}
[data-reveal="line"] > i{
  display: block; font-style: normal;
  transform: translate3d(0, 108%, 0);
  transition: transform 1.05s var(--ease-out) var(--d, 0ms);
}
[data-reveal="line"].is-in > i{ transform: none; }

[data-reveal="scale"]{ opacity: 0; transform: scale(.965); }
[data-reveal="scale"].is-in{ opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce){
  [data-reveal], [data-reveal="line"], [data-reveal="line"] > i, [data-reveal="scale"]{
    opacity: 1 !important; transform: none !important; clip-path: none !important; transition: none !important;
  }
  .rule, .eyebrow::before{ transform: scaleX(1) !important; transition: none !important; }
  .marquee__track{ animation: none !important; }
}

/* ---------- 8. Buttons ---------- */
.btn{
  --bg: var(--gold-500);
  --tx: var(--ink-900);
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  padding: 1.0625rem 1.9rem;
  font-weight: 700; font-size: .8125rem; letter-spacing: .16em; text-transform: uppercase;
  font-family: var(--font-mono);
  background: var(--bg); color: var(--tx);
  border-radius: var(--radius);
  min-height: 52px;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), color .35s var(--ease);
  box-shadow: 0 0 0 rgba(235,181,69,0);
  isolation: isolate;
}
.btn > *{ position: relative; z-index: 2; }
.btn::after{
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: var(--ink-900);
  transform: translate3d(0,101%,0);
  transition: transform .45s var(--ease-out);
}
.btn:hover{ transform: translateY(-2px); box-shadow: 0 14px 34px -14px rgba(235,181,69,.55); color: var(--gold-400); }
.btn:hover::after{ transform: translate3d(0,0,0); }
.btn:active{ transform: translateY(0); }

.btn--ghost{
  --bg: transparent; --tx: var(--gold-400);
  box-shadow: inset 0 0 0 1px var(--gold-700);
}
.btn--ghost::after{ background: var(--gold-500); }
.btn--ghost:hover{ color: var(--ink-900); box-shadow: inset 0 0 0 1px var(--gold-500), 0 14px 34px -16px rgba(235,181,69,.5); }

.btn--wide{ width: 100%; }
.btn .ic{ width: 17px; height: 17px; }

.link-arrow{
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-mono); font-size: .75rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--gold-500); font-weight: 500;
  padding-block: .6rem; min-height: 40px;
}
.link-arrow .ic{ width: 15px; height: 15px; transition: transform .4s var(--ease-out); }
.link-arrow:hover .ic{ transform: translateX(5px); }
.link-arrow span{ position: relative; }
.link-arrow span::after{
  content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out);
}
.link-arrow:hover span::after{ transform: scaleX(1); transform-origin: left; }

/* ---------- 9. Header / Nav ---------- */
.hdr{
  position: fixed; top: 0; left: 0; right: 0; z-index: 700;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background .45s var(--ease), box-shadow .45s var(--ease), backdrop-filter .45s var(--ease);
}
.hdr::after{
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  opacity: 0; transition: opacity .45s var(--ease);
}
.hdr.is-stuck{
  background: rgba(3,12,36,.93);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.hdr.is-stuck::after{ opacity: 1; }

.hdr__in{
  width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}

.brand{ display: flex; align-items: center; gap: .8rem; min-width: 0; }
.brand__seal{
  width: 44px; height: 44px; flex: none;
  filter: drop-shadow(0 3px 10px rgba(0,0,0,.45));
  transition: transform .6s var(--ease-out);
}
.brand:hover .brand__seal{ transform: rotate(-8deg) scale(1.05); }
.brand__tx{ display: flex; flex-direction: column; line-height: 1; min-width: 0; }
.brand__name{
  font-family: var(--font-display); font-weight: 900; font-size: 1.0625rem;
  letter-spacing: -.01em; text-transform: uppercase; color: var(--white);
  white-space: nowrap;
}
.brand__sub{
  font-family: var(--font-mono); font-size: .5625rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--gold-500); margin-top: .35rem;
  white-space: nowrap;
}
@media (max-width: 420px){
  .brand__name{ font-size: .95rem; }
  .brand__sub{ font-size: .5rem; letter-spacing: .16em; }
  .brand__seal{ width: 38px; height: 38px; }
}

.nav{ display: flex; align-items: center; gap: clamp(1.1rem, 2vw, 2.1rem); }
.nav__link{
  position: relative;
  font-family: var(--font-mono); font-size: .75rem; letter-spacing: .17em; text-transform: uppercase;
  font-weight: 500; color: var(--fg-dim); padding-block: .5rem;
  transition: color .3s var(--ease);
}
.nav__link::after{
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold-500);
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out);
}
.nav__link:hover{ color: var(--white); }
.nav__link:hover::after{ transform: scaleX(1); transform-origin: left; }
.nav__link.is-active{ color: var(--gold-500); }
.nav__link.is-active::after{ transform: scaleX(1); }

.hdr .btn{ padding: .8rem 1.25rem; min-height: 44px; font-size: .6875rem; }

/* Burger */
.burger{
  display: none; width: 46px; height: 46px; position: relative; flex: none;
  border-radius: var(--radius); box-shadow: inset 0 0 0 1px var(--line);
}
.burger i{
  position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--gold-500);
  transition: transform .45s var(--ease-out), opacity .25s var(--ease);
}
.burger i:nth-child(1){ top: 17px; }
.burger i:nth-child(2){ top: 22.5px; }
.burger i:nth-child(3){ top: 28px; }
.burger.is-open i:nth-child(1){ transform: translateY(5.5px) rotate(45deg); }
.burger.is-open i:nth-child(2){ opacity: 0; transform: scaleX(.3); }
.burger.is-open i:nth-child(3){ transform: translateY(-5.5px) rotate(-45deg); }

/* Mobile drawer */
.drawer{
  position: fixed; inset: 0; z-index: 690;
  background: linear-gradient(180deg, var(--ink-850), var(--ink-900));
  padding: calc(var(--nav-h) + 2.5rem) var(--gutter) 2.5rem;
  display: flex; flex-direction: column; justify-content: space-between;
  clip-path: circle(0% at calc(100% - 44px) 36px);
  transition: clip-path .72s var(--ease-in-out);
  visibility: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.drawer.is-open{ clip-path: circle(150% at calc(100% - 44px) 36px); visibility: visible; }
.drawer__nav{ display: flex; flex-direction: column; gap: .35rem; }
.drawer__link{
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.9rem, 9vw, 2.9rem); letter-spacing: -.02em; line-height: 1.16;
  color: var(--fg); display: flex; align-items: baseline; gap: 1rem;
  padding-block: .3rem;
  opacity: 0; transform: translateY(22px);
  transition: opacity .5s var(--ease-out), transform .5s var(--ease-out), color .3s var(--ease);
}
.drawer.is-open .drawer__link{ opacity: 1; transform: none; transition-delay: calc(.16s + var(--i) * .06s); }
.drawer__link small{ font-family: var(--font-mono); font-size: .625rem; color: var(--gold-600); letter-spacing: .2em; font-weight: 500; }
.drawer__link.is-active{ color: var(--gold-500); }
.drawer__foot{ margin-top: 2.5rem; display: grid; gap: 1.1rem; opacity: 0; transition: opacity .5s var(--ease) .4s; }
.drawer.is-open .drawer__foot{ opacity: 1; }
.drawer__foot a{ display: flex; align-items: center; gap: .7rem; color: var(--fg-dim); font-size: .9375rem; min-height: 44px; }
.drawer__foot a:hover{ color: var(--gold-500); }
.drawer__foot .btn{ color: var(--ink-900); justify-content: center; }
.drawer__foot .btn:hover{ color: var(--gold-400); }
.drawer__foot .ic{ width: 16px; height: 16px; color: var(--gold-600); flex: none; }

body.is-locked{ overflow: hidden; }

@media (max-width: 1000px){
  .nav, .hdr .btn{ display: none; }
  .burger{ display: block; }
}
@media (min-width: 1001px){ .drawer{ display: none; } }

/* Scroll progress hairline */
.progress{
  position: fixed; top: 0; left: 0; height: 2px; z-index: 720;
  background: linear-gradient(90deg, var(--gold-700), var(--gold-400));
  width: 100%; transform: scaleX(0); transform-origin: left;
  will-change: transform;
}

/* ---------- 10. Hero ---------- */
.hero{
  position: relative;
  min-height: clamp(640px, 100svh, 1000px);
  display: flex; align-items: center;
  padding-top: calc(var(--nav-h) + clamp(2.5rem, 7vw, 5rem));
  padding-bottom: clamp(3rem, 8vw, 6rem);
  overflow: hidden;
  isolation: isolate;
}
.hero--sub{ min-height: clamp(340px, 48svh, 520px); padding-bottom: clamp(2rem, 5vw, 4rem); }

.hero__bg{ position: absolute; inset: 0; z-index: 0; pointer-events: none; }

/* architectural grid, drifts on scroll */
.hero__grid{
  position: absolute; inset: -12% -6%;
  background-image:
    linear-gradient(rgba(235,181,69,.075) 1px, transparent 1px),
    linear-gradient(90deg, rgba(235,181,69,.075) 1px, transparent 1px);
  background-size: 88px 88px;
  -webkit-mask-image: radial-gradient(72% 62% at 50% 44%, #000 12%, transparent 78%);
  mask-image: radial-gradient(72% 62% at 50% 44%, #000 12%, transparent 78%);
  will-change: transform;
}
/* key light */
.hero__glow{
  position: absolute; left: 50%; top: 34%; width: min(1180px, 130vw); aspect-ratio: 1;
  transform: translate(-50%,-50%);
  background: radial-gradient(circle, rgba(235,181,69,.20) 0%, rgba(235,181,69,.07) 32%, transparent 66%);
}
/* cursor spotlight (desktop pointer only) */
.hero__spot{
  position: absolute; inset: 0; opacity: 0;
  background: radial-gradient(320px circle at var(--mx,50%) var(--my,50%), rgba(235,181,69,.16), transparent 72%);
  transition: opacity .6s var(--ease);
}
@media (hover:hover) and (pointer:fine){ .hero:hover .hero__spot{ opacity: 1; } }

/* aperture rings */
.hero__ring{
  position: absolute; left: 50%; top: 42%; translate: -50% -50%;
  border: 1px solid rgba(235,181,69,.14); border-radius: 50%;
  aspect-ratio: 1;
}
.hero__ring--1{ width: min(560px, 92vw); }
.hero__ring--2{ width: min(820px, 130vw); border-color: rgba(235,181,69,.08); }
.hero__ring--3{ width: min(1120px, 170vw); border-color: rgba(235,181,69,.05); }

.hero__horizon{
  position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-600) 22%, var(--gold-400) 50%, var(--gold-600) 78%, transparent);
  opacity: .55;
}

.hero__in{ position: relative; z-index: 2; width: 100%; }
.hero__title{ margin-block: 1.5rem 0; }
.hero__title .l1{ display: block; color: var(--white); }
.hero__title .l2{ display: block; color: var(--gold-500); }
.hero__sub{
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(.8125rem, 2.1vw, 1.0625rem);
  letter-spacing: clamp(.06em, .5vw, .2em);
  line-height: 1.5;
  color: var(--cream); margin-top: 1.5rem;
}
.hero__lede{ margin-top: 1.5rem; }
.hero__cta{ display: flex; flex-wrap: wrap; gap: .9rem; margin-top: clamp(2rem, 4vw, 2.75rem); }

.hero__meta{
  display: flex; flex-wrap: wrap; gap: clamp(1.25rem, 4vw, 3rem);
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-top: 1.75rem; border-top: 1px solid var(--line-soft);
}
.hero__meta div{ min-width: 96px; }
.hero__meta b{
  display: block; font-family: var(--font-display); font-weight: 900;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem); color: var(--gold-500); line-height: 1; letter-spacing: -.02em;
}
.hero__meta span{
  display: block; margin-top: .5rem; font-family: var(--font-mono); font-size: .625rem;
  letter-spacing: .2em; text-transform: uppercase; color: var(--fg-faint);
}

.scroll-cue{
  position: absolute; left: 50%; bottom: 1.75rem; translate: -50% 0; z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  font-family: var(--font-mono); font-size: .5625rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--fg-faint);
}
.scroll-cue i{ display: block; width: 1px; height: 46px; background: linear-gradient(var(--gold-600), transparent); position: relative; overflow: hidden; }
.scroll-cue i::after{
  content: ""; position: absolute; inset: 0; background: var(--gold-400);
  animation: cue 2.4s var(--ease-in-out) infinite;
}
@keyframes cue{ 0%{ transform: translateY(-100%); } 55%,100%{ transform: translateY(100%); } }
.scroll-cue{ display: none; }
@media (min-width: 861px) and (min-height: 940px){ .scroll-cue{ display: flex; } }
@media (prefers-reduced-motion: reduce){ .scroll-cue i::after{ animation: none; } }

/* ---------- 11. Marquee ---------- */
.marquee{
  position: relative; overflow: hidden;
  padding-block: clamp(1rem, 2.2vw, 1.5rem);
  background: var(--gold-500); color: var(--ink-900);
  border-block: 1px solid var(--gold-700);
}
.marquee__track{
  display: flex; width: max-content; gap: 0;
  animation: slide 42s linear infinite;
  will-change: transform;
}
.marquee:hover .marquee__track{ animation-play-state: paused; }
.marquee__track span{
  display: inline-flex; align-items: center; gap: 1.35rem; padding-inline: 1.35rem;
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(.875rem, 1.9vw, 1.25rem); letter-spacing: .08em; white-space: nowrap;
}
.marquee__track span::after{ content: "◆"; font-size: .5em; opacity: .55; }
@keyframes slide{ to{ transform: translate3d(-50%,0,0); } }

/* ---------- 12. Section head ---------- */
.shead{ display: grid; gap: 1.1rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); max-width: 900px; }
.shead__idx{
  font-family: var(--font-mono); font-size: .625rem; letter-spacing: .28em;
  color: var(--gold-700); text-transform: uppercase;
}
.shead .lede{ margin-top: .35rem; }
.shead--split{
  max-width: none; grid-template-columns: minmax(0,1fr);
}
@media (min-width: 960px){
  .shead--split{ grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); align-items: end; gap: 2.5rem 4rem; }
  .shead--split > .lede{ padding-bottom: .35rem; }
}

/* ---------- 13. Pillars ---------- */
.pillars{
  display: grid; gap: 1px;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  background: var(--line-soft);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius); overflow: hidden;
}
.pillar{
  position: relative; padding: clamp(1.6rem, 3vw, 2.4rem);
  background: rgba(7,26,61,.55);
  display: grid; gap: .9rem; align-content: start;
  transition: background .5s var(--ease);
  overflow: hidden;
}
.pillar::before{
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold-500), var(--gold-700));
  transform: scaleX(0); transform-origin: left;
  transition: transform .6s var(--ease-out);
}
.pillar:hover{ background: rgba(11,36,80,.75); }
.pillar:hover::before{ transform: scaleX(1); }
.pillar .ic{ width: 32px; height: 32px; color: var(--gold-500); }
.pillar h3{
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: 1.0625rem; letter-spacing: .02em; color: var(--white); line-height: 1.2;
}
.pillar p{ font-size: .9375rem; color: var(--fg-dim); line-height: 1.55; }

/* ---------- 14. Programme index / cards ---------- */
.toolbar{
  display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; justify-content: space-between;
  margin-bottom: 2.25rem;
}
.chips{ display: flex; flex-wrap: wrap; gap: .5rem; }
.chip{
  font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .13em; text-transform: uppercase;
  padding: .6rem .95rem; border-radius: 100px; color: var(--fg-dim);
  box-shadow: inset 0 0 0 1px var(--line-soft);
  transition: color .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease);
  min-height: 38px; display: inline-flex; align-items: center;
}
.chip:hover{ color: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.chip.is-on{ background: var(--gold-500); color: var(--ink-900); box-shadow: none; font-weight: 700; }

.search{
  position: relative; display: flex; align-items: center;
  flex: 1 1 260px; max-width: 360px; min-width: 0;
}
@media (max-width: 720px){ .search{ max-width: none; flex-basis: 100%; } }
.search .ic{ position: absolute; left: 14px; width: 16px; height: 16px; color: var(--fg-faint); pointer-events: none; }
.search input{
  width: 100%; padding: .8rem 1rem .8rem 2.6rem; min-height: 46px;
  background: rgba(255,255,255,.03); border: 1px solid var(--line-soft); border-radius: var(--radius);
  color: var(--fg); font-size: .9375rem;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.search input::placeholder{ color: var(--fg-faint); }
.search input:focus{ outline: none; border-color: var(--gold-600); background: rgba(255,255,255,.05); }

.grid-courses{
  display: grid; gap: clamp(.9rem, 1.6vw, 1.25rem);
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 310px), 1fr));
}

.course{
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(1.5rem, 2.6vw, 2rem);
  background: linear-gradient(160deg, rgba(11,36,80,.62), rgba(4,16,46,.72));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  display: grid; gap: .9rem; align-content: start;
  min-height: 244px;
  transition: transform .5s var(--ease-out), border-color .45s var(--ease), box-shadow .5s var(--ease-out);
  transform-style: preserve-3d;
}
.course::before{ /* huge ghost index */
  content: attr(data-n);
  position: absolute; right: -.06em; bottom: -.34em; z-index: 0;
  font-family: var(--font-display); font-weight: 900; font-size: 8.5rem; line-height: 1;
  color: rgba(235,181,69,.055); letter-spacing: -.05em;
  transition: color .5s var(--ease), transform .6s var(--ease-out);
  pointer-events: none;
}
.course::after{ /* gold sweep */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; z-index: 2;
  background: linear-gradient(90deg, var(--gold-400), var(--gold-700));
  transform: scaleX(0); transform-origin: left;
  transition: transform .55s var(--ease-out);
}
.course > *{ position: relative; z-index: 1; }
.course:hover, .course:focus-within{
  transform: translateY(-4px);
  border-color: var(--line);
  box-shadow: 0 26px 50px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(235,181,69,.1);
}
.course:hover::after, .course:focus-within::after{ transform: scaleX(1); }
.course:hover::before{ color: rgba(235,181,69,.1); transform: translateY(-4px); }

.course__top{ display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.course__n{
  font-family: var(--font-mono); font-size: .6875rem; letter-spacing: .18em; color: var(--gold-600);
}
.course__ic{
  width: 46px; height: 46px; display: grid; place-items: center; flex: none;
  border-radius: var(--radius);
  background: rgba(235,181,69,.09);
  box-shadow: inset 0 0 0 1px rgba(235,181,69,.18);
  transition: background .45s var(--ease), transform .55s var(--ease-out);
}
.course__ic .ic{ width: 24px; height: 24px; color: var(--gold-500); }
.course:hover .course__ic{ background: rgba(235,181,69,.16); transform: scale(1.06) rotate(-4deg); }
.course h3{
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: 1.0625rem; line-height: 1.24; letter-spacing: .005em; color: var(--white);
}
.course p{ font-size: .9rem; line-height: 1.58; color: var(--fg-dim); }
.course__tag{
  margin-top: auto;
  font-family: var(--font-mono); font-size: .625rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-600);
  display: inline-flex; align-items: center; gap: .5rem;
}
.course__tag::before{ content: ""; width: 16px; height: 1px; background: currentColor; }

.empty{
  grid-column: 1 / -1; padding: 3.5rem 1rem; text-align: center; color: var(--fg-faint);
  font-family: var(--font-mono); font-size: .8125rem; letter-spacing: .16em; text-transform: uppercase;
}

/* ---------- 15. Split feature ---------- */
.split{ display: grid; gap: clamp(2.25rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 980px){ .split{ grid-template-columns: 1.02fr .98fr; } }
.split--rev > *:first-child{ order: 2; }
@media (max-width: 979px){ .split--rev > *:first-child{ order: 0; } }

.stack{ display: grid; gap: 1.35rem; align-content: start; }

.ticks{ display: grid; gap: .85rem; }
.ticks li{ display: flex; gap: .9rem; align-items: flex-start; color: var(--fg-dim); font-size: .9688rem; line-height: 1.55; }
.ticks .ic{ width: 19px; height: 19px; color: var(--gold-500); flex: none; margin-top: .22rem; }
.ticks b{ color: var(--white); font-weight: 600; }

/* Emblem panel */
.emblem{
  position: relative; aspect-ratio: 1/1; max-width: 520px; margin-inline: auto; width: 100%;
  display: grid; place-items: center;
  border-radius: var(--radius);
}
.emblem__rings{ position: absolute; inset: 0; }
.emblem__rings i{
  position: absolute; inset: 0; margin: auto; border-radius: 50%;
  border: 1px solid rgba(235,181,69,.16); aspect-ratio: 1;
}
.emblem__rings i:nth-child(1){ width: 100%; }
.emblem__rings i:nth-child(2){ width: 74%; border-color: rgba(235,181,69,.22); border-style: dashed; }
.emblem__rings i:nth-child(3){ width: 48%; border-color: rgba(235,181,69,.3); }
.emblem__rings i:nth-child(2){ animation: spin 46s linear infinite; }
@keyframes spin{ to{ transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce){ .emblem__rings i:nth-child(2){ animation: none; } }
.emblem__seal{
  width: 42%; filter: drop-shadow(0 18px 44px rgba(0,0,0,.7));
  position: relative; z-index: 2;
}
.emblem__glow{
  position: absolute; inset: 8%; border-radius: 50%;
  background: radial-gradient(circle, rgba(235,181,69,.18), transparent 66%);
}
.emblem__tick{
  position: absolute; left: 50%; top: 50%; width: 1px; height: 50%;
  transform-origin: top center; background: linear-gradient(rgba(235,181,69,.28), transparent 60%);
}

/* ---------- 16. Stats band ---------- */
.band{
  position: relative;
  background:
    linear-gradient(180deg, rgba(11,36,80,.5), rgba(4,16,46,.5));
  border-block: 1px solid var(--line-soft);
}
.stats{
  display: grid; gap: 1px; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  background: var(--line-soft);
}
.stat{ background: var(--ink-850); padding: clamp(1.75rem,3.4vw,2.75rem) clamp(1.1rem,2vw,1.75rem); text-align: center; }
.stat b{
  display: block; font-family: var(--font-display); font-weight: 900; letter-spacing: -.03em;
  font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1; color: var(--gold-500);
}
.stat span{
  display: block; margin-top: .7rem; font-family: var(--font-mono); font-size: .625rem;
  letter-spacing: .2em; text-transform: uppercase; color: var(--fg-faint); line-height: 1.5;
}

/* ---------- 17. Campuses ---------- */
.campuses{ display: grid; gap: clamp(1rem, 2vw, 1.5rem); grid-template-columns: repeat(auto-fit, minmax(min(100%,290px), 1fr)); }
.campus{
  position: relative; overflow: hidden;
  padding: clamp(1.6rem, 2.8vw, 2.25rem);
  background: linear-gradient(165deg, rgba(11,36,80,.55), rgba(3,12,36,.75));
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  display: grid; gap: 1.1rem; align-content: start;
  transition: border-color .45s var(--ease), transform .5s var(--ease-out);
}
.campus:hover{ border-color: var(--line); transform: translateY(-3px); }
.campus__hd{ display: flex; align-items: center; gap: .8rem; }
.campus__hd .ic{ width: 22px; height: 22px; color: var(--gold-500); flex: none; }
.campus h3{
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(1.35rem, 2.6vw, 1.7rem); letter-spacing: .01em; color: var(--white); line-height: 1;
}
.campus address{ font-style: normal; color: var(--fg-dim); font-size: .9375rem; line-height: 1.6; }
.campus__ph{ display: grid; gap: .5rem; padding-top: .35rem; border-top: 1px solid var(--line-soft); }
.campus__ph a{
  display: inline-flex; align-items: center; gap: .65rem;
  font-family: var(--font-mono); font-size: .9375rem; letter-spacing: .02em; color: var(--cream);
  transition: color .3s var(--ease); padding-block: .3rem;
}
.campus__ph a{ min-height: 38px; }
.campus__ph a:hover{ color: var(--gold-500); }
.campus__ph .ic{ width: 15px; height: 15px; color: var(--gold-600); flex: none; }
.campus__act{ display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .25rem; }
.campus__act .btn{ flex: 1 1 auto; padding: .8rem 1.05rem; font-size: .6875rem; letter-spacing: .12em; min-height: 46px; }

/* ---------- 18. Process / timeline ---------- */
.steps{ display: grid; gap: 1px; background: var(--line-soft); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 900px){ .steps{ grid-template-columns: repeat(5, 1fr); } }
.step{
  background: rgba(7,26,61,.5); padding: clamp(1.5rem,2.6vw,2rem);
  display: grid; gap: .8rem; align-content: start; position: relative;
  transition: background .45s var(--ease);
}
.step:hover{ background: rgba(11,36,80,.72); }
.step b{
  font-family: var(--font-mono); font-size: .625rem; letter-spacing: .24em; color: var(--gold-600);
}
.step h3{ font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1rem; color: var(--white); line-height: 1.22; }
.step p{ font-size: .9rem; color: var(--fg-dim); line-height: 1.55; }
.step__dot{
  width: 9px; height: 9px; border-radius: 50%; background: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(235,181,69,.14);
}

/* ---------- 19. Accordion (FAQ) ---------- */
.acc{ border-top: 1px solid var(--line-soft); }
.acc__item{ border-bottom: 1px solid var(--line-soft); }
.acc__btn{
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 1.35rem 0; text-align: left;
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(.9375rem, 1.7vw, 1.0625rem); letter-spacing: .01em; color: var(--fg);
  transition: color .3s var(--ease);
  min-height: 60px;
}
.acc__btn:hover, .acc__item.is-open .acc__btn{ color: var(--gold-500); }
.acc__ind{ position: relative; width: 16px; height: 16px; flex: none; }
.acc__ind::before, .acc__ind::after{
  content: ""; position: absolute; inset: 0; margin: auto; background: currentColor;
}
.acc__ind::before{ width: 100%; height: 1.5px; }
.acc__ind::after{ width: 1.5px; height: 100%; transition: transform .45s var(--ease-out); }
.acc__item.is-open .acc__ind::after{ transform: scaleY(0); }
.acc__panel{
  display: grid; grid-template-rows: 0fr;
  transition: grid-template-rows .5s var(--ease-out);
}
.acc__item.is-open .acc__panel{ grid-template-rows: 1fr; }
.acc__panel > div{ overflow: hidden; }
.acc__panel p{ padding-bottom: 1.5rem; color: var(--fg-dim); max-width: 76ch; font-size: .9688rem; }

/* ---------- 20. Forms ---------- */
.form{
  display: grid; gap: 1.1rem;
  padding: clamp(1.6rem, 3vw, 2.5rem);
  background: linear-gradient(165deg, rgba(11,36,80,.5), rgba(3,12,36,.7));
  border: 1px solid var(--line-soft); border-radius: var(--radius);
}
.field{ display: grid; gap: .5rem; }
.field label{
  font-family: var(--font-mono); font-size: .625rem; letter-spacing: .2em; text-transform: uppercase; color: var(--fg-faint);
}
.field label .req{ color: var(--gold-600); }
.field input, .field select, .field textarea{
  width: 100%; padding: .9rem 1rem; min-height: 50px;
  background: rgba(255,255,255,.03); border: 1px solid var(--line-soft); border-radius: var(--radius);
  color: var(--fg); font-size: .9688rem;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.field textarea{ resize: vertical; min-height: 118px; line-height: 1.55; }
.field select{ appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23D19D2F' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem;
}
.field select option{ background: var(--ink-800); color: var(--fg); }
.field input:focus, .field select:focus, .field textarea:focus{
  outline: none; border-color: var(--gold-600); background: rgba(255,255,255,.05);
}
.field.has-error input, .field.has-error select, .field.has-error textarea{ border-color: #E2564D; }
.field .err{ font-family: var(--font-mono); font-size: .625rem; letter-spacing: .12em; text-transform: uppercase; color: #F08A82; min-height: 0; }
.field:not(.has-error) .err{ display: none; }
.form__row{ display: grid; gap: 1.1rem; }
@media (min-width: 620px){ .form__row--2{ grid-template-columns: 1fr 1fr; } }
.form__note{ font-size: .8125rem; color: var(--fg-faint); line-height: 1.55; }
.form__ok{
  display: none; gap: .7rem; align-items: flex-start;
  padding: 1rem 1.1rem; border-radius: var(--radius);
  background: rgba(235,181,69,.1); box-shadow: inset 0 0 0 1px rgba(235,181,69,.3);
  color: var(--cream); font-size: .9063rem; line-height: 1.5;
}
.form__ok.is-on{ display: flex; }
.form__ok .ic{ width: 18px; height: 18px; color: var(--gold-500); flex: none; margin-top: .16rem; }

/* ---------- 21. CTA ---------- */
.cta{
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: var(--radius);
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4rem);
  background: linear-gradient(150deg, var(--ink-600), var(--ink-850) 62%);
  border: 1px solid var(--line);
  text-align: center;
}
.cta > .cta__glow{
  position: absolute; left: 50%; top: 0; translate: -50% -46%; z-index: 0;
  width: min(900px, 130%); aspect-ratio: 1;
  background: radial-gradient(circle, rgba(235,181,69,.22), transparent 62%);
  pointer-events: none; z-index: 0;
}
.cta > *{ position: relative; z-index: 1; }
.cta .lede{ margin-inline: auto; margin-top: 1.1rem; }
.cta__act{ display: flex; flex-wrap: wrap; gap: .9rem; justify-content: center; margin-top: 2.25rem; }

/* ---------- 22. Footer ---------- */
.ftr{ position: relative; border-top: 1px solid var(--line); background: var(--ink-900); padding-top: clamp(3.5rem, 7vw, 5.5rem); }
.ftr__top{ display: grid; gap: clamp(2.25rem, 4vw, 3.5rem); }
@media (min-width: 900px){ .ftr__top{ grid-template-columns: 1.15fr 1fr 1fr; } }
.ftr__brand{ display: grid; gap: 1.1rem; align-content: start; }
.ftr__brand .brand__seal{ width: 62px; height: 62px; }
.ftr__brand p{ color: var(--fg-dim); font-size: .9375rem; max-width: 42ch; line-height: 1.6; }
.ftr h4{
  font-family: var(--font-mono); font-size: .625rem; letter-spacing: .24em; text-transform: uppercase;
  color: var(--gold-600); margin-bottom: 1.25rem;
}
.ftr__list{ display: grid; gap: .7rem; }
.ftr__list a, .ftr__list span{ color: var(--fg-dim); font-size: .9375rem; transition: color .3s var(--ease); display: inline-flex; align-items: center; gap: .6rem; padding-block: .4rem; min-height: 36px; }
.ftr__list a:hover{ color: var(--gold-500); }
.ftr__list .ic{ width: 15px; height: 15px; color: var(--gold-700); flex: none; }
.ftr__wordmark{
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
  font-family: var(--font-display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(2.6rem, 15.5vw, 13rem); line-height: .82; letter-spacing: -.045em;
  color: transparent; -webkit-text-stroke: 1px rgba(235,181,69,.22);
  text-align: center; user-select: none; pointer-events: none;
  white-space: nowrap;
}
.ftr__bar{
  margin-top: clamp(1.5rem, 3vw, 2.5rem); padding-block: 1.6rem;
  border-top: 1px solid var(--line-soft);
  display: flex; flex-wrap: wrap; gap: .8rem 1.5rem; align-items: center; justify-content: space-between;
  font-family: var(--font-mono); font-size: .625rem; letter-spacing: .16em; text-transform: uppercase; color: var(--fg-faint);
}
.ftr__bar a:hover{ color: var(--gold-500); }

/* ---------- 23. Floating actions ---------- */
.fabs{
  position: fixed; right: clamp(.9rem, 2vw, 1.6rem); bottom: clamp(.9rem, 2vw, 1.6rem);
  z-index: 680; display: grid; gap: .6rem;
}
.fab{
  width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gold-500); color: var(--ink-900);
  box-shadow: 0 10px 26px -10px rgba(0,0,0,.8);
  transition: transform .4s var(--ease-out), background .3s var(--ease);
}
.fab:hover{ transform: translateY(-3px) scale(1.05); background: var(--gold-400); }
.fab .ic{ width: 22px; height: 22px; }
.fab--top{
  background: rgba(11,36,80,.85); color: var(--gold-500);
  box-shadow: inset 0 0 0 1px var(--line), 0 10px 26px -12px rgba(0,0,0,.8);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: 0; pointer-events: none; transform: translateY(10px);
}
.fab--top.is-on{ opacity: 1; pointer-events: auto; transform: none; }

/* ---------- 24. Page hero (sub pages) ---------- */
.phero__crumb{
  display: flex; align-items: center; gap: .6rem;
  font-family: var(--font-mono); font-size: .625rem; letter-spacing: .2em; text-transform: uppercase; color: var(--fg-faint);
  margin-bottom: 1.35rem;
}
.phero__crumb a{ padding-block: .6rem; display: inline-block; min-height: 34px; }
.phero__crumb a:hover{ color: var(--gold-500); }
.phero__crumb i{ width: 12px; height: 1px; background: var(--gold-700); display: block; }

/* ---------- 25. Misc utility ---------- */
.ic{ width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ic--fill{ fill: currentColor; stroke: none; }
.sr{ position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.mt-1{ margin-top: .75rem; } .mt-2{ margin-top: 1.5rem; } .mt-3{ margin-top: 2.25rem; } .mt-4{ margin-top: 3rem; }
.center{ text-align: center; } .mx{ margin-inline: auto; }
.hr{ height: 1px; background: var(--line-soft); border: 0; }

/* ---------- 26. Print ---------- */
@media print{
  .hdr, .drawer, .fabs, .grain, .vignette, .marquee, .scroll-cue, .progress{ display: none !important; }
  body{ background: #fff; color: #000; }
  .course, .campus, .form{ break-inside: avoid; border-color: #ccc; }
}

/* ---------- 27. Programme index (poster-style numbered rows) ---------- */
.index{ border-top: 1px solid var(--line-soft); }
.index__row{
  position: relative; display: grid; align-items: center;
  grid-template-columns: auto 1fr auto;
  gap: clamp(.9rem, 2.2vw, 1.75rem);
  padding: clamp(1rem, 2vw, 1.35rem) clamp(.5rem, 1.5vw, 1rem);
  border-bottom: 1px solid var(--line-soft);
  isolation: isolate;
  transition: padding-inline .5s var(--ease-out);
}
.index__row::before{
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(235,181,69,.10), rgba(235,181,69,0) 72%);
  transform: scaleX(0); transform-origin: left;
  transition: transform .55s var(--ease-out);
}
.index__row:hover::before, .index__row:focus-within::before{ transform: scaleX(1); }
@media (hover:hover) and (pointer:fine){
  .index__row:hover{ padding-inline-start: clamp(1rem, 2.5vw, 1.9rem); }
}
.index__n{
  font-family: var(--font-mono); font-size: .75rem; letter-spacing: .1em;
  color: var(--gold-600); width: 2.1rem; flex: none;
  transition: color .4s var(--ease);
}
.index__row:hover .index__n{ color: var(--gold-400); }
.index__name{
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(.9375rem, 1.9vw, 1.1875rem); line-height: 1.24; letter-spacing: .005em;
  color: var(--fg); transition: color .4s var(--ease);
}
.index__row:hover .index__name{ color: var(--white); }
.index__name small{
  display: block; font-family: var(--font-body); font-weight: 400; text-transform: none;
  letter-spacing: 0; font-size: .8125rem; color: var(--fg-faint); margin-top: .3rem; line-height: 1.45;
}
.index__ic{ width: 26px; height: 26px; color: var(--gold-600); flex: none; transition: color .4s var(--ease), transform .5s var(--ease-out); }
.index__row:hover .index__ic{ color: var(--gold-400); transform: scale(1.1); }
@media (max-width: 560px){
  .index__ic{ width: 22px; height: 22px; }
  .index__n{ width: 1.8rem; font-size: .6875rem; }
}

/* ---------- 28. Info strip ---------- */
.strip{
  display: grid; gap: 1px; background: var(--line-soft);
  border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr));
}
.strip__cell{
  background: rgba(7,26,61,.5); padding: clamp(1.4rem, 2.6vw, 2rem);
  display: grid; gap: .6rem; align-content: start;
  transition: background .45s var(--ease);
}
.strip__cell:hover{ background: rgba(11,36,80,.72); }
.strip__cell .ic{ width: 22px; height: 22px; color: var(--gold-500); }
.strip__cell h4{
  font-family: var(--font-mono); font-size: .625rem; letter-spacing: .22em;
  text-transform: uppercase; color: var(--fg-faint);
}
.strip__cell a, .strip__cell p{
  font-size: 1rem; color: var(--cream); line-height: 1.5; word-break: break-word;
}
.strip__cell a{ transition: color .3s var(--ease); padding-block: .25rem; min-height: 34px; display: inline-flex; align-items: center; }
.strip__cell a:hover{ color: var(--gold-500); }

/* ---------- 29. Two-column prose blocks ---------- */
.duo{ display: grid; gap: clamp(1.5rem, 3vw, 2.5rem); }
@media (min-width: 860px){ .duo{ grid-template-columns: 1fr 1fr; } }
.panel{
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: rgba(7,26,61,.42);
  border: 1px solid var(--line-soft); border-radius: var(--radius);
  display: grid; gap: 1.1rem; align-content: start;
}
.panel h3{
  font-family: var(--font-display); font-weight: 800; text-transform: uppercase;
  font-size: 1.125rem; color: var(--white); letter-spacing: .01em;
  display: flex; align-items: center; gap: .7rem;
}
.panel h3 .ic{ width: 20px; height: 20px; color: var(--gold-500); flex: none; }

/* ---------- 30. Form layout (contact page) ---------- */
.form-split{ display: grid; gap: clamp(1.75rem, 3.5vw, 3rem); align-items: start; }
@media (min-width: 1000px){ .form-split{ grid-template-columns: .92fr 1.08fr; } }

/* ---------- 31. Full-bleed image plate ---------- */
.plate{
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; align-items: flex-end;
  min-height: clamp(330px, 44vw, 600px);
  border-block: 1px solid var(--line-soft);
}
.plate__img{
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 46%;
}
.plate__scrim{
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(2,7,26,.62) 0%, rgba(2,7,26,.12) 30%, rgba(2,7,26,.55) 72%, rgba(2,7,26,.94) 100%),
    linear-gradient(90deg, rgba(2,7,26,.86) 0%, rgba(2,7,26,.28) 46%, rgba(2,7,26,0) 72%);
}
.plate__in{
  position: relative; z-index: 2; width: 100%;
  padding-block: clamp(2.25rem, 5vw, 4rem);
  display: grid; gap: 1.1rem;
}
.plate__in .lede{ max-width: 54ch; }
.plate__credit{
  position: absolute; right: var(--gutter); bottom: .9rem; z-index: 2;
  font-family: var(--font-mono); font-size: .5625rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--fg-faint); opacity: .7;
}
@media (max-width: 700px){
  .plate__scrim{
    background: linear-gradient(180deg, rgba(2,7,26,.6) 0%, rgba(2,7,26,.25) 26%, rgba(2,7,26,.86) 66%, rgba(2,7,26,.97) 100%);
  }
  .plate__credit{ display: none; }
}
