/* Profile page: the DNA strand that builds toward the goal. */
html { scroll-behavior: smooth; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #FFB020; outline-offset: 3px; }
.dn { font-family: Inter, system-ui, sans-serif; color: #F4F6F3; background: #0D1B2A; line-height: 1.55; overflow-x: clip; }
.dn h1, .dn h2, .dn h3 { font-family: "Space Grotesk", Inter, system-ui, sans-serif; margin: 0; text-wrap: balance; }
.dn p { margin: 0; text-wrap: pretty; }
.dn-mono { font-family: "IBM Plex Mono", ui-monospace, Menlo, monospace; }

.dn-btn { box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 24px; border-radius: 6px; font-weight: 600; text-decoration: none; transition: transform .2s ease; }
.dn-btn:hover { transform: translateY(-2px); }
.dn-btn-main { background: #FFB020; color: #13202E; }
.dn-btn-line { border: 1px solid #5C6E80; color: #F4F6F3; }

/* Strand rows: desktop has story, spine, point */
.dn-row { display: grid; grid-template-columns: minmax(0, 1fr) 150px minmax(0, 1fr); grid-template-areas: "story spine point"; }
.dn-story { grid-area: story; padding: 30px 28px 30px 0; text-align: right; align-self: center; }
.dn-spine { grid-area: spine; position: relative; min-height: 150px; }
.dn-point { grid-area: point; padding: 30px 0 30px 28px; align-self: center; }
.dn-story h3 { font-size: 22px; font-weight: 600; line-height: 1.2; margin-bottom: 6px; }
.dn-story p { font-size: 16px; color: #C4D0DB; }
.dn-phase h3 { font-size: clamp(26px, 3vw, 36px); color: #FFB020; }
.dn-phase .dn-spine { min-height: 130px; }
.dn-skill { font-family: "Space Grotesk", Inter, system-ui, sans-serif; font-size: 19px; font-weight: 600; line-height: 1.25; }
.dn-point p { font-size: 15px; color: #A9B8C6; margin-top: 4px; }
.dn-score { display: flex; align-items: center; gap: 10px; margin-top: 6px; font-size: 14px; font-weight: 500; color: #FFB020; }
.dn-pips { position: relative; flex: none; width: 70px; height: 8px; background: repeating-linear-gradient(90deg, #33475B 0 12px, transparent 12px 14px); }
.dn-pips::after { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: calc(var(--v, 0) * 20%); background: repeating-linear-gradient(90deg, #FFB020 0 12px, transparent 12px 14px); transition: width .5s ease .2s; }
.dn-live .dn-row:not(.on) .dn-pips::after { width: calc(var(--from, calc(var(--v, 1) - 1)) * 20%); }
.dn-kick { font-size: 13px; color: #FFB020; margin-bottom: 6px; }
.dn-gains { display: flex; flex-direction: column; gap: 6px; }
.dn-gain { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; }
.dn-gain-name { min-width: 116px; color: #F4F6F3; }
.dn-gain .dn-mono { color: #FFB020; }
.dn-nopoint { font-size: 14px; color: #A9B8C6; }
.dn-more { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 600; color: #FFB020; text-decoration: none; }
.dn-more:hover { color: #FFD27A; text-decoration: underline; }

/* Sticky goal bar */
.dn-bar { position: sticky; top: var(--top-h, 0px); z-index: 5; background: #0D1B2A; border-top: 1px solid #33475B; border-bottom: 1px solid #33475B; padding: 10px clamp(20px, 6vw, 88px); }
.dn-bar-in { max-width: 1180px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 32px; }
.dn-groups { flex: 1 1 620px; min-width: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.dn-group { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.dn-group small { display: flex; justify-content: space-between; gap: 4px; font-size: 12px; line-height: 1.2; color: #C4D0DB; white-space: nowrap; }
.dn-ticks { display: flex; gap: 2px; }
.dn-tick { flex: 1; height: 7px; border-radius: 1px; background: #33475B; transition: background-color .3s ease; }
.dn-tick.f { background: #FFB020; }
.dn-live .dn-tick.f { background: #33475B; }
.dn-live .dn-tick.on { background: #FFB020; }
.dn-tick.hit { animation: dn-hit .5s ease; }
@keyframes dn-hit { 0% { transform: scaleY(1); box-shadow: 0 0 0 0 rgba(255,176,32,.8); } 35% { transform: scaleY(2); box-shadow: 0 0 0 5px rgba(255,176,32,.35); } 100% { transform: scaleY(1); box-shadow: 0 0 0 9px rgba(255,176,32,0); } }

/* The +1 that flies from a rung to the bar */
.dn-fly { display: none; position: fixed; left: 0; top: 0; z-index: 6; padding: 2px 8px; border-radius: 999px; background: #FFB020; color: #13202E; font-size: 13px; font-weight: 600; line-height: 18px; opacity: 0; pointer-events: none; }
.dn-live .dn-fly { display: block; }

/* The helix: two strands crossing at each row edge, widest at the rung */
.dn-hx { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; clip-path: inset(0 -12px calc((1 - var(--dr, 1)) * 100%) -12px); }
.dn-hx path { fill: none; stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.dn-hx .a { stroke: #FFB020; }
.dn-hx .b { stroke: #6EA8FE; }
.flip .dn-hx { transform: scaleX(-1); }
.dn-rung { position: absolute; left: 8%; right: 8%; top: 50%; height: 2px; margin-top: -1px; background: #C4D0DB; transform-origin: center; }
.dn-end { position: absolute; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #F4F6F3; }
.dn-end.l { left: 6%; }
.dn-end.r { left: 94%; }

/* Strand depth: the front strand swaps at every crossing */
.dn-hx .a { stroke-width: 4; }
.dn-hx .b { stroke-width: 2; opacity: .55; }
.flip .dn-hx .a { stroke-width: 2; opacity: .55; }
.flip .dn-hx .b { stroke-width: 4; opacity: 1; }

/* Glowing tips on the growing edge of the strand */
.dn-tip { display: none; position: fixed; left: 0; top: 0; z-index: 3; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.dn-live .dn-tip { display: block; }
.dn-tip.a { background: #FFD27A; box-shadow: 0 0 16px 5px rgba(255,176,32,.55); }
.dn-tip.b { background: #B5D2FF; box-shadow: 0 0 16px 5px rgba(110,168,254,.5); }

/* Scroll states: text grows out of the strand, one line after another */
.dn-live .dn-story, .dn-live .dn-point { transition: opacity .5s ease; }
.dn-live .dn-story > *, .dn-live .dn-point > * { opacity: 0; transition: opacity .35s ease, transform .35s ease; }
.dn-live .dn-story > * { transform: translateX(30px); }
.dn-live .dn-point > * { transform: translateX(-30px); }
.dn-live .on .dn-story > *, .dn-live .on .dn-point > * { opacity: 1; transform: none; transition: opacity .55s ease, transform .75s cubic-bezier(.16,1,.3,1); }
.dn-live .on .dn-story > :nth-child(2) { transition-delay: .08s; }
.dn-live .on .dn-point > :nth-child(1) { transition-delay: .14s; }
.dn-live .on .dn-point > :nth-child(2) { transition-delay: .22s; }
.dn-live .on .dn-point > :nth-child(3) { transition-delay: .3s; }
.dn-live .past .dn-story, .dn-live .past .dn-point { opacity: .6; }

/* Rung: the ends snap into place, then the bar joins them with a flash */
.dn-live .dn-rung { transform: scaleX(0); transition: transform .25s ease; }
.dn-live .on .dn-rung { transform: scaleX(1); transition: transform .5s cubic-bezier(.16,1,.3,1) .1s; animation: dn-flash .9s ease .1s; }
@keyframes dn-flash { 0%, 35% { background: #FFB020; box-shadow: 0 0 12px 2px rgba(255,176,32,.7); } 100% { background: #C4D0DB; box-shadow: none; } }
.dn-live .dn-end { transform: scale(0); transition: transform .2s ease; }
.dn-live .on .dn-end { transform: scale(1); transition: transform .5s cubic-bezier(.34,1.8,.64,1); }
.dn-end::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #F4F6F3; opacity: 0; }
.dn-live .on .dn-end::after { animation: dn-ripple .9s ease-out .1s; }
@keyframes dn-ripple { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(3.4); opacity: 0; } }

/* Large outlined year that drifts slower than the page */
.dn-ghost { display: block; font-family: "Space Grotesk", Inter, system-ui, sans-serif; font-size: clamp(64px, 8vw, 116px); font-weight: 700; line-height: 1; color: transparent; -webkit-text-stroke: 1px #3D5267; }
.dn-live .dn-phase .dn-point > .dn-ghost { opacity: 1; transform: translateY(calc((.5 - var(--dr, .5)) * 150px)); transition: none; }

/* Hero: a turning double helix, and a headline that rises in */
.dn-rise { animation: dn-rise 1s cubic-bezier(.16,1,.3,1) both; animation-delay: calc(var(--d, 0) * 150ms); }
@keyframes dn-rise { from { opacity: 0; transform: translateY(36px); } to { opacity: 1; transform: none; } }
.dn-dna { position: absolute; top: 0; bottom: 0; right: clamp(24px, 6vw, 96px); width: 170px; padding: 28px 0; box-sizing: border-box; display: flex; flex-direction: column; justify-content: space-between; pointer-events: none; }
.dn-dna > span { position: relative; display: block; height: 10px; }
.dn-dna i { position: absolute; left: 5px; right: 5px; top: 4px; height: 2px; background: #3D5267; animation: dn-bar 5.5s infinite; animation-delay: calc(var(--i) * -.24s); }
.dn-dna b { position: absolute; left: 80px; top: 0; width: 10px; height: 10px; border-radius: 50%; animation: dn-orbit 5.5s infinite; }
.dn-dna b.a { background: #FFB020; animation-delay: calc(var(--i) * -.24s); }
.dn-dna b.b { background: #6EA8FE; animation-delay: calc(var(--i) * -.24s - 2.75s); }
@keyframes dn-orbit {
  0%, 100% { transform: translateX(-80px) scale(1); opacity: .9; animation-timing-function: cubic-bezier(.37,0,.63,.5); }
  25% { transform: translateX(0) scale(1.4); opacity: 1; animation-timing-function: cubic-bezier(.37,.5,.63,1); }
  50% { transform: translateX(80px) scale(1); opacity: .9; animation-timing-function: cubic-bezier(.37,0,.63,.5); }
  75% { transform: translateX(0) scale(.55); opacity: .35; animation-timing-function: cubic-bezier(.37,.5,.63,1); }
}
@keyframes dn-bar {
  0%, 50%, 100% { transform: scaleX(1); animation-timing-function: cubic-bezier(.37,0,.63,.5); }
  25%, 75% { transform: scaleX(0); animation-timing-function: cubic-bezier(.37,.5,.63,1); }
}

/* The bar reacts when a point lands */
.dn-group small, .dn-group small .dn-mono { transition: color .3s ease, transform .3s cubic-bezier(.34,1.8,.64,1); }
.dn-group small .dn-mono { display: inline-block; transform-origin: right center; }
.dn-group.bump small { color: #FFB020; }
.dn-group.bump small .dn-mono { transform: scale(1.35); }
.dn-bar { transition: border-color .6s ease; }
.dn-bar.done { border-bottom-color: #FFB020; }

/* Goal finale */
.dn-live .dn-sum li { opacity: 0; transform: translateY(14px); transition: opacity .3s ease, transform .3s ease; }
.dn-live .dn-goal.on .dn-sum li { opacity: 1; transform: none; transition: opacity .6s ease, transform .8s cubic-bezier(.16,1,.3,1); }
.dn-live .dn-goal:not(.on) .dn-pips::after { width: 0; }
.dn-live .dn-goal.on .dn-sum li:nth-child(1), .dn-live .dn-goal.on .dn-sum li:nth-child(1) .dn-pips::after { transition-delay: .7s; }
.dn-live .dn-goal.on .dn-sum li:nth-child(2), .dn-live .dn-goal.on .dn-sum li:nth-child(2) .dn-pips::after { transition-delay: .82s; }
.dn-live .dn-goal.on .dn-sum li:nth-child(3), .dn-live .dn-goal.on .dn-sum li:nth-child(3) .dn-pips::after { transition-delay: .94s; }
.dn-live .dn-goal.on .dn-sum li:nth-child(4), .dn-live .dn-goal.on .dn-sum li:nth-child(4) .dn-pips::after { transition-delay: 1.06s; }
.dn-live .dn-goal.on .dn-sum li:nth-child(5), .dn-live .dn-goal.on .dn-sum li:nth-child(5) .dn-pips::after { transition-delay: 1.18s; }
.dn-live .dn-goal.on .dn-sum li:nth-child(6), .dn-live .dn-goal.on .dn-sum li:nth-child(6) .dn-pips::after { transition-delay: 1.3s; }
.dn-live .dn-goal.on .dn-sum li:nth-child(7), .dn-live .dn-goal.on .dn-sum li:nth-child(7) .dn-pips::after { transition-delay: 1.42s; }
/* Career phases */
.dn-steps { flex: none; display: flex; flex-wrap: wrap; align-items: center; gap: 0 2px; font-size: 13px; line-height: 1.2; }
.dn-steps a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 8px; box-sizing: border-box; color: #A9B8C6; text-decoration: none; border-bottom: 2px solid transparent; transition: color .25s ease, border-color .25s ease; }
.dn-steps a:hover { color: #F4F6F3; }
.dn-steps a.cur { color: #F4F6F3; font-weight: 600; border-bottom-color: #FFB020; }
.dn-steps small { font-size: 12px; font-weight: 500; color: #FFB020; }
.dn-sep { color: #5C6E80; }
.dn-pulse { flex: none; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #FFB020; animation: dn-pulse 1.8s ease-out infinite; }
@keyframes dn-pulse { 0% { box-shadow: 0 0 0 0 rgba(255,176,32,.7); } 75%, 100% { box-shadow: 0 0 0 9px rgba(255,176,32,0); } }
.dn-band { scroll-margin-top: calc(var(--top-h, 56px) + 96px); }
.dn-band .dn-spine { min-height: 190px; }
.dn-band h2 { font-size: clamp(34px, 5vw, 64px); line-height: 1.04; font-weight: 600; }
.dn-band-kicker { font-size: 14px; color: #FFB020; margin-bottom: 8px; }
.dn-band-sub { font-size: 16px; color: #C4D0DB; margin-top: 8px; }
.dn-status { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; border: 1px solid #5C6E80; color: #C4D0DB; }
.dn-status-now { border-color: #FFB020; color: #FFB020; }
.dn-now-zone { margin: 0 -28px; padding: 0 28px; border: 1px solid rgba(255,176,32,.3); border-radius: 14px; background: rgba(255,176,32,.045); }
.dn-goal { scroll-margin-top: calc(var(--top-h, 56px) + 96px); }

/* Stuck phase label: takes over once the big heading slides under the bar */
.dn-stuck { display: none; position: fixed; left: 20px; top: var(--stuck-top, 90px); z-index: 4; width: 116px; flex-direction: column; gap: 3px; opacity: 0; transform: translateX(-18px); pointer-events: none; transition: opacity .3s ease, transform .5s cubic-bezier(.16,1,.3,1); }
.dn-live .dn-stuck { display: flex; }
.dn-stuck.show { opacity: 1; transform: none; }
.dn-stuck b { font-family: "Space Grotesk", Inter, system-ui, sans-serif; font-size: 20px; font-weight: 600; line-height: 1.15; }
.dn-stuck-k { font-size: 12px; color: #FFB020; }
.dn-stuck-s { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #C4D0DB; }
.dn-stuck-now { color: #FFB020; }
.dn-stuck-p { font-size: 12px; line-height: 1.3; color: #F4F6F3; overflow-wrap: anywhere; }
.dn-stuck-p:empty { display: none; }
@media (max-width: 1359px) {
  .dn-stuck { width: auto; left: 0; right: 0; top: calc(var(--stuck-top, 90px) - 12px); flex-direction: row; flex-wrap: wrap; align-items: center; gap: 2px 10px; padding: 6px clamp(20px, 6vw, 88px); background: #14263A; border-bottom: 1px solid #33475B; transform: translateY(-100%); }
  .dn-stuck b { font-size: 14px; }
}
.dn-ring { position: relative; }
.dn-ring::before { content: ""; position: absolute; inset: -3px; border-radius: 50%; border: 2px solid #FFB020; opacity: 0; }
.dn-live .dn-goal.on .dn-ring::before { animation: dn-ring 1.5s ease-out .7s 2; }
@keyframes dn-ring { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(2.1); opacity: 0; } }

/* The goal at the end of the strand */
.dn-stem { width: 3px; height: 72px; margin: 0 auto; background: #FFB020; }
.dn-ring { width: 84px; height: 84px; margin: 0 auto; box-sizing: border-box; border-radius: 50%; border: 3px solid #FFB020; display: flex; align-items: center; justify-content: center; }
.dn-ring::after { content: ""; width: 34px; height: 34px; border-radius: 50%; background: #FFB020; }
.dn-live .dn-goal .dn-stem { transform: scaleY(0); transform-origin: top; transition: transform .5s ease; }
.dn-live .dn-goal .dn-ring, .dn-live .dn-goal .dn-goal-r { opacity: 0; transform: translateY(20px); transition: opacity .6s ease .3s, transform .6s ease .3s; }
.dn-live .dn-goal.on .dn-stem { transform: none; }
.dn-live .dn-goal.on .dn-ring, .dn-live .dn-goal.on .dn-goal-r { opacity: 1; transform: none; }
.dn-sum { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 0 40px; text-align: left; }
.dn-sum li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid #33475B; }

.dn-cue { width: 2px; height: 56px; background: #33475B; position: relative; overflow: hidden; }
.dn-cue span { position: absolute; left: 0; top: -24px; width: 2px; height: 24px; background: #FFB020; animation: dn-cue 1.8s ease-in-out infinite; }
@keyframes dn-cue { to { top: 56px; } }

@media (max-width: 760px) {
  .dn-group small { display: none; }
  .dn-groups { gap: 6px; flex-basis: 100%; }
  .dn-steps a { padding: 0 5px; }
  .dn-now-zone { margin: 0 -10px; padding: 0 10px; }
  .dn-band .dn-spine { min-height: 0; }
  .dn-band .dn-point { padding-top: 6px; }
  .dn-row { grid-template-columns: 52px minmax(0, 1fr); grid-template-areas: "spine story" "spine point"; }
  .dn-spine { min-height: 0; }
  .dn-story { text-align: left; padding: 22px 0 6px 18px; }
  .dn-point { padding: 0 0 22px 18px; }
  .dn-phase .dn-point { display: none; }
  .dn-phase .dn-story { padding: 28px 0 28px 18px; }
  .dn-end { width: 10px; height: 10px; margin: -5px 0 0 -5px; }
  .dn-live .dn-story > *, .dn-live .dn-point > * { transform: translateX(-16px); }
  .dn-stem { margin-left: 25px; }
  .dn-goal { text-align: left; }
  .dn-ring { margin-left: -16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .dn-cue span { animation: none; top: 16px; }
  .dn-rise { animation: none; }
  .dn-pulse { animation: none; }
  .dn-dna { display: none; }
}
@media (max-width: 1240px) {
  .dn-dna { display: none; }
}

/* Contact links in the footer */
.dn-contact { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.dn-contact a { display: flex; align-items: baseline; gap: 12px; padding: 5px 10px; margin: 0 -10px; border-radius: 8px; color: #FFB020; text-decoration: none; transition: background-color .2s ease, color .2s ease; }
.dn-contact a:hover { background: rgba(255,176,32,.08); color: #FFD27A; }
.dn-contact small { min-width: 68px; font-size: 12px; color: #8FA0B0; }
.dn-contact .dn-mono { font-size: 15px; overflow-wrap: anywhere; }
