:root {
  --bg: #f7f1e4;
  --bg-strong: #efe5d0;
  --surface: rgba(255, 248, 231, 0.78);
  --surface-strong: #fff7e9;
  --text: #2c1d11;
  --text-soft: #5e4837;
  --green: #2f7d4d;
  --green-2: #49a85c;
  --gold: #d9a441;
  --gold-2: #f5d25c;
  --brown: #5a3b24;
  --red: #d94b45;
  --line: rgba(90, 59, 36, 0.12);
  --shadow: 0 18px 50px rgba(52, 31, 11, 0.14);
  --shadow-strong: 0 25px 70px rgba(24, 12, 4, 0.22);
  --radius: 26px;
  --radius-sm: 18px;
  --container: min(1180px, calc(100vw - 32px));
  --header-height: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Poppins", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container { width: var(--container); margin-inline: auto; }
.narrow { max-width: 780px; }
.section { padding: 96px 0; position: relative; }
.section-texture,
.section-highlight {
  background:
    radial-gradient(circle at top left, rgba(217, 164, 65, 0.08), transparent 28%),
    radial-gradient(circle at bottom right, rgba(73, 168, 92, 0.12), transparent 30%),
    var(--bg);
}
.section-head {
  max-width: 760px;
  margin-bottom: 42px;
}
.section-kicker,
.eyebrow {
  margin: 0 0 10px;
  font-size: .85rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--green);
  font-weight: 700;
}

h1, h2, h3 {
  margin: 0;
  font-family: "Fredoka", system-ui, sans-serif;
  line-height: 1.02;
}

h1 { font-size: clamp(2.6rem, 5vw, 5.3rem); }
h2 { font-size: clamp(2rem, 4vw, 3.4rem); margin-bottom: 18px; }
h3 { font-size: 1.5rem; margin-bottom: 12px; }
p {
  margin: 0;
  line-height: 1.7;
  color: var(--text-soft);
  font-size: 1rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(247, 241, 228, 0.72);
  border-bottom: 1px solid rgba(90, 59, 36, 0.08);
}
.header-inner {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--gold), var(--gold-2));
  box-shadow: var(--shadow);
  font-size: 1.4rem;
}
.brand-text strong {
  display: block;
  font-weight: 700;
  font-size: 1rem;
}
.brand-text small {
  display: block;
  font-size: .8rem;
  color: var(--text-soft);
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}
.site-nav a {
  font-weight: 600;
  color: var(--brown);
}
.site-nav a:hover,
.site-nav a:focus-visible { color: var(--green); }
.btn-nav { margin-left: 8px; }

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 14px;
  background: rgba(217, 164, 65, 0.16);
  padding: 0;
  cursor: pointer;
}
.nav-toggle span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--brown);
  border-radius: 99px;
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  display: grid;
  align-items: center;
  isolation: isolate;
}
.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.03);
}
.hero-overlay {
  background:
    linear-gradient(to bottom, rgba(30, 19, 11, 0.44), rgba(30, 19, 11, 0.58)),
    radial-gradient(circle at 50% 20%, rgba(247, 241, 228, 0.08), transparent 30%);
}
.hero-content {
  position: relative;
  z-index: 1;
  padding: 72px 0;
}
.hero-card {
  width: min(760px, 100%);
  padding: clamp(24px, 3vw, 38px);
  border-radius: 34px;
  background: rgba(36, 25, 15, 0.56);
  color: #fff7ef;
  box-shadow: var(--shadow-strong);
  border: 1px solid rgba(255,255,255,0.12);
}
.hero-card p,
.hero-card .eyebrow { color: rgba(255, 247, 239, 0.88); }
.hero-logo {
  width: min(220px, 36vw);
  border-radius: 24px;
  margin-bottom: 18px;
  box-shadow: 0 12px 35px rgba(0,0,0,.24);
}
.hero-text { font-size: 1.06rem; max-width: 56ch; margin-top: 18px; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.hero-pills {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.hero-pills li,
.info-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.16);
  color: #fff7ef;
  font-weight: 600;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold-2);
  box-shadow: 0 0 0 5px rgba(245, 210, 92, 0.14);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease, color .22s ease;
}
.btn:hover,
.btn:focus-visible {
  transform: translateY(-2px);
}
.btn-primary {
  background: linear-gradient(145deg, var(--gold), var(--gold-2));
  color: var(--brown);
  box-shadow: 0 12px 28px rgba(217, 164, 65, 0.28);
}
.btn-secondary {
  background: linear-gradient(145deg, var(--green), var(--green-2));
  color: white;
  box-shadow: 0 12px 28px rgba(47, 125, 77, 0.28);
}
.btn-ghost {
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.12);
  color: white;
}

.intro { text-align: center; }
.features { background: linear-gradient(to bottom, var(--bg), #f9f5eb); }
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.feature-card,
.info-card {
  background: var(--surface-strong);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 1px solid rgba(90, 59, 36, 0.08);
}
.card-media {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}
.card-media img,
.gallery-item img,
.stack-main,
.stack-float {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.feature-card:hover .card-media img,
.gallery-item:hover img,
.stacked-images:hover .stack-main,
.stacked-images:hover .stack-float {
  transform: scale(1.04);
}
.card-body { padding: 24px; }
.text-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--green);
  font-weight: 700;
}

.split-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 42px;
  align-items: center;
}
.bullet-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: grid;
  gap: 12px;
}
.bullet-list li {
  position: relative;
  padding-left: 24px;
  color: var(--text-soft);
}
.bullet-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .65em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green-2);
}
.stacked-images {
  position: relative;
  min-height: 540px;
}
.stack-main,
.stack-float {
  position: absolute;
  border-radius: 30px;
  box-shadow: var(--shadow-strong);
}
.stack-main {
  inset: 0 80px 40px 0;
}
.stack-float {
  width: 52%;
  height: 52%;
  right: 0;
  bottom: 0;
  border: 8px solid rgba(255, 248, 231, 0.9);
}

.section-highlight {
  background:
    linear-gradient(145deg, rgba(29, 58, 42, 0.95), rgba(47, 125, 77, 0.92)),
    var(--green);
  color: #fff7ef;
}
.section-highlight h2,
.section-highlight .section-kicker,
.section-highlight p { color: #fff7ef; }
.birthday-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 26px;
  align-items: center;
}
.birthday-points {
  display: grid;
  gap: 14px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 18px;
}
.gallery-item {
  appearance: none;
  border: 0;
  padding: 0;
  cursor: zoom-in;
  background: transparent;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.gallery-item:nth-child(1) { grid-row: span 2; min-height: 560px; }
.gallery-item:nth-child(2),
.gallery-item:nth-child(3) { min-height: 270px; }
.gallery-item img { height: 100%; }

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.info-card { padding: 26px; }

.site-footer {
  padding: 26px 0 40px;
  background: #efe7d4;
  border-top: 1px solid rgba(90,59,36,.08);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.back-top { font-weight: 700; color: var(--green); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: rgba(15, 11, 9, 0.82);
  padding: 28px;
}
.lightbox[hidden] { display: none; }
.lightbox-inner {
  max-width: min(1100px, 100%);
  max-height: min(86svh, 100%);
}
.lightbox-inner img {
  max-height: 86svh;
  border-radius: 24px;
  box-shadow: var(--shadow-strong);
}
.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 0;
  font-size: 2rem;
  cursor: pointer;
  background: rgba(255,255,255,.12);
  color: white;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal-visible {
  opacity: 1;
  transform: none;
}

.discover-page {
  background: #0f140f;
  color: #fff7ef;
}
.discover-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.discover-video,
.discover-overlay {
  position: absolute;
  inset: 0;
}
.discover-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.discover-overlay {
  background:
    radial-gradient(circle at top center, rgba(245, 210, 92, 0.12), transparent 24%),
    linear-gradient(to bottom, rgba(7, 11, 7, 0.45), rgba(7, 11, 7, 0.78));
}
.discover-back {
  position: absolute;
  top: 24px;
  left: 24px;
  z-index: 2;
  padding: 14px 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.1);
  color: white;
  font-weight: 700;
  backdrop-filter: blur(10px);
}
.discover-content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100vw - 32px));
  padding: 44px;
  border-radius: 34px;
  background: rgba(18, 25, 18, 0.45);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow-strong);
  backdrop-filter: blur(16px);
}
.discover-text {
  max-width: 60ch;
  color: rgba(255,247,239,.88);
  margin-top: 16px;
}
.discover-bubbles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}
.bubble-card {
  display: flex;
  gap: 14px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.12);
}
.bubble-dot {
  width: 16px;
  height: 16px;
  margin-top: 8px;
  border-radius: 50%;
  flex: 0 0 16px;
  background: linear-gradient(145deg, var(--gold), var(--gold-2));
  box-shadow: 0 0 0 8px rgba(245, 210, 92, .1);
}
.bubble-card h2 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}
.bubble-card p { color: rgba(255,247,239,.86); }

@media (max-width: 1024px) {
  .card-grid,
  .info-grid,
  .discover-bubbles,
  .birthday-grid,
  .split-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-item:nth-child(1) {
    grid-column: span 2;
    min-height: 420px;
  }
  .stacked-images {
    min-height: 460px;
  }
}

@media (max-width: 820px) {
  .nav-toggle { display: inline-block; }
  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(255, 248, 231, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: .24s ease;
  }
  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .hero-card,
  .discover-content { padding: 26px; }
  .section { padding: 76px 0; }
  .stack-main { inset: 0 30px 30px 0; }
  .stack-float { width: 58%; height: 44%; }
}

@media (max-width: 640px) {
  :root { --container: min(100vw - 20px, 1180px); }
  .header-inner { min-height: 72px; }
  h1 { font-size: 2.3rem; }
  h2 { font-size: 1.9rem; }
  .hero-pills,
  .hero-actions,
  .footer-inner { flex-direction: column; align-items: stretch; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(2),
  .gallery-item:nth-child(3) {
    grid-column: auto;
    grid-row: auto;
    min-height: 240px;
  }
  .stacked-images { min-height: 320px; }
  .stack-main { inset: 0 0 90px 0; }
  .stack-float { width: 70%; height: 40%; }
  .discover-back { top: 16px; left: 16px; }
  .bubble-card { padding: 18px; }
}
