/* Pumpjack Country site — West Texas dusk */
@font-face {
  font-family: "Bebas Neue";
  src: url("/fonts/BebasNeue-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Figtree";
  src: url("/fonts/Figtree-var.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #140e0a;
  --ink-2: #1c1410;
  --panel: #241810;
  --panel-2: #2c1e14;
  --line: rgba(243, 226, 196, 0.14);
  --sand: #f3ead8;
  --sand-dim: #cbb89a;
  --dust: #a88962;
  --gold: #e8a317;
  --gold-2: #f5b42a;
  --gold-ink: #1a120c;
  --rust: #8a4a22;
  --sky: #c4a882;
  --max: 1120px;
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: Figtree, "Segoe UI", system-ui, sans-serif;
  color: var(--sand);
  background: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-2); }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin-inline: auto;
}

/* Header */
header.site {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px 28px;
  background: linear-gradient(180deg, rgba(12,9,7,0.88) 0%, rgba(12,9,7,0.35) 70%, transparent 100%);
}
header.site .brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--sand);
  letter-spacing: 0.08em;
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  font-size: 1.35rem;
}
header.site .brand svg { width: 32px; height: 32px; }
header.site nav { display: flex; gap: 18px; }
header.site nav a {
  color: var(--sand);
  font-size: 0.92rem;
  font-weight: 600;
  opacity: 0.88;
}
header.site nav a:hover { opacity: 1; color: var(--gold-2); }
header.site.inner {
  position: relative;
  background: var(--ink-2);
  border-bottom: 1px solid var(--line);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  background: #0c0907 center/cover no-repeat;
  background-image: url("/images/hero.webp");
  background-position: center center;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(12,9,7,0.78) 0%, rgba(12,9,7,0.28) 22%, rgba(12,9,7,0.22) 48%, rgba(12,9,7,0.82) 78%, #140e0a 100%),
    linear-gradient(90deg, rgba(12,9,7,0.45), transparent 50%);
  z-index: -1;
}
.hero-copy {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto 64px;
  padding-top: 120px;
}
.kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 10px;
}
h1 {
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  font-weight: 400;
  font-size: clamp(3.2rem, 10vw, 6.4rem);
  line-height: 0.86;
  letter-spacing: 0.02em;
  margin: 0 0 8px;
  color: #fff8ec;
  text-shadow: 0 2px 24px rgba(0,0,0,0.45);
}
h1 .sub {
  display: block;
  font-size: 0.42em;
  letter-spacing: 0.14em;
  color: var(--gold-2);
  margin-top: 6px;
}
.tagline {
  max-width: 38rem;
  font-size: clamp(1.05rem, 2.2vw, 1.28rem);
  color: var(--sand);
  margin: 18px 0 28px;
  font-weight: 450;
}
.tagline strong { font-weight: 700; color: #fff8ec; }

/* Form */
.capture {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 540px;
  align-items: stretch;
}
.capture input[type="email"] {
  flex: 1 1 auto;
  min-width: 200px;
  height: 52px;
  min-height: 52px;
  max-height: 52px;
  border: 1px solid var(--line);
  background: rgba(20,14,10,0.72);
  color: var(--sand);
  border-radius: 12px;
  padding: 0 16px;
  font: inherit;
  font-size: 1rem;
  backdrop-filter: blur(8px);
}
.capture input::placeholder { color: var(--dust); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
button.gold, .btn-gold {
  appearance: none;
  border: 0;
  background: linear-gradient(180deg, var(--gold-2), var(--gold));
  color: var(--gold-ink);
  font: inherit;
  font-weight: 750;
  letter-spacing: 0.02em;
  padding: 0 22px;
  min-height: 52px;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(232,163,23,0.28);
}
button.gold:hover, .btn-gold:hover { filter: brightness(1.06); }
button.gold:disabled { opacity: 0.7; cursor: default; }
.form-note, .form-status {
  flex-basis: 100%;
  margin: 4px 0 0;
  font-size: 0.88rem;
  color: var(--sand-dim);
}
.form-status.ok { color: #c8e8a8; }
.form-status.err { color: #f0b0a0; }

/* Sections */
section { padding: 72px 0; }
section h2 {
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 0.04em;
  margin: 0 0 10px;
  color: #fff8ec;
}
.lede { color: var(--sand-dim); margin: 0 0 28px; max-width: 40rem; }

.beats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.beat {
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px 20px;
  min-height: 140px;
}
.beat .n {
  font-family: "Bebas Neue", sans-serif;
  color: var(--gold);
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}
.beat h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff8ec;
}
.beat p { margin: 0; color: var(--sand-dim); font-size: 0.95rem; }

/* Gallery */
.gallery-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.gallery-scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(280px, 72vw);
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 0 18px;
  margin-inline: calc(50% - 50vw);
  padding-inline: max(20px, calc(50vw - var(--max) / 2));
  scrollbar-color: var(--gold) transparent;
}
.shot {
  scroll-snap-align: start;
  margin: 0;
  background: #000;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(0,0,0,0.35);
}
.shot img {
  width: 100%;
  height: auto;
  aspect-ratio: 2868 / 1320;
  object-fit: cover;
  background: #1a120c;
}
.shot figcaption {
  padding: 10px 14px 12px;
  font-size: 0.9rem;
  color: var(--sand-dim);
  background: var(--panel);
}

/* CTA band */
.cta-band {
  background:
    linear-gradient(180deg, rgba(20,14,10,0.55), rgba(20,14,10,0.82)),
    url("/images/og.webp") center/cover no-repeat;
  border-block: 1px solid var(--line);
  padding: 80px 0;
}
.cta-band h2 { margin-bottom: 8px; }
.cta-band .capture { margin-top: 22px; }

/* Footer + legal pages */
footer.site {
  padding: 32px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--sand-dim);
  font-size: 0.92rem;
}
footer.site .row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}
footer.site nav { display: flex; gap: 16px; }
footer.site a { color: var(--sand); }
.legal {
  padding: 48px 0 80px;
  max-width: 720px;
}
.legal h1 {
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  margin-bottom: 8px;
}
.legal p, .legal li { color: var(--sand-dim); }
.legal h2 {
  font-family: Figtree, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0;
  color: #fff8ec;
  margin: 28px 0 8px;
}
.legal a { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 800px) {
  .beats { grid-template-columns: 1fr 1fr; }
  header.site { padding: 14px 16px; }
  .hero-copy { margin-bottom: 48px; }
  section { padding: 56px 0; }
}
@media (max-width: 640px) {
  header.site nav a[href="#gallery"],
  header.site nav a[href="#invite"] { display: none; }
  header.site .brand { font-size: 1.15rem; letter-spacing: 0.06em; }
  header.site .brand svg { width: 28px; height: 28px; }
}
@media (max-width: 520px) {
  .beats { grid-template-columns: 1fr; }
  .wrap, .hero-copy { width: min(var(--max), calc(100% - 32px)); }
  h1 { font-size: clamp(2.8rem, 16vw, 4.2rem); }
  .capture { flex-direction: column; }
  .capture input[type="email"] { min-width: 0; width: 100%; }
  button.gold { width: 100%; }
}
