:root {
  color-scheme: only dark;
  --bg: #11122f;
  --bg-soft: rgba(24, 24, 61, 0.92);
  --bg-card: rgba(28, 27, 71, 0.88);
  --bg-card-strong: rgba(35, 34, 84, 0.97);
  --line: rgba(178, 183, 255, 0.14);
  --text: #f6f4ff;
  --muted: #b4b2d2;
  --accent: #ff5c57;
  --accent-warm: #ff8574;
  --button-ink: #1d1030;
  --shadow: 0 24px 60px rgba(6, 8, 24, 0.34);
  --heading-font: "Bahnschrift", "Segoe UI", sans-serif;
  --body-font: "Aptos", "Segoe UI", sans-serif;
  --mono-font: "Cascadia Mono", "Consolas", monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overscroll-behavior-y: none;
  color-scheme: only dark !important;
  background: #0d0f2a !important;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  overscroll-behavior-y: none;
  font-family: var(--body-font);
  color: var(--text) !important;
  background-color: #121537 !important;
  background:
    radial-gradient(circle at top left, rgba(255, 92, 87, 0.16), transparent 24%),
    radial-gradient(circle at 80% 10%, rgba(111, 108, 219, 0.18), transparent 20%),
    linear-gradient(180deg, #0d0f2a 0%, #121537 38%, #181a42 100%) !important;
  color-scheme: only dark !important;
  forced-color-adjust: none !important;
  -webkit-text-fill-color: var(--text);
}

html,
body,
body::before,
.site-frame,
.site-header,
.site-footer,
.nav-shell,
.card,
.button,
.platform-token,
.chip,
.meta-block,
.contact-card-icon-shell,
.footer-contact-button,
.play-link-button {
  color-scheme: only dark !important;
  forced-color-adjust: none !important;
}

body,
main,
section,
article,
header,
footer,
div,
p,
span,
small,
strong,
h1,
h2,
h3,
li,
a,
button {
  -webkit-text-fill-color: currentColor;
}

body.lightbox-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.92), transparent 92%);
  pointer-events: none;
}

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

img,
video,
iframe {
  max-width: 100%;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 30;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--accent);
  color: #041018;
  font-weight: 700;
}

.skip-link:focus {
  top: 1rem;
}

.site-frame {
  padding-bottom: 4rem;
}

.site-container {
  width: min(1200px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0.75rem;
  z-index: 20;
  padding-top: 0.75rem;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(21, 23, 56, 0.78);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  transition:
    opacity 260ms ease,
    transform 320ms ease,
    backdrop-filter 320ms ease,
    background 320ms ease,
    border-color 320ms ease,
    box-shadow 320ms ease;
}

.nav-shell,
.card,
.button-secondary,
.platform-token,
.chip,
.meta-block,
.contact-card-icon-shell,
.footer-contact-button,
.filter-chip,
.media-lightbox-dialog {
  background-color: transparent;
}

.nav-shell {
  background: rgba(21, 23, 56, 0.78) !important;
  border-color: var(--line) !important;
}

.card {
  background: var(--bg-card) !important;
  border-color: var(--line) !important;
}

.button-secondary,
.filter-chip {
  background: rgba(255, 255, 255, 0.035) !important;
  border-color: rgba(178, 183, 255, 0.18) !important;
  color: var(--text) !important;
}

.platform-token,
.chip,
.meta-block,
.contact-card-icon-shell,
.footer-contact-button {
  border-color: rgba(255, 255, 255, 0.1) !important;
}

.platform-token {
  background: rgba(255, 255, 255, 0.05) !important;
}

.chip,
.meta-block,
.contact-card-icon-shell,
.footer-contact-button {
  background: rgba(255, 255, 255, 0.04) !important;
}

.footer-practical {
  background: none !important;
}

.site-header-floating-layer {
  display: none;
}

.nav-shell-floating {
  display: none;
}

.site-header.is-minimal .nav-shell {
  opacity: 0.42;
  transform: translateY(-0.6rem);
  backdrop-filter: blur(8px);
  background: rgba(21, 23, 56, 0.24);
  border-color: rgba(178, 183, 255, 0.08);
  box-shadow: 0 10px 24px rgba(6, 8, 24, 0.14);
}

.site-header.is-revealed .nav-shell,
.site-header:hover .nav-shell,
.site-header:focus-within .nav-shell {
  opacity: 1;
  transform: translateY(0);
  backdrop-filter: blur(18px);
  background: rgba(21, 23, 56, 0.78);
  border-color: var(--line);
  box-shadow: var(--shadow);
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

.brand-lockup-copy {
  min-width: 0;
}

.brand-lockup strong,
.brand-lockup small {
  display: block;
}

.brand-lockup strong {
  font-family: var(--heading-font);
  font-size: 0.98rem;
}

.brand-lockup small {
  color: var(--muted);
  font-size: 0.82rem;
}

.brand-mark,
.timeline-logo,
.company-badge-mark,
.avatar-core {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--heading-font);
  font-weight: 800;
}

.brand-mark {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  color: #190e21;
  background: linear-gradient(135deg, var(--accent), var(--accent-warm));
}

.brand-mark-simple {
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 18px;
  color: #160f24;
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  text-indent: 0.12em;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}

.brand-mark-image-shell {
  width: 4.9rem;
  height: 3rem;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.03);
}

.brand-mark-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.6);
  transform-origin: center;
}

.brand-mark-header-shell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 0;
  overflow: visible;
  background: none;
  box-shadow: none;
  flex: 0 0 auto;
}

.brand-mark-header-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.icon-mask {
  display: block;
  color: transparent;
  background-color: var(--icon-color, currentColor);
  -webkit-mask-image: var(--icon-src);
  mask-image: var(--icon-src);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  forced-color-adjust: none;
}

.site-header.is-minimal .brand-lockup-copy,
.site-header.is-minimal .nav-actions {
  opacity: 0.22;
  transition: opacity 220ms ease;
}

.site-header.is-revealed .brand-lockup-copy,
.site-header.is-revealed .nav-actions,
.site-header:hover .brand-lockup-copy,
.site-header:hover .nav-actions,
.site-header:focus-within .brand-lockup-copy,
.site-header:focus-within .nav-actions {
  opacity: 1;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: auto;
}

.site-nav a,
.nav-contact,
.filter-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.site-nav a:hover,
.site-nav a.active,
.nav-contact:hover,
.filter-chip:hover,
.filter-chip.active,
.text-link:hover,
.breadcrumb:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-contact {
  border: 1px solid var(--line);
}

.page-intro,
.hero-section {
  padding-top: 4rem;
}

.cover-hero-shell {
  width: min(1380px, calc(100% - 1rem));
  margin: 0 auto;
  padding-top: 2rem;
}

.hero-layout,
.detail-hero-grid,
.detail-columns {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 1.3rem;
}

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

.card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--bg-card);
  box-shadow: var(--shadow);
}

.hero-copy,
.hero-aside,
.detail-card,
.company-card,
.project-card,
.challenge-card,
.media-card,
.highlight-card,
.skill-card,
.support-card,
.focus-card,
.footer-cta {
  padding: 1.6rem;
}

.challenge-card {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  padding: 1.85rem;
}

.hero-copy {
  display: flex;
  flex-direction: column;
}

.hero-summary {
  margin-top: auto;
}

.hero-copy h1,
.page-intro h1,
.footer-cta h2,
.section-heading h2,
.detail-card h2,
.challenge-card h3,
.company-card h2,
.project-card h3 {
  margin: 0;
  font-family: var(--heading-font);
  line-height: 0.95;
}

.challenge-card h3 {
  line-height: 1.02;
}

.hero-copy h1,
.page-intro h1 {
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  max-width: 10ch;
}

.platform-list {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}

.platform-list-card {
  justify-content: flex-end;
}

.platform-token {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  flex: 0 0 2.1rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.platform-token-logo {
  padding: 0.4rem;
}

.platform-logo-image {
  display: block;
  width: 100%;
  height: 100%;
  --icon-color: #ffffff;
}

.platform-token-text {
  font-family: var(--mono-font);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.eyebrow,
.meta-block span,
.timeline-head span,
.project-meta,
.company-location,
.breadcrumb,
.media-type {
  display: inline-block;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1.35;
}

.hero-roles {
  margin: 0.9rem 0 1rem;
  color: var(--accent);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.challenge-summary {
  margin: 0;
  color: var(--text);
  line-height: 1.78;
  font-size: 1rem;
}

.hero-summary,
.page-lead,
.section-copy,
.hero-aside p,
.project-summary,
.company-summary,
.timeline-copy p,
.highlight-card p,
.detail-card p,
.challenge-pair p,
.support-card p,
.contact-card strong,
.project-art small {
  color: var(--muted);
  line-height: 1.72;
  text-wrap: pretty;
}

.page-lead {
  max-width: 62ch;
  margin-top: 1rem;
  font-size: 1.08rem;
}

.button-row,
.hero-info-row,
.chip-row,
.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.page-intro-actions {
  margin-top: 1.2rem;
}

.hero-copy .button-row {
  margin-top: 0.9rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease,
    color 160ms ease;
}

.button:hover,
.button:focus-visible,
.filter-chip:hover,
.filter-chip:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-warm));
  color: var(--button-ink);
  box-shadow: 0 12px 28px rgba(255, 92, 87, 0.2);
}

.button-secondary {
  border-color: rgba(178, 183, 255, 0.18);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(255, 92, 87, 0.26);
  background: rgba(255, 255, 255, 0.07);
}

.hero-info-row span {
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-aside {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 28%),
    rgba(31, 30, 74, 0.97);
}

.avatar-display {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 220px;
  margin-bottom: 1rem;
  border-radius: 24px;
  border: 1px solid var(--line);
  overflow: hidden;
  background:
    radial-gradient(circle at top, rgba(255, 92, 87, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(255, 133, 116, 0.08), rgba(111, 108, 219, 0.12)),
    rgba(255, 255, 255, 0.02);
}

.avatar-image {
  display: block;
  width: min(100%, 24rem);
  height: 100%;
  max-height: none;
  object-fit: contain;
  object-position: center 50%;
  transform: translateY(0.7rem) scale(2.5);
  transform-origin: center 50%;
  border-radius: 20px;
  box-shadow: 0 0 40px rgba(255, 92, 87, 0.16);
}

.avatar-core {
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  color: #1d1030;
  font-size: 2.2rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-warm));
  box-shadow: 0 0 40px rgba(255, 92, 87, 0.28);
}

.section {
  padding-top: 3.1rem;
}

.scaffold-section {
  padding-top: 1.2rem;
}

.scaffold-note {
  padding: 1rem 1.25rem;
  border-style: dashed;
  background:
    linear-gradient(135deg, rgba(255, 92, 87, 0.09), rgba(111, 108, 219, 0.08)),
    rgba(23, 23, 58, 0.84);
}

.scaffold-note p:last-child {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.15rem;
  margin-bottom: 1.45rem;
}

.section-heading-copy {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.section-heading-row {
  display: flex;
  align-items: center;
}

.section-heading h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.015em;
  max-width: 18ch;
}

.section-copy {
  max-width: 36rem;
  margin: 0;
}

.section-heading-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 0.9rem;
}

.section-heading-actions .section-copy {
  max-width: 30rem;
}

.entry-meta,
.entry-subtitle {
  margin: 0.4rem 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.entry-meta {
  color: var(--accent);
  font-weight: 700;
}

.entry-subtitle {
  font-style: italic;
}

.feature-entry-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.feature-entry-card h3 {
  margin: 0;
  font-family: var(--heading-font);
  font-size: 1.6rem;
  line-height: 1;
}

.feature-entry-card h3,
.feature-entry-card p {
  margin: 0;
}

.feature-entry-actions {
  margin-top: auto;
  padding-top: 0.2rem;
}

.project-grid,
.highlight-grid,
.skill-grid,
.challenge-grid,
.media-grid,
.mini-grid,
.support-grid,
.company-list {
  display: grid;
  gap: 1.15rem;
}

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

.project-grid-dense {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.highlight-grid,
.skill-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

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

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

@media (min-width: 861px) {
  .media-grid-detail > .media-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc((100% - 1.15rem) / 2);
    justify-self: center;
  }
}

.mini-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 1.15rem;
}

.project-link-wrap {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.project-card {
  height: 100%;
}

.project-card,
.project-art-image,
.project-card-cta {
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease,
    color 180ms ease,
    opacity 180ms ease;
}

.project-card:hover,
.project-card:focus-within {
  border-color: rgba(255, 92, 87, 0.34);
  box-shadow: 0 22px 44px rgba(7, 12, 19, 0.28), 0 0 0 1px rgba(255, 92, 87, 0.12);
  transform: translateY(-3px);
}

.project-card:hover .project-art-image,
.project-card:focus-within .project-art-image {
  transform: scale(1.02);
}

.project-card:hover .project-card-cta,
.project-card:focus-within .project-card-cta {
  color: var(--text);
}

.project-art {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  padding: 1.2rem;
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.14), transparent 26%),
    linear-gradient(135deg, var(--accent), var(--accent-secondary));
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 0.55rem;
  color: #f8fbff;
}

.project-art-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 180ms ease;
}

.project-art-fallback {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 0.55rem;
  min-height: inherit;
}

.project-art-fallback span,
.project-art-fallback strong {
  max-width: 18ch;
}

.project-art-fallback span {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.84;
}

.project-art-fallback strong {
  font-family: var(--heading-font);
  font-size: 1.7rem;
  line-height: 0.98;
}

.project-art-large {
  min-height: 360px;
}

.project-card-body {
  padding-top: 1rem;
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.75rem;
}

.project-header-line,
.timeline-head,
.company-card-top,
.footer-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}

.project-header-line {
  min-height: 3.35rem;
}

.project-header-line h3 {
  font-size: 1.45rem;
  flex: 1;
  line-height: 1.06;
  text-wrap: pretty;
}

.project-header-line .platform-list-card {
  flex: 0 1 10rem;
  min-width: 0;
  line-height: 1.35;
}

.project-header-line h3,
.project-header-line .platform-list-card,
.project-meta,
.project-summary {
  margin: 0;
}

.project-meta {
  min-height: 2rem;
}

.project-summary {
  flex: 1;
  min-height: 5.25rem;
}

.project-header-line .platform-list-card,
.project-meta {
  font-size: 0.8rem;
}

.chip-row {
  margin-top: 1rem;
}

.chip-row-tight {
  margin-top: auto;
}

.chip {
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #d9e5ef;
  font-size: 0.85rem;
}

.timeline-list {
  display: grid;
  gap: 1rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 1rem;
  padding: 1.1rem;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.timeline-item.card:hover,
.timeline-item.card:focus-visible,
.timeline-item.card:focus-within {
  border-color: rgba(255, 92, 87, 0.34);
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 92, 87, 0.16);
}

.timeline-logo,
.company-badge-mark {
  width: 4.4rem;
  height: 4.4rem;
  overflow: hidden;
  border-radius: 22px;
  color: #041018;
  font-size: 1.2rem;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: inset 0 0 0 1px rgba(7, 12, 19, 0.08);
}

.timeline-logo img,
.company-badge-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.timeline-role,
.company-role {
  margin: 0.35rem 0;
  color: var(--text);
  font-weight: 700;
}

.timeline-head h3 {
  margin: 0;
  line-height: 1.05;
}

.highlight-card strong,
.focus-card strong {
  display: block;
  font-family: var(--heading-font);
  font-size: clamp(1.45rem, 2vw, 1.75rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}

.highlight-card p {
  margin: 0;
  font-size: 0.95rem;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.1rem;
}

.filter-chip {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.025);
  cursor: pointer;
}

.button:focus-visible,
.site-nav a:focus-visible,
.nav-contact:focus-visible,
.filter-chip:focus-visible,
.text-link:focus-visible,
.breadcrumb:focus-visible,
.media-expand-trigger:focus-visible {
  outline: 2px solid rgba(255, 133, 116, 0.95);
  outline-offset: 2px;
}

.filter-chip.active {
  border-color: rgba(255, 92, 87, 0.4);
  background: rgba(255, 92, 87, 0.14);
  color: var(--text);
}

.project-cover-hero {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  border-radius: 34px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.14), transparent 26%),
    linear-gradient(135deg, var(--accent), var(--accent-secondary));
  box-shadow: var(--shadow);
}

.project-cover-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-cover-hero-overlay {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: end;
  min-height: 520px;
  padding: 2rem;
  background:
    linear-gradient(180deg, rgba(3, 8, 14, 0.02) 0%, rgba(3, 8, 14, 0.14) 34%, rgba(3, 8, 14, 0.62) 62%, rgba(3, 8, 14, 0.96) 100%);
}

.project-cover-hero-overlay h1 {
  margin: 0;
  max-width: 11ch;
  font-family: var(--heading-font);
  font-size: clamp(2.8rem, 5vw, 5.6rem);
  line-height: 0.94;
}

.detail-hero {
  padding-top: 3rem;
}

body:not([data-page="home"]) .page-intro {
  padding-top: 2.5rem;
}

body:not([data-page="home"]) .detail-hero {
  padding-top: 2.2rem;
}

.detail-hero-summary {
  padding-top: 1.4rem;
}

.detail-hero-summary .page-lead {
  max-width: none;
}

.detail-hero-summary .chip-row-tight,
.detail-hero-grid .chip-row-tight {
  margin-top: 1rem;
}

.breadcrumb {
  display: inline-flex;
  margin-bottom: 1rem;
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--line);
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.1rem;
}

.meta-block {
  padding: 0.9rem;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.meta-block strong {
  display: block;
  margin-top: 0.4rem;
  line-height: 1.45;
}

.meta-block strong .platform-list {
  margin-top: 0;
}

.meta-block strong .platform-token {
  width: 2.4rem;
  height: 2.4rem;
  flex-basis: 2.4rem;
}

.meta-block strong .platform-token-logo {
  padding: 0.45rem;
}

.art-showcase,
.company-showcase {
  padding: 1rem;
  align-self: start;
}

.project-cover {
  margin: 0;
}

.project-cover-image {
  display: block;
  width: 100%;
  height: auto;
  min-height: 320px;
  max-height: 460px;
  border-radius: 22px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.03);
}

.detail-section,
.prose-block {
  max-width: 72ch;
}

.prose-block p,
.detail-card p {
  margin: 0 0 1rem;
}

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

.detail-list li {
  position: relative;
  padding-left: 1rem;
  color: var(--muted);
  line-height: 1.7;
}

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

.play-links-card h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.play-links-card p {
  margin: 0;
}

.play-links-row {
  margin-top: 1.15rem;
}

.play-link-button {
  min-width: 12rem;
}

.play-link-button-logo {
  min-width: 7.25rem;
  min-height: 4.4rem;
  padding: 0.7rem 0.9rem;
}

.play-link-logo-image {
  display: block;
  width: 3.2rem;
  height: 3.2rem;
  --icon-color: #1d1030;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.challenge-pair + .challenge-pair {
  margin-top: 1.35rem;
}

.challenge-pair {
  padding-top: 0.15rem;
}

.challenge-pair strong {
  display: block;
  margin-bottom: 0.55rem;
}

.challenge-pair p {
  margin: 0;
}

.media-card {
  overflow: hidden;
  min-height: 220px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 28%),
    linear-gradient(135deg, rgba(9, 16, 24, 0.94), rgba(9, 16, 24, 0.72)),
    linear-gradient(135deg, var(--accent), var(--accent-secondary));
}

.media-card strong {
  display: block;
  margin: 0.7rem 0 0.4rem;
  font-family: var(--heading-font);
  font-size: 1.35rem;
}

.media-card-visual {
  padding: 0;
  background: rgba(9, 16, 24, 0.9);
}

.media-card-feature {
  grid-column: 1 / -1;
}

.media-visual {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.03);
}

.media-embed-shell {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: rgba(255, 255, 255, 0.03);
}

.media-visual-embed {
  width: 100%;
  height: 100%;
  border: 0;
}

.media-card-caption {
  padding: 1rem 1.1rem 1.2rem;
  margin: 0;
}

.media-card-caption p {
  margin: 0;
}

.media-expand-trigger {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.media-expand-trigger .media-visual {
  transition: transform 180ms ease, opacity 180ms ease;
}

.media-expand-trigger:hover .media-visual,
.media-expand-trigger:focus-visible .media-visual {
  transform: scale(1.015);
}

.media-lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.media-lightbox.is-active {
  opacity: 1;
  pointer-events: auto;
}

.media-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 10, 0.88);
  backdrop-filter: blur(10px);
}

.media-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(1200px, 100%);
  max-height: calc(100vh - 3rem);
  padding: 4.5rem 1rem 1rem;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(9, 16, 24, 0.94);
  box-shadow: var(--shadow);
}

.media-lightbox-stage {
  position: relative;
}

.media-lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
  cursor: pointer;
}

.media-lightbox-image {
  display: block;
  width: 100%;
  max-height: calc(100vh - 10rem);
  border-radius: 20px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.03);
}

.media-lightbox-nav {
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(3.5rem, 10vw, 6rem);
  padding: 0;
  border: 0;
  background: transparent;
  color: transparent;
  cursor: pointer;
}

.media-lightbox-nav::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 1rem;
  height: 1rem;
  border-top: 2px solid rgba(255, 255, 255, 0.88);
  border-right: 2px solid rgba(255, 255, 255, 0.88);
  transform: translateY(-50%) rotate(45deg);
  opacity: 0;
  transition: opacity 160ms ease, transform 160ms ease;
}

.media-lightbox-nav:hover::before,
.media-lightbox-nav:focus-visible::before {
  opacity: 1;
}

.media-lightbox-nav-prev {
  left: 0;
}

.media-lightbox-nav-prev::before {
  left: 1.1rem;
  transform: translateY(-50%) rotate(-135deg);
}

.media-lightbox-nav-prev:hover::before,
.media-lightbox-nav-prev:focus-visible::before {
  transform: translateY(-50%) rotate(-135deg) scale(1.06);
}

.media-lightbox-nav-next {
  right: 0;
}

.media-lightbox-nav-next::before {
  right: 1.1rem;
}

.media-lightbox-nav-next:hover::before,
.media-lightbox-nav-next:focus-visible::before {
  transform: translateY(-50%) rotate(45deg) scale(1.06);
}

.media-lightbox-nav[hidden] {
  display: none;
}

.media-lightbox-caption {
  margin: 0.9rem 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.company-card-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.2rem;
  align-items: center;
  margin-bottom: 1rem;
}

.company-card-brand {
  display: flex;
  align-items: center;
  justify-content: center;
}

.company-card-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.company-card-top {
  align-items: flex-start;
  margin: 0;
}

.company-card-actions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 0.85rem;
}

.company-card-heading {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-align: right;
  max-width: min(22rem, 100%);
}

.company-card-heading h2,
.company-card-heading p {
  margin: 0;
}

.company-badge {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: center;
}

.company-badge small {
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.company-badge-large .company-badge-mark {
  width: 7rem;
  height: 7rem;
  border-radius: 28px;
  font-size: 1.8rem;
}

.text-link {
  color: var(--accent);
  font-weight: 700;
}

.mini-project-card,
.contact-card {
  padding: 1rem;
  border-radius: 20px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

.mini-project-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease,
    background 180ms ease;
}

.mini-project-card:hover,
.mini-project-card:focus-visible {
  border-color: rgba(255, 92, 87, 0.34);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 18px 34px rgba(7, 12, 19, 0.24), 0 0 0 1px rgba(255, 92, 87, 0.12);
  transform: translateY(-2px);
}

.mini-project-card strong,
.contact-card strong {
  display: block;
  font-family: var(--heading-font);
  font-size: 1.1rem;
}

.mini-project-card span {
  display: block;
  margin-top: 0.4rem;
  color: var(--muted);
}

.mini-project-card-cta,
.project-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.95rem;
  color: var(--accent);
  font-weight: 700;
}

.mini-project-card-cta {
  transition: color 180ms ease, transform 180ms ease;
}

.mini-project-card:hover .mini-project-card-cta,
.mini-project-card:focus-visible .mini-project-card-cta {
  color: var(--text);
  transform: translateX(2px);
}

.project-card-cta {
  margin-top: auto;
  padding-top: 0.9rem;
}

.focus-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  text-align: center;
}

.cta-card {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.contact-card {
  min-height: 180px;
  position: relative;
}

.contact-card-head {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.55rem;
}

.contact-card-head .eyebrow {
  margin: 0;
}

.contact-card-icon-shell {
  display: inline-flex;
  position: absolute;
  top: 50%;
  right: 1rem;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  flex: 0 0 auto;
  transform: translateY(-50%);
}

.contact-card-icon {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
  --icon-color: #ffffff;
}

.contact-card-icon-linkedin,
.contact-card-icon-email {
  width: 1.95rem;
  height: 1.95rem;
}

body[data-page="contact"] .contact-grid {
  grid-template-columns: repeat(2, minmax(16rem, 22rem));
  justify-content: start;
}

body[data-page="contact"] .contact-card {
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1rem 5rem 1rem 1rem;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease,
    background 180ms ease;
}

body[data-page="contact"] .contact-card:hover,
body[data-page="contact"] .contact-card:focus-visible {
  border-color: rgba(255, 92, 87, 0.34);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 18px 34px rgba(7, 12, 19, 0.24), 0 0 0 1px rgba(255, 92, 87, 0.12);
  transform: translateY(-2px);
}

body[data-page="contact"] .contact-card strong {
  max-width: 22ch;
  font-size: 1rem;
  line-height: 1.55;
}

body[data-page="home"] .hero-section {
  padding-top: 2.4rem;
}

body[data-page="home"] .hero-layout {
  gap: 1rem;
}

body[data-page="home"] .hero-copy,
body[data-page="home"] .hero-aside {
  padding: 1.35rem;
}

body[data-page="home"] .hero-summary,
body[data-page="home"] .hero-aside p {
  line-height: 1.6;
}

body[data-page="home"] .avatar-display {
  height: 176px;
  margin-bottom: 0.8rem;
}

body[data-page="home"] .section {
  padding-top: 2.15rem;
}

body[data-page="home"] .section-heading {
  margin-bottom: 1rem;
}

body[data-page="home"] .project-grid {
  gap: 1rem;
}

.site-footer {
  margin-top: 3rem;
}

.footer-shell {
  display: grid;
  gap: 1rem;
}

.footer-cta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.footer-cta h2 {
  font-size: clamp(1.8rem, 2.8vw, 2.8rem);
  max-width: 15ch;
}

.footer-meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-practical {
  padding: 1.15rem 1.3rem;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
}

.footer-meta-rich {
  width: 100%;
}

.footer-meta-copy {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  width: 100%;
}

.footer-meta-top,
.footer-meta-main,
.footer-meta-bottom {
  display: flex;
  gap: 1rem;
}

.footer-meta-top {
  justify-content: space-between;
  align-items: flex-start;
}

.footer-meta-bottom {
  justify-content: flex-end;
  align-items: center;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-meta-main {
  flex-direction: column;
  gap: 0.28rem;
  align-items: flex-start;
}

.footer-meta-name,
.footer-meta-role,
.footer-meta-note {
  margin: 0;
}

.footer-meta-name {
  color: var(--text);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.footer-meta-role,
.footer-meta-note {
  color: var(--muted);
}

.footer-meta-role {
  line-height: 1.55;
}

.footer-meta-note {
  font-size: 0.84rem;
}

.footer-contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem;
}

.footer-contact-button {
  min-height: 2.7rem;
  padding: 0.7rem 1rem;
  background: rgba(255, 255, 255, 0.025);
}

.footer-contact-button-icon {
  min-width: 3rem;
  min-height: 3rem;
  padding: 0.7rem;
}

.footer-contact-icon {
  display: block;
  width: 1.35rem;
  height: 1.35rem;
  --icon-color: #ffffff;
}

.footer-contact-icon-linkedin,
.footer-contact-icon-email {
  width: 1.7rem;
  height: 1.7rem;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 520ms ease, transform 520ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1100px) {
  .project-grid-dense,
  .highlight-grid,
  .skill-grid,
  .media-grid,
  .media-grid-detail,
  .contact-grid,
  .meta-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-layout,
  .detail-hero-grid,
  .detail-columns {
    grid-template-columns: 1fr;
  }

  .footer-cta {
    flex-direction: column;
    align-items: start;
  }

  .footer-meta-rich {
    align-items: flex-start;
  }

  .footer-meta-top,
  .footer-meta-main,
  .footer-meta-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-contact-links {
    width: 100%;
    justify-content: flex-start;
  }
}

@media (max-width: 860px) {
  .site-frame {
    padding-top: 0;
  }

  .site-header {
    --mobile-header-top-gap: calc(0.75rem + 3px);
    position: relative;
    top: 0;
    padding-top: 0;
    z-index: 40;
    margin-bottom: 3px;
    pointer-events: none;
  }

  .site-header .nav-shell {
    pointer-events: auto;
  }

  .nav-shell-inline {
    display: flex;
    margin-top: var(--mobile-header-top-gap);
    opacity: 1;
    visibility: visible;
    transition:
      opacity 220ms ease,
      transform 320ms ease,
      visibility 0s linear 0s;
  }

  .site-header-floating-layer {
    display: block;
    pointer-events: none;
  }

  .site-header-floating-layer .nav-shell-floating {
    display: flex;
    position: fixed;
    top: calc(0.75rem + 3px);
    left: 50%;
    width: min(100% - 1rem, 1200px);
    z-index: 50;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -0.35rem);
    transition:
      opacity 220ms ease,
      transform 320ms ease;
  }

  .site-header.is-mobile-inline-hidden .nav-shell-inline {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition-delay: 0s, 0s, 220ms;
  }

  .site-header.is-mobile-inline-hidden:hover .nav-shell-inline,
  .site-header.is-mobile-inline-hidden:focus-within .nav-shell-inline {
    opacity: 0;
    visibility: hidden;
    transform: none;
    pointer-events: none;
  }

  .site-header-floating-layer.is-visible .nav-shell-floating {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0);
  }

  .site-header-floating-layer.is-visible .nav-shell-floating:hover,
  .site-header-floating-layer.is-visible .nav-shell-floating:focus-within {
    opacity: 1;
    transform: translate(-50%, 0);
  }

  .site-header-floating-layer.is-hidden .nav-shell-floating {
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, -0.35rem);
  }

  .nav-shell {
    gap: 0;
    border-radius: 30px;
    align-items: stretch;
    flex-direction: row;
    padding: 0.5rem 0.65rem;
    transition:
      opacity 260ms ease,
      transform 320ms ease,
      backdrop-filter 320ms ease,
      background 320ms ease,
      border-color 320ms ease,
      box-shadow 320ms ease;
    will-change: opacity, transform;
  }

  .brand-lockup {
    display: none;
  }

  .nav-actions {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch;
  }

  .site-nav {
    display: contents;
  }

  .site-nav a,
  .nav-contact {
    width: auto;
    min-width: 0;
    min-height: 3rem;
    padding: 0.6rem 0.3rem;
    justify-content: center;
    text-align: center;
    line-height: 1.2;
  }

  .platform-logo-image,
  .play-link-logo-image,
  .contact-card-icon,
  .footer-contact-icon {
    --icon-color: #ffffff !important;
    background-color: #ffffff !important;
    filter: none !important;
    -webkit-filter: none !important;
    forced-color-adjust: none !important;
  }

  .project-grid,
  .project-grid-dense,
  .skill-grid,
  .challenge-grid,
  .media-grid,
  .media-grid-detail,
  .contact-grid,
  .support-grid,
  .mini-grid,
  .meta-grid {
    grid-template-columns: 1fr;
  }

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

  body[data-page="about"] .skill-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline-item,
  .company-card-top {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .company-card-head {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .company-card-brand {
    justify-content: flex-start;
  }

  .company-card-actions {
    justify-content: flex-start;
  }

  .company-card-heading {
    margin-left: 0;
    align-items: flex-start;
    text-align: left;
    max-width: none;
  }

  .site-container {
    width: min(100% - 1rem, 1200px);
  }

  .page-intro,
  .hero-section {
    padding-top: 3px;
  }

  .cover-hero-shell {
    width: min(100% - 0.5rem, 1380px);
    padding-top: 3px;
  }

  .detail-hero {
    padding-top: 3px;
  }

  .detail-hero-summary {
    padding-top: 0.5rem;
  }

  body[data-page="home"] .hero-section {
    padding-top: 0.55rem;
  }

  .project-cover-hero,
  .project-cover-hero-overlay {
    min-height: 360px;
  }

  .project-cover-hero-overlay {
    padding: 1.35rem;
  }

  .hero-copy h1,
  .page-intro h1 {
    max-width: 100%;
  }

  .section-heading {
    flex-direction: column;
    align-items: start;
  }

  .section-heading-actions {
    width: 100%;
    justify-content: flex-start;
  }

  body[data-page="contact"] .contact-grid {
    grid-template-columns: 1fr;
    justify-content: stretch;
  }

  .project-header-line {
    min-height: auto;
    flex-direction: column;
    align-items: flex-start;
  }

  .project-header-line .platform-list-card {
    flex: none;
    justify-content: flex-start;
  }

  .project-meta,
  .project-summary {
    min-height: auto;
  }
}

@media (max-width: 680px) {
  .site-header-floating-layer .nav-shell-floating {
    width: min(100% - 1rem, 1200px);
  }

  .nav-shell {
    gap: 0.4rem;
    padding: 0.72rem 0.8rem;
  }

  .brand-lockup {
    gap: 0.6rem;
  }

  .brand-lockup strong {
    font-size: 0.88rem;
  }

  .brand-mark-simple {
    width: 2.45rem;
    height: 2.45rem;
    border-radius: 16px;
    font-size: 0.84rem;
  }

  .brand-mark-header-shell {
    width: 2.45rem;
    height: 2.45rem;
    border-radius: 16px;
  }

  .hero-copy,
  .hero-aside,
  .detail-card,
  .company-card,
  .project-card,
  .challenge-card,
  .media-card,
  .highlight-card,
  .skill-card,
  .support-card,
  .focus-card,
  .footer-cta,
  .footer-practical {
    padding: 1.2rem;
  }

  .hero-copy h1,
  .page-intro h1 {
    font-size: clamp(2.35rem, 11vw, 3.5rem);
  }

  .button-row {
    width: 100%;
  }

  .button {
    width: 100%;
  }

  .footer-contact-links {
    width: auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
  }

  .footer-contact-button {
    width: auto;
    flex: 0 0 auto;
  }

  .play-links-row {
    width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
  }

  .play-link-button {
    width: auto;
    flex: 0 0 auto;
    min-width: 0;
  }

  .play-link-button-logo {
    min-width: 3.25rem;
    min-height: 3.25rem;
    padding: 0.4rem;
  }

  .play-link-logo-image {
    width: 2.35rem;
    height: 2.35rem;
  }

  .avatar-display {
    height: 150px;
  }

  .avatar-image {
    width: min(100%, 20rem);
    height: 100%;
  }

  .project-cover-hero,
  .project-cover-hero-overlay {
    min-height: 290px;
  }

  .project-cover-hero-overlay h1 {
    max-width: 100%;
    font-size: clamp(2.1rem, 10vw, 3.2rem);
  }

  .meta-block {
    padding: 0.8rem;
  }

  .media-lightbox {
    padding: 0.75rem;
  }

  .media-lightbox-dialog {
    padding: 3.6rem 0.65rem 0.65rem;
    border-radius: 22px;
  }

  .media-lightbox-close {
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.55rem 0.8rem;
  }

  .media-lightbox-image {
    max-height: calc(100vh - 8rem);
    border-radius: 16px;
  }

  .company-badge-large .company-badge-mark {
    width: 5.5rem;
    height: 5.5rem;
    border-radius: 22px;
  }

  .timeline-logo,
  .company-badge-mark {
    width: 3.7rem;
    height: 3.7rem;
    border-radius: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-shell,
  .site-header.is-minimal .brand-lockup-copy,
  .site-header.is-minimal .nav-actions {
    transition: none;
  }
}

@media (max-width: 480px) {
  .site-frame {
    padding-top: 0;
  }

  .site-header-floating-layer .nav-shell-floating {
    width: min(100% - 0.75rem, 1200px);
  }

  .site-container {
    width: min(100% - 0.75rem, 1200px);
  }

  .page-intro,
  .hero-section {
    padding-top: 3px;
  }

  .cover-hero-shell {
    width: min(100% - 0.25rem, 1380px);
    padding-top: 3px;
  }

  .detail-hero {
    padding-top: 3px;
  }

  .detail-hero-summary {
    padding-top: 0.4rem;
  }

  body[data-page="home"] .hero-section {
    padding-top: 0.45rem;
  }

  .hero-copy,
  .hero-aside,
  .detail-card,
  .company-card,
  .project-card,
  .challenge-card,
  .media-card,
  .highlight-card,
  .skill-card,
  .support-card,
  .focus-card,
  .footer-cta,
  .footer-practical,
  .mini-project-card,
  .contact-card {
    padding: 1rem;
    border-radius: 22px;
  }

  .section {
    padding-top: 1.8rem;
  }

  .section-heading h2 {
    font-size: clamp(1.7rem, 9vw, 2.4rem);
  }

  .hero-roles {
    font-size: 0.92rem;
  }

  .breadcrumb,
  .site-nav a,
  .nav-contact,
  .filter-chip {
    padding: 0.55rem 0.2rem;
  }

  .site-nav a,
  .nav-contact {
    font-size: 0.72rem;
  }

  .project-art {
    min-height: 190px;
    padding: 1rem;
  }

  .project-card-body {
    padding-top: 0.85rem;
  }

  .media-lightbox-nav {
    width: 3rem;
  }
}
