/* =========================================================
   Frost & Petals — site styles
   Palette drawn from the brand logo: frosted blue, petal rose,
   antique gold and sage leaves on warm cream paper.
   ========================================================= */

:root {
    --cream: #FBF6EE;
    --paper: #FFFDF9;
    --blush: #F8E9EC;
    --blush-2: #F3D7DE;
    --frost: #3B5B74;
    --frost-deep: #2A4357;
    --frost-mist: #E4EDF3;
    --rose: #C9506F;
    --rose-deep: #A93C59;
    --rose-soft: #E9A3B5;
    --gold: #B98B3E;
    --gold-soft: #E3CC9C;
    --sage: #7E9A82;
    --sage-mist: #E7EEE6;
    --ink: #2D2A32;
    --muted: #6F6870;
    --line: #EADFD2;

    --font-script: "Great Vibes", "Segoe Script", cursive;
    --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
    --font-sans: "Jost", "Segoe UI", system-ui, -apple-system, sans-serif;

    --radius: 22px;
    --radius-sm: 12px;
    --shadow-sm: 0 2px 10px rgba(59, 47, 40, .06);
    --shadow: 0 18px 40px -18px rgba(74, 45, 52, .28);
    --shadow-lg: 0 30px 60px -25px rgba(42, 67, 87, .35);
    --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font-sans);
    font-weight: 400;
    font-size: 17px;
    line-height: 1.65;
    color: var(--ink);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
}
html, body { overflow-x: clip; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; color: var(--frost-deep); letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.45rem; }
p { margin: 0 0 1em; }
.icon { flex-shrink: 0; vertical-align: middle; }
.center { text-align: center; }
.script { font-family: var(--font-script); font-weight: 400; }

.container { width: min(1200px, 100% - 40px); margin-inline: auto; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--frost); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 12px; }

:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; border-radius: 6px; }

/* ---------- Eyebrows / headings ---------- */
.eyebrow {
    font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 500;
    color: var(--gold); margin-bottom: .9rem; display: inline-flex; align-items: center; gap: .5em;
}
.eyebrow--rose { color: var(--rose); }
.eyebrow__flake { color: var(--frost); font-size: 1.1em; }

.section { padding: clamp(64px, 9vw, 112px) 0; position: relative; }
.section--tight { padding: 40px 0 0; }
.section--blush { background: linear-gradient(180deg, var(--blush) 0%, #FBF0F1 100%); }
.section--frost { background: linear-gradient(180deg, var(--frost-mist) 0%, #F1F5F8 100%); }

.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head--row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 24px; text-align: left; flex-wrap: wrap; }
.section-head--row h2 { margin: 0; }

.lead { font-size: 1.12rem; color: var(--muted); }

/* ---------- Buttons ---------- */
.btn {
    --bg: var(--frost); --fg: #fff;
    display: inline-flex; align-items: center; justify-content: center; gap: .55em;
    padding: .95em 1.7em; border-radius: 999px; border: 1.5px solid transparent;
    background: var(--bg); color: var(--fg);
    font: 500 .98rem/1 var(--font-sans); letter-spacing: .02em; cursor: pointer;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.btn--frost { --bg: var(--frost); }
.btn--frost:hover { --bg: var(--frost-deep); }
.btn--rose { --bg: var(--rose); }
.btn--rose:hover { --bg: var(--rose-deep); }
.btn--ghost { --bg: transparent; --fg: var(--frost-deep); border-color: color-mix(in srgb, var(--frost) 35%, transparent); }
.btn--ghost:hover { --bg: var(--paper); border-color: var(--frost); }
.btn--light { --bg: #fff; --fg: var(--frost-deep); }
.btn--sm { padding: .7em 1.25em; font-size: .9rem; }
.btn--block { width: 100%; }

.link-arrow { display: inline-flex; gap: .5em; align-items: center; color: var(--rose); font-weight: 500; }
.link-arrow .icon { transition: transform .25s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Announcement ---------- */
.announce { background: var(--frost-deep); color: #F3EDE4; font-size: .88rem; }
.announce__inner { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 9px 0; flex-wrap: wrap; text-align: center; }
.announce strong { color: #fff; font-weight: 500; }
.announce__flake { color: var(--gold-soft); }
.announce__sep { opacity: .5; margin: 0 .25em; }
.announce__link { display: inline-flex; align-items: center; gap: 4px; color: var(--gold-soft); border-bottom: 1px solid currentColor; line-height: 1.2; }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: color-mix(in srgb, var(--cream) 88%, transparent);
    backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
    border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px -18px rgba(0,0,0,.25); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 20px; }

.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--gold-soft), var(--shadow-sm); }
.brand__word { font-family: var(--font-script); font-size: 2.05rem; line-height: 1; white-space: nowrap; padding-top: 4px; }
.brand__frost { color: var(--frost); }
.brand__amp { color: var(--gold); font-size: .8em; }
.brand__petals { color: var(--rose); }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__link { position: relative; padding: 8px 14px; font-size: .97rem; color: var(--ink); border-radius: 999px; transition: color .2s; }
.nav__link::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 0; height: 1.5px; background: var(--rose); transition: width .3s var(--ease), left .3s var(--ease); }
.nav__link:hover, .nav__link.is-active { color: var(--rose-deep); }
.nav__link:hover::after, .nav__link.is-active::after { left: 22%; width: 56%; }
.nav__cta { margin-left: 10px; }

.nav-toggle { display: none; background: none; border: 0; color: var(--frost-deep); cursor: pointer; padding: 8px; }
.nav-toggle__close { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(40px, 6vw, 80px) 0 clamp(64px, 8vw, 100px); overflow: hidden; }
.hero__wash {
    position: absolute; inset: 0; pointer-events: none; z-index: 0;
    background:
        radial-gradient(circle at 88% 28%, rgba(233, 163, 181, .36) 0, rgba(233, 163, 181, 0) 34%),
        radial-gradient(circle at 70% 92%, rgba(180, 205, 222, .45) 0, rgba(180, 205, 222, 0) 32%),
        radial-gradient(circle at 4% 6%, rgba(227, 204, 156, .32) 0, rgba(227, 204, 156, 0) 26%);
}
.hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero__title { font-size: clamp(2.7rem, 5.6vw, 4.6rem); line-height: 1.02; margin-bottom: .4em; }
.hero__title em { font-family: var(--font-script); font-style: normal; font-weight: 400; color: var(--rose); font-size: 1.15em; display: inline-block; line-height: .9; }
.hero__lead { font-size: 1.15rem; color: var(--muted); max-width: 33em; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero__actions--center { justify-content: center; }
.hero__points { list-style: none; padding: 0; margin: 34px 0 0; display: flex; flex-wrap: wrap; gap: 10px 26px; color: var(--frost); font-size: .95rem; }
.hero__points li { display: inline-flex; align-items: center; gap: 8px; }
.hero__points .icon { color: var(--gold); }

.hero__art { position: relative; height: clamp(440px, 50vw, 600px); }
.arch { margin: 0; overflow: hidden; border-radius: 999px 999px 26px 26px; box-shadow: var(--shadow-lg); background: var(--blush); position: relative; }
.arch img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.arch:hover img { transform: scale(1.04); }
.arch::after { content: ""; position: absolute; inset: 8px; border-radius: inherit; border: 1px solid rgba(255,255,255,.55); pointer-events: none; }
.arch--lg { position: absolute; left: 14%; top: 0; width: 58%; height: 88%; }
.arch--sm { position: absolute; width: 34%; height: 48%; border: 6px solid var(--paper); }
.arch--a { right: 0; top: 8%; }
.arch--b { left: 0; bottom: 0; }
.arch--tall { aspect-ratio: 3 / 4; width: 100%; }

.hero__badge {
    position: absolute; right: 6%; bottom: 6%; width: 150px; height: 150px; border-radius: 50%;
    background: var(--paper); display: grid; place-content: center; text-align: center;
    box-shadow: var(--shadow); border: 1px solid var(--gold-soft);
    animation: float 6s ease-in-out infinite;
}
.hero__badge::before { content: ""; position: absolute; inset: 7px; border-radius: 50%; border: 1px dashed var(--gold-soft); }
.hero__badge-script { font-family: var(--font-script); font-size: 2.1rem; color: var(--rose); line-height: 1; }
.hero__badge-text { text-transform: uppercase; letter-spacing: .2em; font-size: .72rem; color: var(--frost); margin-top: 6px; }

.petal { position: absolute; width: 22px; height: 34px; border-radius: 80% 0 80% 0; background: linear-gradient(135deg, #F6C9D4, var(--rose-soft)); opacity: .8; animation: drift 9s ease-in-out infinite; }
.petal--1 { top: 4%; right: 34%; transform: rotate(20deg); }
.petal--2 { top: 56%; left: 4%; width: 16px; height: 24px; animation-delay: -3s; }
.petal--3 { bottom: 2%; right: 40%; width: 14px; height: 22px; animation-delay: -6s; background: linear-gradient(135deg, #DCE8F0, #A9C2D4); }

@keyframes float { 0%,100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-10px) rotate(3deg); } }
@keyframes drift { 0%,100% { transform: translate(0,0) rotate(15deg); } 50% { transform: translate(8px,-14px) rotate(40deg); } }

/* ---------- Marquee ---------- */
.marquee { background: var(--frost); color: #F6EFE6; overflow: hidden; padding: 16px 0; border-block: 1px solid var(--frost-deep); }
.marquee__track { display: flex; gap: 28px; width: max-content; animation: marquee 38s linear infinite; font-family: var(--font-serif); font-size: 1.35rem; font-style: italic; white-space: nowrap; align-items: center; }
.marquee__track i { font-style: normal; color: var(--gold-soft); font-size: 1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Event ---------- */
.event {
    display: grid; grid-template-columns: auto 1fr auto; gap: clamp(20px, 3vw, 44px); align-items: center;
    background: var(--paper); border-radius: var(--radius); padding: clamp(22px, 3vw, 36px);
    border: 1px solid var(--line); box-shadow: var(--shadow);
    background-image: radial-gradient(60% 120% at 100% 0%, rgba(233,163,181,.18), transparent 60%);
}
.event__date { width: 120px; text-align: center; border-radius: 999px 999px 18px 18px; background: linear-gradient(180deg, var(--rose), var(--rose-deep)); color: #fff; padding: 22px 10px 16px; }
.event__month { display: block; text-transform: uppercase; letter-spacing: .2em; font-size: .78rem; opacity: .9; }
.event__day { display: block; font-variant-numeric: lining-nums; font-family: var(--font-serif); font-size: 3.4rem; line-height: 1; font-weight: 700; }
.event__dow { display: block; font-size: .8rem; opacity: .9; }
.event__body h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: .3em; }
.event__body p { color: var(--muted); margin-bottom: .7em; }
.event__meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--frost); font-size: .95rem; }
.event__meta li { display: inline-flex; gap: 7px; align-items: center; }
.event__meta .icon { color: var(--rose); }
.event__count { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; max-width: 260px; }
.event__count > div { width: 76px; padding: 12px 6px; border-radius: 16px; background: var(--frost-mist); text-align: center; }
.event__count b { display: block; font-variant-numeric: lining-nums tabular-nums; font-family: var(--font-serif); font-size: 2rem; color: var(--frost-deep); line-height: 1; }
.event__count span { font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }
.event__live { margin: 0; color: var(--rose-deep); font-weight: 500; text-align: center; }

/* ---------- Categories ---------- */
.cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; }
.cat { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.cat__img { width: 100%; aspect-ratio: 3 / 4; border-radius: 999px 999px 20px 20px; overflow: hidden; box-shadow: var(--shadow); position: relative; margin-bottom: 12px; border: 5px solid var(--paper); }
.cat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cat:hover .cat__img img { transform: scale(1.07); }
.cat__name { font-family: var(--font-serif); font-size: 1.4rem; font-weight: 600; color: var(--frost-deep); }
.cat:hover .cat__name { color: var(--rose-deep); }
.cat__desc { font-size: .9rem; color: var(--muted); line-height: 1.5; }

/* ---------- Product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.card { background: var(--paper); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); border: 1px solid #F1E7DC; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card__media { position: relative; display: block; aspect-ratio: 4 / 4.6; overflow: hidden; background: var(--blush); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.card:hover .card__media img { transform: scale(1.06); }
.card__tag { position: absolute; top: 14px; left: 14px; background: rgba(255,253,249,.92); color: var(--frost); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; padding: 5px 11px; border-radius: 999px; }
.card__view { position: absolute; left: 50%; bottom: 14px; transform: translate(-50%, 12px); opacity: 0; background: var(--frost-deep); color: #fff; font-size: .82rem; padding: 7px 14px; border-radius: 999px; display: inline-flex; gap: 6px; align-items: center; transition: all .35s var(--ease); white-space: nowrap; }
.card:hover .card__view { opacity: 1; transform: translate(-50%, 0); }
.card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
.card__cat { font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.card__title { font-size: 1.32rem; margin-bottom: .3em; }
.card__title a:hover { color: var(--rose-deep); }
.card__text { color: var(--muted); font-size: .93rem; line-height: 1.5; margin-bottom: 14px; }
.card__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px dashed var(--line); }
.card__price { font-size: .9rem; color: var(--frost); font-weight: 500; }
.card__order { display: inline-flex; gap: 5px; align-items: center; font-size: .9rem; color: var(--rose); font-weight: 500; }
.card__order:hover { color: var(--rose-deep); }

/* ---------- Custom ---------- */
.custom { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.custom__media { position: relative; max-width: 460px; }
.custom__note { position: absolute; right: -24px; bottom: 36px; background: var(--paper); border-radius: 18px; padding: 14px 22px; box-shadow: var(--shadow); text-align: center; border: 1px solid var(--line); }
.custom__note .script { display: block; font-size: 2.2rem; color: var(--rose); line-height: 1; }
.custom__note small { color: var(--muted); letter-spacing: .08em; }
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.steps li { display: flex; gap: 18px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius-sm); background: var(--paper); border: 1px solid var(--line); }
.steps__icon { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--blush); color: var(--rose); flex-shrink: 0; }
.steps li:nth-child(2) .steps__icon { background: var(--frost-mist); color: var(--frost); }
.steps li:nth-child(3) .steps__icon { background: var(--sage-mist); color: var(--sage); }
.steps h3 { font-size: 1.25rem; margin-bottom: .15em; }
.steps p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 250px; grid-auto-flow: dense; gap: 18px; margin-bottom: 36px; }
.gallery__item { display: block; border-radius: 18px; overflow: hidden; position: relative; box-shadow: var(--shadow-sm); background: var(--paper); }
.gallery__item:nth-child(1), .gallery__item:nth-child(5) { grid-row: span 2; }
.gallery__item:nth-child(6) { grid-column: span 2; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.gallery__item span { position: absolute; inset: auto 0 0 0; padding: 40px 18px 14px; color: #fff; font-family: var(--font-serif); font-size: 1.2rem; background: linear-gradient(transparent, rgba(30, 40, 52, .72)); opacity: 0; transform: translateY(8px); transition: all .4s var(--ease); }
.gallery__item:hover img { transform: scale(1.05); }
.gallery__item:hover span { opacity: 1; transform: none; }

/* ---------- CTA ---------- */
.cta {
    position: relative; overflow: hidden; text-align: center; color: #fff;
    border-radius: 32px; padding: clamp(48px, 7vw, 88px) clamp(22px, 5vw, 80px);
    background:
        radial-gradient(circle at 0% 0%, rgba(233,163,181,.30) 0, rgba(233,163,181,0) 45%),
        radial-gradient(circle at 100% 100%, rgba(227,204,156,.22) 0, rgba(227,204,156,0) 40%),
        linear-gradient(135deg, var(--frost) 0%, var(--frost-deep) 100%);
    box-shadow: var(--shadow-lg);
}
.cta h2 { color: #fff; max-width: 760px; margin-inline: auto; }
.cta__script { font-size: clamp(1.6rem, 3vw, 2.3rem); color: var(--gold-soft); margin-bottom: .4em; }
.cta__flake { position: absolute; right: 4%; top: -40px; font-size: 220px; color: rgba(255,255,255,.06); line-height: 1; pointer-events: none; }

/* ---------- Page header (inner pages) ---------- */
.page-hero { position: relative; padding: clamp(48px, 7vw, 88px) 0 clamp(36px, 5vw, 56px); text-align: center; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(40% 70% at 20% 0%, rgba(233,163,181,.28), transparent 70%), radial-gradient(40% 70% at 85% 20%, rgba(180,205,222,.4), transparent 70%); pointer-events: none; }
.page-hero > * { position: relative; }
.page-hero h1 { font-size: clamp(2.5rem, 5vw, 3.8rem); margin-bottom: .2em; }
.page-hero p { color: var(--muted); max-width: 620px; margin: 0 auto; font-size: 1.08rem; }
.page-hero p.eyebrow { font-size: .8rem; color: var(--gold); margin: 0 auto .9rem; max-width: none; }
.page-hero p.eyebrow--rose { color: var(--rose); }
.page-hero p.crumbs { font-size: .85rem; margin: 0 auto 14px; }
.crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.crumbs a:hover { color: var(--rose); }

/* ---------- Shop ---------- */
.filters { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; margin-bottom: 36px; }
.pills { display: flex; gap: 8px; flex-wrap: wrap; }
.pill { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper); font-size: .93rem; color: var(--ink); transition: all .2s; }
.pill:hover { border-color: var(--rose-soft); color: var(--rose-deep); }
.pill.is-active { background: var(--frost); color: #fff; border-color: var(--frost); }
.search { display: flex; align-items: center; gap: 8px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 4px 6px 4px 16px; min-width: 260px; }
.search input { border: 0; background: transparent; font: inherit; font-size: .95rem; outline: none; flex: 1; min-width: 0; padding: 6px 0; }
.search button { border: 0; background: var(--blush); color: var(--rose); width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.empty { text-align: center; padding: 60px 20px; background: var(--paper); border-radius: var(--radius); border: 1px dashed var(--line); }
.empty .script { font-size: 2.4rem; color: var(--rose); }

/* ---------- Product details ---------- */
.pd { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.pd__media { position: sticky; top: 100px; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--blush); }
.pd__media img { width: 100%; max-height: 78vh; object-fit: cover; }
.pd__info h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
.pd__price { font-family: var(--font-serif); font-size: 1.6rem; color: var(--rose-deep); margin-bottom: 1em; }
.pd__desc { font-size: 1.08rem; color: #4B454D; }
.pd__chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 28px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-size: .9rem; color: var(--frost); }
.chip .icon { color: var(--gold); }
.pd__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.pd__note { margin-top: 26px; padding: 18px 22px; border-radius: var(--radius-sm); background: var(--sage-mist); color: #4E6352; font-size: .95rem; }

/* ---------- Forms ---------- */
.form-wrap { display: grid; grid-template-columns: 1.35fr .85fr; gap: clamp(28px, 4vw, 56px); align-items: start; }
.form-card { background: var(--paper); border-radius: 28px; padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; }
.form-grid .full { grid-column: 1 / -1; }
.field label, .field .label { display: block; font-size: .88rem; font-weight: 500; color: var(--frost-deep); margin-bottom: 6px; letter-spacing: .02em; }
.field input[type=text], .field input[type=tel], .field input[type=email], .field input[type=number], .field input[type=date], .field input[type=datetime-local], .field input[type=password], .field select, .field textarea {
    width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
    padding: 12px 15px; border-radius: 12px; border: 1px solid #E3D6C7; background: #FFFEFC;
    transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--rose-soft); box-shadow: 0 0 0 4px rgba(233,163,181,.25); }
.field input[type=file] { font: inherit; font-size: .92rem; width: 100%; padding: 12px; border: 1.5px dashed #E3D6C7; border-radius: 12px; background: #FFFEFC; }
.field .hint { font-size: .82rem; color: var(--muted); margin-top: 5px; }
.phone { display: flex; gap: 8px; }
.phone input { flex: 1; min-width: 0; }
.phone__cc { position: relative; flex: none; display: flex; align-items: center; gap: 6px; padding: 0 30px 0 13px; border-radius: 12px; border: 1px solid #E3D6C7; background: #FFFEFC; color: var(--ink); font-size: .98rem; white-space: nowrap; transition: border-color .2s, box-shadow .2s; }
.phone__cc::after { content: ""; position: absolute; right: 12px; top: 50%; width: 7px; height: 7px; border-right: 1.6px solid var(--muted); border-bottom: 1.6px solid var(--muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.phone__cc:focus-within { border-color: var(--rose-soft); box-shadow: 0 0 0 4px rgba(233,163,181,.25); }
.field .phone__cc select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; padding: 0; border: 0; font-size: 1rem; }
.phone__hint { display: block; }
.phone__locate { background: none; border: 0; padding: 0; font: inherit; color: var(--rose-deep); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.phone:has(.input-validation-error) .phone__cc { border-color: #E4A09A; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--rose); margin-top: 3px; }
.field-validation-error, .text-danger { color: #B3261E; font-size: .84rem; margin-top: 5px; display: block; }
.input-validation-error { border-color: #E4A09A !important; }
.validation-summary-errors ul { margin: 0 0 18px; padding: 14px 18px 14px 34px; background: #FDF0EF; border-radius: 12px; color: #9B2C24; font-size: .92rem; }
.validation-summary-valid { display: none; }
.inspired { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 16px; background: var(--blush); margin-bottom: 22px; }
.inspired img { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; }
.inspired small { display: block; color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; }
.inspired strong { font-family: var(--font-serif); font-size: 1.2rem; color: var(--frost-deep); }
.aside-card { background: var(--frost); color: #EEF3F7; border-radius: 28px; padding: 32px; position: sticky; top: 100px; overflow: hidden; }
.aside-card h3 { color: #fff; }
.aside-card ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 14px; }
.aside-card li { display: flex; gap: 12px; align-items: flex-start; font-size: .96rem; }
.aside-card .icon { color: var(--gold-soft); margin-top: 3px; }
.aside-card a { color: #fff; border-bottom: 1px solid rgba(255,255,255,.4); }
.aside-card .script { color: var(--rose-soft); font-size: 2rem; display: block; margin-top: 20px; }

.notice { display: flex; gap: 12px; align-items: center; padding: 16px 20px; border-radius: 16px; background: var(--sage-mist); color: #3F5844; margin-bottom: 22px; }

/* ---------- Thank you / status ---------- */
.thanks { max-width: 640px; margin: 0 auto; text-align: center; background: var(--paper); border-radius: 32px; padding: clamp(36px, 6vw, 64px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.thanks__icon { width: 84px; height: 84px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center; background: var(--blush); color: var(--rose); }
.thanks .script { font-size: 3rem; color: var(--rose); line-height: 1; }
.ref { display: inline-block; margin: 10px 0 20px; padding: 8px 18px; border-radius: 999px; background: var(--frost-mist); color: var(--frost-deep); font-weight: 500; letter-spacing: .08em; }

/* ---------- About ---------- */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.about__logo { border-radius: 50%; box-shadow: var(--shadow-lg); max-width: 440px; margin: 0 auto; }
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.value { background: var(--paper); border-radius: var(--radius); padding: 30px 24px; text-align: center; border: 1px solid var(--line); }
.value__icon { width: 58px; height: 58px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center; background: var(--blush); color: var(--rose); }
.value:nth-child(2) .value__icon { background: var(--frost-mist); color: var(--frost); }
.value:nth-child(3) .value__icon { background: var(--sage-mist); color: var(--sage); }
.value:nth-child(4) .value__icon { background: #F6EEDC; color: var(--gold); }
.value h3 { font-size: 1.3rem; }
.value p { color: var(--muted); font-size: .94rem; margin: 0; }
.founders { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; max-width: 1120px; margin: 0 auto; }
.founder { background: var(--paper); border-radius: var(--radius); padding: 36px 30px; text-align: center; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.founder__icon { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center; background: var(--blush); color: var(--rose); }
.founder:nth-child(2) .founder__icon { background: var(--frost-mist); color: var(--frost); }
.founder:nth-child(3) .founder__icon { background: var(--sage-mist); color: var(--sage); }
.founder h3 { font-family: var(--font-script); font-weight: 400; font-size: 2.6rem; line-height: 1; margin-bottom: 6px; color: var(--rose-deep); }
.founder__role { color: var(--gold); font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 14px; }
.founder p:last-child { color: var(--muted); margin: 0; }
.about-tagline { text-align: center; }
.about-tagline__script { font-family: var(--font-script); font-size: clamp(2.6rem, 6vw, 3.8rem); color: var(--rose); line-height: 1; margin: 0 0 8px; }
.about-tagline__text { font-family: var(--font-serif); font-size: clamp(1.3rem, 3vw, 1.8rem); color: var(--frost-deep); font-style: italic; margin: 0; }

/* ---------- Legal pages ---------- */
.legal { display: grid; grid-template-columns: 260px 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; max-width: 1080px; }
.legal__toc { position: sticky; top: 100px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px; box-shadow: var(--shadow-sm); }
.legal__toc-title { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 600; color: var(--frost-deep); margin: 0 0 10px; }
.legal__toc ol { margin: 0; padding-left: 1.3em; display: grid; gap: 6px; font-size: .93rem; color: var(--muted); }
.legal__toc a { color: var(--ink); }
.legal__toc a:hover { color: var(--rose); }
.legal__body { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 4vw, 48px); box-shadow: var(--shadow-sm); min-width: 0; }
.legal__updated { display: inline-block; margin: 0 0 8px; padding: 6px 14px; border-radius: 999px; background: var(--frost-mist); color: var(--frost-deep); font-size: .85rem; letter-spacing: .04em; }
.legal__body section { padding-top: 28px; scroll-margin-top: 100px; }
.legal__body section + section { border-top: 1px dashed var(--line); margin-top: 28px; }
.legal__body h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); display: flex; align-items: center; gap: 12px; }
.legal__body h2 span { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--blush); color: var(--rose); font-family: var(--font-sans); font-size: .95rem; font-weight: 500; }
.legal__body p, .legal__body li { color: #4A4550; line-height: 1.7; }
.legal__body ul { margin: 0; padding-left: 1.2em; display: grid; gap: 8px; }
.legal__body li::marker { color: var(--rose-soft); }
.legal__body a { color: var(--rose-deep); text-decoration: underline; text-underline-offset: 3px; }
.legal__contact ul { list-style: none; padding: 0; margin-top: 12px; }
.legal__contact a { display: inline-flex; gap: 10px; align-items: center; text-decoration: none; }
.form-terms { font-size: .85rem; color: var(--muted); text-align: center; margin: 10px 0 0; }
.form-terms a { color: var(--rose-deep); text-decoration: underline; text-underline-offset: 3px; }
.footer-legal { display: inline-flex; gap: 16px; flex-wrap: wrap; }
.footer-legal a:hover { color: var(--gold-soft); }
.footer-legal__btn { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; }
.footer-legal__btn:hover { color: var(--gold-soft); }
.footer-legal__btn[hidden] { display: none; }

/* Location consent */
.loc-consent {
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
    max-width: 560px; margin: 0 auto; padding: 16px 18px;
    display: grid; gap: 12px;
    background: var(--paper); color: var(--ink);
    border: 1px solid var(--line); border-radius: 16px;
    box-shadow: 0 12px 36px rgba(42, 67, 87, .22);
}
.loc-consent[hidden], .loc-consent [hidden] { display: none; }
.loc-consent p { margin: 0; font-size: .95rem; line-height: 1.55; }
.loc-consent a { color: var(--rose-deep); text-decoration: underline; text-underline-offset: 3px; }
.loc-consent__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--frost-deep); color: #CFD9E1; margin-top: 60px; }
.footer-wave { position: absolute; top: -59px; left: 0; right: 0; height: 60px; line-height: 0; }
.footer-wave svg { width: 100%; height: 100%; fill: var(--frost-deep); }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding: 60px 0 40px; }
.site-footer h4 { color: #fff; font-size: 1.3rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.site-footer ul a:hover { color: var(--gold-soft); }
.footer-brand img { border-radius: 50%; margin-bottom: 16px; box-shadow: 0 0 0 4px rgba(255,255,255,.08); }
.footer-brand p { font-size: .95rem; max-width: 30em; }
.socials { display: grid; gap: 10px; }
.social { display: inline-flex; gap: 10px; align-items: center; color: #fff; }
.social:hover { color: var(--gold-soft); }
.footer-note { font-size: .9rem; margin-top: 16px; color: #AFC0CD; }
.site-footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0 26px; font-size: .85rem; color: #9FB2C1; }
.footer-love { display: inline-flex; gap: 6px; align-items: center; }
.footer-love .icon { color: var(--rose-soft); }
.footer-visitors { display: inline-flex; gap: 6px; align-items: center; padding: 2px 12px; border-radius: 999px; background: rgba(255,255,255,.07); }
.footer-visitors strong { color: #fff; font-weight: 500; letter-spacing: .04em; }
.footer-visitors .icon { color: var(--gold-soft); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* ---------- Snowfall & petals (home) ---------- */
.flurry { position: fixed; inset: 0; z-index: 40; pointer-events: none; overflow: hidden; }
.flurry__item {
    position: absolute; top: 0; left: var(--x);
    animation: fall var(--dur) linear var(--delay) infinite;
    will-change: transform;
}
.flurry__item > span {
    display: block; line-height: 1; opacity: var(--alpha);
    animation: sway var(--sway-dur) ease-in-out var(--delay) infinite alternate;
}
.flurry__snow > span { font-size: var(--size); color: #A9C2D4; text-shadow: 0 0 6px rgba(255, 255, 255, .9); }
.flurry__flower > span { font-size: var(--size); color: var(--rose-soft); }
.flurry__petal > span {
    width: var(--size); height: calc(var(--size) * 1.5);
    border-radius: 80% 0 80% 0;
    background: linear-gradient(135deg, #F6C9D4, var(--rose-soft));
}
/* About page: a softer mix of blossom colours */
.flurry--flowers .flurry__flower:nth-child(4n+1) > span { color: #F2B8C6; }
.flurry--flowers .flurry__flower:nth-child(4n+2) > span { color: var(--gold-soft); }
.flurry--flowers .flurry__flower:nth-child(4n+3) > span { color: #CDB8E0; }
.flurry--flowers .flurry__petal:nth-child(3n+1) > span { background: linear-gradient(135deg, #FCE3E8, #F2B8C6); }
.flurry--flowers .flurry__petal:nth-child(3n+2) > span { background: linear-gradient(135deg, #FFF3DC, var(--gold-soft)); }

@keyframes fall { from { transform: translateY(-8vh); } to { transform: translateY(108vh); } }
@keyframes sway {
    from { transform: translateX(calc(var(--drift) * -1)) rotate(0deg); }
    to   { transform: translateX(var(--drift)) rotate(var(--spin)); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .js .reveal { opacity: 1; transform: none; }
    .flurry { display: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
    .grid { grid-template-columns: repeat(3, 1fr); }
    .cats { grid-template-columns: repeat(3, 1fr); }
    .values { grid-template-columns: repeat(2, 1fr); }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 960px) {
    /* backdrop-filter would make the header the containing block of the fixed menu drawer */
    .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: color-mix(in srgb, var(--cream) 97%, transparent); }
    body.nav-open .site-header { z-index: 80; }
    .nav-toggle { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
    .legal { grid-template-columns: 1fr; }
    .legal__toc { position: static; }
    .legal__toc ol { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
    .nav {
        position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw); background: var(--paper);
        flex-direction: column; align-items: stretch; gap: 4px; padding: 96px 26px 30px;
        box-shadow: -20px 0 50px -20px rgba(0,0,0,.25); transform: translateX(100%); visibility: hidden; transition: transform .4s var(--ease), visibility .4s; z-index: 60;
    }
    .nav__link { font-size: 1.15rem; padding: 12px 14px; }
    .nav__link::after { display: none; }
    .nav__cta { margin: 14px 0 0; }
    body.nav-open .nav { transform: none; visibility: visible; }
    body.nav-open .nav-toggle { position: relative; z-index: 70; }
    body.nav-open .nav-toggle__open { display: none; }
    body.nav-open .nav-toggle__close { display: inline; }
    body.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(30,35,45,.35); z-index: 55; }

    .hero__grid, .custom, .pd, .form-wrap, .about { grid-template-columns: 1fr; }
    /* let single-column grid items shrink to the screen instead of their widest content */
    .hero__grid > *, .custom > *, .pd > *, .form-wrap > *, .about > * { min-width: 0; }
    .about__logo { width: min(100%, 340px); }
    .founders { grid-template-columns: 1fr; max-width: 520px; }
    .hero__art { height: 460px; max-width: 560px; width: 100%; margin: 0 auto; }
    .event { grid-template-columns: auto 1fr; }
    .event__count { grid-column: 1 / -1; max-width: none; }
    .pd__media, .aside-card { position: static; }
    .custom__media { margin: 0 auto; }
}

@media (max-width: 680px) {
    body { font-size: 16px; }
    .container { width: calc(100% - 32px); }
    .site-header__inner { height: 68px; }
    .brand__mark { width: 42px; height: 42px; }
    .brand__word { font-size: 1.7rem; }
    .grid, .grid--3 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .card__body { padding: 14px; }
    .card__title { font-size: 1.12rem; }
    .card__text { display: none; }
    .card__foot { flex-direction: column; align-items: flex-start; gap: 4px; }
    .cats { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .cats .cat:last-child { grid-column: 1 / -1; max-width: 50%; margin: 0 auto; }
    .cat__desc { display: none; }
    .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 170px; gap: 12px; }
    .gallery__item:nth-child(5) { grid-row: span 1; }
    .gallery__item span { opacity: 1; transform: none; font-size: 1rem; padding: 30px 12px 10px; }
    .hero__art { height: 380px; }
    .hero__badge { width: 118px; height: 118px; }
    .hero__badge-script { font-size: 1.7rem; }
    .event { grid-template-columns: 1fr; text-align: center; }
    .event__date { margin: 0 auto; }
    .event__meta { justify-content: center; }
    .form-grid { grid-template-columns: 1fr; }
    .values, .founders { grid-template-columns: 1fr; }
    .site-footer__grid { grid-template-columns: 1fr; gap: 28px; }
    .custom__note { right: 8px; }
    .search { min-width: 0; width: 100%; }
    .announce__extra { display: none; }
    .announce__inner { gap: 8px; font-size: .82rem; }

    /* buttons: allow long labels to wrap; stack page actions full width */
    .btn { white-space: normal; text-align: center; line-height: 1.25; }
    .hero__actions, .pd__actions { flex-direction: column; align-items: stretch; }
    .hero__actions .btn, .pd__actions .btn { width: 100%; }
    .section-head { margin-bottom: 32px; }

    /* comfortable tap targets (about 40px) */
    .card__order, .link-arrow, .social, .announce__link { min-height: 40px; display: inline-flex; align-items: center; }
    .aside-card li a { display: inline-block; padding: 6px 0; }
    .site-footer ul a { display: inline-block; padding: 6px 0; }
    .site-footer ul { gap: 2px; }
    .card__tag { font-size: .68rem; padding: 4px 9px; top: 10px; left: 10px; }

    .about__logo { width: min(100%, 280px); }
    .legal__body { padding: 22px 18px; }
    .legal__body h2 span { width: 30px; height: 30px; font-size: .85rem; }
    .founder { padding: 28px 22px; }
    .page-hero h1 { font-size: clamp(2.1rem, 9vw, 2.6rem); }
    .page-hero p.eyebrow { letter-spacing: .16em; }
    .cta { border-radius: 24px; }
    .cta__flake { font-size: 150px; }
    .pd__media img { max-height: 60vh; }
    .inspired img { width: 52px; height: 52px; }
}

@media (max-width: 380px) {
    .brand__word { font-size: 1.45rem; }
    .brand__mark { width: 36px; height: 36px; }
    .brand { gap: 8px; }
    .grid, .grid--3 { gap: 10px; }
    .card__body { padding: 12px; }
    .card__title { font-size: 1.02rem; }
    .pill { padding: 8px 14px; font-size: .88rem; }
    .event__count > div { width: 64px; }
    .hero__art { height: 330px; }
}
