:root {
  color-scheme: light;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-serif: var(--font-sans);
  --bg: #fafafa;
  --footer-bg: #fafafa;
  --hero-fade: #f0ede8;
  --bg-soft: rgba(255, 255, 255, 0.3);
  --panel: rgba(255, 255, 255, 0.4);
  --panel-strong: rgba(255, 255, 255, 0.5);
  --control: rgba(0, 0, 0, 0.03);
  --input: rgba(0, 0, 0, 0.05);
  --card-shadow: 0 12px 34px rgba(0, 0, 0, 0.035);
  --floating-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
  --hover-shadow: 0 18px 44px rgba(0, 0, 0, 0.075);
  --inset-highlight: inset 0 1px 1px rgba(255, 255, 255, 0.6);
  --line-subtle: rgba(0, 0, 0, 0.05);
  --line: rgba(0, 0, 0, 0.08);
  --line-medium: rgba(0, 0, 0, 0.14);
  --text: #0d0d0d;
  --text-strong: rgba(0, 0, 0, 0.7);
  --text-soft: rgba(0, 0, 0, 0.6);
  --text-faint: rgba(0, 0, 0, 0.45);
  --text-ghost: rgba(0, 0, 0, 0.05);
  --accent: #0d0d0d;
  --display-gradient: linear-gradient(to bottom, #0d0d0d, rgba(0, 0, 0, 0.4));
  --display-gradient-soft: linear-gradient(to bottom, #0d0d0d, rgba(0, 0, 0, 0.3));
  --hero-title-fade: linear-gradient(180deg, rgba(13, 13, 13, 0.88) 0%, rgba(13, 13, 13, 0.72) 44%, rgba(13, 13, 13, 0.38) 100%);
  --hairline-gradient: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.2), transparent);
  --surface-glow: linear-gradient(135deg, rgba(0, 0, 0, 0.02), transparent 58%), var(--panel);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #060608;
  --footer-bg: #040406;
  --hero-fade: #060608;
  --bg-soft: rgba(0, 0, 0, 0.2);
  --panel: rgba(255, 255, 255, 0.02);
  --panel-strong: rgba(0, 0, 0, 0.4);
  --control: rgba(255, 255, 255, 0.03);
  --input: rgba(255, 255, 255, 0.05);
  --card-shadow: 0 16px 42px rgba(0, 0, 0, 0.28);
  --floating-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
  --hover-shadow: 0 18px 48px rgba(0, 0, 0, 0.36);
  --inset-highlight: inset 0 1px 1px rgba(255, 255, 255, 0.05);
  --line-subtle: rgba(255, 255, 255, 0.05);
  --line: rgba(255, 255, 255, 0.1);
  --line-medium: rgba(255, 255, 255, 0.2);
  --text: rgba(255, 255, 255, 0.9);
  --text-strong: rgba(255, 255, 255, 0.7);
  --text-soft: rgba(255, 255, 255, 0.6);
  --text-faint: rgba(255, 255, 255, 0.45);
  --text-ghost: rgba(255, 255, 255, 0.05);
  --accent: #ffffff;
  --display-gradient: linear-gradient(to bottom, #ffffff, rgba(255, 255, 255, 0.4));
  --display-gradient-soft: linear-gradient(to bottom, #ffffff, rgba(255, 255, 255, 0.4));
  --hero-title-fade: linear-gradient(180deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.72) 44%, rgba(255, 255, 255, 0.4) 100%);
  --hairline-gradient: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
  --surface-glow: linear-gradient(135deg, rgba(255, 255, 255, 0.02), transparent 58%), var(--panel);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  transition: background-color 700ms ease, color 700ms ease;
}

::selection {
  color: var(--bg);
  background: color-mix(in srgb, var(--accent) 20%, transparent);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.page-shell {
  position: relative;
  isolation: isolate;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: fixed;
  pointer-events: none;
  z-index: -1;
  filter: blur(40px);
  opacity: 0.65;
}

.page-shell::before {
  width: min(90vw, 900px);
  height: min(90vw, 900px);
  top: 7rem;
  right: -18vw;
  border: 1px solid var(--text-ghost);
  border-radius: 999px;
  background: transparent;
}

.page-shell::after {
  width: min(65vw, 650px);
  height: min(65vw, 650px);
  left: -14vw;
  bottom: 14rem;
  border: 1px dashed color-mix(in srgb, var(--text-ghost) 70%, transparent);
  border-radius: 999px;
  background: transparent;
}

.container {
  width: min(1400px, calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 128px 0 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--line-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 86px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 12px color-mix(in srgb, var(--accent) 45%, transparent);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-text strong {
  font-size: 1rem;
  letter-spacing: 0;
}

.brand-text small {
  color: var(--text-faint);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line-subtle);
  border-radius: 999px;
  background: var(--control);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025);
}

.site-nav a {
  color: var(--text-soft);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a {
  padding: 9px 20px;
  border-radius: 999px;
  transition: background 300ms ease, box-shadow 300ms ease, color 300ms ease;
}

.site-nav a:hover {
  background: color-mix(in srgb, var(--panel-strong) 70%, transparent);
  color: var(--text);
  box-shadow: var(--floating-shadow);
}

.theme-toggle {
  position: relative;
  display: inline-grid;
  place-items: center;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: color-mix(in srgb, var(--panel-strong) 70%, transparent);
  color: var(--text-soft);
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.055), var(--inset-highlight);
  transition: transform 260ms ease, background 300ms ease, border-color 300ms ease, box-shadow 300ms ease, color 300ms ease;
}

.theme-toggle:hover {
  transform: translateY(-1px);
  border-color: var(--line-medium);
  background: color-mix(in srgb, var(--panel-strong) 86%, transparent);
  color: var(--text);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08), var(--inset-highlight);
}

.theme-toggle:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--accent) 34%, transparent);
  outline-offset: 4px;
}

.theme-toggle__icon {
  grid-area: 1 / 1;
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  opacity: 0;
  transform: scale(0.82) rotate(-12deg);
  transition: opacity 260ms ease, transform 360ms cubic-bezier(0.2, 0.76, 0.18, 1);
}

.theme-toggle__icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

html[data-theme="light"] .theme-toggle__icon--moon,
html[data-theme="dark"] .theme-toggle__icon--sun {
  opacity: 1;
  transform: scale(1) rotate(0);
}

html[data-theme="dark"] .theme-toggle {
  background: color-mix(in srgb, var(--panel-strong) 82%, rgba(255, 255, 255, 0.04));
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28), var(--inset-highlight);
}

.hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  min-height: calc(100svh - 86px);
  padding-top: clamp(64px, 8vh, 104px);
  padding-bottom: 74px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: clamp(24px, 4vw, 56px) max(0px, calc((100vw - 1400px) / 2)) 0;
  z-index: -1;
  background-image:
    linear-gradient(color-mix(in srgb, var(--text) 5%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--text) 5%, transparent) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse at 58% 48%, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.62) 36%, transparent 76%);
  opacity: 0.78;
  pointer-events: none;
}

html[data-theme="dark"] .hero::before {
  background-image:
    linear-gradient(color-mix(in srgb, var(--text) 8%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--text) 8%, transparent) 1px, transparent 1px);
  opacity: 0.68;
}

.hero-grid,
.section-grid {
  display: grid;
  gap: 28px;
}

.hero-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 6.6fr) minmax(420px, 5.4fr);
  align-items: center;
  min-height: clamp(650px, 78svh, 860px);
}

.hero-copy {
  padding: 24px 0 48px;
  max-width: 64rem;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 34px;
  color: var(--text-faint);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-kicker span {
  display: block;
  width: 34px;
  height: 1px;
  background: var(--line-medium);
}

.eyebrow {
  margin: 0 0 14px;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.hero-copy h1,
.section-heading h2,
.contact-panel h2,
.project-dialog__intro h2,
.hero-preview__content h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero-copy h1 {
  color: var(--text);
  font-size: clamp(4.7rem, 7.15vw, 8.4rem);
  line-height: 1.04;
  font-kerning: normal;
  font-feature-settings: "kern";
  letter-spacing: 0;
  text-shadow: none;
  max-width: none;
}

.hero-copy h1 span {
  display: block;
  padding-bottom: 0.06em;
  white-space: nowrap;
}

.hero-title-line:first-child {
  display: flex;
  align-items: baseline;
  gap: 0.06em;
}

.hero-copy h1 > span:nth-child(2) {
  color: transparent;
  background: var(--hero-title-fade);
  background-clip: text;
  -webkit-background-clip: text;
}

.hero-role {
  margin: 28px 0 0;
  color: var(--text-soft);
  font-size: clamp(1.35rem, 1.7vw, 1.9rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  text-transform: none;
}

.hero-summary,
.section-note,
.contact-copy,
.timeline-item p,
.copy-block p,
.about-story p,
.detail-block p {
  color: var(--text-soft);
  line-height: 1.8;
}

.hero-summary {
  max-width: 34rem;
  margin: 30px 0 0;
  color: var(--text-strong);
  font-size: 0.98rem;
  line-height: 1.75;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.tag-list li {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text-soft);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease, color 300ms ease;
}

.tag-list li:nth-child(odd) {
  border-color: var(--line-medium);
  background: color-mix(in srgb, var(--panel-strong) 76%, transparent);
  color: var(--text);
  font-weight: 700;
  box-shadow: var(--floating-shadow);
}

.tag-list li:hover {
  transform: translateY(-2px);
  border-color: var(--line-medium);
  box-shadow: var(--hover-shadow);
}

.tag-list--muted {
  margin-top: 20px;
}

.tag-list--muted li {
  background: transparent;
}

.hero-marquee {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  overflow: hidden;
  border-top: 1px solid var(--line-subtle);
  border-bottom: 1px solid var(--line-subtle);
  background: color-mix(in srgb, var(--bg) 56%, transparent);
  backdrop-filter: blur(18px);
  pointer-events: none;
}

.hero-marquee::before,
.hero-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: min(12vw, 160px);
  pointer-events: none;
}

.hero-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg), transparent);
}

.hero-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--bg), transparent);
}

.hero-marquee__track {
  display: flex;
  width: max-content;
  animation: hero-marquee 34s linear infinite;
  will-change: transform;
}

.hero-marquee__group {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  min-width: max-content;
}

.hero-marquee__item,
.hero-marquee__mark {
  display: inline-flex;
  align-items: center;
  min-height: 58px;
  color: var(--text-faint);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-marquee__item {
  padding-inline: clamp(24px, 3.2vw, 56px);
}

.hero-marquee__mark {
  color: color-mix(in srgb, var(--text-faint) 64%, transparent);
  font-size: 0.68rem;
}

@keyframes hero-marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes badge-spark-pop {
  0% {
    transform: scale(1) rotate(0deg);
  }

  58% {
    transform: scale(1.16) rotate(-7deg);
  }

  100% {
    transform: scale(1.12) rotate(-7deg);
  }
}

.card {
  position: relative;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--surface-glow);
  box-shadow: var(--card-shadow);
  backdrop-filter: blur(48px);
  transition: border-color 300ms ease, box-shadow 300ms ease, background-color 700ms ease;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: var(--inset-highlight);
  pointer-events: none;
}

.hero-aside {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(560px, 72svh, 760px);
  margin-right: clamp(-56px, -3vw, -24px);
  pointer-events: none;
}

.hero-preview {
  position: relative;
  overflow: hidden;
  min-height: 330px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--inset-highlight);
}

.hero-preview__media,
.hero-preview__overlay,
.hero-preview__content {
  position: absolute;
  inset: 0;
}

.hero-preview__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 24%;
  transform: scale(1.045);
  filter: saturate(0.98) contrast(1.03);
}

.hero-preview__overlay {
  background:
    linear-gradient(180deg, rgba(8, 10, 14, 0.08), rgba(8, 10, 14, 0.88)),
    linear-gradient(90deg, rgba(8, 10, 14, 0.08), rgba(8, 10, 14, 0.24)),
    radial-gradient(circle at top center, rgba(67, 186, 120, 0.18), transparent 40%);
}

.hero-preview__content {
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 24px 24px 22px;
}

.hero-preview__content h2 {
  font-size: 1.7rem;
  max-width: 18rem;
}

.hero-preview__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

.hero-preview__chips span {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 10, 14, 0.28);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  backdrop-filter: blur(10px);
}

.hero-preview__meta,
.hero-preview__note,
.experience-intro__title,
.timeline-item__role,
.project-card__meta,
.gallery-thumb__label {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-preview__meta {
  margin-top: 10px;
}

.hero-preview__note {
  margin-top: 12px;
  letter-spacing: 0.04em;
  text-transform: none;
}

.hero-orb {
  position: relative;
  overflow: visible;
  width: min(760px, 58vw);
  height: min(760px, 74svh);
  min-height: 520px;
  --orbit-pointer: 0deg;
  --orbit-spin-a: 0deg;
  --orbit-spin-b: 0deg;
  --orbit-spin-c: 0deg;
  --orbit-spin-d: 0deg;
  --orbit-spin-e: 0deg;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  pointer-events: auto;
}

.hero-orb__stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.hero-orb__canvas {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.hero-orb__ring {
  --ring-size: 96%;
  --ring-squash: 0.28;
  --ring-base: 0deg;
  --ring-spin: var(--orbit-spin-a);
  --ring-alpha: 0.32;
  --ring-width: 1.2px;
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 0;
  width: var(--ring-size);
  height: var(--ring-size);
  border: var(--ring-width) solid rgba(142, 112, 86, var(--ring-alpha));
  border-radius: 50%;
  transform:
    translate(-50%, -50%)
    rotate(calc(var(--ring-base) + var(--ring-spin) + var(--orbit-pointer)))
    scaleY(var(--ring-squash));
  transform-origin: center;
  transition: opacity 300ms ease;
  will-change: transform;
  pointer-events: none;
}

.hero-orb__ring--two {
  --ring-size: 104%;
  --ring-squash: 0.31;
  --ring-base: 36deg;
  --ring-spin: var(--orbit-spin-b);
  --ring-alpha: 0.26;
  --ring-width: 1px;
}

.hero-orb__ring--three {
  --ring-size: 88%;
  --ring-squash: 0.22;
  --ring-base: 92deg;
  --ring-spin: var(--orbit-spin-c);
  --ring-alpha: 0.22;
  --ring-width: 1px;
}

.hero-orb__ring--four {
  --ring-size: 106%;
  --ring-squash: 0.2;
  --ring-base: 138deg;
  --ring-spin: var(--orbit-spin-d);
  --ring-alpha: 0.2;
  --ring-width: 1px;
}

.hero-orb__ring--five {
  --ring-size: 78%;
  --ring-squash: 0.34;
  --ring-base: -24deg;
  --ring-spin: var(--orbit-spin-e);
  --ring-alpha: 0.21;
  --ring-width: 1px;
}

html[data-theme="dark"] .hero-orb__ring {
  border-color: rgba(238, 226, 208, calc(var(--ring-alpha) * 0.72));
}

.section-grid--about {
  grid-template-columns: minmax(300px, 4fr) minmax(0, 8fr);
  align-items: start;
  gap: clamp(48px, 6vw, 88px);
  max-width: 1400px;
}

.about-visual {
  position: sticky;
  top: 128px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  min-height: 0;
  border-radius: 32px;
  background:
    linear-gradient(45deg, color-mix(in srgb, var(--accent) 2%, transparent), transparent 58%),
    var(--panel);
  box-shadow: var(--card-shadow);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.about-visual:hover {
  border-color: var(--line-medium);
  box-shadow: var(--hover-shadow);
}

.about-visual__wash,
.about-visual__ring,
.about-visual__mark,
.about-visual__caption,
.about-visual__corner {
  position: absolute;
}

.about-visual__wash {
  inset: 0;
  background:
    radial-gradient(circle at 72% 78%, color-mix(in srgb, var(--accent) 7%, transparent), transparent 34%),
    linear-gradient(180deg, color-mix(in srgb, var(--accent) 3%, transparent), transparent 46%);
  pointer-events: none;
}

.about-visual__ring {
  inset: 64px 34px;
  border-radius: 999px;
  border: 1px dashed color-mix(in srgb, var(--text-faint) 32%, transparent);
  opacity: 0.55;
  animation: about-ring-spin 30s linear infinite;
  pointer-events: none;
}

.about-visual__mark {
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  animation: about-mark-float 6s ease-in-out infinite;
}

.about-visual__glyph {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 90%, transparent), color-mix(in srgb, var(--accent) 26%, transparent));
  color: var(--bg);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.16);
  transition: transform 700ms ease, filter 700ms ease, opacity 700ms ease;
}

.about-visual:hover .about-visual__glyph {
  transform: scale(1.08);
  filter: saturate(1.08);
  opacity: 1;
}

.about-visual__dot {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background:
    radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--bg) 88%, transparent), transparent 34%),
    linear-gradient(135deg, color-mix(in srgb, var(--accent) 72%, transparent), color-mix(in srgb, var(--accent) 18%, transparent));
  box-shadow: 0 12px 24px color-mix(in srgb, var(--accent) 18%, transparent);
}

.about-visual__caption {
  inset-inline: 0;
  top: calc(50% + 54px);
  color: var(--text-faint);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.about-visual__corner {
  width: 18px;
  pointer-events: none;
}

.about-visual__corner--tl,
.about-visual__corner--br {
  width: 18px;
  height: 18px;
  border-color: color-mix(in srgb, var(--text-faint) 52%, transparent);
  border-style: solid;
}

.about-visual__corner--tl {
  top: 26px;
  left: 26px;
  border-width: 2px 0 0 2px;
}

.about-visual__corner--br {
  right: 26px;
  bottom: 26px;
  border-width: 0 2px 2px 0;
}

.section-heading h2 {
  font-size: clamp(2.6rem, 4.3vw, 4.6rem);
}

.about-copy {
  display: grid;
  gap: 36px;
  align-content: start;
  padding-top: 2px;
}

.section-kicker {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--text-faint);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-kicker i {
  display: block;
  width: 46px;
  height: 1px;
  background: color-mix(in srgb, var(--line) 78%, transparent);
}

.heading-reveal > .eyebrow,
.heading-reveal > div > .eyebrow {
  opacity: 0;
  transform: translateX(-18px);
  transition: opacity 680ms ease, transform 680ms cubic-bezier(0.2, 0.76, 0.18, 1);
}

.heading-reveal .section-kicker i {
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left center;
  transition: opacity 520ms ease, transform 720ms cubic-bezier(0.2, 0.76, 0.18, 1);
}

.heading-reveal .section-kicker span:last-child {
  opacity: 0;
  transform: translateX(-16px);
  transition: opacity 1400ms ease, transform 1400ms cubic-bezier(0.2, 0.76, 0.18, 1);
  transition-delay: 120ms;
}

.heading-reveal h2 {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 760ms ease, transform 760ms cubic-bezier(0.2, 0.76, 0.18, 1);
  transition-delay: 90ms;
}

.heading-reveal .section-note,
.heading-reveal .contact-copy,
.heading-reveal .contact-focus,
.heading-reveal .contact-panel__aside {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.76, 0.18, 1);
  transition-delay: 180ms;
}

.heading-reveal.is-visible > .eyebrow,
.heading-reveal.is-visible > div > .eyebrow,
.heading-reveal.is-visible h2,
.heading-reveal.is-visible .section-note,
.heading-reveal.is-visible .contact-copy,
.heading-reveal.is-visible .contact-focus,
.heading-reveal.is-visible .contact-panel__aside {
  opacity: 1;
  transform: translate(0, 0);
}

.heading-reveal.is-visible .section-kicker i {
  opacity: 1;
  transform: scaleX(1);
}

.heading-reveal.is-visible .section-kicker span:last-child {
  opacity: 1;
  transform: translateX(0);
}

.about-heading h2 {
  max-width: 780px;
  margin: 28px 0 0;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: clamp(2.55rem, 4.5vw, 4.7rem);
  font-weight: 900;
  line-height: 1.03;
  letter-spacing: 0;
}

.about-heading h2 span {
  color: transparent;
  background: var(--display-gradient);
  background-clip: text;
  -webkit-background-clip: text;
}

.about-story {
  display: grid;
  gap: 24px;
  max-width: 760px;
  font-size: clamp(1rem, 1.22vw, 1.14rem);
}

.about-story p {
  margin: 0;
}

.about-divider {
  width: 100%;
  height: 1px;
  background: color-mix(in srgb, var(--line) 86%, transparent);
}

.about-copy .tag-list {
  margin-top: 0;
}

.about-copy .tag-list li {
  padding: 10px 18px;
  background: transparent;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  box-shadow: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.about-copy .tag-list li:nth-child(odd) {
  border-color: var(--line-medium);
  background: color-mix(in srgb, var(--panel-strong) 76%, transparent);
  color: var(--text);
  font-weight: 700;
  box-shadow: var(--floating-shadow);
}

.about-copy .tag-list li:hover {
  transform: translateY(-2px);
  border-color: var(--line-medium);
  box-shadow: var(--hover-shadow);
}

.copy-block {
  padding: 26px 28px;
}

@keyframes about-ring-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes about-mark-float {
  0%,
  100% {
    transform: translateY(-8px);
  }

  50% {
    transform: translateY(8px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-visual__ring,
  .about-visual__mark,
  .project-card__badge-icon,
  .hero-marquee__track {
    animation: none;
  }

  .heading-reveal .section-kicker i,
  .heading-reveal .section-kicker span:last-child,
  .heading-reveal > .eyebrow,
  .heading-reveal > div > .eyebrow,
  .heading-reveal h2,
  .heading-reveal .section-note,
  .heading-reveal .contact-copy,
  .heading-reveal .contact-focus,
  .heading-reveal .contact-panel__aside {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@keyframes orbRingTurn {
  to {
    rotate: 0 0 1 360deg;
  }
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}

.section-heading h2 {
  margin-top: 28px;
}

.section-heading--stacked,
.section-heading--projects {
  align-items: start;
}

.section-note {
  max-width: 42rem;
  margin: 0;
}

.section-heading--projects {
  align-items: end;
  margin-bottom: 72px;
}

.section-heading--projects h2 {
  margin-top: 36px;
  font-family: var(--font-sans);
  font-size: clamp(2.8rem, 4.2vw, 4.6rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: 0;
}

.section-heading--projects h2 span {
  color: transparent;
  background: var(--display-gradient);
  background-clip: text;
  -webkit-background-clip: text;
}

.project-heading__count {
  display: grid;
  gap: 8px;
  justify-items: end;
  padding-bottom: 12px;
  color: var(--text-faint);
  text-transform: uppercase;
}

.project-heading__count strong {
  color: var(--text-ghost);
  font-size: clamp(3.6rem, 6vw, 5.2rem);
  font-weight: 900;
  line-height: 0.85;
}

.project-heading__count span {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.experience-layout {
  display: grid;
  grid-template-columns: minmax(260px, 3fr) minmax(0, 9fr);
  gap: 32px;
}

.experience-intro {
  align-self: start;
  position: sticky;
  top: 128px;
  padding: 32px;
}

.experience-intro__title {
  display: inline-flex;
  width: fit-content;
  padding: 3px 6px;
  border-radius: 2px;
  background: color-mix(in srgb, var(--text) 12%, transparent);
  color: var(--text-soft);
  font-weight: 800;
}

.experience-highlights {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.experience-highlights article {
  padding-top: 12px;
  border-top: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
}

.experience-highlights strong {
  display: block;
  font-size: 0.98rem;
  line-height: 1.5;
}

.experience-highlights span {
  display: block;
  margin-top: 6px;
  color: var(--text-faint);
  font-size: 0.86rem;
  line-height: 1.65;
}

.timeline {
  --timeline-date: 154px;
  --timeline-axis: 34px;
  --timeline-card-pad: 26px;
  --timeline-gap: 18px;
  --timeline-line-x: calc(var(--timeline-card-pad) + var(--timeline-date) + var(--timeline-gap) + (var(--timeline-axis) / 2));
  position: relative;
  display: grid;
  gap: 20px;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 14px;
  bottom: 14px;
  left: var(--timeline-line-x);
  z-index: 1;
  width: 1px;
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--line-medium) 74%, transparent) 12%, color-mix(in srgb, var(--line-medium) 74%, transparent) 88%, transparent);
  pointer-events: none;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: var(--timeline-date) var(--timeline-axis) minmax(0, 1fr);
  gap: var(--timeline-gap);
  align-items: start;
  padding: 26px 26px 24px;
}

.timeline-item__marker {
  position: relative;
  display: block;
  justify-self: center;
  margin-top: 8px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow:
    0 0 0 5px var(--bg),
    0 0 12px color-mix(in srgb, var(--accent) 45%, transparent);
  z-index: 1;
}

.timeline-item__date {
  padding-top: 1px;
  color: var(--text-faint);
  font-size: 0.92rem;
  line-height: 1.35;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.timeline-item__body h3,
.project-card__title,
.gallery-stage__title {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.35;
}

.timeline-item__role {
  margin: 7px 0 0;
  color: var(--text-soft);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0;
  text-transform: none;
}

.timeline-item__summary {
  max-width: 58rem;
  margin: 14px 0 0;
  line-height: 1.72;
}

.timeline-item .tag-list--muted {
  margin-top: 18px;
}

.timeline-item--minimal {
  display: grid;
  grid-template-columns: var(--timeline-date) var(--timeline-axis) minmax(0, 1fr);
  gap: var(--timeline-gap);
  align-items: start;
  padding: 10px 26px 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.timeline-item--minimal .timeline-item__marker {
  margin-top: 6px;
  width: 7px;
  height: 7px;
  background: var(--text-faint);
  box-shadow: none;
}

.timeline-item--minimal .timeline-item__body h3 {
  font-size: 1rem;
}

.project-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}

.project-toolbar__note {
  margin: 0;
  color: var(--text-faint);
  font-size: 0.78rem;
  line-height: 1.7;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.filter-button {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--text-soft);
  padding: 8px 16px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 300ms ease, box-shadow 300ms ease, background 300ms ease, color 300ms ease, border-color 300ms ease;
}

.filter-button:hover {
  transform: translateY(-2px);
  border-color: var(--line-medium);
  color: var(--text);
  box-shadow: var(--floating-shadow);
}

.filter-button.is-active {
  border-color: var(--line-medium);
  background: color-mix(in srgb, var(--panel-strong) 76%, transparent);
  color: var(--text);
  box-shadow: var(--floating-shadow);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 300px;
  gap: 24px;
}

.project-card {
  position: relative;
  overflow: hidden;
  display: grid;
  min-height: 0;
  padding: 0;
  border-color: transparent;
  cursor: pointer;
  transition: transform 300ms ease, border-color 300ms ease, box-shadow 300ms ease;
  text-align: left;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.035);
}

.project-card:hover,
.project-card:focus-visible {
  transform: translateY(-6px);
  border-color: transparent;
  outline: none;
  box-shadow: var(--hover-shadow);
}

.project-card.is-poster {
  isolation: isolate;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr auto;
  gap: 0;
  min-height: auto;
  aspect-ratio: auto;
  padding: 0;
  border-radius: 32px;
  border: 0;
  background: #101218;
}

.project-card.is-poster::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(250, 250, 250, 0.08) 0%, rgba(250, 250, 250, 0.42) 68%, rgba(250, 250, 250, 0.82) 100%),
    linear-gradient(90deg, rgba(8, 10, 12, 0.44) 0%, rgba(8, 10, 12, 0.14) 56%, rgba(8, 10, 12, 0.28) 100%);
  opacity: 1;
  pointer-events: none;
  transition: opacity 700ms ease;
}

.project-card.is-poster:hover::before,
.project-card.is-poster:focus-visible::before {
  opacity: 0.58;
}

html[data-theme="dark"] .project-card.is-poster::before {
  background:
    linear-gradient(180deg, rgba(6, 6, 8, 0.16) 0%, rgba(6, 6, 8, 0.34) 60%, rgba(6, 6, 8, 0.82) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.16) 56%, rgba(0, 0, 0, 0.34) 100%);
}

.project-card.is-featured {
  grid-column: span 8;
  grid-row: span 2;
}

.project-card:not(.is-featured) {
  grid-column: span 4;
}

.project-card.is-featured .project-card__cover {
  min-height: 100%;
}

.project-card.is-featured .project-card__content {
  padding: 92px 44px 44px;
}

.project-card.is-featured .project-card__title {
  font-size: clamp(1.42rem, 1.8vw, 1.9rem);
}

.project-card.is-featured .project-card__summary {
  max-width: 34rem;
}

.project-card.is-featured.is-poster {
  grid-template-columns: 1fr;
  min-height: auto;
}

.project-card.is-muted {
  opacity: 0.94;
}

.project-card__index {
  display: none;
}

.project-card__cover {
  position: relative;
  min-height: 180px;
  border-radius: 24px;
  border: 0;
  overflow: hidden;
  background: var(--panel);
}

.project-card__cover::before,
.gallery-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--cover-background, linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent 72%));
}

.project-card__cover::after,
.gallery-stage::after {
  content: "";
  position: absolute;
  inset: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.045);
  opacity: 0.55;
}

html[data-theme="light"] .project-card__cover::after {
  border-color: rgba(255, 255, 255, 0.18);
}

html[data-theme="dark"] .project-card__cover::after {
  border-color: rgba(255, 255, 255, 0.06);
}

.project-card__cover[data-style="medical"],
.gallery-stage[data-style="medical"] {
  --cover-background:
    radial-gradient(circle at top right, rgba(123, 164, 255, 0.42), transparent 42%),
    linear-gradient(180deg, rgba(240, 245, 255, 0.2), rgba(98, 128, 190, 0.05));
}

.project-card__cover[data-style="enterprise"],
.gallery-stage[data-style="enterprise"] {
  --cover-background:
    linear-gradient(135deg, rgba(119, 132, 176, 0.2), transparent 58%),
    linear-gradient(180deg, rgba(238, 243, 255, 0.12), rgba(30, 37, 60, 0.08));
}

.project-card__cover[data-style="dashboard"],
.gallery-stage[data-style="dashboard"] {
  --cover-background:
    radial-gradient(circle at 20% 18%, rgba(100, 228, 187, 0.26), transparent 26%),
    linear-gradient(135deg, rgba(57, 86, 169, 0.22), rgba(11, 18, 31, 0.12));
}

.project-card__cover[data-style="operations"],
.gallery-stage[data-style="operations"] {
  --cover-background:
    linear-gradient(135deg, rgba(156, 197, 255, 0.18), transparent 48%),
    linear-gradient(180deg, rgba(209, 224, 255, 0.1), rgba(19, 23, 37, 0.12));
}

.project-card__cover[data-style="education"],
.gallery-stage[data-style="education"] {
  --cover-background:
    radial-gradient(circle at top left, rgba(255, 217, 125, 0.26), transparent 32%),
    linear-gradient(135deg, rgba(255, 184, 112, 0.16), rgba(35, 26, 16, 0.08));
}

.project-card__image,
.gallery-stage__image {
  position: absolute;
  inset: 0;
}

.project-card__image {
  z-index: 0;
}

.project-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 26%;
  transform: scale(1.02);
  transition: transform 700ms cubic-bezier(0.2, 0.75, 0.18, 1), filter 700ms ease;
  will-change: transform;
}

.project-card:hover .project-card__image img,
.project-card:focus-visible .project-card__image img {
  transform: scale(1.08);
}

.project-card.is-poster .project-card__image img {
  object-position: center center;
  transform: scale(1.01);
  filter: saturate(0.92) contrast(1.04);
}

.project-card.is-poster:hover .project-card__image img,
.project-card.is-poster:focus-visible .project-card__image img {
  transform: scale(1.075);
  filter: saturate(1) contrast(1.08);
}

.project-card__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 8, 12, 0.16), rgba(250, 250, 250, 0.28) 62%, rgba(250, 250, 250, 0.82)),
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.16), transparent 36%);
  opacity: 1;
  pointer-events: none;
  transition: opacity 700ms ease;
}

.project-card:hover .project-card__image::after,
.project-card:focus-visible .project-card__image::after {
  opacity: 0.46;
}

html[data-theme="dark"] .project-card__image::after {
  background:
    linear-gradient(180deg, rgba(6, 6, 8, 0.12), rgba(6, 6, 8, 0.38) 62%, rgba(6, 6, 8, 0.82)),
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.08), transparent 36%);
}

.project-card.is-poster .project-card__cover {
  grid-column: 1;
  grid-row: 1 / -1;
  min-height: 100%;
  border: 0;
  border-radius: inherit;
}

.project-card.is-poster .project-card__cover::before {
  opacity: 0;
}

.project-card.is-poster .project-card__cover::after {
  inset: 26px;
  z-index: 2;
  border-radius: 26px;
  opacity: 0.18;
}

.project-card.is-poster .project-card__image::after {
  background:
    radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.14), transparent 32%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.56) 0%, rgba(255, 255, 255, 0.3) 36%, transparent 66%),
    linear-gradient(180deg, rgba(6, 8, 12, 0.12), rgba(250, 250, 250, 0.24) 58%, rgba(250, 250, 250, 0.82));
}

.project-card.is-poster:hover .project-card__image::after,
.project-card.is-poster:focus-visible .project-card__image::after {
  opacity: 0.34;
}

html[data-theme="dark"] .project-card.is-poster .project-card__image::after {
  background:
    radial-gradient(circle at 18% 14%, rgba(255, 255, 255, 0.08), transparent 32%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.46) 0%, rgba(0, 0, 0, 0.24) 36%, transparent 66%),
    linear-gradient(180deg, rgba(6, 6, 8, 0.1), rgba(6, 6, 8, 0.34) 58%, rgba(6, 6, 8, 0.82));
}

.project-card__cover-badge {
  position: absolute;
  left: 34px;
  top: 34px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.14);
  color: rgba(0, 0, 0, 0.72);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  backdrop-filter: blur(18px);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.3);
  overflow: hidden;
  transition: transform 520ms cubic-bezier(0.2, 0.76, 0.18, 1), border-radius 520ms ease, background 520ms ease, color 520ms ease, box-shadow 520ms ease;
}

.project-card__cover-badge::before {
  content: "";
  position: absolute;
  inset: -35%;
  z-index: 0;
  border-radius: inherit;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.42), transparent 56%);
  opacity: 0;
  transform: scale(0.45);
  transition: opacity 520ms ease, transform 520ms cubic-bezier(0.2, 0.76, 0.18, 1);
}

.project-card__badge-icon {
  position: relative;
  z-index: 1;
}

.project-card__badge-icon {
  display: block;
  width: 27px;
  height: 27px;
  color: currentColor;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  opacity: 1;
  transform: scale(1) rotate(0deg);
  transition: transform 620ms cubic-bezier(0.2, 0.76, 0.18, 1), stroke-width 520ms ease;
}

.project-card__badge-icon path,
.project-card__badge-icon circle,
.project-card__badge-icon rect {
  vector-effect: non-scaling-stroke;
}

.project-card:hover .project-card__cover-badge,
.project-card:focus-visible .project-card__cover-badge {
  transform: translateY(-5px) scale(1.06);
  border-color: rgba(0, 0, 0, 0.78);
  border-radius: 20px;
  background: rgba(6, 7, 9, 0.94);
  color: #fff;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18), inset 0 1px 1px rgba(255, 255, 255, 0.16);
}

.project-card:hover .project-card__cover-badge::before,
.project-card:focus-visible .project-card__cover-badge::before {
  opacity: 1;
  transform: scale(1);
}

.project-card:hover .project-card__badge-icon,
.project-card:focus-visible .project-card__badge-icon {
  opacity: 1;
  stroke-width: 2;
  transform: scale(1.12) rotate(-7deg);
  animation: badge-spark-pop 720ms cubic-bezier(0.2, 0.76, 0.18, 1) both;
}

.project-card.is-poster .project-card__cover-badge {
  z-index: 3;
}

html[data-theme="dark"] .project-card__cover-badge {
  border-color: rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.82);
}

.project-card__mock {
  position: absolute;
  inset: 20px;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 14px;
  z-index: 1;
}

.project-card__panel,
.project-card__sidebar {
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
}

.project-card__panel {
  position: relative;
  overflow: hidden;
}

.project-card__panel::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 18px;
  width: 46%;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  box-shadow:
    0 28px 0 0 rgba(255, 255, 255, 0.1),
    0 56px 0 0 rgba(255, 255, 255, 0.08),
    0 84px 0 0 rgba(255, 255, 255, 0.06);
}

.project-card__panel::after {
  content: "";
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 38%;
  height: 44%;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent);
  opacity: 0.55;
}

.project-card__sidebar {
  position: relative;
}

.project-card__sidebar::before,
.gallery-stage__visual::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 14px;
  border: 1px dashed rgba(255, 255, 255, 0.18);
}

.project-card__content {
  display: grid;
  gap: 10px;
  align-content: start;
}

.project-card.is-poster .project-card__content {
  position: relative;
  isolation: isolate;
  z-index: 2;
  grid-column: 1;
  grid-row: 1;
  align-self: start;
  gap: 8px;
  width: min(78%, 680px);
  padding: 116px 44px 44px;
}

.project-card.is-poster:not(.is-featured) .project-card__content {
  width: min(100%, 560px);
  padding: 116px 34px 34px;
}

.project-card__title {
  max-width: 100%;
  margin: 0;
  overflow: hidden;
  color: var(--text);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.24;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-card__title-separator {
  display: inline-block;
  margin: 0 0.42em;
  color: color-mix(in srgb, currentColor 44%, transparent);
  font-weight: 700;
}

.project-card.is-poster .project-card__title {
  color: rgba(0, 0, 0, 0.96);
  font-size: clamp(1.1rem, 1.38vw, 1.34rem);
  font-weight: 860;
  letter-spacing: 0;
  text-shadow: 0 1px 14px rgba(255, 255, 255, 0.62);
}

html[data-theme="dark"] .project-card.is-poster .project-card__title {
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.42);
}

.project-card.is-poster:not(.is-featured) .project-card__title {
  font-size: clamp(0.96rem, 1.1vw, 1.14rem);
}

.project-card__subtitle {
  margin: 0;
  color: var(--text-soft);
}

.project-card.is-poster .project-card__meta {
  position: absolute;
  top: 42px;
  right: 34px;
  color: rgba(0, 0, 0, 0.46);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.project-card.is-poster .project-card__subtitle {
  color: rgba(0, 0, 0, 0.58);
  font-size: 0.85rem;
  line-height: 1.55;
}

.project-card__summary {
  margin: 2px 0 0;
  color: var(--text-soft);
  line-height: 1.65;
}

.project-card.is-poster .project-card__summary {
  max-width: 22rem;
  color: rgba(0, 0, 0, 0.66);
  font-size: 0.84rem;
  font-weight: 560;
  line-height: 1.65;
  text-shadow: 0 1px 12px rgba(255, 255, 255, 0.54);
}

html[data-theme="dark"] .project-card.is-poster .project-card__meta {
  color: rgba(255, 255, 255, 0.46);
}

html[data-theme="dark"] .project-card.is-poster .project-card__subtitle {
  color: rgba(255, 255, 255, 0.6);
}

html[data-theme="dark"] .project-card.is-poster .project-card__summary {
  color: rgba(255, 255, 255, 0.68);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.42);
}

.project-card__footer {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: var(--text-faint);
  font-size: 0.84rem;
}

.project-card.is-poster .project-card__index,
.project-card.is-poster .project-card__footer {
  z-index: 2;
}

.project-card.is-poster .project-card__index {
  top: clamp(20px, 2.4vw, 34px);
  right: clamp(20px, 2.4vw, 34px);
  background: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.88);
}

.project-card.is-poster .project-card__footer {
  position: absolute;
  left: clamp(24px, 4vw, 54px);
  right: clamp(24px, 4vw, 54px);
  bottom: clamp(20px, 2.4vw, 34px);
  color: rgba(255, 255, 255, 0.64);
}

.dialog-root {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: clamp(10px, 1vw, 18px);
}

.dialog-root.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.dialog-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 5, 9, 0.72);
  backdrop-filter: blur(10px);
}

.project-dialog {
  position: relative;
  width: min(98.5vw, 1880px);
  height: min(96vh, 1080px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(22px, 2vw, 34px);
  padding: clamp(18px, 1.5vw, 28px);
  border-radius: clamp(24px, 2vw, 36px);
  border: 1px solid var(--line);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  box-shadow: 0 30px 120px rgba(0, 0, 0, 0.45), var(--inset-highlight);
  backdrop-filter: blur(48px);
}

.project-dialog__header,
.project-dialog__body {
  display: grid;
  gap: 22px;
}

.project-dialog__header {
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: clamp(18px, 2vw, 32px);
  align-items: start;
}

.project-dialog__intro {
  display: grid;
  align-content: start;
  gap: 10px;
}

.project-dialog__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 8px;
  margin: 0;
  color: var(--text-faint);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.project-dialog__meta-item {
  display: inline-flex;
  align-items: center;
}

.project-dialog__meta-separator {
  display: inline-flex;
  align-items: center;
  color: color-mix(in srgb, var(--text-faint) 70%, transparent);
  font-size: 0.66rem;
  line-height: 1;
  opacity: 0.7;
}

.project-dialog__intro h2 {
  font-size: clamp(1.7rem, 2vw, 2.35rem);
}

.project-dialog__summary {
  margin: 0;
  max-width: 44rem;
  color: var(--text-soft);
  line-height: 1.72;
}

.project-dialog__actions {
  display: flex;
  gap: 10px;
}

.dialog-nav,
.dialog-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--control);
  color: var(--text);
  min-width: 78px;
  padding: 10px 14px;
  cursor: pointer;
  transition: transform 300ms ease, box-shadow 300ms ease, border-color 300ms ease;
}

.dialog-button__icon {
  display: none;
  width: 22px;
  height: 22px;
}

.dialog-button__icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.dialog-nav:hover,
.dialog-close:hover {
  transform: translateY(-2px);
  border-color: var(--line-medium);
  box-shadow: var(--floating-shadow);
}

.dialog-nav:disabled,
.dialog-close:disabled {
  cursor: not-allowed;
  opacity: 0.42;
  transform: none;
  box-shadow: none;
}

.project-dialog__body {
  grid-template-columns: minmax(280px, 24fr) minmax(0, 76fr);
  gap: clamp(28px, 3vw, 48px);
  min-height: 0;
}

.project-dialog__content {
  position: relative;
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 0;
  padding-right: 14px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: transparent transparent;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
}

.project-dialog__content.is-scrolling {
  scrollbar-color: color-mix(in srgb, var(--text) 28%, transparent) transparent;
}

.project-dialog__content::-webkit-scrollbar,
.gallery-stage::-webkit-scrollbar,
.gallery-thumbs::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.project-dialog__content::-webkit-scrollbar-track,
.gallery-stage::-webkit-scrollbar-track,
.gallery-thumbs::-webkit-scrollbar-track {
  background: transparent;
}

.project-dialog__content::-webkit-scrollbar-thumb,
.gallery-stage::-webkit-scrollbar-thumb,
.gallery-thumbs::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: transparent;
}

.project-dialog__content.is-scrolling::-webkit-scrollbar-thumb,
.gallery-stage.is-scrolling::-webkit-scrollbar-thumb,
.gallery-thumbs.is-scrolling::-webkit-scrollbar-thumb {
  background: color-mix(in srgb, var(--text) 24%, transparent);
}

.project-dialog__content::after {
  content: "";
  position: sticky;
  bottom: -1px;
  z-index: 3;
  display: block;
  height: 56px;
  margin-top: -56px;
  background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--bg) 88%, transparent) 76%, color-mix(in srgb, var(--bg) 94%, transparent));
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
}

.project-dialog__content.has-scroll:not(.is-at-bottom)::after {
  opacity: 1;
}

.detail-facts {
  padding: clamp(18px, 1.5vw, 24px);
  border: 1px solid var(--line-subtle);
  border-radius: 24px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--panel-strong) 54%, transparent), transparent 82%),
    color-mix(in srgb, var(--panel) 58%, transparent);
  box-shadow: var(--inset-highlight);
  backdrop-filter: blur(24px);
}

.detail-fact-list {
  display: grid;
  margin: 0;
  padding: 0;
}

.detail-fact {
  padding: 0 0 16px;
  border-bottom: 1px solid var(--line-subtle);
}

.detail-fact + .detail-fact {
  padding-top: 16px;
}

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

.detail-fact dt {
  display: block;
  margin: 0 0 7px;
  color: var(--text-faint);
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.detail-fact dd {
  margin: 0;
  color: var(--text);
  font-size: clamp(0.98rem, 1vw, 1.08rem);
  font-weight: 800;
  line-height: 1.48;
}

.detail-block {
  padding: 16px 18px;
  border-radius: 24px;
  border: 1px solid var(--line-subtle);
  background: color-mix(in srgb, var(--panel) 82%, transparent);
}

.detail-block .eyebrow {
  margin: 0 0 14px;
  color: var(--text);
  font-weight: 800;
}

.detail-block p:last-child {
  margin: 0;
  color: var(--text-soft);
  font-weight: 400;
  line-height: 1.82;
}

.project-dialog__gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 142px);
  grid-template-rows: minmax(0, 1fr);
  gap: clamp(12px, 1.2vw, 20px);
  min-height: 0;
  overflow: hidden;
}

.gallery-stage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-content: start;
  gap: clamp(36px, 3.8vw, 58px);
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0 10px 18px 0;
  background: transparent;
  scroll-behavior: smooth;
  scrollbar-color: transparent transparent;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  overscroll-behavior: contain;
}

.project-dialog .gallery-stage::before,
.project-dialog .gallery-stage::after {
  display: none;
}

.gallery-stage.is-scrolling {
  scrollbar-color: color-mix(in srgb, var(--text) 28%, transparent) transparent;
}

.gallery-figure {
  position: relative;
  display: grid;
  justify-items: center;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding-bottom: clamp(24px, 2.8vw, 42px);
  border-bottom: 1px solid color-mix(in srgb, var(--line-medium) 72%, transparent);
}

.gallery-figure:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.gallery-figure__media {
  justify-self: center;
  display: block;
  width: min(100%, var(--image-natural-width, 100%));
  padding: 0;
  border: 0;
  overflow: hidden;
  border-radius: 18px;
  background: transparent;
  box-shadow: 0 0 0 1px var(--line-subtle);
  color: inherit;
  cursor: zoom-in;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
}

.gallery-figure__media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
}

.gallery-figure__media:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--accent) 48%, transparent);
  outline-offset: 4px;
}

.gallery-figure__media--placeholder {
  aspect-ratio: 16 / 9;
  cursor: wait;
  background:
    linear-gradient(100deg, transparent 0 34%, color-mix(in srgb, var(--text) 5%, transparent) 44%, transparent 54%),
    color-mix(in srgb, var(--panel) 72%, transparent);
  background-size: 220% 100%;
  animation: image-placeholder-shimmer 1400ms ease-in-out infinite;
}

@keyframes image-placeholder-shimmer {
  0% {
    background-position: 120% 0;
  }

  100% {
    background-position: -120% 0;
  }
}

.gallery-figure__caption {
  justify-self: center;
  width: min(100%, var(--image-natural-width, 100%));
  margin-top: clamp(16px, 1.5vw, 24px);
  padding: 0 4px;
}

.gallery-figure__label {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 8px;
  padding: 3px 7px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--text) 7%, transparent);
  color: var(--text-faint);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.gallery-figure__title {
  margin: 0;
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.36;
}

.gallery-figure:first-child .gallery-figure__title {
  font-size: 1.18rem;
}

.gallery-figure__text {
  max-width: 62rem;
  margin: 10px 0 0;
  color: var(--text-soft);
  font-size: 0.88rem;
  line-height: 1.76;
}

.gallery-thumbs {
  display: grid;
  align-content: start;
  gap: 8px;
  max-height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-color: transparent transparent;
  scrollbar-width: thin;
}

.gallery-thumbs.is-scrolling {
  scrollbar-color: color-mix(in srgb, var(--text) 28%, transparent) transparent;
}

.gallery-thumb {
  position: relative;
  scroll-snap-align: start;
  padding: 10px 11px 10px 13px;
  border-radius: 14px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-soft);
  text-align: left;
  cursor: pointer;
  transition: transform 300ms ease, border-color 300ms ease, background 300ms ease, box-shadow 300ms ease;
}

.gallery-thumb:hover {
  border-color: var(--line);
  background: color-mix(in srgb, var(--panel) 72%, transparent);
}

.gallery-thumb.is-active {
  border-color: var(--line-medium);
  background: color-mix(in srgb, var(--panel-strong) 78%, transparent);
  color: var(--text);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--line-medium) 44%, transparent), 0 8px 18px rgba(0, 0, 0, 0.035);
}

.gallery-thumb.is-active::before {
  content: "";
  position: absolute;
  top: 12px;
  bottom: 12px;
  left: 6px;
  width: 2px;
  border-radius: 999px;
  background: var(--accent);
}

.gallery-thumb__label {
  display: block;
  margin: 0;
  color: var(--text-faint);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.gallery-thumb__title {
  display: block;
  margin-top: 5px;
  font-size: 0.86rem;
  line-height: 1.45;
}

.image-preview-root {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: grid;
  place-items: center;
  padding: clamp(14px, 2vw, 30px);
}

.image-preview-root.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.image-preview__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 5, 9, 0.84);
  backdrop-filter: blur(14px);
}

.image-preview {
  position: relative;
  z-index: 1;
  width: min(96vw, 1720px);
  height: min(94vh, 1040px);
  display: grid;
  min-width: 0;
  min-height: 0;
}

.image-preview__stage {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  padding: clamp(48px, 6vw, 78px) clamp(10px, 4vw, 72px) clamp(70px, 8vw, 94px);
  overscroll-behavior: contain;
  scrollbar-color: transparent transparent;
  scrollbar-width: thin;
}

.image-preview__stage::-webkit-scrollbar {
  width: 8px;
}

.image-preview__stage::-webkit-scrollbar-track {
  background: transparent;
}

.image-preview__stage::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: transparent;
}

.image-preview-root.is-long-image .image-preview__stage {
  align-items: start;
  scrollbar-color: rgba(255, 255, 255, 0.32) transparent;
}

.image-preview-root.is-long-image .image-preview__stage::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.24);
}

.image-preview__image {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.12), 0 24px 90px rgba(0, 0, 0, 0.42);
  user-select: none;
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
}

.image-preview-root.is-long-image .image-preview__image {
  max-height: none;
}

.image-preview__controls {
  position: absolute;
  left: 50%;
  bottom: clamp(16px, 3vw, 30px);
  display: grid;
  grid-template-columns: repeat(3, 48px);
  gap: 10px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(250, 250, 250, 0.08);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.image-preview__button {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition: transform 240ms ease, background 240ms ease, border-color 240ms ease, opacity 240ms ease;
}

.image-preview__button:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.14);
}

.image-preview__button:disabled {
  cursor: not-allowed;
  opacity: 0.36;
  transform: none;
}

.image-preview__button svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.section-heading--skills {
  align-items: end;
  margin-bottom: 56px;
}

.section-heading--skills h2 {
  margin-top: 32px;
  font-family: var(--font-sans);
  font-size: clamp(2.6rem, 4.1vw, 4.45rem);
  font-weight: 900;
  line-height: 1;
}

.section-heading--skills h2 span {
  color: transparent;
  background: var(--display-gradient);
  background-clip: text;
  -webkit-background-clip: text;
}

.skills-showcase {
  display: grid;
  grid-template-columns: minmax(320px, 0.74fr) minmax(0, 1.26fr);
  gap: clamp(22px, 2.7vw, 34px);
  align-items: stretch;
}

.skills-hero-card {
  overflow: hidden;
  display: grid;
  align-content: end;
  min-height: 540px;
  padding: clamp(30px, 3.3vw, 44px);
  isolation: isolate;
  background:
    radial-gradient(circle at 20% 18%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 32%),
    radial-gradient(circle at 88% 84%, color-mix(in srgb, var(--accent) 7%, transparent), transparent 38%),
    var(--surface-glow);
}

.skills-hero-card::before {
  content: "13";
  position: absolute;
  top: clamp(20px, 3vw, 38px);
  right: clamp(22px, 3vw, 42px);
  z-index: 0;
  color: var(--text-ghost);
  font-size: clamp(7.2rem, 13vw, 13.5rem);
  font-weight: 900;
  line-height: 0.78;
  letter-spacing: 0;
  pointer-events: none;
}

.skills-hero-card > *,
.skill-system-card > * {
  position: relative;
  z-index: 1;
}

.skills-hero-card h3,
.skill-system-card h3 {
  margin: 0;
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 860;
  letter-spacing: 0;
}

.skills-hero-card h3 {
  max-width: 19rem;
  font-size: clamp(2rem, 2.9vw, 3.05rem);
  line-height: 1.06;
}

.skills-hero-card > p:not(.eyebrow) {
  max-width: 30rem;
  margin: 22px 0 0;
  color: var(--text-soft);
  font-size: 0.98rem;
  line-height: 1.86;
}

.skills-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 32px;
}

.skills-metrics div {
  display: grid;
  align-content: center;
  gap: 8px;
  min-height: 104px;
  padding: 18px 16px;
  border: 1px solid color-mix(in srgb, var(--line-medium) 78%, transparent);
  border-radius: 24px;
  background: color-mix(in srgb, var(--panel-strong) 70%, transparent);
  box-shadow: var(--floating-shadow), var(--inset-highlight);
}

.skills-metrics strong {
  color: var(--text);
  font-size: clamp(1.45rem, 2.2vw, 2.05rem);
  line-height: 1;
  letter-spacing: 0;
}

.skills-metrics span {
  color: var(--text-faint);
  font-size: 0.76rem;
  line-height: 1.45;
}

.skills-toolbelt,
.contact-focus {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.skills-toolbelt {
  margin-top: 26px;
}

.skills-toolbelt span,
.contact-focus span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: color-mix(in srgb, var(--panel-strong) 64%, transparent);
  color: var(--text-soft);
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.skills-system-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 2vw, 24px);
}

.skill-system-card {
  overflow: hidden;
  min-height: 264px;
  padding: clamp(26px, 2.5vw, 34px);
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.skill-system-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-medium);
  box-shadow: var(--hover-shadow);
}

.skill-system-card__index {
  position: absolute;
  top: 24px;
  right: 28px;
  z-index: 0;
  color: var(--text-ghost);
  font-size: clamp(3rem, 5vw, 5.1rem);
  font-weight: 900;
  line-height: 0.8;
  letter-spacing: 0;
  pointer-events: none;
}

.skill-system-card h3 {
  max-width: 16rem;
  font-size: clamp(1.24rem, 1.55vw, 1.52rem);
  line-height: 1.24;
}

.skill-system-card p:not(.eyebrow) {
  margin: 16px 0 0;
  color: var(--text-soft);
  line-height: 1.76;
}

.skill-system-card ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.skill-system-card li {
  position: relative;
  padding-left: 18px;
  color: var(--text-strong);
  font-size: 0.86rem;
  line-height: 1.56;
}

.skill-system-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--accent);
  opacity: 0.76;
}

.section--contact {
  padding-bottom: 112px;
}

.contact-panel {
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(320px, 0.84fr);
  gap: clamp(28px, 4vw, 58px);
  align-items: stretch;
  padding: clamp(30px, 5vw, 62px);
  isolation: isolate;
}

.contact-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 8% 14%, color-mix(in srgb, var(--accent) 9%, transparent), transparent 28%),
    radial-gradient(circle at 94% 88%, color-mix(in srgb, var(--accent) 7%, transparent), transparent 30%),
    linear-gradient(135deg, color-mix(in srgb, var(--panel-strong) 68%, transparent), transparent 58%);
}

.contact-panel__content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 430px;
  padding: clamp(4px, 1vw, 10px) 0;
}

.contact-panel__content > .eyebrow {
  margin-top: auto;
  margin-bottom: 16px;
}

.contact-panel h2 {
  max-width: 680px;
  margin: 0;
  color: var(--text);
  font-family: var(--font-sans);
  font-size: clamp(2.35rem, 4vw, 4.15rem);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: 0;
}

.contact-panel .contact-copy {
  max-width: 43rem;
  margin: 24px 0 0;
  color: var(--text-soft);
  font-size: clamp(0.98rem, 1.08vw, 1.04rem);
  line-height: 1.86;
}

.contact-focus {
  margin-top: 30px;
}

.contact-panel__aside {
  display: grid;
  align-content: start;
  gap: 18px;
  padding: clamp(22px, 2.6vw, 34px);
  border: 1px solid color-mix(in srgb, var(--line-medium) 76%, transparent);
  border-radius: 28px;
  background: color-mix(in srgb, var(--bg) 58%, transparent);
  box-shadow: var(--floating-shadow), var(--inset-highlight);
  backdrop-filter: blur(28px);
}

.contact-profile {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
}

.contact-profile__avatar {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  border: 1px solid color-mix(in srgb, var(--line-medium) 82%, transparent);
  border-radius: 22px;
  background:
    radial-gradient(circle at 30% 22%, color-mix(in srgb, var(--accent) 18%, transparent), transparent 36%),
    color-mix(in srgb, var(--panel-strong) 72%, transparent);
  box-shadow: var(--floating-shadow), var(--inset-highlight);
}

.contact-profile__avatar::after {
  content: "";
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--bg);
  border-radius: 999px;
  background: var(--accent);
}

.contact-profile__mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 17px;
  background: var(--accent);
  color: var(--bg);
  font-size: 0.88rem;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.contact-profile > div > strong,
.contact-profile > div > span {
  display: block;
}

.contact-profile > div > strong {
  color: var(--text);
  font-size: 1.12rem;
}

.contact-profile > div > span {
  margin-top: 5px;
  color: var(--text-faint);
  font-size: 0.82rem;
}

.contact-actions {
  display: grid;
  gap: 12px;
}

.contact-action {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 18px 42px 18px 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: color-mix(in srgb, var(--panel-strong) 66%, transparent);
  box-shadow: var(--inset-highlight);
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease, background 260ms ease;
}

.contact-action::after {
  content: "↗";
  position: absolute;
  top: 18px;
  right: 20px;
  color: var(--text-faint);
  font-size: 1rem;
  transition: transform 260ms ease, color 260ms ease;
}

.contact-action:hover {
  transform: translateY(-3px);
  border-color: var(--line-medium);
  background: color-mix(in srgb, var(--panel-strong) 86%, transparent);
  box-shadow: var(--hover-shadow);
}

.contact-action:hover::after {
  transform: translate(2px, -2px);
  color: var(--text);
}

.contact-action span {
  color: var(--text-faint);
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-action strong {
  color: var(--text);
  font-size: clamp(1rem, 1.42vw, 1.22rem);
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.contact-action--primary {
  border-color: color-mix(in srgb, var(--accent) 88%, transparent);
  background: var(--accent);
  color: var(--bg);
}

.contact-action--primary span,
.contact-action--primary strong,
.contact-action--primary::after {
  color: var(--bg);
}

.contact-action--primary span {
  opacity: 0.66;
}

.contact-quick-info {
  display: grid;
  gap: 0;
  margin: 8px 0 0;
}

.contact-quick-info div {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
}

.contact-quick-info dt,
.contact-quick-info dd {
  margin: 0;
  line-height: 1.55;
}

.contact-quick-info dt {
  color: var(--text-faint);
  font-size: 0.76rem;
}

.contact-quick-info dd {
  color: var(--text-strong);
  font-size: 0.9rem;
}

@media (max-width: 1100px) {
  .hero-grid,
  .section-grid--about,
  .experience-layout,
  .skills-showcase,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .skills-hero-card,
  .contact-panel__content {
    min-height: auto;
  }

  .skills-hero-card::before {
    font-size: clamp(7rem, 22vw, 12.5rem);
  }

  .hero-grid {
    min-height: auto;
    gap: 42px;
  }

  .hero-copy {
    padding-bottom: 0;
  }

  .hero-aside {
    min-height: 500px;
    margin-right: 0;
  }

  .hero-orb {
    width: min(720px, 96vw);
    height: clamp(420px, 58vw, 560px);
    min-height: 0;
  }

  .hero-copy h1 {
    max-width: none;
    font-size: clamp(3.9rem, 10vw, 6.2rem);
  }

  .about-visual,
  .experience-intro {
    position: static;
  }

  .about-visual {
    width: min(100%, 480px);
  }

  .about-copy {
    gap: 28px;
    padding-top: 0;
  }

  .about-heading h2 {
    font-size: clamp(2.3rem, 6.6vw, 3.7rem);
  }

  .project-dialog {
    width: min(97vw, 1320px);
    height: min(94vh, 940px);
  }

  .section-heading--projects {
    align-items: start;
  }

  .project-heading__count {
    justify-items: start;
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 280px;
  }

  .project-card.is-featured {
    grid-column: span 2;
    grid-row: span 2;
    grid-template-columns: 1fr;
  }

  .project-card:not(.is-featured) {
    grid-column: span 1;
  }

  .project-card.is-featured.is-poster {
    min-height: auto;
  }

  .project-card.is-poster .project-card__content {
    width: min(72%, 560px);
  }

}

@media (max-width: 820px) {
  .container {
    width: min(100% - 28px, 1280px);
  }

  .site-nav {
    display: none;
  }

  .hero {
    padding-top: 40px;
    padding-bottom: 62px;
  }

  .hero-kicker {
    gap: 12px;
    margin-bottom: 24px;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
  }

  .hero-kicker span {
    width: 24px;
  }

  .hero-copy h1 {
    max-width: none;
    font-size: clamp(2.55rem, 10.8vw, 4.25rem);
  }

  .hero-role {
    margin-top: 22px;
    font-size: clamp(1.05rem, 5vw, 1.35rem);
  }

  .hero-summary {
    max-width: none;
    margin-top: 22px;
    font-size: 0.94rem;
  }

  .hero-marquee__item,
  .hero-marquee__mark {
    min-height: 50px;
    font-size: 0.7rem;
  }

  .hero-marquee__item {
    padding-inline: 22px;
  }

  .hero-aside {
    min-height: 340px;
  }

  .hero-orb {
    width: min(100%, 420px);
    height: clamp(320px, 82vw, 380px);
  }

  .section-grid--about {
    gap: 36px;
  }

  .about-visual {
    width: min(100%, 360px);
    margin: 0 auto;
    border-radius: 28px;
  }

  .about-visual__ring {
    inset: 48px 28px;
  }

  .about-heading h2 {
    margin-top: 22px;
    font-size: clamp(2.05rem, 11vw, 3.1rem);
  }

  .about-story {
    gap: 18px;
    font-size: 0.98rem;
  }

  .about-copy .tag-list li {
    padding: 9px 14px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 38px;
  }

  .section-heading > div {
    width: 100%;
  }

  .section-heading h2 {
    margin-top: 20px;
    font-size: clamp(2.15rem, 8vw, 2.45rem);
    line-height: 1.04;
  }

  .section-note {
    max-width: 25rem;
    margin-top: -2px;
    font-size: 0.94rem;
    line-height: 1.72;
  }

  .project-grid,
  .skills-system-grid,
  .skills-metrics {
    grid-template-columns: 1fr;
  }

  .section-heading--skills {
    align-items: start;
    margin-bottom: 38px;
  }

  .skills-hero-card,
  .skill-system-card,
  .contact-panel,
  .contact-panel__aside {
    border-radius: 24px;
  }

  .skills-hero-card,
  .contact-panel {
    padding: 24px;
  }

  .skill-system-card {
    min-height: auto;
    padding: 26px;
  }

  .contact-panel h2 {
    font-size: clamp(2.05rem, 8vw, 2.55rem);
  }

  .contact-quick-info div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .section-heading--projects {
    margin-bottom: 42px;
  }

  .section-heading--projects h2 {
    margin-top: 22px;
    font-size: clamp(2.25rem, 8.6vw, 2.7rem);
  }

  .project-heading__count {
    display: none;
  }

  .project-grid {
    grid-auto-rows: auto;
    gap: 18px;
  }

  .project-card.is-featured,
  .project-card:not(.is-featured) {
    grid-column: span 1;
    grid-row: span 1;
  }

  .project-card.is-poster {
    height: clamp(300px, 78vw, 320px);
    min-height: 0;
    aspect-ratio: auto;
    border-radius: 26px;
  }

  .project-card.is-featured.is-poster {
    min-height: 0;
  }

  .project-card.is-poster::before {
    background:
      linear-gradient(180deg, rgba(6, 8, 12, 0.18) 0%, rgba(250, 250, 250, 0.3) 56%, rgba(250, 250, 250, 0.84) 100%),
      linear-gradient(90deg, rgba(6, 8, 12, 0.4), rgba(6, 8, 12, 0.12));
  }

  .project-card.is-poster .project-card__content {
    width: min(88%, 360px);
    padding: 104px 24px 30px;
    gap: 8px;
  }

  .project-card.is-poster .project-card__title {
    font-size: clamp(0.98rem, 4.6vw, 1.22rem);
  }

  .project-card.is-poster .project-card__meta {
    top: 32px;
    right: 24px;
    max-width: 44%;
    text-align: right;
  }

  .project-card__cover-badge {
    left: 24px;
    top: 24px;
    width: 44px;
    height: 44px;
    border-radius: 16px;
  }

  .project-card.is-poster .project-card__summary {
    display: block;
    font-size: 0.78rem;
  }

  .project-card.is-poster .project-card__cover::after {
    inset: 16px;
    border-radius: 18px;
  }

  .project-card.is-poster .project-card__footer {
    left: 22px;
    right: 22px;
    bottom: 18px;
  }

  .project-toolbar {
    align-items: start;
    flex-direction: column;
  }

  .timeline::before,
  .timeline-item__marker {
    display: none;
  }

  .timeline-item,
  .timeline-item--minimal {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .project-dialog {
    gap: 20px;
    padding: 18px;
    border-radius: 24px;
  }

  .project-dialog__intro {
    gap: 9px;
  }

  .project-dialog__meta {
    gap: 3px 7px;
    font-size: 0.78rem;
    letter-spacing: 0.035em;
  }

  .project-dialog__summary {
    line-height: 1.68;
  }

  .project-dialog__body {
    display: block;
    overflow-x: hidden;
    overflow-y: auto;
    padding-right: 2px;
    overscroll-behavior: contain;
    scrollbar-width: none;
  }

  .project-dialog__body::-webkit-scrollbar {
    width: 0;
    height: 0;
  }

  .project-dialog__content {
    min-height: 0;
    max-height: none;
    padding-right: 0;
    overflow: visible;
    scrollbar-gutter: auto;
  }

  .detail-facts {
    padding: 18px 20px;
    border-radius: 22px;
  }

  .project-dialog__content::after {
    display: none;
  }

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

  .project-dialog__actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
  }

  .dialog-nav,
  .dialog-close {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 12px;
  }

  .dialog-button__icon {
    display: block;
  }

  .dialog-button__text {
    display: none;
  }

  .project-dialog__gallery {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    margin-top: 16px;
    min-height: 0;
    overflow: visible;
  }

  .gallery-stage {
    grid-row: auto;
    min-height: 0;
    overflow: visible;
    padding: 0;
    scrollbar-gutter: auto;
  }

  .gallery-figure__title {
    font-size: 0.98rem;
  }

  .gallery-figure:first-child .gallery-figure__title {
    font-size: 1.08rem;
  }

  .gallery-thumbs {
    display: none;
  }

  .gallery-thumb {
    flex-basis: min(184px, 62vw);
  }

  .image-preview-root {
    padding: 10px;
  }

  .image-preview {
    width: 100%;
    height: 100%;
  }

  .image-preview__stage {
    padding: 40px 0 86px;
  }

  .image-preview__image {
    border-radius: 14px;
  }

  .image-preview__controls {
    bottom: 18px;
    grid-template-columns: repeat(3, 54px);
    gap: 12px;
  }

  .image-preview__button {
    width: 54px;
    height: 54px;
  }
}
