/* Ash & Anchor — landing page styles */

:root {
  --lake: #4f7d96;
  --lake-deep: #355d75;
  --lake-soft: #6a9bb4;
  --cigar-dark: #2a1a14;
  --cigar-darker: #1a0f0a;
  --cream: #f6ecd2;
  --cream-light: #fbf5e1;
  --cream-warm: #ecdfbb;
  --sand: #e3d2a8;
  --oxblood: #7a2e2a;
  --oxblood-deep: #5a1f1c;
  --gold: #b89255;
  --gold-light: #d4b27c;
  --ink: #2b1d18;
  --ink-soft: #4a3830;

  --serif: "Cormorant Garamond", "Garamond", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: var(--oxblood); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--oxblood-deep); }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: 0.01em;
  margin: 0 0 0.5em;
}

/* ============== AGE GATE ============== */

.gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse at top, var(--cigar-dark) 0%, var(--cigar-darker) 75%),
    var(--cigar-darker);
  padding: 24px;
}

.gate[hidden] { display: none; }

.gate-card {
  max-width: 480px;
  width: 100%;
  text-align: center;
  color: var(--cream);
  padding: 40px 32px;
  border: 1px solid rgba(184, 146, 85, 0.5);
  border-radius: 4px;
  background: rgba(26, 15, 10, 0.55);
  backdrop-filter: blur(6px);
  box-shadow:
    0 30px 80px rgba(0,0,0,0.55),
    inset 0 0 0 1px rgba(184, 146, 85, 0.15);
}

.gate-anchor {
  width: 56px;
  height: 56px;
  fill: var(--gold);
  margin-bottom: 16px;
  filter: drop-shadow(0 2px 8px rgba(184,146,85,0.3));
}

.gate-wordmark {
  font-family: var(--serif);
  font-size: 2.6rem;
  color: var(--cream);
  margin: 0 0 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.gate-rule {
  width: 60px;
  height: 1px;
  background: var(--gold);
  margin: 16px auto 24px;
}

.gate-prompt {
  font-size: 1.05rem;
  color: var(--cream-warm);
  margin: 0 0 28px;
}

.gate-prompt strong {
  color: var(--gold-light);
  font-weight: 600;
}

.gate-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.gate-fineprint {
  font-size: 0.78rem;
  color: rgba(245, 236, 215, 0.6);
  margin: 0;
  line-height: 1.5;
}

/* ============== BUTTONS ============== */

.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 14px 28px;
  border-radius: 2px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.18s ease;
}

.btn-primary {
  background: var(--gold);
  color: var(--cigar-darker);
  border-color: var(--gold);
}
.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--cream-warm);
  border-color: rgba(245, 236, 215, 0.3);
}
.btn-ghost:hover {
  border-color: var(--cream);
  color: var(--cream);
}

/* ============== HERO ============== */

.hero {
  background:
    radial-gradient(ellipse at center top, var(--lake-soft) 0%, var(--lake-deep) 80%),
    var(--lake-deep);
  color: var(--cream);
  padding: 96px 24px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(184,146,85,0.02) 0,
      rgba(184,146,85,0.02) 1px,
      transparent 1px,
      transparent 12px
    );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.hero-anchor {
  width: 72px;
  height: 72px;
  fill: var(--gold);
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 16px rgba(184,146,85,0.25));
}

.hero-wordmark {
  font-family: var(--serif);
  font-size: clamp(3rem, 9vw, 5.5rem);
  font-weight: 500;
  color: var(--cream);
  margin: 0;
  letter-spacing: 0.01em;
  line-height: 1;
}

.hero-wordmark .amp {
  color: var(--gold);
  font-style: italic;
  font-weight: 400;
  padding: 0 0.1em;
}

.hero-sub {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  font-style: italic;
  color: var(--gold-light);
  margin: 4px 0 0;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-weight: 400;
}

.hero-rule {
  width: 80px;
  height: 1px;
  background: var(--gold);
  margin: 36px auto;
  position: relative;
}
.hero-rule::before,
.hero-rule::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 4px;
  height: 4px;
  background: var(--gold);
  transform: translateY(-50%) rotate(45deg);
}
.hero-rule::before { left: -8px; }
.hero-rule::after { right: -8px; }

.hero-tagline {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  font-style: italic;
  color: var(--cream);
  margin: 0 0 28px;
}

.hero-opening {
  font-family: var(--sans);
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream-warm);
  margin: 0;
  line-height: 1.9;
}

.hero-opening .kicker { color: var(--gold-light); font-weight: 600; }
.hero-opening .dot { color: var(--gold); margin: 0 0.5em; }

/* ============== BAND ============== */

.band {
  background: var(--oxblood);
  color: var(--cream-light);
  padding: 22px 24px;
  text-align: center;
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
}

.band-inner {
  max-width: 760px;
  margin: 0 auto;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

/* ============== SECTIONS ============== */

.section {
  padding: 80px 24px;
}

.section-inner {
  max-width: 760px;
  margin: 0 auto;
}

.section h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--oxblood);
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 16px;
}

.section h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 2px;
  background: var(--gold);
}

.section p {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--ink-soft);
  margin: 0 0 1.2em;
}

.about {
  background: var(--cream-light);
}

/* ============== FIND US ============== */

.find-us {
  background: var(--cream);
}

.find-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  align-items: stretch;
}

.find-info p {
  font-size: 1rem;
  margin-bottom: 1.4em;
}

.find-info .address strong {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--lake-deep);
  display: block;
  margin-bottom: 6px;
}

.kicker {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--oxblood);
  font-weight: 600;
}

.find-map {
  min-height: 280px;
  border: 1px solid rgba(53, 93, 117, 0.2);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(53, 93, 117, 0.12);
}

@media (max-width: 720px) {
  .find-grid { grid-template-columns: 1fr; }
  .find-map { min-height: 240px; }
}

/* ============== NOTIFY ============== */

.notify {
  background:
    linear-gradient(180deg, var(--oxblood) 0%, var(--oxblood-deep) 100%);
  color: var(--cream);
  text-align: center;
  position: relative;
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
}

.notify::before,
.notify::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(245, 236, 215, 0.18);
}
.notify::before { top: 6px; }
.notify::after { bottom: 6px; }

.notify-anchor {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  opacity: 0.95;
}
.notify-anchor svg { width: 100%; height: 100%; fill: var(--gold-light); }

.notify h2 {
  color: var(--cream);
  display: inline-block;
}
.notify h2::after {
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
}

.notify p {
  color: var(--cream-warm);
  font-size: 1.1rem;
  margin-bottom: 28px;
}

/* ============== SIGNUP FORM ============== */

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.signup {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto 14px;
  align-items: stretch;
}

.signup input[type="email"] {
  flex: 1;
  font-family: var(--sans);
  font-size: 1rem;
  padding: 13px 16px;
  background: rgba(246, 236, 210, 0.95);
  color: var(--cigar-dark);
  border: 1px solid var(--gold);
  border-radius: 2px;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  min-width: 0;
}

.signup input[type="email"]::placeholder {
  color: rgba(43, 29, 24, 0.5);
}

.signup input[type="email"]:focus {
  border-color: var(--gold-light);
  background: var(--cream-light);
  box-shadow: 0 0 0 3px rgba(212, 178, 124, 0.25);
}

.signup .btn {
  flex-shrink: 0;
  padding: 13px 22px;
  font-size: 0.88rem;
}

.signup-honey {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.signup-status {
  font-size: 0.92rem;
  min-height: 1.4em;
  margin: 0 0 14px;
  color: var(--cream-warm);
}

.signup-status.error { color: #f0b8b0; }
.signup-status.success { color: var(--gold-light); }

.signup-fallback {
  font-size: 0.88rem !important;
  color: rgba(245, 236, 215, 0.7) !important;
  margin: 6px 0 0 !important;
}

.signup-fallback a {
  color: var(--gold-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.signup-fallback a:hover { color: var(--cream); }

.signup.is-submitted { display: none; }

.notify.is-done .signup-prompt,
.notify.is-done .signup-fallback { display: none; }

@media (max-width: 520px) {
  .signup { flex-direction: column; gap: 12px; }
  .signup .btn { width: 100%; }
}

/* ============== FOOTER ============== */

.footer {
  background: var(--lake-deep);
  color: var(--cream-warm);
  padding: 40px 24px;
  text-align: center;
  border-top: 1px solid rgba(184, 146, 85, 0.25);
}

.footer-inner {
  max-width: 760px;
  margin: 0 auto;
}

.footer-mark {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--cream);
  margin: 0 0 12px;
  letter-spacing: 0.04em;
}

.footer-warning {
  font-size: 0.82rem;
  color: rgba(245, 236, 215, 0.55);
  margin: 0 0 12px;
  line-height: 1.6;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(245, 236, 215, 0.4);
  margin: 12px 0 0;
}

/* ============== RESPONSIVE TWEAKS ============== */

@media (max-width: 600px) {
  .hero { padding: 72px 20px 60px; }
  .section { padding: 60px 20px; }
  .gate-card { padding: 32px 22px; }
}
