/* =========================================================================
   Joyce Anne Fulgar — portfolio
   Art direction: "the credential". The ID badge is the signature object.
   Its barcode digits number the sections, its lanyard blue is the only
   accent, and the layout borrows from CRM boards (rules, stages, timelines)
   without looking like a dashboard.
   ========================================================================= */

:root {
  --ink: #0a1a3a;
  --navy: #0b1f4b;
  --navy-deep: #061430;
  --royal: #1d55d6;
  --royal-hi: #3b74f2;
  --royal-tint: #e6edfc;
  --paper: #f2f3f6;
  --paper-2: #e8eaf0;
  --white: #ffffff;
  --muted: #56638a;
  --body: #2c3a63;
  --line: rgba(10, 26, 58, .11);
  --line-strong: rgba(10, 26, 58, .22);
  --line-inv: rgba(255, 255, 255, .14);
  --ok: #1f9d55;

  --display: Montserrat, "Helvetica Neue", Arial, sans-serif;
  --sans: Poppins, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --maxw: 1320px;
  --gutter: clamp(20px, 4vw, 48px);
  --header-h: 72px;
  --radius: 4px;
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--royal); outline-offset: 3px; border-radius: 2px; }
::selection { background: var(--royal); color: var(--white); }

.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.mono { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; text-transform: uppercase; font-weight: 500; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 300; background: var(--ink); color: var(--white); padding: 10px 16px; text-decoration: none; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }
.anchor { position: absolute; top: 0; }

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

/* ---------------------------------------------------------------- buttons */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 24px; border-radius: var(--radius); border: 1.5px solid transparent;
  font-family: var(--display); font-weight: 700; font-size: 13px; letter-spacing: .07em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .3s var(--ease-out), color .3s var(--ease-out), border-color .3s var(--ease-out), transform .6s var(--ease-out);
}
.btn .icon { width: 18px; height: 18px; transition: transform .4s var(--ease-out); }
.btn:hover .icon { transform: translateX(3px); }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.btn-primary { background: var(--royal); color: var(--white); }
.btn-primary:hover:not(:disabled) { background: var(--navy); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); background: var(--white); }
.btn-ghost .icon { width: 14px; height: 14px; fill: currentColor; stroke: none; }
.btn-ghost:hover .icon { transform: none; }
.btn-sm { height: 40px; padding: 0 16px; font-size: 11.5px; }
.btn-sm:hover .icon { transform: translate(2px, -2px); }

.icon-btn {
  width: 40px; height: 40px; display: inline-grid; place-items: center; flex-shrink: 0;
  border: 1px solid var(--line-strong); border-radius: var(--radius); background: transparent; color: var(--ink); cursor: pointer;
  transition: background-color .25s var(--ease-out), color .25s var(--ease-out), border-color .25s var(--ease-out);
}
.icon-btn:hover:not(:disabled) { background: var(--ink); color: var(--white); border-color: var(--ink); }
.icon-btn:disabled { opacity: .35; cursor: not-allowed; }
.icon-btn .icon { width: 18px; height: 18px; }

/* ---------------------------------------------------------------- progress + header */
.progress { position: fixed; inset: 0 0 auto 0; height: 2px; z-index: 120; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--royal); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }

/* The header is a frosted bar the lanyard hangs from: the straps disappear beneath it. */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  background: rgba(242, 243, 246, .9);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: border-color .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -24px rgba(6, 20, 48, .4); }
.header-row { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); margin-right: auto; }
.brand-mark {
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: var(--radius);
  background: var(--ink); color: var(--white); font-family: var(--display); font-weight: 900; font-size: 14px; letter-spacing: .02em;
}
.brand-meta { color: var(--muted); font-size: 11px; }
.nav { display: flex; gap: 26px; }
.nav a {
  position: relative; font-family: var(--mono); font-size: 11.5px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; padding: 6px 0;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease-out);
}
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav a.is-active { color: var(--royal); }
.menu-btn { display: none; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line-strong); border-radius: var(--radius); background: transparent; color: var(--ink); cursor: pointer; }
.menu-btn .icon { width: 22px; height: 22px; }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 90; background: var(--navy-deep); color: var(--white);
  display: flex; flex-direction: column; justify-content: space-between; padding: 28px var(--gutter) 36px;
  animation: menuIn .5s var(--ease-out);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: grid; }
.mobile-menu nav a {
  display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-inv);
  font-family: var(--display); font-weight: 800; font-size: clamp(28px, 8vw, 40px); text-transform: uppercase; letter-spacing: -.02em;
  color: var(--white); text-decoration: none;
}
.mobile-menu nav a .mono { color: #7f93c4; font-size: 11px; }
.mobile-menu-meta { color: #7f93c4; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-12px); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative; min-height: max(700px, 100svh); padding-top: var(--header-h);
  display: flex; flex-direction: column; overflow: clip; background: var(--paper);
}
.hero-grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(rgba(10, 26, 58, .18) 1px, transparent 1.4px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 28% 45%, #000 20%, transparent 78%);
          mask-image: radial-gradient(ellipse 60% 55% at 28% 45%, #000 20%, transparent 78%);
  will-change: transform;
}
.hero-inner { position: static; flex: 1; display: flex; align-items: center; }
.hero-copy { position: relative; z-index: 1; width: 100%; padding: clamp(32px, 6vh, 72px) 0 clamp(40px, 6vh, 64px); }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: var(--muted); }
.hero-meta .sep { opacity: .45; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); position: relative; }
.live-dot.is-on { background: var(--ok); }
.live-dot.is-on::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid var(--ok); animation: ping 2.2s var(--ease-out) infinite; }
@keyframes ping { from { transform: scale(.6); opacity: .9; } to { transform: scale(1.8); opacity: 0; } }

.hero-name {
  font-family: var(--display); font-weight: 900; text-transform: uppercase; color: var(--ink);
  font-size: clamp(56px, 8.9vw, 146px); line-height: .86; letter-spacing: -.04em;
  margin: clamp(18px, 3vh, 28px) 0 clamp(22px, 3.4vh, 32px);
}
.accent { color: var(--royal); }
.hero-role { font-family: var(--display); font-weight: 700; font-size: clamp(15px, 1.4vw, 19px); color: var(--ink); max-width: 680px; letter-spacing: -.005em; }
.hero-tagline { margin-top: 12px; max-width: 46ch; color: var(--muted); font-size: 16px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* masked line reveal (headings) */
.mask { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.mask-inner { display: block; }

/* ---------------------------------------------------------------- the badge */
.badge-zone {
  position: absolute; z-index: 2; top: 0;
  right: max(calc(var(--gutter) - 2vw), calc((100% - var(--maxw)) / 2));
  width: clamp(330px, 40vw, 620px); aspect-ratio: 956 / 1068;
  perspective: 1800px; container-type: inline-size;
}
.badge-cast {
  position: absolute; left: 31%; top: 47%; width: 38%; height: 50%; border-radius: 14px;
  background: rgba(6, 20, 48, .28); filter: blur(28px);
  transform: translate(10%, 6%) rotate(5deg); pointer-events: none;
}
.badge-rig {
  position: absolute; inset: 0; cursor: pointer; outline: none;
  transform-style: preserve-3d; transform-origin: 53.1% 0%;
  transform: rotateX(var(--tx, 0deg)) rotateY(calc(var(--flip, 0deg) + var(--ty, 0deg)));
  transition: transform 1.1s var(--ease-out);
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.badge-rig.is-flipped { --flip: 180deg; }
.badge-rig:focus-visible .badge-front img, .badge-rig:focus-visible .badge-back img { outline: 2px dashed var(--royal); outline-offset: -6px; }
.badge-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.badge-face img {
  width: 100%; height: 100%; user-select: none; -webkit-user-drag: none;
  filter: drop-shadow(0 26px 28px rgba(6, 20, 48, .26)) drop-shadow(0 4px 6px rgba(6, 20, 48, .16));
}
.badge-back { transform: rotateY(180deg); }

/* card back content, sized in units of the badge zone so it scales with it */
.card-back {
  position: absolute; left: 26.72%; top: 41.05%; width: 40.06%; height: 57.4%;
  transform: rotate(3.8deg); transform-origin: 50% 50%;
  padding: 11.5cqw 2.9cqw 2.6cqw; display: flex; flex-direction: column; color: var(--ink);
}
.cb-top { display: flex; justify-content: space-between; font-size: 1.32cqw; letter-spacing: .08em; padding-bottom: 1cqw; border-bottom: 1px solid rgba(10, 26, 58, .2); color: var(--muted); }
.cb-name { font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: 3.55cqw; line-height: .95; letter-spacing: -.02em; margin: 2.1cqw 0 1cqw; }
.cb-role { font-family: var(--display); font-weight: 700; font-size: 1.55cqw; line-height: 1.3; color: var(--royal); }
.cb-label { font-size: 1.2cqw; color: var(--muted); margin: 2.4cqw 0 .9cqw; }
.cb-access { display: grid; gap: .75cqw; font-family: var(--display); font-weight: 600; font-size: 1.6cqw; color: var(--ink); }
.cb-access li { display: flex; align-items: center; gap: 1cqw; }
.cb-access li::before { content: ""; width: 1.25cqw; height: 1.25cqw; border-radius: 1px; background: var(--royal); box-shadow: inset 0 0 0 .3cqw var(--royal), inset 0 0 0 .55cqw #e2e4ea; }
.cb-foot { margin-top: auto; display: grid; gap: .8cqw; }
.cb-foot .mono { font-size: 1.1cqw; color: var(--muted); }
.cb-barcode {
  height: 3.6cqw;
  background:
    repeating-linear-gradient(90deg, var(--ink) 0 .25cqw, transparent .25cqw .5cqw, var(--ink) .5cqw .6cqw, transparent .6cqw .95cqw, var(--ink) .95cqw 1.35cqw, transparent 1.35cqw 1.6cqw);
}

.badge-hint {
  position: absolute; left: 53.1%; top: calc(100% + 6px); transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; color: var(--muted); font-size: 11px;
  transition: color .3s var(--ease-out);
}
.badge-hint .icon { width: 14px; height: 14px; }
.badge-zone:hover .badge-hint { color: var(--royal); }

/* entrance: drops from above on the lanyard, turns from back to front, settles */
.js .badge-rig.is-entering { animation: hangIn 2.7s .3s backwards; }
.js .badge-zone.is-entering .badge-cast { animation: castIn 2.7s .3s backwards; }
@keyframes hangIn {
  0%   { transform: translateY(-62%) rotateY(180deg) rotateZ(-9deg); animation-timing-function: cubic-bezier(.3, .1, .4, 1); }
  42%  { transform: translateY(2.5%) rotateY(-16deg) rotateZ(5deg); animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  60%  { transform: translateY(-1%) rotateY(8deg) rotateZ(-3deg); animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  76%  { transform: translateY(.4%) rotateY(-3.5deg) rotateZ(1.4deg); animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  89%  { transform: translateY(0) rotateY(1.2deg) rotateZ(-.5deg); animation-timing-function: cubic-bezier(.45, 0, .55, 1); }
  100% { transform: translateY(0) rotateY(0deg) rotateZ(0deg); }
}
@keyframes castIn {
  0%, 30% { opacity: 0; transform: translate(10%, 6%) rotate(5deg) scale(.6); }
  100% { opacity: 1; transform: translate(10%, 6%) rotate(5deg) scale(1); }
}
.badge-zone.is-flipping .badge-cast { animation: castFlip 1.1s var(--ease-out); }
@keyframes castFlip { 50% { transform: translate(10%, 6%) rotate(5deg) scaleX(.12); opacity: .5; } }

/* ---------------------------------------------------------------- hero bar */
.hero-bar {
  position: relative; z-index: 3; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
}
.hero-bar::before { content: ""; position: absolute; left: var(--gutter); right: var(--gutter); top: 0; height: 1px; background: var(--line-strong); }
.hero-bar-item {
  position: relative; display: grid; gap: 4px; padding: 20px 24px 26px; text-decoration: none; color: var(--ink);
  border-left: 1px solid var(--line);
}
.hero-bar-item:first-child { border-left: 0; padding-left: 0; }
.hero-bar-item .label { color: var(--muted); font-size: 10.5px; }
.hero-bar-item .value { font-family: var(--display); font-weight: 700; font-size: 16px; letter-spacing: -.01em; }
.hero-bar-item .icon { position: absolute; right: 24px; top: 22px; width: 18px; height: 18px; color: var(--royal); transition: transform .4s var(--ease-out); }
a.hero-bar-item:hover .value { color: var(--royal); }
a.hero-bar-item:hover .icon { transform: translate(3px, -3px); }

/* ---------------------------------------------------------------- marquee */
.marquee {
  display: flex; align-items: center; gap: 28px; background: var(--white);
  border-block: 1px solid var(--line); padding: 26px 0 26px var(--gutter);
}
.marquee-label { flex: 0 0 auto; color: var(--muted); max-width: 150px; line-height: 1.5; }
.marquee-viewport {
  flex: 1; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee-track { display: flex; align-items: center; gap: clamp(40px, 5vw, 72px); width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track, .marquee.is-paused .marquee-track { animation-play-state: paused; }
.marquee-track li { flex: 0 0 auto; }
.marquee-track img {
  height: 28px; width: auto; max-width: 150px; object-fit: contain;
  filter: grayscale(1) contrast(1.15); opacity: .55; transition: filter .4s var(--ease-out), opacity .4s var(--ease-out);
}
.marquee-track li:hover img { filter: none; opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- shared section parts */
.section { position: relative; padding: clamp(96px, 11vw, 160px) 0; }
.sec-head {
  display: flex; justify-content: space-between; gap: 16px; color: var(--muted);
  border-top: 1px solid var(--line-strong); padding-top: 14px; margin-bottom: clamp(40px, 6vw, 72px);
}
.display {
  font-family: var(--display); font-weight: 900; text-transform: uppercase; color: var(--ink);
  font-size: clamp(38px, 5.3vw, 84px); line-height: .9; letter-spacing: -.035em;
}
.lead { color: var(--muted); font-size: 17px; max-width: 42ch; }
.split-intro {
  display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); align-items: end; gap: 40px;
  margin-bottom: clamp(48px, 6vw, 80px);
}

/* ---------------------------------------------------------------- profile */
.profile { background: var(--paper); }
.profile-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.profile-grid .display { position: sticky; top: calc(var(--header-h) + 40px); }
.statement { font-family: var(--display); font-weight: 600; font-size: clamp(22px, 2.3vw, 31px); line-height: 1.32; color: var(--ink); letter-spacing: -.015em; margin-bottom: 32px; }
.prose p { color: var(--body); font-size: 16.5px; line-height: 1.75; margin-bottom: 18px; max-width: 60ch; }
.intro-video { margin: 44px 0 0; }
.intro-frame { position: relative; aspect-ratio: 16 / 9; background: var(--navy-deep); border-radius: var(--radius); overflow: hidden; box-shadow: 14px 14px 0 var(--royal-tint); }
.intro-frame video { width: 100%; height: 100%; object-fit: cover; }
.intro-video figcaption { margin-top: 14px; color: var(--muted); }

.competencies {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: clamp(72px, 9vw, 128px); border-top: 1px solid var(--line-strong);
}
.competencies li { position: relative; padding: 34px 32px 38px 0; border-bottom: 1px solid var(--line); }
.competencies li:not(:nth-child(3n + 1)) { padding-left: 32px; border-left: 1px solid var(--line); }
.competencies li::before {
  content: ""; position: absolute; left: 0; right: 0; top: -1px; height: 2px; background: var(--royal);
  transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out);
}
.competencies li:hover::before { transform: scaleX(1); }
.competencies .icon { width: 28px; height: 28px; color: var(--royal); transition: transform .5s var(--ease-out); }
.competencies li:hover .icon { transform: translateY(-3px); }
.competencies h3 { font-family: var(--display); font-weight: 800; font-size: 18px; color: var(--ink); margin: 20px 0 8px; letter-spacing: -.01em; }
.competencies p { color: var(--muted); font-size: 14.5px; line-height: 1.6; max-width: 34ch; }

/* ---------------------------------------------------------------- metrics */
.metrics { background: var(--navy-deep); color: #c7d3f0; padding: clamp(72px, 9vw, 120px) 0; position: relative; overflow: hidden; }
.metrics::after {
  content: ""; position: absolute; right: -2%; top: 0; bottom: 0; width: 38%; opacity: .05; pointer-events: none;
  background: repeating-linear-gradient(90deg, #fff 0 3px, transparent 3px 7px, #fff 7px 8px, transparent 8px 14px, #fff 14px 19px, transparent 19px 22px);
}
.metrics-grid { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); position: relative; z-index: 1; }
.metric { padding: 8px 28px 8px; border-left: 1px solid var(--line-inv); }
.metric:first-child { border-left: 0; padding-left: 0; }
.metric-num { font-family: var(--display); font-weight: 900; color: var(--white); font-size: clamp(56px, 7.2vw, 116px); line-height: .9; letter-spacing: -.045em; }
.metric-num sup { font-size: .42em; color: var(--royal-hi); vertical-align: top; position: relative; top: .1em; margin-left: .04em; }
.metric-label { margin-top: 18px; font-size: 15px; color: #c7d3f0; max-width: 26ch; }
.metric-src { margin-top: 10px; color: #7f93c4; font-size: 10.5px; }

/* ---------------------------------------------------------------- career */
.career { background: var(--white); }
.career-board { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.gantt { --label-w: 240px; position: relative; }
.gantt-axis { position: relative; height: 30px; margin-left: var(--label-w); border-bottom: 1px solid var(--line-strong); color: var(--muted); }
.gantt-axis span { position: absolute; bottom: 8px; transform: translateX(-50%); font-size: 10.5px; }
.gantt-axis span::after { content: ""; position: absolute; left: 50%; top: calc(100% + 8px); width: 1px; height: 6px; background: var(--line-strong); }
.gantt-rows { position: relative; }
.gantt-grid { position: absolute; top: 0; bottom: 0; left: var(--label-w); right: 0; pointer-events: none; }
.gantt-grid span { position: absolute; top: 0; bottom: 0; width: 1px; background: var(--line); }
.gantt-row {
  position: relative; width: 100%; display: grid; grid-template-columns: var(--label-w) minmax(0, 1fr); align-items: center;
  padding: 0; min-height: 68px; background: none; border: 0; border-bottom: 1px solid var(--line); text-align: left; cursor: pointer;
  transition: background-color .3s var(--ease-out);
}
.gantt-row:hover { background: rgba(230, 237, 252, .5); }
.gantt-row[aria-selected="true"] { background: var(--royal-tint); }
.gantt-label { padding: 12px 18px 12px 0; display: grid; gap: 2px; }
.gantt-label strong { font-family: var(--display); font-weight: 700; font-size: 14.5px; color: var(--ink); line-height: 1.25; }
.gantt-label .mono { font-size: 10.5px; color: var(--muted); }
.gantt-track { position: relative; height: 100%; min-height: 44px; }
.gantt-bar {
  position: absolute; top: 50%; height: 14px; transform: translateY(-50%); border-radius: 2px;
  background: #c3d1f2; transition: background-color .35s var(--ease-out), height .35s var(--ease-out);
}
.gantt-bar::after { content: ""; position: absolute; right: -4px; top: 50%; width: 8px; height: 8px; border-radius: 50%; transform: translateY(-50%); background: inherit; box-shadow: 0 0 0 3px var(--white); }
.gantt-row:hover .gantt-bar { background: var(--navy); }
.gantt-row[aria-selected="true"] .gantt-bar { background: var(--royal); height: 18px; }
.gantt-row[aria-selected="true"] .gantt-bar::after { box-shadow: 0 0 0 3px var(--royal-tint); }
.js .career-board.in .gantt-bar { animation: barGrow 1.1s var(--ease-out) backwards; animation-delay: calc(var(--i, 0) * 90ms + 200ms); }
@keyframes barGrow { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }

.role-panel {
  position: sticky; top: calc(var(--header-h) + 32px);
  background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: clamp(24px, 3vw, 36px);
}
.role-panel .rp-meta { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.role-panel h3 { font-family: var(--display); font-weight: 800; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.12; color: var(--ink); margin: 22px 0 6px; letter-spacing: -.02em; }
.role-panel .rp-company { font-family: var(--display); font-weight: 600; color: var(--royal); }
.role-panel .rp-duration { display: inline-block; margin-top: 14px; padding: 5px 9px; background: var(--white); border: 1px solid var(--line); border-radius: 2px; color: var(--ink); font-size: 10.5px; }
.role-panel ul { margin-top: 22px; display: grid; gap: 11px; }
.role-panel li { position: relative; padding-left: 20px; font-size: 14.5px; line-height: 1.6; color: var(--body); }
.role-panel li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; background: var(--royal); border-radius: 1px; }
.role-panel.is-swapping > * { animation: swapIn .55s var(--ease-out) backwards; }
.role-panel.is-swapping > *:nth-child(2) { animation-delay: .04s; }
.role-panel.is-swapping > *:nth-child(3) { animation-delay: .08s; }
.role-panel.is-swapping > *:nth-child(n + 4) { animation-delay: .12s; }
@keyframes swapIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- process */
.process { background: var(--paper); }
.pipe-rail { position: relative; }
.pipe-track { position: absolute; left: calc(50% / var(--n, 5)); right: calc(50% / var(--n, 5)); top: 26px; height: 2px; background: var(--line-strong); }
.pipe-fill { position: absolute; left: 0; top: 0; bottom: 0; width: var(--p, 0%); background: var(--royal); transition: width .9s var(--ease-out); }
.pipe-token {
  position: absolute; top: 50%; left: var(--p, 0%); width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: var(--royal); color: var(--white); z-index: 2;
  transform: translate(-50%, -50%); transition: left .9s var(--ease-out);
  box-shadow: 0 0 0 6px var(--paper), 0 10px 24px -6px rgba(29, 85, 214, .6);
}
.pipe-token .icon { width: 20px; height: 20px; }
.pipe-stages { position: relative; display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); }
.pipe-stage {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0 4px 6px; background: none; border: 0; cursor: pointer; text-align: center; color: var(--ink);
}
.pipe-stage .dot { width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 2px solid var(--line-strong); margin: 19px 0 22px; transition: background-color .4s var(--ease-out), border-color .4s var(--ease-out); }
.pipe-stage .mono { color: var(--muted); font-size: 10.5px; }
.pipe-stage strong { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(14px, 1.6vw, 21px); letter-spacing: -.01em; transition: color .3s var(--ease-out); }
.pipe-stage:hover strong { color: var(--royal); }
.pipe-stage.is-passed .dot { border-color: var(--royal); background: var(--royal); }
.pipe-stage[aria-selected="true"] strong { color: var(--royal); }
.pipe-panel {
  margin-top: 44px; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px);
  border-top: 2px solid var(--ink); padding-top: 34px;
}
.pipe-panel.is-swapping .pipe-panel-main > *, .pipe-panel.is-swapping .pipe-panel-side > * { animation: swapIn .55s var(--ease-out) backwards; }
.pipe-kicker { color: var(--royal); }
.pipe-panel h3 { font-family: var(--display); font-weight: 800; font-size: clamp(26px, 3vw, 42px); line-height: 1.05; color: var(--ink); margin: 14px 0 16px; letter-spacing: -.025em; }
.pipe-panel-main p:last-child { color: var(--body); font-size: 17px; max-width: 54ch; }
.side-label { color: var(--muted); margin-bottom: 12px; }
.pipe-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.pipe-tools li { height: 44px; padding: 0 14px; display: grid; place-items: center; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.pipe-tools img { height: 20px; width: auto; max-width: 110px; object-fit: contain; }
.pipe-output { font-family: var(--display); font-weight: 700; font-size: 19px; color: var(--ink); }
.pipe-autoplay {
  margin-top: 32px; display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; padding: 6px 0; cursor: pointer; color: var(--muted);
}
.pipe-autoplay:hover { color: var(--ink); }
.pipe-autoplay .icon { width: 14px; height: 14px; }

/* ---------------------------------------------------------------- toolkit / orbit */
.toolkit { background: var(--white); }
.toolkit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.toolkit-copy .lead { margin-top: 26px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.filter {
  height: 40px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: transparent; cursor: pointer;
  font-family: var(--mono); font-size: 11.5px; letter-spacing: .05em; text-transform: uppercase; color: var(--ink);
  transition: background-color .25s var(--ease-out), color .25s var(--ease-out), border-color .25s var(--ease-out);
}
.filter:hover { border-color: var(--ink); }
.filter.is-on { background: var(--ink); color: var(--white); border-color: var(--ink); }
.tool-names { display: flex; flex-wrap: wrap; gap: 6px 0; margin-top: 26px; font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--ink); min-height: 52px; }
.tool-names li:not(:last-child)::after { content: "/"; margin: 0 10px; color: var(--line-strong); }
.tool-names li.is-text { color: var(--muted); }

.orbit-wrap { width: min(580px, 100%); margin-inline: auto; }
.orbit { position: relative; aspect-ratio: 1; container-type: inline-size; }
.orbit-ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; transform: translate(-50%, -50%); border: 1px dashed var(--line-strong); pointer-events: none; }
.ring-1 { width: 48cqw; height: 48cqw; }
.ring-2 { width: 81cqw; height: 81cqw; }
.orbit-core {
  position: absolute; left: 50%; top: 50%; width: 25cqw; height: 25cqw; transform: translate(-50%, -50%); z-index: 3;
  display: grid; place-content: center; justify-items: center; gap: 1.2cqw; border-radius: 50%;
  background: var(--white); border: 1px solid var(--line); box-shadow: 0 24px 50px -24px rgba(6, 20, 48, .45);
}
.orbit-core::after { content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1.5px solid var(--royal); animation: corePulse 3.2s var(--ease-out) infinite; }
@keyframes corePulse { from { transform: scale(1); opacity: .7; } to { transform: scale(1.45); opacity: 0; } }
.orbit-core img { width: 15cqw; height: auto; }
.orbit-core .mono { font-size: max(9px, 1.7cqw); color: var(--muted); }

.orbit-item { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: rotate(var(--a)); animation: orbit var(--d) linear infinite; z-index: 2; }
.orbit-tile {
  position: absolute; left: -8.6cqw; top: -4.4cqw; width: 17.2cqw; height: 8.8cqw; padding: 1.7cqw 2.1cqw;
  display: grid; place-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 1.4cqw;
  box-shadow: 0 14px 26px -16px rgba(6, 20, 48, .5);
  transform: translateY(calc(-1 * var(--r))) rotate(calc(-1 * var(--a)));
  animation: upright var(--d) linear infinite;
  transition: opacity .45s var(--ease-out), filter .45s var(--ease-out), box-shadow .3s var(--ease-out), border-color .3s var(--ease-out);
}
.orbit-item.rev, .orbit-item.rev .orbit-tile { animation-direction: reverse; }
.orbit-tile img { width: 100%; height: 100%; object-fit: contain; }
.orbit-tile::after {
  content: attr(data-name); position: absolute; left: 50%; top: calc(100% + 8px); transform: translateX(-50%) translateY(-4px);
  white-space: nowrap; font-family: var(--mono); font-size: 10.5px; letter-spacing: .05em; text-transform: uppercase;
  background: var(--ink); color: var(--white); padding: 4px 8px; border-radius: 2px; opacity: 0; pointer-events: none;
  transition: opacity .25s var(--ease-out), transform .25s var(--ease-out);
}
.orbit-tile:hover { border-color: var(--royal); box-shadow: 0 0 0 1px var(--royal), 0 16px 30px -14px rgba(29, 85, 214, .5); z-index: 4; }
.orbit-tile:hover::after { opacity: 1; transform: translateX(-50%); }
.orbit:hover .orbit-item, .orbit:hover .orbit-tile,
.orbit.is-paused .orbit-item, .orbit.is-paused .orbit-tile { animation-play-state: paused; }
.orbit.is-filtered .orbit-item:not(.is-match) .orbit-tile { opacity: .14; filter: grayscale(1); }
.orbit.is-filtered .orbit-item.is-match .orbit-tile { border-color: var(--royal); box-shadow: 0 0 0 1px var(--royal), 0 16px 30px -14px rgba(29, 85, 214, .5); }
@keyframes orbit { from { transform: rotate(var(--a)); } to { transform: rotate(calc(var(--a) + 360deg)); } }
@keyframes upright {
  from { transform: translateY(calc(-1 * var(--r))) rotate(calc(-1 * var(--a))); }
  to { transform: translateY(calc(-1 * var(--r))) rotate(calc(-1 * var(--a) - 360deg)); }
}

/* ---------------------------------------------------------------- services */
.services { background: var(--paper); }
.service-index { border-top: 1px solid var(--line-strong); }
.svc { border-bottom: 1px solid var(--line); }
.svc-row {
  position: relative; width: 100%; display: grid; grid-template-columns: 70px 44px minmax(0, 1fr) 44px; align-items: center; gap: 12px;
  padding: 26px 16px; background: none; border: 0; cursor: pointer; text-align: left; color: var(--ink); isolation: isolate;
}
.svc-row::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--white);
  transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease-out);
}
.svc-row:hover::before, .svc.is-open .svc-row::before { transform: scaleY(1); }
.svc-num { color: var(--muted); font-size: 11px; }
.svc-row > .icon { width: 24px; height: 24px; color: var(--royal); }
.svc-title {
  font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(19px, 2.6vw, 38px);
  line-height: 1.08; letter-spacing: -.025em; transition: transform .5s var(--ease-out), color .3s var(--ease-out);
}
.svc-row:hover .svc-title { transform: translateX(10px); }
.svc.is-open .svc-title { color: var(--royal); }
.svc-toggle { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line-strong); border-radius: 50%; transition: transform .5s var(--ease-out), background-color .3s, color .3s, border-color .3s; }
.svc-toggle .icon { width: 18px; height: 18px; }
.svc.is-open .svc-toggle { transform: rotate(45deg); background: var(--ink); color: var(--white); border-color: var(--ink); }
.svc-panel { display: grid; grid-template-rows: 0fr; visibility: hidden; transition: grid-template-rows .6s var(--ease-out), visibility .6s; }
.svc.is-open .svc-panel { grid-template-rows: 1fr; visibility: visible; }
.svc-panel-inner { overflow: hidden; }
.svc-panel-body { display: grid; grid-template-columns: 70px 44px minmax(0, 1fr); column-gap: 12px; padding: 0 16px 30px; background: var(--white); }
.svc-panel-body p { grid-column: 3; color: var(--body); font-size: 16.5px; max-width: 58ch; }
.svc-panel-body a { grid-column: 3; justify-self: start; display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--royal); text-decoration: none; }
.svc-panel-body a .icon { width: 16px; height: 16px; transition: transform .35s var(--ease-out); }
.svc-panel-body a:hover .icon { transform: translateX(3px); }

/* ---------------------------------------------------------------- samples */
.samples { background: var(--white); }
.samples .split-intro { grid-template-columns: minmax(0, 1fr) auto; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.tab {
  display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 16px; cursor: pointer;
  border: 1px solid var(--line-strong); border-radius: var(--radius); background: transparent; color: var(--ink);
  font-family: var(--display); font-weight: 700; font-size: 14px;
  transition: background-color .25s var(--ease-out), color .25s var(--ease-out), border-color .25s var(--ease-out);
}
.tab .icon { width: 18px; height: 18px; }
.tab:hover { border-color: var(--ink); }
.tab[aria-selected="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.tab .count { min-width: 24px; height: 22px; padding: 0 6px; display: inline-grid; place-items: center; border-radius: 2px; background: var(--paper-2); color: var(--ink); font-size: 10.5px; }
.tab[aria-selected="true"] .count { background: rgba(255, 255, 255, .16); color: var(--white); }
.tab-panel { animation: swapIn .6s var(--ease-out); }

.empty {
  display: grid; justify-items: center; gap: 10px; text-align: center; padding: clamp(48px, 7vw, 88px) 24px;
  border: 1px dashed var(--line-strong); border-radius: 6px; background: var(--paper);
}
.empty .icon { width: 30px; height: 30px; color: var(--royal); }
.empty h3 { font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--ink); }
.empty p { color: var(--muted); max-width: 44ch; }
.empty a { margin-top: 8px; }

/* call recordings */
.call-list { border-top: 1px solid var(--line-strong); }
.call-list:has(.empty) { border-top: 0; }
.call { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 22px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); }
.call-play {
  width: 64px; height: 64px; border-radius: 50%; border: 0; background: var(--royal); color: var(--white); cursor: pointer;
  display: grid; place-items: center; transition: background-color .3s var(--ease-out), transform .4s var(--ease-out);
}
.call-play:hover { background: var(--navy); transform: scale(1.05); }
.call-play .icon { width: 22px; height: 22px; fill: currentColor; stroke: none; }
.call-play .icon-play { margin-left: 3px; }
.call-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.call h3 { font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--ink); }
.call-time { color: var(--muted); font-variant-numeric: tabular-nums; flex-shrink: 0; }
.call-desc { color: var(--muted); font-size: 14.5px; margin-top: 2px; }
.wave { position: relative; display: flex; align-items: center; gap: 2px; height: 40px; margin-top: 12px; cursor: pointer; touch-action: none; }
.wave:focus-visible { outline-offset: 4px; }
.wave span { flex: 1; min-width: 2px; border-radius: 1px; background: var(--line-strong); transition: background-color .2s linear; }
.wave span.is-played { background: var(--royal); }

/* workflow videos */
.video-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.video-grid.is-empty { display: block; }
.social-grid.is-empty { columns: auto; }
.vcard-frame { position: relative; aspect-ratio: 16 / 9; background: var(--navy-deep); border-radius: var(--radius); overflow: hidden; }
.vcard-frame video { width: 100%; height: 100%; object-fit: contain; }
.vcard-play {
  position: absolute; inset: 0; display: grid; place-items: center; border: 0; cursor: pointer;
  background: linear-gradient(180deg, rgba(6, 20, 48, 0) 40%, rgba(6, 20, 48, .55));
}
.vcard-play span { width: 76px; height: 76px; border-radius: 50%; background: var(--white); color: var(--royal); display: grid; place-items: center; transition: transform .5s var(--ease-out); }
.vcard-play .icon { width: 24px; height: 24px; fill: currentColor; stroke: none; margin-left: 3px; }
.vcard-play:hover span { transform: scale(1.08); }
.vcard-play[hidden] { display: none; }
.vcard h3 { font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--ink); margin-top: 18px; }
.vcard p { color: var(--muted); font-size: 14.5px; margin-top: 4px; }

/* social */
.social-grid { columns: 3 260px; column-gap: 16px; }
.social-tile {
  position: relative; display: block; width: 100%; margin: 0 0 16px; padding: 0; border: 0; border-radius: var(--radius);
  overflow: hidden; background: var(--paper-2); cursor: zoom-in; break-inside: avoid;
}
.social-tile img, .social-tile video { width: 100%; height: auto; transition: transform .8s var(--ease-out); }
.social-tile:hover img, .social-tile:hover video { transform: scale(1.04); }
.social-tile .tag { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; background: var(--white); color: var(--ink); padding: 5px 9px; border-radius: 2px; font-size: 10px; }
.social-tile .tag .icon { width: 12px; height: 12px; fill: currentColor; stroke: none; }

/* ---------------------------------------------------------------- booking */
.book { background: var(--paper); }
.book-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.book-info { position: sticky; top: calc(var(--header-h) + 32px); }
.book-facts { margin-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line-strong); }
.book-facts li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.book-facts .icon { width: 22px; height: 22px; color: var(--royal); margin-top: 2px; }
.book-facts strong { display: block; font-family: var(--display); font-weight: 700; font-size: 15px; color: var(--ink); }
.book-facts span { color: var(--muted); font-size: 14.5px; }
.book-facts span span { display: block; }

.scheduler { background: var(--white); border: 1px solid var(--line); border-radius: 6px; box-shadow: 0 30px 60px -40px rgba(6, 20, 48, .35); }
.sched-step { padding: 26px clamp(20px, 3vw, 32px); border-bottom: 1px solid var(--line); }
.sched-step:last-child { border-bottom: 0; }
.sched-step h3 { font-family: var(--display); font-weight: 700; font-size: 16px; color: var(--ink); margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.sched-step h3 .mono { color: var(--royal); }
.sched-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.sched-head h3 { margin-bottom: 0; }
.day-nav { display: flex; gap: 6px; }
.days { display: flex; gap: 8px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px; scroll-behavior: smooth; }
.days::-webkit-scrollbar { display: none; }
.day {
  flex: 0 0 auto; width: 82px; display: grid; justify-items: center; gap: 2px; padding: 12px 6px; scroll-snap-align: start;
  border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--paper); color: var(--ink); cursor: pointer;
  transition: background-color .25s var(--ease-out), color .25s var(--ease-out), border-color .25s var(--ease-out);
}
.day:hover { border-color: var(--ink); }
.day small { font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.day strong { font-family: var(--display); font-weight: 800; font-size: 22px; line-height: 1.1; }
.day em { font-style: normal; font-family: var(--mono); font-size: 10px; color: var(--royal); }
.day[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.day[aria-selected="true"] small { color: #a9b8de; }
.day[aria-selected="true"] em { color: #8fb0ff; }
.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(98px, 1fr)); gap: 8px; min-height: 52px; }
.slot {
  height: 46px; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--white); color: var(--ink); cursor: pointer;
  font-family: var(--display); font-weight: 600; font-size: 14px; font-variant-numeric: tabular-nums;
  transition: background-color .2s var(--ease-out), color .2s var(--ease-out), border-color .2s var(--ease-out);
}
.slot:hover { border-color: var(--royal); color: var(--royal); }
.slot[aria-pressed="true"] { background: var(--royal); border-color: var(--royal); color: var(--white); }
.booking-form label { display: block; font-family: var(--display); font-weight: 600; font-size: 13px; color: var(--ink); margin-bottom: 14px; }
.booking-form label input, .booking-form label textarea { display: block; margin-top: 7px; }
.booking-form .opt { font-family: var(--mono); font-weight: 500; font-size: 10px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-left: 6px; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.booking-form input, .booking-form textarea {
  width: 100%; font: inherit; font-family: var(--sans); font-weight: 400; font-size: 15px; color: var(--ink);
  border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--paper); padding: 0 14px;
  transition: border-color .2s var(--ease-out), box-shadow .2s var(--ease-out), background-color .2s var(--ease-out);
}
.booking-form input { height: 48px; }
.booking-form textarea { padding: 12px 14px; resize: vertical; min-height: 92px; }
.booking-form input:focus, .booking-form textarea:focus { outline: none; border-color: var(--royal); background: var(--white); box-shadow: 0 0 0 3px var(--royal-tint); }
.confirm-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-top: 6px; }
.selected { color: var(--muted); font-size: 14px; }
.selected.set { color: var(--ink); font-weight: 600; }
.form-msg { margin-top: 12px; font-size: 14px; }
.form-msg:empty { display: none; }
.form-msg.error { color: #b3261e; }
.booked { display: grid; gap: 10px; }
.booked .icon { width: 36px; height: 36px; color: var(--ok); }
.booked h3 { font-size: 22px !important; margin: 0 !important; }
.booked p { color: var(--body); }

/* ---------------------------------------------------------------- contact + footer */
.contact { background: var(--navy-deep); color: #c7d3f0; padding-top: clamp(96px, 12vw, 168px); overflow: hidden; }
.contact-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.contact-title {
  font-family: var(--display); font-weight: 900; text-transform: uppercase; color: var(--white);
  font-size: clamp(46px, 8.2vw, 140px); line-height: .86; letter-spacing: -.045em;
}
.contact-title .mask:last-child .mask-inner { color: #6f9bff; }
.orb-cta {
  width: clamp(140px, 14vw, 190px); aspect-ratio: 1; border-radius: 50%; flex-shrink: 0;
  display: grid; place-content: center; justify-items: center; gap: 10px; text-align: center; text-decoration: none;
  background: var(--royal); color: var(--white); font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 15px; line-height: 1.15; letter-spacing: .02em;
  transition: background-color .35s var(--ease-out), transform .6s var(--ease-out);
}
.orb-cta .icon { width: 22px; height: 22px; transition: transform .4s var(--ease-out); }
.orb-cta:hover { background: var(--royal-hi); }
.orb-cta:hover .icon { transform: translate(3px, -3px); }
.contact-rows { margin-top: clamp(56px, 7vw, 96px); border-top: 1px solid var(--line-inv); }
.contact-rows li { display: grid; grid-template-columns: 160px minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--line-inv); }
.contact-rows .label { color: #7f93c4; }
.contact-rows a, .contact-rows li > span:not(.label) {
  font-family: var(--display); font-weight: 700; font-size: clamp(19px, 2.6vw, 34px); color: var(--white); text-decoration: none; letter-spacing: -.02em;
  word-break: break-word; justify-self: start;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .5s var(--ease-out);
}
.contact-rows a:hover { background-size: 100% 2px; }
.copy-btn { color: var(--white); border-color: var(--line-inv); }
.copy-btn:hover:not(:disabled) { background: var(--white); color: var(--ink); border-color: var(--white); }
.copy-btn.is-done { background: var(--ok); border-color: var(--ok); color: var(--white); }

.footer { margin-top: clamp(80px, 10vw, 140px); border-top: 1px solid var(--line-inv); }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-top: 26px; padding-bottom: calc(26px + env(safe-area-inset-bottom)); flex-wrap: wrap; }
.footer-row p, .footer-row a { color: #7f93c4; font-size: 10.5px; text-decoration: none; }
.footer-row a:hover { color: var(--white); }
.footer-barcode {
  width: 150px; height: 26px; opacity: .55;
  background: repeating-linear-gradient(90deg, #fff 0 2px, transparent 2px 5px, #fff 5px 6px, transparent 6px 9px, #fff 9px 13px, transparent 13px 15px, #fff 15px 16px, transparent 16px 20px);
}

/* ---------------------------------------------------------------- lightbox */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(6, 20, 48, .95); display: grid; grid-template-columns: 72px minmax(0, 1fr) 72px; align-items: center; padding: 24px; animation: menuIn .35s var(--ease-out); }
.lightbox[hidden] { display: none; }
.lb-body { margin: 0; display: grid; justify-items: center; gap: 14px; }
.lb-body img, .lb-body video { max-width: 100%; max-height: 80vh; border-radius: var(--radius); }
.lb-caption { color: #a9b8de; text-align: center; }
.lb-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-inv); background: rgba(255, 255, 255, .06); color: var(--white); display: grid; place-items: center; cursor: pointer; justify-self: center; }
.lb-btn:hover { background: var(--white); color: var(--ink); }
.lb-close { position: absolute; top: 20px; right: 20px; }

/* ---------------------------------------------------------------- reveal system (only with JS) */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); transition-delay: var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .mask .mask-inner { transform: translateY(108%); transition: transform 1.2s var(--ease-out); }
.js .mask.in .mask-inner { transform: none; }
.js .mask:nth-child(2) .mask-inner { transition-delay: .09s; }
.js .mask:nth-child(3) .mask-inner { transition-delay: .18s; }
.js [data-hero-step] { opacity: 0; transform: translateY(16px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--d, 0ms); }
.js .hero.is-ready [data-hero-step] { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1180px) {
  .brand-meta { display: none; }
  .nav { gap: 18px; }
}
@media (max-width: 1000px) {
  .nav, .header-cta { display: none; }
  .menu-btn { display: inline-grid; }
  .header-row { gap: 12px; }
  /* the name wraps to three lines so it never runs under the badge */
  .hero-name { font-size: clamp(52px, 9.5vw, 104px); max-width: 60%; }
  .hero-copy > :not(.hero-name) { max-width: 52%; }
  .badge-zone { width: clamp(300px, 46vw, 480px); }
  .split-intro, .profile-grid, .career-board, .toolkit-grid, .book-grid, .pipe-panel { grid-template-columns: minmax(0, 1fr); }
  .split-intro { align-items: start; gap: 24px; }
  .tabs { justify-content: flex-start; }
  .profile-grid .display, .role-panel, .book-info { position: static; }
  .competencies { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .competencies li:not(:nth-child(3n + 1)) { padding-left: 0; border-left: 0; }
  .competencies li:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); }
  .metrics-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .metric:nth-child(3) { border-left: 0; padding-left: 0; }
  .orbit-wrap { width: min(520px, 100%); }
}
@media (max-width: 760px) {
  :root { --header-h: 64px; }
  .hero { min-height: auto; }
  .hero-inner { flex-direction: column; align-items: stretch; }
  .badge-zone {
    position: relative; order: -1; right: auto; align-self: center;
    width: min(122vw, 560px); margin-top: calc(-1 * var(--header-h));
  }
  .badge-hint { top: calc(100% - 2px); }
  .hero-copy { padding-top: 36px; }
  .hero-copy > :not(.hero-name) { max-width: none; }
  .hero-name { font-size: clamp(48px, 16vw, 92px); max-width: none; }
  .hide-sm { display: none; }
  .hero-bar { grid-template-columns: minmax(0, 1fr); }
  .hero-bar-item, .hero-bar-item:first-child { border-left: 0; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .hero-bar-item .icon { right: 0; top: 18px; }
  .marquee { flex-direction: column; align-items: stretch; gap: 16px; padding: 22px 0; }
  .marquee-label { max-width: none; padding: 0 var(--gutter); }
  .marquee-track img { height: 24px; }
  .competencies { grid-template-columns: minmax(0, 1fr); }
  .competencies li, .competencies li:nth-child(even) { padding: 26px 0 28px; border-left: 0; }
  .gantt { --label-w: 0px; }
  .gantt-axis { margin-left: 0; }
  .gantt-row { grid-template-columns: minmax(0, 1fr); padding: 12px 0 4px; }
  .gantt-label { padding: 0 0 4px; }
  .gantt-track { min-height: 30px; }
  .gantt-grid { left: 0; }
  .pipe-token { width: 36px; height: 36px; }
  .pipe-token .icon { width: 16px; height: 16px; }
  .pipe-stage strong { font-size: 12px; letter-spacing: 0; }
  .svc-row { grid-template-columns: 34px minmax(0, 1fr) 40px; padding: 22px 0; }
  .svc-row > .icon { display: none; }
  .svc-panel-body { grid-template-columns: 34px minmax(0, 1fr); }
  .svc-panel-body p, .svc-panel-body a { grid-column: 2; }
  .video-grid { grid-template-columns: minmax(0, 1fr); }
  .social-grid { columns: 2 140px; column-gap: 10px; }
  .social-tile { margin-bottom: 10px; }
  .field-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .confirm-row .btn { width: 100%; }
  .call { grid-template-columns: 52px minmax(0, 1fr); gap: 16px; }
  .call-play { width: 52px; height: 52px; }
  .contact-rows li { grid-template-columns: minmax(0, 1fr) auto; }
  .contact-rows .label { grid-column: 1 / -1; }
  .lightbox { grid-template-columns: minmax(0, 1fr); padding: 72px 12px 24px; }
  .lb-prev, .lb-next { position: absolute; bottom: 24px; }
  .lb-prev { left: calc(50% - 60px); }
  .lb-next { right: calc(50% - 60px); }
}
@media (max-width: 420px) {
  .metric-num { font-size: 52px; }
  .tab { padding: 0 12px; gap: 8px; }
}

/* ---------------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0ms !important; }
  .js .reveal, .js [data-hero-step] { opacity: 1; transform: none; }
  .js .mask .mask-inner { transform: none; }
  .orbit-item, .orbit-tile, .marquee-track, .orbit-core::after, .live-dot::after { animation: none !important; }
  .marquee-track { flex-wrap: wrap; width: auto; justify-content: center; row-gap: 24px; }
  .marquee-viewport { -webkit-mask-image: none; mask-image: none; }
}

.orbit-core strong { font-family: var(--display); font-weight: 800; font-size: 3cqw; color: var(--ink); }
