/* ==========================================================================
   金蝉不馋 · Apple-inspired personal site
   NOTE: All experiences, metrics, email addresses and social links in the
   content files are placeholders. Replace them before going live.
   ========================================================================== */

:root {
  --bg: #f5f5f7;
  --bg-soft: #fbfbfd;
  --surface: #ffffff;
  --ink: #0a0a0b;
  --ink-soft: #1d1d1f;
  --muted: #6e6e73;
  --muted-2: #86868b;
  --line: rgba(0, 0, 0, 0.08);
  --line-strong: rgba(0, 0, 0, 0.16);
  --accent: #c2410c;
  --accent-bright: #ff7a45;
  --accent-soft: rgba(194, 65, 12, 0.09);
  --glass: rgba(250, 250, 252, 0.72);
  --glass-strong: rgba(250, 250, 252, 0.9);
  --radius-xl: 36px;
  --radius-lg: 26px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.03), 0 8px 30px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 30px 90px rgba(0, 0, 0, 0.11);
  --font: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont,
    "Segoe UI Variable Display", "Segoe UI", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
  --mono: "SFMono-Regular", "SF Mono", "Cascadia Mono", "Roboto Mono", Consolas,
    monospace;
  --max: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

::-webkit-scrollbar {
  width: 11px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.18);
  border: 3px solid var(--bg);
  border-radius: 99px;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

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

h1,
h2,
h3,
h4,
p,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 500;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  transform: translateY(-160%);
  transition: transform 0.25s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
}

.shell {
  width: min(var(--max), calc(100% - 64px));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: clamp(88px, 11vw, 148px) 0;
}

.section--tight {
  padding-top: clamp(48px, 6vw, 72px);
}

.section--ink {
  background: var(--ink);
  color: var(--bg-soft);
}

.section--ink .eyebrow {
  color: rgba(255, 255, 255, 0.48);
}

.accent {
  color: var(--accent);
}

.section--ink .accent {
  color: var(--accent-bright);
}

.nowrap {
  white-space: nowrap;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.16em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.eyebrow--plain::before {
  display: none;
}

.display {
  font-size: clamp(44px, 6.5vw, 88px);
  font-weight: 650;
  letter-spacing: -0.05em;
  line-height: 1.1;
  text-wrap: balance;
}

.section-title {
  max-width: 760px;
  font-size: clamp(36px, 4.8vw, 64px);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.04;
  text-wrap: balance;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(150px, 0.34fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  margin-bottom: clamp(40px, 6vw, 68px);
}

.section-head__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
}

.section-head .eyebrow {
  padding-top: 8px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease);
}

.text-link svg {
  transition: transform 0.35s var(--ease);
}

.text-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.text-link:hover svg {
  transform: translate(2px, -2px);
}

.text-link--light {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.text-link--light:hover {
  border-color: var(--accent-bright);
  color: var(--accent-bright);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 23px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease), transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.btn svg {
  transition: transform 0.35s var(--ease);
}

.btn:hover svg {
  transform: translate(2px, -2px);
}

.btn--dark {
  background: var(--ink);
  color: #fff;
}

.btn--dark:hover {
  background: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(194, 65, 12, 0.22);
}

.btn--light {
  background: #fff;
  color: var(--ink);
}

.btn--light:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.btn--ghost {
  border-color: var(--line-strong);
  background: transparent;
  color: var(--ink);
}

.btn--ghost:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
  transform: translateY(-2px);
}

.btn--small {
  min-height: 42px;
  padding: 0 17px;
  font-size: 13px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 550;
  line-height: 1.4;
  white-space: nowrap;
}

.tag--accent {
  border-color: rgba(194, 65, 12, 0.18);
  background: var(--accent-soft);
  color: var(--accent);
}

.tag--dark {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.76);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 27px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.badge--accent {
  border-color: rgba(194, 65, 12, 0.2);
  background: var(--accent-soft);
  color: var(--accent);
}

.badge--dark {
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 255, 255, 0.6);
}

.badge--dark.badge--accent {
  border-color: rgba(255, 122, 69, 0.28);
  background: rgba(255, 122, 69, 0.12);
  color: var(--accent-bright);
}

/* --------------------------------------------------------------------------
   Header / navigation
   -------------------------------------------------------------------------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  border-bottom: 1px solid transparent;
  background: var(--glass);
  -webkit-backdrop-filter: saturate(180%) blur(22px);
  backdrop-filter: saturate(180%) blur(22px);
  transition: background-color 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.site-header.is-scrolled::before {
  border-color: var(--line);
  background: var(--glass-strong);
}

.nav-shell {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(1280px, calc(100% - 48px));
  height: 68px;
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  min-width: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  border-radius: 9px;
  background: var(--ink);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.4s var(--ease), background-color 0.3s var(--ease);
}

.brand:hover .brand-mark {
  transform: rotate(-7deg) scale(1.04);
  background: var(--accent);
}

.brand-name {
  overflow: hidden;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.01em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2px;
  justify-self: center;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 550;
  transition: color 0.25s var(--ease), background-color 0.25s var(--ease);
}

.nav-link:hover {
  background: rgba(0, 0, 0, 0.045);
  color: var(--ink);
}

.nav-link[aria-current="page"] {
  color: var(--ink);
  font-weight: 650;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-self: end;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 34px;
  padding: 0 15px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  transition: background-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.nav-cta:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  position: relative;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  position: absolute;
  left: 10px;
  width: 18px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}

.menu-toggle span:nth-child(1) {
  top: 15px;
}

.menu-toggle span:nth-child(2) {
  top: 22px;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 18.5px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  top: 18.5px;
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  z-index: 1;
  top: 76px;
  left: 16px;
  right: 16px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
  -webkit-backdrop-filter: saturate(180%) blur(28px);
  backdrop-filter: saturate(180%) blur(28px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(0.985);
  transform-origin: top center;
  transition: opacity 0.3s var(--ease), transform 0.35s var(--ease),
    visibility 0.3s;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.mobile-menu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 53px;
  padding: 0 16px;
  border-radius: 16px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  transition: background-color 0.2s var(--ease);
}

.mobile-menu a:hover,
.mobile-menu a[aria-current="page"] {
  background: var(--bg);
}

.mobile-menu a span {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.06em;
}

.mobile-menu a[aria-current="page"] span {
  color: var(--accent);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: clip;
  padding: clamp(122px, 14vw, 168px) 0 0;
}

.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -28%;
  right: -16%;
  width: 64vw;
  height: 64vw;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(194, 65, 12, 0.085) 0%,
    rgba(194, 65, 12, 0.025) 42%,
    transparent 70%
  );
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: clamp(40px, 7vw, 100px);
  align-items: end;
  min-height: min(690px, calc(100svh - 190px));
  padding-bottom: 56px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-bottom: 4px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-kicker::before {
  content: "";
  width: 20px;
  height: 1px;
  background: var(--accent);
}

.hero-name {
  margin-top: 18px;
  font-size: clamp(68px, 10.4vw, 148px);
  font-weight: 700;
  letter-spacing: -0.07em;
  line-height: 0.86;
  white-space: nowrap;
}

.hero-tagline {
  margin-top: clamp(24px, 3.4vw, 38px);
  font-size: clamp(30px, 3.6vw, 50px);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.11;
}

.hero-tagline span {
  display: block;
}

.hero-tagline .accent {
  color: var(--accent);
}

.hero-lead {
  max-width: 36em;
  margin-top: 26px;
  color: var(--muted);
  font-size: clamp(16px, 1.35vw, 18px);
  line-height: 1.7;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 34px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 42px;
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted-2);
  font-size: 11px;
  font-weight: 550;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-meta span + span::before {
  content: "/";
  color: var(--line-strong);
  margin-right: 2px;
}

.hero-aside {
  position: relative;
  z-index: 1;
  align-self: center;
  max-width: 390px;
  width: 100%;
  justify-self: end;
}

.portrait {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-xl);
  background: #0b0b0c;
  color: #fff;
  box-shadow: 0 36px 90px rgba(10, 10, 11, 0.2);
  isolation: isolate;
}

.portrait::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
      circle at 72% 14%,
      rgba(255, 122, 69, 0.68) 0%,
      rgba(194, 65, 12, 0.17) 29%,
      transparent 57%
    ),
    radial-gradient(
      circle at 20% 90%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 44%
    );
}

.portrait::after {
  content: "";
  position: absolute;
  z-index: 5;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.28'/%3E%3C/svg%3E");
  opacity: 0.17;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.portrait-top,
.portrait-bottom {
  position: absolute;
  z-index: 6;
  left: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.portrait-top {
  top: 24px;
  color: rgba(255, 255, 255, 0.52);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.portrait-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 0 5px rgba(255, 122, 69, 0.12);
}

.portrait-bottom {
  bottom: 24px;
  align-items: flex-end;
}

.portrait-caption {
  max-width: 190px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  line-height: 1.5;
}

.portrait-meta {
  color: rgba(255, 255, 255, 0.4);
  font-family: var(--mono);
  font-size: 9px;
  line-height: 1.7;
  text-align: right;
}

.portrait-stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.portrait-mark {
  position: relative;
  z-index: 3;
  color: rgba(255, 255, 255, 0.94);
  font-size: clamp(130px, 19vw, 210px);
  font-weight: 700;
  letter-spacing: -0.08em;
  line-height: 1;
  text-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  pointer-events: none;
}

.orbit::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -3px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 18px rgba(255, 122, 69, 0.9);
}

.orbit--a {
  width: 76%;
  aspect-ratio: 1;
}

.orbit--b {
  width: 112%;
  aspect-ratio: 1;
  border-color: rgba(255, 255, 255, 0.08);
}

.orbit--b::after {
  top: 18%;
  left: 12%;
  width: 4px;
  height: 4px;
  opacity: 0.7;
}

.orbit--c {
  width: 46%;
  aspect-ratio: 1;
  border-color: rgba(255, 255, 255, 0.18);
}

.orbit--c::after {
  display: none;
}

.portrait-chip {
  position: absolute;
  z-index: 7;
  top: 58px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 11px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.portrait-chip::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent-bright);
}

.hero-footnote {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 14px;
  padding: 0 4px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scroll-hint {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.scroll-hint::before {
  content: "";
  width: 1px;
  height: 24px;
  background: linear-gradient(var(--accent), transparent);
}

/* --------------------------------------------------------------------------
   Ticker
   -------------------------------------------------------------------------- */

.ticker {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.36);
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker 30s linear infinite;
}

.ticker:hover .ticker-track {
  animation-play-state: paused;
}

.ticker-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 52px);
  padding: 18px clamp(14px, 2vw, 28px);
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticker-item::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.65;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* --------------------------------------------------------------------------
   Statement
   -------------------------------------------------------------------------- */

.statement {
  padding-top: clamp(100px, 13vw, 168px);
}

.statement-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: clamp(48px, 7vw, 88px);
}

.statement-line {
  flex: 1;
  height: 1px;
  background: var(--line);
}

.statement-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(40px, 9vw, 140px);
  align-items: end;
}

.statement-copy {
  max-width: 430px;
  padding-bottom: 6px;
  color: var(--muted);
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.8;
  text-wrap: pretty;
}

.statement-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 30px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.06em;
}

.statement-note::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent);
}

/* --------------------------------------------------------------------------
   Featured project
   -------------------------------------------------------------------------- */

.feature-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: clamp(40px, 6vw, 80px);
  overflow: hidden;
  padding: clamp(34px, 5.6vw, 72px);
  border-radius: var(--radius-xl);
  background: var(--ink);
  color: var(--bg-soft);
  isolation: isolate;
  box-shadow: 0 30px 80px rgba(10, 10, 11, 0.13);
}

.feature-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -40%;
  right: -15%;
  width: 65%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 122, 69, 0.34) 0%,
    rgba(194, 65, 12, 0.1) 35%,
    transparent 68%
  );
}

.feature-card::after {
  content: "1000";
  position: absolute;
  z-index: -1;
  right: -0.04em;
  bottom: -0.2em;
  color: rgba(255, 255, 255, 0.032);
  font-size: clamp(160px, 28vw, 380px);
  font-weight: 700;
  letter-spacing: -0.09em;
  line-height: 1;
  pointer-events: none;
}

.feature-main {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.feature-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 30px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--accent-bright);
}

.feature-title {
  max-width: 660px;
  font-size: clamp(32px, 4.3vw, 58px);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.08;
  text-wrap: balance;
}

.feature-subtitle {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.55);
  font-size: clamp(16px, 1.6vw, 20px);
  letter-spacing: -0.015em;
}

.feature-description {
  max-width: 560px;
  margin-top: 26px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  line-height: 1.8;
}

.feature-main .btn {
  margin-top: 34px;
}

.feature-side {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

.feature-side-label {
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.34);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.metric {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.metric strong {
  flex: 0 0 auto;
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 600;
  letter-spacing: -0.055em;
  line-height: 1;
}

.metric span {
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 11px;
  line-height: 1.45;
  text-align: right;
}

.metric em {
  color: rgba(255, 255, 255, 0.3);
  font-family: var(--mono);
  font-size: 8px;
  font-style: normal;
  letter-spacing: 0.06em;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 24px;
}

/* --------------------------------------------------------------------------
   Skills
   -------------------------------------------------------------------------- */

.skill-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.skill-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 258px;
  padding: clamp(24px, 3vw, 36px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.55s var(--ease), box-shadow 0.55s var(--ease),
    border-color 0.55s var(--ease);
}

.skill-card::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease);
}

.skill-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.07);
  transform: translateY(-4px);
}

.skill-card:hover::after {
  transform: scaleX(1);
}

.skill-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: auto;
  padding-bottom: 48px;
}

.skill-number {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.skill-en {
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 550;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.skill-card h3 {
  font-size: clamp(25px, 2.5vw, 31px);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.2;
}

.skill-card p {
  max-width: 420px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
  text-wrap: pretty;
}

/* --------------------------------------------------------------------------
   Notes cards
   -------------------------------------------------------------------------- */

.notes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.notes-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.note-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 296px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease),
    border-color 0.5s var(--ease);
}

.note-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.note-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.note-category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.1em;
}

.note-category::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}

.note-date {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.04em;
}

.note-title {
  display: block;
  margin-top: 30px;
  font-size: clamp(21px, 2vw, 25px);
  font-weight: 650;
  letter-spacing: -0.035em;
  line-height: 1.32;
  text-wrap: balance;
}

.note-excerpt {
  display: block;
  margin-top: 13px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.72;
  text-wrap: pretty;
}

.note-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 28px;
  color: var(--muted-2);
  font-size: 10px;
  letter-spacing: 0.04em;
}

.note-arrow {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  transition: background-color 0.35s var(--ease), color 0.35s var(--ease),
    border-color 0.35s var(--ease), transform 0.35s var(--ease);
}

.note-card:hover .note-arrow {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  transform: translate(2px, -2px);
}

/* --------------------------------------------------------------------------
   Generic page hero
   -------------------------------------------------------------------------- */

.page-hero {
  position: relative;
  overflow: clip;
  padding: clamp(138px, 16vw, 198px) 0 clamp(56px, 7vw, 88px);
}

.page-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -60%;
  left: 54%;
  width: 58vw;
  height: 58vw;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(194, 65, 12, 0.06),
    transparent 68%
  );
  pointer-events: none;
}

.page-hero__top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: clamp(32px, 5vw, 52px);
}

.page-hero__index {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.page-title {
  max-width: 1100px;
  font-size: clamp(54px, 9.4vw, 132px);
  font-weight: 650;
  letter-spacing: -0.062em;
  line-height: 1.1;
  text-wrap: balance;
}

.page-title > span {
  display: block;
}

.page-title .accent {
  color: var(--accent);
}

.page-lead {
  max-width: 720px;
  margin-top: clamp(28px, 4vw, 42px);
  color: var(--muted);
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.7;
  text-wrap: pretty;
}

.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 30px;
}

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.48fr);
  gap: clamp(48px, 8vw, 110px);
  align-items: start;
}

.about-copy {
  max-width: 700px;
}

.about-lead {
  margin-bottom: 34px;
  font-size: clamp(24px, 2.6vw, 34px);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.4;
  text-wrap: balance;
}

.about-paragraph {
  color: var(--muted);
  font-size: clamp(16px, 1.45vw, 18px);
  line-height: 1.9;
  text-wrap: pretty;
}

.about-paragraph + .about-paragraph {
  margin-top: 22px;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 38px;
}

.fact-card {
  position: sticky;
  top: 96px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.fact-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.fact-card__label {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
}

.fact-card__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.fact-list {
  display: flex;
  flex-direction: column;
}

.fact-row {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}

.fact-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.fact-row dt {
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 550;
  letter-spacing: 0.06em;
}

.fact-row dd {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 550;
  line-height: 1.6;
  text-align: right;
}

.fact-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 10px;
}

.fact-footer::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.values {
  overflow: hidden;
}

.values-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: clamp(44px, 6vw, 72px);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.value-card {
  min-height: 250px;
  padding: 28px 32px 0 0;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.value-card + .value-card {
  padding-left: 32px;
}

.value-card:last-child {
  border-right: 0;
  padding-right: 0;
}

.value-number {
  color: var(--accent-bright);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.value-card h3 {
  margin-top: 52px;
  font-size: clamp(23px, 2.3vw, 29px);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.3;
}

.value-card p {
  margin-top: 13px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  line-height: 1.8;
}

.quote-section {
  padding: clamp(100px, 13vw, 170px) 0;
}

.quote-mark {
  display: block;
  margin-bottom: 26px;
  color: var(--accent);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 72px;
  line-height: 0.7;
}

.quote-text {
  max-width: 980px;
  font-size: clamp(40px, 6.2vw, 86px);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 1.09;
  text-wrap: balance;
}

.quote-note {
  max-width: 440px;
  margin-top: 32px;
  margin-left: auto;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.name-story {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(36px, 7vw, 96px);
  padding: clamp(32px, 5vw, 62px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.name-story__left h2 {
  margin-top: 22px;
  font-size: clamp(27px, 2.8vw, 38px);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1.25;
  text-wrap: balance;
}

.name-story__body {
  align-self: end;
  color: var(--muted);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.9;
  text-wrap: pretty;
}

/* --------------------------------------------------------------------------
   CTA panel
   -------------------------------------------------------------------------- */

.cta-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 48px;
  align-items: end;
  overflow: hidden;
  padding: clamp(34px, 5.6vw, 68px);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.cta-panel::before {
  content: "";
  position: absolute;
  top: -70%;
  right: -8%;
  width: 44%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(194, 65, 12, 0.09),
    transparent 68%
  );
}

.cta-panel__title {
  position: relative;
  max-width: 700px;
  margin-top: 20px;
  font-size: clamp(33px, 4.7vw, 58px);
  font-weight: 650;
  letter-spacing: -0.05em;
  line-height: 1.08;
  text-wrap: balance;
}

.cta-panel__text {
  position: relative;
  max-width: 520px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.cta-panel__actions {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
  padding-bottom: 4px;
}

/* --------------------------------------------------------------------------
   Projects
   -------------------------------------------------------------------------- */

.project-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 760px;
  margin-top: 28px;
  padding: 14px 18px;
  border: 1px solid rgba(194, 65, 12, 0.14);
  border-radius: var(--radius-sm);
  background: var(--accent-soft);
  color: #8b3210;
  font-size: 12px;
  line-height: 1.7;
}

.project-disclaimer svg {
  flex: 0 0 auto;
  margin-top: 2px;
}

.section--projects-featured {
  padding-top: 0;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.project-card {
  display: flex;
  flex-direction: column;
  min-height: 440px;
  padding: clamp(26px, 3.4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease),
    border-color 0.5s var(--ease);
}

.project-card:hover {
  border-color: var(--line-strong);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.project-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 56px;
}

.project-index {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.project-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted-2);
  font-size: 10px;
  font-weight: 550;
  letter-spacing: 0.04em;
}

.project-status::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.project-card h2 {
  max-width: 520px;
  font-size: clamp(25px, 2.8vw, 35px);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1.28;
  text-wrap: balance;
}

.project-sub {
  max-width: 520px;
  margin-top: 13px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.project-summary {
  max-width: 560px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.project-findings {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 26px;
  border-top: 1px solid var(--line);
}

.project-findings li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 11px;
}

.project-findings li::before {
  content: "—";
  color: var(--accent);
}

.project-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.project-meta dt {
  color: var(--muted-2);
  font-size: 9px;
  letter-spacing: 0.06em;
}

.project-meta dd {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 550;
  line-height: 1.5;
}

.project-card__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: auto;
  padding-top: 30px;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}

.project-link svg {
  transition: transform 0.3s var(--ease);
}

.project-link:hover {
  color: var(--accent);
}

.project-link:hover svg {
  transform: translate(2px, -2px);
}

.note-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(30px, 6vw, 80px);
  margin-top: 16px;
  padding: clamp(30px, 4vw, 46px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: transparent;
}

.note-panel h2 {
  margin-top: 16px;
  font-size: clamp(25px, 2.8vw, 34px);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1.25;
}

.note-panel p {
  align-self: end;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

/* --------------------------------------------------------------------------
   Experience
   -------------------------------------------------------------------------- */

.experience-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: clamp(46px, 8vw, 110px);
  align-items: start;
}

.timeline {
  border-top: 1px solid var(--line-strong);
}

.timeline-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: clamp(18px, 3vw, 34px);
  padding: clamp(30px, 4.4vw, 48px) 0;
  border-bottom: 1px solid var(--line);
}

.timeline-marker {
  display: flex;
  align-items: flex-start;
  padding-top: 4px;
}

.timeline-marker span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  transition: border-color 0.35s var(--ease), background-color 0.35s var(--ease),
    color 0.35s var(--ease);
}

.timeline-item:hover .timeline-marker span {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.timeline-period {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
}

.timeline-org {
  margin-top: 14px;
  font-size: clamp(25px, 3vw, 38px);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1.25;
  text-wrap: balance;
}

.timeline-role {
  margin-top: 7px;
  color: var(--muted-2);
  font-size: 12px;
}

.timeline-summary {
  max-width: 640px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.timeline-highlights {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 20px;
}

.timeline-highlights li {
  position: relative;
  padding-left: 16px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.7;
}

.timeline-highlights li::before {
  content: "";
  position: absolute;
  top: 0.75em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.timeline-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}

.side-card {
  position: sticky;
  top: 96px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.side-card h2 {
  margin-top: 22px;
  font-size: clamp(24px, 2.6vw, 31px);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1.3;
}

.side-card p {
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.side-card__divider {
  height: 1px;
  margin: 26px 0;
  background: var(--line);
}

.side-card__label {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.side-card .tag-row {
  margin-top: 14px;
}

.experience-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 10px;
  line-height: 1.7;
}

.experience-note svg {
  flex: 0 0 auto;
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   Notes page
   -------------------------------------------------------------------------- */

.notes-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 720px;
  margin-top: 30px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.5);
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.notes-disclaimer svg {
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--accent);
}

.notes-index {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
  gap: 16px;
  align-items: stretch;
}

.contact-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 360px;
  padding: clamp(28px, 4vw, 44px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.contact-card--email::before {
  content: "";
  position: absolute;
  right: -12%;
  bottom: -60%;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(194, 65, 12, 0.08),
    transparent 68%
  );
}

.contact-label {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.email-display {
  display: inline-block;
  max-width: 100%;
  margin-top: auto;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line-strong);
  font-size: clamp(25px, 4.5vw, 58px);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1.2;
  overflow-wrap: anywhere;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.email-display:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.contact-note {
  max-width: 540px;
  margin-top: 18px;
  color: var(--muted-2);
  font-size: 11px;
  line-height: 1.7;
}

.contact-card__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
}

.copy-status {
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}

.copy-status.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.social-card {
  display: flex;
  flex-direction: column;
}

.social-list {
  display: flex;
  flex-direction: column;
  margin-top: auto;
  border-top: 1px solid var(--line);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  transition: color 0.25s var(--ease);
}

.social-link:hover {
  color: var(--accent);
}

.social-link__label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 14px;
  font-weight: 600;
}

.social-link__handle {
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.social-link svg {
  flex: 0 0 auto;
  transition: transform 0.3s var(--ease);
}

.social-link:hover svg {
  transform: translate(2px, -2px);
}

.contact-secondary {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 16px;
  margin-top: 16px;
}

.availability-card {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 3.6vw, 40px);
  border-radius: var(--radius-lg);
  background: var(--ink);
  color: var(--bg-soft);
}

.availability-card h2 {
  margin-top: 22px;
  font-size: clamp(25px, 2.8vw, 34px);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1.3;
}

.availability-card > p {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  line-height: 1.8;
}

.availability-list {
  margin-top: auto;
  padding-top: 30px;
}

.availability-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 11px;
}

.availability-row dt {
  color: rgba(255, 255, 255, 0.4);
}

.availability-row dd {
  color: rgba(255, 255, 255, 0.82);
  text-align: right;
}

.faq-card {
  padding: clamp(28px, 3.6vw, 40px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.faq-card h2 {
  margin-top: 18px;
  font-size: clamp(25px, 2.8vw, 34px);
  font-weight: 650;
  letter-spacing: -0.04em;
  line-height: 1.3;
}

.faq-list {
  margin-top: 30px;
  border-top: 1px solid var(--line);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 0;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  flex: 0 0 auto;
  color: var(--muted-2);
  font-size: 18px;
  font-weight: 400;
  transition: transform 0.3s var(--ease), color 0.3s var(--ease);
}

.faq-item[open] summary::after {
  color: var(--accent);
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 0 20px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.contact-closing {
  padding: clamp(60px, 9vw, 110px) 0 0;
  text-align: center;
}

.contact-closing h2 {
  font-size: clamp(38px, 6vw, 80px);
  font-weight: 650;
  letter-spacing: -0.055em;
  line-height: 1.09;
  text-wrap: balance;
}

.contact-closing p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 15px;
}

.contact-disclaimer {
  margin-top: 28px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--muted-2);
  font-size: 10px;
  line-height: 1.7;
  text-align: left;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  position: relative;
  overflow: hidden;
  margin-top: clamp(40px, 6vw, 80px);
  padding: clamp(70px, 10vw, 120px) 0 28px;
  background: var(--ink);
  color: var(--bg-soft);
}

.site-footer::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -5%;
  width: 50%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 122, 69, 0.12),
    transparent 68%
  );
  pointer-events: none;
}

.footer-cta {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: clamp(44px, 8vw, 110px);
  align-items: end;
  padding-bottom: clamp(56px, 7vw, 84px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.footer-title {
  max-width: 800px;
  margin-top: 22px;
  font-size: clamp(43px, 6.4vw, 84px);
  font-weight: 650;
  letter-spacing: -0.06em;
  line-height: 1.06;
  text-wrap: balance;
}

.footer-text {
  max-width: 460px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  line-height: 1.8;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
}

.footer-label {
  color: rgba(255, 255, 255, 0.34);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
}

.footer-email {
  max-width: 100%;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
  font-size: clamp(18px, 2.2vw, 28px);
  font-weight: 550;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.footer-email:hover {
  border-color: var(--accent-bright);
  color: var(--accent-bright);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 7px 24px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  transition: color 0.25s var(--ease);
}

.footer-nav a:hover {
  color: #fff;
}

.footer-bottom {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 28px;
  align-items: start;
  padding-top: 24px;
  color: rgba(255, 255, 255, 0.32);
  font-size: 10px;
  line-height: 1.7;
}

.footer-disclaimer {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.54);
  white-space: nowrap;
  transition: color 0.25s var(--ease);
}

.footer-bottom a:hover {
  color: #fff;
}

.footer-note {
  font-family: var(--mono);
  letter-spacing: 0.04em;
}

.site-footer--contact {
  margin-top: 0;
}

/* --------------------------------------------------------------------------
   Note dialog
   -------------------------------------------------------------------------- */

.note-dialog {
  width: min(780px, calc(100% - 32px));
  max-width: 780px;
  max-height: min(86vh, 900px);
  padding: 0;
  border: 0;
  border-radius: 30px;
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 44px 120px rgba(0, 0, 0, 0.26);
  overflow: hidden;
}

.note-dialog::backdrop {
  background: rgba(10, 10, 11, 0.52);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.note-dialog[open] {
  animation: dialog-in 0.5s var(--ease);
}

@keyframes dialog-in {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.dialog-scroll {
  max-height: min(86vh, 900px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(28px, 5vw, 58px);
}

.dialog-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 38px;
}

.dialog-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  color: var(--muted-2);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.05em;
}

.dialog-meta .dialog-category {
  color: var(--accent);
  font-family: var(--font);
  font-weight: 650;
  letter-spacing: 0.08em;
}

.dialog-close {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.3s var(--ease), color 0.3s var(--ease),
    border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.dialog-close:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
  transform: rotate(90deg);
}

.dialog-title {
  max-width: 660px;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 650;
  letter-spacing: -0.045em;
  line-height: 1.15;
  text-wrap: balance;
}

.dialog-body {
  margin-top: 35px;
}

.dialog-body p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.95;
}

.dialog-body p + p {
  margin-top: 18px;
}

.dialog-body h2 {
  margin: 36px 0 14px;
  font-size: 22px;
  font-weight: 650;
  letter-spacing: -0.03em;
  line-height: 1.4;
}

.dialog-body blockquote {
  margin: 30px 0;
  padding: 4px 0 4px 22px;
  border-left: 2px solid var(--accent);
  color: var(--ink);
  font-size: clamp(20px, 2.8vw, 27px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.5;
}

.dialog-body ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 24px 0;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
}

.dialog-body li {
  position: relative;
  padding-left: 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.dialog-body li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}

.dialog-foot {
  margin-top: 42px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted-2);
  font-size: 10px;
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   Toast / loading / error
   -------------------------------------------------------------------------- */

.toast {
  position: fixed;
  z-index: 600;
  bottom: 28px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 9px;
  max-width: calc(100% - 32px);
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(10, 10, 11, 0.92);
  color: #fff;
  font-size: 12px;
  font-weight: 550;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.2);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  opacity: 0;
  transform: translate(-50%, 14px);
  visibility: hidden;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease),
    visibility 0.35s;
}

.toast::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-bright);
}

.toast.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.page-loading {
  display: grid;
  place-items: center;
  min-height: 70vh;
}

.page-loading__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.page-loading__mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  animation: loading-pulse 1.6s var(--ease-soft) infinite;
}

.page-loading__line {
  width: 120px;
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
}

.page-loading__line::after {
  content: "";
  display: block;
  width: 45%;
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
  animation: loading-line 1.2s var(--ease-soft) infinite;
}

@keyframes loading-pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(0.94);
    opacity: 0.75;
  }
}

@keyframes loading-line {
  from {
    transform: translateX(-110%);
  }
  to {
    transform: translateX(330%);
  }
}

.error-panel {
  max-width: 660px;
  margin: 140px auto 80px;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.error-panel h1 {
  font-size: 30px;
  font-weight: 650;
  letter-spacing: -0.04em;
}

.error-panel p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.error-panel code {
  padding: 2px 6px;
  border-radius: 5px;
  background: var(--bg);
  font-family: var(--mono);
  font-size: 12px;
}

/* --------------------------------------------------------------------------
   Reveal animation
   -------------------------------------------------------------------------- */

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal="left"] {
  transform: translateX(-26px);
}

[data-reveal="left"].is-visible {
  transform: translateX(0);
}

[data-reveal="scale"] {
  transform: translateY(22px) scale(0.985);
}

[data-reveal="scale"].is-visible {
  transform: translateY(0) scale(1);
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1100px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.7fr);
    gap: 48px;
  }

  .hero-aside {
    max-width: 340px;
  }

  .notes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .notes-grid > .note-card:last-child:nth-child(odd) {
    grid-column: span 2;
    min-height: 250px;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  }
}

@media (max-width: 960px) {
  .desktop-nav {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav-shell {
    grid-template-columns: 1fr auto;
  }

  .nav-actions {
    gap: 4px;
  }

  .nav-cta {
    display: none;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    gap: 52px;
    padding-bottom: 48px;
  }

  .hero-aside {
    justify-self: start;
    max-width: 420px;
    width: min(100%, 420px);
  }

  .portrait {
    aspect-ratio: 1 / 1.06;
  }

  .portrait-mark {
    font-size: 150px;
  }

  .section-head {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .section-head .eyebrow {
    padding-top: 0;
  }

  .statement-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .statement-copy {
    max-width: 560px;
  }

  .feature-card {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .feature-side {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0 22px;
  }

  .feature-side-label,
  .feature-tags {
    grid-column: 1 / -1;
  }

  .metric {
    display: block;
  }

  .metric span {
    margin-top: 7px;
    text-align: left;
  }

  .about-grid,
  .experience-layout {
    grid-template-columns: 1fr;
  }

  .fact-card,
  .side-card {
    position: static;
  }

  .fact-card {
    max-width: 540px;
  }

  .side-card {
    max-width: 620px;
  }

  .values-grid {
    grid-template-columns: 1fr;
    border-top: 0;
  }

  .value-card,
  .value-card + .value-card {
    min-height: 0;
    padding: 28px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-right: 0;
  }

  .value-card h3 {
    margin-top: 26px;
  }

  .name-story {
    grid-template-columns: 1fr;
  }

  .cta-panel {
    grid-template-columns: 1fr;
    gap: 32px;
    align-items: start;
  }

  .cta-panel__actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    min-height: 0;
  }

  .project-top {
    margin-bottom: 38px;
  }

  .note-panel {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    min-height: 300px;
  }

  .contact-secondary {
    grid-template-columns: 1fr;
  }

  .footer-cta {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .footer-contact {
    padding-top: 6px;
  }

  .footer-bottom {
    grid-template-columns: 1fr auto;
  }

  .footer-disclaimer {
    grid-column: 1 / -1;
    grid-row: 2;
  }
}

@media (max-width: 720px) {
  .shell {
    width: calc(100% - 40px);
  }

  .nav-shell {
    width: calc(100% - 32px);
    height: 60px;
  }

  .brand-name {
    font-size: 12px;
  }

  .site-header::before {
    background: rgba(245, 245, 247, 0.8);
  }

  .mobile-menu {
    top: 68px;
  }

  .hero {
    padding-top: 108px;
  }

  .hero-name {
    margin-top: 16px;
    font-size: clamp(61px, 19vw, 88px);
    letter-spacing: -0.075em;
  }

  .hero-tagline {
    font-size: clamp(27px, 7.3vw, 36px);
  }

  .hero-lead {
    margin-top: 20px;
    font-size: 15px;
  }

  .hero-actions {
    margin-top: 28px;
  }

  .hero-meta {
    margin-top: 30px;
  }

  .hero-grid {
    gap: 42px;
  }

  .portrait {
    border-radius: 28px;
  }

  .portrait-top {
    top: 20px;
    left: 20px;
    right: 20px;
  }

  .portrait-bottom {
    bottom: 20px;
    left: 20px;
    right: 20px;
  }

  .portrait-chip {
    top: 51px;
    right: 16px;
  }

  .portrait-mark {
    font-size: 124px;
  }

  .display {
    font-size: clamp(38px, 10vw, 52px);
  }

  .section-title {
    font-size: clamp(31px, 8.4vw, 44px);
  }

  .page-hero {
    padding-top: 118px;
  }

  .page-title {
    font-size: clamp(42px, 12.3vw, 64px);
    line-height: 1.12;
  }

  .page-lead {
    font-size: 16px;
  }

  .notes-grid,
  .notes-grid--two,
  .skill-grid {
    grid-template-columns: 1fr;
  }

  .notes-grid > .note-card:last-child:nth-child(odd) {
    grid-column: auto;
  }

  .skill-card {
    min-height: 230px;
  }

  .note-card {
    min-height: 270px;
  }

  .feature-card {
    padding: 28px;
    border-radius: 28px;
  }

  .feature-title {
    font-size: clamp(29px, 8vw, 39px);
  }

  .feature-side {
    grid-template-columns: 1fr;
  }

  .metric {
    display: flex;
    align-items: baseline;
  }

  .metric span {
    margin-top: 0;
    text-align: right;
  }

  .metric + .metric {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .quote-text {
    font-size: clamp(35px, 9.5vw, 52px);
  }

  .quote-note {
    margin-left: 0;
  }

  .name-story {
    padding: 28px;
    border-radius: 28px;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .timeline-marker {
    display: none;
  }

  .timeline-org {
    font-size: clamp(24px, 6.8vw, 31px);
  }

  .cta-panel {
    padding: 30px;
    border-radius: 28px;
  }

  .contact-card {
    border-radius: 28px;
  }

  .email-display {
    font-size: clamp(24px, 7.4vw, 38px);
  }

  .contact-secondary {
    margin-top: 12px;
  }

  .availability-card,
  .faq-card {
    border-radius: 24px;
  }

  .footer-title {
    font-size: clamp(41px, 12vw, 62px);
  }

  .footer-nav {
    gap: 16px;
  }

  .note-dialog {
    width: calc(100% - 20px);
    max-height: 90vh;
    border-radius: 24px;
  }

  .dialog-scroll {
    max-height: 90vh;
    padding: 26px 22px 32px;
  }

  .dialog-title {
    font-size: 30px;
  }

  .dialog-body p {
    font-size: 14px;
  }

  .dialog-body blockquote {
    font-size: 20px;
  }
}

@media (max-width: 420px) {
  .hero-name {
    font-size: 18.4vw;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-actions .text-link {
    margin-left: 4px;
  }

  .portrait {
    aspect-ratio: 1 / 1.12;
  }

  .project-meta {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .project-meta div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
  }

  .project-meta dd {
    margin-top: 0;
    text-align: right;
  }
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .ticker-track {
    animation: none;
  }
}
