/* ============================================================
   Pressed with Grace — earthy botanical design system
   ============================================================ */
:root {
  /* Pressed with Grace brand: blush pink + dusty rose + navy/charcoal */
  --terra:      #A96B78;   /* dusty rose — primary accent (buttons, links, script) */
  --terra-deep: #8E5563;
  --olive:      #353C4C;   /* navy/slate — secondary/dark (ghost btns, band, footer) */
  --olive-deep: #2A303D;
  --taupe:      #B7A9AC;
  --taupe-soft: #EFE6E8;
  --cream:      #FCF8F8;   /* page background — whisper of blush */
  --paper:      #FFFFFF;
  --ink:        #2C2A2A;   /* charcoal headings/text */
  --ink-soft:   #7C7A7A;
  --line:       #EBDEE1;
  /* blush + rose accents */
  --blush:      #EECFD6;   /* blush accent surface */
  --blush-soft: #FBEEF1;
  --rose:       #CE9AA6;   /* dusty rose */
  --gold:       #CE9AA6;   /* repurposed to rose (former gold accents) */
  --butter:     #EFDCE1;
  --butter-soft:#FBEEF1;
  --lavender:   #CE9AA6;   /* repurposed to rose (no purple) */
  --laven-soft: #F7E7EA;
  --sage-soft:  #F1E7EA;
  --shadow:     0 14px 34px rgba(53, 60, 76, .12);
  --radius:     10px;
  --radius-sm:  6px;
  --font-head:  "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body:  "Karla", system-ui, -apple-system, sans-serif;
  --font-script:"Pinyon Script", "Parisienne", cursive;
  --maxw:       1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background-color: var(--cream); line-height: 1.7; -webkit-font-smoothing: antialiased; }
/* Floral backdrop as a viewport-fixed layer (avoids the mobile background-attachment:fixed zoom/blur bug) */
body::before { content: ""; position: fixed; inset: 0; z-index: -1; background: var(--cream) url('../assets/bg-floral.jpg') center center / cover no-repeat; }
img { max-width: 100%; display: block; }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.16; font-weight: 600; margin: 0 0 .5em; letter-spacing: 0; }
h1 { font-size: clamp(2.7rem, 5.4vw, 4.2rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); font-weight: 500; }
h3 { font-size: 1.5rem; }

/* Elegant calligraphy accent — echoes the logo */
.script-accent { font-family: var(--font-script); font-weight: 400; font-style: normal; color: var(--terra); line-height: 1; display: block; }
p  { margin: 0 0 1.1em; }

a { color: var(--terra-deep); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--olive-deep); }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
section { padding: 84px 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-body); text-transform: uppercase; letter-spacing: .32em; font-size: .78rem; font-weight: 600; color: var(--terra); margin-bottom: 18px; }
.eyebrow::before { content: ""; flex: none; width: 26px; height: 1px; background: currentColor; opacity: .55; }
.center .eyebrow::after { content: ""; flex: none; width: 26px; height: 1px; background: currentColor; opacity: .55; }
.lead { font-size: 1.18rem; color: var(--ink-soft); }
.section-head { max-width: 640px; margin: 0 auto 48px; text-align: center; }
.center { text-align: center; }
.alt { background: linear-gradient(180deg, var(--blush-soft), var(--butter-soft)); }
.alt-laven { background: linear-gradient(180deg, var(--laven-soft), var(--cream)); }
.alt-sage { background: linear-gradient(180deg, var(--sage-soft), var(--cream)); }
/* soft floral divider between stacked sections */
.petal-rule { text-align: center; color: var(--blush); font-size: 1.2rem; letter-spacing: .5em; padding: 6px 0 0; }

/* Buttons */
.btn { display: inline-block; padding: 13px 30px; border-radius: 999px; font-family: var(--font-body); font-weight: 700; font-size: .96rem; letter-spacing: .02em; cursor: pointer; border: 1.5px solid transparent; transition: background .2s ease, color .2s ease, border-color .2s ease, transform .12s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--terra); color: #fff; box-shadow: 0 6px 18px rgba(192, 107, 79, .28); }
.btn-primary:hover { background: var(--terra-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--olive-deep); border-color: var(--olive); }
.btn-ghost:hover { background: var(--olive); color: #fff; }
.btn-blush { background: var(--blush); color: #fff; box-shadow: 0 6px 18px rgba(217, 138, 136, .3); }
.btn-blush:hover { background: var(--rose); color: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(252, 247, 242, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); box-shadow: 0 2px 0 rgba(201, 162, 75, .18); }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 0 24px; max-width: var(--maxw); margin: 0 auto; }
.brand { align-self: stretch; }
.brand { display: inline-flex; align-items: center; gap: 9px; }
.brand.brand-stack { flex-direction: column; align-items: flex-start; gap: 3px; }
.brand .brand-logo-full { height: 96px; width: auto; display: block; }
.brand-tagline-sm { font-family: var(--font-body); text-transform: uppercase; letter-spacing: .22em; font-size: .56rem; color: var(--terra); }
.brand-tagline { font-family: var(--font-body); text-transform: uppercase; letter-spacing: .24em; font-size: .7rem; color: #d8c6ca; margin: 8px 0 10px; }
@media (max-width: 560px) { .brand-tagline-sm { display: none; } }
.footer-brand .brand-logo { width: 230px; height: auto; display: block; margin-bottom: 10px; }
@media (max-width: 640px) {
  .nav { padding: 0 18px; }
  .brand .brand-logo-full { height: 104px; }
}
.brand-text { font-family: var(--font-head); font-size: 1.32rem; font-weight: 500; color: var(--ink); letter-spacing: .01em; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-size: .96rem; color: var(--ink); font-weight: 500; }
.nav-links a:hover, .nav-links a.active { color: var(--terra); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* Hero — full-bleed banner */
.hero { position: relative; padding: 0; min-height: 82vh; display: flex; align-items: center; overflow: hidden; background-color: var(--taupe-soft); }
.hero .hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(255,250,252,.98) 0%, rgba(255,249,251,.95) 40%, rgba(253,244,248,.8) 58%, rgba(244,231,242,.4) 82%, rgba(237,227,243,.16) 100%); }
.hero .container { position: relative; z-index: 2; }
.hero-copy h1, .hero-copy .lead, .hero-copy .eyebrow { text-shadow: 0 1px 12px rgba(255,251,250,.8); }
.hero-copy { max-width: 620px; padding: 90px 0; }
.hero-copy h1 { margin-bottom: .3em; }
.hero-copy .script { display: block; font-family: var(--font-script); font-style: normal; font-weight: 400; color: var(--terra); font-size: .82em; line-height: 1; margin-bottom: .08em; }
.hero-copy p.lead { margin-bottom: 30px; max-width: 44ch; color: #453f38; font-weight: 500; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Page hero (interior) */
.page-hero { text-align: center; padding: 78px 0 44px; background: linear-gradient(160deg, var(--blush-soft) 0%, var(--butter-soft) 55%, var(--cream) 100%); }
.page-hero p { max-width: 56ch; margin-left: auto; margin-right: auto; color: var(--ink-soft); font-size: 1.12rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.step { text-align: center; padding: 8px; }
.step .num { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 20px; background: var(--paper); border: 1px solid var(--gold); color: var(--terra-deep); font-family: var(--font-script); font-size: 1.9rem; box-shadow: 0 0 0 6px rgba(201,162,75,.1); }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--ink-soft); margin: 0; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gallery figure { margin: 0; background: var(--paper); padding: 12px 12px 6px; border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: var(--radius-sm); border-top: 1px solid var(--gold); transition: transform .2s ease, box-shadow .2s ease; }
.gallery figure:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(90,74,55,.18); }
.gallery figure > img { width: 100%; height: auto; display: block; border-radius: 3px; }
.gallery figcaption { text-align: center; font-family: var(--font-head); font-style: italic; color: var(--rose); font-size: .98rem; padding: 12px 4px 6px; }

/* Before/after swap: bouquet by default, pressed keepsake on hover/tap */
.swap { position: relative; aspect-ratio: 4 / 5; border-radius: 3px; overflow: hidden; cursor: pointer; }
.swap img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity .55s ease, transform .55s ease; }
.swap .after { opacity: 0; transform: scale(1.04); }
.gallery figure:hover .swap .after, .gallery figure.show-after .swap .after { opacity: 1; transform: none; }
.gallery figure:hover .swap .before, .gallery figure.show-after .swap .before { opacity: 0; }
.swap .tag { position: absolute; top: 11px; left: 11px; z-index: 2; background: rgba(255,255,255,.92); font-family: var(--font-body); font-weight: 700; font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; box-shadow: 0 2px 8px rgba(0,0,0,.1); transition: opacity .4s ease; }
.swap .before-tag { color: var(--rose); }
.swap .after-tag { color: var(--olive-deep); opacity: 0; }
.gallery figure:hover .before-tag, .gallery figure.show-after .before-tag { opacity: 0; }
.gallery figure:hover .after-tag, .gallery figure.show-after .after-tag { opacity: 1; }

/* Split (about) */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.split img { border-radius: var(--radius); box-shadow: var(--shadow); border: 8px solid #fff; outline: 2px solid var(--gold); outline-offset: -8px; }
.split .prose p { color: var(--ink-soft); }

/* Feature band */
.band { background: linear-gradient(120deg, var(--olive) 0%, var(--olive-deep) 100%); color: #fff; text-align: center; position: relative; overflow: hidden; }
.band .container { position: relative; z-index: 2; }
.band::after { content: ""; position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 54px; height: 1px; background: rgba(255,255,255,.35); }
.band h2, .band p { color: #fff; }
.band p { color: rgba(255,255,255,.9); max-width: 52ch; margin-left: auto; margin-right: auto; }
.band .btn-primary { background: #fff; color: var(--terra-deep); }
.band .btn-primary:hover { background: var(--butter); color: var(--terra-deep); }

/* Soft lilac + blush washes (floral, no brown) */
.alt-lilac { background: linear-gradient(160deg, var(--laven-soft) 0%, var(--blush-soft) 100%); }
.alt-pink  { background: linear-gradient(160deg, var(--blush-soft) 0%, var(--laven-soft) 100%); }

/* Full-width banner photo — shown clearly, only a whisper of lilac tint */
.photo-strip { position: relative; min-height: 420px; display: flex; align-items: flex-end; justify-content: center; text-align: center; overflow: hidden; background: var(--taupe-soft); }
.photo-strip .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.photo-strip::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(255,255,255,0) 55%, rgba(238,207,214,.4) 100%); }
.photo-strip .cap { position: relative; z-index: 2; margin-bottom: 30px; background: rgba(255,255,255,.9); backdrop-filter: blur(3px); padding: 10px 34px; border-radius: 999px; font-family: var(--font-script); color: var(--terra); font-size: 2rem; line-height: 1.2; box-shadow: 0 8px 24px rgba(120,90,110,.18); }
@media (max-width: 640px) { .photo-strip { min-height: 300px; } .photo-strip .cap { font-size: 1rem; } }

/* Form */
.form-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 700; font-size: .9rem; margin-bottom: 7px; color: var(--ink); }
.field input, .field textarea { width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 1rem; background: var(--paper); color: var(--ink); transition: border-color .15s ease; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--olive); }
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: .92rem; margin-top: 12px; min-height: 1.2em; }
.contact-detail { color: var(--ink-soft); }
.contact-detail strong { color: var(--ink); }

/* Footer */
/* Footer — matches the header's soft cream */
.site-footer { background: var(--cream); color: var(--ink-soft); padding: 56px 0 26px; border-top: 1px solid var(--line); box-shadow: 0 -2px 0 rgba(201,162,75,.18); }
.site-footer a { color: var(--ink); }
.site-footer a:hover { color: var(--terra); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; margin-bottom: 34px; }
.footer-brand .brand-text { color: var(--ink); }
.footer-brand p { color: var(--ink-soft); max-width: 34ch; margin-top: 12px; }
.footer-brand .brand-tagline { color: var(--terra); }
.site-footer h4 { color: var(--ink); font-family: var(--font-body); text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .85rem; color: var(--ink-soft); }
.socials { display: flex; gap: 12px; margin-top: 16px; }
.socials a { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--blush-soft); }
.socials svg { width: 17px; height: 17px; fill: var(--terra); }
.socials a:hover { background: var(--terra); }
.socials a:hover svg { fill: #fff; }

/* ---------------- Booking ---------------- */
.booking-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 40px; }
.note-card { background: var(--paper); border: 1px solid var(--line); border-top: 1px solid var(--gold); border-radius: var(--radius-sm); padding: 20px 22px; box-shadow: var(--shadow); }
.note-card h4 { font-family: var(--font-head); font-size: 1.15rem; margin: 0 0 6px; color: var(--ink); }
.note-card p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

.book-step { margin: 0 auto 40px; }
.step-kicker { display: flex; align-items: center; gap: 12px; font-family: var(--font-body); text-transform: uppercase; letter-spacing: .2em; font-size: .78rem; font-weight: 700; color: var(--terra); margin-bottom: 18px; }
.step-dot { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--gold); color: var(--terra-deep); font-family: var(--font-script); font-size: 1.3rem; display: grid; place-items: center; }
.chosen { font-size: 1.05rem; color: var(--ink); margin-bottom: 18px; }
.tag-soft { display: inline-block; background: var(--laven-soft); color: var(--olive-deep); font-size: .72rem; font-weight: 700; letter-spacing: .04em; padding: 3px 10px; border-radius: 999px; vertical-align: 2px; margin-left: 4px; }

/* Calendar */
.cal-head { display: flex; align-items: center; justify-content: center; gap: 20px; margin-bottom: 12px; }
.cal-title { font-family: var(--font-head); font-size: 1.5rem; min-width: 220px; text-align: center; }
.cal-nav { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); font-size: 1.2rem; cursor: pointer; color: var(--ink); transition: .15s; }
.cal-nav:hover:not(:disabled) { border-color: var(--gold); color: var(--terra); }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-dow { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin-bottom: 6px; }
.cal-dow span { text-align: center; font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-soft); font-weight: 700; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-cell { position: relative; aspect-ratio: 1 / 1; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); font-family: var(--font-body); font-size: 1rem; color: var(--ink); cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; transition: .12s; padding: 0; }
.cal-cell.empty { border: 0; background: transparent; cursor: default; }
.cal-cell .d { line-height: 1; }
.cal-cell .dot { width: 7px; height: 7px; border-radius: 50%; }
.dot.open { background: var(--olive); } .dot.few { background: var(--gold); } .dot.full, .dot.past { background: #d8cdbf; }
.cal-cell.open:hover, .cal-cell.few:hover { border-color: var(--terra); transform: translateY(-2px); box-shadow: var(--shadow); }
.cal-cell.full, .cal-cell.past { color: #c3b8aa; cursor: default; background: #faf6f0; }
.cal-cell.selected { border: 2px solid var(--terra); background: var(--blush-soft); color: var(--terra-deep); font-weight: 700; }
.cal-legend { display: flex; gap: 22px; justify-content: center; margin-top: 16px; font-size: .84rem; color: var(--ink-soft); }
.cal-legend .dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; margin-right: 5px; vertical-align: 0; }
@media (max-width: 560px) { .booking-notes { grid-template-columns: 1fr; } .cal-cell { font-size: .85rem; } .cal-legend { flex-wrap: wrap; gap: 12px; } }

/* Booking form */
.booking-form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.booking-form .grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
.booking-form .hint { display: block; font-size: .82rem; color: var(--ink-soft); margin-top: 4px; }
.travel-note { background: var(--laven-soft); border-radius: var(--radius-sm); padding: 12px 16px; font-size: .9rem; color: var(--ink); margin: 4px 0 4px; }
.form-subhead { font-family: var(--font-head); font-size: 1.2rem; margin: 22px 0 10px; color: var(--ink); border-top: 1px solid var(--line); padding-top: 18px; }
.form-note { min-height: 1.3em; margin-top: 12px; font-size: .95rem; text-align: center; }
.form-note.err { color: var(--terra-deep); font-weight: 700; } .form-note.ok { color: var(--olive-deep); }
.confirm-card { text-align: center; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 28px; box-shadow: var(--shadow); }

/* Product picker */
.product-picker { display: grid; gap: 16px; }
.prod-cat h5 { font-family: var(--font-body); text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; color: var(--terra); margin: 6px 0 8px; }
.prod-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.prod-info { display: flex; flex-direction: column; gap: 1px; }
.prod-name { font-weight: 600; color: var(--ink); font-size: .96rem; }
.prod-flag { font-style: normal; font-size: .62rem; text-transform: uppercase; letter-spacing: .1em; color: var(--terra); background: var(--blush-soft); padding: 2px 7px; border-radius: 999px; margin-left: 6px; vertical-align: middle; }
.prod-price { font-size: .86rem; color: var(--ink-soft); }
.stepper { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.stepper button { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--terra); font-size: 1.15rem; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.stepper button:hover { border-color: var(--terra); background: var(--blush-soft); }
.stepper .st-q { min-width: 18px; text-align: center; font-weight: 700; color: var(--ink); }
.order-summary { margin-top: 16px; background: var(--laven-soft); border-radius: var(--radius-sm); padding: 14px 16px; }
.order-summary .sum-row { display: flex; justify-content: space-between; font-size: 1.02rem; color: var(--ink); }
.order-summary .sum-split { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 8px; font-size: .84rem; color: var(--ink-soft); }
.order-summary .sum-split b { color: var(--ink); }
.order-summary .sum-note { font-size: .8rem; color: var(--ink-soft); margin: 10px 0 0; }

@media (max-width: 560px) { .booking-form .grid-2 { grid-template-columns: 1fr; } }

/* ---------------- Pricing ---------------- */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.price-item { background: var(--paper); border: 1px solid var(--line); border-top: 1px solid var(--gold); border-radius: var(--radius-sm); padding: 22px; box-shadow: var(--shadow); }
.price-item h4 { font-family: var(--font-head); font-size: 1.2rem; margin: 0 0 2px; }
.price-item .price { font-family: var(--font-head); color: var(--terra); font-size: 1.4rem; font-weight: 600; }
.price-item p { color: var(--ink-soft); font-size: .92rem; margin: 8px 0 0; }
.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pkg-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow); text-align: center; }
.pkg-card.featured { border: 2px solid var(--rose); }
.pkg-card .tier { font-family: var(--font-body); text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; font-weight: 700; color: var(--terra); margin: 0; }
.pkg-card .price { font-family: var(--font-head); font-size: 2.2rem; color: var(--ink); margin: 6px 0 14px; }
.pkg-card ul { list-style: none; padding: 0; margin: 0; color: var(--ink-soft); font-size: .96rem; }
.pkg-card li { padding: 5px 0; border-top: 1px solid var(--line); }
.pkg-card li:first-child { border-top: 0; }
.faq-item { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq-item h3 { font-size: 1.18rem; margin: 0 0 6px; }
.faq-item p { color: var(--ink-soft); margin: 0; }
@media (max-width: 760px) { .pkg-grid { grid-template-columns: 1fr; } }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Demo ribbon */
.demo-ribbon { background: var(--ink); color: #efe6da; text-align: center; font-size: .74rem; letter-spacing: .22em; text-transform: uppercase; padding: 8px 12px; }

/* Responsive */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { min-height: 42vh; order: -1; }
  .steps { grid-template-columns: 1fr; gap: 22px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .split, .form-wrap { grid-template-columns: 1fr; gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  section { padding: 60px 0; }
  /* backdrop-filter on the header makes it the containing block for fixed
     children, which would trap the menu inside the header bar. Drop it on
     mobile so the menu overlay fills the whole viewport. */
  .site-header { background: #fff; backdrop-filter: none; }
  .nav-links { position: fixed; inset: 0; width: 100vw; height: 100vh; max-width: none; background: #fff; flex-direction: column; align-items: center; justify-content: center; gap: 30px; padding: 40px; transform: translateX(100%); transition: transform .25s ease; font-size: 1.35rem; z-index: 55; }
  .nav-links.open { transform: none; }
  .nav-toggle { display: block; z-index: 60; }
  .gallery { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr; }
}
