:root {
  color-scheme: dark;
  --ink: #08090a;
  --line: rgba(255, 255, 255, 0.11);
  --type: #f0eae3;
  --copper: #d58b4e;
  --muted: #a5a09b;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
html { background: var(--ink); }
body { margin: 0; min-width: 280px; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; }
.intro {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  color: var(--type);
  background: radial-gradient(ellipse 40% 46% at 50% 47%, #211813 0%, #0b0b0b 55%, #070809 100%);
}
.atmosphere {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.8;
  background: radial-gradient(ellipse 22% 30% at 4% 50%, rgba(165,86,32,.085), transparent 85%),
              radial-gradient(ellipse 22% 32% at 98% 48%, rgba(165,86,32,.075), transparent 85%);
}
.atmosphere::after {
  content: '';
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255,255,255,.027);
  pointer-events: none;
}
.stage {
  flex: 1 1 auto;
  display: grid;
  place-items: center;
  padding: 28px 28px 8px;
  min-height: 0;
}
.media-shell {
  position: relative;
  width: min(95vw, 1710px);
  max-height: calc(100svh - 132px);
  aspect-ratio: 16 / 9;
  background: #070707;
  overflow: hidden;
  box-shadow: 0 35px 140px rgba(0,0,0,.45);
}
.intro-video, .static-final {
  display: block;
  width: 100%;
  height: 100%;
}
.intro-video { object-fit: contain; }
.static-final img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.intro-video { background: #070707; }
.static-final {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .45s ease;
}
.play-button {
  position: absolute;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  cursor: pointer;
  border: none;
  background: rgba(0, 0, 0, .30);
  color: #fff;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .22em;
}
.play-button svg {
  width: 54px;
  height: 54px;
  padding: 13px;
  fill: currentColor;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 50%;
  background: rgba(10,10,10,.35);
  transition: transform .2s ease, border-color .2s ease;
}
.play-button:hover svg { transform: scale(1.08); border-color: var(--copper); }
.needs-play .play-button { display: flex; }
.failed .static-final, .reduced-motion .static-final,
.js.finished .static-final { opacity: 1; }
.failed .intro-video, .reduced-motion .intro-video { visibility: hidden; }
.reduced-motion .play-button { display: flex; background: transparent; }
.reduced-motion.playing .play-button { display: none; }
.reduced-motion.playing .intro-video { visibility: visible; }
.reduced-motion.playing .static-final { opacity: 0; }
.footer {
  flex: 0 0 82px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 32px max(8px, env(safe-area-inset-bottom));
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(100%, 1200px);
  min-height: 68px;
  padding: 7px 1px 0;
  border-top: 1px solid var(--line);
}
.footer-eyebrow {
  flex: 1;
  color: var(--muted);
  font-size: 9px;
  line-height: 1.5;
  letter-spacing: .24em;
  text-transform: uppercase;
}
.instagram-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 4px;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease;
}
.instagram-link strong {
  color: var(--type);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .045em;
}
.instagram-link:hover strong, .instagram-link:hover { color: #eda663; }
.instagram-icon { width: 21px; height: 21px; color: var(--copper); flex: none; }
.social-caption { color: var(--muted); font-size: 10px; letter-spacing: .075em; }
.external-icon { width: 13px; height: 13px; color: var(--copper); opacity: .8; }
.replay-button {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  border: 0;
  background: transparent;
  padding: 10px 1px 10px 15px;
  color: var(--muted);
  cursor: pointer;
  font-size: 10px;
  letter-spacing: .07em;
}
.replay-button svg { width: 15px; height: 15px; }
.replay-button:hover { color: var(--type); }
.js .after-video { opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(10px); transition: opacity .85s ease, transform .85s ease, visibility .85s; }
.js.finished .after-video, .js.needs-play .after-video, .js.failed .after-video, .js.reduced-motion .after-video { opacity: 1; visibility: visible; pointer-events: auto; transform: none; }
.js .replay-button { opacity: 0; pointer-events: none; }
.js.finished .replay-button { opacity: 1; pointer-events: auto; }
.no-js { position:fixed; bottom:0; width:100%; padding:12px; text-align:center; background:#090909; font-size:12px; }
.no-js a { color:var(--copper); }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 5px; }
@media (max-width: 760px) {
  .stage { padding: 18px 12px 4px; }
  .media-shell { width: 100%; max-height: calc(100svh - 124px); }
  .atmosphere::after { inset: 8px; }
  .footer { padding: 0 20px max(10px, env(safe-area-inset-bottom)); flex-basis: 88px; }
  .footer-inner { min-height: 74px; }
  .footer-eyebrow { display: none; }
  .instagram-link { gap: 8px; }
  .instagram-link strong { font-size: 13px; }
  .social-caption { display: none; }
  .replay-button { font-size: 10px; }
}
@media (max-width: 355px) {
  .footer { padding-inline: 12px; }
  .footer-inner { gap: 8px; }
  .instagram-link strong { font-size: 12px; }
  .replay-button { gap: 4px; font-size: 9px; padding-left: 0; }
  .replay-button svg { width: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .js .after-video, .static-final, .play-button svg { transition: none !important; }
}

/* Mobile portrait is a dedicated reframed film, not a stretched landscape player.
   Let it use all space above the footer while respecting iPhone safe areas. */
@media (max-width: 760px) and (orientation: portrait) {
  html, body { width: 100%; height: 100%; }
  .intro {
    height: 100svh;
    height: 100dvh;
    min-height: 450px;
    width: 100%;
    background: #080909;
  }
  .stage {
    width: 100%;
    min-height: 0;
    padding: 0;
    display: block;
    overflow: hidden;
  }
  .media-shell {
    width: 100%;
    height: 100%;
    max-height: none;
    aspect-ratio: auto;
    box-shadow: none;
    overflow: hidden;
    background: #070909;
  }
  .intro-video,
  .static-final img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }
  .atmosphere::after { display: none; }
  .footer {
    z-index: 2;
    height: calc(80px + env(safe-area-inset-bottom));
    flex: 0 0 calc(80px + env(safe-area-inset-bottom));
    padding: 0 20px env(safe-area-inset-bottom);
    background: #090a0b;
  }
  .footer-inner {
    min-height: 80px;
    height: 80px;
    padding: 0;
    border-top: 1px solid rgba(255,255,255,.1);
  }
  .play-button { font-size: 11px; }
}
@media (max-width: 355px) and (orientation: portrait) {
  .footer { padding-inline: 12px; }
}
