/* Eighteen Worldwide: a screening-room identity.
   Tokens: house (the dark of a theater), screen (projected light, used for text),
   lamp (one warm accent: the projector gate lines and links). */
:root {
  --house: #11151a;
  --house-2: #181d24;
  --rule: #2c333c;
  --screen: #ece7dc;
  --screen-dim: #9aa2ab;
  --lamp: #c9a46a;

  --display: "Libre Caslon Display", "Big Caslon", Georgia, serif;
  --body: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  --script: "Courier Prime", "Courier New", monospace; /* screenplay type, for labels */

  --gutter: clamp(20px, 5vw, 64px);
  --measure: 36rem;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--house);
  color: var(--screen);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-align: left;
}

a { color: var(--lamp); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--screen); }
:focus-visible { outline: 2px solid var(--lamp); outline-offset: 3px; }

.wrap { max-width: 72rem; margin: 0 auto; padding: 0 var(--gutter); }

/* labels in screenplay Courier */
.slug {
  font-family: var(--script);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--screen-dim);
  margin: 0;
}

/* header */
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 22px; padding-bottom: 22px; flex-wrap: wrap; }
.wordmark {
  font-family: var(--display);
  font-size: 1.05rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--screen);
  text-decoration: none;
}
.wordmark:hover { color: var(--screen); }
.site-nav { display: flex; gap: clamp(16px, 3vw, 34px); }
.site-nav a { font-family: var(--script); font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--screen-dim); text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--screen); }

/* hero: a 2.39:1 title card, framed by the projector gate */
.hero { padding: clamp(24px, 5vw, 56px) 0 clamp(64px, 10vw, 120px); }
.card {
  position: relative;
  aspect-ratio: 2.39 / 1;
  background: var(--house-2);
  display: grid;
  place-items: center;
  padding: clamp(20px, 5vw, 64px);
  border-top: 1px solid var(--lamp);
  border-bottom: 1px solid var(--lamp);
}
.card h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.1rem, 5.6vw, 4.9rem);
  line-height: 1.08;
  letter-spacing: 0.005em;
  text-align: center;
  margin: 0;
  max-width: 18ch;
  text-wrap: balance;
}
.card .gate { position: absolute; left: clamp(14px, 2vw, 24px); right: clamp(14px, 2vw, 24px); display: flex; justify-content: space-between; }
.card .gate.top { top: 14px; }
.card .gate.bottom { bottom: 14px; }
.card .gate span { font-family: var(--script); font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--screen-dim); }
.hero .lede { max-width: var(--measure); font-size: 1.1875rem; margin: clamp(32px, 5vw, 56px) 0 0; }

/* sections */
.section { padding: clamp(56px, 9vw, 112px) 0; border-top: 1px solid var(--rule); }
.section h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.2rem, 4.6vw, 3.4rem);
  line-height: 1.08;
  margin: 12px 0 28px;
}
.section p { max-width: var(--measure); }

/* current project: one slate entry */
.slate { border-top: 1px solid var(--rule); }
.slate-item { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(24px, 5vw, 72px); padding: 32px 0; border-bottom: 1px solid var(--rule); align-items: start; }
.slate-item h3 { font-family: var(--display); font-weight: 400; font-size: clamp(2.4rem, 5vw, 3.6rem); letter-spacing: 0.02em; line-height: 1; margin: 8px 0 0; text-transform: uppercase; }
.slate-item p { margin: 0 0 1em; }
.slate-note { margin-top: 22px; }

/* founders */
.founders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 88px); }
.founder h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.9rem, 3.6vw, 2.5rem); line-height: 1.1; margin: 8px 0 16px; }
.founder p { margin: 0 0 1em; }

/* press */
.press-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--rule); }
.press-list li { display: grid; grid-template-columns: 10rem minmax(0, 1fr); gap: 1.5rem; padding: 22px 0; border-bottom: 1px solid var(--rule); align-items: baseline; }
.press-list a { font-size: 1.2rem; }
.contact { margin-top: 48px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.contact p { margin: 6px 0 0; }

/* release page */
.release { max-width: 44rem; padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 9vw, 110px); }
.release h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2.2rem, 5.4vw, 3.6rem); line-height: 1.1; margin: 16px 0 32px; }
.release h2 { font-family: var(--display); font-weight: 400; font-size: 1.6rem; margin: 44px 0 12px; }
.release p { margin: 0 0 1.1em; }
.release .end { text-align: center; font-family: var(--script); margin-top: 44px; color: var(--screen-dim); }

.draft-banner { background: var(--lamp); color: var(--house); font-family: var(--script); font-size: 0.8125rem; letter-spacing: 0.06em; text-transform: uppercase; padding: 8px var(--gutter); }
.confirm { background: rgba(201, 164, 106, 0.18); outline: 1px dashed var(--lamp); padding: 0 3px; }

/* footer */
.site-footer { border-top: 1px solid var(--rule); padding: 28px 0 44px; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

@media (max-width: 760px) {
  .card { aspect-ratio: auto; min-height: 62vw; padding-top: 52px; padding-bottom: 52px; }
  .slate-item, .founders, .contact { grid-template-columns: minmax(0, 1fr); }
  .press-list li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}

/* 404 page */
.notfound { font-family: var(--display); font-weight: 400; font-size: clamp(2.2rem, 4.6vw, 3.4rem); line-height: 1.08; margin: 12px 0 28px; }

/* a link that reads like the surrounding text (founder name in the intro); underline appears on hover */
a.quiet { color: inherit; text-decoration: none; }
a.quiet:hover { color: inherit; text-decoration: underline; }
