/* ==========================================================================
   Charmaine — Coming Soon
   Design tokens, layout and motion for the holding page.
   ========================================================================== */

:root {
  /* Brand palette — warm Egyptian cream + ink + rose-gold */
  --cream:        #f5ede0;
  --cream-soft:   #faf4ea;
  --cream-deep:   #ecdfca;
  --ink:          #1a1410;
  --ink-soft:     #4a3f36;
  --gold:         #b8895e;
  --gold-light:   #d4b896;
  --gold-deep:    #8c6240;
  --line:         rgba(26, 20, 16, 0.14);

  /* Typography */
  --font-sans:    'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-serif:   'Cormorant Garamond', 'Times New Roman', serif;

  /* Motion */
  --ease-out:     cubic-bezier(.2, .7, .2, 1);
}

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

html,
body { height: 100%; }

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

/* ----- Stage / background ----- */
.stage {
  position: relative;
  min-height: 100svh;
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  padding: clamp(20px, 4vw, 44px) clamp(20px, 5vw, 56px);
  background:
    radial-gradient(120% 80% at 50% 10%, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, 0) 55%),
    radial-gradient(80% 60% at 50% 110%, rgba(184, 137, 94, .18) 0%, rgba(184, 137, 94, 0) 60%),
    linear-gradient(180deg, var(--cream-soft) 0%, var(--cream) 45%, var(--cream-deep) 100%);
}

/* Subtle textured grain overlay */
.stage::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.1  0 0 0 0 0.08  0 0 0 0 0.06  0 0 0 0.06 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply;
  opacity: .35;
}

/* ----- Decorative gold corner ornaments ----- */
.ornament {
  position: absolute;
  width: clamp(60px, 9vw, 120px);
  height: clamp(60px, 9vw, 120px);
  pointer-events: none;
  opacity: .55;
  color: var(--gold);
}
.ornament--tl { top: clamp(14px, 2.5vw, 28px); left:  clamp(14px, 2.5vw, 28px); }
.ornament--tr { top: clamp(14px, 2.5vw, 28px); right: clamp(14px, 2.5vw, 28px); transform: scaleX(-1); }
.ornament--bl { bottom: clamp(14px, 2.5vw, 28px); left:  clamp(14px, 2.5vw, 28px); transform: scaleY(-1); }
.ornament--br { bottom: clamp(14px, 2.5vw, 28px); right: clamp(14px, 2.5vw, 28px); transform: scale(-1, -1); }

/* ----- Header ----- */
.site-header {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}
.site-header__mark {
  width: clamp(46px, 6vw, 64px);
  opacity: .9;
}

/* ----- Hero ----- */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  z-index: 2;
  padding: clamp(24px, 5vw, 56px) 0;
}

.hero__logo-en {
  width: clamp(240px, 50vw, 460px);
  animation: rise 1.1s var(--ease-out) both;
}

.hero__divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: clamp(18px, 3vw, 28px) 0 clamp(8px, 2vw, 14px);
  color: var(--gold);
  animation: rise 1.2s .15s var(--ease-out) both;
}
.hero__divider-line {
  height: 1px;
  width: clamp(40px, 10vw, 90px);
  background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
}
.hero__divider-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(184, 137, 94, .12);
}

.hero__logo-ar {
  width: clamp(110px, 22vw, 180px);
  margin: 0 auto;
  opacity: .9;
  animation: rise 1.2s .25s var(--ease-out) both;
}

.hero__tagline {
  margin-top: clamp(28px, 5vw, 44px);
  font-family: var(--font-serif);
  font-weight: 300;
  font-style: italic;
  font-size: clamp(14px, 2.2vw, 18px);
  letter-spacing: .04em;
  color: var(--ink-soft);
  animation: rise 1.2s .35s var(--ease-out) both;
}

.hero__title {
  margin: clamp(8px, 1.5vw, 14px) 0 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(34px, 7vw, 72px);
  letter-spacing: clamp(.18em, 1.2vw, .32em);
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--ink);
  background: linear-gradient(
    90deg,
    var(--ink) 0%,
    var(--gold-deep) 40%,
    var(--gold) 50%,
    var(--gold-deep) 60%,
    var(--ink) 100%
  );
  background-size: 220% auto;
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  animation:
    rise 1.2s .45s var(--ease-out) both,
    shimmer 6s linear infinite;
}

.hero__message {
  max-width: 38ch;
  margin: clamp(18px, 3vw, 26px) auto 0;
  font-size: clamp(13.5px, 1.5vw, 15.5px);
  line-height: 1.7;
  font-weight: 300;
  color: var(--ink-soft);
  animation: rise 1.2s .55s var(--ease-out) both;
}

/* ----- Footer ----- */
.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 2;
  color: var(--ink-soft);
  animation: rise 1.2s .7s var(--ease-out) both;
}

.socials {
  display: flex;
  gap: 14px;
}
.socials__link {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  transition:
    transform   .25s ease,
    border-color .25s ease,
    background  .25s ease,
    color       .25s ease;
}
.socials__link:hover,
.socials__link:focus-visible {
  transform: translateY(-2px);
  border-color: var(--gold);
  background: var(--gold);
  color: var(--cream-soft);
  outline: none;
}
.socials__link svg { width: 16px; height: 16px; }

.copyright {
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  opacity: .75;
}

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

@keyframes shimmer {
  0%   { background-position: 0% 50%; }
  100% { background-position: 220% 50%; }
}

/* ----- A11y ----- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

/* ----- Mobile tuning ----- */
@media (max-width: 520px) {
  .ornament  { opacity: .4; }
  .copyright { font-size: 11px; }
}
