/* ---------- amaa's benne — coming soon page — v4 "combined" ---------- */

:root {
  --charcoal: #17110D;
  --espresso: #241811;
  --espresso-soft: #2E2019;
  --card: #2A1E16;
  --gold: #D9AE5F;
  --gold-bright: #F3D08A;
  --gold-deep: #8C6423;
  --bronze: #C9973A;
  --terracotta: #C97A4A;
  --cream: #F5EBDB;
  --cream-soft: #C9BBA6;
  --success: #9CB37A;
  --error: #E08D6E;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--charcoal);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(201, 151, 58, 0.10), transparent 60%),
    radial-gradient(ellipse 60% 40% at 15% 100%, rgba(201, 122, 74, 0.08), transparent 60%);
  color: var(--cream);
  font-family: var(--font-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

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

/* ---------- kasuti stitch divider ---------- */

.stitch-divider {
  height: 22px;
  background-image: url("assets/kasuti-tile-gold.svg");
  background-repeat: repeat-x;
  background-position: center;
  background-size: 24px 22px;
  opacity: 0.4;
}

/* ---------- layout shell ---------- */

.page {
  max-width: 620px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- hero ---------- */

.hero {
  text-align: center;
  padding: 52px 0 40px;
}

/* ---------- doodle accent: benne dosa + melting butter, below the coming-soon line ---------- */

.doodle-wrap {
  width: 100%;
  max-width: 100px;
  margin: 0 auto 22px;
  z-index: 2;
  position: relative;
}

.doodle-dosa {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0;
  transform: translateY(10px) scale(0.96);
  animation: doodle-in 0.9s cubic-bezier(.22,1,.36,1) forwards;
}

@keyframes doodle-in {
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (prefers-reduced-motion: reduce) {
  .doodle-dosa { animation: none; opacity: 1; transform: none; }
}

.medallion {
  position: relative;
  display: inline-block;
  width: 200px;
  height: 200px;
  margin-bottom: 26px;
}

@media (min-width: 480px) {
  .medallion {
    width: 232px;
    height: 232px;
  }
}

.medallion-glow {
  position: absolute;
  inset: -30%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 208, 138, 0.55) 0%, rgba(201, 151, 58, 0.28) 32%, rgba(201, 122, 74, 0.10) 55%, transparent 72%);
  filter: blur(6px);
  opacity: 0;
  animation: medallion-glow-in 1.8s ease-out 0.15s forwards, medallion-glow-pulse 4.5s ease-in-out 2s infinite;
  pointer-events: none;
}

@keyframes medallion-glow-in {
  0% { opacity: 0; transform: scale(0.85); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes medallion-glow-pulse {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1; }
}

.medallion-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.medallion-ring .stitch-path {
  stroke-dasharray: var(--dash-len, 1400);
  stroke-dashoffset: var(--dash-len, 1400);
  animation: stitch-draw 2.2s ease-out forwards;
}

/* Per-element stagger is applied inline via JS (animation-delay), based on
   each stitch path's position in the drawing order. */

@keyframes stitch-draw {
  to { stroke-dashoffset: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .medallion-ring .stitch-path {
    animation: none;
    stroke-dashoffset: 0;
  }
  .medallion-glow {
    animation: none;
    opacity: 1;
  }
  .monogram {
    animation: none !important;
    opacity: 1 !important;
  }
}

.monogram {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 62%;
  height: 62%;
  transform: translate(-50%, -50%);
  opacity: 0;
  animation: monogram-fade-in 1.4s ease-out 0.2s forwards;
  filter: drop-shadow(0 8px 22px rgba(0, 0, 0, 0.55));
}

@keyframes monogram-fade-in {
  0% { opacity: 0; transform: translate(-50%, -50%) scale(0.92); }
  100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.monogram img {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 8vw, 3.2rem);
  color: var(--gold-bright);
  margin: 0;
  letter-spacing: 0.5px;
  text-shadow: 0 0 28px rgba(217, 174, 95, 0.28);
}

.tagline {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 3px;
  text-transform: lowercase;
  color: var(--terracotta);
  margin: 8px 0 26px;
}

.coming-soon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 100%;
  max-width: 420px;
  margin: 0 auto 10px;
}

.coming-soon-rule {
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217, 174, 95, 0.55));
}

.coming-soon-rule:last-child {
  background: linear-gradient(90deg, rgba(217, 174, 95, 0.55), transparent);
}

.coming-soon-text {
  flex: 0 0 auto;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.6rem, 6.5vw, 2.35rem);
  color: var(--gold-bright);
  letter-spacing: 0.5px;
  white-space: nowrap;
  text-shadow: 0 0 24px rgba(217, 174, 95, 0.3);
}

.location {
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cream-soft);
  margin: 0 0 34px;
}

.headline {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.5rem, 5.5vw, 2.15rem);
  color: var(--cream);
  line-height: 1.28;
  margin: 0 0 18px;
}

.blurb {
  font-size: 0.98rem;
  color: var(--cream-soft);
  max-width: 460px;
  margin: 0 auto;
}

/* ---------- notify form ---------- */

.notify {
  position: relative;
  text-align: center;
  padding: 44px 0 36px;
}

.notify-pool {
  position: absolute;
  left: 50%;
  bottom: -10px;
  width: 120%;
  max-width: 620px;
  height: 220px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse 60% 100% at 50% 100%, rgba(212, 151, 58, 0.22) 0%, rgba(201, 122, 74, 0.12) 45%, transparent 75%);
  filter: blur(4px);
  pointer-events: none;
  z-index: 0;
}

.notify-card {
  position: relative;
  z-index: 1;
}

.notify h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  margin: 0 0 8px;
  color: var(--gold-bright);
}

.notify-sub {
  font-size: 0.92rem;
  color: var(--cream-soft);
  margin: 0 0 22px;
}

.notify-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 380px;
  margin: 0 auto;
}

@media (min-width: 480px) {
  .notify-form {
    flex-direction: row;
  }
}

.notify-form input {
  flex: 1;
  font-family: var(--font-body);
  font-size: 0.96rem;
  padding: 13px 16px;
  border-radius: 10px;
  border: 1.5px solid rgba(217, 174, 95, 0.3);
  background: rgba(255, 255, 255, 0.04);
  color: var(--cream);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.notify-form input::placeholder {
  color: #8A7A68;
}

.notify-form input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(217, 174, 95, 0.15);
}

.notify-form button {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--charcoal);
  background: linear-gradient(135deg, var(--gold-bright), var(--bronze));
  border: none;
  border-radius: 10px;
  padding: 13px 22px;
  cursor: pointer;
  white-space: nowrap;
  transition: filter 0.2s ease, transform 0.1s ease;
}

.notify-form button:hover {
  filter: brightness(1.08);
}

.notify-form button:active {
  transform: scale(0.98);
}

.notify-form.is-hidden {
  display: none;
}

.notify-error {
  margin-top: 12px;
  color: var(--error);
  font-size: 0.85rem;
  font-weight: 500;
}

.notify-success {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 380px;
  margin-left: auto;
  margin-right: auto;
  background: rgba(156, 179, 122, 0.1);
  border: 1px solid rgba(156, 179, 122, 0.35);
  border-radius: 10px;
  padding: 14px 18px;
  color: var(--success);
  font-size: 0.92rem;
  font-weight: 500;
  text-align: left;
}

.notify-success[hidden] { display: none; }

/* ---------- social ---------- */

.social {
  text-align: center;
  padding: 34px 0;
}

.insta-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--gold-bright);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1.5px solid rgba(217, 174, 95, 0.35);
  transition: background 0.2s ease, color 0.2s ease;
}

.insta-link:hover {
  background: var(--gold);
  color: var(--charcoal);
}

/* ---------- footer ---------- */

.site-footer {
  text-align: center;
  padding: 28px 0 44px;
  color: var(--cream-soft);
  font-size: 0.82rem;
}

.footer-insta {
  display: inline-flex;
  color: var(--gold);
  margin-bottom: 10px;
}

.footer-insta:hover {
  color: var(--gold-bright);
}

.site-footer p {
  margin: 0;
}

/* ---------- small screens ---------- */

@media (max-width: 380px) {
  .page { padding: 0 18px; }
  .medallion { width: 172px; height: 172px; }
}
