/* ═══════════════════════════════════════════════
   BROLLETTS — PRE-LAUNCH LANDING PAGE
   styles/main.css
═══════════════════════════════════════════════ */

/* ─── CUSTOM PROPERTIES ─────────────────────── */
:root {
  --bg:           #080808;
  --bg-alt:       #272727;
  --bg-mid:       #1A1A1A;
  --bg-light:     #2E2E2E;

  --white:        #FFFFFF;
  --white-80:     rgba(255, 255, 255, 0.80);
  --white-55:     rgba(255, 255, 255, 0.55);
  --white-30:     rgba(255, 255, 255, 0.30);
  --white-10:     rgba(255, 255, 255, 0.10);
  --white-06:     rgba(255, 255, 255, 0.06);

  --red:          #EB1B23;
  --red-dark:     #C2161D;
  --red-hover:    #FF2530;

  --border:       rgba(255, 255, 255, 0.09);
  --border-focus: rgba(255, 255, 255, 0.45);
  --section-border: rgba(255, 255, 255, 0.07);

  --font-display: 'Bebas Neue', sans-serif;
  --font-body:    'Inter', sans-serif;

  --max-w:        1200px;
  --pad-x:        clamp(1.25rem, 5vw, 3.5rem);
  --section-py:   clamp(3rem, 6vw, 5.5rem);
}

/* ─── RESET ─────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ─── LAYOUT UTILITIES ───────────────────────── */
.inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.section {
  padding: var(--section-py) 0;
}

.accent {
  color: var(--red);
}

/* ─── TYPOGRAPHY BASE ────────────────────────── */
.section-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.9rem;
}

.display-headline {
  font-family: var(--font-display);
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: var(--white);
}

.body-text p {
  font-size: clamp(0.95rem, 1.6vw, 1.05rem);
  font-weight: 300;
  color: var(--white-80);
  line-height: 1.8;
  margin-bottom: 1.1rem;
}

.body-text p:last-child {
  margin-bottom: 0;
}

.attribution {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.attribution p {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white-55);
}

/* ─── PHOTO PLACEHOLDER ──────────────────────── */
.photo-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 4px;
  background: var(--bg-mid);
}

.photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.photo-placeholder-label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  color: var(--white-30);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  pointer-events: none;
  border: 1px dashed rgba(255,255,255,0.1);
  border-radius: 4px;
}

.photo-placeholder-label svg {
  opacity: 0.25;
}

/* ─── FORM SHARED ────────────────────────────── */
.signup-form {
  width: 100%;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}

.form-grid .span-2 {
  grid-column: 1 / -1;
}

.form-field {
  display: flex;
  flex-direction: column;
}

.form-field label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white-55);
  margin-bottom: 0.4rem;
  text-align: left;
}

.form-field input {
  background: var(--white-06);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.875rem 1rem;
  transition: border-color 0.2s ease, background 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
}

.form-field input::placeholder {
  color: var(--white-30);
}

.form-field input:focus {
  outline: none;
  border-color: var(--border-focus);
  background: rgba(255, 255, 255, 0.09);
}

.btn-cta {
  width: 100%;
  padding: 1.05rem 2rem;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
  -webkit-appearance: none;
  appearance: none;
  margin-top: 0.2rem;
  min-height: 54px;
}

.btn-cta:hover {
  background: var(--red-hover);
}

.btn-cta:active {
  transform: scale(0.992);
}

.btn-cta:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.form-success {
  padding: 2rem 1rem;
  text-align: center;
}

.form-success p {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--white-80);
  line-height: 1.6;
}

.form-success p strong {
  color: var(--white);
  font-weight: 600;
}

.form-error {
  color: #ff7070;
  font-size: 0.82rem;
  margin-top: 0.6rem;
  text-align: center;
  min-height: 1.2em;
}

@media (max-width: 680px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  .form-grid .span-2 {
    grid-column: 1;
  }
}

/* ════════════════════════════════════════════════
   SECTION 1 — HERO
════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg);
  overflow: hidden;
}

/* hero.png drops in here */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero.png');
  background-size: cover;
  background-position: center 25%;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.18) 0%,
    rgba(0, 0, 0, 0.45) 38%,
    rgba(0, 0, 0, 0.88) 68%,
    rgba(8, 8, 8, 1.00) 90%
  );
  z-index: 1;
}

.hero-logo-bar {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 2.75rem) var(--pad-x) 0;
}

/* logo.png drops in here */
.hero-logo {
  width: clamp(160px, 24vw, 260px);
  height: auto;
}

.hero-body {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 760px;
  margin: auto;
  padding: 2rem var(--pad-x) clamp(3rem, 7vw, 5.5rem);
  text-align: center;
}

.hero-headline {
  font-size: clamp(1.9rem, 5.5vw, 5rem);
  margin-bottom: 1.25rem;
}

.underline-scribble {
  position: relative;
  display: inline-block;
}

.underline-scribble::after {
  content: '';
  position: absolute;
  left: -2%;
  bottom: -0.2em;
  width: 104%;
  height: 0.38em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 420 22' preserveAspectRatio='none'%3E%3Cpath d='M2 14 C 18 12, 55 16, 110 13 C 165 10, 210 15, 260 12 C 310 9, 360 13, 418 11 L 418 18 C 360 20, 310 17, 260 19 C 210 21, 165 17, 110 19 C 55 21, 18 18, 2 19 Z' fill='%23EB1B23' opacity='0.95'/%3E%3Cpath d='M4 11 C 50 9, 120 14, 200 11 C 280 8, 360 12, 416 10 L 416 14 C 360 16, 280 13, 200 15 C 120 17, 50 13, 4 15 Z' fill='%23EB1B23' opacity='0.45'/%3E%3C/svg%3E") no-repeat center / 100% 100%;
}

.hero-subhead {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  font-weight: 400;
  color: var(--white-80);
  line-height: 1.65;
  max-width: 580px;
  margin: 0 auto 0.85rem;
}

.hero-offer {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  font-weight: 500;
  color: var(--red);
  line-height: 1.7;
  margin-bottom: 2.25rem;
}

.offer-highlight {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}

.subhead-break {
  display: block;
  margin-top: 0.35rem;
}

@media (max-width: 480px) {
  .hero-subhead {
    font-size: 0.82rem;
  }
}

/* ════════════════════════════════════════════════
   SECTION 2 — COLTEN'S STORY
════════════════════════════════════════════════ */
.story-section {
  background: #FFFFFF;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.story-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5.5rem);
  align-items: start;
}

.story-photo-col {
  position: sticky;
  top: 2.5rem;
}

/* colten.jpg drops in here */
.story-photo-col .photo-wrap {
  aspect-ratio: 4 / 5;
  max-height: 480px;
}

.story-copy-col {
  padding-top: 0.25rem;
}

.story-copy-col h2 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  margin-bottom: 1.75rem;
}

@media (max-width: 768px) {
  .story-layout {
    grid-template-columns: 1fr;
  }

  .story-photo-col {
    position: static;
  }

  .story-photo-col .photo-wrap {
    aspect-ratio: 4 / 3;
    max-height: 380px;
  }
}

/* ════════════════════════════════════════════════
   SECTION 3 — PEOPLE IN OUR WORLD
════════════════════════════════════════════════ */
.people-section {
  background: var(--bg-mid);
  border-top: 1px solid var(--section-border);
}

.people-header {
  text-align: center;
  margin-bottom: clamp(1.75rem, 3vw, 2.5rem);
}

.people-header .section-label {
  font-size: 0.68rem;
}

.people-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  line-height: 1;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.people-header p {
  font-size: clamp(0.9rem, 1.5vw, 1rem);
  font-weight: 300;
  color: var(--white-55);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.65;
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(0.5rem, 1.25vw, 1rem);
}

.person-card {
  display: flex;
  flex-direction: column;
}

/* Photo with name/role overlaid */
.person-photo-wrap {
  aspect-ratio: 3 / 4;
  background: var(--bg-alt);
  border-radius: 3px;
  overflow: hidden;
  position: relative;
}

.person-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.4s ease;
}

.person-card:hover .person-photo-wrap img {
  transform: scale(1.04);
}

/* Gradient overlay for text legibility */
.person-photo-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.3) 45%,
    transparent 70%
  );
  pointer-events: none;
}

.person-info {
  position: absolute;
  bottom: 0.65rem;
  left: 0.75rem;
  right: 0.5rem;
  z-index: 2;
}

.person-name {
  font-size: clamp(0.72rem, 1.1vw, 0.88rem);
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.1rem;
  line-height: 1.2;
}

.person-role {
  font-size: clamp(0.62rem, 0.9vw, 0.75rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.3;
}

@media (max-width: 900px) {
  .people-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
  }
}

@media (max-width: 520px) {
  .people-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }
}

/* ════════════════════════════════════════════════
   SECTION 4 — GREG + COLTEN
════════════════════════════════════════════════ */
.greg-section {
  background: #FFFFFF;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.greg-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 5vw, 5.5rem);
  align-items: start;
}

.greg-copy-col {
  order: 1;
  padding-top: 0.25rem;
}

.greg-copy-col h2 {
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  margin-bottom: 1.75rem;
}

.greg-photo-col {
  order: 2;
  position: sticky;
  top: 2.5rem;
}

/* greg-colten.jpg drops in here */
.greg-photo-col .photo-wrap {
  aspect-ratio: 4 / 5;
  max-height: 480px;
}

@media (max-width: 768px) {
  .greg-layout {
    grid-template-columns: 1fr;
  }

  .greg-copy-col { order: 2; }
  .greg-photo-col {
    order: 1;
    position: static;
  }

  .greg-photo-col .photo-wrap {
    aspect-ratio: 4 / 3;
    max-height: 380px;
  }
}

/* White section text overrides (story + greg) */
.story-section .display-headline,
.greg-section .display-headline {
  color: #0A0A0A;
}

.story-section .body-text p,
.greg-section .body-text p {
  color: rgba(0, 0, 0, 0.70);
}

.story-section .section-label,
.greg-section .section-label {
  color: var(--red);
}

.story-section .attribution,
.greg-section .attribution {
  border-top-color: rgba(0, 0, 0, 0.12);
}

.story-section .attribution p,
.greg-section .attribution p {
  color: rgba(0, 0, 0, 0.45);
}

.story-section .photo-wrap,
.greg-section .photo-wrap {
  background: #EBEBEB;
}

.story-section .photo-placeholder-label,
.greg-section .photo-placeholder-label {
  color: rgba(0, 0, 0, 0.3);
  border-color: rgba(0, 0, 0, 0.1);
}

/* ════════════════════════════════════════════════
   SECTION 5 — CLOSING CTA
════════════════════════════════════════════════ */
.closing-section {
  background: var(--bg);
  border-top: 1px solid var(--section-border);
  text-align: center;
}

.closing-section .inner {
  max-width: 680px;
}

.closing-section h2 {
  font-size: clamp(1.5rem, 6.5vw, 6.5rem);
  margin-bottom: 1rem;
  white-space: nowrap;
}

.closing-sub {
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  font-weight: 300;
  color: var(--white-80);
  line-height: 1.65;
  max-width: 520px;
  margin: 0 auto 2.5rem;
}

/* ════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════ */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 2.5rem var(--pad-x);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  width: clamp(100px, 16vw, 150px);
  height: auto;
  opacity: 0.6;
}

.footer-copy {
  font-size: 0.72rem;
  font-weight: 400;
  color: var(--white-30);
  letter-spacing: 0.06em;
  text-align: center;
}

.footer-email {
  color: var(--white-55);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-email:hover {
  color: var(--white);
}

/* ════════════════════════════════════════════════
   RED RULE DIVIDER
════════════════════════════════════════════════ */
.red-rule {
  width: 2.5rem;
  height: 2px;
  background: var(--red);
  margin-bottom: 1.5rem;
}

/* ════════════════════════════════════════════════
   SCROLL FADE-IN ANIMATIONS
════════════════════════════════════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up.delay-1 { transition-delay: 0.1s; }
.fade-up.delay-2 { transition-delay: 0.2s; }
.fade-up.delay-3 { transition-delay: 0.3s; }
.fade-up.delay-4 { transition-delay: 0.4s; }
.fade-up.delay-5 { transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
  .fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
