/* ==========================================================================
   Our Portfolio - public site
   Palette: bg #250C4F | text #44C6D4 | accent #660033
   No external libraries. All motion is transform/opacity based.
   ========================================================================== */

:root {
  --bg: #250C4F;
  --bg-deep: #170733;
  --primary: #141B54;           /* dark blue */
  --secondary: #9FE3EE;         /* pastel azure */
  --surface: #32126B;           /* the in-between tone, higher contrast */
  --surface-2: #3E1A84;
  --surface-line: rgba(68, 198, 212, 0.20);
  --surface-line-hot: rgba(68, 198, 212, 0.70);
  --text: #44C6D4;
  --text-strong: #DFF8FC;
  --muted: #A79FC4;
  --accent: #660033;
  --accent-hot: #C0175F;
  --success: #C6B4F7;
  --error: #FF8A3D;

  --radius-xl: 34px;
  --radius: 26px;
  --radius-sm: 16px;
  --radius-pill: 999px;

  --shadow: 0 24px 60px -28px rgba(0, 0, 0, .85);
  --shadow-glow: 0 0 0 1px var(--surface-line-hot), 0 18px 50px -20px rgba(68, 198, 212, .45);

  --maxw: 1220px;
  --gutter: clamp(18px, 4vw, 56px);
  --ease: cubic-bezier(.22, .68, .28, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --font-head: 'Alfa Slab One', 'Rockwell', Georgia, serif;
  --font-body: Arial, 'Helvetica Neue', Helvetica, system-ui, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 108px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: clamp(15px, 1.03vw, 17px);
  line-height: 1.62;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

body.is-locked { overflow: hidden; }

img, video, canvas { max-width: 100%; display: block; }
a { color: var(--text); text-decoration: none; }
button { font: inherit; color: inherit; }

::selection { background: var(--accent-hot); color: #fff; }

/* ---------------------------------------------------------------- backdrop */

.backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 50% -10%, #3A1580 0%, transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .55;
  will-change: transform;
}
.blob--a {
  width: 46vmax; height: 46vmax; left: -12vmax; top: -10vmax;
  background: radial-gradient(circle, rgba(68, 198, 212, .55), transparent 68%);
  animation: drift-a 26s var(--ease) infinite alternate;
}
.blob--b {
  width: 40vmax; height: 40vmax; right: -14vmax; top: 22vmax;
  background: radial-gradient(circle, rgba(192, 23, 95, .55), transparent 66%);
  animation: drift-b 32s var(--ease) infinite alternate;
}
.blob--c {
  width: 38vmax; height: 38vmax; left: 24vmax; bottom: -16vmax;
  background: radial-gradient(circle, rgba(159, 227, 238, .38), transparent 70%);
  animation: drift-c 38s var(--ease) infinite alternate;
}
@keyframes drift-a { to { transform: translate3d(14vw, 10vh, 0) scale(1.18); } }
@keyframes drift-b { to { transform: translate3d(-16vw, -8vh, 0) scale(1.12); } }
@keyframes drift-c { to { transform: translate3d(10vw, -14vh, 0) scale(.88); } }

.backdrop__grid {
  position: absolute; inset: -2px;
  background-image:
    linear-gradient(rgba(68, 198, 212, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(68, 198, 212, .07) 1px, transparent 1px);
  background-size: 78px 78px;
  mask-image: radial-gradient(120% 80% at 50% 20%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(120% 80% at 50% 20%, #000 20%, transparent 75%);
}

.backdrop__noise {
  position: absolute; inset: 0;
  opacity: .16;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

.spotlight {
  position: fixed;
  width: 640px; height: 640px;
  left: 0; top: 0;
  margin: -320px 0 0 -320px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity .5s var(--ease);
  background: radial-gradient(circle, rgba(68, 198, 212, .10), transparent 62%);
  will-change: transform;
}
body.has-pointer .spotlight { opacity: 1; }

/* ------------------------------------------------------------------ layout */

.wrap { width: min(100% - (var(--gutter) * 2), var(--maxw)); margin-inline: auto; }
main { position: relative; z-index: 2; }

.section { padding: clamp(72px, 11vh, 132px) 0; position: relative; }
.section + .section { padding-top: clamp(40px, 6vh, 76px); }

.section__head {
  display: flex; flex-wrap: wrap; align-items: flex-end;
  gap: 18px 28px; margin-bottom: clamp(26px, 4vw, 46px);
}
.section__eyebrow {
  font-size: .74rem; letter-spacing: .34em; text-transform: uppercase;
  color: var(--muted); margin: 0 0 10px;
}
.section__title {
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(2rem, 5.4vw, 3.5rem);
  line-height: 1.02;
  margin: 0;
  color: var(--text-strong);
  text-shadow: 0 0 44px rgba(68, 198, 212, .28);
}
.section__title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--text) 0%, var(--secondary) 55%, var(--accent-hot) 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}
.section__note { color: var(--muted); margin: 0; max-width: 46ch; font-weight: 500; }

/* --------------------------------------------------------------------- nav */

.dock {
  position: fixed;
  left: 50%; top: 22px;
  transform: translate3d(-50%, 0, 0);
  z-index: 60;
  display: flex; align-items: center; gap: 6px;
  padding: 8px;
  border-radius: var(--radius-pill);
  background: rgba(37, 12, 79, .72);
  border: 1px solid var(--surface-line);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  box-shadow: var(--shadow);
  transition: transform .45s var(--ease-out), opacity .35s var(--ease), box-shadow .35s var(--ease);
  max-width: calc(100vw - 24px);
}
.dock.is-hidden { transform: translate3d(-50%, -140%, 0); opacity: 0; }
.dock.is-solid { box-shadow: var(--shadow), 0 0 0 1px rgba(68, 198, 212, .28); }

.dock__brand {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 14px; border-radius: var(--radius-pill);
  font-family: var(--font-head); font-weight: 400; font-size: .95rem;
  color: var(--text-strong); white-space: nowrap;
}
.dock__dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--text);
  box-shadow: 0 0 0 4px rgba(68, 198, 212, .18);
  animation: pulse 2.6s ease-in-out infinite;
  flex: none;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(68, 198, 212, .04); } }

.dock__links { display: flex; align-items: center; gap: 4px; }

/* icon button that stretches sideways to reveal its label */
.pill {
  --pill-bg: transparent;
  position: relative;
  display: inline-flex; align-items: center; gap: 0;
  height: 42px; padding: 0 12px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--pill-bg);
  color: var(--text);
  cursor: pointer;
  overflow: hidden;
  transition: background .3s var(--ease), border-color .3s var(--ease),
              transform .3s var(--ease), color .3s var(--ease);
  white-space: nowrap;
}
.pill svg { width: 19px; height: 19px; flex: none; }
.pill span {
  display: inline-block;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  font-size: .84rem; letter-spacing: .04em;
  transition: max-width .42s var(--ease-out), opacity .28s var(--ease),
              margin-left .42s var(--ease-out);
  margin-left: 0;
}
.pill:hover, .pill:focus-visible, .pill.is-active {
  background: rgba(68, 198, 212, .12);
  border-color: var(--surface-line-hot);
  color: var(--text-strong);
  transform: scale(1.04);
}
.pill:hover span, .pill:focus-visible span, .pill.is-active span {
  max-width: 180px; opacity: 1; margin-left: 9px;
}
.pill:focus-visible { outline: 2px solid var(--secondary); outline-offset: 2px; }

/* toolbar variant: label always visible (it is a control, not a nav icon) */
.pill--label span { max-width: 180px; opacity: 1; margin-left: 9px; }

/* --------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--surface-line-hot);
  background: linear-gradient(120deg, rgba(68, 198, 212, .16), rgba(68, 198, 212, .04));
  color: var(--text-strong);
  font-weight: 600; font-size: .93rem; letter-spacing: .03em;
  cursor: pointer;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease),
              background .28s var(--ease), border-color .28s var(--ease);
  text-align: center;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover, .btn:focus-visible {
  transform: scale(1.06);
  box-shadow: 0 14px 40px -14px rgba(68, 198, 212, .6);
  background: linear-gradient(120deg, rgba(68, 198, 212, .28), rgba(68, 198, 212, .08));
}
.btn:active { transform: scale(.99); }
.btn--accent {
  background: linear-gradient(120deg, var(--accent) 0%, var(--accent-hot) 100%);
  border-color: rgba(255, 255, 255, .22);
  color: #fff;
}
.btn--accent:hover {
  box-shadow: 0 16px 44px -14px rgba(192, 23, 95, .75);
  background: linear-gradient(120deg, #7d0040 0%, #d81c6b 100%);
}
.btn--ghost { background: transparent; border-color: var(--surface-line); }
.btn--sm { padding: 10px 18px; font-size: .84rem; }
.btn:focus-visible { outline: 2px solid var(--secondary); outline-offset: 3px; }

/* ------------------------------------------------------------------- hero */

.hero {
  position: relative;
  min-height: min(100svh, 940px);
  display: flex; align-items: center;
  padding: 140px 0 80px;
  overflow: hidden;
}
.hero__media {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden;
}
.hero__media img, .hero__media video {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06);
  opacity: .40;
}
.hero__media::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(90% 70% at 20% 40%, rgba(37, 12, 79, .35), transparent 70%),
    linear-gradient(180deg, rgba(37, 12, 79, .55) 0%, rgba(37, 12, 79, .92) 78%, var(--bg) 100%);
}
/* NB: no width here - .wrap owns the width and the auto side margins. */
.hero__inner { position: relative; z-index: 2; }

.hero__badges { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; margin: 0;
  border-radius: var(--radius-pill);
  border: 1px solid var(--surface-line);
  background: rgba(37, 12, 79, .5);
  font-size: .78rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted);
}
.hero__badge b { color: var(--text); font-weight: 600; letter-spacing: .2em; }

.hero__title {
  font-family: var(--font-head); font-weight: 400;
  font-size: clamp(2.7rem, 10vw, 7.4rem);
  line-height: .95;
  letter-spacing: -.01em;
  margin: 0 0 18px;
  color: var(--text-strong);
  text-shadow: 0 0 70px rgba(68, 198, 212, .35);
  overflow-wrap: anywhere;
}
.hero__title .glow {
  background: linear-gradient(96deg, var(--secondary) 0%, var(--text) 45%, var(--accent-hot) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__role {
  font-size: clamp(1rem, 2.2vw, 1.4rem);
  color: var(--text);
  margin: 0 0 14px;
  letter-spacing: .02em;
}
.hero__tagline {
  color: var(--muted); font-weight: 500;
  max-width: 60ch; margin: 0 0 32px;
  font-size: clamp(.98rem, 1.5vw, 1.1rem);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.hero__meta { display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--muted);
  font-size: .86rem; }
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta svg { width: 15px; height: 15px; opacity: .8; }

.hero__avatar {
  width: clamp(92px, 12vw, 132px); aspect-ratio: 1;
  border-radius: var(--radius);
  object-fit: cover;
  border: 1px solid var(--surface-line-hot);
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

.scroll-hint {
  position: absolute; left: 50%; bottom: 26px; z-index: 3;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--muted); font-size: .7rem; letter-spacing: .3em; text-transform: uppercase;
}
.scroll-hint i {
  width: 1px; height: 42px; display: block;
  background: linear-gradient(180deg, var(--text), transparent);
  animation: hint 2.2s var(--ease) infinite;
}
@keyframes hint { 0%, 100% { opacity: .25; transform: scaleY(.6); } 50% { opacity: 1; transform: scaleY(1); } }

/* ------------------------------------------------------------------ cards */

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px);
}
.grid--gallery { grid-auto-rows: 1fr; }

.card {
  position: relative;
  display: flex; flex-direction: column;
  border-radius: var(--radius);
  border: 1px solid var(--surface-line);
  background: linear-gradient(160deg, rgba(62, 26, 132, .58), rgba(50, 18, 107, .38));
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  padding: 0;
  width: 100%;
  transition: transform .4s var(--ease-out), border-color .35s var(--ease),
              box-shadow .4s var(--ease), background .4s var(--ease);
  will-change: transform;
}
.card::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}
.card:hover, .card:focus-visible {
  border-color: var(--surface-line-hot);
  box-shadow: var(--shadow-glow);
  animation: nudge .5s var(--ease);
}
.card:focus-visible { outline: 2px solid var(--secondary); outline-offset: 3px; }
@keyframes nudge {
  0% { transform: translate3d(0, 0, 0) rotate(0); }
  22% { transform: translate3d(-3px, -4px, 0) rotate(-.55deg); }
  46% { transform: translate3d(3px, -6px, 0) rotate(.5deg); }
  72% { transform: translate3d(-2px, -5px, 0) rotate(-.25deg); }
  100% { transform: translate3d(0, -6px, 0) rotate(0); }
}
.card:hover { transform: translate3d(0, -6px, 0); }

.card__thumb {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(140deg, var(--primary), var(--surface-2));
}
.card__thumb img, .card__thumb video {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease-out), filter .5s var(--ease);
}
.card:hover .card__thumb img, .card:hover .card__thumb video {
  transform: scale(1.07);
  filter: saturate(1.15);
}
.card__thumb--empty { display: grid; place-items: center; color: rgba(223, 248, 252, .3); }
.card__thumb--empty svg { width: 42px; height: 42px; }

.card__tag {
  position: absolute; left: 14px; top: 14px; z-index: 2;
  padding: 6px 12px; border-radius: var(--radius-pill);
  background: rgba(23, 7, 51, .78);
  border: 1px solid var(--surface-line);
  font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--text);
  backdrop-filter: blur(8px);
}
.card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px;
  flex: 1; }
.card__title {
  font-family: var(--font-head); font-weight: 400;
  font-size: 1.22rem; line-height: 1.14; margin: 0;
  color: var(--text-strong);
}
.card__sub { margin: 0; color: var(--muted); font-size: .88rem; font-weight: 500; }
.card__foot {
  margin-top: auto; padding-top: 14px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  color: var(--text); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase;
}
.card__foot i { display: inline-flex; transition: transform .35s var(--ease-out); }
.card:hover .card__foot i { transform: translateX(6px); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 5px 11px; border-radius: var(--radius-pill);
  border: 1px solid var(--surface-line);
  background: rgba(20, 27, 84, .5);
  font-size: .72rem; color: var(--muted); letter-spacing: .06em;
}

/* gallery tiles */
.tile {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--surface-line);
  background: var(--primary);
  aspect-ratio: 1;
  cursor: zoom-in;
  transition: transform .4s var(--ease-out), border-color .35s var(--ease),
              box-shadow .4s var(--ease);
  will-change: transform;
}
.tile img, .tile video {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease-out);
}
.tile:hover { border-color: var(--surface-line-hot); box-shadow: var(--shadow-glow);
  animation: nudge .5s var(--ease); transform: translate3d(0, -5px, 0); }
.tile:hover img, .tile:hover video { transform: scale(1.08); }
.tile figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 30px 16px 14px;
  font-size: .82rem; color: var(--text-strong);
  background: linear-gradient(180deg, transparent, rgba(23, 7, 51, .92));
  transform: translateY(101%);
  transition: transform .4s var(--ease-out);
}
.tile:hover figcaption, .tile:focus-within figcaption { transform: translateY(0); }
.tile--wide { grid-column: span 2; aspect-ratio: 2 / 1; }

/* ------------------------------------------------------- work table view */

.work-toolbar { display: flex; gap: 10px; flex-wrap: wrap; }
.work-table { display: none; width: 100%; }
body[data-workview="table"] .work-table { display: block; }
body[data-workview="table"] .work-grid { display: none; }

.wt {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 10px;
  font-size: .92rem;
}
.wt th {
  text-align: left; padding: 0 18px 6px;
  font-size: .7rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted); font-weight: 600;
}
.wt td {
  background: linear-gradient(160deg, rgba(62, 26, 132, .5), rgba(50, 18, 107, .34));
  border-block: 1px solid var(--surface-line);
  padding: 16px 18px;
  vertical-align: middle;
}
.wt tr { cursor: pointer; transition: transform .3s var(--ease); }
.wt tr:hover td { border-color: var(--surface-line-hot); background: rgba(68, 198, 212, .1); }
.wt tr:hover { transform: translateX(4px); }
.wt td:first-child { border-left: 1px solid var(--surface-line);
  border-radius: var(--radius-sm) 0 0 var(--radius-sm); }
.wt td:last-child { border-right: 1px solid var(--surface-line);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0; text-align: right; }
.wt tr:hover td:first-child, .wt tr:hover td:last-child { border-color: var(--surface-line-hot); }
.wt__title { font-family: var(--font-head); font-weight: 400; color: var(--text-strong);
  font-size: 1.02rem; }
.wt__thumb { width: 62px; height: 46px; border-radius: 10px; object-fit: cover; }

/* ---------------------------------------------------------------- contact */

.contact {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(18px, 3vw, 40px);
  align-items: start;
}
.panel {
  border-radius: var(--radius-xl);
  border: 1px solid var(--surface-line);
  background: linear-gradient(160deg, rgba(62, 26, 132, .5), rgba(37, 12, 79, .62));
  padding: clamp(22px, 3.4vw, 40px);
  box-shadow: var(--shadow);
}
.field { display: block; margin-bottom: 16px; }
.field span {
  display: block; margin-bottom: 8px;
  font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted);
}
.field input, .field textarea {
  width: 100%; padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--surface-line);
  background: rgba(20, 27, 84, .55);
  color: var(--text-strong);
  font-family: inherit; font-size: .95rem; font-weight: 600;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus, .field textarea:focus {
  outline: none; border-color: var(--surface-line-hot);
  box-shadow: 0 0 0 4px rgba(68, 198, 212, .12);
}
.hp { position: absolute; left: -9999px; opacity: 0; }

.contact-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.contact-row {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--surface-line);
  background: rgba(20, 27, 84, .38);
  transition: border-color .3s var(--ease), transform .3s var(--ease),
              background .3s var(--ease);
}
.contact-row:hover {
  border-color: var(--surface-line-hot); transform: translateX(5px);
  background: rgba(68, 198, 212, .08);
}
.contact-row svg { width: 18px; height: 18px; flex: none; color: var(--text); }
.contact-row b { display: block; font-size: .7rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted); font-weight: 600; }
.contact-row span { color: var(--text-strong); overflow-wrap: anywhere; }

.notice {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; margin-bottom: 18px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(198, 180, 247, .5);
  background: rgba(198, 180, 247, .12);
  color: var(--success);
}

/* ----------------------------------------------------------------- footer */

.footer {
  position: relative; z-index: 2;
  border-top: 1px solid var(--surface-line);
  margin-top: 40px; padding: 40px 0 120px;
  color: var(--muted); font-size: .84rem;
}
.footer__inner { display: flex; flex-wrap: wrap; gap: 16px 28px;
  justify-content: space-between; align-items: center; }
.footer a:hover { color: var(--text-strong); }

/* ------------------------------------------------- splash popup (window) */

.splash {
  position: fixed; inset: 0; z-index: 90;
  display: none;
}
.splash.is-open { display: block; }

.splash__ink {
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
  transform-origin: var(--ox, 50%) var(--oy, 50%);
}
.splash__ink svg { width: 100%; height: 100%; }

.splash__sheet {
  position: absolute; inset: 0; z-index: 2;
  background:
    radial-gradient(120% 90% at var(--ox, 50%) var(--oy, 0%), #3B1683 0%, transparent 62%),
    linear-gradient(180deg, #250C4F 0%, #170733 100%);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  clip-path: circle(0% at var(--ox, 50%) var(--oy, 50%));
}
.splash.is-open .splash__sheet { animation: splash-in .72s var(--ease-out) forwards; }
.splash.is-closing .splash__sheet { animation: wipe-out .5s var(--ease) forwards; }
@keyframes splash-in {
  0% { clip-path: circle(0% at var(--ox, 50%) var(--oy, 50%)); }
  100% { clip-path: circle(150% at var(--ox, 50%) var(--oy, 50%)); }
}
@keyframes wipe-out {
  0% { clip-path: inset(0 0 0 0 round 0); opacity: 1; }
  100% { clip-path: inset(0 0 0 100% round 60px); opacity: .35; }
}

.splash.is-open .splash__ink { animation: ink-throw .8s var(--ease-out) forwards; }
@keyframes ink-throw {
  0% { transform: scale(.04) rotate(-24deg); opacity: 1; }
  55% { opacity: .95; }
  100% { transform: scale(3.4) rotate(16deg); opacity: 0; }
}

.splash__wipe {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  background: linear-gradient(100deg, var(--accent) 0%, var(--accent-hot) 55%, var(--text) 100%);
  transform: translateX(-102%);
}
.splash.is-closing .splash__wipe { animation: band .55s var(--ease) forwards; }
@keyframes band {
  0% { transform: translateX(-102%) skewX(-8deg); }
  50% { transform: translateX(0) skewX(-8deg); }
  100% { transform: translateX(102%) skewX(-8deg); }
}

.splash__inner { padding: clamp(28px, 6vw, 74px) 0 140px; }
.splash__top {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 18px;
  margin-bottom: 12px;
}
.splash__eyebrow { font-size: .74rem; letter-spacing: .3em; text-transform: uppercase;
  color: var(--muted); }
.splash__title {
  font-family: var(--font-head); font-weight: 400;
  font-size: clamp(2rem, 6.6vw, 4.2rem); line-height: 1;
  margin: 6px 0 14px; color: var(--text-strong);
  overflow-wrap: anywhere;
}
.splash__sub { color: var(--text); font-size: clamp(1rem, 2vw, 1.2rem); margin: 0 0 22px;
  max-width: 62ch; }
.splash__facts {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px; margin: 0 0 30px; padding: 0; list-style: none;
}
.splash__facts li {
  padding: 14px 16px; border-radius: var(--radius-sm);
  border: 1px solid var(--surface-line); background: rgba(20, 27, 84, .4);
}
.splash__facts b { display: block; font-size: .68rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.splash__facts span { color: var(--text-strong); }

.prose { max-width: 72ch; color: var(--text); font-weight: 500; }
.prose p { margin: 0 0 1.05em; white-space: pre-line; }

.splash__media { display: grid; gap: clamp(14px, 2vw, 22px); margin: 34px 0 0; }
.splash__media figure { margin: 0; border-radius: var(--radius);
  overflow: hidden; border: 1px solid var(--surface-line); background: var(--primary); }
.splash__media img, .splash__media video { width: 100%; height: auto; }
.splash__media figcaption { padding: 12px 16px; color: var(--muted); font-size: .84rem; }

.back-btn {
  position: fixed; right: clamp(16px, 3vw, 34px); bottom: clamp(16px, 3vw, 34px);
  z-index: 12;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 24px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 255, 255, .24);
  background: linear-gradient(120deg, var(--accent), var(--accent-hot));
  color: #fff; cursor: pointer; font-weight: 600;
  box-shadow: 0 18px 46px -16px rgba(192, 23, 95, .8);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}
.back-btn:hover { transform: scale(1.07); }
.back-btn svg { width: 18px; height: 18px; }

/* lightbox for gallery */
.lightbox {
  position: fixed; inset: 0; z-index: 95;
  display: none; place-items: center;
  padding: clamp(16px, 5vw, 64px);
  background: rgba(12, 4, 28, .93);
  backdrop-filter: blur(10px);
}
.lightbox.is-open { display: grid; animation: fade .3s var(--ease); }
@keyframes fade { from { opacity: 0; } }
.lightbox figure { margin: 0; max-width: min(1100px, 100%); text-align: center; }
.lightbox img, .lightbox video {
  max-height: 78vh; width: auto; margin-inline: auto;
  border-radius: var(--radius); border: 1px solid var(--surface-line);
}
.lightbox figcaption { margin-top: 14px; color: var(--muted); }

/* ------------------------------------------------------------ index page */

.index-hero { padding: clamp(120px, 18vh, 200px) 0 40px; }
.people { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 26px); }
.person {
  display: flex; flex-direction: column; gap: 14px;
  padding: clamp(20px, 2.6vw, 30px);
  border-radius: var(--radius-xl);
  border: 1px solid var(--surface-line);
  background: linear-gradient(160deg, rgba(62, 26, 132, .55), rgba(37, 12, 79, .5));
  transition: transform .4s var(--ease-out), border-color .35s var(--ease),
              box-shadow .4s var(--ease);
}
.person:hover {
  transform: translateY(-7px); border-color: var(--surface-line-hot);
  box-shadow: var(--shadow-glow); animation: nudge .5s var(--ease);
}
.person__avatar {
  width: 74px; height: 74px; border-radius: 22px; object-fit: cover;
  border: 1px solid var(--surface-line-hot);
  background: var(--primary);
}
.person__name { font-family: var(--font-head); font-weight: 400; font-size: 1.5rem;
  margin: 0; color: var(--text-strong); }
.person__role { margin: 0; color: var(--text); font-size: .92rem; }
.person__tag { margin: 0; color: var(--muted); font-weight: 500; font-size: .88rem; }
.person__foot { margin-top: auto; padding-top: 8px; display: flex; gap: 10px;
  flex-wrap: wrap; align-items: center; justify-content: space-between; }

.empty-state {
  border: 1px dashed var(--surface-line); border-radius: var(--radius-xl);
  padding: clamp(28px, 5vw, 56px); text-align: center; color: var(--muted);
}

/* --------------------------------------------------------------- reveal */

.reveal { opacity: 0; transform: translate3d(0, 26px, 0); }
.reveal.is-in {
  opacity: 1; transform: none;
  transition: opacity .7s var(--ease-out), transform .8s var(--ease-out);
  transition-delay: var(--delay, 0ms);
}

.parallax { will-change: transform; }

/* ----------------------------------------------------------- responsive */

@media (max-width: 1024px) {
  .grid, .people { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact { grid-template-columns: 1fr; }
  .tile--wide { grid-column: span 2; }
}

@media (max-width: 680px) {
  html { scroll-padding-top: 24px; }
  .grid, .people { grid-template-columns: minmax(0, 1fr); }
  .tile--wide { grid-column: span 1; aspect-ratio: 4 / 3; }
  .dock {
    top: auto; bottom: 14px; left: 50%;
    width: calc(100% - 24px);
    justify-content: space-between;
    padding: 7px;
  }
  .dock.is-hidden { transform: translate3d(-50%, 160%, 0); }
  .dock__brand { display: none; }
  .dock__links { width: 100%; justify-content: space-around; }
  .pill { padding: 0 10px; height: 44px; }
  .pill span { font-size: .74rem; }
  .pill.is-active span { max-width: 120px; margin-left: 8px; }
  .hero { padding-top: 92px; min-height: 92svh; }
  .footer { padding-bottom: 108px; }
  .back-btn { left: 50%; right: auto; transform: translateX(-50%); bottom: 78px; }
  .back-btn:hover { transform: translateX(-50%) scale(1.06); }
  .wt th:nth-child(3), .wt td:nth-child(3),
  .wt th:nth-child(4), .wt td:nth-child(4) { display: none; }
  .splash__inner { padding-bottom: 150px; }
}

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

@media print {
  .dock, .backdrop, .spotlight, .splash, .back-btn { display: none !important; }
  body { background: #fff; color: #111; }
}
