:root {
  --ink: oklch(20% 0.018 62);
  --muted: oklch(43% 0.018 62);
  --paper: oklch(97.5% 0.011 78);
  --paper-soft: oklch(94.8% 0.018 78);
  --surface: oklch(99% 0.007 78);
  --line: oklch(82% 0.026 78);
  --gold: oklch(76% 0.13 84);
  --gold-soft: oklch(91% 0.055 88);
  --gold-deep: oklch(46% 0.1 78);
  --rouge: oklch(42% 0.08 24);
  --shadow: 0 28px 80px oklch(20% 0.018 62 / 0.15);
  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --max: 1180px;
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 0.75rem;
  --space-lg: 1rem;
  --space-xl: 1.5rem;
  --space-2xl: 2rem;
  --space-3xl: 3rem;
  --space-4xl: 4rem;
  --space-5xl: 6rem;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html {
  max-width: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  max-width: 100%;
  overflow-x: clip;
  background:
    linear-gradient(90deg, oklch(90% 0.02 78 / 0.52) 1px, transparent 1px) center / 84px 84px,
    linear-gradient(180deg, var(--paper), var(--paper-soft));
  color: var(--ink);
  font-family: "Manrope", "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-160%);
  border-radius: 6px;
  background: var(--gold);
  color: var(--ink);
  padding: 0.7rem 1rem;
  transition: transform 180ms ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid oklch(82% 0.026 78 / 0.7);
  background: oklch(97.5% 0.011 78 / 0.86);
  backdrop-filter: blur(18px);
}

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

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-xl);
  min-height: 72px;
}

.wordmark {
  font-family: "Besley", Georgia, serif;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: clamp(0.85rem, 3vw, 1.8rem);
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
}

.nav-links a:hover {
  color: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(310px, 1.1fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: center;
  padding-block: clamp(2.5rem, 5vw, 4.5rem);
}

.hero-copy {
  max-width: 690px;
}

.eyebrow {
  margin: 0 0 var(--space-lg);
  color: var(--gold-deep);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
}

h1 {
  font-family: "Besley", Georgia, serif;
  font-size: clamp(3.4rem, 7vw, 5.8rem);
  font-weight: 700;
  letter-spacing: 0;
}

h1 span {
  display: block;
  overflow-wrap: normal;
  word-break: keep-all;
}

h2 {
  font-family: "Besley", Georgia, serif;
  font-size: clamp(1.85rem, 3.6vw, 3.2rem);
  font-weight: 700;
  letter-spacing: 0;
}

h3 {
  font-family: "Besley", Georgia, serif;
  font-size: clamp(1.2rem, 2vw, 1.65rem);
}

.lead {
  max-width: 62ch;
  margin: var(--space-xl) 0 0;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}
.gold-strong {
  display: inline-block;
  font-weight: 800;

  background: linear-gradient(
    120deg,
    oklch(48% 0.11 78) 0%,
    oklch(66% 0.13 84) 24%,
    oklch(78% 0.115 88) 38%,
    oklch(61% 0.125 82) 54%,
    oklch(44% 0.105 76) 74%
  );

  background-size: 200% auto;

  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;

  animation: gold-shine 10s linear infinite;
  opacity: 0.95;
}
@keyframes gold-shine {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  margin-top: var(--space-2xl);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0.85rem 1.15rem;
  font-weight: 800;
  text-decoration: none;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  border-color: oklch(73% 0.13 84);
  background: var(--gold);
  color: var(--ink);
  box-shadow: 0 12px 30px oklch(67% 0.115 83 / 0.18);
}

.button-primary:hover {
  background: oklch(80% 0.13 84);
  border-color: oklch(62% 0.12 78);
  box-shadow: 0 14px 34px oklch(67% 0.115 83 / 0.23);
}

.button-secondary {
  border-color: oklch(78% 0.075 84);
  background: oklch(99% 0.007 78 / 0.86);
  color: var(--gold-deep);
}

.button-secondary:hover {
  border-color: var(--gold);
  background: var(--gold-soft);
}

.contact-note,
.launch-note {
  max-width: 58ch;
  margin: var(--space-lg) 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-note strong,
.launch-note {
  color: var(--gold-deep);
  font-weight: 800;
}

.portrait-stage {
  position: relative;
  min-height: clamp(520px, 58vw, 720px);
}

.portrait {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 1px solid oklch(80% 0.022 78);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait img,
.marquee img {
  cursor: zoom-in;
}

.portrait-large {
  right: 0;
  top: 0;
  width: min(62%, 390px);
  aspect-ratio: 632 / 972;
}

.portrait-small {
  left: 0;
  bottom: 3%;
  width: min(48%, 300px);
  aspect-ratio: 524 / 738;
}

.portrait-stage::before {
  content: "";
  position: absolute;
  inset: 12% 12% 7% 18%;
  border: 1px solid var(--gold);
  border-radius: 8px;
}

.performance-strip,
.reels,
.snapshot,
.credits,
.training,
.skills,
.contact {
  padding-block: clamp(4rem, 9vw, 7.5rem);
  scroll-margin-top: 104px;
}

.performance-strip {
  max-width: 100vw;
  contain: layout paint;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: oklch(99% 0.007 78 / 0.46);
}

.strip-heading {
  display: grid;
  grid-template-columns: minmax(120px, 0.32fr) minmax(0, 1fr);
  gap: var(--space-2xl);
  align-items: end;
  margin-bottom: clamp(1.5rem, 4vw, 3rem);
}

.strip-heading h2 {
  max-width: 880px;
  font-size: clamp(1.75rem, 3vw, 2.65rem);
}

.marquee {
  position: relative;
  width: 100%;
  max-width: 100vw;
  height: clamp(248px, 32vw, 410px);
  contain: layout paint;
  overflow: hidden;
  padding-block: var(--space-sm);
}

.marquee::before,
.marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: clamp(2rem, 10vw, 10rem);
  pointer-events: none;
}

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

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

.marquee-track {
  position: absolute;
  left: 0;
  top: var(--space-sm);
  display: flex;
  width: max-content;
  gap: var(--space-lg);
  animation: performance-roll 82s linear infinite;
  will-change: transform;
}

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

.marquee figure {
  flex: 0 0 auto;
  width: clamp(180px, 22vw, 310px);
  height: clamp(230px, 30vw, 390px);
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 18px 48px oklch(20% 0.018 62 / 0.11);
}

.marquee figure:nth-child(3n + 1) {
  height: clamp(210px, 26vw, 340px);
}

.marquee figure:nth-child(4n + 2) {
  width: clamp(170px, 19vw, 260px);
}

.marquee img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.03);
  transform: scale(1.01);
}

.reels {
  max-width: min(calc(100% - 2rem), var(--max));
  padding-bottom: clamp(2rem, 4vw, 3rem);
}

.snapshot {
  padding-top: clamp(2.5rem, 5vw, 4rem);
}

.reel-stage {
  position: relative;
}

.reel-scroll {
  display: flex;
  gap: var(--space-lg);
  margin-inline: calc(var(--space-lg) * -1);
  overflow-x: auto;
  padding: var(--space-lg);
  scroll-padding-inline: var(--space-lg);
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--gold) oklch(88% 0.026 78);
}

.reel-card {
  flex: 0 0 min(88vw, 920px);
  scroll-snap-align: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, oklch(100% 0.004 88 / 0.9), oklch(97% 0.019 84 / 0.72));
  box-shadow: 0 18px 48px oklch(20% 0.018 62 / 0.08);
  overflow: hidden;
}

.reel-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-lg);
  padding: clamp(0.95rem, 2.5vw, 1.25rem);
}

.reel-meta span {
  flex: 0 0 auto;
  color: var(--gold-deep);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.reel-meta h3 {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  text-align: right;
}

.video-shell {
  aspect-ratio: 16 / 9;
  background: oklch(15% 0.018 62);
}

.video-shell iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.reel-controls {
  display: none;
  justify-content: flex-end;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.reel-control {
  min-height: 44px;
  border: 1px solid oklch(78% 0.075 84);
  border-radius: 6px;
  background: oklch(99% 0.007 78 / 0.86);
  color: var(--gold-deep);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 0.66rem 0.9rem;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.reel-control:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  background: var(--gold-soft);
}

@keyframes performance-roll {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(calc(-50% - (var(--space-lg) / 2)), 0, 0);
  }
}

.section-kicker {
  display: grid;
  grid-template-columns: minmax(120px, 0.32fr) minmax(0, 1fr);
  gap: var(--space-2xl);
  align-items: start;
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.section-kicker.narrow {
  max-width: 920px;
}

.snapshot-grid,
.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-lg);
}

.fact-card,
.skill-cluster,
.credit-panel,
.timeline article,
.contact-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, oklch(100% 0.004 88 / 0.86), oklch(97% 0.019 84 / 0.7));
}

.fact-card {
  min-height: 230px;
  padding: clamp(1.1rem, 3vw, 1.6rem);
}

.fact-card span,
.timeline span {
  display: block;
  color: var(--gold-deep);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.fact-card strong {
  display: block;
  margin-top: var(--space-md);
  font-family: "Besley", Georgia, serif;
  font-size: clamp(1.35rem, 3vw, 2rem);
  line-height: 1.1;
}

.fact-card p,
.skill-cluster p,
.timeline p,
.credit-panel li,
.contact-card p {
  color: var(--muted);
}

.fact-card p,
.skill-cluster p {
  margin-bottom: 0;
}

.credit-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(280px, 0.62fr);
  gap: var(--space-lg);
  align-items: start;
}

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

.credit-list,
.quiet-list {
  display: grid;
  gap: 0;
  margin: var(--space-xl) 0 0;
  padding: 0;
  list-style: none;
}

.credit-list li {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(0, 1fr);
  gap: var(--space-lg);
  align-items: baseline;
  border-top: 1px solid oklch(84% 0.02 78);
  padding-block: var(--space-md);
}

.quiet-list li {
  border-top: 1px solid oklch(84% 0.02 78);
  padding-block: var(--space-md);
}

.credit-list span,
.quiet-list strong {
  color: var(--ink);
  font-weight: 800;
}

.credit-list em {
  font-style: normal;
}

.compact {
  position: sticky;
  top: 96px;
}

.training {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.training-copy {
  position: sticky;
  top: 96px;
}

.statement-block {
  border-top: 1px solid var(--gold);
  padding-top: var(--space-xl);
}

.statement-block h2,
.statement-heading h2 {
  max-width: 760px;
}

.statement-block p,
.statement-heading p {
  max-width: 62ch;
  margin: var(--space-xl) 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.statement-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
}

.statement-tags span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: oklch(99% 0.007 78 / 0.82);
  color: var(--gold-deep);
  padding: 0.42rem 0.72rem;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.timeline {
  display: grid;
  gap: var(--space-lg);
}

.timeline article,
.skill-cluster {
  padding: clamp(1.15rem, 3vw, 1.75rem);
}

.timeline h3,
.skill-cluster h3 {
  margin-top: var(--space-sm);
}

.timeline p,
.skill-cluster p,
.contact-card p {
  margin-bottom: 0;
}

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

.contact {
  padding-top: clamp(2rem, 6vw, 4rem);
}

.contact-card {
  max-width: 880px;
  margin-inline: auto;
  padding: clamp(1.5rem, 5vw, 4rem);
  text-align: center;
}

.contact-card .button {
  margin-top: var(--space-xl);
}

.contact-card .launch-note {
  max-width: 64ch;
  margin-inline: auto;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: var(--space-lg);
  width: min(calc(100% - 2rem), var(--max));
  margin-inline: auto;
  border-top: 1px solid var(--line);
  padding-block: var(--space-xl);
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer p {
  margin: 0;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background:
    radial-gradient(circle at 50% 10%, oklch(86% 0.09 86 / 0.22), transparent 34rem),
    oklch(12% 0.02 62 / 0.84);
  backdrop-filter: blur(18px);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-width: min(100%, 1180px);
  max-height: 86dvh;
  border: 1px solid var(--gold);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 30px 100px oklch(8% 0.02 62 / 0.42);
  object-fit: contain;
}

.lightbox-close {
  position: fixed;
  top: 1rem;
  right: 1rem;
  min-height: 44px;
  border: 1px solid oklch(88% 0.07 86);
  border-radius: 6px;
  background: var(--gold-soft);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 0.65rem 0.9rem;
}

.reveal {
  animation: lift-in 680ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.portrait-stage.reveal {
  animation-delay: 120ms;
}

@keyframes lift-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.js .reveal-on-scroll {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 700ms var(--ease-out-quint),
    transform 700ms var(--ease-out-quint);
  transition-delay: var(--reveal-delay, 0ms);
}

.js .reveal-on-scroll[data-reveal="left"] {
  transform: translate3d(-34px, 0, 0);
}

.js .reveal-on-scroll[data-reveal="right"] {
  transform: translate3d(34px, 0, 0);
}

.js .reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.snapshot-grid .reveal-on-scroll:nth-child(2),
.timeline .reveal-on-scroll:nth-child(2),
.skills-grid .reveal-on-scroll:nth-child(2) {
  --reveal-delay: 80ms;
}

.snapshot-grid .reveal-on-scroll:nth-child(3),
.timeline .reveal-on-scroll:nth-child(3),
.skills-grid .reveal-on-scroll:nth-child(3) {
  --reveal-delay: 150ms;
}

.snapshot-grid .reveal-on-scroll:nth-child(4),
.timeline .reveal-on-scroll:nth-child(4),
.skills-grid .reveal-on-scroll:nth-child(4) {
  --reveal-delay: 220ms;
}

@media (max-width: 920px) {
  .hero,
  .training,
  .credit-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .portrait-stage {
    order: -1;
    min-height: clamp(430px, 76vw, 620px);
  }

  .section-kicker {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .strip-heading {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

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

  .compact,
  .training-copy {
    position: static;
  }
}

@media (max-width: 640px) {
  .nav-shell {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    min-height: 92px;
    padding-block: var(--space-md);
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    gap: var(--space-sm) var(--space-lg);
    font-size: 0.78rem;
  }

  .hero {
    padding-top: var(--space-2xl);
  }

  .hero-copy .eyebrow {
    display: inline-flex;
    max-width: 100%;
    border: 1px solid oklch(80% 0.075 84);
    border-radius: 999px;
    background: oklch(99% 0.018 88 / 0.82);
    color: var(--gold-deep);
    font-size: 0.84rem;
    line-height: 1.35;
    margin-bottom: var(--space-xl);
    padding: 0.45rem 0.68rem;
  }

  h1 {
    font-size: clamp(2.85rem, 13.5vw, 3.45rem);
  }

  h2,
  .strip-heading h2 {
    font-size: clamp(1.55rem, 7.4vw, 2rem);
    line-height: 1.12;
  }

  .js .reveal-on-scroll[data-reveal="left"],
  .js .reveal-on-scroll[data-reveal="right"] {
    transform: translate3d(0, 24px, 0);
  }

  .portrait-stage {
    min-height: clamp(370px, 106vw, 430px);
    margin-bottom: var(--space-xl);
  }

  .portrait-large {
    width: 62%;
  }

  .portrait-small {
    bottom: 7%;
    width: 44%;
  }

  .snapshot-grid,
  .skills-grid {
    grid-template-columns: 1fr;
  }

  .performance-strip {
    padding-block: var(--space-3xl);
  }

  .marquee-track {
    gap: var(--space-md);
    animation-duration: 64s;
  }

  .marquee figure {
    width: 168px;
    height: 228px;
  }

  .marquee figure:nth-child(3n + 1) {
    height: 210px;
  }

  .marquee figure:nth-child(4n + 2) {
    width: 150px;
  }

  .reels {
    width: min(calc(100% - 1.5rem), var(--max));
  }

  .reel-scroll {
    margin-inline: calc(var(--space-sm) * -1);
    padding-inline: var(--space-sm);
    scroll-padding-inline: var(--space-sm);
  }

  .reel-card {
    flex-basis: min(88vw, 360px);
  }

  .reel-meta {
    align-items: flex-start;
    flex-direction: column;
    gap: var(--space-xs);
  }

  .reel-meta h3 {
    text-align: left;
  }

  .reel-controls {
    display: flex;
    justify-content: stretch;
  }

  .reel-control {
    flex: 1;
  }

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

  .credit-list li {
    grid-template-columns: 1fr;
    gap: var(--space-xs);
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .js .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }

  .marquee-track {
    animation: none;
    transform: none;
  }

  .marquee {
    overflow-x: auto;
  }
}
