:root {
  --bg: #0d0c11;
  --bg-soft: #15131b;
  --card: rgba(255, 255, 255, 0.08);
  --card-strong: rgba(255, 255, 255, 0.12);
  --border: rgba(255, 255, 255, 0.14);
  --text: #f5efe8;
  --muted: #cabfb3;
  --accent: #f1d7c3;
  --accent-strong: #f26d81;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --content-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(242, 109, 129, 0.16), transparent 28%),
    radial-gradient(circle at 80% 10%, rgba(232, 199, 166, 0.12), transparent 22%),
    linear-gradient(180deg, #0a090d 0%, #111018 45%, #0d0c11 100%);
  color: var(--text);
  min-height: 100vh;
}

img {
  display: block;
  width: 100%;
}

.background-glow {
  position: fixed;
  inset: auto;
  border-radius: 999px;
  filter: blur(100px);
  z-index: 0;
  pointer-events: none;
}

.glow-one {
  width: 240px;
  height: 240px;
  top: 10%;
  left: 6%;
  background: rgba(242, 109, 129, 0.15);
}

.glow-two {
  width: 260px;
  height: 260px;
  right: 8%;
  top: 46%;
  background: rgba(232, 199, 166, 0.14);
}

.site-header,
main,
.site-footer {
  position: relative;
  z-index: 1;
}

.site-header {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 28px 24px 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.7rem;
  font-weight: 700;
}

.site-header nav {
  display: flex;
  gap: 24px;
}

.site-header a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.96rem;
}

.site-header a:hover {
  color: var(--text);
}

.section-shell {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 30px 24px;
}

.hero {
  min-height: calc(100vh - 90px);
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
}

.eyebrow,
.section-tag {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  color: var(--accent);
  margin: 0 0 18px;
}

h1,
h2,
blockquote {
  font-family: "Cormorant Garamond", Georgia, serif;
}

h1 {
  font-size: clamp(3.8rem, 9vw, 6.4rem);
  line-height: 0.95;
  margin: 0;
}

.subtitle {
  font-size: clamp(1.2rem, 2.4vw, 1.65rem);
  color: var(--accent);
  margin: 18px 0 14px;
}

.lede,
.section-heading p,
.story-card p,
.vibe-card p,
.site-footer p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.02rem;
}

.quick-facts,
.tag-cloud {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.quick-facts {
  margin: 28px 0;
}

.quick-facts span,
.tag-cloud span {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.05);
  padding: 11px 16px;
  border-radius: 999px;
  color: #f2e7dd;
  backdrop-filter: blur(10px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, #f2d1be, #f26d81);
  color: #22171a;
}

.button-secondary {
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.portrait-card {
  overflow: hidden;
  box-shadow: var(--shadow);
}

.tall-card {
  width: min(100%, 440px);
  border-radius: 36px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.tall-card img {
  aspect-ratio: 0.8;
  object-fit: cover;
}

.glass-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04));
  border: 1px solid var(--border);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.floating-quote {
  position: absolute;
  left: -18px;
  bottom: 24px;
  max-width: 270px;
  border-radius: 22px;
  padding: 18px 20px;
}

.floating-quote p {
  margin: 0;
  color: var(--text);
  line-height: 1.55;
}

.intro-grid,
.vibe-grid {
  display: grid;
  gap: 24px;
}

.intro-grid {
  grid-template-columns: 1.2fr 0.8fr;
}

.story-card,
.details-card,
.vibe-card {
  border-radius: var(--radius-xl);
  padding: 30px;
}

.story-card h2,
.section-heading h2,
.vibe-card h2 {
  font-size: clamp(2.1rem, 4vw, 3rem);
  line-height: 1.03;
  margin: 0 0 18px;
}

.details-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}

.details-list li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.details-list li:last-child {
  border-bottom: 0;
}

.details-list strong {
  color: var(--text);
}

.details-list span {
  color: var(--muted);
  text-align: right;
}

.gallery-section {
  padding-top: 42px;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 22px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.gallery-card {
  grid-column: span 4;
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
  box-shadow: var(--shadow);
}

.gallery-card.large {
  grid-column: span 6;
  grid-row: span 2;
}

.gallery-card.screenshot-card {
  grid-column: span 6;
}

.gallery-card img {
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.gallery-card figcaption {
  position: absolute;
  left: 18px;
  bottom: 18px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(8, 8, 11, 0.5);
  backdrop-filter: blur(10px);
  color: var(--text);
  font-size: 0.92rem;
}

.vibe-grid {
  grid-template-columns: repeat(3, 1fr);
  padding-bottom: 54px;
}

.standout-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

blockquote {
  margin: 8px 0 0;
  font-size: clamp(1.8rem, 3.3vw, 2.5rem);
  line-height: 1.1;
  color: #fff4ea;
}

.site-footer {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 24px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.scroll-top {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 1.2rem;
  cursor: pointer;
}

.scroll-top:hover {
  background: rgba(255, 255, 255, 0.14);
}

@media (max-width: 980px) {
  .hero,
  .intro-grid,
  .vibe-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 20px;
  }

  .hero-copy {
    order: 2;
  }

  .hero-visual {
    order: 1;
  }

  .floating-quote {
    left: 12px;
    bottom: 14px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gallery-card,
  .gallery-card.large,
  .gallery-card.screenshot-card {
    grid-column: auto;
  }
}

@media (max-width: 720px) {
  .site-header {
    padding-top: 20px;
  }

  .site-header nav {
    gap: 16px;
    font-size: 0.92rem;
  }

  .section-shell,
  .site-footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  h1 {
    font-size: 3.6rem;
  }

  .story-card,
  .details-card,
  .vibe-card {
    padding: 24px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-card img {
    min-height: 280px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
