@font-face {
  font-family: "Archivo";
  src: url("fonts/Archivo-latin.woff2") format("woff2");
  font-weight: 200 700;
  font-display: swap;
}

:root {
  --ink: #fff3e6;
  --body: #e6d9cc;
  --muted: #b3a597;
  --ember: #ffcf9e;
  --amber: #ffb36b;
  --dim: rgba(255, 214, 176, 0.6);
  --bg: #0a0705;
  --card: #15100c;
  --line: rgba(255, 200, 150, 0.14);
  --focus: #ffcf9e;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  background: #000;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100%;
  background: #000;
  color: var(--ink);
  font-family: "Archivo", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: var(--ember); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: #fff; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 3px; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 10;
  padding: 10px 14px; background: var(--ember); color: #000; text-decoration: none; border-radius: 4px;
}
.skip:focus { top: 16px; }

/* ------------------------------------------------------------ the scene */
#scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

/* Shown only when WebGL is unavailable (main.js adds .no-gl) or without JS. */
.fallback {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 3s ease;
  background:
    radial-gradient(ellipse 70% 55% at 50% 86%, rgba(255, 196, 128, 0.95) 0%, rgba(255, 120, 40, 0.55) 18%, rgba(140, 40, 10, 0.25) 42%, rgba(0, 0, 0, 0) 72%),
    linear-gradient(#000 0%, #000 100%);
}
.no-gl .fallback { opacity: 1; }
.no-gl #scene { display: none; }

/* ------------------------------------------------------------ hero */
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 420px;
  overflow: hidden;
}
/* Let the floor fade into the page instead of ending on a hard edge. */
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 9%;
  background: linear-gradient(rgba(10, 7, 5, 0), var(--bg));
  pointer-events: none;
}

.nav {
  position: absolute;
  top: max(20px, env(safe-area-inset-top));
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: clamp(18px, 3vw, 40px);
  padding: 0 16px;
  opacity: 0;
  animation: rise 2.4s ease 5.2s forwards;
}
.nav a {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-indent: 0.42em;
  text-transform: uppercase;
  color: var(--dim);
  text-decoration: none;
  padding: 6px 2px;
}
.nav a:hover { color: var(--ink); }

.hero-text {
  position: absolute;
  left: 0;
  right: 0;
  top: 33.3%;
  transform: translateY(-50%);
  padding: 0 16px;
  text-align: center;
}

.name, .tag { display: block; opacity: 0; }

.name {
  font-size: clamp(14px, 1.45vw, 23px);
  font-weight: 500;
  letter-spacing: 0.72em;
  text-indent: 0.72em;
  color: var(--ember);
  margin-bottom: clamp(14px, 1.6vw, 24px);
  animation: rise 2.6s cubic-bezier(.2,.7,.2,1) 2.6s forwards;
}

.tag {
  font-size: clamp(27px, 4.1vw, 66px);
  font-weight: 250;
  letter-spacing: -0.012em;
  line-height: 1.1;
  text-shadow: 0 0 28px rgba(255, 170, 90, 0.18);
  animation: rise 3.2s cubic-bezier(.2,.7,.2,1) 3.7s forwards;
}

.cue {
  position: absolute;
  left: 50%;
  bottom: max(14px, env(safe-area-inset-bottom));
  z-index: 1;
  transform: translateX(-50%);
  width: 44px;
  height: 52px;
  display: flex;
  justify-content: center;
  opacity: 0;
  animation: rise 2s ease 8.5s forwards;
}
.cue-line {
  display: block;
  width: 1px;
  height: 100%;
  background: linear-gradient(rgba(255, 214, 176, 0), rgba(255, 214, 176, 0.75));
  position: relative;
  overflow: hidden;
}
.cue-line::after {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -40%;
  height: 40%;
  background: linear-gradient(rgba(255, 240, 220, 0), #fff3e6);
  animation: drip 2.6s ease-in-out 10s infinite;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(10px); filter: blur(6px); }
  to   { opacity: 1; transform: none; filter: blur(0); }
}
.cue { animation-name: cue-rise; }
@keyframes cue-rise {
  from { opacity: 0; transform: translate(-50%, -8px); }
  to   { opacity: 1; transform: translate(-50%, 0); }
}
@keyframes drip { 0% { top: -40%; } 60%, 100% { top: 100%; } }

/* ------------------------------------------------------------ the page */
.page {
  position: relative;
  background: var(--bg);
  padding: 40px 16px 0;
  color: var(--body);
  font-size: 18px;
  line-height: 1.6;
}
.page > section {
  max-width: 980px;
  margin: 0 auto;
  padding: 56px 0;
}
.page > section + section { border-top: 1px solid var(--line); }

.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 22px;
}

.about { max-width: 760px !important; }
.about p + p { margin-top: 1em; }
.lede {
  font-size: clamp(23px, 2.6vw, 30px);
  font-weight: 300;
  line-height: 1.35;
  color: var(--ink);
}

.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  min-width: 0;
}
.card-feature { grid-column: 1 / -1; }
.shot {
  display: block;
  background: #050403;
  border-bottom: 1px solid var(--line);
}
.shot img {
  display: block;
  width: 100%;
  height: auto;
}
.card-split {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 32px;
}
.card-side .meta { margin-top: 6px; }
.card-body { padding: 26px 26px 28px; }
.card-body p + p { margin-top: 0.8em; }
.card h3 {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin: 4px 0 12px;
}
.card .status {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.card .status-live { color: #9fe07a; }
.card p { font-size: 16.5px; }

.meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
}
.meta li {
  font-size: 13px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 11px;
}
.links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px !important; }
.btn {
  display: inline-block;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  color: #1a0f06;
  background: var(--ember);
  border-radius: 6px;
  padding: 10px 18px;
}
.btn:hover { background: #fff3e6; color: #1a0f06; }
.btn-quiet { background: transparent; color: var(--ember); border: 1px solid rgba(255, 207, 158, 0.45); }
.btn-quiet:hover { background: rgba(255, 207, 158, 0.1); color: #fff; }
.fine { font-size: 13px !important; color: var(--muted); margin-top: 18px !important; line-height: 1.5; }

.contact-lines { display: flex; flex-wrap: wrap; gap: 10px 36px; font-size: clamp(20px, 2.4vw, 26px); font-weight: 300; }
.contact-lines a { color: var(--ink); text-decoration-color: rgba(255, 207, 158, 0.5); overflow-wrap: anywhere; }
.contact-lines a:hover { color: var(--ember); }

.foot {
  position: relative;
  background: var(--bg);
  padding: 28px 16px 40px;
  text-align: center;
  font-size: 13px;
  color: var(--muted);
}
.foot p { max-width: 980px; margin: 0 auto; border-top: 1px solid var(--line); padding-top: 28px; }

@media (max-width: 760px) {
  .cards { grid-template-columns: 1fr; }
  .card-split { grid-template-columns: 1fr; gap: 0; }
  .card-side .meta { margin-top: 18px; }
  .page { font-size: 17px; padding-top: 24px; }
  .page > section { padding: 44px 0; }
  .card-body { padding: 22px 20px 24px; }
}
@media (max-width: 420px) {
  .nav { gap: 16px; }
  .nav a { letter-spacing: 0.26em; text-indent: 0.26em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .name, .tag, .nav, .cue { animation-duration: 0.8s; animation-delay: 0.4s; }
  .cue-line::after { animation: none; display: none; }
}

.still .name, .still .tag, .still .nav, .still .cue { animation: none; opacity: 1; }
.still .cue { transform: translateX(-50%); }
.still .cue-line::after { animation: none; display: none; }
