@font-face { font-family: Jost; font-weight: 400; font-display: swap; src: url(/fonts/jost-400.woff2) format("woff2"); }
@font-face { font-family: Jost; font-weight: 500; font-display: swap; src: url(/fonts/jost-500.woff2) format("woff2"); }
@font-face { font-family: Jost; font-weight: 600; font-display: swap; src: url(/fonts/jost-600.woff2) format("woff2"); }

:root {
  --night: #0B0A09;
  --panel: #131210;
  --line: rgba(244, 238, 227, 0.1);
  --paper: #F4EEE3;
  --ash: #8A857C;
  --tungsten: #E8963C;
  --ember: #A2550F;
}

* { box-sizing: border-box; }
html { background: var(--night); color: var(--paper); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 400 18px/1.6 Jost, system-ui, sans-serif; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--tungsten); outline-offset: 3px; }

.wrap { width: min(1120px, 100% - 48px); margin-inline: auto; }

h1, h2 { font-weight: 600; letter-spacing: -0.01em; line-height: 1.1; margin: 0; }
h1 { font-size: clamp(40px, 6vw, 72px); max-width: 13ch; }
h2 { font-size: clamp(24px, 2.6vw, 30px); }
p { margin: 0; }

.eyebrow { font-size: 13px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tungsten); }

/* Header */
.top { display: flex; align-items: center; justify-content: space-between; padding-block: 28px; position: relative; z-index: 2; }
.brand img { height: 32px; width: auto; }
.top nav a { font-weight: 500; text-decoration: none; color: var(--ash); }
.top nav a:hover { color: var(--paper); }

/* Hero */
.hero { position: relative; margin-top: -92px; padding: 200px 0 140px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 78% 50%; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(11,10,9,.94) 0%, rgba(11,10,9,.72) 45%, rgba(11,10,9,.05) 80%),
              linear-gradient(0deg, var(--night) 0%, rgba(11,10,9,0) 30%); }
.hero-copy { position: relative; z-index: 2; display: grid; gap: 24px; }
.lede { max-width: 34em; color: rgba(244, 238, 227, 0.78); font-size: 20px; }

.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.btn { display: inline-block; padding: 12px 22px; border-radius: 999px; border: 1px solid var(--line);
  font-weight: 500; font-size: 16px; text-decoration: none; background: rgba(244, 238, 227, 0.04); transition: background .15s, border-color .15s; }
.btn:hover { background: rgba(244, 238, 227, 0.1); border-color: rgba(244, 238, 227, 0.2); }
.btn.primary { background: var(--tungsten); border-color: var(--tungsten); color: var(--night); }
.btn.primary:hover { background: #F0A65A; border-color: #F0A65A; }

/* Screenshot */
.shot { margin-top: 24px; }
.shot img, .split img { border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55); }
.caption { margin-top: 16px; color: var(--ash); font-size: 15px; }

/* Points */
.points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 120px; padding-top: 48px; border-top: 1px solid var(--line); }
.points h2 { font-size: 22px; margin-bottom: 12px; }
.points p { color: rgba(244, 238, 227, 0.72); }

/* Script split */
.split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: center; margin-top: 120px; }
.split h2 { margin-bottom: 16px; }
.split p { color: rgba(244, 238, 227, 0.72); }

/* Made with */
/* The eyebrow sits in its own row so the logo and the lead still share a top edge; the copy spans the
   remaining rows and any extra height it needs lands in the last (1fr) row, below the strip. */
.made { margin-top: 120px; padding: 56px; border-radius: 20px; background: var(--panel); border: 1px solid var(--line);
  display: grid; grid-template-columns: 1fr 1.35fr; grid-template-rows: auto auto auto 1fr; gap: 12px 48px; align-items: start;
  grid-template-areas: "eyebrow ." "copy lead" "copy strip" "copy ."; }
.made > .eyebrow { grid-area: eyebrow; margin-bottom: 4px; }
.made-copy { grid-area: copy; display: grid; gap: 16px; justify-items: start; }
.made h2 { font-size: clamp(32px, 4vw, 48px); line-height: 0; }
.made-logo { width: min(320px, 100%); height: auto; }
.made-copy p:not(.eyebrow) { color: rgba(244, 238, 227, 0.72); }
.made-copy p.made-tag { margin-top: -6px; font-size: 20px; font-weight: 500; color: var(--tungsten); }
.made .btn { margin-top: 8px; }
.made-lead { grid-area: lead; display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55); }
.made-lead img { width: 100%; transition: transform .4s ease; }
.made-lead:hover img { transform: scale(1.03); }
.strip { grid-area: strip; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.strip img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }

/* Status */
.status { margin-top: 120px; display: grid; gap: 16px; justify-items: start; }
.status p { max-width: 40em; }
.status p { color: rgba(244, 238, 227, 0.72); }
.status .btn { margin-top: 8px; }

/* Footer */
.foot { margin-top: 120px; padding-block: 40px 56px; border-top: 1px solid var(--line); display: grid; gap: 12px; color: var(--ash); font-size: 14px; }
.foot img { width: 28px; height: auto; opacity: 0.9; }
.socials { list-style: none; margin: 0 0 0 -12px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.socials a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 8px; color: var(--ash); transition: color .15s ease, background-color .15s ease; }
.socials a:hover { color: var(--tungsten); background: var(--panel); }
.socials svg { width: 20px; height: 20px; display: block; }
.legal { max-width: 60em; font-size: 13px; }

/* 404 */
.nf { min-height: 60vh; display: grid; align-content: center; gap: 20px; justify-items: start; }

@media (max-width: 900px) {
  body { font-size: 17px; }
  .hero { padding: 160px 0 90px; }
  .hero::after { background: linear-gradient(90deg, rgba(11,10,9,.92) 0%, rgba(11,10,9,.6) 100%), linear-gradient(0deg, var(--night) 0%, rgba(11,10,9,0) 30%); }
  .points { grid-template-columns: 1fr; gap: 32px; margin-top: 80px; }
  .split { grid-template-columns: 1fr; gap: 28px; margin-top: 80px; }
  .made { padding: 32px; margin-top: 80px; grid-template-columns: 1fr; grid-template-rows: none; gap: 16px;
    grid-template-areas: "lead" "eyebrow" "copy" "strip"; }
  .made > .eyebrow { margin: 12px 0 0; }
  .strip { gap: 8px; margin-top: 12px; }
  .status, .foot { margin-top: 80px; }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn, .made-lead img { transition: none; } .made-lead:hover img { transform: none; } }
