:root {
  --primary: #c9686f;
  --primary-dark: #b92f43;
  --burgundy: #861e2b;
  --soft-rose: #d48680;
  --blush: #f2c5c1;
  --soft-pink: #f8e4e1;
  --background: #fff8f4;
  --surface: #fffcfa;
  --text: #251b19;
  --text-secondary: #655d59;
  --gold: #d5a36a;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

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

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--background);
  line-height: 1.55;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 80% 50% at 10% 0%, rgba(242, 197, 193, 0.55), transparent 55%),
    radial-gradient(ellipse 70% 45% at 90% 10%, rgba(213, 163, 106, 0.18), transparent 50%),
    linear-gradient(135deg, #fff8f4 0%, #f8e4e1 100%);
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes softPulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.03);
  }
}

@keyframes driftIn {
  from {
    opacity: 0;
    transform: translateX(24px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

/* —— Landing hero —— */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 2.5rem 1.25rem 1.5rem;
  align-items: center;
}

.hero-copy {
  animation: fadeUp 0.7s ease both;
}

.app-icon {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  margin-bottom: 1rem;
  box-shadow: 0 14px 32px rgba(134, 30, 43, 0.16);
  animation: softPulse 3.2s ease-in-out infinite;
}

.brand {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--burgundy);
}

.brand a {
  color: inherit;
  text-decoration: none;
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-family: var(--font-body);
  font-size: clamp(1.2rem, 2.6vw, 1.55rem);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--text);
  font-weight: 500;
}

.lead,
.doc p,
.meta {
  color: var(--text-secondary);
  max-width: 34rem;
}

.hero .lead {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
}

.play-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.85rem;
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(37, 27, 25, 0.08);
  box-shadow: 0 8px 20px rgba(134, 30, 43, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.play-badge img {
  width: 118px;
  height: auto;
}

.play-badge:hover,
.play-badge:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(134, 30, 43, 0.14);
}

.play-badge-lg img {
  width: 132px;
}

.hero-visual {
  display: block;
  animation: driftIn 0.9s 0.15s ease both;
}

.hero-visual img {
  width: 100%;
  border-radius: 0;
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.15fr);
    gap: 2.5rem;
    padding: 3.5rem 1.5rem 2rem;
    min-height: min(88vh, 760px);
  }

  .app-icon {
    width: 112px;
    height: 112px;
  }
}

/* —— Gallery —— */
.gallery {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto 3rem;
  animation: fadeUp 0.8s 0.25s ease both;
}

.gallery-intro {
  margin-bottom: 1.35rem;
}

.gallery-intro h2,
.cta-title {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  color: var(--burgundy);
  font-weight: 700;
}

.gallery-intro p {
  margin: 0;
  color: var(--text-secondary);
}

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

@media (min-width: 640px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.15rem;
  }
}

.shot {
  display: block;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.shot img {
  width: 100%;
  transition: transform 0.45s ease;
}

.shot:hover,
.shot:focus-visible {
  transform: translateY(-3px);
}

.shot:hover img,
.shot:focus-visible img {
  transform: scale(1.02);
}

/* —— CTA band —— */
.cta-band {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto 3rem;
  padding: 2rem 0 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  border-top: 1px solid rgba(201, 104, 111, 0.22);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.7rem 1.2rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
}

.btn.primary {
  color: #fff;
  background: linear-gradient(135deg, #b92f43 0%, #c9686f 55%, #d48680 100%);
  box-shadow: 0 10px 24px rgba(185, 47, 67, 0.22);
}

.btn.ghost {
  color: var(--burgundy);
  background: var(--surface);
  border: 1px solid rgba(201, 104, 111, 0.35);
}

.links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.35rem;
  margin-bottom: 0.75rem;
}

.links a,
.doc a,
.back a {
  color: var(--primary-dark);
}

footer {
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto 2rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* —— Legal / doc pages —— */
.shell {
  width: min(720px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 4.5rem 0 3rem;
}

.shell.doc {
  padding-top: 2.5rem;
  padding-bottom: 4rem;
}

.shell .brand {
  margin: 0 0 1.25rem;
  font-size: clamp(1.75rem, 4vw, 2.35rem);
}

.shell h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.55rem, 3.5vw, 2.1rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text);
  font-weight: 650;
  font-family: var(--font-body);
}

h2 {
  margin: 1.75rem 0 0.5rem;
  font-size: 1.1rem;
  color: var(--burgundy);
}

.meta {
  margin-top: -0.35rem;
  font-size: 0.92rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.75rem 0 2rem;
}

.shell + footer,
.doc ~ footer {
  width: min(720px, calc(100% - 2rem));
}

.back {
  margin-top: 2.5rem;
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy,
  .hero-visual,
  .gallery,
  .app-icon,
  .shot,
  .shot img,
  .play-badge {
    animation: none;
    transition: none;
  }
}
