.site-header[data-astro-cid-nen7h5rs] {
  position: fixed;
  top: 16px;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.floating-nav[data-astro-cid-nen7h5rs] {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 8px 10px 8px 20px;
  border-radius: 999px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.brand[data-astro-cid-nen7h5rs] {
  position: relative;
  font-weight: 500;
  font-size: .95rem;
  text-decoration: none;
  letter-spacing: -.02em;
  white-space: nowrap;
  color: var(--text);
  opacity: .75;
  padding-bottom: 2px;
  transition: opacity .2s, font-weight .1s;
}

.brand[data-astro-cid-nen7h5rs]:hover {
  opacity: 1;
}

.brand[data-astro-cid-nen7h5rs]:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s;
}

.brand[data-astro-cid-nen7h5rs].active {
  opacity: 1;
  font-weight: 700;
}

.brand[data-astro-cid-nen7h5rs].active:after {
  transform: scaleX(1);
}

.nav-links[data-astro-cid-nen7h5rs] {
  display: flex;
  gap: 22px;
}

.nav-links[data-astro-cid-nen7h5rs] a[data-astro-cid-nen7h5rs] {
  position: relative;
  text-decoration: none;
  font-size: .88rem;
  font-weight: 500;
  color: var(--text);
  opacity: .75;
  white-space: nowrap;
  padding-bottom: 2px;
  transition: opacity .2s, font-weight .1s;
}

.nav-links[data-astro-cid-nen7h5rs] a[data-astro-cid-nen7h5rs]:hover {
  opacity: 1;
}

.nav-links[data-astro-cid-nen7h5rs] a[data-astro-cid-nen7h5rs]:after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .25s;
}

.nav-links[data-astro-cid-nen7h5rs] a[data-astro-cid-nen7h5rs].active {
  opacity: 1;
  font-weight: 700;
}

.nav-links[data-astro-cid-nen7h5rs] a[data-astro-cid-nen7h5rs].active:after {
  transform: scaleX(1);
}

.header-actions[data-astro-cid-nen7h5rs] {
  display: flex;
  align-items: center;
  gap: 4px;
}

#theme-toggle[data-astro-cid-nen7h5rs], .nav-toggle[data-astro-cid-nen7h5rs] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: none;
  background: none;
  color: var(--text);
  cursor: pointer;
}

#theme-toggle[data-astro-cid-nen7h5rs]:hover, .nav-toggle[data-astro-cid-nen7h5rs]:hover {
  background: var(--tag-bg);
}

.icon-moon[data-astro-cid-nen7h5rs] {
  display: none;
}

:root[data-theme="dark"] .icon-sun[data-astro-cid-nen7h5rs] {
  display: none;
}

:root[data-theme="dark"] .icon-moon[data-astro-cid-nen7h5rs] {
  display: block;
}

.nav-toggle[data-astro-cid-nen7h5rs] {
  display: none;
}

.mobile-nav[data-astro-cid-nen7h5rs] {
  display: none;
  position: fixed;
  top: 74px;
  left: 50%;
  transform: translateX(-50%);
  flex-direction: column;
  z-index: 49;
  width: min(280px, 100vw - 32px);
  border-radius: 20px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  overflow: hidden;
  pointer-events: auto;
}

.mobile-nav[data-astro-cid-nen7h5rs] a[data-astro-cid-nen7h5rs] {
  padding: 14px 24px;
  text-decoration: none;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  font-weight: 500;
}

.mobile-nav[data-astro-cid-nen7h5rs] a[data-astro-cid-nen7h5rs]:last-child {
  border-bottom: none;
}

.mobile-nav[data-astro-cid-nen7h5rs].open {
  display: flex;
}

@media (width <= 780px) {
  .nav-links[data-astro-cid-nen7h5rs] {
    display: none;
  }

  .brand[data-astro-cid-nen7h5rs] {
    margin-right: 4px;
  }

  .nav-toggle[data-astro-cid-nen7h5rs] {
    display: inline-flex;
  }
}
.site-footer[data-astro-cid-jo6i4kqk] {
  border-top: 1px solid var(--border);
  padding-block: 40px;
}

.footer-inner[data-astro-cid-jo6i4kqk] {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  text-align: center;
}

.footer-nav[data-astro-cid-jo6i4kqk] {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.footer-nav[data-astro-cid-jo6i4kqk] a[data-astro-cid-jo6i4kqk] {
  text-decoration: none;
  color: var(--text-muted);
  font-size: .9rem;
  font-weight: 500;
}

.footer-nav[data-astro-cid-jo6i4kqk] a[data-astro-cid-jo6i4kqk]:hover {
  color: var(--text);
}

.small-print[data-astro-cid-jo6i4kqk] {
  color: var(--text-muted);
  font-size: .8rem;
  max-width: 60ch;
}
:root {
  --bg: #fbfbfd;
  --bg-elevated: #ffffff;
  --text: #1d1d1f;
  --text-muted: #6e6e73;
  --border: rgba(0, 0, 0, 0.08);
  --accent: #0071e3;
  --accent-text: #ffffff;
  --card-bg: #ffffff;
  --tag-bg: rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.04);
  --glass-bg: rgba(255, 255, 255, 0.78);
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
    Helvetica, Arial, sans-serif;
  --max-width: 1120px;
}

:root[data-theme='dark'] {
  --bg: #000000;
  --bg-elevated: #0a0a0a;
  --text: #f5f5f7;
  --text-muted: #a1a1a6;
  --border: rgba(255, 255, 255, 0.1);
  --accent: #2997ff;
  --accent-text: #001b3d;
  --card-bg: #121212;
  --tag-bg: rgba(255, 255, 255, 0.08);
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.35);
  --glass-bg: rgba(18, 18, 18, 0.78);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    --bg: #000000;
    --bg-elevated: #0a0a0a;
    --text: #f5f5f7;
    --text-muted: #a1a1a6;
    --border: rgba(255, 255, 255, 0.1);
    --accent: #2997ff;
    --accent-text: #001b3d;
    --card-bg: #121212;
    --tag-bg: rgba(255, 255, 255, 0.08);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.35);
    --glass-bg: rgba(18, 18, 18, 0.78);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-sans);
  letter-spacing: -0.015em;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  transition: background-color 0.25s ease, color 0.25s ease;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

::selection {
  background: var(--accent);
  color: var(--accent-text);
}

.wrap {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 24px;
}

main {
  display: block;
  padding-top: 88px;
}

.eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 980px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, opacity 0.15s ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: var(--accent);
  color: var(--accent-text);
}

.btn-primary:hover {
  opacity: 0.88;
}

.btn-text {
  color: var(--accent);
  padding: 12px 4px;
}

.btn-text:hover {
  text-decoration: underline;
}

.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 980px;
  background: var(--tag-bg);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
}

.card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.section {
  padding-block: 96px;
  border-top: 1px solid var(--border);
}

.section-head {
  margin-bottom: 48px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 8px 0 12px;
}

.section-intro {
  color: var(--text-muted);
  font-size: 1.125rem;
  max-width: 46ch;
}

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

@media (max-width: 780px) {
  .section {
    padding-block: 64px;
  }
}

/* Scroll progress strip */
.scroll-progress-track {
  position: fixed;
  top: 0;
  left: 0;
  width: 3px;
  height: 100vh;
  z-index: 60;
  pointer-events: none;
}

.scroll-progress-fill {
  width: 100%;
  height: 100%;
  background: var(--text);
  transform: scaleY(0);
  transform-origin: top;
  animation: scroll-progress-anim linear;
  animation-timeline: scroll(root);
}

@keyframes scroll-progress-anim {
  from {
    transform: scaleY(0);
  }
  to {
    transform: scaleY(1);
  }
}

/* Vertical card stack + sticky headline list (Hero, Work, Life) */
.stack-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  column-gap: 56px;
}

.scroll-track {
  grid-column: 1 / -1;
  grid-row: 1;
  pointer-events: none;
  z-index: 0;
}

.scroll-marker {
  height: 70vh;
  scroll-margin-top: 40vh;
}

.headline-col {
  grid-column: 1;
  grid-row: 1;
  z-index: 1;
}

.card-col {
  grid-column: 2;
  grid-row: 1;
  z-index: 1;
  position: relative;
}

.headline-sticky,
.card-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
}

.headline-sticky > *,
.card-sticky > * {
  width: 100%;
}

.headline-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.headline-list li {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 1.05rem;
  line-height: 1.4;
  opacity: 0.55;
  transition: opacity 0.35s ease, color 0.35s ease, font-weight 0.1s ease;
}

.headline-list a {
  text-decoration: none;
  color: inherit;
}

.headline-list li[data-distance='1'] {
  opacity: 0.4;
}

.headline-list li[data-distance='2'] {
  opacity: 0.25;
}

.headline-list li[data-distance='3'] {
  opacity: 0.12;
}

.headline-list li.active {
  color: var(--text);
  font-weight: 700;
  opacity: 1;
}

@media (max-width: 860px) {
  .stack-layout {
    grid-template-columns: 1fr;
  }

  .scroll-track {
    grid-column: 1;
  }

  .headline-col,
  .card-col {
    grid-column: 1;
  }

  .card-col {
    grid-row: 2;
  }

  .headline-col {
    grid-row: 1;
  }

  .headline-sticky {
    position: static;
    height: auto;
    margin-bottom: 32px;
  }
}
