/* Stocks & Stems. Tokens and rules: DESIGN.md. Fonts are self-hosted (SIL OFL). */
@font-face { font-family: 'Alice'; src: url('/fonts/alice-400-latin.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Open Sans'; src: url('/fonts/open-sans-latin-var.woff2') format('woff2'); font-weight: 300 800; font-style: normal; font-display: swap; }
@font-face { font-family: 'Poppins'; src: url('/fonts/poppins-600-latin.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --white: #ffffff;
  --cream: #fcfbf7;
  --linen: #f4f0e9;
  --line: #e7e2d8;
  --ink: #2e2e2e;
  --body: #555555;
  --muted: #6b6b6b;
  --rose: #ba1843;
  --gold: #e0c588;
  --gold-hover: #d4b26a;
  --gold-ink: #7d6125;
  --night: #1b1b1b;
  --serif: 'Alice', Georgia, 'Times New Roman', serif;
  --sans: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
  --button: 'Poppins', 'Open Sans', Arial, sans-serif;
  --container: 1120px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--body); font-family: var(--sans); font-size: 16px; line-height: 1.65; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; color: var(--ink); line-height: 1.2; margin: 0; text-wrap: balance; }
p { margin: 0 0 1em; }
ul { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--white); padding: 10px 16px; z-index: 50; border-radius: 4px; }
.skip-link:focus { top: 12px; }
.container { max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(760px + 2 * var(--gutter)); }
.centered { text-align: center; }

/* Header */
.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.header-row { display: flex; align-items: center; justify-content: space-between; min-height: 96px; gap: 24px; }
.brand { display: inline-flex; padding: 6px 0; }
.brand-logo { width: 74px; height: auto; }
.site-nav ul { display: flex; gap: 6px 4px; flex-wrap: wrap; justify-content: flex-end; }
.site-nav a { display: inline-block; padding: 10px 10px; font-size: 15px; color: #444; text-decoration: none; border-radius: 4px; }
.site-nav a:hover { color: var(--rose); }
.site-nav a[aria-current="page"] { color: var(--rose); font-weight: 600; }
.nav-toggle { display: none; }

/* Hero */
.hero { position: relative; min-height: 460px; display: grid; place-items: center; overflow: hidden; background: #6d5b5b; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ''; position: absolute; inset: 0; background: rgba(30, 20, 25, 0.32); }
.hero-text { position: relative; z-index: 1; text-align: center; color: var(--white); padding: 48px var(--gutter); }
.hero h1 { color: var(--white); font-size: clamp(44px, 6vw, 72px); }
.hero-tagline { margin: 18px 0 0; font-size: 17px; letter-spacing: 0.18em; text-transform: uppercase; }

/* Page banner */
.page-banner { position: relative; min-height: 240px; display: flex; align-items: center; overflow: hidden; background: var(--linen); }
.page-banner-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 70% center; }
.page-banner-text { position: relative; width: 100%; padding-top: 40px; padding-bottom: 40px; }
.page-banner h1 { font-size: clamp(36px, 4.4vw, 56px); max-width: 24ch; text-wrap: balance; }
.page-banner-sub { margin: 10px 0 0; font-size: 17px; color: var(--ink); max-width: 40ch; }

/* Sections */
.section { padding: 72px 0; }
.section-cream { background: var(--cream); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-ruled { padding-top: 0; }
.section-ruled > .container { border-top: 1px solid var(--line); padding-top: 56px; }
.section-title { font-size: clamp(28px, 3vw, 36px); }
.section-title-ruled { border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 32px; }
.section-title-ruled .section-title { margin: 0; }
.section-lead { margin: 10px 0 0; color: var(--muted); }
.rule { display: block; width: 48px; height: 2px; background: var(--gold); margin: 18px auto 36px; }
.prose p { max-width: 62ch; }
.prose .section-title { margin-bottom: 18px; }
.text-link { color: var(--gold-ink); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.text-link:hover { color: var(--rose); }

/* Home */
.specialties { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.specialty a { display: block; text-decoration: none; }
.specialty-img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.specialty h3 { font-size: 24px; margin: 16px 0 6px; }
.specialty a:hover h3 { color: var(--rose); }
.specialty p { font-size: 15px; color: var(--muted); margin: 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.split-center { align-items: center; }
.split-top { align-items: start; }
.split-form { align-items: start; }
.split-media img { width: 100%; }
.split-form .split-media img { aspect-ratio: 16 / 9; object-fit: cover; }
.photo-strip { display: grid; grid-template-columns: repeat(4, 1fr); }
.photo-strip img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field-wide, .field-choices { grid-column: 1 / -1; }
.field label, .field legend { font-size: 14px; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea {
  font: inherit; font-size: 16px; color: var(--ink); background: var(--white); border: 1px solid #cfc8bb; border-radius: 3px;
  padding: 12px 14px; min-height: 48px; width: 100%;
}
.section-cream .field input, .section-cream .field select, .section-cream .field textarea { background: #f6f4ef; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold-ink); outline: 2px solid var(--gold); outline-offset: 0; }
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: var(--rose); }
.field-choices { border: 0; padding: 0; margin: 4px 0 0; }
.field-choices legend { padding: 0; margin-bottom: 8px; }
.choices { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.choices-2 .choices { display: grid; grid-template-columns: 1fr 1fr; }
.choice { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; color: var(--body); cursor: pointer; }
.choice input { width: 20px; height: 20px; accent-color: var(--gold-ink); margin: 0; }
.form-group-title { font-size: 24px; margin: 32px 0 16px; }
.form-group-title:first-child { margin-top: 0; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 20px; }
.form-actions-end { justify-content: flex-end; }
.form-actions-start { justify-content: flex-start; flex-direction: row-reverse; }
.form-note { margin: 0; font-size: 14px; color: var(--muted); }
.form-status { margin: 12px 0 0; font-size: 15px; color: var(--ink); }
.form-status:empty { display: none; }
.button {
  font-family: var(--button); font-weight: 600; font-size: 14px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink); background: var(--gold); border: 0; border-radius: 999px; padding: 14px 30px; min-height: 48px; cursor: pointer;
  transition: background-color 0.15s ease;
}
.button:hover { background: var(--gold-hover); }
.button:active { transform: translateY(1px); }
.button[disabled] { opacity: 0.6; cursor: progress; }

/* About */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.pair img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.garden img { width: 100%; }

/* Flowers */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.follow { margin: 48px 0 0; padding-top: 28px; border-top: 1px solid var(--line); text-align: center; }
.follow-title { font-family: var(--serif); font-size: 22px; color: var(--ink); margin-right: 12px; }

/* Subscription */
.step-title { font-size: 18px; color: var(--gold-ink); margin: 20px 0 6px; }
.seasons { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.season { border: 1px solid var(--line); padding: 28px 20px; text-align: center; font-size: 15px; }
.season h3 { font-size: 20px; margin: 14px 0 6px; text-wrap: balance; }
.season-months { font-size: 13px; font-weight: 600; letter-spacing: 0.06em; color: var(--gold-ink); margin: 0 0 12px; }
.season p:last-child { margin: 0; }
.season-icon { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--linen); color: var(--gold-ink); }
.season-featured { border-color: var(--gold); background: var(--cream); }
.season-featured .season-icon { background: var(--gold); color: var(--ink); }
.reach h3 { font-size: 20px; margin: 22px 0 4px; }
.reach .section-title + h3 { margin-top: 18px; }
.reach a { color: var(--body); }
.reach a:hover { color: var(--rose); }
.reach .text-link { color: var(--gold-ink); }
.reach-follow { margin-top: 32px; }
.split-top > div > .section-title { margin-bottom: 22px; }

/* Weddings */
.wedding-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.wedding-gallery li.span-2 { grid-column: span 2; }
.wedding-gallery img { width: 100%; height: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.wedding-gallery li.span-2 img { aspect-ratio: auto; }
.offer { position: relative; overflow: hidden; background: #2a2224; color: #f3efe9; }
.offer-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: right center; }
.offer::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 16, 18, 0.88) 0%, rgba(20, 16, 18, 0.72) 50%, rgba(20, 16, 18, 0.2) 100%); }
.offer-text { position: relative; z-index: 1; padding-top: 88px; padding-bottom: 88px; }
.offer h2 { color: var(--white); font-size: clamp(28px, 3vw, 36px); max-width: 18ch; margin-bottom: 24px; }
.offer p { max-width: 58ch; }

/* Corporate */
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.trio img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }

/* Partners */
.tab-list { display: flex; flex-wrap: wrap; border-bottom: 1px solid var(--line); margin-bottom: 32px; }
.tab-list[hidden] { display: none; }
.tab-list button {
  font-family: var(--serif); font-size: 17px; color: var(--ink); background: none; border: 0; border-bottom: 2px solid transparent;
  padding: 12px 18px; min-height: 48px; cursor: pointer; margin-bottom: -1px;
}
.tab-list button:hover { color: var(--rose); }
.tab-list button[aria-selected="true"] { color: var(--gold-ink); border-bottom-color: var(--gold); }
.tabs-ready .tab-panel-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.tab-panel + .tab-panel { margin-top: 48px; }
.tabs-ready .tab-panel + .tab-panel { margin-top: 0; }
.tab-panel-title { font-size: 26px; margin-bottom: 20px; }
.tab-panel[hidden] { display: none; }
.partners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px 24px; }
.partner { text-align: center; }
.partner-photo { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.partner h3 { font-size: 20px; margin: 16px 0 10px; }
.partner-logo { margin: 0 auto; max-height: 44px; width: auto; mix-blend-mode: multiply; }

/* 404 */
.notfound { padding: 120px 0; }
.notfound .section-title { margin-bottom: 18px; }

/* Footer */
.site-footer { background: var(--night); color: #e9e6e1; font-size: 14px; }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; min-height: 72px; padding-top: 16px; padding-bottom: 16px; }
.site-footer p { margin: 0; }
.footer-links { display: flex; gap: 8px 20px; }
.footer-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #f3efe9; text-decoration: none; font-weight: 600; }
.footer-links a:hover { color: var(--gold); text-decoration: underline; }

/* Tablet */
@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid var(--line);
    border-radius: 6px; background: var(--white); color: var(--ink); cursor: pointer;
  }
  .nav-toggle .nav-toggle-close { display: none; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-open { display: none; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-close { display: inline; }
  .header-row { min-height: 72px; }
  .brand-logo { width: 56px; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08); }
  .site-nav.is-open { display: block; }
  .no-js .site-nav { display: block; position: static; box-shadow: none; border: 0; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 8px var(--gutter) 16px; }
  .site-nav a { display: block; padding: 12px 4px; font-size: 17px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .site-nav li:last-child a { border-bottom: 0; }
  .seasons { grid-template-columns: repeat(2, 1fr); }
}

/* Phone */
@media (max-width: 720px) {
  :root { --gutter: 16px; }
  .section { padding: 52px 0; }
  .hero { min-height: 340px; }
  .hero-tagline { font-size: 14px; letter-spacing: 0.14em; }
  .page-banner { min-height: 150px; }
  .page-banner-img { object-position: 38% center; }
  .page-banner-text { padding-top: 28px; padding-bottom: 28px; }
  .page-banner-sub { font-size: 15px; }
  .specialties, .split, .pair, .gallery, .trio, .partners, .seasons, .form-grid { grid-template-columns: 1fr; }
  .split { gap: 32px; }
  .split-center > .split-media:first-child { order: 0; }
  .photo-strip { grid-template-columns: repeat(2, 1fr); }
  .wedding-gallery { grid-template-columns: 1fr; }
  .wedding-gallery li.span-2 { grid-column: auto; }
  .wedding-gallery img, .wedding-gallery li.span-2 img { aspect-ratio: auto; height: auto; }
  .choices-2 .choices { grid-template-columns: 1fr; }
  .form-actions-end, .form-actions-start { flex-direction: column-reverse; align-items: stretch; }
  .form-actions .button { width: 100%; }
  .form-note { text-align: center; }
  .offer-text { padding-top: 56px; padding-bottom: 56px; }
  .offer::after { background: rgba(20, 16, 18, 0.8); }
  .tab-list { flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .tab-list button { white-space: nowrap; padding: 12px 14px; }
  .partners { gap: 36px; }
  .footer-row { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
