:root {
  --brand: #0f7c8c;
  --brand-2: #f28c28;
  --ink: #1b2430;
  --muted: #5d6b7a;
  --bg: #fbfaf8;
  --card: #ffffff;
  --line: #e9e4dd;
  --rose: #c98a7a;
  --radius: 22px;
  --shadow: 0 20px 50px -20px rgba(27, 36, 48, 0.25);
  font-family: 'Be Vietnam Pro', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 5vw, 4rem); font-weight: 800; }
h1 em { font-style: normal; background: linear-gradient(90deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { width: min(1180px, 100% - 40px); margin: 0 auto; }
.narrow { width: min(820px, 100% - 40px); }
.muted { color: var(--muted); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 40em; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 0.4em; border-radius: 999px; font-weight: 600; padding: 0.8em 1.4em; transition: transform 0.15s, box-shadow 0.2s, background 0.2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, var(--brand), #13a3a0); color: #fff; box-shadow: 0 10px 25px -10px rgba(15, 124, 140, 0.7); }
.btn-primary:hover { box-shadow: 0 16px 30px -12px rgba(15, 124, 140, 0.8); }
.btn-ghost { background: #fff; border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-light { background: #fff; color: var(--brand); }
.btn-sm { padding: 0.55em 1.1em; font-size: 0.92rem; }
.btn-lg { padding: 0.95em 1.7em; font-size: 1.05rem; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(180%) blur(14px); background: rgba(251, 250, 248, 0.8); border-bottom: 1px solid transparent; transition: border-color 0.2s; }
.nav.scrolled { border-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.4rem; letter-spacing: -0.03em; color: var(--ink); }
.logo b { color: var(--brand-2); font-weight: inherit; }
.links { display: flex; gap: 26px; margin-left: auto; font-weight: 500; color: var(--muted); }
.links a:hover { color: var(--ink); }
.menu { display: none; margin-left: auto; background: none; border: 0; width: 40px; height: 40px; cursor: pointer; }
.menu span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px auto; transition: transform 0.2s; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 70px 0 90px; }
.glow { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.45; pointer-events: none; }
.g1 { width: 520px; height: 520px; background: #9fe3dd; top: -180px; left: -120px; }
.g2 { width: 480px; height: 480px; background: #ffd2a8; bottom: -220px; right: -80px; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 50px; align-items: center; }
.pill { display: inline-block; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 0.88rem; font-weight: 500; margin-bottom: 22px; box-shadow: 0 6px 20px -12px rgba(0, 0, 0, 0.2); }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
.trust { display: flex; flex-wrap: wrap; gap: 18px; list-style: none; padding: 0; margin: 0; color: var(--muted); font-size: 0.95rem; }

/* hero art */
.hero-art { position: relative; height: 480px; }
.book { position: absolute; inset: 40px 30px 60px 0; display: flex; transform: perspective(1400px) rotateY(-14deg) rotateX(6deg); transform-style: preserve-3d; filter: drop-shadow(0 30px 40px rgba(27, 36, 48, 0.28)); }
.page { flex: 1; background: #fff; padding: 16px; display: grid; gap: 10px; }
.page.left { border-radius: 14px 0 0 14px; grid-template-columns: 1fr 1fr; grid-template-rows: 1.3fr 1fr; background: linear-gradient(90deg, #fff 85%, #eee); }
.page.right { border-radius: 0 14px 14px 0; grid-template-rows: 1fr auto; background: linear-gradient(90deg, #e9e9e9, #fff 14%); }
.ph { border-radius: 8px; background-size: cover; }
.p1 { grid-column: span 2; background: linear-gradient(160deg, #6ec6ca 0%, #3b8ea5 40%, #f6c28b 100%); position: relative; }
.p1::after { content: ''; position: absolute; left: 12%; right: 12%; bottom: 18%; height: 30%; background: radial-gradient(ellipse at 50% 100%, #2c5f6f 0 60%, transparent 61%); opacity: 0.6; }
.p2 { background: linear-gradient(200deg, #f7d6c5, #e9967a); }
.p3 { background: linear-gradient(140deg, #cfe8c9, #6fa37a); }
.p4 { background: linear-gradient(180deg, #ffe0b5 0%, #f5a365 45%, #7a4f7e 100%); position: relative; }
.p4::after { content: ''; position: absolute; width: 26%; aspect-ratio: 1; border-radius: 50%; background: #fff3c4; top: 22%; left: 37%; box-shadow: 0 0 40px 10px rgba(255, 240, 190, 0.7); }
.caption { font-family: 'Great Vibes', cursive; font-size: 1.6rem; text-align: center; color: #6d4c41; }
.card-invite { position: absolute; right: -6px; top: 0; width: 180px; background: #fbf7f2; border-radius: 12px; padding: 14px; text-align: center; box-shadow: var(--shadow); border: 1px solid #efe4d8; }
.ci-photo { height: 110px; border-radius: 8px; background: linear-gradient(150deg, #f3d3c8, #c98a7a 60%, #8d6e63); margin-bottom: 8px; }
.ci-script { font-family: 'Great Vibes', cursive; font-size: 1.7rem; color: #6d4c41; line-height: 1.1; }
.ci-line { font-size: 0.72rem; font-weight: 600; color: #5d4037; }
.ci-small { font-size: 0.62rem; font-style: italic; color: #8d6e63; }
.cal { position: absolute; left: 10px; bottom: 0; width: 170px; background: #fff; border-radius: 12px; padding: 10px; box-shadow: var(--shadow); }
.cal-photo { height: 70px; border-radius: 6px; background: linear-gradient(135deg, #a8d5e2, #5b8fb9); }
.cal-title { font-weight: 700; font-size: 0.8rem; color: #c62828; margin: 6px 0 4px; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal-grid i { height: 8px; border-radius: 2px; background: #eceff1; }
.cal-grid i:nth-child(7n) { background: #ffcdd2; }
.float { animation: float 6s ease-in-out infinite; }
.float-slow { animation: float 8s ease-in-out infinite reverse; }
@keyframes float { 50% { transform: translateY(-12px); } }

/* sections */
.section { padding: 100px 0; }
.head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.head p { color: var(--muted); font-size: 1.08rem; }
.eyebrow { display: inline-block; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }

/* products */
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.product { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 22px; transition: transform 0.2s, box-shadow 0.2s; display: flex; flex-direction: column; }
.product:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product p { color: var(--muted); font-size: 0.95rem; flex: 1; }
.more { font-weight: 600; color: var(--brand); }
.thumb { height: 170px; border-radius: 16px; margin-bottom: 18px; display: grid; place-items: center; overflow: hidden; }
.t-book { background: linear-gradient(135deg, #d9f1ef, #b7e0e4); }
.t-wedding { background: linear-gradient(135deg, #fbe9e2, #f3cfc3); }
.t-cal { background: linear-gradient(135deg, #fff1dc, #ffd9a8); }
.t-print { background: linear-gradient(135deg, #e8e6f7, #cfcaf0); }
.mini-book { display: flex; width: 70%; height: 62%; transform: perspective(600px) rotateX(18deg); box-shadow: 0 16px 24px -12px rgba(0, 0, 0, 0.3); }
.mini-book span { flex: 1; background: #fff; }
.mini-book span:first-child { border-radius: 8px 0 0 8px; background: linear-gradient(135deg, #6ec6ca, #3b8ea5); border: 8px solid #fff; }
.mini-book span:last-child { border-radius: 0 8px 8px 0; background: linear-gradient(180deg, #ffe0b5, #f5a365); border: 8px solid #fff; }
.mini-card { width: 46%; height: 78%; background: #fbf7f2; border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding-bottom: 14%; box-shadow: 0 16px 24px -12px rgba(0, 0, 0, 0.3); background-image: linear-gradient(#e7b8aa, #c98a7a); background-size: 76% 44%; background-repeat: no-repeat; background-position: 50% 14%; }
.mini-card b { font-family: 'Great Vibes', cursive; font-weight: 400; font-size: 1.5rem; color: #6d4c41; }
.mini-card small { font-size: 0.6rem; color: #8d6e63; }
.mini-cal { width: 48%; height: 80%; background: #fff; border-radius: 8px; padding: 7%; display: grid; grid-template-rows: 1fr 0.9fr; gap: 8%; box-shadow: 0 16px 24px -12px rgba(0, 0, 0, 0.3); }
.mini-cal span { border-radius: 5px; background: linear-gradient(135deg, #a8d5e2, #5b8fb9); }
.mini-cal i { background: repeating-linear-gradient(90deg, #eceff1 0 12%, transparent 12% 14.3%), repeating-linear-gradient(0deg, #fff 0 3px, transparent 3px 14px); border-radius: 3px; }
.mini-prints { position: relative; width: 60%; height: 70%; }
.mini-prints span { position: absolute; inset: 0; background: #fff; padding: 7px 7px 22px; border-radius: 4px; box-shadow: 0 12px 20px -10px rgba(0, 0, 0, 0.35); }
.mini-prints span::after { content: ''; display: block; height: 100%; border-radius: 2px; background: linear-gradient(135deg, #f7d6c5, #e9967a); }
.mini-prints span:nth-child(1) { transform: rotate(-12deg) translateX(-18%); }
.mini-prints span:nth-child(1)::after { background: linear-gradient(135deg, #cfe8c9, #6fa37a); }
.mini-prints span:nth-child(2) { transform: rotate(8deg) translateX(16%); }
.mini-prints span:nth-child(2)::after { background: linear-gradient(135deg, #a8d5e2, #5b8fb9); }

/* wedding */
.wedding { background: linear-gradient(180deg, #fbf3ee, #f7ece5); }
.wedding-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 70px; align-items: center; }
.phone { justify-self: center; width: 290px; height: 590px; border-radius: 44px; background: #1b1b1f; padding: 12px; box-shadow: 0 40px 80px -30px rgba(80, 40, 30, 0.5); position: relative; }
.notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 90px; height: 24px; border-radius: 20px; background: #000; z-index: 2; }
.screen { height: 100%; border-radius: 34px; background: radial-gradient(circle at 50% 30%, #fffaf3, #f3e6d8); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px 20px; text-align: center; color: #5d4037; }
.w-script { font-family: 'Great Vibes', cursive; font-size: 2.3rem; line-height: 1.1; color: #6d4c41; }
.w-script.sm { font-size: 1.4rem; }
.w-script span { font-size: 1.6rem; }
.w-date { letter-spacing: 0.3em; font-size: 0.85rem; margin: 8px 0 14px; }
.w-guest { font-size: 0.95rem; margin-bottom: 16px; }
.w-count { display: flex; gap: 8px; margin-bottom: 16px; }
.w-count div { background: #fff; border-radius: 10px; padding: 6px 10px; font-size: 0.65rem; display: flex; flex-direction: column; box-shadow: 0 4px 10px -6px rgba(0, 0, 0, 0.2); }
.w-count b { font-size: 1.1rem; }
.w-btns { display: flex; gap: 8px; margin-bottom: 14px; font-size: 0.72rem; }
.w-btns span { background: #8d6e63; color: #fff; padding: 6px 10px; border-radius: 6px; }
.w-btns .o { background: transparent; border: 1px solid #8d6e63; color: #8d6e63; }
.w-rsvp { display: flex; border: 1px solid #c9b3a8; border-radius: 8px; overflow: hidden; font-size: 0.68rem; }
.w-rsvp span { padding: 6px 8px; }
.w-rsvp .on { background: #8d6e63; color: #fff; }
.checks { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; color: #4a3a33; }
.checks li::before { content: '✓'; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: #8d6e63; color: #fff; font-size: 0.75rem; display: grid; place-items: center; }
.compare { display: flex; align-items: center; gap: 16px; margin: 0 0 28px; flex-wrap: wrap; }
.compare > div { background: #fff; border-radius: 16px; padding: 14px 18px; display: flex; flex-direction: column; min-width: 190px; border: 1px solid #efe1d8; }
.compare small { color: var(--muted); }
.compare b { font-size: 1.4rem; }
.compare span { font-size: 0.85rem; color: var(--muted); }
.compare .good { border-color: #8d6e63; box-shadow: 0 10px 25px -15px rgba(141, 110, 99, 0.8); }
.compare .good b { color: #8d6e63; }
.compare .vs { background: none; border: 0; min-width: 0; padding: 0; font-weight: 700; color: var(--muted); }

/* features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.feature .ic { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem; background: linear-gradient(135deg, #e3f5f3, #fff1e2); margin-bottom: 16px; }
.feature p { color: var(--muted); margin: 0; }

/* steps */
.steps-wrap { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; counter-reset: s; }
.steps li { position: relative; padding: 30px; border-radius: var(--radius); background: var(--bg); }
.steps li span { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-weight: 800; margin-bottom: 14px; }
.steps p { color: var(--muted); margin: 0; }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: stretch; }
.plan { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; display: flex; flex-direction: column; }
.plan ul { list-style: none; padding: 0; margin: 14px 0 24px; flex: 1; display: grid; gap: 8px; color: var(--muted); font-size: 0.95rem; }
.plan li::before { content: '•'; color: var(--brand); margin-right: 8px; }
.price { font-size: 2rem; font-weight: 800; }
.plan .btn { justify-content: center; }
.plan.featured { border: 2px solid var(--brand); box-shadow: var(--shadow); transform: translateY(-8px); }
.badge { position: absolute; top: -12px; left: 24px; background: var(--brand-2); color: #fff; font-size: 0.75rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }

/* faq */
details { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px 22px; margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; font-size: 1.4rem; line-height: 1; color: var(--brand); transition: transform 0.2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--muted); margin: 12px 0 0; }

/* final cta */
.final { padding: 30px 0 100px; }
.final-inner { text-align: center; color: #fff; border-radius: 32px; padding: 70px 30px; background: linear-gradient(135deg, var(--brand) 0%, #13a3a0 50%, var(--brand-2) 130%); box-shadow: var(--shadow); }
.final-inner p { opacity: 0.9; font-size: 1.1rem; margin-bottom: 28px; }

/* footer */
.footer { border-top: 1px solid var(--line); padding: 50px 0 30px; background: #fff; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 30px; }
.footer h4 { margin: 0 0 12px; font-size: 0.95rem; }
.footer a:not(.logo) { display: block; color: var(--muted); margin-bottom: 6px; }
.footer a:hover { color: var(--brand); }
.copy { margin-top: 30px; font-size: 0.88rem; }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float, .float-slow { animation: none; }
  html { scroll-behavior: auto; }
}

/* responsive */
@media (max-width: 1024px) {
  .products, .plans { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .plan.featured { transform: none; }
}
@media (max-width: 860px) {
  .links { position: fixed; inset: 68px 0 auto 0; flex-direction: column; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 16px; transform: translateY(-120%); transition: transform 0.25s; margin: 0; }
  .links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav.open .links { transform: none; }
  .menu { display: block; }
  .nav-inner > .btn { display: none; }
  .nav.open .menu span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .nav.open .menu span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .hero { padding-top: 40px; }
  .hero-grid, .wedding-grid { grid-template-columns: 1fr; }
  .hero-art { height: 380px; }
  .steps { grid-template-columns: 1fr; }
  .section { padding: 70px 0; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid > div:first-child { grid-column: span 2; }
}
@media (max-width: 560px) {
  .products, .plans, .features { grid-template-columns: 1fr; }
  .cta .btn { width: 100%; justify-content: center; }
  .pill .long { display: none; }
  .hero-art { height: 320px; }
  .card-invite { width: 140px; }
  .ci-photo { height: 80px; }
  .cal { width: 130px; }
  .compare > div { min-width: 0; flex: 1; }
  .compare .vs { flex: 0; }
}
