:root {
  /* Color System — extracted from Figma (Portfolio website / Color System) */
  --color-paper: #fbfbfb;
  --color-paper-glass: rgba(251, 251, 251, 0.5);
  --color-white: #ffffff;
  --color-ink: #4b4747;
  --color-ink-muted: #beb2b8;
  --color-ghost: #ded8db;
  --color-border: #d4ccd0;
  --color-surface: #f0f0f0;
  --color-brand-pink: #fd2c83;
  --color-brand-pink-wash: rgba(253, 44, 131, 0.05);
  --color-lime-soft: #f1fabb;
  --color-lime: #e2f95b;
  --color-lime-hover: #f1ff9a;

  /* Type */
  --font-body: "Inter Tight", "Inter", system-ui, -apple-system, sans-serif;

  /* Spacing (8px grid) */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-8: 64px;
  --space-10: 80px;
  --space-12: 96px;
  --space-15: 120px;
  --space-16: 128px;

  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--color-paper);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

#root {
  min-height: 100vh;
  overflow-x: clip;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

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

::selection {
  background: var(--color-lime);
  color: var(--color-ink);
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 44px;
  padding: 0 var(--space-3, 24px);
  border-radius: 80px;
  border: none;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.12s ease,
    box-shadow 0.18s ease;
}

.btn__label {
  flex: none;
}

.btn__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: content-box;
  width: 24px;
  height: 24px;
  padding: 4px;
}

/* The header CV button keeps the original label/icon spacing. */
.btn--cv {
  gap: var(--space-1, 8px);
}
.btn--cv .btn__icon {
  padding: 0;
}

/* The arrow asset is drawn pointing due east — Figma's "default" state
   rotates it -45deg (diagonal, external-link look), and "hover" turns it
   back to 0deg (straight, "go") — a CSS rotation of the one shared icon. */
.btn__icon--arrow svg {
  transform: rotate(-45deg);
  transition: transform 0.18s ease;
}
.btn:hover .btn__icon--arrow svg {
  transform: rotate(0deg);
}

/* Used where the button is revealed already "active" (e.g. the case-card
   hover CTA) — skips the hover-triggered turn, arrow stays straight. */
.btn--arrow-straight .btn__icon--arrow svg {
  transform: rotate(0deg);
}

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

/* Type = Default (pale lime) */
.btn--default {
  background: var(--color-lime-soft);
  color: var(--color-ink);
}
.btn--default:hover {
  background: var(--color-lime-hover);
}
.btn--default:active {
  background: color-mix(in srgb, var(--color-lime-hover) 90%, black);
}

/* Type = Accent (bright lime) */
.btn--accent {
  background: var(--color-lime);
  color: var(--color-ink);
}
.btn--accent:hover {
  background: var(--color-lime-hover);
}
.btn--accent:active {
  background: color-mix(in srgb, var(--color-lime-hover) 88%, black);
}

/* Type = Brand Ghost (pink text link) */
.btn--ghost {
  background: transparent;
  color: var(--color-brand-pink);
  height: 44px;
  padding: 0 var(--space-3, 24px);
}
.btn--ghost:hover {
  background: #fff1f7;
}
.btn--ghost:active {
  background: color-mix(in srgb, #fff1f7 60%, var(--color-brand-pink) 10%);
}
.site-header {
  position: sticky;
  top: 16px;
  /* Sticky's offset shifts the header visually without reserving that
     space in flow — the next element would otherwise sit 16px closer
     than it looks. Matching margin keeps padding-top values on the
     content below meaning exactly what they say. */
  margin-bottom: 16px;
  z-index: 40;
  display: flex;
  justify-content: center;
  padding: 0 var(--space-3, 24px);
  transition: transform 0.3s ease;
}

.site-header--hidden {
  transform: translateY(-150%);
}

.site-header__inner {
  position: relative;
  max-width: 900px;
  width: 100%;
}

.site-header__top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-5, 40px);
  padding: var(--space-3, 24px) var(--space-5, 40px);
  border-radius: 100px;
  background: var(--color-paper-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 2px 6px 20px 0 rgba(0, 0, 0, 0.05);
  position: relative;
  z-index: 1;
  transition: border-radius 0.32s ease, background-color 0.32s ease;
}

.site-header__inner--open .site-header__top {
  border-radius: 32px 32px 0 0;
  background: var(--color-paper);
  /* The panel sits flush below with its own shadow — keeping this one too
     would draw a visible seam line across the join. */
  box-shadow: none;
}

.site-header__identity {
  display: flex;
  align-items: center;
  gap: var(--space-2, 16px);
  flex: 1;
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
}

.site-header__name {
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 500;
  font-size: 20px;
  letter-spacing: 0.01em;
  color: var(--color-ink);
}

.site-header__inner .btn {
  flex-shrink: 0;
}

.site-header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-3, 24px);
}

.site-header__link {
  font-size: 16px;
  font-weight: 500;
  color: var(--color-ink-muted);
  transition: color 0.18s ease;
}

.site-header__link.is-active,
.site-header__link:hover {
  color: var(--color-ink);
}

.site-header__menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  padding: 0;
  flex-shrink: 0;
  background: none;
  border: none;
  color: var(--color-ink);
}

.site-header__panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  max-height: 0;
  overflow: hidden;
  border-radius: 0 0 32px 32px;
  background: var(--color-paper);
  box-shadow: 2px 6px 20px 0 rgba(0, 0, 0, 0.05);
  transition: max-height 0.32s ease;
}

.site-header__panel-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-10, 80px);
  padding: var(--space-5, 40px) var(--space-5, 40px) var(--space-3, 24px);
}

.site-header__inner--open .site-header__panel {
  max-height: 600px;
}

.site-header__menu-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3, 24px);
}

.site-header__menu-link {
  font-size: 20px;
  font-weight: 500;
  color: var(--color-ink-muted);
  transition: color 0.18s ease;
}

.site-header__menu-link.is-active,
.site-header__menu-link:hover {
  color: var(--color-ink);
}

@media (max-width: 720px) {
  .site-header__nav {
    display: none;
  }
  .site-header__top .btn--cv {
    display: none;
  }
  .site-header__menu-toggle {
    display: flex;
  }
  .site-header__top {
    padding: var(--space-3, 24px);
  }
  .site-header__panel-inner {
    padding: var(--space-5, 40px) var(--space-3, 24px) var(--space-3, 24px);
  }
}

@media (min-width: 721px) {
  .site-header__panel {
    display: none;
  }
}

@media (max-width: 480px) {
  .site-header {
    padding: 0 var(--space-2, 16px);
  }
  .site-header__name {
    font-size: 16px;
  }
}
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-3, 24px) var(--space-5, 40px);
  border-top: 1px solid var(--color-border);
  font-size: 14px;
  letter-spacing: 0.02em;
  color: var(--color-ink);
}

.site-footer span:first-child {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.01em;
}

@media (max-width: 600px) {
  .site-footer {
    flex-direction: column;
    gap: var(--space-1, 8px);
    text-align: center;
  }
}
.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page main {
  flex: 1;
}
