:root {
  --burgundy: #711628;
  --blush: #e8c1c4;
  --ivory: #fff8f2;
  --ink: #292021;
  --muted: #674f51;
  --paper: #fffdf9;
  --rose-paper: #f8ebe8;
  --line: #dfc8c5;
  --display: "Cormorant Garamond", Georgia, serif;
  --body: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  scroll-behavior: smooth;
  --header-clearance: 104px;
  scroll-padding-top: calc(var(--header-clearance) + env(safe-area-inset-top));
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 1rem/1.6 var(--body); }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3, .brand { color: var(--burgundy); font: 500 1em/1.02 var(--display); }
h1 { font-size: clamp(2.65rem, 12.2vw, 3.65rem); letter-spacing: -.055em; }
h2 { font-size: clamp(2.65rem, 6.4vw, 5.1rem); letter-spacing: -.035em; text-wrap: balance; }
h3 { font-size: clamp(1.7rem, 3vw, 2.35rem); letter-spacing: -.025em; }
h4 { margin: 1.35rem 0 .4rem; font-size: 1rem; }
a { color: inherit; }
button, input, textarea { font: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
[hidden] { display: none !important; }
.w { width: min(100% - 2.5rem, 78rem); margin-inline: auto; }
.skip { position: fixed; top: .5rem; left: .5rem; z-index: 50; transform: translateY(-150%); }
.skip:focus { transform: none; }
.nav { position: sticky; top: 0; z-index: 10; padding-top: env(safe-area-inset-top); background: var(--ivory); border-bottom: 1px solid var(--line); }
.nav .w, .nav-controls { display: flex; align-items: center; gap: .5rem; }
.nav .w { min-height: 94px; justify-content: space-between; }
.brand { display: inline-flex; flex: none; align-items: center; }
.brand img { width: auto; height: 90px; }
.footer-logo { display: block; width: auto; height: 108px; border-radius: .25rem; }
.nav ul { display: none; list-style: none; margin: 0; padding: 0; }
.nav ul.o { display: grid; position: absolute; inset: 100% 0 auto; background: var(--ivory); border-bottom: 1px solid var(--line); padding: .25rem 1.25rem .85rem; max-height: calc(100dvh - var(--header-clearance) - 60px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); overflow-y: auto; }
.nav li a { display: flex; align-items: center; min-height: 46px; font-size: .9rem; text-decoration: none; }
.nav ul.o li + li { border-top: 1px solid var(--line); }
.nav .nav-cta { color: var(--burgundy); font-weight: 600; }
.language, .mb { border: 0; background: transparent; color: var(--burgundy); min-height: 44px; padding: 0 .4rem; font-size: .84rem; }
.mb { border: 1px solid var(--line); padding-inline: .55rem; }
.hero-shell { background: var(--rose-paper); border-bottom: 1px solid var(--line); }
.hero { display: grid; gap: 2rem; align-items: center; padding-block: clamp(2.6rem, 6vw, 5.8rem); }
.hero-copy > p:not(.kicker) { color: var(--muted); max-width: 37ch; margin: 1.25rem 0 1.65rem; }
.kicker { color: var(--burgundy); text-transform: uppercase; font-size: .72rem; font-weight: 600; letter-spacing: .18em; margin-bottom: 1rem; }
.btns, .acts, .step-actions { display: flex; flex-wrap: wrap; gap: .65rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 49px; padding: .65rem 1.1rem; border: 1px solid var(--burgundy); background: var(--burgundy); color: var(--paper); font-size: .91rem; font-weight: 600; text-decoration: none; text-align: center; }
.btn.o { color: var(--burgundy); background: transparent; }
.hero-figure { min-width: 0; padding: .55rem; border: 1px solid var(--line); background: var(--ivory); }
.hero-figure figcaption { padding: .5rem .35rem .15rem; color: var(--muted); font: italic 1.15rem var(--display); }
.bouquet-media { position: relative; display: grid; place-items: center; overflow: hidden; background: #f1e6e0; aspect-ratio: 4 / 5; }
.bouquet-media img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.hero .bouquet-media { aspect-ratio: 1 / 1; background: #ead8d3; }
section { padding-block: clamp(3.6rem, 8vw, 7rem); }
.section-head { display: grid; gap: .9rem; margin-bottom: 1.8rem; justify-items: start; }
.lead { max-width: 54ch; color: var(--muted); }
#collections { background: var(--paper); }
#mixed { padding: 0 0 clamp(1.6rem, 5vw, 3.75rem); background: var(--ivory); }
.mixed-editorial {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 60rem);
  margin-inline: auto;
}
.mixed-editorial .bouquet-media { width: 100%; aspect-ratio: 4 / 5; max-height: 23rem; }
.mixed-editorial .bouquet-media img { object-fit: cover; object-position: 39% 51%; }
.mixed-editorial .bouquet-media + .bouquet-media img { object-position: 49% 51%; }
.mixed-editorial .photo-icon { display: none; }
.mixed-copy {
  width: min(calc(100% - 2.5rem), 31rem);
  margin-inline: auto;
  padding-top: clamp(1.35rem, 4vw, 2.75rem);
  text-align: center;
}
#mixed-title { font-size: clamp(2.45rem, 10vw, 4.25rem); text-wrap: balance; }
#mixed-title i { font-weight: 400; }
.mixed-intro { max-width: 37ch; margin: .8rem auto 1.1rem; color: var(--ink); }
.mixed-contact { display: grid; gap: .55rem; }
.mixed-contact .btn { min-height: 50px; border-radius: .6rem; }
.mixed-contact .btn.o { background: var(--ivory); }
.mixed-contact svg { flex: none; }
.mixed-caption { margin-top: .85rem; color: var(--burgundy); font-size: .85rem; }
#build { background: #f4e2df; }
#build h2 + .lead { margin: .9rem 0 1.7rem; }
.col, .gal { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 1.25rem; }
.col figure, .gal figure { display: flex; min-width: 0; flex-direction: column; padding: .55rem; background: var(--paper); border: 1px solid var(--line); }
.col figcaption, .gal figcaption { display: flex; flex: 1; flex-direction: column; align-items: flex-start; padding: .9rem .45rem .2rem; }
.col .hint, .gal .hint { margin: .45rem 0; }
.lnk { margin-top: auto; padding: .45rem 0; min-height: 44px; background: none; border: 0; text-align: left; color: var(--burgundy); font-size: .88rem; font-weight: 600; }
.lnk span { margin-inline-start: .25em; }
.empty { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; padding: 1.25rem; border: 1px solid var(--line); }
.chips, .sw { display: flex; flex-wrap: wrap; gap: .5rem; margin: .65rem 0 1rem; }
.chip, .swatch, #steps button, .wrap-options button { border: 1px solid var(--line); background: var(--paper); color: var(--burgundy); min-height: 44px; padding: .38rem .75rem; font-size: .87rem; }
.chip { border-radius: 999px; }
.chip.on { background: var(--burgundy); color: var(--paper); border-color: var(--burgundy); }
.counts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.counts .chip { padding-inline: 0; }
.swatch { display: inline-flex; gap: .45rem; align-items: center; border-radius: 999px; }
.swatch[aria-pressed="true"], .wrap-options button[aria-pressed="true"] { background: var(--rose-paper); border-color: var(--burgundy); box-shadow: inset 0 0 0 1px var(--burgundy); }
.dot { display: inline-block; flex: none; width: 20px; height: 20px; border: 1px solid #29202142; border-radius: 50%; }
.wrap-options { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; }
.wrap-options svg { display: block; width: min(100%, 100px); margin: 0 auto .3rem; }
.bw { display: grid; gap: 1rem; }
.prev { min-width: 0; padding: .75rem; border: 1px solid var(--line); background: var(--rose-paper); }
.pv { display: grid; place-items: center; background: radial-gradient(ellipse, var(--paper), var(--rose-paper) 74%); }
.pv svg { display: block; width: min(100%, 15rem); height: auto; }
.prev figcaption { padding: .3rem .35rem; }
.prev strong, .cap, .hint, .contact-options, .note { font-size: .87rem; }
.cap, .hint, .note { color: var(--muted); }
.ctl { min-width: 0; background: var(--paper); border: 1px solid var(--line); padding: clamp(.85rem, 3.5vw, 2.4rem); }
#steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .4rem; margin-bottom: 1.3rem; }
#steps button { padding-inline: .15rem; border-block-end: 3px solid var(--line); }
#steps [aria-current="step"] { background: var(--rose-paper); border-block-end-color: var(--burgundy); font-weight: 600; }
.step-actions:not(:empty) { justify-content: space-between; border-top: 1px solid var(--line); margin-top: 1.3rem; padding-top: 1rem; }
.step-actions .btn:last-child { margin-inline-start: auto; }
.ln { display: flex; gap: .55rem; align-items: center; border-bottom: 1px solid var(--line); min-height: 45px; }
.ln span { flex: 1; overflow-wrap: anywhere; }
.x { width: 44px; height: 44px; border: 0; background: transparent; color: var(--burgundy); font-size: 1.25rem; }
label { display: block; margin-top: .85rem; font-size: .9rem; font-weight: 600; }
input, textarea { display: block; color: var(--ink); background: var(--ivory); width: 100%; min-width: 0; min-height: 46px; margin-top: .25rem; padding: .6rem .7rem; border: 1px solid #ae9190; border-radius: 0; font-size: 1rem; font-weight: 400; }
textarea { resize: vertical; min-height: 90px; }
.summary { min-height: 12rem; font-size: .92rem; background: var(--rose-paper); }
.step .summary { margin-top: .9rem; }
.acts, .note, .contact-options { margin-top: .8rem; }
summary { min-height: 44px; padding-block: .55rem; color: var(--burgundy); font-weight: 600; }
.contact-options a { display: inline-flex; align-items: center; min-height: 44px; }
.note:empty, .hint:empty { display: none; }
#policies { padding-block: clamp(1.6rem, 4vw, 3rem); border-top: 1px solid var(--line); }
#ordering-title { font-size: clamp(2.3rem, 5vw, 3.6rem); margin-bottom: .45rem; }
.ordering-steps { display: grid; gap: .85rem 1.4rem; margin-top: 1rem; }
.ordering-steps > div { border-top: 1px solid var(--line); padding-top: .65rem; }
.ordering-steps h3 { font-size: 1.55rem; margin-bottom: .25rem; }
.ordering-steps p { max-width: 55ch; }
@media (min-width: 780px) {
  .ordering-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
footer { background: #4e1120; color: var(--ivory); padding: 3.8rem 0 calc(3rem + env(safe-area-inset-bottom)); }
footer h2 { color: var(--blush); }
footer h2 { margin-block: .5rem 1rem; }
footer p { max-width: 56ch; }
footer .btn, footer .btn.o { border-color: var(--blush); }
footer .btn { background: var(--blush); color: var(--ink); }
footer .btn.o { color: var(--blush); }
@media (max-width: 479px) {
  .hero .btn, .acts .btn { width: 100%; }
  .pv svg { width: min(100%, 11rem); }
}
@media (min-width: 540px) {
  .g2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
  #steps { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 780px) {
  h1 { font-size: clamp(3.25rem, 6.7vw, 6.6rem); }
  .hero { grid-template-columns: 1.05fr .95fr; gap: clamp(2.25rem, 5vw, 6rem); }
  .hero .bouquet-media { aspect-ratio: 1.08; }
  .bw { grid-template-columns: .8fr 1.2fr; align-items: start; gap: clamp(1.15rem, 4vw, 3rem); }
  .prev { position: sticky; top: calc(var(--header-clearance) + env(safe-area-inset-top)); }
  .pv svg { width: 100%; max-height: min(55vh, 30rem); }
}
@media (min-width: 980px) {
  .mb { display: none; }
  :root { --header-clearance: 116px; }
  .nav .w { min-height: 106px; }
  .brand img { height: 102px; }
  .nav ul, .nav ul.o { display: flex; align-items: center; gap: 1.25rem; position: static; padding: 0; border: 0; max-height: none; overflow: visible; }
  .nav ul.o li + li { border-top: 0; }
  .nav-controls { flex-direction: row-reverse; gap: 1.15rem; }
  .nav .nav-cta { border: 1px solid var(--line); padding-inline: .75rem; }
  .col { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .col figcaption h3 { font-size: 1.7rem; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .btn, .lnk, .chip, .swatch, .wrap-options button, #steps button, .col figure, .gal figure { transition: box-shadow .2s ease, background-color .2s ease, border-color .2s ease; }
  .bouquet-media img { transition: transform .45s ease; }
  figure:hover .bouquet-media img { transform: scale(1.025); }
  .col figure:hover, .gal figure:hover { box-shadow: 0 12px 25px #71162812; border-color: #b98e91; }
}
@media (hover: hover) {
  .btn:hover, .chip:hover, .swatch:hover, .wrap-options button:hover, #steps button:hover { box-shadow: inset 0 0 0 1px currentColor; }
  .lnk:hover, .nav li a:hover { text-decoration: underline; text-underline-offset: .25em; }
}
@media (prefers-reduced-motion: no-preference) {
  .step:not([hidden]) { animation: enter .23s ease-out; }
  @keyframes enter { from { opacity: .6; transform: translateY(4px); } }
}
@media (prefers-reduced-motion: reduce) { :root { scroll-behavior: auto; } }
.preview-link { display: inline-flex; align-items: center; }
@media (min-width: 780px) { .preview-link { display: none; } }

.mobile-nav, .mobile-only, .step-options > summary { display: none; }
.photo-open {
  position: absolute;
  inset: 0;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--burgundy);
  cursor: zoom-in;
}
.photo-open:focus-visible { outline-offset: -4px; z-index: 1; }
.photo-icon {
  position: absolute;
  inset: auto .4rem .4rem auto;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  background: var(--paper);
}
#bouquet-dialog {
  width: min(calc(100% - 1rem), 44rem);
  max-height: calc(100dvh - 1rem - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  padding: clamp(.75rem, 3vw, 1.25rem);
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  overscroll-behavior: contain;
}
#bouquet-dialog::backdrop { background: #292021b8; }
:root:has(#bouquet-dialog[open]) { overflow: hidden; }
.dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: .6rem; margin-bottom: .5rem; }
.dialog-head h2 { font-size: clamp(1.65rem, 5vw, 2.5rem); }
.dialog-close {
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--burgundy);
  font-size: 1.4rem;
}
.expanded-photo { display: block; width: 100%; height: min(49dvh, 32rem); object-fit: contain; background: var(--rose-paper); margin-bottom: .6rem; }
.quick-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
#bouquet-dialog .pv svg { width: min(100%, 20rem); }

@media (max-width: 779px) {
  :root { --mobile-nav-height: calc(60px + env(safe-area-inset-bottom)); }
  body { display: flex; flex-direction: column; height: 100dvh; overflow: hidden; }
  .site-scroll {
    flex: 1;
    min-height: 0;
    overflow: auto;
    scroll-padding-top: calc(var(--header-clearance) + env(safe-area-inset-top));
    scroll-padding-bottom: .75rem;
  }
  @media (prefers-reduced-motion: no-preference) {
    .site-scroll { scroll-behavior: smooth; }
  }
  a, button, summary { touch-action: manipulation; }
  .mobile-nav {
    flex: none;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .5rem;
    min-height: var(--mobile-nav-height);
    padding: .2rem max(.5rem, env(safe-area-inset-right)) calc(.2rem + env(safe-area-inset-bottom)) max(.5rem, env(safe-area-inset-left));
    border-top: 1px solid var(--line);
    background: var(--ivory);
  }
  .mobile-nav a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: .2rem;
    min-height: 48px;
    border-radius: .25rem;
    color: var(--burgundy);
    text-decoration: none;
    font-size: .79rem;
    font-weight: 600;
    line-height: 1.2;
  }
  .mobile-nav a:active, .btn:active, .chip:active, .swatch:active { box-shadow: inset 0 0 0 2px currentColor; }
  body:has(input:focus, textarea:not([readonly]):focus) .mobile-nav { display: none; }
  .mobile-only { display: initial; }
  .lnk.mobile-only { display: inline-flex; align-items: center; }
  .desktop-hint, .bw > .prev { display: none; }
  .builder { display: flex; flex-direction: column; align-items: stretch; }
  .builder .preview-link { align-self: flex-start; margin-top: 0; }
  #steps { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: .8rem; }
  #steps button { font-size: clamp(.65rem, 2.5vw, .85rem); }
  .step-options { margin-top: .65rem; border-top: 1px solid var(--line); }
  .step-options > summary { display: list-item; }
  .step-actions:not(:empty) { display: flex; flex-wrap: nowrap; }
  .step-actions .btn { min-height: 50px; }
  .step-actions .btn:not(.o) { flex: 1; }
  #quote-actions .acts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  #quote-actions [data-a="copy"] { grid-column: 1 / -1; }
  .quick-actions .btn { width: 100%; padding-inline: .45rem; }

  #collections, #gallery { padding-block: clamp(2.4rem, 7vw, 3.8rem); }
  .section-head { margin-bottom: 1.15rem; }
  .col, .gal { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
  .col figure, .gal figure { padding: .35rem; }
  .col figcaption, .gal figcaption { padding: .5rem .2rem .05rem; }
  .col h3, .gal h3 { font-size: clamp(1.16rem, 4.5vw, 1.75rem); }
  .col .hint, .gal .hint { font-size: .79rem; line-height: 1.4; }
  .col .lnk, .gal .lnk { font-size: .79rem; line-height: 1.25; }
}

select { display: block; width: 100%; min-height: 46px; margin-top: .25rem; padding: .55rem; border: 1px solid #ae9190; background: var(--ivory); color: var(--ink); font: inherit; }
.stem-total { margin: .65rem 0 .25rem; font-weight: 600; color: var(--burgundy); }
.stem-adjust { flex: 0 0 44px; border: 1px solid var(--line); }
.x:disabled { opacity: .45; cursor: default; }
.order-specs { margin: .65rem 0; color: var(--burgundy); font-weight: 600; }
#order-form .hint { margin-block: .75rem; }
#order-form .btn { margin-top: .75rem; min-height: 48px; }
#order-form button:disabled { opacity: .65; cursor: wait; }
.order-trap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.order-success { margin-block: 1rem; padding: 1rem; border: 1px solid var(--line); background: var(--rose-paper); }
.order-success .btn { margin-top: .65rem; }
#order-challenge { margin-block: .5rem; min-width: 0; }
@media (max-width: 779px) {
  #order-form .btn, .order-success .btn { width: 100%; }
  #clines .ln { gap: .25rem; }
}
