/* Weekly Floral Home Delivery - "Garden Editorial" (Robert A1, 14 Nov 2026)
   Cormorant Garamond headings + Karla body, self-hosted (SIL Open Font License).
   Palette: ivory #FAF7F2, blush #E8C6BE, sage #8A9A7B, forest #2F3E34. */

@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 500; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 500; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-500-italic.woff2") format("woff2"); }
@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/cormorant-garamond-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Karla"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/karla-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Karla"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/karla-latin-600-normal.woff2") format("woff2"); }

:root {
  color-scheme: light;
  --ivory: #FAF7F2;
  --paper: #FFFDF9;
  --blush: #E8C6BE;
  --blush-soft: #F5E6E1;
  --rose: #9A5A50;          /* text-safe accent on ivory (AA) */
  --sage: #8A9A7B;
  --sage-soft: #EEF1E8;
  --forest: #2F3E34;
  --ink: #26302A;
  --muted: #5E6A60;
  --line: #E4DED4;
  --error: #A23B2C;
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Karla", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(47,62,52,.06), 0 8px 24px rgba(47,62,52,.07);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 400 1.0625rem/1.7 var(--sans); }
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--rose); text-underline-offset: .18em; }
a:hover { color: var(--forest); }
:focus-visible { outline: 3px solid var(--sage); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--forest); line-height: 1.12; margin: 0 0 .5em; letter-spacing: .005em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.25rem); }
h2 { font-size: clamp(2rem, 4.2vw, 2.9rem); }
h3 { font-size: 1.6rem; }
h1 em, h2 em { font-style: italic; color: var(--rose); }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.wrap.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.plain { list-style: none; margin: 0; padding: 0; }
.plain li { margin: .25em 0; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; z-index: 10; background: var(--paper); padding: 8px 12px; }

.eyebrow { font: 600 .78rem/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--sage); margin-bottom: .9em; }
.lead { font-size: 1.2rem; color: var(--muted); }
.section-lead { max-width: 620px; margin: 0 auto 2.5rem; color: var(--muted); }

/* Buttons */
.btn { display: inline-block; background: var(--forest); color: var(--ivory); border: 1.5px solid var(--forest);
  padding: .85em 1.6em; border-radius: 999px; font: 600 1rem/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, transform .2s; }
.btn:hover { background: #1f2a23; color: var(--ivory); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--forest); }
.btn-ghost:hover { background: var(--forest); color: var(--ivory); }
.btn-light { background: var(--ivory); color: var(--forest); border-color: var(--ivory); }
.btn-light:hover { background: var(--blush-soft); color: var(--forest); }
.btn-small { padding: .55em 1.1em; font-size: .92rem; }
.btn-wide { width: 100%; padding: 1em; font-size: 1.1rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(250,247,242,.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--forest); }
.brand .sprig { width: 38px; height: 38px; color: var(--sage); flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-main { font: 500 1.6rem/1 var(--serif); }
.brand-sub { font: 600 .66rem/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--sage); margin-top: 5px; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a:not(.btn) { color: var(--ink); text-decoration: none; font-size: .97rem; }
.site-nav a:not(.btn):hover { color: var(--rose); }
@media (max-width: 860px) {
  .site-nav a:not(.btn) { display: none; }
}
@media (max-width: 420px) {
  .brand-main { font-size: 1.35rem; }
  .brand .sprig { width: 32px; height: 32px; }
  .site-nav .btn { padding: .5em .9em; font-size: .85rem; }
}

/* Hero */
.hero { padding: clamp(40px, 7vw, 96px) 0 clamp(40px, 6vw, 80px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.hero-copy .lead { max-width: 34em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.6em 0 1em; }
.hero-note { font-size: .95rem; color: var(--muted); }
.hero-art .bouquet { width: 100%; max-width: 480px; margin: 0 auto; }
@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art .bouquet { max-width: 300px; }
}

/* Sections */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-tight { padding: clamp(28px, 4vw, 48px) 0 clamp(56px, 8vw, 96px); }
.section-tint { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } }
.page-head { padding: clamp(40px, 6vw, 72px) 0 0; }

/* Steps */
.steps { list-style: none; margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.steps li { position: relative; padding-top: 8px; }
.steps h3 { font-size: 1.45rem; margin-top: .6em; }
.steps p { color: var(--muted); font-size: 1rem; }
.step-num { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: var(--blush-soft); color: var(--rose); font: 600 1.35rem/1 var(--serif); border: 1px solid var(--blush); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Packages */
.packages { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.package { background: var(--ivory); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px;
  display: flex; flex-direction: column; text-align: center; }
.package h3 { font-size: 1.8rem; margin-bottom: .2em; }
.package .price { margin: .2em 0 .8em; }
.package .amount { font: 500 3rem/1 var(--serif); color: var(--forest); }
.package .per { color: var(--muted); }
.package p { color: var(--muted); }
.package .btn { margin-top: auto; }
.package-featured { background: var(--forest); border-color: var(--forest); box-shadow: var(--shadow); }
.package-featured h3, .package-featured .amount { color: var(--ivory); }
.package-featured p, .package-featured .per, .package-featured li { color: #DCE3D6; }
.package-featured .btn { background: var(--blush); border-color: var(--blush); color: var(--forest); }
.package-featured .btn:hover { background: var(--ivory); border-color: var(--ivory); }
.ticks { text-align: left; margin: 0 0 1.4em; padding-left: 1.2em; }
@media (max-width: 860px) { .packages { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; } }

/* Colour dots */
.dot { display: inline-block; width: 44px; height: 44px; border-radius: 50%; background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(0,0,0,.10); }
.dot-sm { width: 16px; height: 16px; vertical-align: -3px; }
.palette-preview { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; justify-items: center;
  padding: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
@media (max-width: 420px) { .palette-preview { grid-template-columns: repeat(4, 1fr); } }

/* FAQ */
.faq { margin-top: 2rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; padding: 16px 36px 16px 0; position: relative;
  font: 500 1.4rem/1.3 var(--serif); color: var(--forest); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font: 400 1.6rem/1 var(--sans); color: var(--sage); }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: var(--muted); }

.cta-band { background: var(--forest); color: #DCE3D6; }
.cta-band h2 { color: var(--ivory); }

/* Footer */
.site-footer { background: var(--paper); border-top: 1px solid var(--line); padding: 48px 0 24px; font-size: .97rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-brand { font: 500 1.5rem/1.2 var(--serif); color: var(--forest); margin-bottom: .3em; }
.footer-head { font: 600 .78rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--sage); }
.footer-base { margin-top: 32px; padding-top: 16px; border-top: 1px solid var(--line); font-size: .88rem; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }

/* Forms */
.form { display: grid; gap: 22px; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin: 0; min-width: 0; }
fieldset.card { display: grid; gap: 16px; }
legend { font: 500 1.6rem/1.2 var(--serif); color: var(--forest); padding: 0 6px; margin-left: -6px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-short { max-width: 160px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } .field-short { max-width: none; } }
label { font-weight: 600; font-size: .97rem; }
.optional { font-weight: 400; color: var(--muted); font-size: .9rem; }
input[type=text], input[type=tel], input[type=email], input[type=password], textarea, select {
  width: 100%; font: inherit; color: var(--ink); background: #fff; border: 1.5px solid #D5CEC2; border-radius: 10px; padding: .7em .85em; }
input:focus, textarea:focus, select:focus { border-color: var(--sage); outline: none; box-shadow: 0 0 0 3px rgba(138,154,123,.25); }
[aria-invalid=true] { border-color: var(--error) !important; }
.field-error { color: var(--error); font-size: .93rem; margin: 0; }
.hint { color: var(--muted); font-size: .95rem; margin: -6px 0 0; }
.alert { background: #FBEDEA; border: 1px solid #EBC2BA; color: #7A2E22; border-radius: 10px; padding: 12px 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.choice-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
@media (max-width: 640px) { .choice-grid { grid-template-columns: 1fr 1fr; } }
.choice-list { display: grid; gap: 10px; }
.choice { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; background: #fff; border: 1.5px solid #E2DBD0;
  border-radius: 12px; padding: 12px 14px; cursor: pointer; line-height: 1.35; }
.choice:has(input:checked) { border-color: var(--forest); background: var(--sage-soft); }
.choice input { margin-top: 3px; accent-color: var(--forest); }
.choice small { color: var(--muted); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; cursor: pointer; }
.check input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--forest); flex: none; }
.check.has-error span { color: var(--error); }

/* Room colour chart */
.rooms { display: grid; gap: 12px; }
.room { background: #fff; border: 1.5px solid #E2DBD0; border-radius: 12px; }
.room summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 16px; }
.room summary::-webkit-details-marker { display: none; }
.room summary::after { content: "\25BE"; color: var(--sage); }
.room[open] summary::after { content: "\25B4"; }
.room-title { font: 500 1.35rem/1.2 var(--serif); color: var(--forest); }
.room-dots { display: flex; gap: 4px; margin-left: auto; }
.room-body { padding: 0 16px 16px; display: grid; gap: 8px; }
.family { font: 600 .74rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 10px 0 2px; }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.swatch { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; font-weight: 400;
  font-size: .82rem; text-align: center; cursor: pointer; padding: 6px 2px; border-radius: 10px; line-height: 1.2; }
.swatch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.swatch .chip { width: 48px; height: 48px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.12);
  position: relative; transition: transform .15s; }
.swatch:hover .chip { transform: scale(1.06); }
.swatch input:checked + .chip { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--forest); }
.swatch input:checked + .chip::after { content: ""; position: absolute; left: 37%; top: 22%; width: 22%; height: 38%;
  border: solid var(--forest); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.swatch-dark input:checked + .chip::after { border-color: #fff; }
.swatch input:focus-visible + .chip { outline: 3px solid var(--sage); outline-offset: 5px; }
.swatch input:checked ~ .swatch-name { font-weight: 600; color: var(--forest); }
@media (max-width: 560px) {
  .card { padding: 18px 14px; }
  .room-body { padding: 0 8px 12px; }
  .swatches { grid-template-columns: repeat(4, 1fr); gap: 2px; }
  .swatch { font-size: .74rem; padding: 6px 0; }
  .swatch .chip { width: 42px; height: 42px; }
}
.js-only { display: none; }
.has-js .js-only { display: inline-block; justify-self: start; }

/* Thank you */
.thanks .thanks-art .sprig { width: 72px; height: 72px; margin: 0 auto 16px; color: var(--sage); }

/* Legal */
.prose h2 { font-size: 1.8rem; margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.draft-note { background: #FFF6DA; border: 1px solid #EBD99A; border-radius: 10px; padding: 10px 14px; font-size: .95rem; }

/* Admin */
.admin-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.requests { display: grid; gap: 18px; margin-top: 18px; }
.request-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.request-head h2 { font-size: 1.8rem; margin: 0; }
.pill { background: var(--blush-soft); color: var(--rose); border: 1px solid var(--blush); border-radius: 999px; padding: 3px 12px; font-size: .85rem; font-weight: 600; white-space: nowrap; }
.status-closed { opacity: .7; }
.status-customer .pill { background: var(--sage-soft); color: var(--forest); border-color: var(--sage); }
.kv { display: grid; grid-template-columns: max-content 1fr; gap: 6px 18px; margin: 14px 0; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; overflow-wrap: anywhere; }
.request-rooms { display: grid; gap: 8px; margin: 10px 0; }
.request-room { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.room-colors { display: flex; flex-wrap: wrap; gap: 6px; }
.color-tag { display: inline-flex; align-items: center; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px 3px 4px; font-size: .9rem; }
.request-notes { background: var(--ivory); border-radius: 10px; padding: 10px 14px; white-space: normal; }
.status-form { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 14px; }
.status-form select { width: auto; }
code { background: var(--sage-soft); padding: 1px 6px; border-radius: 6px; font-size: .9em; }

/* Photos (tools\make_images.py makes assets/img/<name>-lg.webp / -sm.webp) */
.hero-art.has-photo { position: relative; }
.hero-art.has-photo::before { content: ""; position: absolute; inset: 8% -6% -6% 10%; background: var(--blush-soft); border-radius: 28px; z-index: 0; }
.hero-photo { position: relative; z-index: 1; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; box-shadow: var(--shadow); }
@media (max-width: 820px) {
  .hero-photo { aspect-ratio: 4 / 3; }
  .hero-art.has-photo::before { inset: 6% -3% -4% 6%; }
}

.how-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 64px); align-items: center; margin-top: 2.5rem; }
.how-grid .steps { margin-top: 0; }
.steps-2 { grid-template-columns: 1fr 1fr; }
.how-photo { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; }
@media (max-width: 900px) {
  .how-grid { grid-template-columns: 1fr; }
  .how-photo { aspect-ratio: 16 / 10; }
}
@media (max-width: 520px) { .steps-2 { grid-template-columns: 1fr; } }

.package-art { margin: -32px -28px 22px; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; }
.package-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

.room-mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.room-tile { margin: 0; position: relative; border-radius: 16px; overflow: hidden; }
.room-photo { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.room-tile figcaption { position: absolute; left: 10px; bottom: 10px; background: rgba(250,247,242,.92); color: var(--forest);
  font-size: .85rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.palette-strip { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 22px; }
.dot-strip { width: 22px; height: 22px; }

.split-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 22px; }
.meet { margin-top: 2.2rem; padding-top: 1.8rem; border-top: 1px solid var(--line); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .swatch .chip { transition: none; }
}
