:root {
  --cream: #fff1f6;
  --paper: #fffafa;
  --terracotta: #c74473;
  --terracotta-dark: #9f2f59;
  --sage: #8f4162;
  --sage-light: #f8dce8;
  --ink: #2c1821;
  --muted: #7a6470;
  --line: #efd0dc;
  --white: #fff;
  --shadow: 0 18px 55px rgba(128, 48, 83, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "DM Sans", sans-serif; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.hero { min-height: 720px; background: var(--cream); overflow: hidden; position: relative; }
.hero::after { content: ""; position: absolute; right: -110px; top: 110px; width: 300px; height: 300px; border: 1px solid rgba(199,68,115,.16); border-radius: 50%; }
.nav { height: 90px; display: flex; align-items: center; justify-content: space-between; position: relative; z-index: 2; border-bottom: 1px solid rgba(199,68,115,.14); }
.brand { color: var(--terracotta); text-decoration: none; font: 32px "DM Serif Display", serif; letter-spacing: 2px; }
.nav-link { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 14px; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
.hero-content { min-height: 630px; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 80px; position: relative; z-index: 1; }
.eyebrow { color: var(--terracotta); text-transform: uppercase; letter-spacing: .22em; font-size: 12px; font-weight: 700; margin: 0 0 18px; }
h1, h2 { font-family: "DM Serif Display", serif; font-weight: 400; margin: 0; line-height: .98; }
h1 { font-size: clamp(64px, 7vw, 100px); letter-spacing: -.035em; }
h1 em { color: var(--terracotta); font-weight: 400; }
.intro { color: var(--muted); max-width: 510px; line-height: 1.75; font-size: 17px; margin: 30px 0 34px; }
.event-info { display: inline-flex; max-width: 560px; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; margin: 24px 0 0; background: rgba(255,255,255,.72); font-weight: 700; line-height: 1.4; }
.button { border: 0; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 18px; border-radius: 999px; padding: 16px 24px; font-weight: 700; text-decoration: none; transition: transform .2s, background .2s, opacity .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: var(--white); background: var(--terracotta); }
.button-primary:hover { background: var(--terracotta-dark); }
.hero-art { position: relative; display: grid; place-items: center; justify-self: center; width: 430px; max-width: 100%; }
.hero-art .arch { width: 340px; height: 430px; background: var(--sage); border-radius: 180px 180px 20px 20px; position: relative; overflow: hidden; box-shadow: 22px 22px 0 rgba(199,68,115,.13); }
.sun { position: absolute; width: 120px; height: 120px; background: #ffd2e3; border-radius: 50%; right: -18px; top: -20px; }
.pot { position: absolute; width: 190px; height: 124px; background: var(--cream); border-radius: 7px 7px 75px 75px; left: 75px; bottom: 75px; box-shadow: inset 0 -12px rgba(128,48,83,.06); }
.pot-lid { position: absolute; background: var(--cream); width: 150px; height: 18px; border-radius: 50%; left: 20px; top: -12px; border-bottom: 4px solid #e7b8cb; }
.pot-lid::after { content: ""; position: absolute; width: 42px; height: 18px; background: var(--cream); border-radius: 20px 20px 0 0; left: 54px; top: -13px; }
.pot-handle { position: absolute; width: 48px; height: 30px; border: 10px solid var(--cream); top: 18px; }
.pot-handle.left { left: -35px; border-radius: 20px 0 0 20px; }
.pot-handle.right { right: -35px; border-radius: 0 20px 20px 0; }
.steam { color: var(--cream); position: absolute; top: 80px; font: 80px "DM Serif Display"; transform: rotate(90deg); opacity: .88; }
.steam-one { left: 90px; } .steam-two { left: 165px; top: 100px; }
.leaf { position: absolute; width: 45px; height: 90px; background: #efadc8; border-radius: 100% 0 100% 0; transform: rotate(20deg); }
.leaf-one { right: 25px; bottom: 30px; } .leaf-two { right: 55px; bottom: 5px; transform: rotate(-35deg); } .leaf-three { left: 24px; top: 150px; transform: rotate(-55deg); }
.hero-art > p { margin: 24px 0 0; text-align: center; color: var(--muted); line-height: 1.5; }
.hero-art > p strong { color: var(--ink); font: 25px "DM Serif Display"; }
.how { padding-block: 100px; display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: start; }
h2 { font-size: clamp(42px, 5vw, 64px); }
.steps { padding: 0; margin: 0; list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.steps li { border-top: 1px solid var(--line); padding-top: 20px; }
.steps span { color: var(--terracotta); font: 24px "DM Serif Display"; }
.steps p { color: var(--muted); line-height: 1.6; font-size: 14px; }
.gifts-section { background: #ffe8f1; padding-block: 100px 120px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; }
.section-heading > p { max-width: 420px; color: var(--muted); line-height: 1.7; margin: 0; }
.gift-note { display: inline-flex; color: var(--ink); background: rgba(255,255,255,.62); border: 1px solid var(--line); border-radius: 999px; padding: 10px 16px; margin: 26px 0 0; font-weight: 700; }
.gift-tools { margin: 46px 0 18px; }
.search-label { display: block; color: var(--ink); font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.search-input { max-width: 520px; border-radius: 999px; padding: 16px 20px; box-shadow: 0 10px 30px rgba(128,48,83,.06); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 20px; }
.filter { border: 1px solid #e7b8cb; color: var(--ink); background: rgba(255,255,255,.45); border-radius: 999px; padding: 10px 18px; cursor: pointer; transition: .2s; }
.filter:hover, .filter.active { color: var(--white); background: var(--ink); border-color: var(--ink); }
.status-line { min-height: 24px; color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.gift-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gift-card { background: var(--paper); border: 1px solid transparent; border-radius: 18px; padding: 25px; min-height: 255px; display: flex; flex-direction: column; box-shadow: 0 5px 20px rgba(128,48,83,.05); transition: transform .25s, box-shadow .25s; }
.gift-card:not(.reserved):hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.gift-card.reserved { opacity: .62; background: rgba(255,250,250,.68); }
.gift-card.custom-option { border: 1px dashed #c74473; background: #fff5f9; }
.gift-top { display: flex; justify-content: space-between; align-items: start; }
.gift-icon { width: 68px; height: 68px; border-radius: 50%; background: var(--sage-light); display: grid; place-items: center; font-size: 34px; }
.badge { font-size: 11px; text-transform: uppercase; letter-spacing: .12em; font-weight: 700; color: var(--sage); background: var(--sage-light); border-radius: 999px; padding: 7px 10px; }
.reserved .badge { color: #8f5d72; background: #f3d7e3; }
.gift-card h3 { font: 27px "DM Serif Display"; margin: 24px 0 6px; }
.gift-category { color: var(--muted); margin: 0; font-size: 13px; }
.gift-action { margin-top: auto; padding-top: 20px; }
.choose-button { border: 0; background: none; padding: 0 0 4px; border-bottom: 1px solid currentColor; color: var(--terracotta); font-weight: 700; cursor: pointer; }
.choose-button:disabled { color: var(--muted); cursor: not-allowed; }
.empty { grid-column: 1 / -1; padding: 50px; text-align: center; color: var(--muted); }
footer { padding-block: 48px; background: var(--ink); color: #fff1f6; }
.footer-content { display: flex; align-items: center; justify-content: space-between; }
.footer-content p { margin: 0; }
.footer-mark { font: 28px "DM Serif Display"; letter-spacing: 4px; }
.footer-mark span { color: var(--terracotta); }
dialog { width: min(500px, calc(100% - 30px)); border: 0; border-radius: 22px; padding: 45px; color: var(--ink); background: var(--paper); box-shadow: var(--shadow); }
dialog::backdrop { background: rgba(36,39,33,.68); backdrop-filter: blur(4px); }
.dialog-close { position: absolute; right: 18px; top: 14px; border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 30px; }
.dialog-icon { width: 74px; height: 74px; display: grid; place-items: center; font-size: 38px; border-radius: 50%; background: var(--sage-light); margin-bottom: 25px; }
dialog h2 { font-size: 44px; }
.dialog-copy { color: var(--muted); line-height: 1.65; margin: 18px 0 26px; }
label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; }
input { width: 100%; border: 1px solid var(--line); border-radius: 10px; background: var(--white); padding: 15px; outline: 0; }
input:focus { border-color: var(--terracotta); box-shadow: 0 0 0 3px rgba(199,68,115,.14); }
.custom-gift-field { margin-bottom: 18px; }
.form-error { color: #a43f32; min-height: 20px; font-size: 13px; margin: 8px 0; }
.submit-button { width: 100%; }
.submit-button:disabled { opacity: .65; cursor: wait; transform: none; }
.toast { position: fixed; z-index: 20; bottom: 24px; left: 50%; transform: translate(-50%, 30px); background: var(--ink); color: white; padding: 14px 22px; border-radius: 999px; opacity: 0; pointer-events: none; transition: .25s; box-shadow: var(--shadow); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 850px) {
  .hero-content { grid-template-columns: 1fr; padding: 70px 0 90px; }
  .hero { min-height: auto; }
  .hero-art { display: none; }
  .how { grid-template-columns: 1fr; }
  .gift-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 580px) {
  .shell { width: min(100% - 28px, 1120px); }
  .nav { height: 74px; }
  .hero-content { min-height: 600px; }
  h1 { font-size: 58px; }
  .how, .gifts-section { padding-block: 70px; }
  .steps { grid-template-columns: 1fr; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 24px; }
  .gift-grid { grid-template-columns: 1fr; }
  .gift-card { min-height: 230px; }
  .footer-content { display: block; text-align: center; }
  .footer-content > p + p { margin-top: 15px; }
  dialog { padding: 35px 24px 28px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
