/* Phoolwari Decor: off-white, blush pink, fresh leaf green and a touch of marigold. Fraunces (soft, with italics) for
   headings, Outfit for text. Change the colours and fonts here; base.css reads these variables. */
:root {
  --bg: #FDFAF4;
  --surface: #FFFFFF;
  --soft: #FBEAEA;
  --leaf-soft: #E8F1E4;
  --ink: #1F2A22;
  --muted: #56604F;
  --line: #EFE4DA;
  --line-strong: #DCCABD;
  --brand: #2F6B47;
  --brand-hover: #24563A;
  --brand-ink: #FFFFFF;
  --brand-text: #2F6B47;
  --blush: #F4C6CB;
  --rose: #B0465C;
  --marigold: #F2A126;
  --eyebrow: #B0465C;
  --head: "Fraunces", Georgia, serif;
  --body: "Outfit", system-ui, sans-serif;
  --radius: 16px;
  --radius-lg: 30px;
  --btn-radius: 999px;
  --wrap: 1220px;
  --out-bg: #1F3A2A;
  --out-ink: #F7F1E8;
  --out-accent: #F6C36B;
  --out-btn: #F4C6CB;
  --out-btn-ink: #3A1520;
  --focus: #B0465C;
  --blob-a: 58% 42% 46% 54% / 52% 44% 56% 48%;
  --blob-b: 42% 58% 60% 40% / 46% 60% 40% 54%;
}
h1, h2, h3 { font-weight: 500; letter-spacing: -.015em; font-variation-settings: "SOFT" 100; }
h1 em, h2 em { font-style: italic; font-weight: 400; color: var(--rose); }
.btn { font-weight: 600; letter-spacing: .01em; }
.btn-ghost { background: var(--surface); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.eyebrow { letter-spacing: .14em; }
.lede { color: var(--muted); }

/* header */
.header { background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header .wrap { min-height: 76px; gap: 18px; }
.logo { display: flex; align-items: center; gap: 10px; min-height: 44px; text-decoration: none; }
.logo-mark { width: 42px; height: 42px; flex: none; }
.logo span { display: grid; line-height: 1.05; }
.logo b { font: italic 500 1.6rem var(--head); font-variation-settings: "SOFT" 100; color: var(--brand); letter-spacing: -.01em; }
.logo small { font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.nav a { font-weight: 500; color: var(--muted); position: relative; }
.nav a:hover { color: var(--ink); }
.nav a[aria-current="page"] { color: var(--brand); font-weight: 600; }
@media (min-width: 961px) { .nav a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 6px; border-radius: 50%; background: var(--blush); z-index: -1; } }
@media (max-width: 1140px) and (min-width: 961px) { .nav a { padding: 8px 8px; font-size: .94rem; } }
@media (max-width: 960px) { .nav-open .nav a[aria-current="page"] { background: var(--soft); border-radius: 10px; } }
@media (max-width: 420px) { .logo small { display: none; } .logo b { font-size: 1.4rem; } .header .wrap { gap: 10px; } .logo-mark { width: 36px; height: 36px; } }

/* hero: copy on the left, a big drawn mandap in a blob on the right, petals scattered around */
.hero { position: relative; overflow: hidden; padding-block: clamp(36px, 6vw, 90px) clamp(48px, 7vw, 100px); }
.hero-blob { position: absolute; border-radius: var(--blob-a); pointer-events: none; }
.hb-1 { width: 46vw; height: 46vw; max-width: 640px; max-height: 640px; right: -10vw; top: -8vw; background: var(--soft); }
.hb-2 { width: 22vw; height: 18vw; max-width: 300px; max-height: 240px; left: -6vw; bottom: -6vw; background: var(--leaf-soft); border-radius: var(--blob-b); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1fr); } }
.hero h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); line-height: 1.02; margin: 16px 0 20px; color: var(--ink); }
.hero h1 em { display: inline-block; color: var(--rose); }
.hero-actions { margin-top: 28px; }
.hero-proof { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; color: var(--muted); font-size: .95rem; }
.hero-proof b { font: italic 500 1.5rem var(--head); color: var(--brand); margin-right: 4px; }
.hero-art { position: relative; padding: clamp(10px, 2vw, 24px); }
.hero-frame { margin: 0; border-radius: var(--blob-a); overflow: hidden; box-shadow: 0 40px 70px -40px rgba(176, 70, 92, .55); transform: rotate(-2deg); border: 10px solid var(--surface); }
.hero-frame { background: #FCEFEF; padding: 7% 7% 4%; }
.hero-frame svg { width: 100%; height: auto; aspect-ratio: 4 / 3; }
.petal { position: absolute; width: calc(26px * var(--s, 1)); height: calc(26px * var(--s, 1)); }
.petal svg { width: 100%; height: 100%; }
.hero-card { position: absolute; right: 2%; bottom: -8px; display: grid; grid-template-columns: auto 1fr; gap: 0 12px; align-items: center; max-width: 290px; padding: 14px 18px; border-radius: 22px 22px 22px 6px; background: var(--surface); box-shadow: 0 18px 40px -18px rgba(31, 42, 34, .35); }
.hero-card span { grid-row: span 2; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--leaf-soft); color: var(--brand); }
.hero-card b { font-size: .95rem; line-height: 1.2; }
.hero-card small { color: var(--muted); font-size: .86rem; }
@media (max-width: 900px) { .hero-art { max-width: 560px; margin-inline: auto; width: 100%; } }
@media (max-width: 520px) { .hero-card { position: relative; right: auto; bottom: auto; margin: -24px 0 0 auto; max-width: 92%; } .hero-frame { border-width: 6px; } }
@media (prefers-reduced-motion: no-preference) {
  .petal { animation: drift 7s ease-in-out infinite alternate; }
  .petal:nth-of-type(2n) { animation-duration: 9s; animation-delay: -3s; }
  @keyframes drift { from { transform: translate(0, 0) rotate(0); } to { transform: translate(6px, 14px) rotate(24deg); } }
  .mb-shower { animation: float 5s ease-in-out infinite alternate; }
  @keyframes float { from { transform: translateY(0); } to { transform: translateY(8px); } }
}

/* the functions strip */
.fn-strip { background: var(--brand); color: #fff; padding-block: 16px; }
.fn-strip ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; }
.fn-strip li { display: flex; align-items: center; gap: 10px; font: italic 400 1.15rem var(--head); font-variation-settings: "SOFT" 100; }
.fn-strip svg { width: 16px; height: 16px; flex: none; }

/* offset cards: every second card sits lower */
.offset-cards { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 3vw, 36px); padding-bottom: 40px; }
.offset-cards li { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.offset-cards li:nth-child(3n+2) { transform: translateY(40px); }
.offset-cards li:nth-child(3n+2) .oc-art { border-radius: 0 0 50% 50% / 0 0 18% 18%; }
.oc-art { margin: 0; overflow: hidden; }
.oc-art svg { width: 100%; height: auto; aspect-ratio: 4 / 3; }
.oc-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 22px 24px 24px; }
.oc-body h3 { font-size: 1.5rem; font-style: italic; font-weight: 400; color: var(--brand); }
.oc-body p { color: var(--muted); }
.oc-good { font-size: .92rem; }
.oc-good b { display: block; color: var(--ink); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; }
.oc-body .text-link { margin-top: auto; }
@media (max-width: 900px) { .offset-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-bottom: 0; } .offset-cards li:nth-child(3n+2) { transform: none; } .offset-cards li:nth-child(2n) { transform: translateY(28px); } .offset-cards { padding-bottom: 28px; } }
@media (max-width: 600px) { .offset-cards { grid-template-columns: minmax(0, 1fr); padding-bottom: 0; } .offset-cards li:nth-child(n) { transform: none; } }

/* builder teaser */
.builder-teaser { background: var(--leaf-soft); }
.bt-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
@media (max-width: 860px) { .bt-grid { grid-template-columns: minmax(0, 1fr); } }
.bt-art { margin: 0; border-radius: var(--blob-b); overflow: hidden; border: 10px solid var(--surface); box-shadow: 0 30px 60px -36px rgba(31, 58, 42, .5); }
.bt-art { background: #FBF8F0; padding: 6% 6% 3%; }
.bt-art svg { width: 100%; height: auto; aspect-ratio: 4 / 3; }
.bt-grid .lede { margin-top: 6px; }
.tick-list { list-style: none; display: grid; gap: 10px; margin: 20px 0 6px; }
.tick-list li { display: flex; gap: 10px; align-items: flex-start; }
.tick-list .ic { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--brand); color: #fff; margin-top: 2px; }

/* steps, stats, gallery, quotes */
.steps li { border-radius: 30px 30px 30px 8px; background: var(--surface); }
.steps li:nth-child(even) { border-radius: 30px 30px 8px 30px; background: var(--soft); border-color: transparent; }
.steps li::before { font: italic 400 2.2rem/1 var(--head); color: var(--rose); }
.stats-band { background: var(--soft); padding-block: clamp(30px, 4vw, 52px); }
.stats div { border-left: 1px dashed var(--line-strong); }
.stats div:first-child { border-left: 0; }
.stats dd { font: italic 400 clamp(2rem, 3.6vw, 2.8rem)/1 var(--head); color: var(--brand); }
.numbers-band { background: var(--leaf-soft); }
.g-mini { list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 24px; }
.g-mini figure, .g-item figure { margin: 0; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--line); height: 100%; }
.g-mini li:nth-child(2) figure, .g-item:nth-child(3n+2) figure { border-radius: 90px 30px 90px 30px; }
.g-mini svg { width: 100%; height: auto; aspect-ratio: 4 / 3; }
.g-mini figcaption, .g-item figcaption { display: grid; gap: 2px; padding: 14px 20px 18px; }
.g-mini figcaption b, .g-item figcaption b { font: italic 500 1.2rem var(--head); color: var(--brand); }
.g-mini figcaption span { color: var(--muted); font-size: .9rem; }
.g-filters button { border-radius: 999px; }
.g-filters button[aria-pressed="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }
.quotes-band { background: linear-gradient(180deg, var(--bg), var(--leaf-soft)); }
.quotes li { border-radius: 30px 30px 30px 8px; }
.quotes li:nth-child(2) { background: var(--soft); border-color: transparent; }
.quotes blockquote p { font: italic 400 1.15rem/1.5 var(--head); font-variation-settings: "SOFT" 100; }
.ci-icon { background: var(--soft); color: var(--rose); border-radius: 50%; }

/* decor page: setups per function */
.fn-setups { background: var(--leaf-soft); }
.zigzag { list-style: none; display: grid; gap: clamp(28px, 5vw, 56px); }
.zigzag > li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(20px, 4vw, 56px); align-items: center; scroll-margin-top: 100px; }
.zigzag > li:nth-child(even) .zz-art { order: 2; }
@media (max-width: 760px) { .zigzag > li { grid-template-columns: minmax(0, 1fr); } .zigzag > li:nth-child(even) .zz-art { order: 0; } }
.zz-art { margin: 0; border-radius: var(--blob-a); overflow: hidden; border: 8px solid var(--surface); }
.zigzag > li:nth-child(even) .zz-art { border-radius: var(--blob-b); }
.zz-art svg { width: 100%; height: auto; aspect-ratio: 4 / 3; }
.zz-body { display: grid; gap: 10px; }
.zz-body h3 { font-size: clamp(1.7rem, 3vw, 2.2rem); font-style: italic; font-weight: 400; color: var(--brand); }
.zz-body p { color: var(--muted); }
.zz-from { justify-self: start; padding: 4px 12px; border-radius: 999px; background: var(--surface); color: var(--rose) !important; font-weight: 600; font-size: .9rem; }
.zz-body .tick-list { margin-top: 6px; }

/* packages */
.pk { border-radius: 30px 30px 30px 8px; }
.pk::before { content: ""; position: absolute; right: 18px; top: 18px; width: 54px; height: 44px; border-radius: var(--blob-a); background: var(--soft); z-index: 0; }
.pk:nth-child(2n)::before { background: var(--leaf-soft); }
.pk > * { position: relative; }
.pk h3 { font-style: italic; font-weight: 400; color: var(--brand); font-size: 1.6rem; }
.pk-price b { font-weight: 500; }
.pk.is-featured { border: 2px solid var(--rose); }
.pk-flag { background: var(--rose); color: #fff; z-index: 1; }
.pk-list .ic { color: var(--brand); }
.bundle { display: grid; grid-template-columns: minmax(0, 1.4fr) auto auto; gap: 18px 32px; align-items: center; margin-top: 36px; padding: clamp(22px, 4vw, 36px); border-radius: var(--radius-lg); background: var(--soft); }
.bundle h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 6px 0 8px; }
.bundle p { color: var(--muted); }
.bundle-price { display: grid; text-align: right; }
.bundle-price s { color: var(--muted); }
.bundle-price b { font: 500 2.2rem/1.1 var(--head); color: var(--brand); }
.bundle-price span { font-size: .88rem; }
@media (max-width: 860px) { .bundle { grid-template-columns: minmax(0, 1fr); } .bundle-price { text-align: left; } .bundle .btn { justify-self: start; } }
.season-sec { background: var(--leaf-soft); }
.data-table { background: var(--surface); border-radius: var(--radius); }
.data-table th[scope="row"] { font: italic 500 1.1rem var(--head); color: var(--brand); }
.data-table td { font-variant-numeric: tabular-nums; }

/* mandap builder */
.mb { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(20px, 3.5vw, 44px); align-items: start; }
.mb-stage { position: sticky; top: 92px; display: grid; gap: 12px; }
.mb-preview { margin: 0; display: grid; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 60px -44px rgba(176, 70, 92, .6); }
.mb-canvas svg { width: 100%; height: auto; aspect-ratio: 4 / 3; }
.mb-cap { display: grid; gap: 4px; padding: 14px 20px 18px; border-top: 1px solid var(--line); }
.mb-cap b { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--rose); }
.mb-cap span { color: var(--muted); font-size: .95rem; }
.mb-live { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; padding: 14px 20px; border-radius: 999px; background: var(--brand); color: #fff; }
.mb-live span { font-size: .85rem; opacity: .85; }
.mb-live b { font: 500 1.6rem/1 var(--head); font-variant-numeric: tabular-nums; }
.mb-live small { font-size: .85rem; opacity: .85; }
.mb-sub { font-weight: 600; margin-top: 4px; }
.mb-form .tool-step { border-radius: 26px 26px 26px 8px; }
.mb-form fieldset.tool-step > legend { font-weight: 500; font-size: 1.3rem; font-style: italic; color: var(--brand); }
.mb-form .tool-step > h2 { font-weight: 500; font-size: 1.3rem; font-style: italic; color: var(--brand); }
.opt-box { border-radius: 14px; }
.opt input:checked + .opt-box { border-color: var(--brand); background: var(--leaf-soft); box-shadow: inset 0 0 0 1px var(--brand); }
.opt-box em { color: var(--rose); }
.opt-sw { height: 22px; border-radius: 999px; }
.season-note { padding: 10px 14px; border-radius: 12px; background: var(--leaf-soft); color: var(--ink); font-size: .92rem; }
.season-note.is-peak { background: #FFF1D6; color: #6B3A06; }
.season-note.is-peak::before { content: "Peak season · "; font-weight: 700; }
.mb-sum { position: static; margin-top: clamp(24px, 4vw, 44px); grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); align-items: start; border-radius: 36px 36px 36px 10px; }
.mb-sum-l, .mb-sum-r { display: grid; gap: 12px; align-content: start; }
.mb-sentence { opacity: .9; font: italic 400 1.1rem/1.45 var(--head); font-variation-settings: "SOFT" 100; }
.sum-label { font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; opacity: .8; margin-top: 4px; }
.mb-sum .sum-total { font-weight: 500; }
.mb-sum .btn.is-disabled { opacity: .5; cursor: not-allowed; }
.tool-out .field-error { color: #FFC9A8; }
@media (max-width: 920px) {
  .mb { grid-template-columns: minmax(0, 1fr); }
  .mb-stage { top: 76px; z-index: 5; gap: 0; background: var(--bg); padding-block: 6px; margin-inline: -4px; padding-inline: 4px; }
  .mb-preview { grid-template-columns: minmax(0, 1fr); border-radius: 20px 20px 0 0; box-shadow: none; }
  .mb-canvas svg { height: 30vh; max-height: 260px; min-height: 170px; }
  .mb-cap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; padding: 0; border: 0; }
  .mb-live { border-radius: 0 0 20px 20px; padding: 10px 16px; }
  .mb-live b { font-size: 1.3rem; }
  .mb-sum { grid-template-columns: minmax(0, 1fr); }
}

/* inner page heads */
.page-head { position: relative; overflow: hidden; margin-bottom: clamp(24px, 4vw, 40px); }
.page-head .wrap { position: relative; }
.page-head h1 { color: var(--ink); font-style: italic; font-weight: 400; }
.ph-blob { position: absolute; right: -80px; top: -120px; width: 420px; height: 360px; border-radius: var(--blob-a); background: var(--soft); }
.ph-petals { position: absolute; right: 12%; bottom: 18%; display: flex; gap: 18px; }
.ph-petals svg { width: 26px; height: 26px; }
.ph-petals svg:nth-child(2) { transform: translateY(-30px); }
@media (max-width: 700px) { .ph-blob { width: 240px; height: 200px; right: -90px; top: -80px; } .ph-petals { display: none; } }

/* about, contact, faq */
.about-art { border-radius: var(--blob-a); border: 10px solid var(--surface); box-shadow: 0 30px 60px -40px rgba(176, 70, 92, .55); }
.about-grid h1 { font-style: italic; font-weight: 400; }
.values li { border-radius: 26px 26px 26px 8px; }
.values li:nth-child(odd) { background: var(--leaf-soft); border-color: transparent; }
.values h3 { font-style: italic; font-weight: 500; color: var(--brand); }
.tm-art { border-radius: var(--blob-a); }
.team li:nth-child(even) .tm-art { border-radius: var(--blob-b); }
.form.card, .done, .card { border-radius: 30px 30px 30px 8px; }
.map { border-radius: var(--radius-lg); }
details summary { font-weight: 500; }
details summary::after { color: var(--rose); }
.faq-group h2 { font-style: italic; font-weight: 400; color: var(--brand); }
.faq-index a:hover { background: var(--soft); }

/* CTA + footer */
.cta-band { padding-block: clamp(48px, 7vw, 96px); }
.cta-blob { display: grid; justify-items: center; gap: 14px; text-align: center; padding: clamp(36px, 6vw, 72px) clamp(20px, 5vw, 64px); border-radius: 60px 60px 60px 16px; background: var(--soft); position: relative; overflow: hidden; }
.cta-blob::before, .cta-blob::after { content: ""; position: absolute; border-radius: var(--blob-b); background: var(--blush); opacity: .55; }
.cta-blob::before { width: 220px; height: 180px; left: -60px; top: -60px; }
.cta-blob::after { width: 180px; height: 160px; right: -50px; bottom: -70px; background: #D9E8D2; }
.cta-blob > * { position: relative; }
.cta-band h2 { font-size: clamp(2rem, 5vw, 3.4rem); color: var(--brand); }
.cta-band p { max-width: 52ch; color: var(--muted); }
.cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 6px; }
.footer { background: #1F3A2A; color: #DCE6D8; --footer-line: rgba(255, 255, 255, .14); }
.footer .logo b { color: #fff; }
.footer .logo small { color: #C7D6C2; }
.footer h2 { color: #fff; }
.f-about { margin-top: 12px; max-width: 34ch; }
.footer .credit a, .footer .legal a { color: #fff; }
.wa-float { z-index: 30; }
