:root {
  --bg: #0f0c0d;
  --bg-2: #171213;
  --card: #1c1617;
  --line: rgba(245, 231, 222, 0.1);
  --ink: #f6eee8;
  --muted: #a8998f;
  --blush: #eab8a8;
  --rose: #d9776f;
  --gold: #d8b98a;
  --ig: linear-gradient(45deg, #f9ce34, #ee2a7b 55%, #6228d7);
  --tt: linear-gradient(135deg, #25f4ee, #fe2c55);
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 22px;
  --max: 1180px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  background:
    radial-gradient(1200px 700px at 85% -10%, rgba(217, 119, 111, 0.16), transparent 60%),
    radial-gradient(900px 600px at -10% 30%, rgba(216, 185, 138, 0.08), transparent 60%),
    var(--bg);
  color: var(--ink);
  font: 400 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
svg { width: 1em; height: 1em; flex: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.05; margin: 0; }
h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -0.02em; }
h3 { font-size: 1.5rem; }
em { font-style: italic; color: var(--blush); }
.muted { color: var(--muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin: 0 0 1rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

section { width: min(var(--max), 100% - 2.5rem); margin: 0 auto; padding: 7rem 0; }
.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head h2 { margin-bottom: 1rem; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  padding: 0.95rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font: 600 0.95rem var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s, background 0.2s, color 0.2s, border-color 0.2s;
}
.btn:hover { transform: translateY(-2px); background: var(--blush); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.06); border-color: var(--blush); }
.btn--small { padding: 0.6rem 1.1rem; font-size: 0.85rem; }

/* Nav */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem clamp(1.25rem, 4vw, 3rem);
  transition: background 0.3s, backdrop-filter 0.3s, border-color 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(15, 12, 13, 0.75); backdrop-filter: blur(14px); border-color: var(--line); }
.nav__logo { font: italic 500 1.6rem var(--serif); text-decoration: none; }
.nav__logo span { color: var(--rose); }
.nav__links { display: flex; align-items: center; gap: 2rem; }
.nav__links a:not(.btn) { font-size: 0.9rem; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.nav__links a:not(.btn):hover { color: var(--ink); }
.nav__toggle { display: none; }

/* Hero */
.hero {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 3rem;
  padding-top: 8rem;
}
.hero__title { font-size: clamp(4rem, 10vw, 8.5rem); letter-spacing: -0.04em; font-weight: 300; }
.hero__title em { font-weight: 400; }
.hero__tagline { font: italic 300 clamp(1.3rem, 2.4vw, 1.8rem) var(--serif); margin: 1.5rem 0 1rem; color: var(--ink); }
.hero__lead { max-width: 30rem; color: var(--muted); font-size: 1.05rem; }
.hero__lead strong { color: var(--ink); font-weight: 600; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 2rem 0; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; padding: 0; margin: 0; list-style: none; }
.chips li { padding: 0.4rem 0.85rem; border: 1px solid var(--line); border-radius: 999px; font-size: 0.8rem; color: var(--muted); }

.hero__visual { position: relative; justify-self: center; width: min(420px, 100%); }
.hero__arch {
  position: relative;
  z-index: 1;
  aspect-ratio: 4 / 5;
  border-radius: 999px 999px var(--radius) var(--radius);
  overflow: hidden;
  box-shadow: 0 40px 80px -30px rgba(217, 119, 111, 0.45);
}
.hero__arch img { width: 100%; height: 100%; object-fit: cover; }
.hero__ring {
  position: absolute;
  inset: -18px;
  border: 1px solid rgba(234, 184, 168, 0.3);
  border-radius: 999px 999px 30px 30px;
}
.float {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.8rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(28, 22, 23, 0.8);
  backdrop-filter: blur(12px);
  animation: bob 6s ease-in-out infinite;
}
.float svg { width: 1.8rem; height: 1.8rem; }
.float b { display: block; font: 500 1.3rem var(--serif); }
.float span { font-size: 0.75rem; color: var(--muted); }
.float--ig { left: -3rem; top: 18%; }
.float--ig svg { color: #ee2a7b; }
.float--tt { right: -2.5rem; bottom: 14%; animation-delay: -3s; }
.float--tt svg { color: #25f4ee; }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* Stats */
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff4d5e;
  box-shadow: 0 0 0 0 rgba(255, 77, 94, 0.6);
  animation: pulse 1.8s infinite;
}
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(255, 77, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 77, 94, 0); } }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stat {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  text-decoration: none;
  transition: transform 0.25s, border-color 0.25s;
}
a.stat:hover { transform: translateY(-4px); border-color: rgba(234, 184, 168, 0.4); }
.stat__icon {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  margin-bottom: 1rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  font-size: 1.3rem;
}
.stat__icon--ig { background: var(--ig); }
.stat__icon--tt { background: #000; color: #fff; box-shadow: -2px -2px 0 #25f4ee inset, 2px 2px 0 #fe2c55 inset; }
.stat__icon--heart { color: #fe2c55; }
.stat__value {
  font: 400 clamp(2rem, 3.4vw, 2.8rem) / 1 var(--serif);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  transition: color 0.6s;
}
.stat__value.is-bumped { color: var(--blush); }
.stat__label { font-weight: 500; }
.stat__sub { font-size: 0.85rem; color: var(--muted); }
.stat--accent { background: linear-gradient(145deg, rgba(217, 119, 111, 0.25), rgba(216, 185, 138, 0.08)), var(--card); }

/* Story */
.story__intro { max-width: 760px; margin-bottom: 4rem; }
.story__intro blockquote { margin: 0 0 1.5rem; }
.story__intro blockquote p { font: italic 300 clamp(2.4rem, 6vw, 4.5rem) / 1.05 var(--serif); margin: 0 0 1rem; letter-spacing: -0.02em; }
.story__intro cite { font-style: normal; color: var(--gold); font-size: 0.9rem; }
.story__intro > p { font-size: 1.15rem; color: var(--muted); }

.timeline { counter-reset: step; position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; padding: 0; margin: 0; list-style: none; }
.timeline li {
  position: relative;
  padding: 2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
  counter-increment: step;
}
.timeline li::after {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 1.5rem;
  right: 1.75rem;
  font: italic 300 2.2rem var(--serif);
  color: rgba(234, 184, 168, 0.25);
}
.timeline__when { display: block; margin-bottom: 0.8rem; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rose); }
.timeline h3 { margin-bottom: 0.8rem; }
.timeline p { margin: 0; color: var(--muted); font-size: 0.95rem; }
.press { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; margin-top: 3rem; color: var(--muted); font-size: 0.85rem; letter-spacing: 0.1em; text-transform: uppercase; }
.press a { font: italic 400 1.25rem var(--serif); letter-spacing: 0; text-transform: none; color: var(--ink); text-underline-offset: 4px; text-decoration-color: var(--rose); }

/* Screenshots */
.feed__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.shot {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--card);
  color: inherit;
  text-align: left;
  cursor: zoom-in;
  transition: transform 0.3s, box-shadow 0.3s;
}
.shot:hover { transform: translateY(-4px) rotate(-0.3deg); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8); }
.shot__bar { display: flex; align-items: center; gap: 6px; padding: 0.7rem 1rem; border-bottom: 1px solid var(--line); font-size: 0.75rem; color: var(--muted); }
.shot__bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a3132; }
.shot__bar span { margin-left: 0.75rem; padding: 0.15rem 0.75rem; border-radius: 6px; background: rgba(255, 255, 255, 0.05); }
.shot img { width: 100%; aspect-ratio: 1280 / 900; object-fit: cover; object-position: top; }
.shot figcaption { padding: 0.9rem 1rem; font-size: 0.9rem; }

/* Posts */
.posts__block { margin-bottom: 4rem; }
.posts__head { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; }
.posts__head > div { flex: 1; }
.posts__head h3 { display: flex; align-items: center; gap: 0.6rem; font-size: 1.6rem; }
.posts__head p { margin: 0.2rem 0 0; font-size: 0.9rem; }
.posts__avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; border: 2px solid var(--blush); }
.badge { padding: 0.2rem 0.6rem; border-radius: 999px; font: 600 0.65rem var(--sans); letter-spacing: 0.1em; text-transform: uppercase; color: #fff; }
.badge--ig { background: var(--ig); }
.badge--tt { background: #000; border: 1px solid #fe2c55; }
.posts__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.75rem; }
.post {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: 14px;
  overflow: hidden;
  background: var(--card);
  text-decoration: none;
  isolation: isolate;
}
.post img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.post:hover img { transform: scale(1.06); }
.post::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.75)); z-index: 0; }
.post__tag, .post__pin { position: absolute; top: 0.6rem; z-index: 1; display: grid; place-items: center; }
.post__tag { right: 0.6rem; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: rgba(0, 0, 0, 0.45); font-size: 0.8rem; }
.post__pin { left: 0.6rem; padding: 0.15rem 0.5rem; border-radius: 6px; background: #fe2c55; font-size: 0.65rem; font-weight: 600; }
.post__meta { position: absolute; inset: auto 0.7rem 0.6rem; z-index: 1; display: flex; flex-direction: column; gap: 0.2rem; font-size: 0.75rem; }
.post__caption {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.3s, opacity 0.3s;
}
.post:hover .post__caption, .post:focus-visible .post__caption { max-height: 3em; opacity: 1; }
.post__numbers { display: flex; gap: 0.7rem; font-weight: 600; }
.post__numbers span { display: inline-flex; align-items: center; gap: 0.25rem; }
.post__date { color: rgba(255, 255, 255, 0.75); }
.posts__note { font-size: 0.8rem; text-align: center; }

/* Contact */
.contact { text-align: center; max-width: 860px; }
.contact .eyebrow { justify-content: center; }
.contact h2 { font-size: clamp(2.6rem, 7vw, 5rem); margin-bottom: 1.25rem; }
.contact__lead { max-width: 34rem; margin: 0 auto 2.5rem; color: var(--muted); font-size: 1.1rem; }
.contact__card {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1rem 1rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
}
.contact__mail { font-size: 1.5rem; color: var(--blush); }
.contact__email { font: 400 clamp(1rem, 2.6vw, 1.5rem) var(--serif); text-decoration: none; word-break: break-all; }
.contact__email:hover { color: var(--blush); }
.contact__topics { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin: 1.5rem 0 3rem; }
.contact__topics a { padding: 0.5rem 1rem; border: 1px solid var(--line); border-radius: 999px; font-size: 0.85rem; color: var(--muted); text-decoration: none; transition: color 0.2s, border-color 0.2s; }
.contact__topics a:hover { color: var(--ink); border-color: var(--rose); }
.contact__socials { display: flex; justify-content: center; gap: 2rem; }
.contact__socials a { display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none; color: var(--muted); }
.contact__socials a:hover { color: var(--ink); }
.contact__socials svg { font-size: 1.3rem; }

.footer {
  display: flex;
  justify-content: space-between;
  width: min(var(--max), 100% - 2.5rem);
  margin: 0 auto;
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
}
.footer p { margin: 0; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 2rem;
  background: rgba(8, 6, 7, 0.92);
  backdrop-filter: blur(6px);
  cursor: zoom-out;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 90vh; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
.lightbox__close { position: absolute; top: 1rem; right: 1.5rem; border: 0; background: none; color: var(--ink); font-size: 2.5rem; cursor: pointer; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1024px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(2, 1fr); }
  .posts__grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 820px) {
  section { padding: 5rem 0; }
  .nav__toggle {
    display: grid;
    gap: 6px;
    padding: 0.5rem;
    border: 0;
    background: none;
    cursor: pointer;
  }
  .nav__toggle span { width: 24px; height: 2px; background: var(--ink); transition: transform 0.3s; }
  .nav.is-open .nav__toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.is-open .nav__toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .nav__links {
    position: fixed;
    inset: 64px 0 auto;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(15, 12, 13, 0.97);
    border-bottom: 1px solid var(--line);
    transform: translateY(-130%);
    visibility: hidden;
    transition: transform 0.35s ease, visibility 0s 0.35s;
  }
  .nav.is-open .nav__links { transform: none; visibility: visible; transition: transform 0.35s ease; }
  .nav.is-open { background: rgba(15, 12, 13, 0.97); }
  .hero { grid-template-columns: 1fr; padding-top: 7rem; text-align: left; }
  .hero__visual { width: min(320px, 80%); order: -1; }
  .float--ig { left: -2rem; }
  .float--tt { right: -2rem; }
  .feed__grid { grid-template-columns: 1fr; }
  .posts__grid { grid-template-columns: repeat(3, 1fr); }
  .post__caption { display: none; }
}

@media (max-width: 560px) {
  .stats__grid, .timeline { grid-template-columns: 1fr; }
  .posts__grid { grid-template-columns: repeat(2, 1fr); }
  .posts__head .btn { display: none; }
  .contact__card { border-radius: var(--radius); padding: 1.25rem; }
  .footer { flex-direction: column; gap: 0.3rem; text-align: center; }
}
