/* Rang Grace — Coming Soon */

:root {
  --ivory: #FBF6EF;
  --ink: #2B2320;
  --ink-soft: #7A6A5C;
  --saffron: #FD5E1C;
  --saffron-deep: #B0703F;
  --gold: #C9A96E;
  --blush: #F2B8B5;

  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Jost", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  height: 100%;
}

body {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse 60% 45% at 50% 42%, rgba(242, 184, 181, 0.22), transparent 70%),
    var(--ivory);
  color: var(--ink);
  font-family: var(--font-sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

/* ---------- Background scene ---------- */

.petals {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

.arch {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  height: 90vh;
  height: 90svh;
  /* 2:3 like the viewBox on wide screens; stretches taller on phones */
  width: min(92vw, 60vh);
  width: min(92vw, 60svh);
  pointer-events: none;
  z-index: 0;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1;
  opacity: 0.55;
}

.arch path {
  vector-effect: non-scaling-stroke;
}

.arch .arch__inner {
  opacity: 0.5;
}

.arch .arch__gem {
  fill: var(--gold);
  stroke: none;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12vh 16px 32px;
  text-align: center;
}

.hero__logo {
  margin: 0;
  line-height: 0;
}

.logo {
  width: min(420px, 74vw);
  height: auto;
  overflow: visible;
}

.logo__ink {
  fill: var(--ink);
}

.logo__rays {
  fill: var(--saffron);
  transform-box: view-box;
  transform-origin: 1048px 430px;
  animation: breathe 5s ease-in-out infinite;
}

.hero__status {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: clamp(32px, 6vh, 56px) 0 0;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  color: var(--saffron-deep);
  /* balance the trailing letter-spacing so the text sits optically centred */
  padding-left: 0.5em;
}

.hero__status::before,
.hero__status::after {
  content: "";
  width: 44px;
  height: 1px;
  background: var(--gold);
}

.hero__status::after {
  margin-left: -0.5em;
}

.hero__tagline {
  margin: 20px 0 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(26px, 4.2vw, 40px);
  line-height: 1.2;
  color: var(--ink);
}

.hero__sub {
  max-width: 44ch;
  margin: 14px 0 0;
  font-size: clamp(14px, 1.6vw, 16px);
  letter-spacing: 0.04em;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ---------- Footer ---------- */

.footer {
  position: relative;
  z-index: 1;
  padding: 24px 16px 28px;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.footer__email {
  display: inline-block;
  padding-bottom: 2px;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.footer__email:hover,
.footer__email:focus-visible {
  color: var(--saffron);
  border-color: var(--saffron);
  outline: none;
}

.footer__copy {
  margin: 8px 0 0;
}

/* ---------- Motion ---------- */

.reveal {
  opacity: 0;
  animation: rise 1.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero__logo.reveal    { animation-delay: 0.2s; }
.hero__status.reveal  { animation-delay: 0.9s; }
.hero__tagline.reveal { animation-delay: 1.2s; }
.hero__sub.reveal     { animation-delay: 1.5s; }
.footer.reveal        { animation-delay: 1.9s; }

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes breathe {
  0%, 100% {
    opacity: 0.88;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.035);
  }
}

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

  .logo__rays {
    animation: none;
  }

  .petals {
    display: none;
  }
}

/* ---------- Small screens ---------- */

@media (max-width: 480px) {
  .hero {
    padding-top: 14vh;
  }

  .hero__status {
    gap: 12px;
    font-size: 11px;
    letter-spacing: 0.4em;
  }

  .hero__status::before,
  .hero__status::after {
    width: 28px;
  }
}
