/* =============================================================
   STORY CONTRACTORS — COMING SOON PAGE
   -------------------------------------------------------------
   Quick edits:
   - Colors & fonts: change the variables in :root below.
   - Spacing between sections: search "section padding".
   - Everything else mirrors the structure of index.html.
   ============================================================= */

:root {
  /* ---- palette (pulled from the flyer) ---- */
  --bg:          #0b0a08;
  --panel:       #14120d;
  --gold-deep:   #a97c2c;
  --gold:        #cda149;
  --gold-light:  #eed8a0;
  --cream:       #f5efe2;
  --cream-dim:   rgba(245, 239, 226, 0.68);
  --hairline:    rgba(205, 161, 73, 0.35);
  --ink:         #171410;

  /* ---- type ---- */
  --font-display: "Fraunces", Georgia, serif;
  --font-body:    "Jost", "Helvetica Neue", Arial, sans-serif;

  /* ---- layout ---- */
  --max-width: 1080px;
  --edge: clamp(24px, 5vw, 64px);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

.icon { width: 1em; height: 1em; }

/* -------------------------------------------------------------
   HERO VIDEO — full width, autoplay, no controls
   ------------------------------------------------------------- */
.hero {
  position: relative;
  width: 100%;
  line-height: 0;
  background: #000;
}

.hero__video {
  display: block;
  width: 100%;
  height: clamp(280px, 62vw, 640px);
  object-fit: cover;
}

.hero__fade {
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(to bottom, rgba(11,10,8,0), var(--bg));
  pointer-events: none;
}

/* -------------------------------------------------------------
   INTRO
   ------------------------------------------------------------- */
.intro {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(40px, 7vw, 76px) var(--edge) clamp(24px, 4vw, 40px);
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  margin: 0 0 18px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--gold-light);
}

.headline {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-optical-sizing: auto;
  text-transform: uppercase;
  font-size: clamp(3.2rem, 12vw, 7.5rem);
  line-height: 0.92;
  letter-spacing: 0.01em;
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 55%, var(--gold-deep) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tagline {
  margin: 18px 0 0;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  color: var(--cream-dim);
}

/* -------------------------------------------------------------
   STATS ROW
   ------------------------------------------------------------- */
.stats {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 44px) var(--edge);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  text-align: center;
  padding: 8px 12px;
  border-left: 1px solid var(--hairline);
}

.stat:first-child { border-left: none; }

.stat__icon {
  width: 34px;
  height: 34px;
  color: var(--gold);
  margin-bottom: 10px;
}

.stat__value {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.2rem, 2.6vw, 1.6rem);
  color: var(--cream);
}

.stat__label {
  display: block;
  margin-top: 2px;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  color: var(--cream-dim);
}

/* -------------------------------------------------------------
   DETAILS — builder blurb + contact form
   ------------------------------------------------------------- */
.details {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: clamp(40px, 7vw, 72px) var(--edge);
}

.details__intro {
  max-width: 62ch;
  margin: 0 auto clamp(28px, 5vw, 40px);
  text-align: center;
}

.details__kicker {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.3rem, 2.6vw, 1.7rem);
  color: var(--gold-light);
}

.details__copy {
  margin: 0;
  color: var(--cream-dim);
}

.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 2px;
  font-size: 0.95rem;
  font-weight: 500;
  text-decoration: none;
  transition: opacity 0.15s ease;
}

.btn:hover { opacity: 0.85; }

.btn--solid {
  background: linear-gradient(180deg, var(--gold-light), var(--gold-deep));
  color: var(--ink);
}

.details__panel {
  max-width: 720px;
  margin: 0 auto;
  background: var(--panel);
  border: 1px solid var(--hairline);
  padding: clamp(28px, 5vw, 44px);
  text-align: center;
}

.details__panel-title {
  margin: 0 0 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--cream);
}

.details__panel-copy {
  margin: 0 0 26px;
  font-size: 0.92rem;
  color: var(--cream-dim);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--cream-dim);
}

.field input,
.field textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--cream);
  background: var(--bg);
  border: 1px solid var(--hairline);
  border-radius: 2px;
  padding: 11px 12px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
}

/* Honeypot spam trap — hidden from sighted and mouse users, but
   left in the accessibility tree can confuse screen readers, so
   it's pulled fully off-canvas instead of display:none. Real
   visitors never see or reach this field. */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form__submit {
  margin-top: 4px;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  width: 100%;
}

.form-error {
  margin: 0;
  font-size: 0.85rem;
  color: #e0a45a;
  text-align: center;
}

.details__panel--success .details__panel-title,
.details__panel--success .details__panel-copy {
  margin-bottom: 0;
}

.form-success {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.6vw, 1.35rem);
  color: var(--gold-light);
  line-height: 1.4;
}

/* -------------------------------------------------------------
   FOOTER
   ------------------------------------------------------------- */
.footer {
  border-top: 1px solid var(--hairline);
  background: var(--panel);
  padding: clamp(28px, 5vw, 40px) var(--edge);
  display: flex;
  justify-content: center;
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer__mark {
  width: 44px;
  height: 44px;
  color: var(--gold);
  flex-shrink: 0;
}

.footer__wordmark {
  display: flex;
  flex-direction: column;
}

.footer__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--cream);
}

.footer__name em { color: var(--gold-light); font-style: normal; }

.footer__quote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.82rem;
  color: var(--cream-dim);
}

/* -------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------- */
@media (max-width: 760px) {
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 24px; }
  .stat:nth-child(3) { border-left: none; }
  .field-row { grid-template-columns: 1fr; gap: 16px; }
}

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