/* ===== Aya Alani · Minimal, Centered Editorial ===== */

/* ---- Tokens ---- */
:root {
  --bg: #ffffff;
  --bg-2: #f6f6f5;
  --ink: #0e0e0e;
  --muted: #6d6d6d;
  --muted-2: #a6a6a6;
  --line: rgba(0, 0, 0, 0.13);
  --line-soft: rgba(0, 0, 0, 0.07);

  --font: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;

  --container: 1160px;
  --radius: 10px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-weight: 400;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--ink); color: #fff; }

/* ---- Layout ---- */
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.section { padding: clamp(5rem, 11vw, 10rem) 0; position: relative; }
.section--tight { padding: clamp(3.5rem, 7vw, 6rem) 0; }

/* ---- Type (centered editorial) ---- */
.eyebrow { display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.display { font-weight: 600; line-height: 1.02; letter-spacing: -0.035em; }
.section__title { font-weight: 600; font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.05; letter-spacing: -0.03em; }
.accent-text { color: inherit; }
.lead { color: var(--muted); font-size: 1.15rem; font-weight: 400; }
.section__head { max-width: 720px; margin-inline: auto; text-align: center; }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head .eyebrow { margin-bottom: 1.3rem; }
.section__head p { color: var(--muted); margin: 1.1rem auto 0; font-size: 1.08rem; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.9rem 1.7rem; font-family: var(--font); font-size: 0.9rem; font-weight: 500;
  border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease;
}
.btn--solid { background: var(--ink); color: #fff; }
.btn--solid:hover { transform: translateY(-2px); background: #2a2a2a; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; transform: translateY(-2px); }

/* ---- Divider ---- */
.rule { height: 1px; background: var(--line); border: 0; }

/* ---- Navigation ---- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 60; padding: 1.4rem 0; transition: background .35s ease, padding .35s ease, box-shadow .35s ease; }
.nav.is-scrolled { background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(14px); padding: 0.9rem 0; box-shadow: 0 1px 0 var(--line-soft); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; }
.nav__brand { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.02em; color: var(--ink); }
.nav__brand b { font-weight: 700; }
.nav__links { display: flex; align-items: center; gap: 2.2rem; }
.nav__links a { font-size: 0.9rem; font-weight: 500; color: var(--muted); position: relative; padding: 0.4rem 0; transition: color .2s ease; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--ink); transition: width .3s ease; }
.nav__links a:hover, .nav__links a.is-active { color: var(--ink); }
.nav__links a:hover::after, .nav__links a.is-active::after { width: 100%; }
.nav__cta { color: #fff !important; background: var(--ink); border-radius: 999px; padding: 0.55rem 1.2rem !important; }
.nav__cta::after { display: none; }
.nav__cta:hover { background: #2a2a2a; }

.nav__toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; z-index: 70; }
.nav__toggle span { width: 24px; height: 1.5px; background: var(--ink); transition: transform .35s ease, opacity .35s ease; }
.nav__toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---- Photo placeholders ---- */
.photo { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line-soft); display: grid; place-content: center; gap: 0.5rem; text-align: center; }
.photo__mono { font-weight: 600; font-size: clamp(3rem, 7vw, 5rem); line-height: 1; color: #d4d4d0; }
.photo--portrait { aspect-ratio: 4 / 5; }
.photo--tall { aspect-ratio: 3 / 4; }
.photo--square { aspect-ratio: 1 / 1; }
.photo--wide { aspect-ratio: 16 / 10; }
/* Real photo fills the frame and hides the placeholder monogram. */
.photo--img { background-size: cover; background-position: center; background-repeat: no-repeat; }
.photo--img .photo__mono { display: none; }

/* ---- Hero (centered poster) ---- */
.hero { min-height: 100svh; padding: clamp(9rem, 20vw, 15rem) 0 clamp(4rem, 8vw, 7rem); text-align: center; }
.hero__inner { display: flex; flex-direction: column; align-items: center; gap: clamp(2.5rem, 6vw, 4.5rem); width: 100%; }
.hero__title { font-size: clamp(3.4rem, 13vw, 9rem); margin: 1.4rem 0 0; }
.hero__title small { display: block; font-size: 0.2em; font-weight: 400; color: var(--muted); letter-spacing: 0; margin-top: 1rem; }
.hero__lead { max-width: 46ch; margin: 1.6rem auto 0; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.9rem; margin-top: 2.2rem; }
.hero__media { position: relative; width: 100%; max-width: 520px; }
.hero__media .photo { aspect-ratio: 4 / 5; }

/* ---- Page header (centered) ---- */
.page-hero { padding: clamp(9rem, 16vw, 12rem) 0 clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--line-soft); text-align: center; }
.page-hero__title { font-size: clamp(2.6rem, 7.5vw, 5rem); margin: 1.1rem 0 0.5rem; }
.page-hero p { color: var(--muted); max-width: 56ch; margin: 0.9rem auto 0; font-size: 1.08rem; }

/* ---- Two-column feature -> centered stacked ---- */
.feature__grid { display: flex; flex-direction: column; align-items: center; text-align: center; gap: clamp(2rem, 5vw, 3.5rem); max-width: 860px; margin-inline: auto; }
.feature__media { width: 100%; max-width: 500px; }
.feature__body { max-width: 660px; }
.feature__body p { color: var(--muted); margin: 1.1rem auto 0; font-size: 1.05rem; }
.feature__body .btn { margin-top: 1.8rem; }

/* ---- Cards ---- */
.grid { display: grid; gap: 1.5rem; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.card { position: relative; background: var(--bg); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; transition: transform .3s ease, border-color .3s ease; }
.card:hover { transform: translateY(-6px); border-color: var(--line); }
.card__media { aspect-ratio: 3 / 4; position: relative; overflow: hidden; }
.card__media .photo { height: 100%; border: 0; border-radius: 0; }
.card__tag { position: absolute; top: 1rem; left: 1rem; z-index: 2; font-size: 0.64rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); background: rgba(255,255,255,0.9); padding: 0.4rem 0.75rem; border-radius: 999px; }
.card__body { padding: 1.4rem 1.5rem 1.7rem; text-align: center; }
.card__body h3 { font-weight: 600; font-size: 1.3rem; line-height: 1.15; letter-spacing: -0.01em; }
.card__body p { color: var(--muted); font-size: 0.95rem; margin-top: 0.35rem; }

/* ---- Service blocks (centered) ---- */
.service { padding: 2.4rem 1rem; border-top: 1px solid var(--line-soft); text-align: center; }
.service__num { font-size: 0.85rem; font-weight: 600; color: var(--muted-2); letter-spacing: 0.04em; }
.service h3 { font-weight: 600; font-size: 1.4rem; margin: 0.6rem 0 0.5rem; letter-spacing: -0.01em; }
.service p { color: var(--muted); font-size: 0.98rem; max-width: 40ch; margin-inline: auto; }

/* ---- Quote ---- */
.quote { max-width: 900px; margin-inline: auto; text-align: center; }
.quote blockquote { font-weight: 600; font-size: clamp(1.7rem, 4vw, 3rem); line-height: 1.18; letter-spacing: -0.02em; }
.quote .mark { color: var(--muted-2); }
.quote cite { display: block; margin-top: 1.5rem; font-style: normal; font-weight: 500; font-size: 0.78rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }

/* ---- Tags (centered) ---- */
.tags { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin-top: 2rem; }
.tags li { font-size: 0.82rem; font-weight: 500; padding: 0.5rem 1rem; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); }

/* ---- Followers (live counters) ---- */
.counters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.counter { padding: 2.4rem 1.5rem; text-align: center; border: 1px solid var(--line-soft); border-radius: var(--radius); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.7rem; transition: transform .3s ease, border-color .3s ease; }
.counter:hover { transform: translateY(-6px); border-color: var(--line); }
.counter__platform { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.counter__num { font-weight: 600; font-size: clamp(1.8rem, 4vw, 2.4rem); line-height: 1; letter-spacing: -0.03em; }
/* Numbers come from KV (set manually); show a neutral placeholder until it loads. */
.counter__num[data-followers]:empty::after { content: "\2026"; color: var(--muted-2); }
.counter__handle { font-size: 0.9rem; color: var(--muted-2); }
.counter__cta { display: inline-flex; padding: 0.65rem 1.3rem; border-radius: 999px; border: 1px solid var(--ink); color: var(--ink); font-size: 0.78rem; font-weight: 500; }
.counter:hover .counter__cta { background: var(--ink); color: #fff; }

/* ---- Link list (socials) ---- */
.links { max-width: 620px; margin-inline: auto; display: grid; gap: 0.9rem; }
.link { display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 1.5rem; border: 1px solid var(--line-soft); border-radius: var(--radius); transition: transform .25s ease, border-color .25s ease; }
.link:hover { transform: translateY(-3px); border-color: var(--ink); }
.link__label { font-weight: 600; }
.link__handle { color: var(--muted); font-size: 0.92rem; }

/* ---- CTA band ---- */
.cta-band { text-align: center; background: var(--bg-2); border-block: 1px solid var(--line-soft); }
.cta-band h2 { font-weight: 600; font-size: clamp(2.2rem, 5.5vw, 4rem); line-height: 1.05; letter-spacing: -0.03em; }
.cta-band p { color: var(--muted); margin: 1rem auto 2.2rem; max-width: 48ch; font-size: 1.08rem; }

/* ---- Footer ---- */
.footer { padding: clamp(3.5rem, 7vw, 5.5rem) 0 2.5rem; border-top: 1px solid var(--line); }
.footer__top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid var(--line-soft); }
.footer__brand { font-weight: 700; font-size: 1.5rem; letter-spacing: -0.02em; }
.footer__brand + p { color: var(--muted); margin-top: 0.6rem; max-width: 30ch; font-size: 0.95rem; }
.footer__cols { display: flex; gap: 4rem; flex-wrap: wrap; }
.footer__col h4 { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.footer__col a { display: block; color: var(--muted); font-size: 0.93rem; padding: 0.25rem 0; transition: color .2s ease; }
.footer__col a:hover { color: var(--ink); }
.footer__bottom { padding-top: 1.8rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.6rem; color: var(--muted-2); font-size: 0.82rem; }

/* ---- Reveal animation ---- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .grid--3 { grid-template-columns: repeat(2, 1fr); }

  .nav__toggle { display: flex; }
  .nav__links { position: fixed; inset: 0 0 0 auto; width: min(80vw, 320px); flex-direction: column; align-items: flex-start; justify-content: center; gap: 1.8rem; background: var(--bg); padding: 4rem 2.5rem; border-left: 1px solid var(--line); transform: translateX(100%); transition: transform .4s cubic-bezier(.2,.7,.2,1); }
  .nav__links.is-open { transform: none; }
  .nav__links a { font-size: 1.05rem; }
}
@media (max-width: 640px) {
  .counters { grid-template-columns: 1fr; }
  .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .footer__top { flex-direction: column; }
}

/* ===== Motion (restrained) ===== */

/* Smooth transitions between pages */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vtOut .3s ease both; }
::view-transition-new(root) { animation: vtIn .4s cubic-bezier(.2,.7,.2,1) both; }
@keyframes vtOut { to { opacity: 0; } }
@keyframes vtIn { from { opacity: 0; transform: translateY(10px); } }

/* Scroll progress bar */
.scroll-progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 90; background: var(--ink); }

/* Hero entrance (staggered on load) */
.hero__text > *, .hero__media { opacity: 0; animation: rise .85s cubic-bezier(.2,.7,.2,1) forwards; }
.hero__text > *:nth-child(1) { animation-delay: .06s; }
.hero__text > *:nth-child(2) { animation-delay: .16s; }
.hero__text > *:nth-child(3) { animation-delay: .26s; }
.hero__text > *:nth-child(4) { animation-delay: .36s; }
.hero__media { animation-delay: .30s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* Subtle card image zoom */
.card__media .photo { transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.card:hover .card__media .photo { transform: scale(1.04); }

/* Ghost button arrow */
.btn--ghost { gap: 0; }
.btn--ghost::after { content: "\2192"; width: 0; opacity: 0; overflow: hidden; transition: width .3s ease, opacity .3s ease, margin-left .3s ease; }
.btn--ghost:hover::after { width: 0.9em; margin-left: 0.5rem; opacity: 1; }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero__text > *, .hero__media { animation: none; opacity: 1; }
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* ---- Social icons ---- */
.socials { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.socials .social { width: 42px; height: 42px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 999px; color: var(--ink); transition: transform .25s ease, background .25s ease, color .25s ease, border-color .25s ease; }
.socials .social:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-3px); }
.socials .social svg { width: 18px; height: 18px; fill: currentColor; display: block; }
.link__main { display: inline-flex; align-items: center; gap: 0.8rem; }
.link__icon { width: 18px; height: 18px; fill: currentColor; flex: none; }
/* counter icons — circular brand badge */
.counter__icon { width: 64px; height: 64px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line-soft); color: var(--ink); margin-bottom: 0.3rem; transition: background .3s ease, color .3s ease, transform .3s ease; }
.counter__icon svg { width: 34px; height: 34px; fill: currentColor; display: block; }
.counter:hover .counter__icon { background: var(--ink); color: #fff; transform: translateY(-2px) scale(1.04); }
/* Collapse the Snapchat handle while it is empty (before JS hydrates it from the
   wrangler var) so it never leaves a blank gap. */
.counter__handle:empty, .link__handle:empty { display: none; }
