:root {
  color-scheme: dark;
  --bg: #030509;
  --panel: rgba(15, 21, 31, 0.72);
  --panel-strong: rgba(25, 32, 45, 0.86);
  --text: #f7f9fc;
  --muted: #aab4c3;
  --line: rgba(255, 255, 255, 0.12);
  --teal: #3dd6cf;
  --amber: #ffc857;
  --coral: #ff7a70;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f4f7fb;
  --panel: rgba(255, 255, 255, 0.76);
  --panel-strong: rgba(255, 255, 255, 0.92);
  --text: #101827;
  --muted: #526173;
  --line: rgba(16, 24, 39, 0.13);
  --teal: #087f7b;
  --amber: #c47b00;
  --coral: #d9574f;
  --shadow: 0 24px 70px rgba(38, 54, 79, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 16% 12%, rgba(61, 214, 207, 0.16), transparent 34rem),
    radial-gradient(circle at 82% 8%, rgba(255, 200, 87, 0.11), transparent 24rem),
    linear-gradient(155deg, #030509 0%, #080c13 45%, #020306 100%);
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

:root[data-theme="light"] body {
  background:
    radial-gradient(circle at 14% 10%, rgba(61, 214, 207, 0.18), transparent 32rem),
    radial-gradient(circle at 84% 8%, rgba(94, 124, 255, 0.16), transparent 27rem),
    linear-gradient(155deg, #f7fbff 0%, #eef4fb 48%, #ffffff 100%);
}

@media (hover: hover) and (pointer: fine) {
  body,
  a,
  button {
    cursor: none;
  }
}

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

button {
  font: inherit;
}

.constellation {
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: 0.7;
}

:root[data-theme="light"] .constellation {
  opacity: 0.28;
}

.cursor-dot,
.click-burst {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 80;
  pointer-events: none;
}

.cursor-dot {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 999px;
  background: #f7f9fc;
  box-shadow:
    0 0 12px rgba(247, 249, 252, 0.9),
    0 0 22px rgba(61, 214, 207, 0.52);
  opacity: 0;
  transform: translate3d(-50%, -50%, 0) scale(1);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.cursor-dot.is-visible {
  opacity: 1;
}

.cursor-dot.is-pressed {
  transform: translate3d(-50%, -50%, 0) scale(0.72);
}

.click-burst {
  width: 0.8rem;
  height: 0.8rem;
  border: 1px solid rgba(255, 200, 87, 0.92);
  border-radius: 999px;
  box-shadow:
    0 0 18px rgba(255, 200, 87, 0.45),
    0 0 34px rgba(61, 214, 207, 0.22);
  transform: translate3d(-50%, -50%, 0) scale(0.45);
  animation: click-burst 0.58s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.theme-dock {
  position: fixed;
  top: 46%;
  right: 0;
  z-index: 35;
  display: flex;
  align-items: center;
  transform: translateY(-50%);
}

.theme-dock__toggle {
  display: grid;
  width: 3.35rem;
  height: 3.35rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-right: 0;
  border-radius: 10px 0 0 10px;
  background: linear-gradient(135deg, #5e7cff, #4d69ff);
  color: #fff;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
}

.theme-dock__toggle svg {
  width: 1.45rem;
  height: 1.45rem;
  fill: currentColor;
}

.theme-dock__panel {
  position: absolute;
  right: calc(100% + 0.75rem);
  min-width: 11rem;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.035)),
    var(--panel-strong);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transform: translateX(0.6rem) scale(0.98);
  transform-origin: right center;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.theme-dock.is-open .theme-dock__panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0) scale(1);
}

.theme-dock__panel p {
  margin: 0 0 0.65rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.theme-dock__choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.45rem;
}

.theme-dock__choices button {
  min-height: 2.25rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--muted);
  font-weight: 800;
}

.theme-dock__choices button[aria-pressed="true"] {
  border-color: rgba(94, 124, 255, 0.45);
  background: #5e7cff;
  color: #fff;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-content: center;
  gap: 1rem;
  background: #000;
  text-align: center;
  animation: loader-failsafe 3.2s ease forwards;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.loader.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.loader__percent {
  margin: 0;
  font-size: clamp(3.8rem, 9vw, 7.4rem);
  font-weight: 800;
}

.loader__status {
  margin: 0;
  color: var(--muted);
}

.site-header {
  position: fixed;
  top: 1rem;
  left: 50%;
  z-index: 20;
  display: flex;
  width: min(94vw, 960px);
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.035) 42%, rgba(255, 255, 255, 0.075)),
    rgba(3, 5, 9, 0.54);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(255, 255, 255, 0.06),
    0 24px 70px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  transform: translateX(-50%);
  overflow: hidden;
}

.site-header::before {
  position: absolute;
  inset: 1px;
  z-index: -1;
  border-radius: inherit;
  background:
    radial-gradient(circle at 16% 0%, rgba(255, 255, 255, 0.22), transparent 22%),
    radial-gradient(circle at 78% 115%, rgba(61, 214, 207, 0.16), transparent 34%);
  content: "";
  opacity: 0.9;
}

.site-header::after {
  position: absolute;
  top: -70%;
  left: var(--glow-x, 50%);
  width: 12rem;
  height: 180%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  content: "";
  pointer-events: none;
  transform: translateX(-50%) rotate(18deg);
  transition: left 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.2s ease;
  opacity: 0.72;
}

.brand,
.nav a,
.button,
.filter-bar button {
  min-height: 2.5rem;
  border-radius: 999px;
}

.brand {
  display: grid;
  width: 2.5rem;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.72) 58%, rgba(255, 255, 255, 0.9)),
    #f7f9fc;
  color: #05070b;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 8px 18px rgba(0, 0, 0, 0.22);
}

.brand img {
  width: 74%;
  height: 74%;
  object-fit: contain;
}

.brand-name {
  margin-left: 0.55rem;
  margin-right: auto;
  background: linear-gradient(90deg, #5e7cff, #c85fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 0.96rem;
  font-weight: 800;
  white-space: nowrap;
}

.brand-name span {
  color: inherit;
}

.nav {
  --liquid-x: 0px;
  --liquid-y: 0px;
  --liquid-w: 0px;
  --liquid-h: 2.5rem;
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.2rem;
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background:
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.24), transparent 38%),
    rgba(255, 255, 255, 0.06);
  color: var(--text);
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.22),
    0 10px 22px rgba(0, 0, 0, 0.24);
}

.nav-toggle span {
  display: block;
  width: 1.05rem;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.22s ease, opacity 0.22s ease;
}

.site-header.is-menu-open .nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header.is-menu-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-menu-open .nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav a {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 0 0.95rem;
  color: var(--muted);
  font-size: 0.92rem;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav a:hover,
.nav a.is-active {
  color: var(--text);
}

.nav__liquid {
  position: absolute;
  z-index: 1;
  top: var(--liquid-y);
  left: var(--liquid-x);
  width: var(--liquid-w);
  height: var(--liquid-h);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background:
    radial-gradient(circle at 28% 12%, rgba(255, 255, 255, 0.42), transparent 24%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.08) 50%, rgba(255, 255, 255, 0.14)),
    rgba(255, 255, 255, 0.06);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -10px 18px rgba(255, 255, 255, 0.045),
    0 12px 24px rgba(0, 0, 0, 0.28);
  opacity: var(--liquid-opacity, 1);
  pointer-events: none;
  transform: translate3d(0, 0, 0) scale(var(--liquid-scale, 1));
  transition:
    left 0.48s cubic-bezier(0.16, 1, 0.3, 1),
    top 0.48s cubic-bezier(0.16, 1, 0.3, 1),
    width 0.48s cubic-bezier(0.16, 1, 0.3, 1),
    height 0.48s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.22s ease,
    opacity 0.2s ease;
}

.nav__liquid::after {
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.28), transparent 38%, rgba(61, 214, 207, 0.12));
  content: "";
  mix-blend-mode: screen;
  opacity: 0.75;
}

main {
  position: relative;
  z-index: 1;
}

.hero,
.section {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.74fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  padding: 8rem 0 4rem;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0.4rem;
  font-size: clamp(3.7rem, 8vw, 6.4rem);
  line-height: 0.88;
  white-space: nowrap;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 1;
}

.hero__copy > h2 {
  min-height: 1.15em;
  color: rgba(247, 249, 252, 0.9);
}

.caret {
  color: var(--amber);
  animation: blink 0.85s steps(2, start) infinite;
}

.hero__copy > p,
.glass-panel p,
.contact p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.hero__actions,
.link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.6rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.1rem;
  border: 1px solid var(--line);
  font-weight: 700;
}

.button--primary {
  border-color: transparent;
  background: var(--text);
  color: #05070b;
}

.button--ghost {
  color: var(--text);
}

.hero__visual {
  position: relative;
  margin: 0;
}

.hero__visual img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.section {
  padding: 5rem 0;
  scroll-margin-top: 6rem;
}

.section__intro {
  max-width: 48rem;
  margin: 0 auto 3.2rem;
  text-align: center;
}

.section__intro h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
}

.section__intro p:last-child {
  margin: 0;
  color: rgba(170, 180, 195, 0.92);
  font-size: 1.12rem;
}

.section--split {
  display: grid;
  grid-template-columns: 0.45fr 1fr;
  gap: clamp(1.5rem, 5vw, 4rem);
}

.glass-panel,
.project-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.glass-panel {
  padding: clamp(1.25rem, 4vw, 2rem);
}

.link-row a {
  border-bottom: 1px solid currentColor;
  color: var(--text);
  font-weight: 700;
}

.about-section {
  width: min(1180px, calc(100% - 2rem));
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(24rem, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.about-profile {
  display: grid;
  gap: 2rem;
}

.about-copy {
  display: grid;
  gap: 1.4rem;
}

.about-copy p {
  margin: 0;
  color: rgba(187, 204, 226, 0.88);
  font-size: 1.03rem;
  line-height: 1.72;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.about-highlight,
.credential-card {
  border: 1px solid rgba(255, 255, 255, 0.13);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025)),
    rgba(16, 25, 40, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 18px 50px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.about-highlight {
  display: flex;
  min-height: 5.1rem;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem;
  border-radius: 8px;
}

.about-highlight span {
  display: grid;
  flex: 0 0 auto;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  border-radius: 8px;
  background: rgba(61, 214, 207, 0.13);
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  box-shadow: inset 0 0 18px rgba(61, 214, 207, 0.08);
}

.about-highlight strong {
  color: rgba(247, 249, 252, 0.94);
  font-size: 0.96rem;
  line-height: 1.35;
}

.about-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  color: rgba(187, 204, 226, 0.86);
}

.about-meta a {
  display: inline-flex;
  min-height: 2.4rem;
  align-items: center;
  border-bottom: 1px solid rgba(61, 214, 207, 0.7);
  color: inherit;
  font-weight: 700;
}

.about-credentials {
  display: grid;
  gap: 2.2rem;
}

.about-block {
  display: grid;
  gap: 1rem;
}

.about-block h3 {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin: 0;
  color: var(--text);
  font-size: 1.25rem;
}

.about-block h3 span {
  display: grid;
  width: 2.05rem;
  height: 2.05rem;
  place-items: center;
  border: 1px solid rgba(61, 214, 207, 0.32);
  border-radius: 8px;
  background: rgba(61, 214, 207, 0.1);
  color: var(--teal);
  font-size: 0.78rem;
}

.credential-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.7rem 1rem;
  padding: 1.15rem;
  border-radius: 8px;
  overflow: hidden;
}

.credential-card::before {
  position: absolute;
  inset: -1px;
  background: radial-gradient(circle at 12% 0%, rgba(61, 214, 207, 0.13), transparent 28%);
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}

.credential-card:hover::before {
  opacity: 1;
}

.credential-card h4,
.credential-card p,
.credential-card time,
.tag-row {
  position: relative;
  z-index: 1;
}

.credential-card h4 {
  margin: 0 0 0.35rem;
  color: var(--text);
  font-size: 1.02rem;
}

.credential-card div > p {
  margin: 0;
  color: var(--teal);
  font-weight: 700;
}

.credential-card time {
  color: rgba(187, 204, 226, 0.82);
  font-size: 0.88rem;
  white-space: nowrap;
}

.credential-card > p {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(187, 204, 226, 0.86);
  line-height: 1.55;
}

.credential-card--compact {
  align-items: start;
}

.tag-row {
  display: flex;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.tag-row span {
  border-radius: 6px;
  padding: 0.32rem 0.55rem;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(247, 249, 252, 0.9);
  font-size: 0.82rem;
}

.section__subtitle {
  margin: -0.4rem 0 2.8rem;
  color: var(--muted);
  font-size: 1.05rem;
}

.work-title {
  max-width: 46rem;
  margin-bottom: 4rem;
  font-size: clamp(3rem, 6vw, 5.5rem);
  line-height: 0.98;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.work-card {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.025)),
    rgba(8, 12, 18, 0.92);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 20px 60px rgba(0, 0, 0, 0.38);
  opacity: 0;
  transform: translateY(22px);
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.work-card:hover {
  border-color: rgba(61, 214, 207, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 24px 70px rgba(0, 0, 0, 0.48),
    0 0 36px rgba(61, 214, 207, 0.1);
  transform: translateY(-6px);
}

.work-card__media {
  position: relative;
  min-height: 15rem;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(61, 214, 207, 0.18), rgba(255, 122, 112, 0.08)),
    #101827;
}

.work-card__media::before,
.work-card__media::after {
  position: absolute;
  content: "";
}

.work-card__media::before {
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 2.1rem 2.1rem;
  mask-image: linear-gradient(180deg, #000, transparent 92%);
  opacity: 0.78;
}

.work-card__media::after {
  inset: auto 1.4rem 1.25rem 1.4rem;
  height: 6rem;
  border-radius: 999px 999px 0 0;
  background:
    radial-gradient(circle at 50% 15%, rgba(247, 249, 252, 0.88) 0 0.24rem, transparent 0.25rem),
    radial-gradient(circle at 36% 44%, rgba(61, 214, 207, 0.8) 0 0.18rem, transparent 0.19rem),
    radial-gradient(circle at 64% 44%, rgba(255, 200, 87, 0.8) 0 0.18rem, transparent 0.19rem),
    linear-gradient(135deg, rgba(61, 214, 207, 0.18), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 -18px 50px rgba(61, 214, 207, 0.14);
}

.work-card__media--assistant {
  background:
    radial-gradient(circle at 78% 38%, rgba(255, 200, 87, 0.2), transparent 12rem),
    radial-gradient(circle at 28% 20%, rgba(61, 214, 207, 0.26), transparent 14rem),
    linear-gradient(145deg, #0f1b28, #070a10);
}

.work-card__media--assistant::after {
  inset: 4.6rem 2.5rem auto auto;
  width: 8.8rem;
  height: 8.8rem;
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, rgba(247, 249, 252, 0.95) 0 0.28rem, transparent 0.3rem),
    radial-gradient(circle at 34% 34%, rgba(61, 214, 207, 0.85) 0 0.18rem, transparent 0.2rem),
    radial-gradient(circle at 66% 36%, rgba(255, 122, 112, 0.85) 0 0.18rem, transparent 0.2rem),
    radial-gradient(circle at 45% 72%, rgba(255, 200, 87, 0.85) 0 0.18rem, transparent 0.2rem),
    conic-gradient(from 90deg, rgba(61, 214, 207, 0.4), rgba(255, 200, 87, 0.35), rgba(255, 122, 112, 0.28), rgba(61, 214, 207, 0.4));
  opacity: 0.9;
}

.work-card__media--dashboard {
  background:
    radial-gradient(circle at 20% 20%, rgba(94, 124, 255, 0.24), transparent 13rem),
    linear-gradient(150deg, #151827, #070910);
}

.work-card__media--dashboard::after {
  inset: 4.4rem 2.2rem 2rem;
  height: auto;
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(61, 214, 207, 0.74) 0 58%, transparent 58%),
    linear-gradient(90deg, rgba(255, 200, 87, 0.74) 0 74%, transparent 74%),
    linear-gradient(90deg, rgba(255, 122, 112, 0.68) 0 46%, transparent 46%),
    rgba(255, 255, 255, 0.06);
  background-size: 100% 0.55rem, 100% 0.55rem, 100% 0.55rem, 100% 100%;
  background-position: 0 26%, 0 50%, 0 74%, 0 0;
  background-repeat: no-repeat;
}

.work-card__media--portfolio {
  background:
    radial-gradient(circle at 72% 36%, rgba(200, 95, 255, 0.22), transparent 12rem),
    radial-gradient(circle at 30% 36%, rgba(61, 214, 207, 0.18), transparent 14rem),
    linear-gradient(145deg, #0b1721, #08090d);
}

.work-card__media--portfolio::after {
  inset: 3.9rem 2.5rem 2.1rem;
  height: auto;
  border-radius: 18px;
  background:
    linear-gradient(90deg, rgba(247, 249, 252, 0.85) 0 42%, transparent 42%),
    linear-gradient(90deg, rgba(61, 214, 207, 0.62) 0 68%, transparent 68%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.035));
  background-size: 100% 0.7rem, 100% 0.45rem, 100% 100%;
  background-position: 0 28%, 0 48%, 0 0;
  background-repeat: no-repeat;
}

.work-card__label,
.work-card__actions {
  position: absolute;
  z-index: 1;
}

.work-card__label {
  top: 1.4rem;
  left: 1.4rem;
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  background: rgba(3, 5, 9, 0.62);
  color: rgba(247, 249, 252, 0.95);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

.work-card__actions {
  top: 1.25rem;
  right: 1.25rem;
  display: flex;
  gap: 0.5rem;
}

.work-card__actions span {
  display: grid;
  width: 2.45rem;
  height: 2.45rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(3, 5, 9, 0.55);
  color: rgba(247, 249, 252, 0.86);
  font-size: 0.68rem;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.work-card__body {
  padding: 1.35rem;
}

.work-card__body h3 {
  margin-bottom: 0.8rem;
  color: var(--text);
  font-size: 1.35rem;
}

.work-card__body p {
  margin-bottom: 1.35rem;
  color: rgba(170, 180, 195, 0.96);
  font-size: 1rem;
  line-height: 1.62;
}

.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.work-tags span {
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 999px;
  padding: 0.34rem 0.68rem;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(170, 180, 195, 0.96);
  font-size: 0.86rem;
}

.timeline {
  --line-x: 1.95rem;
  --node-size: 1.35rem;
  position: relative;
  display: grid;
  gap: 2.5rem;
  max-width: 880px;
  margin: 0 auto;
  padding: 0.3rem 0 0.3rem 5.2rem;
}

.timeline::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--line-x);
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, #008cff, #7945ff 54%, #c14cff);
  box-shadow: 0 0 22px rgba(0, 140, 255, 0.46);
  content: "";
}

.timeline-item {
  position: relative;
  opacity: 0;
  transform: translateY(22px) scale(0.98);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-item.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.timeline-item__node {
  position: absolute;
  top: 2rem;
  left: calc((var(--line-x) - 5.2rem) - (var(--node-size) / 2) + 1px);
  width: var(--node-size);
  height: var(--node-size);
  border: 3px solid #008cff;
  border-radius: 999px;
  background: #05070b;
  box-shadow:
    0 0 0 7px rgba(0, 140, 255, 0.08),
    0 0 22px rgba(0, 140, 255, 0.65);
}

.timeline-card {
  position: relative;
  overflow: hidden;
  min-height: 14rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(18, 18, 20, 0.86);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 22px 60px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.timeline-card::before {
  position: absolute;
  inset: -1px;
  background: radial-gradient(circle at var(--card-x, 50%) var(--card-y, 0%), rgba(0, 140, 255, 0.18), transparent 32%);
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.timeline-card:hover {
  border-color: rgba(0, 140, 255, 0.38);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 24px 70px rgba(0, 0, 0, 0.46),
    0 0 42px rgba(0, 140, 255, 0.12);
  transform: translateY(-5px);
}

.timeline-card:hover::before {
  opacity: 1;
}

.timeline-card__header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.3rem;
}

.timeline-card h3 {
  margin-bottom: 0.8rem;
  color: var(--text);
  font-size: 1.35rem;
}

.timeline-card__org {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  color: var(--muted);
}

.org-mark {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  border-radius: 8px;
  background: rgba(0, 140, 255, 0.16);
  color: #4aa7ff;
  font-size: 0.78rem;
  font-weight: 800;
}

.timeline-card__date {
  flex: 0 0 auto;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(0, 140, 255, 0.13);
  color: #0090ff;
  font-weight: 800;
}

.timeline-card ul {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  color: var(--muted);
  list-style: none;
}

.timeline-card li {
  position: relative;
  padding-left: 1.45rem;
  line-height: 1.65;
}

.timeline-card li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 0.36rem;
  height: 0.36rem;
  border-radius: 999px;
  background: #0090ff;
  box-shadow: 0 0 12px rgba(0, 144, 255, 0.8);
  content: "";
}

.section__heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  justify-content: flex-end;
}

.filter-bar button {
  border: 1px solid var(--line);
  padding: 0 0.9rem;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.filter-bar button.is-active {
  background: var(--text);
  color: #05070b;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.project-card {
  min-height: 15rem;
  padding: 1.2rem;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.project-card.is-hidden {
  display: none;
}

.project-card:hover {
  transform: translateY(-4px);
}

.project-card p {
  color: var(--coral);
  font-weight: 800;
}

.project-card span {
  color: var(--muted);
  line-height: 1.7;
}

.contact-section {
  display: grid;
  width: min(1180px, calc(100% - 2rem));
  grid-template-columns: minmax(18rem, 0.82fr) minmax(24rem, 1.18fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.contact-kicker {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
  color: #5e7cff;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-kicker span {
  color: var(--teal);
  letter-spacing: 0;
}

.contact-copy h2 {
  max-width: 38rem;
  margin-bottom: 3rem;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1;
}

.contact-list {
  display: grid;
  gap: 1.65rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: var(--text);
}

.contact-item__icon {
  display: grid;
  flex: 0 0 auto;
  width: 4.35rem;
  height: 4.35rem;
  place-items: center;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #5e7cff, #4c68f6);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 16px 34px rgba(94, 124, 255, 0.28);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.contact-item__icon:hover,
.contact-item__icon[aria-expanded="true"] {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.26),
    0 18px 42px rgba(94, 124, 255, 0.38),
    0 0 0 7px rgba(94, 124, 255, 0.1);
  transform: translateY(-2px);
}

.contact-item__icon svg {
  width: 1.7rem;
  height: 1.7rem;
  fill: none;
  stroke: #fff;
  stroke-width: 1.8;
}

.contact-item__icon path {
  fill: currentColor;
  stroke: none;
}

.contact-item__details {
  animation: contact-reveal 0.24s ease both;
}

.contact-item__details[hidden] {
  display: none;
}

.contact-item small {
  display: block;
  margin-bottom: 0.35rem;
  color: rgba(170, 180, 195, 0.82);
  font-size: 1rem;
  font-weight: 700;
}

.contact-item strong {
  color: rgba(247, 249, 252, 0.94);
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  line-height: 1.3;
}

.contact-item strong a {
  color: inherit;
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
  padding: clamp(1.4rem, 4vw, 3rem);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    rgba(8, 15, 23, 0.94);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 24px 70px rgba(0, 0, 0, 0.34);
}

.contact-form label {
  display: grid;
}

.contact-form label span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input,
.contact-form select {
  min-height: 4.8rem;
  padding: 0 1.35rem;
}

.contact-form textarea {
  min-height: 12rem;
  resize: vertical;
  padding: 1.35rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(247, 249, 252, 0.72);
}

.contact-form select {
  appearance: none;
  color: rgba(247, 249, 252, 0.72);
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(247, 249, 252, 0.7) 50%),
    linear-gradient(135deg, rgba(247, 249, 252, 0.7) 50%, transparent 50%);
  background-position:
    calc(100% - 1.4rem) 50%,
    calc(100% - 1rem) 50%;
  background-size: 0.42rem 0.42rem, 0.42rem 0.42rem;
  background-repeat: no-repeat;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(94, 124, 255, 0.65);
  background-color: rgba(255, 255, 255, 0.065);
  box-shadow: 0 0 0 4px rgba(94, 124, 255, 0.12);
}

.contact-form__message {
  grid-column: 1 / -1;
}

.contact-form__submit {
  width: min(16rem, 100%);
  min-height: 4.2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #5e7cff, #4d69ff);
  color: var(--text);
  font-size: 1.08rem;
  box-shadow: 0 18px 36px rgba(94, 124, 255, 0.26);
}

:root[data-theme="light"] .site-header {
  border-color: rgba(16, 24, 39, 0.12);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.48)),
    rgba(255, 255, 255, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 22px 54px rgba(38, 54, 79, 0.13);
}

:root[data-theme="light"] .site-header::before {
  background:
    radial-gradient(circle at 16% 0%, rgba(94, 124, 255, 0.18), transparent 24%),
    radial-gradient(circle at 78% 115%, rgba(61, 214, 207, 0.14), transparent 34%);
}

:root[data-theme="light"] .brand,
:root[data-theme="light"] .button--primary,
:root[data-theme="light"] .filter-bar button.is-active {
  background: #101827;
  color: #fff;
}

:root[data-theme="light"] .nav__liquid,
:root[data-theme="light"] .about-highlight,
:root[data-theme="light"] .credential-card,
:root[data-theme="light"] .work-card,
:root[data-theme="light"] .contact-form,
:root[data-theme="light"] .footer,
:root[data-theme="light"] .glass-panel,
:root[data-theme="light"] .project-card {
  border-color: rgba(16, 24, 39, 0.11);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.5)),
    rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

:root[data-theme="light"] .hero__copy > h2,
:root[data-theme="light"] .work-card__body h3,
:root[data-theme="light"] .credential-card h4,
:root[data-theme="light"] .timeline-card h3 {
  color: var(--text);
}

:root[data-theme="light"] .hero__copy > p,
:root[data-theme="light"] .about-copy p,
:root[data-theme="light"] .credential-card > p,
:root[data-theme="light"] .work-card__body p,
:root[data-theme="light"] .contact-item small,
:root[data-theme="light"] .footer__brand p,
:root[data-theme="light"] .footer__bottom,
:root[data-theme="light"] .section__intro p:last-child {
  color: var(--muted);
}

:root[data-theme="light"] .work-card__media--assistant {
  background:
    radial-gradient(circle at 78% 38%, rgba(255, 200, 87, 0.2), transparent 12rem),
    radial-gradient(circle at 28% 20%, rgba(61, 214, 207, 0.22), transparent 14rem),
    linear-gradient(145deg, #dfefff, #f9fbff);
}

:root[data-theme="light"] .work-card__media--dashboard {
  background:
    radial-gradient(circle at 20% 20%, rgba(94, 124, 255, 0.2), transparent 13rem),
    linear-gradient(150deg, #eef3ff, #ffffff);
}

:root[data-theme="light"] .work-card__media--portfolio {
  background:
    radial-gradient(circle at 72% 36%, rgba(200, 95, 255, 0.15), transparent 12rem),
    radial-gradient(circle at 30% 36%, rgba(61, 214, 207, 0.16), transparent 14rem),
    linear-gradient(145deg, #eaf6f7, #ffffff);
}

:root[data-theme="light"] .work-card__label,
:root[data-theme="light"] .work-card__actions span {
  background: rgba(255, 255, 255, 0.76);
  color: #101827;
  border-color: rgba(16, 24, 39, 0.12);
}

:root[data-theme="light"] .work-tags span,
:root[data-theme="light"] .tag-row span {
  border-color: rgba(16, 24, 39, 0.1);
  background: rgba(16, 24, 39, 0.055);
  color: #526173;
}

:root[data-theme="light"] .contact-form input,
:root[data-theme="light"] .contact-form select,
:root[data-theme="light"] .contact-form textarea {
  background: rgba(16, 24, 39, 0.055);
  color: var(--text);
}

:root[data-theme="light"] .contact-form input::placeholder,
:root[data-theme="light"] .contact-form textarea::placeholder,
:root[data-theme="light"] .contact-form select {
  color: rgba(82, 97, 115, 0.9);
}

:root[data-theme="light"] .button--ghost,
:root[data-theme="light"] .contact-item strong {
  color: var(--text);
}

:root[data-theme="light"] .about-highlight strong,
:root[data-theme="light"] .about-meta a,
:root[data-theme="light"] .credential-card time {
  color: #101827;
}

:root[data-theme="light"] .social-row a {
  border-color: rgba(16, 24, 39, 0.14);
  background: rgba(16, 24, 39, 0.055);
  color: #101827;
}

:root[data-theme="light"] .social-row a:hover {
  background: #101827;
  color: #fff;
}

:root[data-theme="light"] .contact-form__submit {
  background: linear-gradient(135deg, #5e7cff, #4d69ff);
  color: #fff;
}

:root[data-theme="light"] .cursor-dot {
  background: #101827;
  box-shadow:
    0 0 10px rgba(16, 24, 39, 0.32),
    0 0 22px rgba(94, 124, 255, 0.34);
}

.footer {
  width: 100%;
  max-width: none;
  margin-top: 4rem;
  padding: 4rem max(1.5rem, calc((100vw - 1100px) / 2)) 2.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.02) 42%, rgba(61, 214, 207, 0.035)),
    rgba(11, 18, 30, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05),
    0 -24px 70px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  scroll-margin-top: 6rem;
}

.footer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.footer__brand strong {
  display: block;
  margin-bottom: 0.9rem;
  background: linear-gradient(90deg, #5e7cff, #c85fff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 1.35rem;
}

.footer__brand strong span {
  color: inherit;
}

.footer__brand p {
  margin: 0;
  color: rgba(247, 249, 252, 0.62);
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

.social-row a {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(247, 249, 252, 0.64);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.social-row a:hover {
  background: rgba(247, 249, 252, 0.92);
  color: #0b1220;
  transform: translateY(-2px);
}

.social-row svg {
  width: 1.15rem;
  height: 1.15rem;
  fill: currentColor;
}

.footer__bottom {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.7rem;
  padding-top: 2.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(247, 249, 252, 0.42);
  font-size: 0.88rem;
}

.footer__bottom p {
  margin: 0;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

@keyframes loader-failsafe {
  0%,
  82% {
    visibility: visible;
    opacity: 1;
  }

  100% {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }
}

@keyframes click-burst {
  100% {
    opacity: 0;
    transform: translate3d(-50%, -50%, 0) scale(5.2);
  }
}

@keyframes contact-reveal {
  0% {
    opacity: 0;
    transform: translateX(-0.45rem);
  }

  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .cursor-dot,
  .click-burst {
    display: none;
  }
}

@media (max-width: 780px) {
  .site-header {
    top: 0.65rem;
    width: min(96vw, 38rem);
    align-items: center;
    border-radius: 22px;
    overflow: visible;
  }

  .brand-name {
    max-width: calc(100vw - 10rem);
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav-toggle {
    z-index: 5;
    display: flex;
    flex: 0 0 auto;
  }

  .nav {
    position: absolute;
    top: calc(100% + 0.55rem);
    right: 0;
    display: grid;
    width: max-content;
    min-width: 8.8rem;
    max-width: calc(100vw - 2rem);
    gap: 0.25rem;
    padding: 0.55rem;
    justify-content: stretch;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    background:
      linear-gradient(135deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.035)),
      rgba(5, 8, 13, 0.72);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.18),
      0 22px 48px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(22px) saturate(170%);
    -webkit-backdrop-filter: blur(22px) saturate(170%);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top right;
    transition: opacity 0.22s ease, transform 0.22s ease;
  }

  .site-header.is-menu-open .nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .nav__liquid {
    display: none;
  }

  .nav a {
    min-height: 2.75rem;
    justify-content: flex-start;
    padding: 0 0.95rem;
    border-radius: 12px;
    font-size: 0.96rem;
  }

  .nav a:hover,
  .nav a.is-active {
    background: rgba(255, 255, 255, 0.1);
  }

  .hero,
  .section--split {
    grid-template-columns: 1fr;
  }

  .section__intro {
    margin-bottom: 2.2rem;
    text-align: left;
  }

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

  .about-layout {
    gap: 2.5rem;
  }

  .work-title {
    margin-bottom: 2rem;
    font-size: clamp(2.6rem, 14vw, 4rem);
  }

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

  .work-card__media {
    min-height: 13rem;
  }

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

  .contact-copy h2 {
    margin-bottom: 2rem;
    font-size: clamp(2.8rem, 14vw, 4rem);
  }

  .contact-item {
    align-items: flex-start;
  }

  .contact-item__icon {
    width: 3.7rem;
    height: 3.7rem;
  }

  .contact-form__submit {
    width: 100%;
  }

  .theme-dock {
    top: auto;
    right: 0;
    bottom: 5rem;
    transform: none;
  }

  .theme-dock__toggle {
    width: 3rem;
    height: 3rem;
  }

  .theme-dock__panel {
    right: calc(100% + 0.5rem);
  }

  .credential-card {
    grid-template-columns: 1fr;
  }

  .credential-card time {
    white-space: normal;
  }

  .hero {
    padding-top: 8.5rem;
  }

  .hero__visual {
    max-width: 25rem;
  }

  h1 {
    font-size: clamp(3.3rem, 18vw, 5.8rem);
    white-space: normal;
  }

  .section__heading-row {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .timeline {
    --line-x: 0.7rem;
    gap: 1.4rem;
    padding-left: 2.7rem;
  }

  .timeline::before {
    left: var(--line-x);
  }

  .timeline-item__node {
    left: calc((var(--line-x) - 2.7rem) - (var(--node-size) / 2) + 1px);
  }

  .timeline-card__header {
    flex-direction: column;
  }

  .footer__top,
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__bottom {
    align-items: center;
  }

  .social-row {
    justify-content: flex-start;
  }
}
