/* ============ LAMBE × CAP ORANG TUA — heritage maroon / gold ============ */
:root {
  --bg: #200a0f;
  --bg-deep: #150609;
  --gold: #c9a15a;
  --gold-soft: #e8cf9a;
  --cream: #f2e6cc;
  --muted: rgba(242, 230, 204, 0.72);
  --rule: rgba(201, 161, 90, 0.38);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(120% 90% at 50% 0%, #2a0d13 0%, var(--bg) 45%, var(--bg-deep) 100%);
  color: var(--cream);
  font-family: "Karla", system-ui, sans-serif;
  overflow-x: hidden;
}

/* ---------- background layers ---------- */
.bg,
.overlay,
.glow {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.bg {
  background: url("assets/img/hero.jpg") center / cover no-repeat;
  opacity: 0.5;
}

.overlay {
  background:
    radial-gradient(70% 55% at 50% 42%, rgba(21, 6, 9, 0.25) 0%, rgba(21, 6, 9, 0.78) 72%, rgba(21, 6, 9, 0.92) 100%),
    linear-gradient(180deg, rgba(21, 6, 9, 0.55) 0%, rgba(21, 6, 9, 0.2) 40%, rgba(21, 6, 9, 0.6) 100%);
}

.glow {
  background: radial-gradient(46% 38% at 50% 34%, rgba(201, 161, 90, 0.14) 0%, transparent 70%);
}

/* ---------- ornamental frame ---------- */
.frame {
  position: fixed;
  inset: clamp(0.6rem, 2.2vw, 1.4rem);
  border: 1px solid var(--rule);
  pointer-events: none;
  z-index: 0;
}

.frame::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(201, 161, 90, 0.2);
}

.frame::after {
  content: "";
  position: absolute;
  top: -4px; left: 50%;
  width: 8px; height: 8px;
  transform: translateX(-50%) rotate(45deg);
  background: var(--bg);
  border: 1px solid var(--gold);
}

/* ---------- layout ---------- */
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(1.2rem, 3.5vh, 2.2rem) 1.5rem 1.4rem;
  position: relative;
  z-index: 1;
}

/* ---------- brand ---------- */
.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
}

.seal {
  width: clamp(96px, 18vw, 124px);
  height: auto;
  color: var(--gold);
  filter: drop-shadow(0 10px 34px rgba(201, 161, 90, 0.22));
  animation: seal-breathe 6s ease-in-out infinite;
}

@keyframes seal-breathe {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 10px 34px rgba(201, 161, 90, 0.22)); }
  50% { transform: scale(1.025); filter: drop-shadow(0 14px 44px rgba(201, 161, 90, 0.34)); }
}

.brand-badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-indent: 0.34em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

/* ---------- divider ---------- */
.divider {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 1.1rem 0 0.8rem;
  width: min(70vw, 300px);
}

.rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--rule) 30%, var(--rule) 70%, transparent);
}

.gem {
  width: 7px; height: 7px;
  transform: rotate(45deg);
  background: var(--gold);
  box-shadow: 0 0 12px rgba(201, 161, 90, 0.55);
}

/* ---------- headline ---------- */
.headline {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 7.5vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: 0.14em;
  text-indent: 0.14em;
  text-transform: uppercase;
  text-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
}

.headline em {
  font-style: italic;
  font-weight: 900;
  color: var(--gold-soft);
  text-shadow: 0 0 34px rgba(232, 207, 154, 0.28);
}

/* ---------- copy ---------- */
.tagline {
  margin-top: 0.9rem;
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: clamp(1.02rem, 2.8vw, 1.35rem);
  color: var(--cream);
}

.sub {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 52ch;
}

.br-desktop { display: inline; }

@media (max-width: 560px) {
  .br-desktop { display: none; }
}

/* ---------- notify / reminder ---------- */
.remind-row {
  display: flex;
  gap: 0.7rem;
  margin-top: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.notify {
  display: flex;
  align-items: stretch;
  border-radius: 999px;
  border: 1px solid var(--rule);
  background: rgba(21, 6, 9, 0.55);
  overflow: hidden;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.notify:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 161, 90, 0.16);
}

.notify input[type="email"] {
  width: min(46vw, 15rem);
  padding: 0.82rem 1.2rem;
  border: 0;
  background: transparent;
  color: var(--cream);
  font: inherit;
  outline: none;
}

.notify input[type="email"]::placeholder { color: rgba(242, 230, 204, 0.42); }

.notify button {
  padding: 0.82rem 1.5rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(160deg, var(--gold-soft), var(--gold) 55%, #a8823f);
  color: var(--bg-deep);
  font: inherit;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: filter 0.2s ease, transform 0.2s ease;
}

.notify button:hover { filter: brightness(1.08); transform: translateY(-1px); }

.cal-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.82rem 1.35rem;
  border-radius: 999px;
  border: 1px solid var(--rule);
  color: var(--gold-soft);
  font: inherit;
  font-weight: 500;
  text-decoration: none;
  background: rgba(21, 6, 9, 0.55);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.cal-btn:hover {
  border-color: var(--gold);
  background: rgba(201, 161, 90, 0.1);
}

.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.notify-err,
.notify-done {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.1rem;
  font-size: 0.88rem;
}

.notify-err { color: #e8a48a; }

.notify-done { color: var(--cream); }

.notify.shake { animation: shake 0.4s ease; }

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-7px); }
  75% { transform: translateX(7px); }
}

/* ---------- footer ---------- */
footer {
  position: relative;
  z-index: 1;
  padding: 0.9rem 1rem 1.1rem;
  text-align: center;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  color: var(--muted);
}

/* ---------- a11y ---------- */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .seal { animation: none; }
}
