:root {
  --bg-main: #f7f5f0;
  --bg-alt: #eef2f6;
  --bg-soft: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.78);
  --accent: #0f766e;
  --accent-soft: rgba(15, 118, 110, 0.12);
  --accent-strong: #21a89b;
  --text-main: #1f2a37;
  --text-muted: #5d6b7c;
  --border-subtle: #d6dbe5;
  --shadow-soft: 0 20px 60px rgba(23, 38, 58, 0.14);
}

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

html,
body {
  min-height: 100%;
}

body {
  font-family: "Sora", "Aptos", "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 14% 8%, rgba(33, 168, 155, 0.18), transparent 38%),
    radial-gradient(circle at 88% 6%, rgba(232, 203, 165, 0.28), transparent 40%),
    linear-gradient(160deg, #f7f5f0, #eef1f6 58%, #f6f7f9 100%);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

img,
video {
  max-width: 100%;
  display: block;
}

::selection {
  background: var(--accent-soft);
}

.container {
  width: min(1200px, 100%);
  margin: 0 auto;
  padding: 0 22px;
}

main {
  position: relative;
  z-index: 3;
}

/* ================= HERO ================= */

.hero {
  position: relative;
  min-height: 100vh;
  padding: 28px 0 110px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 12%, rgba(33, 168, 155, 0.18), transparent 36%),
    radial-gradient(circle at 90% 10%, rgba(232, 203, 165, 0.24), transparent 38%),
    linear-gradient(160deg, #f7f4ee, #edf1f6 50%, #f7f8fa);
  backdrop-filter: blur(4px);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.03) brightness(0.9);
  transform: scale(1.015);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(247, 246, 242, 0.55) 0, rgba(247, 246, 242, 0.78) 45%, rgba(247, 246, 242, 0.92) 100%),
    radial-gradient(circle at 18% 12%, rgba(33, 168, 155, 0.18), transparent 40%),
    radial-gradient(circle at 80% 18%, rgba(232, 203, 165, 0.2), transparent 40%);
  pointer-events: none;
}

.hidden-video {
  display: none;
}

/* Nav */

.nav {
  position: relative;
  z-index: 5;
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 16px;
  border: 1px solid rgba(15, 118, 110, 0.12);
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 14px 40px rgba(23, 38, 58, 0.12);
  backdrop-filter: blur(14px);
}

.nav-logo {
  font-family: "Fraunces", serif;
  font-size: 1.14rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.nav-right {
  display: flex;
  gap: 14px;
  font-size: 0.76rem;
  letter-spacing: 0.09em;
  flex-wrap: wrap;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover {
  color: var(--accent);
  transform: translateY(-1px);
}

/* Hero content */

.hero-grid {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: center;
  padding-top: 60px;
}

.hero-text .eyebrow {
  margin-bottom: 12px;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 0.32em;
  color: var(--accent);
}

.hero-text h1 {
  font-family: "Fraunces", serif;
  font-size: clamp(2.4rem, 3vw + 1rem, 3.7rem);
  line-height: 1.05;
  margin-bottom: 16px;
  text-shadow: 0 10px 30px rgba(31, 42, 55, 0.12);
}

.lede {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 680px;
}

.cta-row {
  margin: 18px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  border-radius: 999px;
  padding: 11px 22px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #ffffff;
  box-shadow: 0 16px 36px rgba(15, 118, 110, 0.28);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 20px 46px rgba(15, 118, 110, 0.35);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.7);
  border-color: rgba(15, 118, 110, 0.24);
  color: var(--text-main);
}

.btn.ghost:hover {
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.9);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  background: rgba(255, 255, 255, 0.82);
  color: var(--text-main);
  font-size: 0.88rem;
  letter-spacing: 0.02em;
}

/* Hero card */

.hero-card {
  position: relative;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.96), rgba(241, 245, 249, 0.98));
  border-radius: 26px;
  border: 1px solid rgba(15, 118, 110, 0.12);
  padding: 18px;
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
  overflow: hidden;
  max-width: 420px;
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle at 30% 20%, rgba(33, 168, 155, 0.16), transparent 32%);
  opacity: 0.8;
  pointer-events: none;
}

.hero-card-body {
  position: relative;
  z-index: 2;
  margin-top: 14px;
  border-top: 1px solid rgba(15, 118, 110, 0.12);
  padding-top: 14px;
}

.hero-portrait-frame {
  position: relative;
  z-index: 2;
  border-radius: 20px;
  padding: 10px;
  border: 1px solid rgba(15, 118, 110, 0.16);
  background: radial-gradient(circle at 40% 20%, rgba(33, 168, 155, 0.16), rgba(255, 255, 255, 0.92));
  box-shadow: 0 18px 40px rgba(23, 38, 58, 0.14);
  max-width: 360px;
}

.hero-portrait {
  border-radius: 14px;
  object-fit: cover;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
}

.card-title {
  font-weight: 700;
  font-size: 1.02rem;
}

.card-sub {
  color: var(--text-muted);
  margin: 6px 0 12px;
}

.card-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.card-stats .stat-label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.card-stats .stat-value {
  display: block;
  font-weight: 700;
  font-size: 0.98rem;
}

/* ================= SECTIONS ================= */

.section {
  padding: 96px 0;
}

.section-alt {
  background: linear-gradient(180deg, #eef2f6, #f6f7f9);
}

.section-header {
  margin-bottom: 26px;
}

.section-header h2 {
  font-family: "Fraunces", serif;
  font-size: 2rem;
  margin-bottom: 8px;
}

.section-lede,
.section-tagline {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 820px;
}

.section h2 {
  font-family: "Fraunces", serif;
  letter-spacing: 0.01em;
}

/* Poster */

.poster-section {
  position: relative;
}

.poster-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 42px;
  align-items: center;
}

.poster-image-frame {
  border-radius: 20px;
  padding: 12px;
  background: radial-gradient(circle at 12% 14%, rgba(33, 168, 155, 0.12), rgba(255, 255, 255, 0.96));
  border: 1px solid rgba(15, 118, 110, 0.12);
  box-shadow: var(--shadow-soft);
}

.poster-image {
  border-radius: 14px;
  width: 100%;
  object-fit: cover;
}

.poster-copy h2 {
  font-size: 2rem;
  margin: 10px 0 14px;
}

.poster-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

/* Film */

.film-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 40px;
  align-items: center;
}

.drive-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.drive-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(15, 118, 110, 0.16);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-main);
  text-decoration: none;
  font-weight: 600;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.drive-btn:hover {
  transform: translateY(-1px);
  border-color: var(--accent);
  background: rgba(15, 118, 110, 0.08);
}

.drive-btn.alt {
  background: rgba(249, 250, 251, 0.98);
}

.drive-label {
  letter-spacing: 0.02em;
}

.drive-icon {
  opacity: 0.8;
}

.film-frame {
  position: relative;
  padding: 14px;
  border-radius: 24px;
  background: linear-gradient(150deg, rgba(33, 168, 155, 0.18), rgba(255, 255, 255, 0.96));
  border: 1px solid rgba(15, 118, 110, 0.16);
  box-shadow: var(--shadow-soft);
}

.film-player {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  min-height: 420px;
  border-radius: 18px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 12px 32px rgba(23, 38, 58, 0.18);
}

.player-toggle {
  display: inline-flex;
  gap: 6px;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(15, 118, 110, 0.14);
  background: rgba(255, 255, 255, 0.72);
  margin-bottom: 14px;
}

.toggle-btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: all 0.2s ease;
}

.toggle-btn.active {
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #ffffff;
  box-shadow: 0 14px 30px rgba(15, 118, 110, 0.22);
}

.film-player iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  border: none;
  border-radius: 18px;
  background: #000;
}

/* Stills */

.stills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.still-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 12px 30px rgba(23, 38, 58, 0.12);
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.still-card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 118, 110, 0.35);
}

.still-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.still-card figcaption {
  padding: 12px 14px 14px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* Chessboard */

.chess-section {
  position: relative;
}

.chess-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  gap: 36px;
  align-items: center;
}

.chess-points {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.point-card {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 12px 30px rgba(23, 38, 58, 0.12);
}

.point-label {
  font-weight: 700;
  display: block;
  margin-bottom: 6px;
}

.point-card p {
  color: var(--text-muted);
}

.image-frame {
  border-radius: 18px;
  padding: 10px;
  background: radial-gradient(circle at 16% 18%, rgba(33, 168, 155, 0.14), rgba(255, 255, 255, 0.94));
  border: 1px solid rgba(15, 118, 110, 0.14);
  box-shadow: var(--shadow-soft);
}

.image-caption {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Weeknd */

.section-luxe {
  background:
    radial-gradient(circle at 10% 16%, rgba(33, 168, 155, 0.16), transparent 32%),
    linear-gradient(150deg, #f1f4f7, #f9fafb);
}

.weeknd-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 36px;
  align-items: center;
}

.luxe-list {
  list-style: none;
  padding: 0;
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.luxe-list li {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(15, 118, 110, 0.16);
  border-radius: 12px;
  padding: 10px 12px;
}

/* SZA */

.sza-section {
  background:
    radial-gradient(circle at 88% 12%, rgba(232, 203, 165, 0.2), transparent 34%),
    linear-gradient(150deg, #f4f6f8, #fbfcfd);
}

.sza-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 36px;
  align-items: center;
}

.sza-copy .luxe-list {
  margin-top: 14px;
}

.sza-visual .image-frame {
  max-width: 520px;
  margin: 0 auto;
}

.image-frame.tall img {
  width: 100%;
  height: auto;
  object-fit: contain;
  max-height: 720px;
}

/* Bionic */

.bionic-section {
  position: relative;
}

.bionic-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 36px;
  align-items: center;
}

.bionic-hero img {
  border-radius: 16px;
  border: 1px solid rgba(15, 118, 110, 0.12);
  box-shadow: var(--shadow-soft);
}

.bionic-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 12px;
}

.bionic-gallery img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(15, 118, 110, 0.12);
  background: #ffffff;
}

.bionic-points {
  display: grid;
  gap: 12px;
  margin: 14px 0;
}

.bionic-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

/* Synthesis */

.synthesis-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 20px;
}

.synthesis-grid .grid-item {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 12px 30px rgba(23, 38, 58, 0.12);
}

.synthesis-grid .grid-item h3 {
  margin-bottom: 8px;
}

.synthesis-grid .grid-item p {
  color: var(--text-muted);
}

/* Achievements */

.receipts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin: 18px 0 22px;
}

.receipt-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(23, 38, 58, 0.12);
  display: flex;
  flex-direction: column;
}

.receipt-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #f3f5f8;
  border-bottom: 1px solid var(--border-subtle);
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.receipt-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.receipt-card figcaption {
  padding: 12px 14px 14px;
}

.receipt-card h3 {
  font-size: 1.02rem;
  margin-bottom: 6px;
}

.receipt-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 16px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(23, 38, 58, 0.12);
}

.stat-card::after {
  content: "";
  position: absolute;
  inset: -40% 10% auto auto;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(33, 168, 155, 0.18), transparent 70%);
  opacity: 0.7;
}

.stat-card p {
  color: var(--text-muted);
  margin-top: 6px;
}

.stat-label {
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Legacy */

.legacy-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 24px;
  align-items: center;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(241, 245, 249, 0.98));
  border: 1px solid rgba(15, 118, 110, 0.14);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.legacy-body {
  color: var(--text-muted);
  margin-top: 8px;
}

.legacy-box {
  background:
    radial-gradient(circle at 20% 20%, rgba(33, 168, 155, 0.2), rgba(255, 255, 255, 0.9)),
    linear-gradient(150deg, rgba(248, 250, 252, 0.92), rgba(239, 246, 246, 0.92));
  border: 1px solid rgba(15, 118, 110, 0.28);
  border-radius: 16px;
  padding: 18px;
  text-align: center;
  box-shadow: 0 18px 40px rgba(15, 118, 110, 0.16), 0 18px 50px rgba(23, 38, 58, 0.12);
  position: relative;
  overflow: hidden;
}

.bio-text {
  display: inline-block;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  text-shadow: none;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
}

/* Footer */

.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 20px 20px 26px;
  text-align: center;
  font-size: 0.86rem;
  color: var(--text-muted);
  background: #f1f4f8;
}

/* ================= SCROLL ANIMATIONS ================= */

.animate-section {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.animate-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================= RESPONSIVE ================= */

@media (max-width: 1100px) {
  .hero-grid,
  .poster-grid,
  .film-grid,
  .chess-grid,
  .weeknd-grid,
  .sza-grid,
  .bionic-grid,
  .legacy-card {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 28px;
  }

  .nav-right {
    gap: 12px;
  }

  .hero-card {
    max-width: 420px;
  }
}

@media (max-width: 900px) {
  .nav {
    padding: 12px 14px;
  }

  .nav-right {
    display: none;
  }

  .hero {
    padding: 22px 0 80px;
  }

  .hero-grid {
    padding-top: 40px;
  }

  .film-player {
    min-height: 360px;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 72px 0;
  }

  .animate-section {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .card-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bionic-gallery {
    grid-template-columns: minmax(0, 1fr);
  }

  .synthesis-grid {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }

  .receipt-media {
    aspect-ratio: auto;
    padding: 0;
  }

  .receipt-media img {
    height: auto;
  }

  .image-frame.tall img {
    max-height: none;
  }
}

@media (max-width: 520px) {
  .hero-grid {
    gap: 28px;
  }

  .nav-logo {
    font-size: 1.08rem;
  }

  .hero-card {
    max-width: 100%;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .film-player {
    min-height: 260px;
  }
}
