:root {
  --cream: #faf4e8;
  --cream-deep: #f3ead7;
  --teal: #1a5063;
  --teal-deep: #143f4f;
  --gold: #d7b35e;
  --gold-dark: #b8923c;
  --maroon: #9b2c3a;
  --ink: #2a2622;

  --shell-max: 1180px;
}

* { box-sizing: border-box; }

html, body { height: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Poppins", system-ui, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(120% 80% at 50% 0%, var(--cream) 0%, var(--cream-deep) 100%);
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

.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;
}

/* ---------- Decorative florals ---------- */
.floral {
  position: fixed;
  width: clamp(180px, 24vw, 340px);
  height: auto;
  color: var(--gold);
  opacity: 0.55;
  z-index: 0;
  pointer-events: none;
}
.floral--tl { top: -10px; left: -10px; }
.floral--tr { top: -10px; right: -10px; transform: scaleX(-1); }
.floral--bl { bottom: -6px; left: -10px; transform: scaleY(-1); opacity: 0.4; color: var(--gold); }
.floral--br { bottom: -6px; right: -10px; transform: scale(-1, -1); opacity: 0.4; }

/* ---------- Main stage ---------- */
.stage {
  position: relative;
  z-index: 2;
  flex: 1 0 auto;
  width: 100%;
  max-width: var(--shell-max);
  margin: 0 auto;
  padding: clamp(2.2rem, 5vw, 4rem) 1.5rem 9rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ---------- Brand ---------- */
.brand {
  display: flex;
  justify-content: center;
  margin-bottom: clamp(1rem, 3vw, 2rem);
}
.logo {
  width: clamp(160px, 20vw, 240px);
  height: auto;
  display: block;
}

/* ---------- Headline ---------- */
.headline {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  color: var(--teal);
  font-size: clamp(3rem, 10vw, 6.8rem);
  line-height: 0.94;
  letter-spacing: 0.02em;
  margin: 0.4rem 0 0;
  text-transform: uppercase;
}

/* ---------- Dividers ---------- */
.divider {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin: 1.4rem 0 1.2rem;
  color: var(--gold-dark);
}
.divider span {
  display: block;
  height: 1px;
  width: clamp(40px, 9vw, 90px);
  background: linear-gradient(90deg, transparent, var(--gold-dark));
}
.divider span:last-child { background: linear-gradient(90deg, var(--gold-dark), transparent); }
.divider i { font-style: normal; font-size: 0.85rem; }

/* ---------- Taglines ---------- */
.tagline {
  font-size: clamp(1.05rem, 2.4vw, 1.5rem);
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 1.4rem;
}
.tagline em { font-style: normal; color: var(--maroon); font-weight: 500; }

.motto {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 500;
  color: var(--teal);
  font-size: clamp(1rem, 2.4vw, 1.4rem);
  margin: 0 0 2rem;
}
.motto .leaf { color: var(--gold); font-style: normal; font-size: 0.85em; }

/* ---------- Pillars ---------- */
.pillars {
  list-style: none;
  margin: clamp(2.2rem, 5vw, 3.4rem) 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
}
.pillars li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  padding: 0 clamp(1rem, 4vw, 2.4rem);
  position: relative;
}
.pillars li + li::before {
  content: "";
  position: absolute;
  left: 0; top: 10%;
  height: 80%;
  width: 1px;
  background: rgba(184, 146, 60, 0.5);
}
.pillars svg {
  width: 40px; height: 40px;
  fill: none;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.pillars span {
  font-size: clamp(0.62rem, 1.4vw, 0.78rem);
  letter-spacing: 0.12em;
  font-weight: 500;
  color: var(--ink);
}

/* ---------- Bottom wave ---------- */
.wave {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  width: 100%;
  height: clamp(120px, 18vh, 220px);
  z-index: 1;
  display: block;
}
.wave__fill { fill: var(--teal); }
.wave__line {
  fill: none;
  stroke: var(--gold);
  stroke-width: 3;
  opacity: 0.9;
}

/* ---------- Responsive ---------- */
@media (max-width: 560px) {
  .pillars { gap: 1.6rem 0; }
  .pillars li { width: 44%; padding: 0 0.5rem; }
  .pillars li + li::before { display: none; }
  .pillars li:nth-child(odd)::after {
    content: "";
    position: absolute;
    right: 0; top: 10%;
    height: 80%; width: 1px;
    background: rgba(184, 146, 60, 0.5);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .stage > * { animation: rise 0.7s cubic-bezier(0.22, 1, 0.36, 1) both; }
  .brand { animation-delay: 0.02s; }
  .headline { animation-delay: 0.1s; }
  .divider { animation-delay: 0.18s; }
  .tagline { animation-delay: 0.24s; }
  .motto { animation-delay: 0.3s; }
  .pillars { animation-delay: 0.4s; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
  }
}
