/* ── Custom Properties ── */
:root {
  --crimson:    #6B1A22;
  --crimson-dk: #4e1019;
  --cream:      #EDE8DF;
  --cream-lt:   #F5EFE6;
  --gold:       #C5A46A;
  --charcoal:   #1E1C1C;
  --body-text:  #3A2020;
  --sidebar-w:  320px;
  --footer-h:   88px;
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.anim-fade {
  opacity: 0;
  animation: fadeUp 0.7s ease-out forwards;
  animation-delay: var(--delay, 0s);
}

@media (prefers-reduced-motion: reduce) {
  .anim-fade { animation: none; opacity: 1; }
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
img { display: block; max-width: 100%; }
ul  { list-style: none; }
[hidden] { display: none !important; }

body {
  font-family: 'Raleway', sans-serif;
  background: var(--charcoal);
  color: var(--cream-lt);
}

/* ── Page Layout ── */
.layout {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr;
  height: 100vh;
}

/* ════════════════════════════════
   SIDEBAR
   ════════════════════════════════ */
.sidebar {
  background: var(--crimson);
  border-right: 1px solid rgba(197, 164, 106, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.sidebar__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 1.6rem;
  text-align: center;
  gap: 0;
}

.sidebar__logo-link { display: block; }

.sidebar__logo {
  width: 120px;
  height: auto;
}

.sidebar__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1rem;
  gap: 0.25rem;
}

.sidebar__brand-name {
  font-family: 'Cormorant Garant', serif;
  font-size: 1.9rem;
  font-weight: 400;
  letter-spacing: 0.25em;
  color: var(--cream-lt);
}

.sidebar__brand-sub {
  font-family: 'Raleway', sans-serif;
  font-size: 0.65rem;
  font-weight: 400;
  letter-spacing: 0.45em;
  color: var(--gold);
  text-transform: uppercase;
}

.sidebar__divider {
  width: 1px;
  height: 48px;
  background: rgba(197, 164, 106, 0.5);
  margin: 1.6rem auto;
}

.sidebar__taglines {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.sidebar__tagline {
  font-family: 'Cormorant Garant', serif;
  font-size: 0.88rem;
  font-weight: 300;
  font-style: italic;
  letter-spacing: 0.04em;
  color: var(--cream-lt);
  line-height: 1.65;
  text-align: center;
}

.sidebar__rule {
  width: 28px;
  height: 1px;
  background: rgba(197, 164, 106, 0.6);
  margin: 0.9rem auto;
}

/* ════════════════════════════════
   HERO / MAIN CONTENT
   ════════════════════════════════ */
.hero {
  position: relative;
  overflow-x: hidden;
  overflow-y: auto;
  min-height: 520px;
  padding-bottom: var(--footer-h);
  background-color: var(--cream);
  background-image:
    radial-gradient(ellipse 80% 60% at 15% 20%, rgba(255,252,248,0.9) 0%, transparent 55%),
    radial-gradient(ellipse 60% 80% at 85% 15%, rgba(245,238,226,0.7) 0%, transparent 50%),
    radial-gradient(ellipse 70% 50% at 70% 80%, rgba(210,198,182,0.5) 0%, transparent 55%),
    radial-gradient(ellipse 50% 60% at 30% 75%, rgba(230,222,210,0.4) 0%, transparent 50%),
    radial-gradient(ellipse 40% 40% at 55% 45%, rgba(255,255,255,0.25) 0%, transparent 45%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='500' height='500'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='500' height='500' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 300px 300px;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 4rem 3rem;
  max-width: 680px;
  width: 100%;
}

.hero__eyebrow {
  font-family: 'Raleway', sans-serif;
  font-size: 0.6rem;
  font-weight: 400;
  letter-spacing: 0.35em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.hero__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
}

.hero__burst {
  width: 180px;
  height: auto;
}

.hero__heading {
  font-family: 'Cormorant Garant', serif;
  font-size: clamp(3.2rem, 7vw, 6rem);
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--crimson);
  line-height: 1;
  margin-bottom: 1.6rem;
}

.hero__subtext {
  font-family: 'Cormorant Garant', serif;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  font-weight: 300;
  font-style: italic;
  color: var(--body-text);
  line-height: 1.6;
  margin-bottom: 1.6rem;
}

.hero__ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 2rem;
}

.hero__ornament-line {
  width: 48px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

.hero__ornament-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.8;
}

/* Email form */
.hero__form-wrap {
  width: 100%;
  max-width: 560px;
  margin-bottom: 1rem;
}

.hero__form {
  display: flex;
  width: 100%;
}

.hero__input {
  flex: 1;
  padding: 0.85rem 1.2rem;
  border: 1px solid rgba(107, 26, 34, 0.35);
  background: transparent;
  font-family: 'Raleway', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--body-text);
  outline: none;
  cursor: text;
}

.hero__input::placeholder {
  color: rgba(58, 32, 32, 0.45);
  letter-spacing: 0.2em;
}

.hero__btn {
  padding: 0.85rem 1.6rem;
  background: var(--crimson);
  border: none;
  font-family: 'Raleway', sans-serif;
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--cream-lt);
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s ease;
}
.hero__btn:hover:not(:disabled) { background: var(--crimson-dk); }
.hero__btn:disabled { opacity: 0.6; cursor: default; }

.hero__signup-message {
  font-family: 'Cormorant Garant', serif;
  font-size: 0.95rem;
  font-style: italic;
  margin-bottom: 0.5rem;
  animation: fadeUp 0.5s ease-out forwards;
}
.hero__signup-message--success { color: var(--gold); }
.hero__signup-message--error   { color: #c46a6a; }

.hero__form-note {
  font-family: 'Cormorant Garant', serif;
  font-size: 0.85rem;
  font-style: italic;
  color: rgba(58, 32, 32, 0.6);
  margin-bottom: 1.8rem;
}

.hero__heart {
  display: flex;
  justify-content: center;
}

.hero__heart-icon {
  width: 22px;
  height: auto;
}

/* ════════════════════════════════
   FOOTER
   ════════════════════════════════ */
.footer {
  position: fixed;
  bottom: 0;
  left: var(--sidebar-w);
  right: 0;
  z-index: 100;
  background: var(--charcoal);
  height: var(--footer-h);
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer__pillars {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 800px;
  padding: 0 2rem;
}

.footer__pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex: 1;
  text-align: center;
}

.footer__pillar--divider {
  border-left:  1px solid rgba(197, 164, 106, 0.3);
  border-right: 1px solid rgba(197, 164, 106, 0.3);
}

.footer__icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.footer__label {
  font-family: 'Raleway', sans-serif;
  font-size: 0.58rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  color: var(--cream-lt);
  text-transform: uppercase;
}

/* ════════════════════════════════
   RESPONSIVE — TABLET  (≤ 900px)
   ════════════════════════════════ */
@media (max-width: 900px) {
  :root { --sidebar-w: 220px; }

  .hero__heading { font-size: 4rem; }

  .hero__form { flex-direction: column; }
  .hero__btn  { width: 100%; }
}

/* ════════════════════════════════
   RESPONSIVE — MOBILE  (≤ 600px)
   ════════════════════════════════ */
@media (max-width: 600px) {
  .layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
  }

  /* Sidebar becomes a compact top banner */
  .sidebar {
    padding: 1.6rem 1.2rem;
  }

  .sidebar__inner {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    padding: 0;
    gap: 1rem;
  }

  .sidebar__logo       { width: 52px; }
  .sidebar__brand-name { font-size: 1.4rem; }
  .sidebar__brand-sub  { font-size: 0.58rem; }

  /* Hide long-form taglines on mobile */
  .sidebar__divider,
  .sidebar__taglines { display: none; }

  .sidebar__brand { margin-top: 0; }

  /* Hero adjustments */
  .hero__inner {
    padding: 2.8rem 1.4rem;
  }

  .hero__heading { font-size: clamp(2.6rem, 11vw, 3.4rem); }

  .hero__subtext br { display: none; }

  .hero__form {
    flex-direction: column;
    gap: 0;
  }

  .hero__btn { width: 100%; }

  /* Footer stacks vertically, no longer fixed on mobile */
  .footer {
    position: static;
    height: auto;
    padding: 1.4rem 1rem;
  }

  .footer__pillars {
    flex-direction: column;
    gap: 1rem;
  }

  .footer__pillar--divider {
    border: none;
    border-top:    1px solid rgba(197, 164, 106, 0.3);
    border-bottom: 1px solid rgba(197, 164, 106, 0.3);
    padding: 1rem 0;
    width: 100%;
    justify-content: center;
  }
}
