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

:root {
  --ink: #22170f;
  --sand: #caa987;
  --cream: #ead8c0;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  background: var(--sand);
  color: var(--ink);
}

body {
  font-family: Arial, Helvetica, sans-serif;
}

.coming-soon {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.hero-image {
  position: absolute;
  inset: -4%;
  z-index: -3;
  background: url("assets/naaz-fabric.png") center center / cover no-repeat;
  animation: drift 14s ease-in-out infinite alternate;
  transform-origin: center right;
}

.coming-soon::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(210, 178, 145, 0.32) 0%, rgba(210, 178, 145, 0.05) 53%, rgba(35, 17, 8, 0.1) 100%),
    linear-gradient(180deg, rgba(230, 204, 175, 0.12), transparent 50%, rgba(58, 31, 17, 0.08));
}

.paper-grain {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(1.5rem, 4vw, 3.4rem) clamp(1.5rem, 5vw, 5rem);
}

.site-header {
  animation: fade-down 1.2s 0.15s both;
}

.brand-mark {
  width: clamp(7rem, 11vw, 10rem);
  height: auto;
  display: block;
}

.origin,
.eyebrow,
.status-row,
.site-footer {
  font-size: 0.67rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.origin {
  margin: 0;
}

.message {
  align-self: center;
  width: min(48rem, 72vw);
  margin-left: clamp(1.5rem, 10vw, 10rem);
  padding: 3rem 0;
}

.eyebrow {
  margin: 0 0 1.5rem;
  animation: reveal 1s 0.45s both;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
  font-size: clamp(3rem, 7vw, 7.6rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  animation: reveal 1.2s 0.65s both;
}

h1 em {
  font-weight: 400;
  color: #f5e8d8;
  text-shadow: 0 1px 18px rgba(61, 35, 20, 0.12);
}

.status-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: clamp(2rem, 4vw, 3.5rem);
  animation: reveal 1s 0.95s both;
}

.status-row p {
  margin: 0;
}

.rule {
  width: clamp(2rem, 6vw, 5rem);
  height: 1px;
  background: currentColor;
  transform-origin: left;
  animation: grow 1s 1.1s both;
}

.soon {
  padding: 0.55rem 0.8rem 0.5rem;
  border: 1px solid rgba(34, 23, 15, 0.55);
  border-radius: 100px;
}

.site-footer {
  animation: fade-up 1.2s 1.1s both;
}

.site-footer p {
  margin: 0;
}

.site-footer span {
  font-size: 0.8rem;
  animation: spin 12s linear infinite;
}

@keyframes drift {
  from { transform: scale(1.04) translate3d(-0.5%, 0, 0); }
  to { transform: scale(1.1) translate3d(1.5%, -0.7%, 0); }
}

@keyframes reveal {
  from { opacity: 0; transform: translateY(22px); filter: blur(5px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

@keyframes fade-down {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes grow {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 680px) {
  .hero-image {
    inset: -2%;
    background-position: 64% center;
  }

  .coming-soon::before {
    background: linear-gradient(90deg, rgba(210, 178, 145, 0.6), rgba(210, 178, 145, 0.08));
  }

  .message {
    width: calc(100% - 3rem);
    margin-left: 1.5rem;
    align-self: end;
    padding-bottom: 5vh;
  }

  .origin,
  .site-footer p {
    display: none;
  }

  .status-row {
    flex-wrap: wrap;
    max-width: 18rem;
    line-height: 1.5;
  }

  .soon {
    margin-left: 3rem;
  }
}

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