/* =========================================================================
   Peter Karl Gumapac — Hospitality & STR Operations
   Dark, warm, cinematic, executive. Bronze accent · Newsreader display.
   ========================================================================= */

:root {
  --bg: #0b0a08;
  --bg-2: #100e0b;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.09);
  --border-bright: rgba(255, 255, 255, 0.22);
  --accent: #c49b62;          /* warm bronze / champagne */
  --accent-bright: #d8b683;
  --accent-dim: rgba(196, 155, 98, 0.5);
  --accent-soft: rgba(196, 155, 98, 0.10);
  --text: #f3efe7;
  --text-2: #a59d8d;
  --radius: 12px;
  --radius-lg: 22px;
  --glow: 0 0 44px rgba(196, 155, 98, 0.09);
  --glow-strong: 0 0 56px rgba(196, 155, 98, 0.20);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --font-display: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-sans: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', monospace;
  --font: var(--font-sans);
  --serif: var(--font-display);
  --mono: var(--font-mono);
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }

html { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  font-size: 17px;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
::selection { background: rgba(196, 155, 98, 0.26); color: #fff; }

.mono { font-family: var(--mono); }
.accent { color: var(--accent); }

/* ---- Grain overlay ---------------------------------------------------- */
.grain {
  position: fixed; inset: 0; z-index: 200; pointer-events: none; opacity: 0.04;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0naHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmcnIHdpZHRoPScxNjAnIGhlaWdodD0nMTYwJz48ZmlsdGVyIGlkPSduJz48ZmVUdXJidWxlbmNlIHR5cGU9J2ZyYWN0YWxOb2lzZScgYmFzZUZyZXF1ZW5jeT0nMC45JyBudW1PY3RhdmVzPScyJyBzdGl0Y2hUaWxlcz0nc3RpdGNoJy8+PC9maWx0ZXI+PHJlY3Qgd2lkdGg9JzEwMCUnIGhlaWdodD0nMTAwJScgZmlsdGVyPSd1cmwoI24pJy8+PC9zdmc+");
}

/* faint warm vignette to seat the dark */
.vignette { position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(130% 80% at 50% -12%, rgba(196,155,98,0.06), transparent 55%),
    radial-gradient(120% 90% at 50% 120%, rgba(196,155,98,0.04), transparent 55%); }

.falling-lines {
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.55;
  mix-blend-mode: screen;
}
.falling-lines::before,
.falling-lines::after {
  content: "";
  position: absolute;
  inset: -45vh 0 0;
  background-image:
    linear-gradient(180deg, transparent 0 18%, rgba(216,182,131,0.42) 42%, rgba(196,155,98,0.08) 72%, transparent 100%),
    linear-gradient(180deg, transparent 0 30%, rgba(216,182,131,0.26) 54%, transparent 100%),
    linear-gradient(180deg, transparent 0 22%, rgba(255,226,170,0.30) 46%, transparent 82%);
  background-size: 1px 180px, 1px 260px, 1px 220px;
  background-position: 12vw -40px, 49vw -120px, 84vw -70px;
  background-repeat: repeat-y;
  filter: drop-shadow(0 0 10px rgba(196,155,98,0.18));
  animation: falling-lines 8.5s linear infinite;
}
.falling-lines::after {
  opacity: 0.45;
  background-position: 28vw -90px, 66vw -30px, 94vw -150px;
  animation-duration: 12s;
  animation-delay: -3.5s;
}

/* ---- Custom cursor ---------------------------------------------------- */
.cursor, .cursor-ring { position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none;
  border-radius: 50%; transform: translate(-50%, -50%); }
.cursor { width: 7px; height: 7px; background: var(--accent); transition: width .3s var(--ease), height .3s var(--ease), background .3s var(--ease); }
.cursor-ring { width: 7px; height: 7px; border: 1px solid var(--accent-dim); opacity: 0; transition: opacity .3s, width .3s var(--ease), height .3s var(--ease); }
body.has-cursor.hovering .cursor { width: 22px; height: 22px; background: rgba(196,155,98,0.22); }
body.has-cursor.hovering .cursor-ring { opacity: 1; width: 40px; height: 40px; }
@media (hover: hover) and (pointer: fine) and (min-width: 520px) {
  body.has-cursor, body.has-cursor a, body.has-cursor button, body.has-cursor [data-hover] { cursor: none; }
}

/* ---- Loader ----------------------------------------------------------- */
.loader { position: fixed; inset: 0; z-index: 500; background: var(--bg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem;
  transition: opacity .8s var(--ease); }
.loader.done { opacity: 0; pointer-events: none; }
.loader-text { font-family: var(--font-display); font-size: 1.35rem; font-weight: 380; letter-spacing: -0.018em; color: var(--text); }
.loader-sub { font-family: var(--font-mono); font-size: 0.66rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-2); margin-top: -0.7rem; }
.loader-bar { width: 160px; height: 1px; background: var(--border); position: relative; overflow: hidden; }
.loader-bar::after { content: ""; position: absolute; inset: 0; width: 40%; background: var(--accent);
  animation: loadersweep 1.1s var(--ease) infinite; }
@keyframes loadersweep { 0% { left: -40%; } 100% { left: 100%; } }
@keyframes falling-lines {
  from { transform: translate3d(0, -18vh, 0); }
  to { transform: translate3d(0, 118vh, 0); }
}

/* ---- Shared layout ---------------------------------------------------- */
.wrap { width: min(1200px, calc(100% - 3rem)); margin-inline: auto; }
section { position: relative; }
.eyebrow { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.26em; text-transform: uppercase; color: var(--accent); }

h1, h2, h3, .serif { font-family: var(--font-display); font-weight: 380; letter-spacing: -0.018em; line-height: 1.04; font-optical-sizing: auto; }

/* fixed minimal top bar */
.topbar { position: fixed; top: 0; left: 0; right: 0; z-index: 120;
  display: flex; align-items: center; justify-content: space-between;
  width: min(1200px, calc(100% - 3rem)); margin-inline: auto; height: 64px;
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.12em; color: var(--text-2); }
.topbar .brand { color: var(--text); display: flex; align-items: center; gap: 0.6rem; }
.topbar .brand .led { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 9px var(--accent); }
.topbar-actions { display: flex; align-items: center; justify-content: flex-end; gap: 0.65rem; }
.topbar .navlink { border: 1px solid rgba(196,155,98,0.2); border-radius: 999px; padding: 0.45rem 0.9rem; color: var(--text-2);
  background: rgba(255,255,255,0.025); transition: all .3s var(--ease); }
.topbar .navlink:hover { border-color: var(--accent-dim); color: var(--accent); box-shadow: 0 0 24px rgba(196,155,98,0.12); }
.topbar .hire { border: 1px solid var(--border); border-radius: 999px; padding: 0.45rem 1rem; color: var(--text);
  transition: all .3s var(--ease); }
.topbar .hire:hover { border-color: var(--accent); color: var(--accent); box-shadow: var(--glow); }

/* =====================================================================
   HERO
   ===================================================================== */
.hero { height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-inner { text-align: center; position: relative; z-index: 2; max-width: 780px; margin-inline: auto; padding: 0 1.5rem; }

/* ambient operating globe */
.emblem { width: 172px; height: 172px; margin: 0 auto 2.8rem; position: relative; will-change: transform; }
.emblem-glow { position: absolute; inset: -52px; border-radius: 50%;
  background:
    radial-gradient(circle at 50% 48%, rgba(216,182,131,0.34), transparent 38%),
    radial-gradient(circle at 50% 50%, rgba(196,155,98,0.16), transparent 68%);
  filter: blur(7px); animation: orb-aura 4.8s ease-in-out infinite; }
.emblem-orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(255,255,255,0.12);
  transform: rotateX(64deg) rotateZ(-8deg); transform-style: preserve-3d; opacity: 0.8; }
.emblem-orbit.orbit-a { inset: 2px; border-color: rgba(255,255,255,0.18); animation: orbit-drift 9s linear infinite; }
.emblem-orbit.orbit-b { inset: 18px; border-color: rgba(196,155,98,0.28); animation: orbit-drift 11s linear infinite reverse; }
.emblem-orbit.orbit-c { inset: 34px; border-style: dashed; border-color: rgba(255,255,255,0.12); animation: orbit-drift 14s linear infinite; }
.emblem-orb { position: absolute; inset: 42px; border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(255,246,220,0.95) 0 8%, rgba(216,182,131,0.82) 15%, rgba(129,93,45,0.68) 42%, rgba(20,15,10,0.95) 74%),
    #15100b;
  box-shadow:
    0 0 34px rgba(216,182,131,0.34),
    0 0 90px rgba(196,155,98,0.18),
    inset -18px -22px 38px rgba(0,0,0,0.62),
    inset 10px 8px 22px rgba(255,230,178,0.12);
  animation: orb-pulse 3.6s ease-in-out infinite; will-change: transform, opacity; }
.emblem-mark { position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.28rem; font-weight: 380; letter-spacing: 0.09em; color: var(--text);
  text-shadow: 0 0 20px rgba(255,255,255,0.18); }
.orb-fragment { position: absolute; left: 50%; top: 50%; z-index: 4; display: grid; place-items: center;
  min-width: 38px; height: 24px; padding: 0 0.6rem; border: 1px solid rgba(255,255,255,0.13); border-radius: 999px;
  background: rgba(255,255,255,0.045); color: var(--text-2); font-family: var(--font-mono); font-size: 0.54rem;
  font-weight: 500; letter-spacing: 0.14em; transform: translate(-50%, -50%); box-shadow: 0 0 28px rgba(196,155,98,0.08);
  backdrop-filter: blur(10px); will-change: transform, opacity; }
.orb-fragment.f1 { transform: translate(-50%, -50%) translate(-82px, -22px); }
.orb-fragment.f2 { transform: translate(-50%, -50%) translate(72px, -34px); }
.orb-fragment.f3 { transform: translate(-50%, -50%) translate(88px, 38px); }
.orb-fragment.f4 { transform: translate(-50%, -50%) translate(-58px, 68px); }
.orb-fragment.f5 { transform: translate(-50%, -50%) translate(-8px, -92px); }
@keyframes orb-aura { 0%, 100% { transform: scale(0.96); opacity: 0.62; } 50% { transform: scale(1.08); opacity: 1; } }
@keyframes orb-pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.065); } }
@keyframes orbit-drift { to { transform: rotateX(64deg) rotateZ(352deg); } }

.hero-choice .hero-inner,
.hero-founder .hero-inner,
.hero-str .hero-inner {
  width: min(1800px, calc(100vw - 2.8rem));
  max-width: none;
  padding-top: clamp(2.15rem, 4vh, 3.5rem);
}
.hero-orb {
  position: relative;
  left: 50%;
  width: min(1720px, 100vw);
  height: clamp(430px, 53vw, 760px);
  margin: 0 0 clamp(1.1rem, 2vh, 1.7rem);
  overflow: visible;
  border-radius: 0;
  border: 0;
  transform: translateX(-50%);
  background:
    radial-gradient(circle at 50% 49%, rgba(255,208,122,0.34), transparent 16%),
    radial-gradient(ellipse at 50% 50%, rgba(195,122,33,0.26), transparent 38%),
    radial-gradient(ellipse at 30% 47%, rgba(255,174,65,0.14), transparent 34%),
    radial-gradient(ellipse at 70% 48%, rgba(255,174,65,0.13), transparent 34%),
    radial-gradient(ellipse at 50% 16%, rgba(255,231,180,0.065), transparent 48%),
    radial-gradient(ellipse at 50% 50%, rgba(5,5,5,0.18), transparent 68%);
  box-shadow:
    inset 0 -120px 130px rgba(5,5,5,0.72),
    0 28px 90px rgba(0,0,0,0.34);
  will-change: transform, opacity, filter;
}
.hero-orb.hero-orb-three {
  background:
    radial-gradient(ellipse at 50% 48%, rgba(255, 207, 119, 0.1), transparent 24%),
    radial-gradient(ellipse at 50% 50%, rgba(196, 155, 98, 0.045), transparent 48%);
  box-shadow: none;
  height: clamp(310px, 38vw, 520px);
  margin-bottom: clamp(0.4rem, 1.2vh, 1rem);
  overflow: visible;
}
.hero-orb.hero-orb-three::before,
.hero-orb.hero-orb-three::after {
  display: none;
}
.hero-orb-frame {
  background: transparent;
  border: 0;
  display: block;
  height: 128%;
  inset: -14% 0;
  pointer-events: none;
  position: absolute;
  width: 100%;
  z-index: 6;
}
.hero-orb::before {
  content: "";
  position: absolute;
  inset: -12%;
  border-radius: 0;
  border: 0;
  background:
    radial-gradient(circle at 50% 50%, rgba(255,220,155,0.16), transparent 23%),
    radial-gradient(circle at 50% 50%, transparent 0 31%, rgba(196,155,98,0.08) 32%, transparent 35%),
    radial-gradient(circle at 50% 50%, transparent 0 47%, rgba(196,155,98,0.05) 48%, transparent 51%);
  filter: blur(0.5px);
  opacity: 0.82;
  pointer-events: none;
  z-index: 1;
}
.hero-orb::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 27% 39%, rgba(255,211,135,0.52) 0 2px, transparent 3px),
    radial-gradient(circle at 36% 66%, rgba(255,211,135,0.42) 0 3px, transparent 4px),
    radial-gradient(circle at 50% 29%, rgba(255,224,162,0.56) 0 3px, transparent 4px),
    radial-gradient(circle at 70% 39%, rgba(255,211,135,0.52) 0 3px, transparent 4px),
    radial-gradient(circle at 73% 61%, rgba(255,211,135,0.42) 0 3px, transparent 4px),
    radial-gradient(circle at 40% 52%, rgba(255,229,176,0.38) 0 1.5px, transparent 2.5px),
    radial-gradient(circle at 61% 67%, rgba(255,229,176,0.36) 0 2px, transparent 3px);
  opacity: 0.46;
  mix-blend-mode: screen;
  pointer-events: none;
  z-index: 2;
  mask-image: radial-gradient(ellipse at center, #000 0 74%, transparent 100%);
}
.particle-field,
.particle-field::before,
.particle-field::after {
  position: absolute;
  inset: -20%;
  content: "";
  background-image:
    radial-gradient(circle, rgba(255,231,188,0.70) 0 0.9px, transparent 1.7px),
    radial-gradient(circle, rgba(255,196,96,0.32) 0 1px, transparent 2.2px),
    radial-gradient(circle, rgba(255,155,40,0.16) 0 1.2px, transparent 2.8px);
  background-size: 92px 104px, 158px 146px, 260px 238px;
  background-position: 11px 17px, 39px 22px, 81px 54px;
  opacity: 0.18;
  filter: blur(0.25px);
  animation: particle-drift 34s linear infinite;
  mask-image:
    radial-gradient(ellipse at 50% 49%, #000 0 50%, transparent 76%),
    linear-gradient(90deg, transparent 0%, #000 18%, #000 82%, transparent 100%);
  will-change: transform, opacity, filter;
}
.particle-field::before {
  transform: rotate(18deg);
  opacity: 0.13;
  animation-duration: 44s;
}
.particle-field::after {
  transform: rotate(-12deg);
  opacity: 0.09;
  animation-duration: 58s;
}
.particle-burst {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 1px;
  height: 1px;
  z-index: 7;
  pointer-events: none;
  transform: translate(-50%, -50%);
  overflow: visible;
}
.particle-burst span {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--particle-size, 3px);
  height: var(--particle-size, 3px);
  border-radius: 50%;
  background: rgba(255, 215, 145, var(--particle-alpha, 0.72));
  box-shadow:
    0 0 12px rgba(255, 206, 126, 0.74),
    0 0 30px rgba(255, 168, 58, 0.36);
  opacity: 0;
  transform: translate3d(0, 0, 0) scale(0.2);
  will-change: transform, opacity, filter;
}
.particle-burst span:nth-child(3n) {
  background: rgba(255, 241, 205, var(--particle-alpha, 0.62));
  box-shadow:
    0 0 10px rgba(255, 239, 204, 0.78),
    0 0 24px rgba(255, 199, 109, 0.25);
}
.particle-burst span:nth-child(5n) {
  width: calc(var(--particle-size, 3px) * 1.75);
  height: calc(var(--particle-size, 3px) * 1.75);
  opacity: 0;
}
.orb-network {
  position: absolute;
  inset: -7% -8%;
  z-index: 4;
  overflow: visible;
  pointer-events: none;
  filter: drop-shadow(0 0 10px rgba(255,190,90,0.32));
  opacity: 0.66;
  will-change: transform, opacity, filter;
}
.orb-network path {
  fill: none;
  stroke: rgba(255,183,73,0.36);
  stroke-width: 0.9;
  stroke-linecap: round;
  stroke-dasharray: 5 24;
  stroke-dashoffset: 0;
  vector-effect: non-scaling-stroke;
  animation: network-flow 18s linear infinite;
}
.orb-network path:nth-child(even) {
  stroke: rgba(255,232,179,0.46);
  stroke-dasharray: 120 260;
  animation-duration: 24s;
  animation-direction: reverse;
}
.orb-network path:nth-child(3n) {
  stroke: rgba(255,196,95,0.26);
  stroke-dasharray: 3 18;
  animation-duration: 29s;
}
.orb-network path:nth-child(n+8) {
  opacity: 0.38;
  stroke-width: 0.75;
}
.hero-orb .orb {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(300px, 31vw, 590px);
  height: clamp(300px, 31vw, 590px);
  transform: translate(-50%, -50%);
  border-radius: 0;
  background: url("gold-liquid-orb.png") center / contain no-repeat;
  box-shadow: none;
  filter:
    saturate(0.96)
    contrast(0.98)
    drop-shadow(0 0 24px rgba(255, 224, 166, 0.36))
    drop-shadow(0 0 78px rgba(193, 130, 48, 0.26));
  z-index: 5;
  animation: hero-liquid-float 5.8s ease-in-out infinite;
  will-change: transform, opacity, filter;
  isolation: isolate;
}
.hero-orb .orb::before,
.hero-orb .orb::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  pointer-events: none;
}
.hero-orb .orb::before {
  display: block;
  inset: 0;
  background:
    radial-gradient(ellipse at 28% 25%, rgba(255,255,255,0.72), transparent 10%),
    radial-gradient(ellipse at 70% 78%, rgba(255,232,174,0.38), transparent 18%),
    linear-gradient(108deg, transparent 18%, rgba(255,255,255,0.34) 34%, transparent 50%),
    repeating-linear-gradient(108deg, transparent 0 18px, rgba(255,239,195,0.16) 22px, transparent 30px);
  -webkit-mask: url("gold-liquid-orb.png") center / contain no-repeat;
  mask: url("gold-liquid-orb.png") center / contain no-repeat;
  mix-blend-mode: screen;
  opacity: 0.5;
  filter: blur(0.5px);
  animation: hero-liquid-sheen 4.8s ease-in-out infinite;
}
.hero-orb .orb::after {
  display: block;
  inset: 0;
  background:
    conic-gradient(from 18deg, transparent 0 13%, rgba(255,242,205,0.28) 18%, transparent 27%, rgba(255,213,145,0.18) 42%, transparent 58%, rgba(255,244,212,0.20) 72%, transparent 84%),
    radial-gradient(ellipse at 50% 50%, transparent 44%, rgba(255,236,195,0.20) 72%, transparent 79%);
  -webkit-mask: url("gold-liquid-orb.png") center / contain no-repeat;
  mask: url("gold-liquid-orb.png") center / contain no-repeat;
  mix-blend-mode: screen;
  opacity: 0.44;
  animation: hero-liquid-ridges 7.2s ease-in-out infinite;
}
.hero-orb .orb span {
  display: none;
}
.hero-orb .orb-glow {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255,223,162,0.58), transparent 42%),
    radial-gradient(circle, rgba(193,130,48,0.30), transparent 66%);
  filter: blur(30px);
  opacity: 0.54;
  animation: hero-orb-spin 12s linear infinite;
  will-change: transform, opacity;
  z-index: -1;
}
.hero-orb .orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(255,213,146,0.22);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-12deg);
  z-index: 3;
  will-change: transform, opacity;
}
.hero-orb .orbit-one {
  width: min(980px, 69vw);
  height: clamp(185px, 15vw, 270px);
  animation: hero-orbit-spin 12s linear infinite;
}
.hero-orb .orbit-two {
  width: min(1260px, 89vw);
  height: clamp(260px, 23vw, 400px);
  opacity: 0.78;
  animation: hero-orbit-spin-reverse 18s linear infinite;
}
.hero-orb .orbit-three {
  width: min(760px, 54vw);
  height: clamp(120px, 10vw, 205px);
  opacity: 0.9;
  animation: hero-orbit-spin 9s linear infinite;
}
.hero-orb .tag {
  display: none;
  position: absolute;
  z-index: 8;
  padding: clamp(0.78rem, 1.02vw, 1.12rem) clamp(1.45rem, 2vw, 2.3rem);
  border-radius: 999px;
  color: rgba(255,255,255,0.80);
  font-family: var(--font-mono);
  font-size: clamp(0.84rem, 1.05vw, 1.24rem);
  letter-spacing: clamp(0.28em, 0.64vw, 0.48em);
  background: linear-gradient(180deg, rgba(255,255,255,0.092), rgba(255,255,255,0.026));
  border: 1px solid rgba(255,255,255,0.19);
  box-shadow:
    inset 0 0 30px rgba(255,255,255,0.052),
    0 0 38px rgba(196,155,98,0.18),
    0 14px 42px rgba(0,0,0,0.36);
  backdrop-filter: blur(14px);
  will-change: transform, opacity, filter;
}
.hero-orb .tag::after {
  content: "";
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ffd891;
  box-shadow: 0 0 20px #ffc46f, 0 0 44px rgba(255,196,111,0.66);
}
.hero-orb .tag-ai { left: 50%; top: 13%; transform: translateX(-50%); }
.hero-orb .tag-founder { left: 22%; top: 33%; }
.hero-orb .tag-coo { right: 21%; top: 30%; }
.hero-orb .tag-cto { right: 20%; top: 61%; }
.hero-orb .tag-product { left: 30%; bottom: 15%; }
.hero-orb .tag-ai::after { left: 50%; bottom: -24px; transform: translateX(-50%); }
.hero-orb .tag-founder::after { right: 42px; bottom: -22px; }
.hero-orb .tag-coo::after { left: 18px; bottom: -24px; }
.hero-orb .tag-cto::after { left: 14px; top: -22px; }
.hero-orb .tag-product::after { right: 22px; top: -24px; }
@keyframes particle-drift {
  from { transform: translate3d(0,0,0) rotate(0deg); }
  to { transform: translate3d(-90px,40px,0) rotate(360deg); }
}
@keyframes network-flow {
  to { stroke-dashoffset: -320; }
}
@keyframes hero-orb-spin { to { transform: rotate(360deg); } }
@keyframes hero-orbit-spin { to { transform: translate(-50%, -50%) rotate(348deg); } }
@keyframes hero-orbit-spin-reverse { to { transform: translate(-50%, -50%) rotate(-372deg); } }
@keyframes hero-orb-pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.022); }
}
@keyframes hero-liquid-float {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1) rotate(-0.35deg);
    filter:
      saturate(0.96)
      contrast(0.98)
      drop-shadow(0 0 24px rgba(255, 224, 166, 0.36))
      drop-shadow(0 0 78px rgba(193, 130, 48, 0.26));
  }
  35% {
    transform: translate(-50.5%, -51%) scale(1.035, 0.985) rotate(0.45deg);
    filter:
      saturate(1.08)
      contrast(1.02)
      drop-shadow(0 0 30px rgba(255, 229, 179, 0.46))
      drop-shadow(0 0 96px rgba(193, 130, 48, 0.32));
  }
  68% {
    transform: translate(-49.6%, -49.4%) scale(0.988, 1.025) rotate(-0.15deg);
  }
}
@keyframes hero-liquid-sheen {
  0%, 100% { opacity: 0.34; transform: translate3d(-5%, 2%, 0) rotate(-2deg) scale(1.02); }
  48% { opacity: 0.68; transform: translate3d(6%, -3%, 0) rotate(2deg) scale(1.07); }
}
@keyframes hero-liquid-ridges {
  0%, 100% { opacity: 0.26; transform: rotate(-4deg) scale(1.015); }
  50% { opacity: 0.56; transform: rotate(5deg) scale(1.055); }
}
@keyframes orb-particle-swirl {
  from { transform: rotate(0deg) scale(1.02); }
  to { transform: rotate(360deg) scale(1.02); }
}

.hero-eyebrow { font-family: var(--font-mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.hero-name { font-family: var(--font-display); font-size: clamp(2.9rem, 6.2vw, 5.05rem); font-weight: 380; letter-spacing: -0.018em; margin-top: 1rem; line-height: 1.04; text-wrap: balance; }
.hero-lead { margin: 1.75rem auto 0; max-width: 48ch; color: var(--text-2); font-size: clamp(1.02rem, 1.48vw, 1.18rem); line-height: 1.68; text-wrap: pretty; }

.hero-line { position: absolute; left: 50%; bottom: 0; width: 1px; height: 22vh; background: linear-gradient(var(--accent), transparent);
  transform: translateX(-50%) scaleY(0); transform-origin: top; }
.scroll-cue { position: absolute; left: 50%; bottom: 7vh; transform: translateX(-50%); z-index: 3;
  font-family: var(--font-mono); font-size: 0.66rem; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-2);
  display: flex; flex-direction: column; align-items: center; gap: 0.7rem; opacity: 0; }
.scroll-cue .dash { width: 1px; height: 24px; background: var(--accent); }

/* =====================================================================
   OPERATING MODEL  (was "System Unpack")
   ===================================================================== */
.unpack { height: 100vh; display: flex; align-items: center; }
.unpack-stage { position: relative; width: 100%; height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.unpack-stage::before,
.unpack-stage::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 1;
}
.unpack-stage::before {
  left: 4vw;
  right: 4vw;
  top: 52%;
  height: 1px;
  background:
    linear-gradient(90deg, transparent, rgba(196,155,98,0.14) 9%, rgba(216,182,131,0.46) 26%, rgba(196,155,98,0.16) 48%, rgba(216,182,131,0.44) 72%, rgba(196,155,98,0.14) 91%, transparent);
  box-shadow: 0 0 26px rgba(196,155,98,0.18);
}
.unpack-stage::after {
  left: 50%;
  top: 0;
  width: 1px;
  height: 100%;
  transform: translateX(-50%);
  background: linear-gradient(transparent, rgba(196,155,98,0.42) 16%, rgba(216,182,131,0.18) 52%, rgba(196,155,98,0.38) 84%, transparent);
  box-shadow: 0 0 26px rgba(196,155,98,0.22);
}
.tracks { position: absolute; inset: 0; display: flex; justify-content: center; gap: 18%; pointer-events: none; }
.track { width: 1px; height: 100%; background: linear-gradient(transparent, rgba(196,155,98,0.16) 24%, rgba(255,226,170,0.15) 50%, rgba(196,155,98,0.16) 76%, transparent);
  transform: scaleY(0); transform-origin: top; }
.unpack-head { position: absolute; top: 11vh; left: 50%; transform: translateX(-50%); text-align: center; z-index: 4; width: min(92%, 680px); }
.unpack-head h2 { font-family: var(--font-display); font-size: clamp(1.85rem, 3.5vw, 2.85rem); font-weight: 380; letter-spacing: -0.018em; margin-top: 0.9rem; line-height: 1.04; }
.unpack-head p { color: var(--text-2); font-size: 1rem; margin-top: 1rem; line-height: 1.62; }

.cards { position: relative; width: min(1100px, 92%); display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; align-items: start; z-index: 3; }
.cards.path-options { width: min(920px, 92%); grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.profile-picker .unpack-stage {
  align-items: flex-start;
  padding-top: clamp(370px, 43vh, 470px);
}
.profile-picker .unpack-head {
  top: 8vh;
  width: min(92%, 920px);
}
.profile-picker .unpack-head h2 {
  max-width: 18ch;
  margin-inline: auto;
  font-size: clamp(2.2rem, 4.7vw, 4rem);
  line-height: 0.98;
}
.profile-picker .unpack-head p:not(.eyebrow) {
  max-width: 76ch;
  margin-inline: auto;
  font-size: clamp(0.95rem, 1.35vw, 1.08rem);
}
.profile-picker .cards.path-options {
  gap: clamp(28px, 4vw, 48px);
  isolation: isolate;
  perspective: 1200px;
}
.profile-picker .cards.path-options::before {
  content: "";
  position: absolute;
  top: -62px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-dim), var(--accent), var(--accent-dim), transparent);
  box-shadow: 0 0 18px rgba(196,155,98,0.26);
  pointer-events: none;
  z-index: 0;
}
.profile-picker .cards.path-options::after {
  content: "";
  position: absolute;
  top: -128px;
  left: 50%;
  width: 1px;
  height: 66px;
  transform: translateX(-50%);
  background: linear-gradient(transparent, var(--accent), var(--accent-dim));
  box-shadow: 0 0 18px rgba(196,155,98,0.32);
  pointer-events: none;
  z-index: 0;
}
.cards.path-options .layer-card { min-height: 300px; padding: 34px 30px; }
.profile-picker .cards.path-options .layer-card {
  --flip-dir: 1;
  position: relative;
  min-height: 390px;
  height: 100%;
  justify-content: space-between;
  margin-top: 0;
  z-index: 1;
  overflow: visible;
  transform-style: preserve-3d;
  transform-origin: 50% 52%;
  background:
    radial-gradient(70% 90% at 18% 10%, rgba(255,255,255,0.105), transparent 38%),
    radial-gradient(48% 68% at 82% 88%, rgba(196,155,98,0.12), transparent 58%),
    linear-gradient(145deg, rgba(255,255,255,0.064), rgba(255,255,255,0.018) 48%, rgba(196,155,98,0.028));
  border-color: rgba(255,255,255,0.105);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    inset 0 -28px 70px rgba(255,255,255,0.018),
    0 22px 70px rgba(0,0,0,0.34);
  backdrop-filter: blur(20px) saturate(1.28);
  transition:
    border-color .45s var(--ease),
    transform .7s cubic-bezier(.18,.84,.24,1),
    box-shadow .7s cubic-bezier(.18,.84,.24,1),
    background .45s var(--ease);
}
.profile-picker .cards.path-options .layer-card:nth-child(1) { --flip-dir: -1; }
.profile-picker .cards.path-options .layer-card:hover,
.profile-picker .cards.path-options .layer-card:focus-visible {
  border-color: rgba(216,182,131,0.42);
  transform: translateY(-12px) rotateX(5deg) rotateY(calc(var(--flip-dir) * 8deg)) scale(1.012);
  box-shadow:
    0 0 0 1px rgba(216,182,131,0.12),
    0 30px 90px rgba(0,0,0,0.48),
    0 0 54px rgba(196,155,98,0.16),
    inset 0 1px 0 rgba(255,255,255,0.14),
    inset 0 -38px 90px rgba(216,182,131,0.045);
}
.profile-picker .cards.path-options .layer-card:hover .lc-title,
.profile-picker .cards.path-options .layer-card:focus-visible .lc-title {
  transform: translateZ(26px);
}
.profile-picker .cards.path-options .layer-card:hover .lc-desc,
.profile-picker .cards.path-options .layer-card:focus-visible .lc-desc,
.profile-picker .cards.path-options .layer-card:hover .lc-badge,
.profile-picker .cards.path-options .layer-card:focus-visible .lc-badge {
  transform: translateZ(18px);
}
.profile-picker .cards.path-options .layer-card::before {
  content: "";
  position: absolute;
  top: -62px;
  left: 50%;
  width: 1px;
  height: 62px;
  transform: translateX(-50%);
  background: linear-gradient(var(--accent-dim), rgba(196,155,98,0.08));
  box-shadow: 0 0 16px rgba(196,155,98,0.28);
  pointer-events: none;
}
.profile-picker .cards.path-options .layer-card::after {
  content: "";
  position: absolute;
  top: -68px;
  left: 50%;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  box-shadow: 0 0 18px rgba(196,155,98,0.55);
  pointer-events: none;
}
.cards.path-options .layer-card .lc-title { font-size: clamp(1.45rem, 2.8vw, 2rem); }
.profile-picker .cards.path-options .layer-card .lc-title {
  min-height: 2.1em;
  display: flex;
  align-items: flex-start;
}
.cards.path-options .layer-card .lc-desc { font-size: 0.98rem; line-height: 1.62; }
.layer-card { position: relative; overflow: hidden;
  background:
    radial-gradient(80% 120% at 0% 0%, rgba(255,255,255,0.065), transparent 38%),
    linear-gradient(160deg, rgba(255,255,255,0.04), rgba(255,255,255,0.012));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 22px;
  backdrop-filter: blur(12px) saturate(1.16); min-height: 220px; display: flex; flex-direction: column; gap: 0.7rem;
  color: inherit; text-decoration: none;
  transition: border-color .3s var(--ease), transform .3s var(--ease), box-shadow .3s var(--ease); will-change: transform; }
.layer-card::after {
  content: "";
  position: absolute;
  inset: -55%;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 36%, rgba(255,255,255,0.16) 48%, transparent 60%),
    radial-gradient(circle at 50% 50%, rgba(196,155,98,0.12), transparent 36%);
  opacity: 0;
  transform: translate3d(-20%, -12%, 0) rotate(12deg);
  transition: opacity .5s var(--ease), transform .75s var(--ease);
}
.layer-card > * { position: relative; z-index: 1; transition: transform .55s var(--ease); }
.layer-card[data-hover]:hover { border-color: var(--border-bright); transform: translateY(-4px); box-shadow: var(--glow); }
.layer-card[data-hover]:hover::after { opacity: 1; transform: translate3d(18%, 10%, 0) rotate(12deg); }
.layer-card .lc-label { display: none; }
.layer-card .lc-title { font-family: var(--font-display); font-size: 1.32rem; font-weight: 380; letter-spacing: -0.018em; line-height: 1.04; }
.layer-card .lc-desc { font-size: 0.9rem; color: var(--text-2); line-height: 1.62; flex: 1; }
.layer-card .lc-badge { display: inline-flex; align-items: center; font-family: var(--font-mono); font-size: 0.62rem;
  font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); transform: scale(0); transform-origin: left;
  padding-top: 0.6rem; border-top: 1px solid var(--border); width: 100%; }
/* staggered masonry offsets */
.cards .layer-card:nth-child(2) { margin-top: 34px; }
.cards .layer-card:nth-child(3) { margin-top: 12px; }
.cards .layer-card:nth-child(4) { margin-top: 46px; }
.cards .layer-card:nth-child(5) { margin-top: 20px; }
.profile-picker .cards.path-options .layer-card:nth-child(1),
.profile-picker .cards.path-options .layer-card:nth-child(2) {
  margin-top: 0;
}
.cards-svg { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 2; }
.cards-svg path {
  fill: none;
  stroke: rgba(216,182,131,0.46);
  stroke-width: 1.15;
  filter: drop-shadow(0 0 11px rgba(196,155,98,0.32));
}

/* =====================================================================
   SELECTED WORK  (was "Device Showcase") — editorial cross-dissolve
   ===================================================================== */
.showcase { height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.showcase::before,
.showcase::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 1;
}
.showcase::before {
  left: -8vw;
  right: -8vw;
  top: 50%;
  height: 1px;
  background:
    linear-gradient(90deg, transparent 0%, rgba(196,155,98,0.18) 14%, rgba(216,182,131,0.52) 36%, rgba(196,155,98,0.12) 50%, rgba(216,182,131,0.48) 66%, rgba(196,155,98,0.18) 86%, transparent 100%);
  box-shadow: 0 0 30px rgba(196,155,98,0.2);
}
.showcase::after {
  display: none;
}
.showcase-stage { position: relative; z-index: 2; width: 100%; height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2.4rem; perspective: 1500px; }

.frame { position: relative; width: min(960px, 92vw); aspect-ratio: 16 / 9;
  background:
    radial-gradient(70% 90% at 9% 12%, rgba(255,255,255,0.068), transparent 42%),
    radial-gradient(42% 64% at 92% 92%, rgba(196,155,98,0.105), transparent 62%),
    linear-gradient(150deg, rgba(255,255,255,0.055), rgba(255,255,255,0.014) 48%, rgba(196,155,98,0.024));
  border: 1px solid rgba(255,255,255,0.115); border-radius: var(--radius-lg);
  box-shadow:
    var(--glow),
    0 28px 90px rgba(0,0,0,0.48),
    inset 0 1px 0 rgba(255,255,255,0.09),
    inset 0 -46px 120px rgba(255,255,255,0.018);
  overflow: hidden; backdrop-filter: blur(22px) saturate(1.24);
  transform-style: preserve-3d;
  will-change: transform, opacity; }
.frame::before {
  content: "";
  position: absolute;
  inset: -40%;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(42% 52% at 34% 42%, rgba(255,255,255,0.1), transparent 64%),
    linear-gradient(110deg, transparent 38%, rgba(255,255,255,0.13) 49%, transparent 61%);
  opacity: 0.28;
  mix-blend-mode: screen;
  transform: translate3d(-14%, -7%, 0) rotate(10deg);
  animation: liquid-glass-drift 9s ease-in-out infinite alternate;
}
.frame::after {
  content: "";
  position: absolute;
  inset: 1px;
  z-index: 2;
  pointer-events: none;
  border-radius: calc(var(--radius-lg) - 2px);
  border: 1px solid rgba(255,255,255,0.045);
  box-shadow:
    inset 0 0 44px rgba(255,255,255,0.025),
    inset 0 0 90px rgba(196,155,98,0.035);
}
.frame-label { position: absolute; top: 22px; left: 26px; z-index: 6; font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-2); }
.frame-counter { display: none; }

.project { position: absolute; inset: 0; padding: clamp(2.2rem, 5vw, 4rem); display: flex; flex-direction: column; justify-content: center;
  opacity: 0; z-index: 3; transform-style: preserve-3d; backface-visibility: hidden; will-change: transform, opacity, filter; }
.project.is-first { opacity: 1; }
.project-index { display: none; }
.project-label { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); }
.project-title { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 400; margin-top: 0.5rem; letter-spacing: -0.015em; line-height: 1.04; }
.project-desc { color: var(--text-2); font-size: clamp(0.95rem, 1.4vw, 1.08rem); margin-top: 1rem; max-width: 56ch; line-height: 1.62; text-wrap: pretty; }
.project-metrics { display: flex; flex-wrap: wrap; gap: 1.4rem 2.6rem; margin-top: 1.8rem; }
.project-metrics > div { display: flex; flex-direction: column; gap: 0.25rem; }
.project-metrics b { font-size: 0.92rem; font-weight: 600; color: var(--text); letter-spacing: 0.01em; }
.project-metrics span { font-size: 0.76rem; color: var(--text-2); }
.project-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.6rem; }
.project-tags span, .project-tags a { font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.06em; color: var(--text); border: 1px solid var(--border); border-radius: 999px; padding: 0.3rem 0.75rem; background: var(--surface); white-space: nowrap; text-decoration: none; }
.project-tags a:hover { border-color: var(--accent-dim); color: var(--accent); }
.project-details-toggle {
  align-self: flex-start;
  align-items: center;
  margin-top: 1.05rem;
  border: 1px solid rgba(216,182,131,0.32);
  border-radius: 999px;
  background: rgba(196,155,98,0.055);
  color: var(--accent-bright);
  cursor: pointer;
  display: inline-flex;
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 500;
  justify-content: center;
  letter-spacing: 0.14em;
  padding: 0.48rem 0.9rem;
  text-transform: uppercase;
  transition: border-color .28s var(--ease), color .28s var(--ease), background .28s var(--ease), transform .28s var(--ease);
}
.project-details-toggle:hover,
.project-details-toggle:focus-visible {
  background: rgba(196,155,98,0.1);
  border-color: rgba(216,182,131,0.62);
  color: var(--text);
  outline: none;
  transform: translateY(-1px);
}
.project-detail-panel {
  position: absolute;
  right: clamp(1.2rem, 3.6vw, 3.2rem);
  top: 50%;
  z-index: 8;
  width: min(440px, 44%);
  max-height: calc(100% - 4rem);
  overflow: auto;
  padding: 1.15rem;
  border: 1px solid rgba(216,182,131,0.24);
  border-radius: calc(var(--radius-lg) - 4px);
  background:
    radial-gradient(75% 80% at 10% 0%, rgba(255,255,255,0.08), transparent 50%),
    linear-gradient(150deg, rgba(16,14,10,0.86), rgba(7,6,5,0.72));
  box-shadow:
    0 24px 72px rgba(0,0,0,0.46),
    0 0 42px rgba(196,155,98,0.10),
    inset 0 1px 0 rgba(255,255,255,0.08);
  backdrop-filter: blur(22px) saturate(1.2);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(24px, -50%, 0) scale(0.98);
  transition: opacity .34s var(--ease), transform .42s var(--ease);
}
.project-detail-panel[hidden] { display: block; visibility: hidden; }
.project.is-expanded .project-detail-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, -50%, 0) scale(1);
  visibility: visible;
}
.project-detail-panel h4 {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 0.58rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  margin-bottom: 0.55rem;
  text-transform: uppercase;
}
.project-detail-panel ul {
  display: grid;
  gap: 0.42rem;
  list-style: none;
  padding: 0;
}
.project-detail-panel li {
  color: var(--text-2);
  font-size: 0.76rem;
  line-height: 1.46;
  padding-left: 0.85rem;
  position: relative;
}
.project-detail-panel li::before {
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(196,155,98,0.5);
  content: "";
  height: 4px;
  left: 0;
  position: absolute;
  top: 0.62em;
  width: 4px;
}
.project-detail-group + .project-detail-group {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 0.9rem;
  padding-top: 0.9rem;
}

@keyframes liquid-glass-drift {
  0% { transform: translate3d(-18%, -9%, 0) rotate(8deg); opacity: 0.18; }
  45% { opacity: 0.34; }
  100% { transform: translate3d(18%, 10%, 0) rotate(13deg); opacity: 0.24; }
}

.counters { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2.6rem; opacity: 0; will-change: transform, opacity; }
.counters .ct { font-family: var(--mono); font-size: 0.8rem; color: var(--text-2); letter-spacing: 0.04em; }
.counters .ct b { color: var(--text); font-weight: 600; }
.counters .ct .accent { color: var(--accent); }

/* =====================================================================
   TOOLS & SOFTWARE
   ===================================================================== */
.toolkit { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 12vh 0; overflow: hidden; }
.toolkit::before {
  content: "";
  position: absolute;
  left: 6vw;
  right: 6vw;
  top: 18vh;
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(216,182,131,0.38), rgba(196,155,98,0.12), rgba(216,182,131,0.32), transparent);
  box-shadow: 0 0 28px rgba(196,155,98,0.16);
}
.toolkit-stage { position: relative; z-index: 2; width: min(1180px, 92vw); }
.toolkit-head { text-align: center; width: min(760px, 100%); margin: 0 auto 3rem; will-change: transform, opacity; }
.toolkit-head h2 { font-family: var(--serif); font-size: clamp(1.9rem, 4vw, 3.2rem); font-weight: 400;
  letter-spacing: -0.02em; line-height: 1.08; margin-top: 0.9rem; text-wrap: balance; }
.toolkit-head p:not(.eyebrow) { color: var(--text-2); margin: 1rem auto 0; max-width: 62ch; line-height: 1.65; text-wrap: pretty; }
.capability-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-bottom: 2rem; }
.capability-card { min-height: 280px; background: linear-gradient(180deg, rgba(255,255,255,0.048), rgba(255,255,255,0.02));
  border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04); will-change: transform, opacity;
  transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease); }
.capability-card:hover { transform: translateY(-5px); border-color: var(--accent-dim); box-shadow: var(--glow); }
.capability-card span { display: block; font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.capability-card h3 { font-family: var(--serif); font-size: 1.2rem; font-weight: 400; line-height: 1.18; letter-spacing: -0.01em; margin-top: 1rem; }
.capability-card p { color: var(--text-2); font-size: 0.78rem; line-height: 1.55; margin-top: 1rem; text-wrap: pretty; }
.tool-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.tool-card { min-height: 248px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; backdrop-filter: blur(10px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  will-change: transform, opacity; transition: transform .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease); }
.tool-card:hover { transform: translateY(-5px); border-color: var(--accent-dim); box-shadow: var(--glow); }
.tool-card h3 { font-family: var(--serif); font-size: 1.16rem; font-weight: 400; line-height: 1.16; letter-spacing: -0.01em; }
.tool-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.2rem; }
.tool-list span { border: 1px solid var(--border); border-radius: 999px; background: rgba(255,255,255,0.035);
  padding: 0.34rem 0.68rem; color: var(--text-2); font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.04em; }
.tool-list span:hover { border-color: var(--accent-dim); color: var(--text); background: rgba(196,155,98,0.08); }

/* =====================================================================
   CAREER TIMELINE
   ===================================================================== */
.timeline { height: 100vh; display: flex; align-items: center; overflow: hidden; }
.timeline-stage { position: relative; width: 100%; height: 100vh; display: flex; align-items: center; }
.tl-now { position: absolute; left: 50%; top: 18%; bottom: 30%; width: 1px; background: var(--accent); transform: translateX(-50%);
  box-shadow: 0 0 16px var(--accent-dim); z-index: 5; }
.tl-now::after { content: "NOW"; position: absolute; top: -1.7rem; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: 0.58rem; letter-spacing: 0.22em; color: var(--accent); }
.tl-head { position: absolute; top: 11vh; left: 0; right: 0; text-align: center; z-index: 6; padding: 0 1.5rem; }
.tl-head h2 { font-family: var(--serif); font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 400; margin-top: 0.8rem; letter-spacing: -0.015em; line-height: 1.12; max-width: 22ch; margin-inline: auto; }
.tl-track-wrap { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); height: 2px; }
.tl-line { position: absolute; left: 0; top: 0; width: 100%; height: 1px; background: var(--border); transform: scaleX(0); transform-origin: left; }
.tl-track { position: absolute; top: 0; left: 0; display: flex; align-items: center; will-change: transform; }
.tl-node { position: relative; width: 360px; flex: 0 0 360px; display: flex; flex-direction: column; align-items: center; }
.tl-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--text-2); transform: scale(0); transition: background .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease); }
.tl-node.active .tl-dot { background: var(--accent); box-shadow: 0 0 18px var(--accent); transform: scale(1.3); }
.tl-card { position: absolute; top: 36px; left: 50%; width: 304px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px; backdrop-filter: blur(10px); opacity: 0; transform: translate(-50%, 50px); transition: opacity .45s var(--ease), transform .45s var(--ease), border-color .35s, box-shadow .35s; }
.tl-node.active .tl-card { opacity: 1; transform: translate(-50%, 0); border-color: var(--accent-dim); box-shadow: var(--glow); }
.tl-card .tc-date { font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.08em; color: var(--accent); }
.tl-card .tc-role { font-family: var(--serif); font-size: 1.2rem; font-weight: 400; margin-top: 0.5rem; line-height: 1.15; }
.tl-card .tc-co { font-size: 0.82rem; color: var(--text-2); margin-top: 0.3rem; }
.tl-card .tc-win { font-size: 0.85rem; color: var(--text); margin-top: 0.8rem; line-height: 1.5; padding-top: 0.8rem; border-top: 1px solid var(--border); text-wrap: pretty; }

/* =====================================================================
   EXECUTIVE CLOSE  (was "Terminal")
   ===================================================================== */
.closing { height: 100vh; display: flex; align-items: center; justify-content: center; }
.closing-stage { width: min(880px, 92vw); text-align: center; display: flex; flex-direction: column; align-items: center; }
.closing-title { font-family: var(--serif); font-size: clamp(2rem, 4.6vw, 3.5rem); font-weight: 400; letter-spacing: -0.02em; line-height: 1.1; margin-top: 1.4rem; max-width: 20ch; text-wrap: balance; }
.closing-lead { color: var(--text-2); font-size: clamp(1rem, 1.4vw, 1.12rem); line-height: 1.66; margin-top: 1.7rem; max-width: 56ch; text-wrap: pretty; }
.closing-email { font-family: var(--serif); font-size: clamp(1.5rem, 3vw, 2.4rem); color: var(--text); margin-top: 2.8rem;
  border-bottom: 1px solid var(--border-bright); padding-bottom: 0.25rem; transition: color .3s, border-color .3s; }
.closing-email:hover { color: var(--accent); border-color: var(--accent); }
.closing-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem 2rem; margin-top: 2.3rem;
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.08em; color: var(--text-2); }
.closing-links a, .closing-links span { transition: color .3s; display: inline-flex; gap: 0.5rem; align-items: center; }
.closing-links a:hover { color: var(--accent); }
.profile-switch {
  width: min(760px, 100%);
  margin-top: 2rem;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  border: 1px solid var(--accent-dim);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(90% 120% at 0% 0%, rgba(196,155,98,0.14), transparent 55%),
    rgba(255,255,255,0.035);
  box-shadow: var(--glow-strong);
  backdrop-filter: blur(12px);
}
.profile-switch-copy {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.profile-switch-copy b {
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 400;
  letter-spacing: -0.01em;
}
.profile-switch-copy span {
  color: var(--text-2);
  font-family: var(--mono);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.profile-switch-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem;
}
.profile-switch-actions a {
  min-height: 42px;
  padding: 0.72rem 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-bright);
  border-radius: 999px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: transform .3s var(--ease), border-color .3s, color .3s, background .3s;
}
.profile-switch-actions a.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #111;
}
.profile-switch-actions a:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  color: var(--accent);
}
.profile-switch-actions a.primary:hover {
  color: #111;
  background: var(--accent-bright);
}
.closing [data-c] { will-change: transform, opacity; }

/* =====================================================================
   FOOTER
   ===================================================================== */
.footer { padding: 8vh 0 6vh; border-top: 1px solid var(--border); margin-top: 4vh; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-family: var(--mono); font-size: 0.74rem; color: var(--text-2); letter-spacing: 0.05em; }
.footer-inner b { color: var(--text); font-weight: 500; }
.footer-inner .links { display: flex; gap: 1.5rem; }
.footer-inner a:hover { color: var(--accent); }

/* =====================================================================
   REDUCED MOTION + RESPONSIVE
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  .emblem-glow, .loader-bar::after,
  .particle-field, .particle-field::before, .particle-field::after,
  .particle-burst span,
  .hero-orb .orb, .hero-orb .orb-glow, .hero-orb .orbit,
  .frame::before { animation: none; }
}

@media (max-width: 900px) and (min-width: 521px) {
  .topbar { width: min(100% - 2rem, 1200px); }
  .profile-picker .unpack-stage {
    height: auto;
    min-height: 100svh;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: visible;
    padding: 14vh 1rem 8vh;
  }
  .profile-picker .unpack-head {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: min(100%, 760px);
    margin: 0 auto 3.25rem;
  }
  .profile-picker .unpack-head h2 {
    max-width: none;
    font-size: clamp(2.6rem, 7.4vw, 4rem);
  }
  .profile-picker .unpack-head p:not(.eyebrow) {
    max-width: 64ch;
  }
  .profile-picker .cards.path-options {
    width: min(100%, 720px);
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-top: 0.75rem;
  }
  .profile-picker .cards.path-options::before,
  .profile-picker .cards.path-options::after,
  .profile-picker .cards.path-options .layer-card::before,
  .profile-picker .cards.path-options .layer-card::after {
    display: none;
  }
  .profile-picker .cards.path-options .layer-card {
    min-height: 0;
    padding: clamp(26px, 4.5vw, 34px);
  }
  .cards { width: min(1120px, 96vw); gap: 10px; }
  .layer-card { padding: 22px 18px; min-height: 250px; }
  .layer-card .lc-title { font-size: 1.12rem; }
  .layer-card .lc-desc { font-size: 0.78rem; line-height: 1.5; }
  .layer-card .lc-badge { font-size: 0.56rem; letter-spacing: 0.14em; }
  .showcase-stage { gap: 1.6rem; }
  .frame { width: min(1020px, 96vw); aspect-ratio: auto; height: min(84vh, 720px); min-height: 620px; }
  .project { justify-content: flex-start; padding: 4.6rem clamp(1.35rem, 4vw, 2.1rem) 1.7rem; }
  .project-label { font-size: 0.62rem; line-height: 1.65; letter-spacing: 0.14em; }
  .project-title { font-size: clamp(2.2rem, 7vw, 3.2rem); margin-top: 0.35rem; }
  .project-desc { max-width: 58ch; font-size: 0.92rem; line-height: 1.48; margin-top: 0.75rem; }
  .project-metrics { gap: 0.9rem 1.4rem; margin-top: 1.1rem; }
  .project-tags { margin-top: 1.05rem; }
  .project-tags span, .project-tags a { font-size: 0.58rem; padding: 0.28rem 0.62rem; }
  .project-details-toggle { margin-top: 1rem; padding-inline: 1.15rem; }
  .project-detail-panel {
    position: relative;
    right: auto;
    top: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    width: 100%;
    max-height: 210px;
    margin-top: 1rem;
    padding: 0.95rem 1rem;
    opacity: 0;
    transform: translateY(-8px);
  }
  .project-detail-panel[hidden] { display: none; }
  .project.is-expanded .project-detail-panel {
    transform: translateY(0);
  }
  .project-detail-group + .project-detail-group {
    border-left: 1px solid rgba(255,255,255,0.08);
    border-top: 0;
    margin-top: 0;
    padding-left: 1rem;
    padding-top: 0;
  }
  .project-detail-panel h4 { font-size: 0.54rem; margin-bottom: 0.48rem; }
  .project-detail-panel ul { gap: 0.34rem; }
  .project-detail-panel li { font-size: 0.68rem; line-height: 1.38; }
  .capability-grid, .tool-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .capability-card { min-height: 235px; }
  .hero-orb.hero-orb-three {
    height: clamp(290px, 44vw, 420px);
    margin-bottom: 0.8rem;
  }
}

@media (max-width: 520px) {
  .cursor, .cursor-ring { display: none; }
  .topbar { width: min(100% - 1rem, 1200px); font-size: 0.58rem; letter-spacing: 0.08em; }
  .topbar .brand { gap: 0.45rem; }
  .topbar-actions { gap: 0.4rem; }
  .topbar .navlink { padding: 0.42rem 0.58rem; }
  .topbar .hire { display: none; }
  .hero-founder .hero-inner { width: min(100%, 94vw); }
  .hero-orb { height: 310px; margin-bottom: 1.4rem; border-radius: 22px; }
  .hero-orb.hero-orb-three {
    height: 295px;
    margin-bottom: 0.85rem;
  }
  .hero-orb-frame {
    height: 138%;
    inset: -18% 0;
  }
  .hero-orb .orb { width: 250px; height: 250px; }
  .hero-orb .tag { padding: 0.54rem 0.8rem; font-size: 0.54rem; letter-spacing: 0.16em; }
  .hero-orb .tag-founder { left: 5%; top: 35%; }
  .hero-orb .tag-coo { right: 6%; top: 32%; }
  .hero-orb .tag-cto { right: 7%; top: 58%; }
  .hero-orb .tag-product { left: 10%; bottom: 19%; }
  .hero-line { display: none; }
  .unpack, .showcase, .timeline, .toolkit, .closing { min-height: auto; height: auto; display: block; }
  .unpack-stage, .showcase-stage, .timeline-stage { height: auto; }

  .unpack-stage {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    overflow: visible;
    padding: 15vh 1rem 8vh;
  }
  .profile-picker .unpack-stage {
    align-items: center;
    justify-content: flex-start;
    padding: 15vh 1rem 8vh;
  }
  .profile-picker .unpack-head {
    position: relative;
    top: 0;
    left: 0;
    transform: none;
    width: min(92%, 680px);
    margin: 0 auto 3.75rem;
  }
  .profile-picker .unpack-head h2 { max-width: none; font-size: clamp(1.85rem, 10vw, 2.75rem); }
  .profile-picker .unpack-head p:not(.eyebrow) { font-size: 1rem; line-height: 1.58; }
  .tracks { display: none; }
  .unpack-head { position: relative; top: 0; transform: none; left: 0; margin: 0 auto 2.5rem; }
  .cards { grid-template-columns: 1fr; gap: 14px; }
  .cards.path-options { grid-template-columns: 1fr; width: min(560px, 92%); }
  .cards.path-options .layer-card { min-height: 0; padding: 24px; }
  .profile-picker .cards.path-options { margin-top: 0.75rem; }
  .profile-picker .cards.path-options .layer-card .lc-title { font-size: clamp(1.55rem, 8vw, 2.05rem); }
  .profile-picker .cards.path-options .layer-card .lc-desc { font-size: 0.96rem; line-height: 1.56; }
  .profile-picker .cards.path-options::before,
  .profile-picker .cards.path-options::after,
  .profile-picker .cards.path-options .layer-card::before,
  .profile-picker .cards.path-options .layer-card::after { display: none; }
  .cards .layer-card { margin-top: 0 !important; min-height: 0; }
  .cards-svg { display: none; }

  .showcase-stage { padding: 13vh 0 8vh; height: auto; gap: 2rem; }
  .frame { aspect-ratio: auto; height: auto; width: min(560px, 100%); }
  .frame-counter, .frame-label { display: none; }
  .project { position: relative; inset: auto; opacity: 1; clip-path: none !important; filter: none !important;
    transform: none !important; padding: 1.8rem; border-bottom: 1px solid var(--border); }
  .project:last-of-type { border-bottom: none; }
  .project-index { position: relative; top: auto; right: auto; font-size: 2.2rem; margin-bottom: 0.4rem; }
  .project-details-toggle { margin-top: 1rem; width: 100%; justify-content: center; }
  .project-detail-panel {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
    max-height: none;
    margin-top: 1rem;
    padding: 1rem;
    opacity: 0;
    transform: translateY(-8px);
  }
  .project-detail-panel[hidden] { display: none; }
  .project.is-expanded .project-detail-panel {
    transform: translateY(0);
  }

  .timeline-stage { display: block; padding: 13vh 0 8vh; }
  .tl-now, .tl-track-wrap, .tl-line { display: none; }
  .tl-head { position: relative; top: 0; margin-bottom: 2.5rem; }
  .tl-track { position: relative; flex-direction: column; transform: none !important; gap: 1rem; }
  .tl-node { width: 100%; flex: none; align-items: stretch; }
  .tl-node .tl-dot { display: none; }
  .tl-card { position: relative; top: 0; left: auto; width: 100%; opacity: 1; transform: none; }

  .toolkit { padding: 13vh 0 8vh; }
  .toolkit-head { text-align: left; margin-bottom: 2rem; }
  .capability-grid { grid-template-columns: 1fr; gap: 14px; margin-bottom: 1.4rem; }
  .capability-card { min-height: 0; padding: 20px; }
  .tool-grid { grid-template-columns: 1fr; gap: 14px; }
  .tool-card { min-height: 0; padding: 20px; }

  .closing { padding: 14vh 0 10vh; }
  .profile-switch { flex-direction: column; align-items: stretch; padding: 16px; }
  .profile-switch-actions { justify-content: flex-start; }
  .profile-switch-actions a { width: 100%; }
}
