/* ============================================================
   BASE / THEME / LAYOUT
   ============================================================ */

:root {
  --bg:          #ffffff;
  --bg-2:        #f4f6f9;
  --bg-3:        #e9edf3;
  --surface:     #ffffff;
  --border:      #d9e0ea;
  --border-soft: #e6ebf2;
  --text:        #10161f;
  --text-2:      #47536a;
  --text-3:      #7a879c;
  --accent:      #0891b2;
  --accent-2:    #d97706;
  --accent-soft: rgba(8, 145, 178, 0.10);
  --danger:      #dc2626;
  --grid-line:   rgba(16, 22, 31, 0.05);
  --shadow:      0 1px 2px rgba(16,22,31,.05), 0 8px 30px rgba(16,22,31,.06);

  --font:  'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono:  'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --maxw:  1180px;
  --rail-w: 190px;
  --ease:  cubic-bezier(.22,.61,.36,1);
}

:root[data-theme="dark"] {
  --bg:          #070a0f;
  --bg-2:        #0b1018;
  --bg-3:        #111826;
  --surface:     #0e1420;
  --border:      #1e2939;
  --border-soft: #172130;
  --text:        #e8eef7;
  --text-2:      #a2b0c4;
  --text-3:      #6b7a90;
  --accent:      #22d3ee;
  --accent-2:    #fbbf24;
  --accent-soft: rgba(34, 211, 238, 0.12);
  --danger:      #f87171;
  --grid-line:   rgba(120, 160, 200, 0.055);
  --shadow:      0 1px 2px rgba(0,0,0,.4), 0 12px 40px rgba(0,0,0,.45);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  /* keeps the page from shifting when the detail dialog freezes scrolling */
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background .35s var(--ease), color .35s var(--ease);
}

h1, h2, h3, h4 { line-height: 1.15; margin: 0; letter-spacing: -0.02em; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
svg { display: block; }

.mono { font-family: var(--mono); }
.dim  { color: var(--text-3); }
.center { text-align: center; }

.skip-link {
  position: fixed; top: -60px; left: 12px; z-index: 999;
  background: var(--accent); color: #001018;
  padding: 10px 16px; border-radius: 8px; font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ============================================================
   TOP BAR
   ============================================================ */

.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 14px clamp(16px, 3vw, 34px);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.topbar.solid { border-bottom-color: var(--border-soft); }

.brand {
  text-decoration: none; font-weight: 700; letter-spacing: -.02em;
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .96rem;
}
.brand-mark { color: var(--accent); font-size: .88rem; }

.topbar-actions { display: flex; align-items: center; gap: 10px; }

.icon-btn {
  width: 38px; height: 38px; display: grid; place-items: center;
  background: transparent; border: 1px solid var(--border);
  border-radius: 10px; cursor: pointer; color: var(--text-2);
  transition: color .2s, border-color .2s, background .2s;
}
.icon-btn:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }
.icon-btn svg {
  width: 18px; height: 18px; fill: none; stroke: currentColor;
  stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
}
:root[data-theme="dark"] .i-sun  { display: block; }
:root[data-theme="dark"] .i-moon { display: none; }
:root:not([data-theme="dark"]) .i-sun  { display: none; }
:root:not([data-theme="dark"]) .i-moon { display: block; }

/* ============================================================
   SCROLL PROGRESS + CHAPTER RAIL
   ============================================================ */

.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 70;
  background: transparent; pointer-events: none;
}
.scroll-progress span {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
}

.rail {
  position: fixed; z-index: 55;
  left: clamp(16px, 2.4vw, 34px); top: 50%; transform: translateY(-50%);
  opacity: 0; pointer-events: none;
  transition: opacity .4s var(--ease);
}
.rail.show { opacity: 1; pointer-events: auto; }
.rail ol { display: flex; flex-direction: column; gap: 2px; }
.rail a {
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; padding: 7px 0;
  color: var(--text-3);
  transition: color .25s;
}
.rail-dot {
  width: 9px; height: 9px; border-radius: 50%; flex: none;
  border: 1.5px solid currentColor; background: transparent;
  transition: background .25s, transform .25s var(--ease), border-color .25s;
}
.rail-label {
  font-size: .68rem; letter-spacing: .07em; text-transform: uppercase;
  opacity: 0; transform: translateX(-6px);
  transition: opacity .25s, transform .25s var(--ease);
  white-space: nowrap;
}
.rail a:hover { color: var(--text); }
.rail a:hover .rail-label { opacity: 1; transform: none; }
.rail a.active { color: var(--accent); }
.rail a.active .rail-dot { background: var(--accent); transform: scale(1.35); }
.rail a.active .rail-label { opacity: 1; transform: none; }

/* ============================================================
   BUTTONS / CHIPS / SHARED BITS
   ============================================================ */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 26px; border-radius: 10px;
  font-weight: 600; font-size: .93rem; text-decoration: none;
  border: 1px solid transparent; cursor: pointer;
  transition: transform .2s var(--ease), background .2s, border-color .2s, color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #00131a; box-shadow: 0 6px 24px -8px var(--accent); }
.btn-primary:hover { box-shadow: 0 10px 30px -8px var(--accent); }
.btn-ghost { border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.btn-mini { padding: 8px 15px; font-size: .8rem; border: 1px solid var(--border); color: var(--text-2); border-radius: 9px; text-decoration: none; }
.btn-mini:hover { color: var(--accent); border-color: var(--accent); }

.chips { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 14px; }
.chips li {
  font-family: var(--mono); font-size: .7rem; letter-spacing: .02em;
  padding: 5px 10px; border-radius: 6px;
  background: var(--bg-3); color: var(--text-2);
  border: 1px solid var(--border-soft);
}
.chips.lg li { font-size: .76rem; padding: 7px 12px; }

.card-title {
  font-size: .72rem; letter-spacing: .13em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px; font-weight: 600;
}

.eyebrow {
  font-size: .74rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 20px;
}

.lead { font-size: 1.12rem; color: var(--text-2); }

.todo-note {
  margin-top: 16px; font-size: .72rem; color: var(--accent-2);
  border-left: 2px solid var(--accent-2); padding-left: 10px;
}

/* ============================================================
   CHAPTER SHELL
   ============================================================ */

.chapter { position: relative; }

.track { position: relative; height: 420vh; }
.track.tall { height: 300vh; }
.track.long { height: 620vh; }

.stage {
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  display: flex; align-items: center;
  overflow: hidden;
}
.stage-inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 84px clamp(20px, 4vw, 40px) 40px;
  padding-left: max(clamp(20px, 4vw, 40px), var(--rail-w));
}

.chapter-head {
  display: flex; align-items: flex-start; gap: 18px;
  margin-bottom: clamp(18px, 3vh, 38px);
}
.chapter-head.center { justify-content: center; text-align: left; }
.chapter-num {
  font-size: .8rem; color: var(--accent); letter-spacing: .1em;
  padding-top: 8px; flex: none;
}
.chapter-title { font-size: clamp(1.7rem, 3.6vw, 2.7rem); }
.chapter-place {
  font-size: .76rem; color: var(--text-3); margin: 8px 0 0;
  letter-spacing: .04em;
}

/* two-column stage: copy | visual */
.scene-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 60px);
  align-items: center;
}

/* stacked slides — only the active one is shown */
.scene-copy { position: relative; min-height: 46vh; }
.slide {
  position: absolute; inset: 0;
  opacity: 0; transform: translateY(26px);
  pointer-events: none;
  /* outgoing: fade out fast so two slides never sit legibly on top of each other */
  transition: opacity .22s var(--ease), transform .45s var(--ease);
  overflow-y: auto;
}
.slide.active {
  opacity: 1; transform: none; pointer-events: auto;
  /* incoming: wait for the outgoing one to clear, then fade in */
  transition: opacity .4s var(--ease) .18s, transform .5s var(--ease);
}
.slide.exit-up { transform: translateY(-26px); }

.slide-kicker {
  font-size: .7rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 12px;
}
.slide-title { font-size: clamp(1.25rem, 2.4vw, 1.85rem); margin-bottom: 14px; }
.slide-gist { color: var(--text-2); font-size: 1rem; max-width: 46ch; }
.slide-gist em { color: var(--text); font-style: italic; }
.slide-gist strong, .facts strong { color: var(--text); font-weight: 600; }

.facts { display: flex; flex-direction: column; gap: 10px; margin: 18px 0 4px; }
.facts li {
  display: flex; align-items: baseline; gap: 12px;
  font-size: .88rem; color: var(--text-2);
  padding-left: 14px; border-left: 2px solid var(--border);
}
.fact-num {
  color: var(--accent); font-weight: 600; font-size: 1.05rem;
  flex: none; min-width: 62px;
}

/* visual column */
.scene-visual { position: relative; min-height: 46vh; display: grid; }
.scene-visual > .vis {
  grid-area: 1 / 1;
  opacity: 0; transform: scale(.97);
  pointer-events: none;
  transition: opacity .22s var(--ease), transform .45s var(--ease);
}
.scene-visual > .vis.active {
  opacity: 1; transform: none; pointer-events: auto;
  transition: opacity .4s var(--ease) .18s, transform .5s var(--ease);
}

.scene-svg { width: 100%; height: auto; max-height: 52vh; margin: 0 auto; }
.scene-caption {
  text-align: center; font-size: .7rem; color: var(--text-3);
  letter-spacing: .1em; text-transform: uppercase; margin-top: 14px;
}

/* progress stepper under the stage */
.stepper { display: flex; gap: 8px; margin-top: clamp(16px, 3vh, 32px); }
.stepper i {
  display: block; height: 3px; flex: 1; border-radius: 3px;
  background: var(--border); overflow: hidden; position: relative;
}
.stepper i::after {
  content: ''; position: absolute; inset: 0; width: var(--fill, 0%);
  background: var(--accent); transition: width .2s linear;
}

/* ============================================================
   HERO CHAPTER
   ============================================================ */

.hero-chapter {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}
.grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 78% 62% at 50% 42%, #000 30%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 78% 62% at 50% 42%, #000 30%, transparent 78%);
}
.hero-inner { position: relative; text-align: center; max-width: 780px; }
.hero-name {
  font-size: clamp(2.6rem, 8.5vw, 5.4rem);
  font-weight: 800; letter-spacing: -0.045em; margin-bottom: 14px;
}
.hero-role {
  font-size: clamp(.9rem, 2vw, 1.12rem); color: var(--accent);
  letter-spacing: .06em; margin-bottom: 26px;
}
.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.16rem); color: var(--text-2);
  max-width: 60ch; margin: 0 auto 22px;
}
.hero-sub { color: var(--text-3); font-size: .92rem; margin-bottom: 40px; }

.scroll-hint { display: inline-flex; flex-direction: column; align-items: center; gap: 12px; }
.scroll-hint .mono { font-size: .65rem; letter-spacing: .28em; color: var(--text-3); }
.scroll-line {
  width: 1px; height: 54px; background: linear-gradient(var(--accent), transparent);
  position: relative; overflow: hidden;
}
.scroll-line::after {
  content: ''; position: absolute; left: 0; width: 1px; height: 16px;
  background: var(--accent);
  animation: scrollDrop 1.9s var(--ease) infinite;
}
@keyframes scrollDrop {
  0%   { top: -16px; opacity: 0; }
  30%  { opacity: 1; }
  100% { top: 54px; opacity: 0; }
}

/* ============================================================
   STATIC CHAPTERS (skills / contact)
   ============================================================ */

.static-chapter { padding: clamp(80px, 12vh, 140px) 0; }
.static-chapter:nth-of-type(odd) { background: var(--bg-2); }
.static-inner {
  max-width: var(--maxw); margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 40px);
  padding-left: max(clamp(20px, 4vw, 40px), var(--rail-w));
}
.static-inner.narrow { max-width: 760px; padding-left: clamp(20px, 4vw, 40px); }
.static-inner.center .chapter-head { justify-content: center; }

.skills-grid {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
}
.skill-block {
  background: var(--surface); border: 1px solid var(--border-soft);
  border-radius: 14px; padding: 22px;
  transition: border-color .25s, transform .25s var(--ease);
}
.skill-block:hover { border-color: var(--accent); transform: translateY(-3px); }
.skill-block .chips { margin-top: 0; }

.contact-chapter { text-align: center; }
.contact-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin: 32px 0 26px; }
.contact-links { display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; }
.contact-links a {
  font-family: var(--mono); font-size: .82rem; color: var(--text-2);
  text-decoration: none; border-bottom: 1px solid var(--border);
  padding-bottom: 3px; transition: color .2s, border-color .2s;
}
.contact-links a:hover { color: var(--accent); border-color: var(--accent); }

/* publications */
.paper-list { display: flex; flex-direction: column; gap: 18px; margin-top: 6px; }
.paper {
  border-left: 2px solid var(--accent); padding-left: 16px;
}
.paper h4 { font-size: 1rem; margin-bottom: 6px; }
.paper-meta { font-size: .72rem; color: var(--text-3); margin-bottom: 6px; }
.paper-abs { font-size: .88rem; color: var(--text-2); margin-bottom: 6px; }
.paper-link { font-size: .74rem; color: var(--accent); text-decoration: none; }
.paper-link:hover { text-decoration: underline; }

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  border-top: 1px solid var(--border-soft);
  padding: 30px clamp(20px, 4vw, 40px);
  display: flex; justify-content: space-between; align-items: center;
  gap: 12px; flex-wrap: wrap;
  font-size: .74rem; color: var(--text-3);
}
.footer p { margin: 0; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */

.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: .07s; }
.reveal:nth-child(3) { transition-delay: .14s; }
.reveal:nth-child(4) { transition-delay: .21s; }
.reveal:nth-child(5) { transition-delay: .28s; }
.reveal:nth-child(6) { transition-delay: .35s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1080px) {
  .rail { display: none; }
  .stage-inner, .static-inner { padding-left: clamp(20px, 4vw, 40px); }
}

@media (max-width: 860px) {
  .scene-split { grid-template-columns: 1fr; gap: 14px; }
  .scene-visual { order: -1; min-height: auto; }
  .scene-copy { min-height: 40vh; }
  .scene-svg { max-height: 24vh; }
  .stage-inner { padding: 72px clamp(18px, 4vw, 40px) 32px; }
  .chapter-head { margin-bottom: 16px; gap: 12px; }
  .chapter-title { font-size: clamp(1.4rem, 6vw, 1.9rem); }
  .chapter-place { font-size: .68rem; margin-top: 6px; }
  .slide-title { font-size: clamp(1.1rem, 5vw, 1.4rem); margin-bottom: 10px; }
  .slide-gist { font-size: .9rem; }
  .slide-kicker { margin-bottom: 8px; }
  .facts { gap: 7px; margin: 14px 0 2px; }
  .facts li { font-size: .8rem; }
  .fact-num { font-size: .95rem; min-width: 52px; }
  .chips { margin-top: 10px; }
}

/* ---- Phones: stop pinning. Chapters flow normally and each scene
       animates when it scrolls into view. Scroll-jacking a 375px
       viewport can't fit a visual plus a full slide of copy. ---- */
@media (max-width: 700px) {
  .track, .track.tall, .track.long { height: auto; }
  .stage { position: static; height: auto; display: block; overflow: visible; }
  .stage-inner { padding: 56px clamp(18px, 4vw, 40px) 44px; }

  /* Interleave each visual with its own slide */
  .scene-split { display: flex; flex-direction: column; gap: 0; }
  .scene-copy, .scene-visual { display: contents; }

  .scene-visual > .vis[data-vis="0"] { order: 1; }  .scene-copy > .slide[data-slide="0"] { order: 2; }
  .scene-visual > .vis[data-vis="1"] { order: 3; }  .scene-copy > .slide[data-slide="1"] { order: 4; }
  .scene-visual > .vis[data-vis="2"] { order: 5; }  .scene-copy > .slide[data-slide="2"] { order: 6; }
  .scene-visual > .vis[data-vis="3"] { order: 7; }  .scene-copy > .slide[data-slide="3"] { order: 8; }
  .scene-visual > .vis[data-vis="4"] { order: 9; }  .scene-copy > .slide[data-slide="4"] { order: 10; }
  .scene-visual > .vis[data-vis="5"] { order: 11; } .scene-copy > .slide[data-slide="5"] { order: 12; }

  .slide {
    position: static; min-height: 0;
    margin: 0 0 40px; overflow: visible;
    transition: opacity .5s var(--ease), transform .5s var(--ease);
  }
  .slide.exit-up { transform: translateY(20px); }
  .slide.active { transition-delay: 0s; }

  .scene-visual > .vis { margin-bottom: 14px; }
  .scene-svg { max-height: 30vh; }
  .stepper { display: none; }

  /* The flight animates on reveal instead of tracking scroll position */
  [data-scene="move"].in-view .plane { animation: flyOver 3.4s var(--ease) forwards; }
  [data-scene="move"].in-view .arc-fill { animation: drawArc 3.4s var(--ease) forwards; }
  .pin-to { opacity: 1; }
}
@keyframes flyOver { from { offset-distance: 100%; } to { offset-distance: 0%; } }
@keyframes drawArc { from { stroke-dashoffset: -1000px; } to { stroke-dashoffset: 0; } }

@media (max-width: 560px) {
  .scene-svg { max-height: 27vh; }
  .scene-caption { display: none; }
  .chips li { font-size: .66rem; padding: 4px 8px; }
  .contact-links { gap: 16px; }
  .footer { justify-content: center; text-align: center; }
}

/* ============================================================
   REDUCED MOTION — unpin everything, show all content
   ============================================================ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .track, .track.tall, .track.long { height: auto !important; }
  .stage { position: static; height: auto; display: block; }
  .stage-inner { padding-top: 60px; padding-bottom: 60px; }
  .scene-copy, .scene-visual { min-height: auto; }
  .slide {
    position: static; opacity: 1; transform: none; pointer-events: auto;
    margin-bottom: 44px;
  }
  .scene-visual > .vis { opacity: 1; transform: none; pointer-events: auto; margin-bottom: 28px; }
  .scene-visual { display: block; }
  .reveal { opacity: 1; transform: none; }
  .stepper { display: none; }
}

/* ============================================================
   PROJECT DETAIL DIALOG
   Lives outside the pinned stages, so expanding detail can never
   change a chapter's layout.
   ============================================================ */

.detail-btn {
  margin-top: 18px;
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent; cursor: pointer;
  border: 1px solid var(--border); border-radius: 8px;
  color: var(--accent); font-family: var(--mono);
  font-size: .72rem; letter-spacing: .06em;
  padding: 9px 14px;
  transition: border-color .2s, background .2s, transform .2s var(--ease);
}
.detail-btn:hover { border-color: var(--accent); background: var(--accent-soft); transform: translateY(-2px); }

.detail-dialog {
  width: min(760px, calc(100vw - 32px));
  max-height: min(86vh, 900px);
  padding: 0; border: 1px solid var(--border); border-radius: 16px;
  background: var(--surface); color: var(--text);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.detail-dialog::backdrop {
  background: rgba(4, 7, 12, .72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}
.detail-dialog[open] { animation: dialogIn .3s var(--ease); }
@keyframes dialogIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.detail-close {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 36px; height: 36px; display: grid; place-items: center;
  border: 1px solid var(--border); border-radius: 9px;
  background: var(--surface); color: var(--text-2); cursor: pointer;
  transition: color .2s, border-color .2s, background .2s;
}
.detail-close:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-soft); }
.detail-close svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.detail-content {
  overflow-y: auto;
  max-height: min(86vh, 900px);
  padding: 34px clamp(20px, 4vw, 40px) 38px;
}

.detail-kicker {
  font-size: .7rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px;
}
.detail-title { font-size: clamp(1.3rem, 3vw, 1.8rem); margin-bottom: 14px; }
.detail-lead { font-size: 1.02rem; color: var(--text-2); margin-bottom: 26px; }
.detail-content h4 {
  font-family: var(--mono); font-size: .72rem;
  letter-spacing: .13em; text-transform: uppercase;
  color: var(--accent); margin: 26px 0 10px; font-weight: 600;
}
.detail-content p { color: var(--text-2); font-size: .94rem; }
.detail-content strong { color: var(--text); font-weight: 600; }
.detail-content em { color: var(--text); font-style: italic; }

.detail-list { display: flex; flex-direction: column; gap: 12px; margin: 0 0 4px; }
.detail-list li {
  color: var(--text-2); font-size: .94rem;
  padding-left: 16px; border-left: 2px solid var(--border);
}
.detail-content .chips { margin-top: 26px; }

@media (max-width: 560px) {
  .detail-content { padding: 30px 18px 32px; }
  .detail-btn { font-size: .68rem; }
}
