/* ==========================================================================
   Nathan Clinton — Portfolio
   Ported from Claude Design prototype (Portfolio-Hero-Work.dc.html).
   Design intent: experimental shell, disciplined content.
   ========================================================================== */

/* ---------- Base ---------- */

:root {
  --font-sans: 'Space Grotesk', Helvetica, sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
}

* { box-sizing: border-box; }

html {
  color-scheme: dark;
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  padding: 0;
  background: #04060c;
  font-family: var(--font-sans);
  color: #eaf1f8;
}

a { color: #a9d8ff; text-decoration: none; }
a:hover { color: #ffffff; }

img { max-width: 100%; }

h1, h2, h3 { margin: 0; font-weight: 400; }

:focus-visible {
  outline: 2px solid #9ad4ff;
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: 999px;
  background: #bfe2ff;
  color: #061020;
  font-size: 13px;
  font-weight: 500;
  transition: top .2s ease;
}
.skip-link:focus { top: 12px; color: #061020; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Keyframes ---------- */

@keyframes bDrift {
  0%   { transform: translate3d(-2%, 0, 0) scale(1.05); opacity: .55; }
  50%  { transform: translate3d(2%, -2%, 0) scale(1.12); opacity: .8; }
  100% { transform: translate3d(-2%, 0, 0) scale(1.05); opacity: .55; }
}
@keyframes bRay { 0%, 100% { opacity: .22; } 50% { opacity: .5; } }
@keyframes bGrid { to { transform: translateY(64px); } }
@keyframes bRise {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes bBlink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

/* ---------- Shared pieces ---------- */

.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(175,220,255,0.72);
}
.kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border: 1px solid rgba(175,220,255,0.8);
  transform: rotate(45deg);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 17px 34px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(150,220,255,0.95) 0%, rgba(120,150,255,0.9) 100%);
  color: #061020;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  box-shadow: 0 12px 44px rgba(110,175,255,0.35);
  transition: transform .25s ease, box-shadow .25s ease;
}
.btn-primary:hover {
  color: #061020;
  transform: translateY(-2px);
  box-shadow: 0 18px 56px rgba(110,175,255,0.5);
}
.btn-primary .btn-dash {
  width: 18px;
  height: 1px;
  background: #061020;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 17px 34px;
  border-radius: 999px;
  border: 1px solid rgba(175,215,250,0.28);
  background: rgba(12,22,40,0.4);
  backdrop-filter: blur(8px);
  color: #e9f2fb;
  font-size: 14px;
  letter-spacing: 0.04em;
  transition: border-color .25s ease, background .25s ease;
}
.btn-ghost:hover {
  color: #e9f2fb;
  border-color: rgba(200,230,255,0.6);
  background: rgba(30,50,80,0.55);
}
.btn-ghost .btn-dash {
  width: 18px;
  height: 1px;
  background: currentColor;
}

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

.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 20px clamp(20px, 5vw, 64px);
  backdrop-filter: blur(16px);
  background: linear-gradient(180deg, rgba(6,11,22,0.86) 0%, rgba(6,11,22,0.2) 100%);
  border-bottom: 1px solid rgba(150,200,255,0.1);
}

.nav-brand {
  display: flex;
  align-items: baseline;
  gap: 9px;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #ffffff;
}
.nav-brand:hover { color: #ffffff; }
.nav-brand span {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(170,215,255,0.6);
}

.nav-tabs {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border: 1px solid rgba(150,200,255,0.14);
  border-radius: 999px;
  background: rgba(12,22,40,0.55);
  font-size: 13px;
}
.nav-tabs a {
  padding: 8px 18px;
  border-radius: 999px;
  color: rgba(224,238,252,0.62);
  transition: background .22s ease, color .22s ease;
}
.nav-tabs a:hover {
  background: rgba(130,205,255,0.1);
  color: #ffffff;
}
.nav-tabs a.is-active {
  background: rgba(130,205,255,0.16);
  color: #ffffff;
  box-shadow: 0 0 20px rgba(120,195,255,0.18) inset;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  background: radial-gradient(120% 80% at 50% 4%, #0d2038 0%, #071129 34%, #04060c 78%);
  color: #eaf1f8;
}

.hero-blob { position: absolute; pointer-events: none; }
.hero-blob--violet {
  left: -10%; top: -18%;
  width: 70%; height: 78%;
  background: radial-gradient(circle at 50% 50%, rgba(112,86,220,0.4) 0%, rgba(60,52,150,0.14) 42%, rgba(4,6,12,0) 72%);
  filter: blur(18px);
  animation: bDrift 24s ease-in-out infinite;
}
.hero-blob--cyan {
  right: -14%; top: -6%;
  width: 66%; height: 74%;
  background: radial-gradient(circle at 50% 50%, rgba(46,168,220,0.36) 0%, rgba(30,110,170,0.13) 44%, rgba(4,6,12,0) 74%);
  filter: blur(22px);
  animation: bDrift 31s ease-in-out infinite reverse;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-rays {
  position: absolute;
  left: 0; right: 0; top: -12%;
  height: 96%;
  background: repeating-linear-gradient(101deg, rgba(180,225,255,0) 0px, rgba(180,225,255,0.075) 2px, rgba(180,225,255,0) 5px, rgba(180,225,255,0) 62px);
  mask-image: radial-gradient(70% 60% at 50% 0%, #000 0%, rgba(0,0,0,0.35) 46%, transparent 78%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 0%, #000 0%, rgba(0,0,0,0.35) 46%, transparent 78%);
  animation: bRay 9s ease-in-out infinite;
  pointer-events: none;
}

.hero-floor {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 46%;
  overflow: hidden;
  perspective: 320px;
  perspective-origin: 50% 0%;
  pointer-events: none;
}
.hero-floor-tilt {
  position: absolute;
  inset: -40% -30% -10%;
  transform: rotateX(74deg);
  transform-origin: 50% 0%;
}
.hero-floor-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(120,200,255,0.32) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,200,255,0.22) 1px, transparent 1px);
  background-size: 64px 64px;
  animation: bGrid 3.6s linear infinite;
}
.hero-floor-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #04060c 0%, rgba(4,6,12,0.55) 34%, rgba(4,6,12,0.1) 70%, rgba(4,6,12,0.85) 100%);
}

.hero-horizon {
  position: absolute;
  left: 0; right: 0;
  top: 46.5%;
  height: 1px;
  background: linear-gradient(90deg, rgba(150,215,255,0) 0%, rgba(190,235,255,0.55) 50%, rgba(150,215,255,0) 100%);
  box-shadow: 0 0 40px 6px rgba(120,195,255,0.22);
  pointer-events: none;
}

.hero-main {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.82fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  padding: 128px clamp(20px, 6vw, 96px) 104px;
  max-width: 1560px;
  margin: 0 auto;
}

.hero-kicker { animation: bRise 1s ease-out both; }
.hero-kicker .kicker { gap: 14px; }

.hero-title {
  margin: 22px 0 0;
  font-size: clamp(48px, 8.4vw, 128px);
  font-weight: 400;
  line-height: 0.94;
  letter-spacing: -0.035em;
  color: #ffffff;
  text-shadow: 0 6px 60px rgba(90,170,255,0.35), 0 0 120px rgba(120,90,240,0.25);
  animation: bRise 1.05s ease-out .08s both;
}

.hero-lede {
  margin-top: 32px;
  max-width: 660px;
  padding: 24px 28px;
  border-left: 1px solid rgba(160,215,255,0.35);
  background: linear-gradient(90deg, rgba(20,40,70,0.55) 0%, rgba(12,22,40,0.12) 100%);
  backdrop-filter: blur(6px);
  animation: bRise 1.1s ease-out .18s both;
}
.hero-lede-primary {
  margin: 0;
  font-size: clamp(18px, 2vw, 25px);
  line-height: 1.35;
  color: #f0f6fc;
  text-wrap: pretty;
}
.hero-lede-sub {
  margin: 16px 0 0;
  font-size: clamp(13px, 1.4vw, 15px);
  line-height: 1.7;
  color: rgba(205,224,242,0.66);
  text-wrap: pretty;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
  animation: bRise 1.1s ease-out .3s both;
}

.hero-aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: bRise 1.15s ease-out .38s both;
}

.console {
  border: 1px solid rgba(150,205,255,0.18);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(18,34,58,0.78) 0%, rgba(9,16,30,0.62) 100%);
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 60px rgba(4,10,24,0.55);
  overflow: hidden;
  font-family: var(--font-mono);
}
.console-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 14px;
  border-bottom: 1px solid rgba(150,205,255,0.14);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(175,220,255,0.8);
}
.console-head-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.console-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #9ad4ff;
  box-shadow: 0 0 10px rgba(154,212,255,0.9);
}
.console-clock { color: rgba(205,224,242,0.45); }
.console-body {
  padding: 14px;
  font-size: 11.5px;
  line-height: 1.95;
  color: rgba(214,232,248,0.78);
  min-height: 152px;
}
.console-line { display: flex; gap: 8px; }
.console-line .prompt { color: rgba(154,212,255,0.6); }
.console-caret {
  display: inline-block;
  width: 7px; height: 13px;
  background: #9ad4ff;
  animation: bBlink 1s steps(1) infinite;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.hero-stat {
  padding: 16px;
  border: 1px solid rgba(150,205,255,0.16);
  border-radius: 12px;
  background: rgba(14,26,46,0.6);
  backdrop-filter: blur(8px);
}
.hero-stat-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(205,224,242,0.5);
}
.hero-stat-value {
  margin-top: 6px;
  font-size: 27px;
  font-weight: 500;
  color: #bfe2ff;
}

.status-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border: 1px solid rgba(150,205,255,0.14);
  border-radius: 999px;
  background: rgba(14,26,46,0.5);
  backdrop-filter: blur(8px);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(205,224,242,0.6);
}
.status-pill::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #9ad4ff;
  box-shadow: 0 0 9px #9ad4ff;
}

.hero-scroll-hint {
  position: absolute;
  right: clamp(18px, 5vw, 60px);
  bottom: 34px;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(185,215,240,0.45);
}
.hero-scroll-hint::after {
  content: "";
  width: 46px;
  height: 1px;
  background: linear-gradient(90deg, rgba(175,220,255,0.6), rgba(175,220,255,0));
}

/* ---------- Work section ---------- */

.work {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: radial-gradient(110% 60% at 12% 0%, #0a1a30 0%, #060d1c 42%, #04060c 82%);
  color: #eaf1f8;
  padding: clamp(72px, 9vw, 130px) clamp(18px, 6vw, 96px) clamp(80px, 10vw, 150px);
}

.work-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(120,200,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(120,200,255,0.04) 1px, transparent 1px);
  background-size: 96px 96px;
  mask-image: radial-gradient(80% 60% at 50% 0%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(80% 60% at 50% 0%, #000 0%, transparent 75%);
  pointer-events: none;
}
.work-glow {
  position: absolute;
  right: -12%; top: 22%;
  width: 52%; height: 46%;
  background: radial-gradient(circle at 50% 50%, rgba(112,86,220,0.22) 0%, rgba(4,6,12,0) 70%);
  filter: blur(20px);
  pointer-events: none;
}

.container {
  position: relative;
  max-width: 1400px;
  margin: 0 auto;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(150,205,255,0.14);
}
.section-title {
  margin: 18px 0 0;
  font-size: clamp(34px, 5.4vw, 66px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.03em;
  color: #ffffff;
}
.section-blurb {
  margin: 0;
  max-width: 420px;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(205,224,242,0.6);
  text-wrap: pretty;
}

.work-list {
  display: flex;
  flex-direction: column;
  gap: clamp(28px, 3.6vw, 52px);
  margin-top: clamp(34px, 4vw, 56px);
}

/* ---------- Project panels ---------- */

.panel {
  position: relative;
  border-radius: 20px;
  backdrop-filter: blur(12px);
  box-shadow: 0 24px 64px rgba(3,8,20,0.5);
  overflow: hidden;
}

.panel-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  gap: clamp(24px, 3vw, 46px);
  padding: clamp(22px, 3vw, 40px);
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.badge-meta { color: rgba(205,224,242,0.55); }

.badge-lowes {
  display: inline-flex;
  align-items: center;
  padding: 4px 9px;
  border-radius: 4px;
  background: rgba(236,242,250,0.92);
}
.badge-lowes img {
  height: 13px;
  width: auto;
  display: block;
}

.panel-title {
  margin: 18px 0 0;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #ffffff;
}
.panel-oneliner {
  margin: 12px 0 0;
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.4;
  color: #cfe6ff;
  text-wrap: pretty;
}
.panel-desc {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.75;
  color: rgba(205,224,242,0.7);
  text-wrap: pretty;
}

.metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}
.metric {
  padding: 16px 18px;
  border-radius: 12px;
}
.metric-value {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.metric-note {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.7;
  letter-spacing: 0.06em;
}

.role-row {
  display: flex;
  gap: 12px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid rgba(150,205,255,0.12);
}
.role-label {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(175,220,255,0.7);
  padding-top: 3px;
}
.role-text {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: rgba(205,224,242,0.66);
  text-wrap: pretty;
}

.disclosure {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(205,224,242,0.45);
}
.disclosure::before {
  content: "";
  flex-shrink: 0;
  width: 5px; height: 5px;
  border-radius: 50%;
}

.viz-frame {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
}
.viz-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 13px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.viz-head .viz-sub { color: rgba(205,224,242,0.35); }
.viz-canvas {
  display: block;
  width: 100%;
  height: clamp(230px, 26vw, 330px);
}
.viz-caption {
  margin: 12px 0 0;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.7;
  letter-spacing: 0.06em;
  color: rgba(205,224,242,0.4);
}

/* --- Dexly (flagship) --- */

.panel--dexly {
  border: 1px solid rgba(154,212,255,0.24);
  background: linear-gradient(160deg, rgba(22,42,72,0.76) 0%, rgba(9,16,30,0.66) 100%);
  backdrop-filter: blur(14px);
  box-shadow: 0 30px 80px rgba(3,8,20,0.6), 0 0 60px rgba(120,195,255,0.06) inset;
}
.panel--dexly::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(154,212,255,0) 0%, rgba(190,235,255,0.7) 40%, rgba(154,212,255,0) 100%);
}
.panel--dexly .panel-split {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: clamp(26px, 3.4vw, 54px);
  padding: clamp(24px, 3.4vw, 46px);
}

.badge-flagship {
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(154,212,255,0.18);
  border: 1px solid rgba(154,212,255,0.45);
  color: #d8ecff;
}

.panel--dexly .panel-title {
  margin-top: 20px;
  font-size: clamp(30px, 3.6vw, 46px);
  letter-spacing: -0.025em;
  line-height: 1.02;
}
.panel--dexly .panel-oneliner {
  margin-top: 14px;
  font-size: clamp(17px, 1.8vw, 22px);
}
.panel--dexly .panel-desc {
  margin-top: 18px;
  font-size: 14.5px;
  color: rgba(205,224,242,0.72);
}

.dexly-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 26px;
}
.dexly-card {
  padding: 16px 18px;
  border: 1px solid rgba(154,212,255,0.18);
  border-radius: 12px;
  background: rgba(14,26,46,0.55);
}
.dexly-card-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(205,224,242,0.5);
}
.dexly-card p {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.65;
  color: rgba(214,232,248,0.8);
  text-wrap: pretty;
}

.panel--dexly .role-row {
  margin-top: 22px;
  padding-top: 20px;
}

.dexly-cta-desktop {
  margin-top: 26px;
  padding: 16px 30px;
  letter-spacing: 0.03em;
  box-shadow: 0 12px 40px rgba(110,175,255,0.32);
}
.dexly-cta-desktop:hover { box-shadow: 0 18px 52px rgba(110,175,255,0.48); }

.dexly-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(175,220,255,0.65);
}
.dexly-head .count { color: rgba(205,224,242,0.4); }

.dexly-screens {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
  max-width: 660px;
}
.dexly-screen {
  position: relative;
  aspect-ratio: 9 / 19;
  border: 1px solid rgba(154,212,255,0.3);
  border-radius: 16px;
  padding: 6px;
  background: linear-gradient(160deg, rgba(150,220,255,0.14) 0%, rgba(120,150,255,0.08) 100%);
  box-shadow: 0 16px 40px rgba(3,8,20,0.5);
}
.dexly-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 11px;
  display: block;
}

.dexly-dots {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 14px;
}
.dexly-dots span {
  width: 6px;
  height: 4px;
  border-radius: 999px;
  background: rgba(190,225,255,0.28);
  transition: background .25s ease, width .25s ease;
}
.dexly-dots span.is-active {
  width: 18px;
  background: rgba(190,225,255,0.85);
}

.dexly-cta-mobile {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
  padding: 16px 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(150,220,255,0.95) 0%, rgba(120,150,255,0.9) 100%);
  color: #061020;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
  box-shadow: 0 12px 40px rgba(110,175,255,0.32);
}
.dexly-cta-mobile:hover { color: #061020; }

.dexly-note {
  margin: 14px 0 0;
  font-family: var(--font-mono);
  font-size: 10px;
  line-height: 1.7;
  letter-spacing: 0.08em;
  color: rgba(205,224,242,0.4);
}

/* --- Assign Hub (blue) --- */

.panel--assign {
  border: 1px solid rgba(150,205,255,0.16);
  background: linear-gradient(160deg, rgba(18,34,58,0.7) 0%, rgba(9,16,30,0.62) 100%);
}
.panel--assign .badge-lowes { border: 1px solid rgba(124,178,255,0.4); }
.panel--assign .metric {
  border: 1px solid rgba(124,178,255,0.22);
  background: rgba(14,26,46,0.6);
}
.panel--assign .metric-value { color: #a8cdff; }
.panel--assign .metric-note { color: rgba(205,224,242,0.55); }
.panel--assign .disclosure::before { background: rgba(124,178,255,0.8); }
.panel--assign .viz-frame {
  border: 1px solid rgba(124,178,255,0.24);
  background: linear-gradient(180deg, rgba(8,18,36,0.9) 0%, rgba(5,10,22,0.95) 100%);
}
.panel--assign .viz-head {
  border-bottom: 1px solid rgba(124,178,255,0.16);
  color: rgba(168,205,255,0.8);
}

/* --- DC Stocking (teal) --- */

.panel--dc {
  border: 1px solid rgba(120,224,196,0.16);
  background: linear-gradient(160deg, rgba(15,42,48,0.62) 0%, rgba(8,16,26,0.66) 100%);
}
.panel--dc .panel-split {
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr);
}
.panel--dc .panel-body { order: 2; }
.panel--dc .panel-viz { order: 1; }
.panel--dc .badge-lowes { border: 1px solid rgba(111,227,194,0.4); }
.panel--dc .panel-oneliner { color: #c8f2e6; }
.panel--dc .panel-desc { color: rgba(205,232,226,0.7); }
.panel--dc .metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.panel--dc .metric {
  padding: 16px;
  border: 1px solid rgba(111,227,194,0.22);
  background: rgba(10,30,34,0.6);
}
.panel--dc .metric-value { font-size: 24px; color: #7fe6c8; }
.panel--dc .metric-note { color: rgba(205,232,226,0.55); }
.panel--dc .role-row { border-top-color: rgba(111,227,194,0.14); }
.panel--dc .role-label { color: rgba(150,235,214,0.7); }
.panel--dc .role-text { color: rgba(205,232,226,0.66); }
.panel--dc .disclosure { color: rgba(205,232,226,0.45); }
.panel--dc .disclosure::before { background: rgba(111,227,194,0.8); }
.panel--dc .viz-frame {
  border: 1px solid rgba(111,227,194,0.24);
  background: linear-gradient(180deg, rgba(6,22,26,0.92) 0%, rgba(4,10,16,0.95) 100%);
}
.panel--dc .viz-head {
  border-bottom: 1px solid rgba(111,227,194,0.16);
  color: rgba(150,235,214,0.8);
}
.panel--dc .viz-head .viz-sub { color: rgba(205,232,226,0.35); }
.panel--dc .viz-caption { color: rgba(205,232,226,0.4); }

/* --- OPS (violet) --- */

.panel--ops {
  border: 1px solid rgba(179,155,255,0.16);
  background: linear-gradient(160deg, rgba(28,26,62,0.66) 0%, rgba(9,12,28,0.66) 100%);
}
.panel--ops .badge-lowes { border: 1px solid rgba(179,155,255,0.42); }
.panel--ops .badge-meta { color: rgba(216,214,242,0.55); }
.panel--ops .panel-oneliner { color: #ded4ff; }
.panel--ops .panel-desc { color: rgba(216,214,242,0.7); }
.panel--ops .metric {
  border: 1px solid rgba(179,155,255,0.22);
  background: rgba(20,20,44,0.62);
}
.panel--ops .metric-value { color: #c6b6ff; }
.panel--ops .metric-note { color: rgba(216,214,242,0.55); }
.panel--ops .role-row { border-top-color: rgba(179,155,255,0.14); }
.panel--ops .role-label { color: rgba(198,182,255,0.7); }
.panel--ops .role-text { color: rgba(216,214,242,0.66); }
.panel--ops .disclosure { color: rgba(216,214,242,0.45); }
.panel--ops .disclosure::before { background: rgba(179,155,255,0.8); }
.panel--ops .viz-frame {
  border: 1px solid rgba(179,155,255,0.24);
  background: linear-gradient(180deg, rgba(16,14,38,0.92) 0%, rgba(6,8,20,0.95) 100%);
}
.panel--ops .viz-head {
  border-bottom: 1px solid rgba(179,155,255,0.16);
  color: rgba(198,182,255,0.8);
}
.panel--ops .viz-head .viz-sub { color: rgba(216,214,242,0.35); }
.panel--ops .viz-caption { color: rgba(216,214,242,0.4); }

/* --- Salesforce research spotlight --- */

.panel--research {
  border: 1px solid rgba(150,205,255,0.12);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(14,24,42,0.6) 0%, rgba(7,12,24,0.6) 100%);
  backdrop-filter: blur(10px);
  box-shadow: none;
}
.panel--research .panel-split {
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: clamp(22px, 3vw, 44px);
  padding: clamp(22px, 2.8vw, 36px);
}
.badge-research {
  padding: 5px 10px;
  border-radius: 4px;
  border: 1px solid rgba(159,182,207,0.35);
  color: rgba(224,236,248,0.8);
}
.panel--research .badge-meta { color: rgba(205,224,242,0.5); }
.panel--research .panel-title {
  margin-top: 16px;
  font-size: clamp(22px, 2.4vw, 30px);
}
.panel--research .panel-oneliner {
  margin-top: 10px;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.45;
  color: #cadcec;
}
.panel--research .panel-desc {
  margin-top: 14px;
  font-size: 13.5px;
  color: rgba(205,224,242,0.65);
}
.panel--research .role-row {
  margin-top: 18px;
  padding-top: 16px;
  border-top-color: rgba(150,205,255,0.1);
}
.panel--research .role-label { color: rgba(175,220,255,0.65); }
.panel--research .role-text {
  font-size: 12.5px;
  color: rgba(205,224,242,0.6);
}

.panel-tail {
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
}
.panel--research .metrics { margin-top: 0; }
.panel--research .metric {
  padding: 16px;
  border: 1px solid rgba(150,205,255,0.16);
  background: rgba(14,26,46,0.5);
}
.panel--research .metric-value { color: #bfd8ef; }
.panel--research .metric-note { color: rgba(205,224,242,0.5); }

.research-quote {
  margin: 0;
  padding: 16px 18px;
  border-left: 1px solid rgba(150,205,255,0.35);
  background: linear-gradient(90deg, rgba(20,40,70,0.5) 0%, rgba(12,22,40,0.1) 100%);
  font-size: 14px;
  line-height: 1.6;
  color: rgba(224,238,252,0.82);
}

/* ---------- About ---------- */

.about {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: linear-gradient(180deg, #04060c 0%, #050912 40%, #060a14 100%);
  color: #eaf1f8;
  padding: clamp(80px, 10vw, 150px) clamp(18px, 6vw, 96px);
}

.calm-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  opacity: .75;
  pointer-events: none;
}
.about-glow {
  position: absolute;
  left: 50%; top: -8%;
  width: 900px; height: 520px;
  max-width: 130vw;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 50%, rgba(90,150,220,0.11) 0%, rgba(4,6,12,0) 70%);
  pointer-events: none;
}

.about .section-head {
  display: block;
  border-bottom-color: rgba(150,205,255,0.1);
}
.about .kicker { color: rgba(175,220,255,0.6); }
.about .kicker::before { border-color: rgba(175,220,255,0.7); }

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.75fr);
  gap: clamp(32px, 5vw, 84px);
  margin-top: clamp(36px, 4.5vw, 62px);
  align-items: start;
}

.about-bio-text {
  display: flex;
  flex-direction: column;
  gap: 26px;
  max-width: 65ch;
}
.bio-lede {
  margin: 0;
  font-size: clamp(17px, 1.9vw, 21px);
  line-height: 1.68;
  color: #e2ecf6;
  text-wrap: pretty;
}
.bio-p {
  margin: 0;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.85;
  color: rgba(214,232,248,0.78);
  text-wrap: pretty;
}

.offclock {
  margin-top: 34px;
  padding: 24px 26px;
  max-width: 62ch;
  border: 1px solid rgba(220,190,150,0.18);
  border-radius: 16px;
  background: linear-gradient(150deg, rgba(48,38,28,0.42) 0%, rgba(14,20,32,0.4) 100%);
}
.offclock-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(238,206,160,0.8);
}
.offclock-label::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(238,206,160,0.85);
  box-shadow: 0 0 9px rgba(238,206,160,0.6);
}
.offclock p {
  margin: 14px 0 0;
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 1.8;
  color: rgba(240,229,214,0.86);
  text-wrap: pretty;
}

.about-aside {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.photo-frame {
  position: relative;
  border: 1px solid rgba(154,212,255,0.28);
  border-radius: 16px;
  padding: 8px;
  background: linear-gradient(160deg, rgba(22,42,72,0.6) 0%, rgba(9,16,30,0.5) 100%);
  box-shadow: 0 0 30px rgba(120,195,255,0.07), 0 18px 44px rgba(3,8,20,0.45);
}
.photo-corner {
  position: absolute;
  width: 16px; height: 16px;
  pointer-events: none;
}
.photo-corner--tl {
  left: 8px; top: 8px;
  border-left: 1px solid rgba(190,235,255,0.7);
  border-top: 1px solid rgba(190,235,255,0.7);
  border-top-left-radius: 8px;
}
.photo-corner--tr {
  right: 8px; top: 8px;
  border-right: 1px solid rgba(190,235,255,0.7);
  border-top: 1px solid rgba(190,235,255,0.7);
  border-top-right-radius: 8px;
}
.photo-corner--bl {
  left: 8px; bottom: 8px;
  border-left: 1px solid rgba(190,235,255,0.7);
  border-bottom: 1px solid rgba(190,235,255,0.7);
  border-bottom-left-radius: 8px;
}
.photo-corner--br {
  right: 8px; bottom: 8px;
  border-right: 1px solid rgba(190,235,255,0.7);
  border-bottom: 1px solid rgba(190,235,255,0.7);
  border-bottom-right-radius: 8px;
}
.photo-frame-inner {
  aspect-ratio: 4 / 5;
  border-radius: 10px;
  overflow: hidden;
}
.photo-frame-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.photo-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
  padding: 8px 12px;
  border: 1px solid rgba(150,205,255,0.14);
  border-radius: 8px;
  background: rgba(14,26,46,0.45);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: rgba(205,224,242,0.6);
}
.photo-meta .op {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.photo-meta .prompt { color: rgba(154,212,255,0.65); }
.photo-meta .file { color: rgba(205,224,242,0.35); }

.aside-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(175,220,255,0.6);
}

.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}
.skill-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 13px;
  border: 1px solid rgba(150,205,255,0.2);
  border-radius: 999px;
  background: rgba(14,26,46,0.5);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(214,232,248,0.82);
}
.skill-chip::before {
  content: "/";
  color: rgba(154,212,255,0.6);
}

.education {
  padding-top: 20px;
  border-top: 1px solid rgba(150,205,255,0.1);
}
.education p {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(214,232,248,0.8);
}

.btn-resume {
  justify-content: center;
  padding: 16px 30px;
  letter-spacing: 0.03em;
  box-shadow: 0 12px 40px rgba(110,175,255,0.28);
}
.btn-resume:hover { box-shadow: 0 18px 52px rgba(110,175,255,0.45); }

/* ---------- Contact ---------- */

.contact {
  position: relative;
  width: 100%;
  min-height: 82vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: radial-gradient(80% 60% at 50% 42%, #0a1428 0%, #060a14 46%, #03050a 100%);
  color: #eaf1f8;
  padding: clamp(90px, 11vw, 160px) clamp(18px, 6vw, 96px) clamp(28px, 3vw, 44px);
}

.beacon {
  position: absolute;
  left: 50%; top: 38%;
  width: 420px; height: 420px;
  max-width: 90vw; max-height: 90vw;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(180,225,255,0.16) 0%, rgba(120,170,240,0.06) 40%, rgba(3,5,10,0) 70%);
  pointer-events: none;
}
.beacon-core {
  position: absolute;
  left: 50%; top: 38%;
  width: 5px; height: 5px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: #eaf6ff;
  box-shadow: 0 0 24px 6px rgba(180,225,255,0.55);
  pointer-events: none;
}
.beacon-line {
  position: absolute;
  left: 0; right: 0;
  top: 38%;
  height: 1px;
  background: linear-gradient(90deg, rgba(150,215,255,0) 0%, rgba(180,225,255,0.24) 50%, rgba(150,215,255,0) 100%);
  pointer-events: none;
}

.contact-inner {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}
.contact-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(175,220,255,0.55);
}
.contact-kicker::before,
.contact-kicker::after {
  content: "";
  width: 26px;
  height: 1px;
  background: rgba(175,220,255,0.4);
}
.contact-title {
  margin: 30px 0 0;
  font-size: clamp(38px, 7vw, 92px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.035em;
  color: #ffffff;
  text-shadow: 0 4px 50px rgba(120,190,255,0.25);
}
.contact-blurb {
  margin: 26px auto 0;
  max-width: 560px;
  font-size: clamp(16px, 1.8vw, 19px);
  line-height: 1.6;
  color: rgba(214,232,248,0.75);
  text-wrap: pretty;
}
.contact-ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 44px;
}
.btn-ghost--contact {
  border-color: rgba(175,215,250,0.32);
  background: rgba(12,22,40,0.45);
  font-weight: 500;
}
.btn-ghost--contact:hover {
  border-color: rgba(200,230,255,0.65);
  background: rgba(30,50,80,0.6);
}

/* Visible, selectable address — mailto buttons silently fail on machines
   with no mail app configured, so the raw address must be copyable. */
.contact-email {
  margin: 22px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
}
.contact-email a { color: rgba(205,224,242,0.6); }
.contact-email a:hover { color: #ffffff; }
.contact-email .prompt { color: rgba(154,212,255,0.6); margin-right: 6px; }

.site-footer {
  position: relative;
  max-width: 1400px;
  width: 100%;
  margin: clamp(60px, 9vw, 120px) auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(150,205,255,0.1);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(205,224,242,0.45);
}
.footer-session {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.footer-session .prompt { color: rgba(154,212,255,0.6); }
.footer-caret {
  display: inline-block;
  width: 6px; height: 12px;
  background: rgba(154,212,255,0.7);
  animation: bBlink 1.1s steps(1) infinite;
}

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
  .panel-split,
  .panel--dexly .panel-split,
  .panel--dc .panel-split,
  .panel--research .panel-split { grid-template-columns: minmax(0, 1fr); }
  /* Mobile stack order (hard rule): viz first, then badge/title/content. */
  .panel-viz { order: -1; }
  .panel-body { order: 0; }
  .panel-tail { order: 1; }
  .dexly-col { order: -1; }
  .dexly-screens {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    max-width: 560px;
  }
}

@media (max-width: 900px) {
  .hero-main {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    padding: 104px clamp(18px, 5vw, 40px) 92px;
    gap: 34px;
  }
  .hero-scroll-hint { display: none; }
  .about-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }
  .about-grid .about-aside { display: contents; }
  .about-photo { order: -2; max-width: 320px; }
  .about-bio { order: -1; }
}

@media (max-width: 700px) {
  .hero-stats,
  .metrics { grid-template-columns: minmax(0, 1fr); }
  .panel--dc .metrics { grid-template-columns: minmax(0, 1fr); }
  .about-grid { grid-template-columns: minmax(0, 1fr); }

  .dexly-cta-desktop { display: none; }
  .dexly-cta-mobile { display: inline-flex; }
  .dexly-dots { display: flex; }
  .dexly-screens {
    display: flex;
    max-width: none;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 0;
    padding-bottom: 6px;
    padding-right: 26%;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .dexly-screens::-webkit-scrollbar { display: none; }
  .dexly-screen {
    flex: 0 0 auto;
    width: min(55vw, 240px);
    max-height: 58vh;
    scroll-snap-align: start;
  }
}

@media (max-width: 560px) {
  .site-nav { padding: 14px 16px; }
  .nav-brand span { display: none; }
  .nav-tabs a { padding: 7px 12px; font-size: 12px; }
}

/* ---------- Static / reduced motion ---------- */

html[data-static] { scroll-behavior: auto; }
html[data-static] *,
html[data-static] *::before,
html[data-static] *::after {
  animation: none !important;
  transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
