:root {
  color-scheme: light;

  /* surfaces & ink */
  --paper: #f1f2f8;
  --paper-2: #e7e8f4;
  --surface: #ffffff;
  --surface-tonal: #edecf9;
  --ink: #191a2c;
  --ink-soft: #3a3c57;
  --muted: #62647f;
  --line: #e3e3ef;
  --line-soft: #ececf6;

  /* brand */
  --indigo: #4338ca;
  --indigo-strong: #312e81;
  --indigo-soft: #e7e5fb;
  --coral: #fb5a47;
  --coral-strong: #e23b2a;
  --coral-soft: #ffe5e0;

  /* elevation */
  --shadow-sm: 0 2px 10px rgba(25, 26, 44, 0.06);
  --shadow-md: 0 16px 34px -16px rgba(25, 26, 44, 0.22);
  --shadow-lg: 0 30px 64px -28px rgba(49, 46, 129, 0.34);

  /* shape */
  --radius-lg: 22px;
  --radius: 18px;
  --radius-sm: 12px;
  --pill: 999px;

  /* layout */
  --header-height: 74px;
  --content-width: 1400px;
  --page-gutter: clamp(20px, 4vw, 56px);

  --font-sans: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
    "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background:
    radial-gradient(120% 90% at 88% -8%, rgba(67, 56, 202, 0.12), transparent 46%),
    radial-gradient(90% 70% at -10% 4%, rgba(251, 90, 71, 0.1), transparent 44%),
    var(--paper);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

:focus-visible {
  outline: 3px solid var(--indigo);
  outline-offset: 3px;
  border-radius: 6px;
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 50;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  transition: top 160ms ease;
}

.skip-link:focus {
  top: 14px;
}

/* ── eyebrow / mono utility ──────────────────────────── */
.eyebrow,
.project-meta,
.id-metrics span,
.strength-kicker,
.footer-note {
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 18px;
  padding: 6px 12px;
  border-radius: var(--pill);
  background: var(--indigo-soft);
  color: var(--indigo-strong);
  font-size: 0.7rem;
  font-weight: 600;
}

/* ── header ──────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--header-height);
  padding: 12px var(--page-gutter);
  border-bottom: 1px solid var(--line);
  background: rgba(241, 242, 248, 0.82);
  backdrop-filter: blur(16px);
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--pill);
  background: var(--ink);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  box-shadow: var(--shadow-sm);
}

.brand-status {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 4px rgba(251, 90, 71, 0.22);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  position: relative;
  padding: 10px 14px;
  border-radius: var(--pill);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
  transition:
    color 180ms ease,
    background 180ms ease;
}

.nav-link:hover {
  color: var(--ink);
  background: var(--surface-tonal);
}

.nav-link.active {
  color: var(--indigo-strong);
  background: var(--indigo-soft);
}

/* ── layout shell ────────────────────────────────────── */
.section {
  width: min(var(--content-width), calc(100% - 2 * var(--page-gutter)));
  margin: 0 auto;
  padding-block: clamp(80px, 11vw, 132px);
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(3.4rem, 9vw, 6.2rem);
  font-weight: 800;
  line-height: 0.94;
}

h2 {
  font-size: clamp(2rem, 4.4vw, 3.3rem);
  font-weight: 800;
  line-height: 1.06;
}

h3 {
  font-size: 1.16rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

/* ── hero ────────────────────────────────────────────── */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.72fr);
  align-items: center;
  gap: clamp(28px, 3vw, 52px);
  min-height: calc(100vh - var(--header-height));
  padding-top: clamp(40px, 6vw, 72px);
}

.lead-rule {
  display: block;
  width: 84px;
  height: 5px;
  margin: 26px 0 22px;
  border-radius: var(--pill);
  background: linear-gradient(90deg, var(--coral), var(--coral-strong));
}

.role {
  margin: 0 0 18px;
  max-width: 33ch;
  color: var(--ink-soft);
  font-size: clamp(1.18rem, 2.1vw, 1.55rem);
  font-weight: 700;
  line-height: 1.36;
}

.intro {
  margin: 0;
  max-width: 50ch;
  color: var(--muted);
  font-size: 1.06rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: var(--pill);
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button.primary {
  background: var(--indigo);
  color: #fff;
  box-shadow: 0 16px 30px -12px rgba(67, 56, 202, 0.6);
}

.button.primary:hover {
  background: var(--indigo-strong);
  transform: translateY(-2px);
}

.button.secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}

.button.secondary:hover {
  border-color: var(--indigo);
  color: var(--indigo-strong);
  transform: translateY(-2px);
}

/* ── signature: smartphone identity card ─────────────── */
.identity {
  position: relative;
  display: grid;
  place-items: center;
}

.identity::before {
  content: "";
  position: absolute;
  inset: -8% 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(54% 46% at 50% 36%, rgba(67, 56, 202, 0.16), transparent 70%),
    radial-gradient(40% 38% at 74% 82%, rgba(251, 90, 71, 0.14), transparent 72%);
}

/* phone body: dark bezel + glass edge */
.device {
  position: relative;
  z-index: 1;
  width: min(326px, 82vw);
  padding: 9px;
  border-radius: 48px;
  background: linear-gradient(155deg, #2a2d38, #0b0c11 62%);
  box-shadow:
    0 44px 84px -34px rgba(17, 18, 38, 0.62),
    0 10px 26px -14px rgba(17, 18, 38, 0.5),
    inset 0 0 0 2px rgba(255, 255, 255, 0.05),
    inset 0 2px 1px rgba(255, 255, 255, 0.14);
}

/* dynamic-island + camera */
.device-island {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 100px;
  height: 26px;
  border-radius: var(--pill);
  background: #05060a;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.device-island::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 13px;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, #38456b, #05060a 68%);
  box-shadow: inset 0 0 0 1px rgba(130, 150, 210, 0.25);
}

.device-screen {
  position: relative;
  overflow: hidden;
  border-radius: 40px;
  background: var(--surface);
}

/* status bar */
.status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 24px 4px;
  color: #0c0d12;
}

.sb-time {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.sb-icons {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.sb-ic {
  display: block;
  width: auto;
  height: 11px;
}

/* app content */
.app {
  padding: 12px 18px 6px;
}

.app-head {
  display: flex;
  align-items: center;
  gap: 13px;
}

.monogram {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border-radius: 16px;
  background: linear-gradient(150deg, var(--indigo), var(--indigo-strong));
  color: #fff;
  font-size: 1.4rem;
  font-weight: 800;
  box-shadow: 0 12px 22px -10px rgba(49, 46, 129, 0.7);
}

.monogram-bot {
  display: block;
  width: 30px;
  height: 30px;
}

.id-name {
  margin: 0;
  font-size: 1.24rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.id-role {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.id-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 14px 0;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  background: var(--coral-soft);
  color: var(--coral-strong);
  font-size: 0.8rem;
  font-weight: 600;
}

.pulse {
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 0 rgba(251, 90, 71, 0.5);
  animation: pulse 2.4s ease-out infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(251, 90, 71, 0.5);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(251, 90, 71, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(251, 90, 71, 0);
  }
}

.id-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.id-metrics div {
  padding: 11px 6px;
  border-radius: var(--radius-sm);
  background: var(--surface-tonal);
  text-align: center;
}

.id-metrics strong {
  display: block;
  color: var(--indigo-strong);
  font-size: 1.28rem;
  font-weight: 800;
  line-height: 1;
}

.id-metrics span {
  font-size: 0.58rem;
  font-weight: 600;
  color: var(--muted);
}

.app-label {
  margin: 16px 0 8px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--muted);
}

.id-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.id-stack li {
  padding: 5px 10px;
  border-radius: var(--pill);
  background: var(--indigo-soft);
  color: var(--indigo-strong);
  font-size: 0.72rem;
  font-weight: 600;
}

.app-feed {
  display: grid;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.app-feed li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 9px;
  border-radius: var(--radius-sm);
  background: var(--surface-tonal);
}

.feed-ic {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px rgba(25, 26, 44, 0.08);
}

.feed-ic img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feed-name {
  flex: 1;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink);
}

.feed-meta {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--muted);
}

.id-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 16px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  transition: background 180ms ease;
}

.id-cta:hover {
  background: var(--indigo-strong);
}

.home-indicator {
  display: block;
  width: 118px;
  height: 5px;
  margin: 10px auto 9px;
  border-radius: var(--pill);
  background: #0c0d12;
  opacity: 0.82;
}

/* ── section heading ─────────────────────────────────── */
.section-heading {
  max-width: 720px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.section-heading p:last-child {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

/* ── project carousel ────────────────────────────────── */
.carousel-bar {
  display: none;
}

.has-js .carousel-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 18px;
  margin: 0 0 20px;
}

.carousel-status {
  display: flex;
  align-items: center;
  gap: 16px;
}

.carousel-ticks {
  display: flex;
  gap: 6px;
}

.carousel-tick {
  width: 26px;
  height: 5px;
  padding: 0;
  border: 0;
  border-radius: var(--pill);
  background: var(--line);
  cursor: pointer;
  transition:
    background 200ms ease,
    width 200ms ease;
}

.carousel-tick:hover {
  background: var(--muted);
}

.carousel-tick.active {
  width: 42px;
  background: var(--indigo);
}

.carousel-counter {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--muted);
}

.carousel-counter .current {
  color: var(--indigo-strong);
  font-weight: 700;
}

.carousel-nav {
  display: flex;
  gap: 8px;
}

.carousel-btn {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition:
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.carousel-btn svg {
  width: 18px;
  height: 18px;
}

.carousel-btn:hover:not(:disabled) {
  border-color: var(--indigo);
  color: var(--indigo-strong);
  transform: translateY(-2px);
}

.carousel-btn:disabled {
  opacity: 0.35;
  cursor: default;
}

.carousel-track {
  position: relative;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  gap: 24px;
  margin: 0;
  padding: 4px 0 36px;
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

@media (prefers-reduced-motion: no-preference) {
  .carousel-track {
    scroll-behavior: smooth;
  }
}

.has-js .carousel-track {
  scrollbar-width: none;
}

.has-js .carousel-track::-webkit-scrollbar {
  display: none;
}

.slide {
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.project {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  height: 100%;
  min-height: clamp(440px, 42vw, 520px);
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
  transition: border-color 220ms ease;
}

.project::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, var(--coral), var(--indigo));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms ease;
  z-index: 2;
}

.project:hover::before {
  transform: scaleX(1);
}

.project-media {
  position: relative;
  min-height: clamp(420px, 40vw, 520px);
  background: var(--surface-tonal);
  overflow: hidden;
}

.project-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.slide-num {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 1;
  padding: 5px 11px;
  border-radius: var(--pill);
  background: rgba(255, 255, 255, 0.88);
  color: var(--indigo-strong);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  box-shadow: var(--shadow-sm);
}

.project-body {
  display: flex;
  flex-direction: column;
  padding: clamp(22px, 2.6vw, 34px);
}

.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 12px;
  font-size: 0.66rem;
  font-weight: 600;
}

.project-meta .domain {
  color: var(--indigo-strong);
}

.project-meta .period {
  color: var(--muted);
  letter-spacing: 0.08em;
}

.project-desc {
  margin: 10px 0 18px;
  color: var(--muted);
  font-size: 0.96rem;
}

.project-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 20px;
  margin: 0 0 18px;
  padding: 16px 18px;
  border-radius: var(--radius);
  background: var(--surface-tonal);
}

.project-facts div {
  display: grid;
  gap: 3px;
}

.project-facts dt {
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.project-facts dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: auto 0 16px;
  padding: 0;
  list-style: none;
}

.tags li {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  color: var(--ink-soft);
  font-size: 0.74rem;
  font-weight: 600;
}

.project-points {
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}

.points-label {
  margin: 0 0 9px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--muted);
}

.points-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.points-list li {
  position: relative;
  padding-left: 25px;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink-soft);
}

.points-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  border-radius: 6px;
  background: var(--coral-soft);
  color: var(--coral-strong);
  font-size: 0.72rem;
  font-weight: 800;
}

/* ── career ──────────────────────────────────────────── */
.career-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  position: relative;
  padding: 0 0 32px 38px;
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline li::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--indigo);
  box-shadow: 0 0 0 4px var(--indigo-soft);
}

.timeline li:first-child::before {
  background: var(--coral);
  box-shadow: 0 0 0 4px var(--coral-soft);
}

.timeline li::after {
  content: "";
  position: absolute;
  top: 24px;
  bottom: 4px;
  left: 10px;
  width: 2px;
  border-radius: var(--pill);
  background: var(--line);
}

.timeline li:last-child::after {
  display: none;
}

.timeline-period {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
}

.timeline h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 1.22rem;
}

.timeline-role {
  padding: 4px 11px;
  border-radius: var(--pill);
  background: var(--indigo-soft);
  color: var(--indigo-strong);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.timeline li > p:last-child {
  margin: 9px 0 0;
  max-width: 46ch;
  color: var(--muted);
  font-size: 0.96rem;
}

.career-side {
  display: grid;
  gap: 14px;
  align-content: start;
}

.skill-matrix {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0;
}

.skill-matrix > div {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.skill-matrix dt {
  margin: 0 0 10px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--muted);
}

.skill-matrix dd {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
}

.skill-matrix dd span {
  padding: 4px 11px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 600;
}

.career-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.career-meta div {
  padding: 18px 20px;
  border-radius: var(--radius);
  background: var(--surface-tonal);
}

.career-meta p {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.career-meta .career-meta-label {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--muted);
}

/* ── about ───────────────────────────────────────────── */
.about-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 4vw, 56px);
}

.about-copy p {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.about-copy p:last-child {
  margin-bottom: 0;
}

.strength-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.strength {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition:
    transform 200ms ease,
    box-shadow 200ms ease;
}

.strength:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.strength-kicker {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 10px;
  border-radius: var(--pill);
  background: var(--coral-soft);
  color: var(--coral-strong);
  font-size: 0.64rem;
  font-weight: 600;
}

.strength p:last-child {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* ── contact ─────────────────────────────────────────── */
.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.78fr);
  align-items: center;
  gap: clamp(28px, 4vw, 56px);
  padding: clamp(32px, 5vw, 56px);
  border-radius: var(--radius-lg);
  color: #fff;
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(251, 90, 71, 0.42), transparent 52%),
    linear-gradient(150deg, var(--indigo), var(--indigo-strong));
  box-shadow: var(--shadow-lg);
}

.contact-copy .eyebrow {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.contact-copy h2 {
  color: #fff;
}

.contact-copy p:last-child {
  margin: 16px 0 0;
  max-width: 44ch;
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.04rem;
}

.contact-links {
  display: grid;
  gap: 10px;
}

.contact-links a {
  display: flex;
  align-items: center;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-weight: 700;
  transition:
    background 160ms ease,
    transform 160ms ease;
}

.contact-links a:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(4px);
}

.contact-links a:focus-visible {
  outline-color: #fff;
}

.contact-primary {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  min-height: 66px;
  background: #fff !important;
  color: var(--indigo-strong) !important;
}

.contact-primary small {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
}

/* ── footer ──────────────────────────────────────────── */
.footer {
  width: min(var(--content-width), calc(100% - 2 * var(--page-gutter)));
  margin: 0 auto;
  padding: 36px 0 48px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-note {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--muted);
}

.footer p {
  margin: 0;
}

/* ── reveal on scroll ────────────────────────────────── */
.has-js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 560ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 560ms cubic-bezier(0.16, 1, 0.3, 1);
}

.has-js .reveal.in {
  opacity: 1;
  transform: none;
}

/* ── responsive ──────────────────────────────────────── */
@media (max-width: 1040px) {
  .project-facts,
  .points-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 880px) {
  .hero,
  .about-layout,
  .career-layout,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    text-align: left;
  }

  .strength-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .project {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .project-media {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }
}

@media (max-width: 620px) {
  :root {
    --header-height: 66px;
  }

  .site-header {
    gap: 10px;
    padding: 10px 12px;
  }

  .brand {
    padding: 7px 11px;
  }

  .nav {
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }

  .nav-link {
    flex: none;
    padding: 9px 6px;
    font-size: 0.78rem;
  }

  .strength-list,
  .skill-matrix,
  .career-meta {
    grid-template-columns: 1fr;
  }

  .carousel-ticks {
    display: none;
  }

  .carousel-btn {
    width: 42px;
    height: 42px;
  }

  .contact-panel {
    padding: 26px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .has-js .reveal {
    opacity: 1;
    transform: none;
  }
}
