/* ==========================================================
   Sunitha Jewellers — Coming Soon
   Brand colours & typography from the Sunitha Jewellers Logo Guide
   ========================================================== */

:root {
  /* Brand palette */
  --brand-crimson: #A61D47;   /* "Blue" in the guide — C26 M100 Y62 K15 */
  --brand-black:   #221F1F;   /* Rich Black — C70 M67 Y65 K74 */
  --brand-white:   #FFFFFF;
  --brand-blush:   #EDD2DA;   /* tint used behind the crimson logo */

  /* Supporting tones */
  --crimson-deep:  #7C1333;
  --gold-light:    #F6E3BC;
  --gold:          #D9B878;

  /* Typography — Cinzel (display) + Cera Pro (text).
     Cera Pro is a commercial font; Jost is the closest free fallback.
     If you licence Cera Pro, add its @font-face and it will be used first. */
  --font-display: "Cinzel", "Trajan Pro", Georgia, serif;
  --font-text: "Cera Pro", "Cera PRO", "Jost", "Segoe UI", system-ui, sans-serif;
}

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

html, body { height: 100%; }

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  color: var(--brand-white);
  font-family: var(--font-text);
  font-weight: 300;
  background-color: var(--brand-crimson);
  background-image:
    radial-gradient(ellipse at 50% 38%, rgba(255, 255, 255, .10) 0%, rgba(255, 255, 255, 0) 55%),
    radial-gradient(ellipse at 50% 120%, var(--crimson-deep) 0%, rgba(124, 19, 51, 0) 60%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

/* ---------- Background watermark ---------- */
.watermark {
  position: fixed;
  right: 0;
  bottom: 0;
  width: min(85vmax, 1100px);
  height: auto;
  color: var(--brand-white);
  opacity: .05;
  transform: translate(38%, 38%);
  animation: spin 180s linear infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes spin {
  to { transform: translate(38%, 38%) rotate(360deg); }
}

/* ---------- Vertical side mark ---------- */
.side-mark {
  position: fixed;
  right: clamp(16px, 3vw, 40px);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  z-index: 1;
}

.side-mark span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: .8rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .7);
}

.side-mark::after {
  content: "";
  width: 1px;
  height: 90px;
  background: rgba(255, 255, 255, .55);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(48px, 9vh, 96px) 16px clamp(24px, 4vh, 40px);
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(14px, 2.5vh, 24px);
}

.logo__emblem {
  width: clamp(112px, 22vw, 176px);
  height: auto;
  filter: drop-shadow(0 6px 18px rgba(60, 5, 20, .35));
  opacity: 0;
  animation: rise 1.2s cubic-bezier(.2, .7, .2, 1) .1s forwards;
}

.logo__shine {
  animation: shine 5s ease-in-out 1.6s infinite;
}

@keyframes shine {
  0%        { transform: skewX(-20deg) translateX(-160px); }
  35%, 100% { transform: skewX(-20deg) translateX(260px); }
}

.logo__word {
  width: clamp(230px, 46vw, 380px);
  height: auto;
  color: var(--brand-white);
  opacity: 0;
  animation: rise 1.2s cubic-bezier(.2, .7, .2, 1) .35s forwards;
}

/* ---------- Divider ---------- */
.divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: clamp(28px, 5vh, 48px) 0 clamp(18px, 3vh, 28px);
  opacity: 0;
  animation: fade 1s ease .8s forwards;
}

.divider span {
  width: clamp(48px, 12vw, 110px);
  height: 1px;
}

.divider span:first-child { background: linear-gradient(90deg, rgba(217, 184, 120, 0), var(--gold)); }
.divider span:last-child  { background: linear-gradient(90deg, var(--gold), rgba(217, 184, 120, 0)); }

.divider i {
  width: 8px;
  height: 8px;
  background: var(--gold);
  transform: rotate(45deg);
}

/* ---------- Copy ---------- */
.coming {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.6rem, 5.2vw, 3rem);
  letter-spacing: .28em;
  /* optical centering for trailing letter-spacing */
  padding-left: .28em;
  text-transform: uppercase;
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0;
  animation: rise 1.1s cubic-bezier(.2, .7, .2, 1) 1s forwards;
}

.tagline {
  max-width: 34ch;
  margin: clamp(14px, 2.4vh, 22px) 0 0;
  font-size: clamp(1rem, 2.4vw, 1.15rem);
  line-height: 1.7;
  letter-spacing: .02em;
  color: rgba(255, 255, 255, .88);
  opacity: 0;
  animation: fade 1.2s ease 1.3s forwards;
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding: 0 16px 22px;
  text-align: center;
}

.footer__wave {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 120px;
  fill: var(--crimson-deep);
  opacity: .55;
  z-index: -1;
}

.footer p {
  margin: 0;
  padding-top: 64px;
  font-size: .8rem;
  letter-spacing: .12em;
  color: rgba(255, 255, 255, .7);
}

/* ---------- Shared animations ---------- */
@keyframes rise {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fade {
  to { opacity: 1; }
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .side-mark { display: none; }
  .footer p { letter-spacing: .06em; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
  }
  .logo__emblem, .logo__word, .divider, .coming, .tagline { opacity: 1; }
  .watermark { transform: translate(38%, 38%); }
  .logo__shine { display: none; }
}
