/* ============================================================
   Chamblin Raven Rose — Placeholder Site
   "The Map Is Unfolding"
   Palette: deep purple dominant, rose accents, cream for contrast
   Type: Cormorant Garamond (display) + Inter (UI)
   ============================================================ */

:root {
  /* Deep purple */
  --purple-950: #140822;
  --purple-900: #1c0d2e;
  --purple-800: #281540;
  --purple-700: #3c1f55;
  --purple-600: #5a2f7a;

  /* Rose accents */
  --rose-600: #a85d72;
  --rose-500: #c47a8b;
  --rose-400: #d99ba9;
  --rose-300: #e8c4ce;
  --rose-200: #f3dfe6;

  /* Cream (used sparingly for text + small accents) */
  --cream-100: #f2e8d4;
  --cream-50:  #faf2e1;

  --ink-rose-soft: rgba(232, 196, 206, 0.78);
  --ink-rose-soft-2: rgba(232, 196, 206, 0.55);

  --line-dark: rgba(232, 196, 206, 0.16);

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-ui: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1180px;
  --radius: 4px;
  --radius-lg: 14px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-ui);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--cream-50);
  background: var(--purple-900);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(20, 8, 34, 0.78);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line-dark);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--cream-50);
}

.brand-svg {
  display: block;
  width: 44px;
  height: 44px;
  color: var(--cream-50);
  transition: color 0.3s ease, transform 0.4s ease;
}

.brand:hover .brand-svg {
  color: var(--rose-400);
  transform: rotate(45deg);
}

.brand-word {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  font-weight: 500;
  line-height: 1;
  padding-top: 2px;
}

.site-nav {
  display: flex;
  gap: 32px;
}

.site-nav a {
  text-decoration: none;
  color: var(--ink-rose-soft);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.site-nav a:hover {
  color: var(--rose-400);
}

/* Hamburger toggle — hidden on desktop, shown on mobile */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid rgba(217, 155, 169, 0.35);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: border-color 0.2s ease, background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  border-color: var(--rose-400);
  outline: none;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--rose-300);
  transition: transform 0.3s ease, opacity 0.2s ease;
  transform-origin: center;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 160px 0 150px;
  background:
    radial-gradient(ellipse 80% 65% at 88% 8%, rgba(196, 122, 139, 0.58), transparent 65%),
    radial-gradient(ellipse 75% 70% at 12% 95%, rgba(90, 47, 122, 0.85), transparent 62%),
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(60, 31, 85, 0.55), transparent 70%),
    linear-gradient(180deg, var(--purple-900) 0%, var(--purple-950) 100%);
  overflow: hidden;
  text-align: center;
  color: var(--cream-50);
}

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

.eyebrow {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--rose-400);
  margin: 0 0 28px;
}

.eyebrow.light { color: var(--rose-300); }

.hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(48px, 7vw, 88px);
  line-height: 1.05;
  letter-spacing: 0.005em;
  color: var(--cream-50);
  margin: 0 0 22px;
}

.hero-roles {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--rose-300);
  margin: 0 0 40px;
}

.hero-roles .dot {
  color: var(--rose-500);
  margin: 0 4px;
  font-weight: 400;
  letter-spacing: 0;
  display: inline-block;
}

.hero-bio {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(20px, 2.2vw, 26px);
  color: var(--ink-rose-soft);
  margin: 0 auto 48px;
  max-width: 640px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 15px 32px;
  border-radius: var(--radius);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.25s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--rose-500);
  color: var(--purple-950);
  border-color: var(--rose-500);
}

.btn-primary:hover {
  background: var(--rose-400);
  border-color: var(--rose-400);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--rose-300);
  border-color: var(--rose-400);
}

.btn-ghost:hover {
  background: var(--rose-400);
  color: var(--purple-950);
  border-color: var(--rose-400);
}

/* ---------- Section base ---------- */
.section {
  padding: 110px 0;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: var(--cream-50);
  margin: 0;
}

.section-head {
  margin-bottom: 64px;
  max-width: 820px;
}

.section-head.centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ---------- About ---------- */
.section-about {
  background:
    radial-gradient(ellipse at top left, rgba(196, 122, 139, 0.16), transparent 55%),
    var(--purple-800);
  border-top: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  position: relative;
}

.about-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.about-body {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.5;
  color: var(--cream-50);
  margin: 0;
}

/* ---------- Pull Quote ---------- */
.section-quote {
  background:
    radial-gradient(ellipse at center, rgba(168, 93, 114, 0.22), transparent 60%),
    var(--purple-900);
  padding: 100px 0;
  position: relative;
}

.quote-block {
  margin: 0 auto;
  max-width: 880px;
  text-align: center;
  position: relative;
}

.quote-block::before,
.quote-block::after {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  background: var(--rose-500);
  margin: 0 auto 36px;
}

.quote-block::after {
  margin: 36px auto 0;
}

.quote-block blockquote {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(26px, 3.4vw, 42px);
  line-height: 1.35;
  color: var(--cream-50);
  margin: 0;
  letter-spacing: -0.005em;
}

.quote-block em {
  display: block;
  font-style: italic;
  color: var(--rose-300);
  margin-top: 10px;
}

/* ---------- What's Coming ---------- */
.section-coming {
  background: linear-gradient(180deg, var(--purple-950) 0%, var(--purple-900) 100%);
  color: var(--cream-100);
  position: relative;
}

.section-coming::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(196, 122, 139, 0.18), transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(217, 155, 169, 0.10), transparent 55%);
  pointer-events: none;
}

.section-coming .section-title {
  color: var(--cream-50);
}

.section-coming .eyebrow {
  color: var(--rose-400);
}

.coming-list {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 820px;
  position: relative;
}

.coming-item {
  display: flex;
  align-items: center;
  gap: 36px;
  padding: 30px 8px;
  border-top: 1px solid rgba(232, 196, 206, 0.20);
  transition: padding-left 0.3s ease, background 0.3s ease;
}

.coming-item:last-child {
  border-bottom: 1px solid rgba(232, 196, 206, 0.20);
}

.coming-item:hover {
  padding-left: 22px;
  background: rgba(232, 196, 206, 0.06);
}

.coming-num {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 22px;
  color: var(--rose-400);
  letter-spacing: 0.06em;
  min-width: 36px;
}

.coming-item h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(24px, 2.6vw, 32px);
  color: var(--cream-50);
  margin: 0;
  line-height: 1.2;
}

/* ---------- Signup ---------- */
.section-signup {
  background:
    radial-gradient(ellipse at bottom right, rgba(168, 93, 114, 0.28), transparent 55%),
    var(--purple-800);
  position: relative;
}

.signup-card {
  background: linear-gradient(135deg, var(--purple-700) 0%, var(--rose-600) 130%);
  border: 1px solid rgba(232, 196, 206, 0.22);
  border-radius: var(--radius-lg);
  padding: 70px 50px;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(20, 8, 34, 0.7);
}


.signup-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 40px);
  color: var(--cream-50);
  margin: 0 0 18px;
  position: relative;
}

.signup-sub {
  font-size: 16px;
  color: var(--ink-rose-soft);
  max-width: 520px;
  margin: 0 auto 36px;
  position: relative;
}

.signup-form {
  display: flex;
  gap: 12px;
  max-width: 520px;
  margin: 0 auto;
  position: relative;
  flex-wrap: wrap;
  justify-content: center;
}

.signup-form input {
  flex: 1 1 280px;
  padding: 15px 18px;
  font-family: var(--font-ui);
  /* 16px minimum prevents iOS Safari from zooming on focus */
  font-size: 16px;
  color: var(--cream-50);
  background: rgba(20, 8, 34, 0.4);
  border: 1px solid rgba(232, 196, 206, 0.35);
  border-radius: var(--radius);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.signup-form input::placeholder {
  color: rgba(243, 223, 230, 0.5);
}

.signup-form input:focus {
  border-color: var(--rose-400);
  background: rgba(20, 8, 34, 0.55);
  box-shadow: 0 0 0 3px rgba(217, 155, 169, 0.18);
}

.signup-form .btn-primary {
  background: var(--cream-50);
  color: var(--purple-900);
  border-color: var(--cream-50);
}

.signup-form .btn-primary:hover {
  background: var(--rose-300);
  border-color: var(--rose-300);
  color: var(--purple-950);
}

.signup-form .btn {
  flex: 0 0 auto;
}

.signup-note {
  margin: 24px 0 0;
  font-size: 13px;
  font-style: italic;
  color: var(--ink-rose-soft-2);
  position: relative;
  transition: color 0.3s ease;
}

.signup-note.confirmed {
  color: var(--rose-300);
  font-style: normal;
  font-weight: 500;
}

/* ---------- Contact ---------- */
.section-contact {
  background:
    radial-gradient(ellipse at top, rgba(196, 122, 139, 0.18), transparent 55%),
    var(--purple-900);
  border-top: 1px solid var(--line-dark);
  padding: 110px 0;
}

.contact-inner {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.contact-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 42px);
  color: var(--cream-50);
  margin: 0 0 32px;
}

.email-link {
  display: inline-block;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(20px, 3vw, 34px);
  color: var(--rose-400);
  text-decoration: none;
  letter-spacing: 0.01em;
  padding: 6px 0;
  max-width: 100%;
  word-break: break-word;
  border-bottom: 1px solid rgba(217, 155, 169, 0.45);
  transition: color 0.25s ease, border-color 0.25s ease;
}

.email-link:hover {
  color: var(--rose-300);
  border-bottom-color: var(--rose-300);
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--purple-950);
  color: var(--ink-rose-soft-2);
  padding: 70px 0 50px;
  border-top: 1px solid var(--line-dark);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
  text-align: center;
}

.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(20px, 2.4vw, 26px);
  color: var(--cream-50);
  margin: 0;
  letter-spacing: 0.005em;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 4px 0 6px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 14px 28px;
  border: 1px solid rgba(217, 155, 169, 0.45);
  border-radius: 999px;
  background: transparent;
  color: var(--rose-400);
  text-decoration: none;
  transition: background 0.3s ease, transform 0.25s ease, box-shadow 0.25s ease, border-color 0.3s ease;
}

.social-link svg {
  flex: 0 0 auto;
  color: var(--rose-400);
  transition: color 0.3s ease;
}

.social-handle {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.social-link:hover {
  background: rgba(217, 155, 169, 0.12);
  border-color: var(--rose-400);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px -16px rgba(20, 8, 34, 0.55);
}

.social-link:hover svg,
.social-link:hover .social-handle {
  color: var(--rose-300);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 10px;
}

.footer-brand-svg {
  display: block;
  width: 72px;
  height: 72px;
  color: var(--rose-400);
  transition: color 0.3s ease, transform 0.6s ease;
}

.footer-brand-svg:hover {
  color: var(--cream-50);
  transform: rotate(45deg);
}

.footer-wordmark {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--cream-100);
  font-weight: 500;
}

.footer-copy {
  margin: 8px 0 0;
  font-size: 12px;
  color: rgba(232, 196, 206, 0.38);
  letter-spacing: 0.04em;
}

/* ============================================================
   Responsive
   Breakpoints:
     900px  - tighten desktop nav, hide brand wordmark
     720px  - switch to hamburger nav drawer
     540px  - phone tweaks: tighter spacing, stack buttons/form
     380px  - extra-small phones (iPhone SE etc.)
   ============================================================ */

/* ---- ≤900px: tighten nav, hide wordmark ---- */
@media (max-width: 900px) {
  .header-inner { padding: 14px 20px; }
  .brand-word { display: none; }
  .brand-svg { width: 38px; height: 38px; }
  .site-nav { gap: 22px; }
  .site-nav a { font-size: 12px; letter-spacing: 0.08em; }

  .hero { padding: 120px 0 100px; }
  .section { padding: 84px 0; }
  .section-head { margin-bottom: 48px; }

  .coming-item { gap: 22px; padding: 24px 4px; }

  .signup-card { padding: 56px 32px; }

  .footer-brand-svg { width: 60px; height: 60px; }
  .footer-wordmark { font-size: 16px; letter-spacing: 0.28em; }
}

/* ---- ≤720px: hamburger nav ---- */
@media (max-width: 720px) {
  .nav-toggle { display: flex; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 6px 20px 20px;
    background: rgba(20, 8, 34, 0.97);
    backdrop-filter: saturate(160%) blur(14px);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid var(--line-dark);
    box-shadow: 0 16px 32px -16px rgba(0, 0, 0, 0.6);
  }

  .site-nav.is-open { display: flex; }

  .site-nav a {
    padding: 16px 4px;
    font-size: 13px;
    letter-spacing: 0.14em;
    border-bottom: 1px solid rgba(232, 196, 206, 0.08);
  }

  .site-nav a:last-child { border-bottom: none; }
}

/* ---- ≤540px: phone-sized tweaks ---- */
@media (max-width: 540px) {
  .container { padding: 0 20px; }

  .hero { padding: 90px 0 80px; }
  .section { padding: 64px 0; }
  .section-quote { padding: 64px 0; }
  .section-contact { padding: 72px 0; }
  .section-head { margin-bottom: 40px; }

  .eyebrow { letter-spacing: 0.26em; margin: 0 0 22px; }
  .hero-roles { letter-spacing: 0.24em; font-size: 12px; margin: 0 0 32px; }
  .hero-roles .dot { margin: 0; }
  .hero-bio { margin: 0 auto 36px; }

  .hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
  .btn { text-align: center; padding: 14px 24px; }

  .quote-block::before,
  .quote-block::after { width: 40px; margin: 0 auto 24px; }
  .quote-block::after { margin: 24px auto 0; }

  .coming-item { gap: 16px; padding: 22px 4px; }
  .coming-num { font-size: 18px; min-width: 28px; }

  .signup-card { padding: 44px 22px; border-radius: 10px; }
  .signup-sub { margin: 0 auto 28px; }
  .signup-form { flex-direction: column; }
  .signup-form input,
  .signup-form .btn { width: 100%; flex: 1 1 auto; }

  .site-footer { padding: 56px 0 40px; }
  .footer-inner { gap: 22px; }
  .footer-social { gap: 10px; }
  .social-link { padding: 12px 20px; gap: 12px; }
  .social-handle { font-size: 12px; letter-spacing: 0.08em; }

  .footer-brand { gap: 14px; }
  .footer-brand-svg { width: 52px; height: 52px; }
  .footer-wordmark { font-size: 14px; letter-spacing: 0.24em; }
}

/* ---- ≤380px: extra-small phones ---- */
@media (max-width: 380px) {
  .container { padding: 0 16px; }
  .header-inner { padding: 12px 16px; }

  .hero { padding: 78px 0 70px; }
  .section { padding: 56px 0; }

  .signup-card { padding: 36px 18px; }
  .signup-form input { padding: 13px 14px; }

  .social-link { padding: 11px 16px; }
}

/* ---- Touch-device hover override ----
   On devices without true hover (phones, tablets), :hover
   triggers on tap and sticks until tap elsewhere. We disable
   the lift/transform/glow effects so taps don't leave UI in
   a weird state. Color hover stays so links still respond. */
@media (hover: none) {
  .btn-primary:hover,
  .btn-ghost:hover,
  .social-link:hover {
    transform: none;
    box-shadow: none;
  }

  .social-link:hover {
    background: transparent;
    border-color: rgba(217, 155, 169, 0.45);
  }

  .coming-item:hover {
    padding-left: 8px;
    background: transparent;
  }

  .brand:hover .brand-svg,
  .footer-brand-svg:hover {
    transform: none;
  }

  .signup-form .btn-primary:hover {
    background: var(--cream-50);
    border-color: var(--cream-50);
    color: var(--purple-900);
  }
}
