/* Sara Shadid Studios — coming soon
   Palette: warm charcoal ground, ivory type, muted brass accent. */

:root {
  --ink:        #12100e;
  --ink-soft:   #1b1815;
  --ivory:      #f4efe7;
  --ivory-dim:  rgba(244, 239, 231, 0.62);
  --ivory-faint:rgba(244, 239, 231, 0.28);
  --brass:      #c9a35f;
  --brass-soft: rgba(201, 163, 95, 0.35);

  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;

  --gutter: clamp(1.5rem, 5vw, 4rem);
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  min-height: 100svh;
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* ---------- Atmosphere ---------- */

.glow {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 90% at 50% -10%, rgba(201, 163, 95, 0.14), transparent 62%),
    radial-gradient(90% 70% at 50% 115%, rgba(201, 163, 95, 0.07), transparent 60%),
    linear-gradient(180deg, var(--ink-soft) 0%, var(--ink) 55%, #0d0b0a 100%);
}

.grain {
  position: fixed;
  inset: -50%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  animation: drift 8s steps(6) infinite;
}

@keyframes drift {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-2%, 1%); }
  40% { transform: translate(1%, -2%); }
  60% { transform: translate(-1%, -1%); }
  80% { transform: translate(2%, 1%); }
}

/* ---------- Layout ---------- */

.stage {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 5vh, 3.25rem);
  padding: clamp(3rem, 8vh, 5rem) var(--gutter);
  text-align: center;
}

/* ---------- Wordmark ---------- */

.mark { max-width: 24ch; }

.mark__eyebrow {
  display: block;
  font-size: 0.6875rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: clamp(1rem, 3vh, 1.75rem);
}

.mark__name {
  margin: 0;
  font-family: var(--serif);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: 0.02em;
  font-size: clamp(2.75rem, 11vw, 6.5rem);
}

.mark__line { display: block; }

.mark__line--alt {
  font-style: italic;
  color: var(--ivory-dim);
  letter-spacing: 0.06em;
}

.rule {
  margin: clamp(1.5rem, 4vh, 2.25rem) auto 0;
  width: min(220px, 60vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--ivory-faint), transparent);
  position: relative;
}

.rule i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  margin: -2.5px 0 0 -2.5px;
  border-radius: 50%;
  background: var(--brass);
  box-shadow: 0 0 12px var(--brass-soft);
}

/* ---------- Lede ---------- */

.lede { max-width: 34ch; }

.lede__tagline {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.125rem, 2.6vw, 1.5rem);
  line-height: 1.45;
  color: var(--ivory-dim);
}

.lede__status {
  margin: clamp(1rem, 2.5vh, 1.5rem) 0 0;
  display: inline-flex;
  align-items: center;
  gap: 0.9em;
  padding-left: 0.34em; /* offset the trailing letter-space so the group reads centered */
  font-size: 0.6875rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--ivory-faint);
}

.pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brass);
  animation: pulse 2.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.35; transform: scale(0.85); }
  50%      { opacity: 1;    transform: scale(1.15); }
}

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

.foot {
  margin-top: clamp(1rem, 4vh, 2rem);
  font-size: 0.8125rem;
  color: var(--ivory-faint);
}

.foot__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.foot a {
  color: var(--ivory-dim);
  text-decoration: none;
  transition: color 0.25s ease, border-color 0.25s ease;
}

/* Instagram handle: pill with icon, sized for a comfortable tap target. */
.social {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.6rem 1.15rem;
  border: 1px solid rgba(244, 239, 231, 0.16);
  border-radius: 999px;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
}

.social__icon { flex: 0 0 auto; }

.social:hover,
.social:focus-visible {
  color: var(--ivory);
  border-color: var(--brass);
  background: rgba(201, 163, 95, 0.08);
  outline: none;
}

.foot__copy {
  margin: 0.9rem 0 0;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  color: rgba(244, 239, 231, 0.2);
}

/* ---------- Entrance ---------- */

.mark, .lede, .foot {
  animation: rise 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.mark { animation-delay: 0.05s; }
.lede { animation-delay: 0.22s; }
.foot { animation-delay: 0.42s; }

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

/* ---------- Motion / contrast preferences ---------- */

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

@media (prefers-contrast: more) {
  :root {
    --ivory-dim: rgba(244, 239, 231, 0.85);
    --ivory-faint: rgba(244, 239, 231, 0.6);
  }
  .grain { opacity: 0.06; }
}
