/* chaisehorn.com — Title Card direction */
:root {
  --black: #000000;
  --night: #050605;
  --stage: #0B0D0B;
  --contour: #1F2A22;
  --bone: #EDE8DD;
  --ash: #CFCAC0;
  --dust: #A39E93;
  --stone: #8E897F;
  --line: #6B665D;
  --accent: #E0763A;

  --display: 'Syncopate', 'Arial Black', sans-serif;
  --billing: 'Antonio', 'Arial Narrow', sans-serif;
  --body: 'Instrument Sans', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--night);
  color: var(--bone);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
}
a { color: var(--ash); text-decoration: none; }
a:hover { color: var(--accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
b { font-weight: 600; color: var(--ash); }

/* Letterbox bars */
.bar {
  flex: none;
  min-height: 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 0 48px;
  background: var(--black);
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--stone);
}
.bar--top { padding-top: env(safe-area-inset-top, 0px); }
.bar--bottom { padding-bottom: env(safe-area-inset-bottom, 0px); color: #6F6A61; }
.bar__nav { display: flex; gap: 40px; }
.bar a { padding: 12px 0; }

/* Stage */
.stage {
  position: relative;
  flex: 1;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 45% at 50% 38%, rgba(224, 118, 58, 0.10), rgba(5, 6, 5, 0) 70%),
    var(--stage);
}
.topo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--contour);
  stroke-width: 1;
  pointer-events: none;
}
.stage__inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: clamp(72px, 12vh, 160px) 24px clamp(64px, 10vh, 120px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.stage--short .stage__inner { min-height: calc(100dvh - 128px); justify-content: center; }

/* Title lockup */
.title { display: flex; flex-direction: column; align-items: center; }
.title__kicker {
  margin: 0 0 clamp(32px, 5vw, 56px);
  font-family: var(--display);
  font-size: clamp(10px, 1.1vw, 13px);
  letter-spacing: 0.6em;
  padding-left: 0.6em;
  text-transform: uppercase;
  color: var(--dust);
}
.title__name {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(40px, 8.2vw, 104px);
  line-height: 1;
  letter-spacing: 0.22em;
  padding-left: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
}
.title__name--sm { font-size: clamp(22px, 5vw, 60px); letter-spacing: 0.16em; padding-left: 0.16em; white-space: normal; }
.title__rule {
  display: block;
  width: 120px;
  height: 1px;
  margin: clamp(32px, 4vw, 48px) 0;
  background: var(--accent);
}
.title__tag {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(12px, 1.45vw, 18px);
  letter-spacing: 0.7em;
  padding-left: 0.7em;
  text-transform: uppercase;
}
.title__tag--sm { letter-spacing: 0.4em; padding-left: 0.4em; line-height: 1.8; }

/* Signup */
.join { width: 100%; max-width: 720px; margin-top: clamp(80px, 11vh, 120px); }
.join__form { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.join__label {
  font-family: var(--billing);
  font-weight: 400;
  font-size: clamp(24px, 2.4vw, 30px);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.join__row { width: 100%; display: flex; }
.join__row input {
  flex: 1;
  min-width: 0;
  height: 64px;
  padding: 0 24px;
  background: rgba(5, 6, 5, 0.8);
  border: 1px solid var(--line);
  border-right: none;
  border-radius: 0;
  color: var(--bone);
  font: 400 17px/1 var(--body);
  -webkit-appearance: none;
  appearance: none;
}
.join__row input::placeholder { color: var(--stone); }
.join__row input:focus-visible { outline-offset: -2px; border-color: var(--accent); }
.join__row button {
  flex: none;
  height: 64px;
  padding: 0 40px;
  background: var(--accent);
  border: none;
  border-radius: 0;
  color: var(--night);
  font-family: var(--display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  cursor: pointer;
}
.join__row button:hover { background: #EC8A52; }
.join__note { margin: 0; font-size: 14px; line-height: 1.5; color: var(--stone); }

/* Premiere */
.premiere { margin-top: clamp(72px, 9vh, 96px); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.premiere p { margin: 0; font-family: var(--billing); text-transform: uppercase; }
.premiere__label { font-weight: 200; font-size: 22px; letter-spacing: 0.5em; padding-left: 0.5em; color: var(--dust); }
.premiere__date { font-weight: 600; font-size: clamp(32px, 3.5vw, 44px); letter-spacing: 0.24em; padding-left: 0.24em; }

/* Billing block */
.billing {
  margin-top: clamp(64px, 8vh, 88px);
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: var(--billing);
  font-weight: 200;
  font-size: 17px;
  line-height: 1.3;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--stone);
}
.billing p { margin: 0; }
.billing a { color: var(--ash); border-bottom: 1px solid var(--line); }

/* Privacy / document pages */
.doc {
  flex: 1;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 96px 24px 120px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ash);
}
.doc h1 { margin: 0 0 8px; font-family: var(--display); font-size: clamp(26px, 4vw, 40px); letter-spacing: 0.2em; text-transform: uppercase; color: var(--bone); }
.doc h2 { margin: 48px 0 8px; font-family: var(--billing); font-weight: 600; font-size: 22px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bone); }
.doc__meta { margin: 0; color: var(--stone); font-size: 14px; }
.doc a { color: var(--bone); border-bottom: 1px solid var(--accent); }

/* One orchestrated load: the title lockup resolves in */
@media (prefers-reduced-motion: no-preference) {
  .title__kicker, .title__name, .title__tag { animation: resolve 1.6s cubic-bezier(.2,.7,.2,1) both; }
  .title__name { animation-delay: .15s; }
  .title__rule { animation: draw 1.2s .7s cubic-bezier(.2,.7,.2,1) both; }
  .title__tag { animation-delay: .9s; }
  @keyframes resolve { from { opacity: 0; letter-spacing: 0.9em; } }
  @keyframes draw { from { transform: scaleX(0); } }
}

/* Mobile */
@media (max-width: 640px) {
  .bar { padding-left: 20px; padding-right: 20px; letter-spacing: 0.28em; }
  .bar__nav { gap: 24px; }
  .bar__place { display: none; }
  .bar--top { justify-content: flex-end; }
  .title__name { font-size: 12vw; line-height: 1.12; letter-spacing: 0.12em; padding-left: 0.12em; white-space: normal; }
  .title__tag { letter-spacing: 0.45em; padding-left: 0.45em; }
  .join__row { flex-direction: column; gap: 10px; }
  .join__row input { flex: none; width: 100%; border-right: 1px solid var(--line); }
  .join__row button { width: 100%; }
  .billing { font-size: 15px; letter-spacing: 0.1em; }
}
