:root {
  color-scheme: light;
  --background: #f6f3ed;
  --surface: #fffdf8;
  --surface-strong: #ffffff;
  --text: #191b1f;
  --muted: #60636b;
  --line: #dcd8cf;
  --accent: #f05a3c;
  --accent-strong: #ca3d24;
  --accent-soft: #fbded5;
  --accent-on-soft: #b23520;
  --blue: #3867d6;
  --shadow: 0 22px 60px rgba(41, 34, 27, 0.12);
  --radius-small: 0.75rem;
  --radius-medium: 1.25rem;
  --radius-large: 2rem;
  --container: 72rem;
}

html[data-theme="dark"] {
  color-scheme: dark;
  --background: #111318;
  --surface: #181b22;
  --surface-strong: #20242c;
  --text: #f6f3ed;
  --muted: #b3b6bf;
  --line: #343842;
  --accent: #ff795f;
  --accent-strong: #ff9a86;
  --accent-soft: #40241f;
  --accent-on-soft: #ff9a86;
  --blue: #7fa1ff;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.32);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 1rem;
  left: 1rem;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-small);
  background: var(--text);
  color: var(--background);
  transform: translateY(-180%);
}

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

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin-inline: auto;
}

.section {
  padding-block: clamp(4.5rem, 9vw, 8rem);
}

.section-muted {
  background: var(--surface);
}

.eyebrow {
  margin: 0 0 0.85rem;
  color: var(--accent-strong);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  line-height: 1.08;
  letter-spacing: -0.04em;
}

h1 {
  max-width: 13ch;
  margin-bottom: 1.5rem;
  font-size: clamp(2.8rem, 7vw, 5.7rem);
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2.2rem, 5vw, 4rem);
}

h3 {
  margin-bottom: 0.75rem;
  font-size: 1.65rem;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  bottom: 0;
  left: 0;
  width: 15rem;
  border-right: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
  background: color-mix(in srgb, var(--background) 88%, transparent);
  backdrop-filter: blur(14px);
}

.header-inner,
.header-actions,
.primary-navigation,
.footer-inner {
  display: flex;
  align-items: center;
}

.header-inner {
  width: 100%;
  height: 100%;
  align-items: flex-start;
  flex-direction: column;
  padding-block: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  margin-left: 0.75rem;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  background: var(--text);
  color: var(--background);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  place-items: center;
}

.header-actions {
  position: relative;
  width: 100%;
  flex: 1;
  align-items: flex-start;
  flex-direction: column;
  gap: 0;
  margin-top: 2.5rem;
}

.primary-navigation {
  position: relative;
  z-index: 1;
  width: 100%;
  align-items: stretch;
  flex-direction: column;
  gap: 0.35rem;
}

.primary-navigation a,
.site-footer a {
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
}

.primary-navigation a {
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-small);
}

.primary-navigation a:hover {
  background: var(--accent-soft);
}

.primary-navigation a:hover,
.site-footer a:hover {
  color: var(--accent-strong);
}

.icon-button {
  display: grid;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  place-items: center;
}

.icon-button:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
}

.menu-toggle {
  display: none;
}

.sidebar-feature {
  position: relative;
  isolation: isolate;
  display: flex;
  overflow: hidden;
  width: 100%;
  min-height: 0;
  flex: 1 1 auto;
  align-items: flex-end;
  margin-top: -3.25rem;
  margin-bottom: -1.5rem;
  padding: clamp(7rem, 20vh, 11rem) 0.75rem 6rem;
}

.sidebar-feature::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      var(--background) 0%,
      color-mix(in srgb, var(--background) 92%, transparent) 18%,
      color-mix(in srgb, var(--background) 48%, transparent) 42%,
      transparent 68%
    ),
    linear-gradient(
      to right,
      color-mix(in srgb, var(--background) 68%, transparent),
      color-mix(in srgb, var(--background) 16%, transparent)
    );
  content: "";
}

.sidebar-feature-art {
  position: absolute;
  z-index: -2;
  inset: 0 -1rem -1.5rem;
  background-position: center;
  background-size: cover;
  filter: blur(4px) saturate(0.7);
  opacity: 0.38;
  transform: translateY(1.5rem) scale(1.08);
}

html[data-theme="dark"] .sidebar-feature-art {
  opacity: 0.55;
}

.sidebar-feature-content {
  width: 100%;
  text-shadow: 0 1px 14px var(--background);
}

.sidebar-feature-label {
  margin-bottom: 0.35rem;
  color: var(--accent-strong);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sidebar-feature-text {
  margin-bottom: 0.7rem;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.45;
}

.sidebar-feature-link {
  display: inline-flex;
  min-height: 2.25rem;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0;
  border-bottom: 1px solid currentColor;
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 800;
  text-decoration: none;
}

.sidebar-feature-link:hover {
  color: var(--accent-strong);
}

.theme-toggle {
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 0.75rem;
  margin-top: 0;
}

main,
.site-footer {
  margin-left: 15rem;
}

.hero {
  overflow: clip;
  padding-top: clamp(4rem, 8vw, 7rem);
}

.hero-grid {
  display: grid;
  align-items: start;
  gap: clamp(3rem, 8vw, 7rem);
  grid-template-columns: minmax(0, 1.15fr) minmax(20rem, 0.85fr);
}

.hero h1 {
  font-size: clamp(2.8rem, 5.5vw, 5rem);
}

.hero .eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}

.hero-intro {
  max-width: 42rem;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: clamp(1.125rem, 1.5vw, 1.3rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.button {
  display: inline-flex;
  min-height: 3.15rem;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background-position: 0% 50%;
  background-size: 220% 100%;
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
  transition:
    border-color 300ms ease,
    background-color 300ms ease,
    background-position 420ms ease,
    color 300ms ease;
}

.button-primary {
  background-color: var(--text);
  background-image: linear-gradient(
    110deg,
    var(--text) 0%,
    var(--text) 45%,
    var(--accent) 55%,
    var(--accent) 100%
  );
  color: var(--background);
}

.button-primary:hover {
  background-color: var(--accent);
  background-position: 100% 50%;
  color: #ffffff;
}

.button-secondary {
  border-color: var(--line);
  background-color: var(--surface);
  background-image: linear-gradient(
    110deg,
    var(--surface) 0%,
    var(--surface) 45%,
    var(--accent-soft) 55%,
    var(--accent-soft) 100%
  );
}

.button-secondary:hover {
  border-color: var(--accent);
  background-position: 100% 50%;
}

.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.skill-list li,
.project-status {
  padding: 0.45rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 750;
}

.hero-art {
  position: sticky;
  top: 2rem;
  width: 100%;
  min-height: 31rem;
  align-self: start;
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  background:
    radial-gradient(circle at 50% 45%, var(--accent-soft), transparent 38%),
    linear-gradient(145deg, var(--surface), var(--surface-strong));
  box-shadow: var(--shadow);
}

.orbit {
  position: absolute;
  inset: 50% auto auto 50%;
  border: 1px solid var(--line);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%) rotate(-20deg);
}

.orbit-one {
  width: 76%;
  height: 44%;
}

.orbit-two {
  width: 46%;
  height: 78%;
  transform: translate(-50%, -50%) rotate(35deg);
}

.orbit-node {
  position: absolute;
  z-index: 1;
  left: 100%;
  top: 50%;
  width: 0.58rem;
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--accent) 72%, #ffffff);
  border-radius: 50%;
  background: var(--accent);
  box-shadow:
    0 0 0 0.28rem color-mix(in srgb, var(--accent) 12%, transparent),
    0 0 1rem color-mix(in srgb, var(--accent) 55%, transparent);
  transform: translate(-50%, -50%);
  animation: hero-orbit-node 18s linear infinite;
}

.orbit-node-companion {
  width: 0.38rem;
  border-color: color-mix(in srgb, var(--text) 42%, var(--line));
  background: color-mix(in srgb, var(--text) 58%, var(--accent));
  box-shadow: 0 0 0.75rem color-mix(in srgb, var(--text) 24%, transparent);
}

.orbit-one .orbit-node-companion {
  left: 0;
  animation-delay: -9s;
}

.orbit-two .orbit-node-primary {
  left: 85.355%;
  top: 85.355%;
  animation-delay: -2.1s;
}

.orbit-two .orbit-node-companion {
  left: 14.645%;
  top: 14.645%;
  animation-delay: -11.1s;
}

@supports (offset-path: ellipse(50% 50% at 50% 50%)) {
  .orbit-node {
    left: 0;
    top: 0;
    offset-anchor: center;
    offset-path: ellipse(50% 50% at 50% 50%);
    offset-rotate: 0deg;
    transform: none;
  }

  @keyframes hero-orbit-node {
    from {
      offset-distance: 0%;
    }

    to {
      offset-distance: 100%;
    }
  }
}

.art-card {
  position: absolute;
  display: flex;
  min-width: 8.5rem;
  flex-direction: column;
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
  background: color-mix(in srgb, var(--surface-strong) 72%, transparent);
  box-shadow: 0 12px 30px color-mix(in srgb, var(--background) 26%, transparent);
  pointer-events: none;
  user-select: none;
}

.art-card span {
  color: var(--accent-strong);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.art-card strong {
  font-size: 1.4rem;
}

.art-card-model {
  top: 12%;
  left: 10%;
  transform: rotate(-4deg);
}

.art-card-game {
  z-index: 2;
  top: 39%;
  left: 38%;
  transform: scale(1.12) rotate(2deg);
}

.art-card-code {
  right: 8%;
  bottom: 10%;
  transform: rotate(5deg);
}

.hero-art.has-card-motion .art-card {
  opacity: 0;
}

.hero-art.is-card-motion-ready .art-card-model {
  animation: hero-model-card-in 680ms cubic-bezier(0.22, 1, 0.36, 1) 100ms forwards;
}

.hero-art.is-card-motion-ready .art-card-game {
  animation: hero-game-card-in 720ms cubic-bezier(0.22, 1, 0.36, 1) 200ms forwards;
}

.hero-art.is-card-motion-ready .art-card-code {
  animation: hero-code-card-in 680ms cubic-bezier(0.22, 1, 0.36, 1) 420ms forwards;
}

@keyframes hero-model-card-in {
  from {
    opacity: 0;
    transform: translateY(-2.25rem) rotate(-4deg);
  }

  to {
    opacity: 1;
    transform: translateY(0) rotate(-4deg);
  }
}

@keyframes hero-game-card-in {
  from {
    opacity: 0;
    transform: translateY(-2.75rem) scale(1.12) rotate(2deg);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1.12) rotate(2deg);
  }
}

@keyframes hero-code-card-in {
  from {
    opacity: 0;
    transform: translateY(-2.25rem) rotate(5deg);
  }

  to {
    opacity: 1;
    transform: translateY(0) rotate(5deg);
  }
}

.section-heading {
  display: grid;
  align-items: end;
  gap: 2rem;
  margin-bottom: 3rem;
  grid-template-columns: 1.2fr 0.8fr;
}

.section-heading p:last-child,
.project-content > p:last-of-type,
.about-copy,
.contact-card > p:not(.eyebrow) {
  color: var(--muted);
}

.project-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, 1fr);
}

.project-card {
  display: flex;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
  background: var(--surface-strong);
  transition:
    border-color 300ms ease,
    box-shadow 300ms ease,
    transform 300ms ease;
}

.project-visual {
  display: grid;
  min-height: 16rem;
  place-items: center;
}

.project-image {
  display: block;
  width: 100%;
  height: 16rem;
  object-fit: cover;
}

.visual-horror {
  background: linear-gradient(145deg, #815c73, #271f36);
}

.visual-repair {
  background: linear-gradient(145deg, #e3aa55, #b34d4d);
}

.visual-server {
  background: linear-gradient(145deg, #68c7a2, #23645d);
}

.wireframe-shape {
  width: 7.5rem;
  height: 7.5rem;
  border: 2px solid rgba(255, 255, 255, 0.8);
  transform: rotate(30deg) skew(-8deg);
  box-shadow: 1rem 1rem 0 rgba(255, 255, 255, 0.18);
}

.game-shape,
.code-shape {
  color: rgba(255, 255, 255, 0.92);
  font-size: 5rem;
  font-weight: 800;
}

.project-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.5rem;
}

.project-number {
  margin-bottom: 1rem;
  color: var(--accent-strong);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.project-status {
  display: inline-block;
  margin-top: 0;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1.25rem 0 0.8rem;
  padding: 0;
  list-style: none;
}

.project-tags li {
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-on-soft);
  font-size: 0.72rem;
  font-weight: 800;
}

.project-link {
  display: inline-flex;
  min-height: 2.75rem;
  gap: 0.35rem;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--text);
  border-radius: 999px;
  background-color: var(--text);
  background-image: linear-gradient(
    110deg,
    var(--text) 0%,
    var(--text) 45%,
    var(--accent) 55%,
    var(--accent) 100%
  );
  background-position: 0% 50%;
  background-size: 220% 100%;
  color: var(--background);
  font-size: 0.86rem;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  transition:
    border-color 300ms ease,
    background-color 300ms ease,
    background-position 420ms ease,
    color 300ms ease;
}

.project-link:hover {
  border-color: var(--accent);
  background-color: var(--accent);
  background-position: 100% 50%;
  color: #ffffff;
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

.skill-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, 1fr);
}

.skill-card {
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
  background: var(--surface);
  transition:
    border-color 300ms ease,
    box-shadow 300ms ease,
    transform 300ms ease;
}

.skill-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.skill-number {
  margin-bottom: 2.5rem;
  color: var(--accent-strong);
  font-size: 0.75rem;
  font-weight: 800;
}

.about-grid {
  display: grid;
  gap: clamp(2rem, 8vw, 7rem);
  grid-template-columns: 0.8fr 1.2fr;
}

.about-copy {
  font-size: clamp(1.05rem, 2vw, 1.22rem);
}

.background-grid {
  display: grid;
  align-items: start;
  gap: clamp(2rem, 6vw, 5rem);
  grid-template-columns: minmax(0, 1.5fr) minmax(17rem, 0.5fr);
}

.subsection-title {
  margin-bottom: 1.5rem;
}

.timeline {
  position: relative;
  margin: 0;
  padding: 0 0 0 1.6rem;
  border-left: 1px solid var(--line);
  list-style: none;
}

.timeline li {
  position: relative;
  padding: 0 0 2rem 1rem;
}

.timeline li:last-child {
  padding-bottom: 0;
}

.timeline li::before {
  position: absolute;
  top: 0.45rem;
  left: -2rem;
  width: 0.7rem;
  height: 0.7rem;
  border: 3px solid var(--surface);
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
  content: "";
}

.timeline-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.timeline h4 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.35;
}

.timeline-heading span,
.education-card > span {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
}

.timeline-organization {
  margin: 0.15rem 0 0.45rem;
  color: var(--accent-strong);
  font-size: 0.86rem;
  font-weight: 750;
}

.timeline li > p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.education-card {
  position: sticky;
  top: 2rem;
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
}

.education-card p:not(.eyebrow) {
  margin-bottom: 0.4rem;
  color: var(--muted);
}

.contact-section {
  padding-top: 0;
}

.contact-card {
  padding: clamp(2rem, 6vw, 5rem);
  border-radius: var(--radius-large);
  background: var(--text);
  color: var(--background);
  text-align: center;
}

.contact-card > p:not(.eyebrow) {
  max-width: 40rem;
  margin-inline: auto;
  color: color-mix(in srgb, var(--background) 75%, transparent);
}

.contact-card .eyebrow {
  color: var(--accent);
}

.contact-button {
  margin-top: 1rem;
  background: var(--background);
  color: var(--text);
}

.contact-button:hover {
  background: var(--accent);
  color: #ffffff;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.contact-button-secondary {
  border-color: color-mix(in srgb, var(--background) 32%, transparent);
  background: transparent;
  color: var(--background);
}

.contact-email {
  display: block;
  margin-top: 0.8rem;
  color: color-mix(in srgb, var(--background) 72%, transparent);
  font-size: 0.86rem;
}

.detail-hero {
  padding-top: clamp(4.5rem, 8vw, 7rem);
}

.detail-heading h1 {
  max-width: 18ch;
  margin-bottom: 1.5rem;
  font-size: clamp(2.8rem, 6vw, 5.2rem);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 2.5rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
}

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

.detail-intro {
  max-width: 48rem;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.project-gallery {
  display: grid;
  gap: 1rem;
}

.media-carousel {
  position: relative;
}

.media-carousel-stage {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  background: #0d0f13;
  box-shadow: var(--shadow);
}

.media-carousel-content {
  display: block;
  width: 100%;
  height: 100%;
  background: #0d0f13;
  backface-visibility: hidden;
  object-fit: contain;
}

.media-carousel-content[hidden] {
  display: none;
}

.media-carousel-caption {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: clamp(14rem, 23vw, 17rem);
  padding: clamp(3rem, 8vw, 6rem) clamp(1.25rem, 4vw, 2.25rem) clamp(1.25rem, 4vw, 2rem);
  background: linear-gradient(transparent, rgba(5, 6, 9, 0.9));
  color: #ffffff;
  pointer-events: none;
}

.media-carousel-caption h3 {
  margin-bottom: 0.4rem;
  font-size: clamp(1.25rem, 3vw, 2rem);
}

.media-carousel-caption p {
  max-width: 43rem;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.media-carousel-kind {
  margin-bottom: 0.35rem !important;
  color: #ff9a86 !important;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.media-carousel-panel {
  position: absolute;
  z-index: 3;
  top: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: flex;
  overflow: hidden;
  width: clamp(11rem, 19vw, 13.5rem);
  flex-direction: column;
  padding: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-medium);
  background: rgba(9, 11, 15, 0.76);
  color: #ffffff;
  backdrop-filter: blur(12px);
}

@media (min-width: 68.0625rem) and (hover: hover) and (pointer: fine) {
  .media-carousel-caption {
    left: 0;
    padding-left: clamp(5rem, 8vw, 6.5rem);
    transition: padding-left 220ms ease;
  }

  .media-carousel-panel {
    width: 2.75rem;
    padding: 0;
    border-color: rgba(255, 255, 255, 0.14);
    background: rgba(9, 11, 15, 0.48);
    backdrop-filter: blur(6px);
    transition: width 220ms ease, padding 220ms ease, background-color 220ms ease,
      border-color 220ms ease, backdrop-filter 220ms ease;
  }

  .media-carousel-panel::after {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    display: grid;
    width: 2.75rem;
    content: "Previews";
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    pointer-events: none;
    text-transform: uppercase;
    opacity: 0.72;
    transition: opacity 140ms ease;
    writing-mode: vertical-rl;
    place-items: center;
  }

  .media-carousel-panel-heading,
  .media-carousel-rail {
    min-width: calc(clamp(11rem, 19vw, 13.5rem) - 1.3rem);
    opacity: 0;
    pointer-events: none;
    transition: opacity 120ms ease;
  }

  .media-carousel-panel:hover,
  .media-carousel-panel:focus-within {
    width: clamp(11rem, 19vw, 13.5rem);
    padding: 0.65rem;
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(9, 11, 15, 0.82);
    backdrop-filter: blur(12px);
  }

  .media-carousel-panel:hover::after,
  .media-carousel-panel:focus-within::after {
    opacity: 0;
  }

  .media-carousel-panel:hover > *,
  .media-carousel-panel:focus-within > * {
    opacity: 1;
    pointer-events: auto;
    transition-delay: 80ms;
  }

  .media-carousel:has(.media-carousel-panel:hover) .media-carousel-caption,
  .media-carousel:has(.media-carousel-panel:focus-within) .media-carousel-caption {
    padding-left: clamp(15rem, 24vw, 18rem);
  }
}

.media-carousel-panel-heading,
.media-carousel-arrows {
  display: flex;
  align-items: center;
}

.media-carousel-panel-heading {
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.2rem 0.2rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.media-carousel-arrows {
  gap: 0.35rem;
}

.media-carousel-arrows button {
  display: grid;
  width: 2.5rem;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  cursor: pointer;
  place-items: center;
}

.media-carousel-arrows button:hover {
  border-color: var(--accent);
  background: var(--accent);
}

.media-carousel-rail {
  position: relative;
  display: grid;
  overflow-y: auto;
  gap: 0.55rem;
  padding: 0.1rem 0.2rem 0.2rem;
  overscroll-behavior: contain;
  scrollbar-color: rgba(255, 255, 255, 0.4) transparent;
  --selection-indicator-radius: 0.8rem;
}

.media-carousel-thumb {
  display: grid;
  overflow: hidden;
  flex: 0 0 auto;
  gap: 0.45rem;
  padding: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.8rem;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  cursor: pointer;
  scroll-snap-align: start;
  text-align: left;
}

.media-carousel-thumb:hover,
.media-carousel-thumb.is-active {
  border-color: var(--accent);
  background: rgba(240, 90, 60, 0.18);
}

.media-carousel-thumb.is-active {
  box-shadow: inset 0 0 0 1px var(--accent);
}

.media-carousel-thumb img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 0.55rem;
  background: #15171c;
  object-fit: cover;
}

.media-carousel-thumb span {
  display: grid;
  padding-inline: 0.15rem;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.25;
}

.media-carousel-thumb small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.media-support-note {
  max-width: 52rem;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.showcase-stage {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  background: #15171c;
  box-shadow: var(--shadow);
}

.showcase-media {
  display: block;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  object-fit: contain;
}

.gallery-image-stage .showcase-media {
  object-fit: cover;
}

model-viewer.showcase-media {
  position: absolute;
  inset: 0;
  --poster-color: #15171c;
  background: #15171c;
}

model-viewer.is-viewer-hidden {
  display: none !important;
}

model-viewer.is-viewer-loading {
  opacity: 0;
  pointer-events: none;
}

.showcase-overlay {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1rem, 3vw, 1.5rem);
  background: linear-gradient(transparent, rgba(8, 9, 12, 0.92));
  color: #ffffff;
}

.showcase-stage.is-image-mode .showcase-overlay,
.showcase-stage.is-model-ready .showcase-overlay {
  display: none;
}

.model-close-button {
  position: absolute;
  z-index: 5;
  top: 1rem;
  right: 1rem;
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: rgba(8, 9, 12, 0.82);
  color: #ffffff;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 800;
}

.model-close-button:hover {
  background: var(--accent);
}

.model-close-button[hidden],
.showcase-stage.is-image-mode .model-close-button {
  display: none !important;
}

.showcase-load {
  flex: 0 0 auto;
}

.showcase-load:disabled {
  cursor: wait;
  opacity: 0.75;
}

.showcase-status {
  max-width: 31rem;
  margin: 0;
  font-size: 0.84rem;
  text-align: right;
}

.loading-dots {
  display: inline-flex;
  align-items: center;
  gap: 0.22rem;
  margin-left: 0.45rem;
  vertical-align: middle;
}

.loading-dots span {
  width: 0.34rem;
  height: 0.34rem;
  border-radius: 50%;
  background: currentColor;
  animation: model-loading-dot 780ms ease-in-out infinite;
}

.loading-dots span:nth-child(2) {
  animation-delay: 110ms;
}

.loading-dots span:nth-child(3) {
  animation-delay: 220ms;
}

@keyframes model-loading-dot {
  0%,
  60%,
  100% {
    transform: translateY(0);
  }

  30% {
    transform: translateY(-0.28rem);
  }
}

.showcase-noscript {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  margin: 0;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-small);
  background: rgba(8, 9, 12, 0.88);
  color: #ffffff;
}

.gallery-thumbnails {
  position: relative;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(9rem, 1fr));
  --selection-indicator-radius: var(--radius-small);
}

.has-selection-indicator > button {
  position: relative;
  z-index: 1;
}

.media-selection-indicator {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  border: 2px solid var(--accent);
  border-radius: var(--selection-indicator-radius, var(--radius-small));
  box-shadow: 0 0 0 1px rgba(240, 90, 60, 0.12), 0 0 1.1rem rgba(240, 90, 60, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(var(--indicator-x, 0), var(--indicator-y, 0), 0);
  transition:
    width 280ms cubic-bezier(0.22, 1, 0.36, 1),
    height 280ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 120ms ease,
    transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.media-selection-indicator.is-ready {
  opacity: 1;
}

.media-selection-indicator.without-transition {
  transition: none;
}

.has-selection-indicator .media-carousel-thumb.is-active,
.has-selection-indicator .gallery-thumb.is-active {
  box-shadow: none;
}

.gallery-thumb {
  display: grid;
  overflow: hidden;
  min-height: 4.25rem;
  grid-template-columns: 5rem minmax(0, 1fr);
  align-items: center;
  gap: 0.75rem;
  padding: 0.45rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--surface-strong);
  color: var(--text);
  cursor: pointer;
  text-align: left;
}

.gallery-thumb[hidden] {
  display: none;
}

.gallery-thumb:hover,
.gallery-thumb.is-active {
  border-color: var(--accent);
}

.gallery-thumb.is-active {
  box-shadow: inset 0 0 0 1px var(--accent);
}

.gallery-thumb img {
  width: 5rem;
  height: 3.35rem;
  border-radius: 0.5rem;
  object-fit: cover;
}

.gallery-thumb span {
  overflow-wrap: anywhere;
  font-size: 0.82rem;
  font-weight: 800;
}

.detail-content-grid {
  display: grid;
  align-items: start;
  gap: clamp(2rem, 7vw, 6rem);
  grid-template-columns: minmax(0, 1.25fr) minmax(18rem, 0.75fr);
}

.detail-copy {
  max-width: 47rem;
  color: var(--muted);
  font-size: 1.08rem;
}

.responsibility-list {
  display: grid;
  gap: 0.8rem;
  margin: 1.75rem 0 0;
  padding: 0;
  list-style: none;
}

.responsibility-list li {
  position: relative;
  padding-left: 1.75rem;
}

.responsibility-list li::before {
  position: absolute;
  top: 0.72rem;
  left: 0;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.detail-callout,
.case-study-card {
  padding: clamp(1.4rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
  background: var(--surface-strong);
}

.detail-callout {
  box-shadow: var(--shadow);
}

.detail-callout-sticky {
  position: sticky;
  top: 2rem;
}

.detail-callout p:last-child {
  margin-bottom: 0;
}

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

.fact-list {
  display: grid;
  gap: 0.65rem;
  margin: 1.5rem 0 0;
}

.fact-list div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--line);
}

.fact-list dt {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 750;
}

.fact-list dd {
  margin: 0;
  font-size: 0.8rem;
  font-weight: 800;
  text-align: right;
}

.project-next {
  padding-top: 0;
}

.term-button {
  display: inline;
  margin: 0;
  padding: 0 0.08em;
  border: 0;
  border-bottom: 1px dotted currentColor;
  background: transparent;
  color: inherit;
  cursor: help;
  font: inherit;
  font-weight: inherit;
  line-height: inherit;
}

.term-button:hover,
.term-button[aria-expanded="true"] {
  border-bottom-style: solid;
  color: var(--accent-strong);
}

.term-button-inline {
  vertical-align: baseline;
}

.term-hint {
  max-width: 46rem;
  margin-bottom: 1.25rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.term-popover {
  position: fixed;
  z-index: 100;
  width: min(20rem, calc(100vw - 1.5rem));
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-small);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
  color: var(--text);
  pointer-events: none;
}

.term-popover[hidden] {
  display: none;
}

.term-popover strong {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--accent-strong);
}

.term-popover p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.model-library-promo {
  display: grid;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.model-library-promo > img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: var(--radius-large);
  background: #15171c;
  box-shadow: var(--shadow);
  object-fit: contain;
}

.model-library-promo > div > p:not(.eyebrow) {
  color: var(--muted);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(1.1rem);
  transition:
    opacity 520ms ease var(--reveal-delay, 0ms),
    transform 1000ms cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
    border-color 300ms ease,
    box-shadow 300ms ease;
}

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

[data-reveal="right"] {
  transform: translateX(1.4rem);
}

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

@media (hover: hover) and (pointer: fine) {
  .project-card:hover,
  .skill-card:hover {
    border-color: color-mix(in srgb, var(--accent) 58%, var(--line));
    box-shadow: 0 18px 42px color-mix(in srgb, var(--background) 24%, transparent);
    transform: translateY(-0.3rem);
  }
}

.model-selector {
  display: grid;
  overflow-x: auto;
  grid-auto-columns: minmax(13rem, 18rem);
  grid-auto-flow: column;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 0.15rem 0.15rem 0.65rem;
  scroll-snap-type: x proximity;
  scrollbar-color: var(--line) transparent;
}

.model-selector-card {
  display: grid;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
  background: var(--surface-strong);
  color: var(--text);
  cursor: pointer;
  scroll-snap-align: start;
  text-align: left;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.model-selector-card:hover,
.model-selector-card.is-active {
  border-color: var(--accent);
  transform: translateY(-0.2rem);
}

.model-selector-card.is-active {
  box-shadow: inset 0 0 0 1px var(--accent), var(--shadow);
}

.model-selector-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #15171c;
  object-fit: contain;
}

.model-selector-card span {
  display: grid;
  gap: 0.15rem;
  padding: 0.9rem 1rem 1rem;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.25;
}

.model-selector-card small {
  color: var(--accent-strong);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.model-detail-panel {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
  background: var(--surface-strong);
  grid-template-columns: minmax(16rem, 0.85fr) minmax(0, 1.15fr);
}

.model-detail-panel > img {
  width: 100%;
  height: 100%;
  min-height: 23rem;
  background: #15171c;
  object-fit: contain;
}

.model-detail-content {
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.model-detail-content > p {
  color: var(--muted);
}

.model-detail-note {
  font-size: 0.9rem;
}

.model-catalog-grid {
  display: grid;
  gap: 1.25rem;
}

.model-catalog-card {
  display: grid;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-medium);
  background: var(--surface-strong);
  grid-template-columns: minmax(16rem, 0.85fr) minmax(0, 1.15fr);
}

.model-catalog-card > img {
  width: 100%;
  height: 100%;
  min-height: 23rem;
  background: #15171c;
  object-fit: contain;
}

.model-catalog-content {
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.model-catalog-content > p:not(.project-number) {
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--line);
}

.footer-inner {
  min-height: 6rem;
  justify-content: space-between;
}

.footer-inner p {
  margin: 0;
  color: var(--muted);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

@media (min-width: 68.0625rem) and (max-width: 100rem),
  (min-width: 68.0625rem) and (max-height: 56rem) {
  .hero {
    padding-top: clamp(3.5rem, 5vw, 5rem);
    padding-bottom: clamp(4rem, 6vw, 6rem);
  }

  .hero-grid {
    gap: clamp(2.5rem, 4vw, 4rem);
    grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.9fr);
  }

  .hero h1 {
    font-size: clamp(3rem, 5vw, 4.6rem);
  }

  .hero-art {
    min-height: 26rem;
  }
}

@media (max-width: 68rem) {
  [data-reveal],
  [data-reveal="left"],
  [data-reveal="right"] {
    transform: translateY(0.8rem);
  }

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

  section[id] {
    scroll-margin-top: 5.25rem;
  }

  .site-header {
    position: sticky;
    right: auto;
    bottom: auto;
    width: auto;
    border-right: 0;
  }

  .header-inner {
    width: min(calc(100% - 2rem), var(--container));
    height: auto;
    min-height: 4.75rem;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    padding-block: 0;
  }

  .header-actions {
    width: auto;
    flex: initial;
    align-items: center;
    flex-direction: row;
    gap: 0.75rem;
    margin-top: 0;
  }

  .brand {
    margin-left: 0;
  }

  .primary-navigation {
    width: auto;
    align-items: center;
    flex-direction: row;
    gap: clamp(1rem, 3vw, 2.25rem);
  }

  .primary-navigation a {
    padding: 0;
  }

  .primary-navigation a:hover {
    background: transparent;
  }

  .sidebar-feature {
    display: none;
  }

  .theme-toggle {
    position: static;
    left: auto;
    margin-top: 0;
  }

  main,
  .site-footer {
    margin-left: 0;
  }

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

  .hero-art {
    position: relative;
    top: auto;
    min-height: 25rem;
    align-self: stretch;
  }

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

  .project-card:last-child {
    grid-column: 1 / -1;
  }

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

  .skill-card:last-child {
    grid-column: 1 / -1;
  }

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

  .detail-content-grid {
    grid-template-columns: 1fr;
  }

  .detail-callout-sticky {
    position: static;
  }

  .model-library-promo,
  .model-catalog-card,
  .model-detail-panel {
    grid-template-columns: 1fr;
  }

  .model-catalog-card > img,
  .model-detail-panel > img {
    min-height: auto;
    aspect-ratio: 16 / 9;
  }

  .media-carousel {
    display: grid;
    gap: 0.85rem;
  }

  .media-carousel-panel {
    position: static;
    width: auto;
    padding: 0.75rem;
    border-color: var(--line);
    background: color-mix(in srgb, var(--surface-strong) 92%, transparent);
    color: var(--text);
    backdrop-filter: blur(10px);
  }

  .media-carousel-panel-heading {
    color: var(--text);
  }

  .media-carousel-arrows button {
    border-color: var(--line);
    background: var(--surface);
    color: var(--text);
  }

  .media-carousel-rail {
    overflow-x: auto;
    overflow-y: hidden;
    grid-auto-columns: minmax(9rem, 12rem);
    grid-auto-flow: column;
    scroll-snap-type: x proximity;
  }

  .media-carousel-thumb {
    border-color: var(--line);
    background: var(--surface);
    color: var(--text);
  }

  .media-carousel-thumb:hover,
  .media-carousel-thumb.is-active {
    background: var(--accent-soft);
  }

  .media-carousel-thumb small {
    color: var(--muted);
  }

  .media-carousel-caption {
    left: 0;
  }

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

  .case-study-card:last-child {
    grid-column: 1 / -1;
  }

  .education-card {
    position: static;
  }
}

@media (max-width: 42rem) {
  .menu-toggle {
    display: grid;
  }

  .menu-icon,
  .menu-icon::before,
  .menu-icon::after {
    display: block;
    width: 1.15rem;
    height: 2px;
    background: currentColor;
    content: "";
  }

  .menu-icon {
    position: relative;
  }

  .menu-icon::before {
    position: absolute;
    top: -0.35rem;
  }

  .menu-icon::after {
    position: absolute;
    top: 0.35rem;
  }

  .primary-navigation {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    left: auto;
    display: none;
    width: min(16rem, calc(100vw - 2rem));
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-medium);
    background: var(--surface-strong);
    box-shadow: var(--shadow);
  }

  .primary-navigation.is-open {
    display: flex;
  }

  .primary-navigation a {
    padding: 0.85rem 1rem;
    border-radius: var(--radius-small);
  }

  .primary-navigation a:hover {
    background: var(--accent-soft);
  }

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

  .project-card:last-child {
    grid-column: auto;
  }

  .project-link {
    width: 100%;
    flex-basis: 100%;
  }

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

  .skill-card:last-child {
    grid-column: auto;
  }

  .timeline-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.25rem;
  }

  .hero-art {
    min-height: 22rem;
  }

  .detail-heading h1 {
    font-size: clamp(2.5rem, 13vw, 3.75rem);
  }

  .model-library-promo > img {
    border-radius: var(--radius-medium);
  }

  .showcase-stage {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-medium);
  }

  .showcase-stage[data-model-showcase] {
    background: #383838;
  }

  .media-carousel-stage {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-medium);
  }

  .media-carousel-caption {
    padding: 4.5rem 1rem 1rem;
  }

  .media-carousel-caption p:not(.media-carousel-kind) {
    display: none;
  }

  .media-carousel-panel-heading {
    align-items: flex-start;
  }

  .media-carousel-rail {
    grid-auto-columns: minmax(8.5rem, 10rem);
  }

  .model-selector {
    grid-auto-columns: minmax(11rem, 75vw);
  }

  .showcase-overlay {
    align-items: stretch;
    flex-direction: column;
  }

  .showcase-status {
    text-align: left;
  }

  .gallery-thumb {
    grid-template-columns: 3.5rem minmax(0, 1fr);
  }

  .gallery-thumb img {
    width: 3.5rem;
    height: 3.35rem;
  }

  .case-study-grid {
    grid-template-columns: 1fr;
  }

  .case-study-card:last-child {
    grid-column: auto;
  }

  .art-card {
    min-width: 7rem;
    padding: 0.9rem;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    gap: 0.4rem;
  }
}

@media (min-width: 68.0625rem) and (max-height: 45rem) {
  .sidebar-feature {
    display: none;
  }

  .theme-toggle {
    position: static;
    left: auto;
    margin-top: auto;
  }
}

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

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

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

  .project-card:hover,
  .skill-card:hover {
    transform: none !important;
  }

  .orbit-node {
    animation: none !important;
  }

  @supports (offset-path: ellipse(50% 50% at 50% 50%)) {
    .orbit-one .orbit-node-primary {
      offset-distance: 0%;
    }

    .orbit-one .orbit-node-companion {
      offset-distance: 50%;
    }

    .orbit-two .orbit-node-primary {
      offset-distance: 11.667%;
    }

    .orbit-two .orbit-node-companion {
      offset-distance: 61.667%;
    }
  }
}
