/* =========================================================
   Srya Collective — Coming Soon (single screen)
   ========================================================= */

:root {
  --g-900: #012a16;
  --g-800: #01391e;   /* exact logo green */
  --cream: #f0ece4;
  --cream-80: rgba(240, 236, 228, .8);
  --cream-60: rgba(240, 236, 228, .6);
  --cream-12: rgba(240, 236, 228, .12);
  --gold: #c9b48a;
  --gold-40: rgba(201, 180, 138, .4);

  --f-ar: 'Amiri', 'Times New Roman', serif;
  --f-en: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;

  --frame: clamp(10px, 2vw, 24px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html, body {
  height: 100%;
  overflow: hidden;              /* single screen, no scrolling */
  background: var(--g-900);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  color: var(--cream);
  font-family: var(--f-ar);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

::selection { background: var(--gold); color: var(--g-900); }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 6px; }

[lang="en"] { font-family: var(--f-en); }

/* ---------- atmosphere ---------- */
.atmos { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.atmos > div { position: absolute; inset: 0; }

.atmos__glow {
  background:
    radial-gradient(ellipse 70% 55% at 50% 40%, rgba(16, 92, 56, .55), transparent 70%),
    radial-gradient(ellipse 120% 90% at 50% 50%, transparent 40%, rgba(0, 14, 7, .75) 100%);
}
.atmos__lines {
  background: url("/assets/lines.svg") center 70% / cover no-repeat;
  opacity: .07;
  animation: drift 40s ease-in-out infinite alternate;
}
.atmos__grain {
  opacity: .08;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- frame ---------- */
.frame {
  position: fixed;
  inset: var(--frame);
  z-index: 20;
  border: 1px solid var(--cream-12);
  pointer-events: none;
  animation: fade 2s .2s ease both;
}
.frame::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(201, 180, 138, .1);
}
.frame__c {
  position: absolute;
  width: 20px; height: 20px;
  border: 0 solid var(--gold);
  opacity: .8;
}
.frame__c--tl { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.frame__c--tr { top: -1px; right: -1px; border-width: 1px 1px 0 0; }
.frame__c--bl { bottom: -1px; left: -1px; border-width: 0 0 1px 1px; }
.frame__c--br { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }

/* ---------- stage ---------- */
.stage {
  position: relative;
  z-index: 5;
  height: 100vh;
  height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--frame) + 40px) 0;
}

.logo img {
  width: min(74vw, 500px, 52svh * 1.65);
  animation: logoIn 2.8s var(--ease) both;
}

.ornament {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: clamp(22px, 4.5svh, 44px) 0 clamp(18px, 3.5svh, 32px);
}
.ornament span {
  display: block;
  height: 1px;
  width: clamp(56px, 12vw, 120px);
  background: linear-gradient(to left, var(--gold), transparent);
  transform-origin: right;
  animation: draw 1.6s 1.3s cubic-bezier(.6, 0, .2, 1) both;
}
.ornament span:last-child {
  background: linear-gradient(to right, var(--gold), transparent);
  transform-origin: left;
}
.ornament i {
  width: 7px; height: 7px;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
  animation: fade 1.4s 1.6s ease both;
}

/* ---------- coming soon ---------- */
.soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  animation: rise 1.8s 1.7s var(--ease) both;
}
.soon__ar {
  font-size: clamp(30px, 5.4vw, 46px);
  line-height: 1.3;
}
.soon__en {
  font-style: italic;
  font-weight: 300;
  font-size: clamp(15px, 2.4vw, 20px);
  letter-spacing: .4em;
  margin-right: -.4em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- brands ribbon ---------- */
.brands {
  width: 100%;
  margin-top: clamp(30px, 6svh, 60px);
  animation: fade 2s 2.2s ease both;
}

.marquee {
  overflow: hidden;
  border-block: 1px solid var(--cream-12);
  padding-block: clamp(14px, 2.4svh, 20px);
  direction: ltr;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 54s linear infinite;
}
.marquee__group {
  display: flex;
  align-items: center;
  flex: none;
}
.marquee__group li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-inline: clamp(22px, 3vw, 40px);
  white-space: nowrap;
  position: relative;
}
.marquee__group li::after {
  content: "";
  position: absolute;
  right: 0; top: 50%;
  width: 6px; height: 6px;
  margin-top: -3px;
  border: 1px solid var(--gold);
  transform: translateX(50%) rotate(45deg);
  opacity: .7;
}
.marquee .b-en {
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 400;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cream-80);
}
.marquee .b-ar {
  font-size: clamp(17px, 2.2vw, 24px);
  color: var(--cream-60);
}

/* ---------- footer ---------- */
.footer {
  position: fixed;
  left: 0; right: 0;
  bottom: calc(var(--frame) + 14px);
  z-index: 10;
  text-align: center;
  font-size: 12px;
  letter-spacing: .25em;
  color: var(--cream-60);
  animation: fade 2s 2.6s ease both;
}

/* ---------- motion ---------- */
@keyframes logoIn {
  from { opacity: 0; filter: blur(16px); transform: scale(1.05); }
  to   { opacity: 1; filter: blur(0); transform: none; }
}
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: none; }
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1.05); }
  to   { transform: translate3d(-3%, -2%, 0) scale(1.12); }
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* reduced motion: keep everything visible, stop movement */
@media (prefers-reduced-motion: reduce) {
  .logo img, .ornament span, .ornament i, .soon, .brands, .frame, .footer, .atmos__lines {
    animation: none !important;
  }
  .marquee__track { animation-duration: 120s; }
}

@media (max-height: 560px) {
  .ornament { margin: 14px 0 12px; }
  .brands { margin-top: 18px; }
  .footer { display: none; }
}
