/* ============================================================
   Hannah Joy Interiors — coming-soon landing
   Brand: ivory #F1EEE8 + muted gold #B89A5E + dusty mauve #745E6F + sage #6E7459
   ============================================================ */

:root {
  --ivory:   #F3F0EA;
  --ivory-2: #ECE7DD;
  --cream-deep: #E4DCCD;
  --gold:        #B89A5E;
  --gold-bright: #CDB075;
  --gold-deep:   #9C7F45;
  --mauve:   #745E6F;
  --sage:    #6E7459;
  --ink:     #3B342E;   /* warm charcoal text */
  --ink-soft:#6A6157;
  --muted:   #8C8377;
  --line:    rgba(184, 154, 94, 0.28);

  --maxw: 1120px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Jost", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.65;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ---------- Background layers ---------- */
#bg {
  position: fixed;
  inset: 0;
  width: 100%; height: 100%;
  z-index: -3;
  background:
    radial-gradient(1100px 700px at 50% -8%, #FBF8F2 0%, transparent 60%),
    linear-gradient(180deg, var(--ivory) 0%, var(--ivory-2) 55%, var(--cream-deep) 100%);
}
.cursor-glow {
  position: fixed; top: 0; left: 0;
  width: 480px; height: 480px;
  margin: -240px 0 0 -240px;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
  background: radial-gradient(circle, rgba(184,154,94,0.10) 0%, transparent 65%);
  opacity: 0;
  transition: opacity 0.6s ease;
  will-change: transform;
}

/* ---------- Top bar ---------- */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 48px);
  transition: background 0.4s var(--ease), backdrop-filter 0.4s var(--ease), padding 0.4s var(--ease), box-shadow 0.4s;
}
.topbar.scrolled {
  background: rgba(243, 240, 234, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding-top: 12px; padding-bottom: 12px;
  box-shadow: 0 1px 0 var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 36px; height: 36px; }
.brand-name {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-deep);
}
.topbar-cta {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.8rem; letter-spacing: 0.08em;
  color: var(--gold-deep);
  border: 1px solid var(--line);
  padding: 8px 16px; border-radius: 999px;
  background: rgba(184,154,94,0.05);
  transition: border-color 0.3s, background 0.3s;
}
.topbar-cta:hover { border-color: var(--gold); background: rgba(184,154,94,0.12); }
.topbar-cta .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 0 rgba(184,154,94,0.6);
  animation: pulse 2.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(184,154,94,0.45); }
  70% { box-shadow: 0 0 0 9px rgba(184,154,94,0); }
  100% { box-shadow: 0 0 0 0 rgba(184,154,94,0); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid; place-items: center;
  padding: 120px clamp(20px, 5vw, 40px) 90px;
  text-align: center;
}
.hero-inner { max-width: 720px; }

.pill {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--gold-deep);
  border: 1px solid var(--line);
  padding: 7px 18px; border-radius: 999px;
  margin-bottom: 34px;
  background: rgba(255,255,255,0.4);
}
.pill-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); animation: pulse 2.8s infinite; }

.hero-logo {
  width: min(330px, 72vw);
  margin: 0 auto 18px;
  filter: drop-shadow(0 14px 30px rgba(120, 94, 60, 0.14));
  animation: floaty 8s ease-in-out infinite;
}
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

.hero-tagline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.4rem, 6.5vw, 4.4rem);
  line-height: 1.04;
  color: var(--ink);
  margin: 4px 0 18px;
  letter-spacing: 0.005em;
  font-style: italic;
}
.hero-sub {
  max-width: 520px;
  margin: 0 auto 32px;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.4vw, 1.12rem);
  font-weight: 300;
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body);
  font-size: 0.9rem; font-weight: 400;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 15px 30px; border-radius: 999px;
  cursor: pointer; border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.3s, background 0.3s, border-color 0.3s, color 0.3s;
  position: relative; will-change: transform;
}
.btn .ico { width: 17px; height: 17px; fill: currentColor; }
.btn-primary {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold) 55%, var(--gold-deep));
  color: #fff;
  box-shadow: 0 10px 26px -10px rgba(156, 127, 69, 0.6);
}
.btn-primary:hover { box-shadow: 0 16px 34px -10px rgba(156, 127, 69, 0.75); }
.btn-ghost {
  background: rgba(255,255,255,0.5);
  color: var(--gold-deep);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--gold); background: rgba(255,255,255,0.8); }

.hero-email {
  display: inline-flex; align-items: center; gap: 9px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.96rem; letter-spacing: 0.02em;
  transition: color 0.3s;
}
.hero-email svg { width: 16px; height: 16px; fill: var(--gold); opacity: 0.9; }
.hero-email:hover { color: var(--gold-deep); }

/* ---------- Scroll cue ---------- */
.scroll-cue {
  position: absolute; bottom: 26px; left: 50%;
  transform: translateX(-50%);
  width: 24px; height: 40px;
  border: 1px solid var(--line); border-radius: 14px;
  display: grid; place-items: start center; padding-top: 8px;
}
.scroll-cue span { width: 4px; height: 8px; border-radius: 4px; background: var(--gold); animation: scrolldot 1.9s infinite; }
@keyframes scrolldot {
  0% { opacity: 0; transform: translateY(-3px); }
  40% { opacity: 1; }
  80% { opacity: 0; transform: translateY(11px); }
  100% { opacity: 0; }
}

/* ---------- Footer ---------- */
.container { max-width: var(--maxw); margin: 0 auto; }
.footer { padding: 56px 20px 110px; border-top: 1px solid var(--line); text-align: center; }
.footer-inner { display: grid; justify-items: center; gap: 12px; }
.footer-mark { width: 48px; opacity: 0.92; }
.footer-name {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-deep);
}
.footer-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; color: var(--ink-soft); font-size: 0.95rem; }
.footer-meta a:hover { color: var(--gold-deep); }
.footer-meta .sep { color: var(--line); }
.footer-sub { color: var(--muted); font-size: 0.82rem; letter-spacing: 0.04em; }

/* ---------- Mobile sticky bar ---------- */
.mobile-bar {
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 60; display: none; gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(243, 240, 234, 0.94);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  transform: translateY(120%);
  transition: transform 0.4s var(--ease);
}
.mobile-bar.show { transform: translateY(0); }
.mbar-btn {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px; border-radius: 12px;
  font-size: 0.82rem; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase;
}
.mbar-btn svg { width: 17px; height: 17px; fill: currentColor; }
.mbar-call { background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep)); color: #fff; }
.mbar-alt { background: rgba(255,255,255,0.7); border: 1px solid var(--line); color: var(--gold-deep); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .topbar-cta { display: none; }
  .mobile-bar { display: flex; }
  .footer { padding-bottom: 96px; }
}
@media (max-width: 480px) {
  .brand-name { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-logo { animation: none; }
}
