/* ---------- Design tokens ---------- */
:root{
  --navy-900: #0b1b32;
  --navy-800: #122744;
  --navy-700: #1b3a63;
  --sky-100: #eaf6ff;
  --sky-300: #bfe4fb;
  --sky-500: #6ec3ee;
  --wood-500: #c98a3c;
  --wood-600: #a9682a;
  --cream: #faf7f1;
  --ink: #1c2430;
  --ink-soft: #56606f;

  --radius: 16px;
  --radius-sm: 10px;
  --shadow-soft: 0 20px 40px -20px rgba(11, 27, 50, 0.35);
  --shadow-card: 0 10px 30px -15px rgba(11, 27, 50, 0.25);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
h1, h2, h3{ font-family: var(--font-display); line-height: 1.15; margin: 0; }
p{ margin: 0; }

.container{
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.btn-primary{
  background: linear-gradient(135deg, var(--wood-500), var(--wood-600));
  color: #fff;
  box-shadow: 0 12px 24px -10px rgba(169, 104, 42, 0.55);
}
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 16px 28px -10px rgba(169, 104, 42, 0.6); }
.btn-ghost{
  background: rgba(255,255,255,0.08);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.5);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover{ background: rgba(255,255,255,0.18); transform: translateY(-2px); }
.btn-lg{ padding: 16px 34px; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(11, 27, 50, 0);
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
  padding: 18px 0;
}
.site-header.scrolled{
  background: rgba(11, 27, 50, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 24px -12px rgba(0,0,0,0.4);
  padding: 12px 0;
}
.header-inner{
  display: flex;
  align-items: center;
  gap: 24px;
}
.brand{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
}
.brand-logo{
  width: 42px; height: 42px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.25);
}
.brand-name{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
}
.nav{
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav a{
  color: rgba(255,255,255,0.85);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}
.nav a:hover{ color: var(--sky-300); }
.nav-cta{ flex-shrink: 0; }

.burger{
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  border: none;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  cursor: pointer;
}
.burger span{
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.burger.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2){ opacity: 0; }
.burger.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero{
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg{
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  z-index: -2;
}
.hero-overlay{
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11,27,50,0.75) 0%, rgba(11,27,50,0.88) 55%, rgba(11,27,50,0.97) 100%);
  z-index: -1;
}
.hero-inner{
  padding-top: 140px;
  padding-bottom: 100px;
  max-width: 780px;
}
.eyebrow{
  display: inline-block;
  color: var(--sky-300);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero h1{
  color: #fff;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 600;
  margin-bottom: 22px;
}
.hero-lead{
  color: rgba(255,255,255,0.82);
  font-size: 1.15rem;
  line-height: 1.7;
  max-width: 620px;
  margin-bottom: 36px;
}
.hero-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ---------- Sections ---------- */
.section{ padding: 110px 0; }
.section-alt{ background: linear-gradient(180deg, #fff, var(--sky-100)); }
.section-title{
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  font-weight: 600;
  color: var(--navy-900);
  max-width: 640px;
}
.section-lead{
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 640px;
  margin-top: 16px;
  margin-bottom: 56px;
}

/* ---------- Feature grid ---------- */
.feature-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-card{
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.feature-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.feature-icon{
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--sky-100), var(--sky-300));
  color: var(--navy-800);
  margin-bottom: 20px;
}
.feature-icon svg{ width: 26px; height: 26px; }
.feature-card h3{
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--navy-900);
}
.feature-card p{
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.6;
}

/* ---------- Gallery ---------- */
.gallery{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 240px);
  grid-template-areas:
    "bottle1 tree   invit1 bottle2"
    "bottle1 pencil invit2 bottle2";
  gap: 20px;
}
.gi-bottle1{ grid-area: bottle1; }
.gi-tree{ grid-area: tree; }
.gi-invit1{ grid-area: invit1; }
.gi-pencil{ grid-area: pencil; }
.gi-invit2{ grid-area: invit2; }
.gi-bottle2{ grid-area: bottle2; }
.gallery-item{
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.gallery-item img{
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img{ transform: scale(1.07); }
.gallery-item figcaption{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 20px 18px 16px;
  background: linear-gradient(0deg, rgba(11,27,50,0.85), rgba(11,27,50,0));
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}

/* ---------- Steps ---------- */
.steps{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.step{
  position: relative;
  padding: 30px 24px 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid rgba(11,27,50,0.08);
}
.step-number{
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--wood-500);
  margin-bottom: 14px;
}
.step h3{ font-size: 1.1rem; margin-bottom: 8px; color: var(--navy-900); }
.step p{ color: var(--ink-soft); font-size: 0.95rem; line-height: 1.6; }

/* ---------- Contact ---------- */
.contact{
  background: radial-gradient(circle at 30% 20%, var(--navy-700), var(--navy-900) 65%);
  border-radius: 32px;
  margin: 0 24px 80px;
  max-width: 1112px;
  margin-inline: auto;
  padding: 90px 24px;
}
.contact-inner{ text-align: center; display: flex; flex-direction: column; align-items: center; }
.contact .section-title{ color: #fff; max-width: 620px; }
.contact .section-lead{ color: rgba(255,255,255,0.78); margin-left: auto; margin-right: auto; }

/* ---------- Footer ---------- */
.site-footer{
  background: var(--navy-900);
  padding: 48px 0 32px;
  text-align: center;
}
.footer-inner{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.brand-footer{ margin-bottom: 4px; }
.footer-tagline{ color: var(--sky-300); font-size: 0.95rem; font-weight: 600; }
.footer-copy{ color: rgba(255,255,255,0.45); font-size: 0.85rem; margin-top: 10px; }

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

/* ---------- Responsive ---------- */
@media (max-width: 960px){
  .feature-grid{ grid-template-columns: repeat(2, 1fr); }
  .steps{ grid-template-columns: repeat(2, 1fr); }
  .gallery{
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 200px);
    grid-template-areas:
      "bottle1 tree"
      "bottle1 invit1"
      "pencil  bottle2"
      "invit2  bottle2";
  }
}

@media (max-width: 760px){
  .nav{
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--navy-900);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 28px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 90;
  }
  .nav.open{ transform: translateX(0); }
  .nav a{ font-size: 1.1rem; }
  .nav-cta{ display: none; }
  .burger{ display: flex; }

  .hero-inner{ padding-top: 120px; padding-bottom: 70px; }
  .section{ padding: 72px 0; }
  .feature-grid{ grid-template-columns: 1fr; }
  .steps{ grid-template-columns: 1fr; }
  .gallery{
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-template-areas: none;
  }
  .gallery-item{ grid-area: auto; aspect-ratio: 1 / 1; }
  .contact{ margin: 0 16px 60px; padding: 64px 20px; border-radius: 24px; }
}
