/* ============================================================
   BREWERS BLEND – HOP SODA COMING SOON
   style.css
   ============================================================ */

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

/* ── Tokens ──────────────────────────────────────────────── */
:root {
  --gold:        #8B6F3E;
  --gold-mid:    #A8883E;
  --gold-light:  #C4A55A;
  --dark:        #1C1A17;
  --mid:         #4A4540;
  --off-white:   #F7F4EF;
  --white-glass: rgba(247, 244, 239, 0.72);

  --font-display: 'Bebas Neue', 'Arial Narrow', sans-serif;
  --font-body:    'Montserrat', 'Helvetica Neue', sans-serif;
  --font-serif:   'Cormorant Garamond', 'Georgia', serif;
}

/* ── Base ────────────────────────────────────────────────── */
html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  font-family: var(--font-body);
  background: var(--off-white);
  color: var(--dark);
  -webkit-font-smoothing: antialiased;
}

/* ── Page wrapper ────────────────────────────────────────── */
.page {
  position: relative;
  width: 100%;
  max-width: 700px;
  min-height: 100svh;
  margin: 0 auto;
  overflow: hidden;
}

/* ── Hero background ─────────────────────────────────────── */
/* Cover, top-aligned so the logo at the very top of the image
   is always fully visible regardless of viewport height.       */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/hero.png');
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  z-index: 0;
}

/* Subtle centre-fade so text sits cleanly over the pale middle */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 72% 55% at 50% 42%,
    rgba(247, 244, 239, 0.78) 0%,
    rgba(247, 244, 239, 0.45) 55%,
    transparent 100%
  );
}

/* ── Content layer ───────────────────────────────────────── */
.content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;

  /* Top padding reserves space for the hero's built-in logo
     (logo sits at ~8% from top of the 1024×1536 image).
     We want the HTML text to start just below it.            */
  padding: 148px 40px 140px;
  gap: 0;
}

/* ── Hero text block ─────────────────────────────────────── */
.tagline-pre {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.38em;
  color: var(--dark);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(72px, 18vw, 100px);
  color: var(--dark);
  line-height: 0.9;
  letter-spacing: 0.025em;
  margin-bottom: 18px;
}

/* Gold rule with centred text */
.rule-line {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 380px;
  margin-bottom: 20px;
}

.rule-line::before,
.rule-line::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--gold);
}

.rule-line span {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--gold);
  text-transform: uppercase;
  white-space: nowrap;
}

.hero-body {
  font-family: var(--font-serif);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--mid);
  max-width: 340px;
  margin-bottom: 44px;
}

/* ── Coming soon + form ──────────────────────────────────── */
.coming-soon-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.32em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.coming-soon-sub {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 400;
  color: var(--mid);
  margin-bottom: 22px;
}

/* Sign-up form */
.signup-form {
  display: flex;
  width: 100%;
  max-width: 420px;
  height: 52px;
  border: 1.5px solid rgba(139, 111, 62, 0.45);
  border-radius: 3px;
  overflow: hidden;
  background: var(--white-glass);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: border-color 0.2s ease;
  margin-bottom: 58px;
}

.signup-form:focus-within {
  border-color: var(--gold);
}

.signup-form input[type="email"] {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  padding: 0 18px;
  font-family: var(--font-body);
  font-size: 13px;
  font-style: italic;
  color: var(--dark);
}

.signup-form input[type="email"]::placeholder {
  color: #9A9188;
}

.signup-form button {
  flex-shrink: 0;
  border: none;
  background: var(--gold);
  padding: 0 24px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease;
}

.signup-form button:hover  { background: #6E5530; }
.signup-form button:active { background: #56421F; }

/* Form status messages */
.form-msg {
  display: none;
  font-size: 12px;
  font-family: var(--font-body);
  margin-top: -46px;
  margin-bottom: 46px;
  letter-spacing: 0.05em;
}
.form-msg.success { color: var(--gold);  display: block; }
.form-msg.error   { color: #c0392b; display: block; }

/* ── Descriptor icons row ────────────────────────────────── */
.descriptors {
  display: flex;
  align-items: flex-start;
  width: 100%;
  max-width: 520px;
}

.descriptor {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0 2px;

  /* Vertical gold separator between each cell */
  border-right: 1px solid rgba(139, 111, 62, 0.28);
}

.descriptor:last-child {
  border-right: none;
}

.descriptor img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.descriptor-label {
  font-family: var(--font-body);
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark);
  line-height: 1.5;
  text-align: center;
}

/* ── Responsive tweaks ───────────────────────────────────── */
@media (max-width: 480px) {
  .content {
    padding: 130px 24px 100px;
  }

  .descriptors {
    max-width: 360px;
  }

  .descriptor img {
    width: 36px;
    height: 36px;
  }

  .descriptor-label {
    font-size: 7.5px;
    letter-spacing: 0.06em;
  }

  .hero-body {
    font-size: 17px;
    max-width: 290px;
  }

  .signup-form {
    max-width: 100%;
    height: 48px;
  }
}

@media (max-width: 360px) {
  .descriptor-label {
    font-size: 7px;
  }
}
