
*, *::before, *::after { box-sizing: border-box; }
html, body, h1, h2, h3, p, figure, ul, li, button { margin: 0; padding: 0; }
button { font: inherit; color: inherit; }
img { max-width: 100%; }
:root {
  --color-bg: #090a08;
  --color-raised: #13140f;
  --color-fg: #f4efe4;
  --color-muted: #c4bdb0;
  --color-faint: #8d877b;
  --color-line: rgba(244, 239, 228, 0.14);
  --color-gold: #c4a574;
  --color-gold-2: #ead7b0;
  --color-ink: #14140f;
  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-sans: "Outfit", system-ui, sans-serif;
}
html { scroll-behavior: smooth; }
body {
  background: var(--color-bg);
  color: var(--color-fg);
  font-family: var(--font-sans);
  font-weight: 360;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--color-gold); color: var(--color-ink); }
:focus-visible { outline: 2px solid var(--color-gold-2); outline-offset: 3px; }
.frame { width: 100%; }
.lightbox { position: relative; }

.desk {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
}

.aura {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 42% 36% at 78% 18%, rgba(196, 165, 116, 0.2), transparent 68%),
    radial-gradient(ellipse 28% 24% at 12% 72%, rgba(196, 69, 54, 0.08), transparent 70%),
    linear-gradient(180deg, #0c0d0a 0%, #090a08 40%, #090a08 100%);
}

.candle-field {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  padding: 22vh 3vw 18vh;
  opacity: 0.42;
  overflow: hidden;
}

.candle {
  flex: 1 1 0;
  max-width: 9px;
  border-radius: 1px;
  background: rgba(176, 92, 78, 0.45);
  position: relative;
  transform-origin: center bottom;
  animation: candle-drift 8s ease-in-out infinite alternate;
}

.candle.up {
  background: rgba(196, 165, 116, 0.5);
}

.candle::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -14px;
  bottom: -14px;
  width: 1px;
  background: inherit;
  transform: translateX(-50%);
  opacity: 0.7;
}

@keyframes candle-drift {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-16px);
  }
}

.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 22px;
  background: rgba(9, 10, 8, 0.72);
  border-bottom: 1px solid var(--color-line);
  backdrop-filter: blur(16px) saturate(140%);
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  text-decoration: none;
  color: inherit;
}

.brand strong {
  font-family: var(--font-display);
  font-weight: 560;
  letter-spacing: 0.14em;
  font-size: 0.95rem;
}

.brand span {
  color: var(--color-faint);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px 18px;
}

.nav-links a {
  color: var(--color-muted);
  text-decoration: none;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

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

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 48px;
  align-items: end;
  min-height: 100vh;
  padding: 48px 28px 72px;
  max-width: 1240px;
  margin: 0 auto;
}

.kicker {
  margin: 0 0 18px;
  color: var(--color-gold-2);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.74rem;
}

.hero h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2rem, 3.4vw, 3.15rem);
  letter-spacing: -0.035em;
  line-height: 0.96;
}

.nameplate {
  grid-column: 1 / -1;
  margin: 0 0 28px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 560;
  font-size: clamp(3.6rem, 9vw, 8rem);
  letter-spacing: -0.04em;
  line-height: 0.9;
}

.nameplate span {
  display: inline-block;
  background-image: linear-gradient(
    105deg,
    #c4a574 0%,
    #fff6df 16%,
    #fff 34%,
    #f0ddb0 48%,
    #fffaf0 62%,
    #d7bc86 78%,
    #fff4d4 100%
  );
  background-size: 220% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 14px 28px rgba(196, 165, 116, 0.35));
  animation: name-foil 6.5s ease-in-out infinite;
}

@keyframes name-foil {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.lede {
  max-width: 38rem;
  margin: 28px 0 0;
  color: var(--color-muted);
  font-size: 1.15rem;
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 560;
  letter-spacing: 0.02em;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1), background-color 180ms ease, color 180ms ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: var(--color-fg);
  color: var(--color-ink);
}

.btn-primary:hover {
  background: var(--color-gold-2);
}

.btn-ghost {
  background: transparent;
  color: var(--color-fg);
  border-color: var(--color-line);
}

.btn-ghost:hover {
  border-color: var(--color-gold);
  color: var(--color-gold-2);
}

.still {
  position: relative;
  border-radius: 28px;
  padding: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--color-line);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.still-frame {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #050505;
  aspect-ratio: 16 / 10;
}

.still-frame img,
.frame img,
.lightbox img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.kenburns {
  animation: ken 18s ease-in-out infinite alternate;
}

@keyframes ken {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.08) translate3d(-1.5%, -1%, 0);
  }
}

.still-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 8px 4px;
  color: var(--color-faint);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px 28px 88px;
}

.section h2 {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  letter-spacing: -0.03em;
  line-height: 1;
}

.section-lead {
  max-width: 40rem;
  margin: 0 0 28px;
  color: var(--color-muted);
  line-height: 1.55;
}

.player {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: #050505;
  border: 1px solid var(--color-line);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

.player video {
  display: block;
  width: 100%;
  height: auto;
  min-height: 240px;
  background: #000;
}

.play-plate {
  position: absolute;
  inset: 0 0 54px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  background:
    linear-gradient(180deg, rgba(9, 10, 8, 0.15), rgba(9, 10, 8, 0.55)),
    url("media/chart-01.png") center / cover no-repeat;
  color: var(--color-fg);
  font: inherit;
}

.play-plate.is-off {
  display: none !important;
}

.play-plate strong {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 500;
}

.play-orb {
  width: 74px;
  height: 74px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--color-fg);
  color: var(--color-ink);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.play-orb svg {
  margin-left: 3px;
}

.gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 16px;
}

.frame {
  margin: 0;
  text-align: left;
  border: 1px solid var(--color-line);
  background: var(--color-raised);
  border-radius: 28px;
  padding: 10px;
  color: inherit;
  font: inherit;
  overflow: hidden;
}

.frame-media {
  overflow: hidden;
  border-radius: 18px;
  background: #050505;
  aspect-ratio: 16 / 10;
}

.frame:hover .kenburns,
.frame:focus-visible .kenburns {
  animation-play-state: paused;
  transform: scale(1.06);
}

.frame figcaption {
  padding: 14px 8px 8px;
}

.frame h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
  font-weight: 560;
}

.frame p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.45;
  font-size: 0.95rem;
}

.frame-tall {
  grid-row: span 2;
}

.frame-tall .frame-media {
  aspect-ratio: auto;
  height: calc(100% - 92px);
  min-height: 280px;
}

.desk-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.card {
  border-radius: 24px;
  padding: 22px;
  background: rgba(19, 20, 15, 0.86);
  border: 1px solid var(--color-line);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.card span {
  display: block;
  margin-bottom: 14px;
  color: var(--color-gold-2);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.card h3 {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.55rem;
}

.card p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.5;
}

.marks {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.marks li {
  list-style: none;
  border: 1px solid var(--color-line);
  border-radius: 999px;
  padding: 8px 12px;
  color: var(--color-muted);
  font-size: 0.86rem;
  letter-spacing: 0.04em;
}

.channel {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
  align-items: stretch;
}

.qr-plate {
  display: block;
  border-radius: 28px;
  border: 1px solid var(--color-line);
  overflow: hidden;
  background: #0c0d0b;
}

.qr-plate img {
  display: block;
  width: 100%;
  height: auto;
}

.channel-link {
  margin-top: 22px;
}

.about {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: end;
}

.about p {
  margin: 0;
  color: var(--color-muted);
  font-size: 1.08rem;
  line-height: 1.6;
}

.note {
  margin-top: 18px;
  color: var(--color-faint);
  font-size: 0.86rem;
  line-height: 1.45;
}

.footer {
  border-top: 1px solid var(--color-line);
  padding: 28px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  color: var(--color-faint);
  font-size: 0.92rem;
}

.footer strong {
  color: var(--color-fg);
  font-weight: 560;
}

.lightbox {
  width: min(1100px, calc(100vw - 28px));
  padding: 0;
  border: 1px solid var(--color-line);
  border-radius: 20px;
  background: #050505;
  color: var(--color-fg);
}

.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.78);
}

.lightbox img {
  max-height: 74vh;
  object-fit: contain;
  background: #000;
}

.lightbox figcaption {
  padding: 14px 16px 16px;
}

.lightbox h3 {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-weight: 500;
}

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

.close-lightbox {
  position: absolute;
  top: 10px;
  right: 10px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid var(--color-line);
  background: rgba(9, 10, 8, 0.8);
  color: var(--color-fg);
  font: inherit;
}

@media (max-width: 900px) {
  .hero,
  .gallery,
  .desk-grid,
  .channel,
  .about {
    grid-template-columns: 1fr;
  }

  .frame-tall {
    grid-row: auto;
  }

  .frame-tall .frame-media {
    height: auto;
    aspect-ratio: 16 / 10;
  }

  .hero {
    min-height: auto;
    padding-top: 36px;
  }

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

@media (prefers-reduced-motion: reduce) {
  .kenburns,
  .candle,
  .nameplate span {
    animation: none;
  }

  .btn {
    transition: none;
  }
}
