/* Birch St Flowers & Boutique — style.css
   "Small-Town Bloom" — botanical green, dusty rose, birch cream. Warm, hand-crafted. */

:root {
  --evergreen-800: #2f3d2f;
  --sage-500: #7c8f6e;
  --blush-400: #dba0a0;
  /* --blush-400 is decorative only. --blush-600 is the AA-safe rose for text on light. */
  --blush-600: #b8707a;
  --birch-100: #f6f1e7;
  --birch-50: #fbf8f2;
  --line: #e6ddc8;

  --grad-bloom: linear-gradient(135deg, var(--blush-400), var(--sage-500));
  --grad-dark: linear-gradient(135deg, var(--evergreen-800), #1c241c);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-script: "Caveat", "Segoe Script", cursive;
  --font-body: "Work Sans", -apple-system, "Segoe UI", Roboto, sans-serif;

  --sh-sm: 0 2px 12px rgba(47, 61, 47, .07);
  --sh-md: 0 12px 32px rgba(47, 61, 47, .11);
  --sh-lg: 0 26px 64px rgba(47, 61, 47, .2);

  --radius: 18px;
  --nav-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.03rem;
  line-height: 1.72;
  color: var(--evergreen-800);
  background: var(--birch-50);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 500; margin: 0; color: var(--evergreen-800); letter-spacing: -.01em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.section-inner { max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; }
.eyebrow { font-family: var(--font-body); font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--blush-600); }
.section-h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.14; max-width: 22ch; text-wrap: balance; margin-top: .8rem; }
.section-h2 em { font-style: italic; color: var(--blush-600); }
.section-lead { color: var(--evergreen-800); opacity: .8; font-size: 1.03rem; max-width: 58ch; margin-top: 1rem; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
:focus-visible { outline: 2px solid var(--blush-600); outline-offset: 3px; border-radius: 3px; }

/* ===== REVEAL ===== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .75s cubic-bezier(.2,.6,.2,1), transform .75s cubic-bezier(.2,.6,.2,1); }
.reveal.visible { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .2s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .9rem 1.8rem; border-radius: 999px;
  font-family: var(--font-body); font-weight: 600; font-size: .94rem;
  border: none; cursor: pointer;
  transition: transform .28s cubic-bezier(.2,.6,.2,1), box-shadow .28s, background .28s, color .28s, border-color .28s;
}
.btn-bloom { background: var(--grad-bloom); color: #fff; box-shadow: var(--sh-md); }
.btn-bloom:hover { transform: translateY(-2px); box-shadow: var(--sh-lg); }
.btn-glass { background: rgba(255,255,255,.2); color: var(--evergreen-800); border: 1.5px solid rgba(255,255,255,.65); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-glass:hover { background: rgba(255,255,255,.36); transform: translateY(-2px); }
.btn-quiet { background: #fff; color: var(--evergreen-800); border: 1.5px solid var(--line); }
.btn-quiet:hover { border-color: var(--blush-600); color: var(--blush-600); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }

/* ===== NAV ===== */
#nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: var(--nav-h); display: flex; align-items: center; transition: background .35s, box-shadow .35s; }
#nav.at-top { background: transparent; }
#nav.scrolled { background: rgba(251, 248, 242, .86); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--sh-sm); }
.nav-inner { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }

.nav-logo { display: flex; flex-direction: column; line-height: 1.02; }
.nav-logo-main { font-family: var(--font-display); font-weight: 600; font-size: 1.24rem; }
.nav-logo-main em { font-style: italic; color: var(--blush-600); }
.nav-logo-sub { font-family: var(--font-body); font-size: .55rem; letter-spacing: .26em; text-transform: uppercase; opacity: .68; margin-top: 3px; }

.nav-links { display: none; list-style: none; margin: 0; padding: 0; gap: 2rem; }
.nav-links a { font-size: .91rem; font-weight: 500; position: relative; padding-bottom: 5px; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 1.5px; background: var(--blush-600); transition: right .32s cubic-bezier(.2,.6,.2,1); }
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.nav-phone { display: none; align-items: center; gap: .45rem; font-size: .9rem; font-weight: 600; padding: .55rem 1.2rem; border-radius: 999px; border: 1.5px solid var(--line); transition: border-color .3s, color .3s; }
.nav-phone:hover { border-color: var(--blush-600); color: var(--blush-600); }
@media (min-width: 900px) { .nav-links, .nav-phone { display: flex; } }

.hbg { width: 42px; height: 42px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; background: none; border: none; cursor: pointer; padding: 0; }
@media (min-width: 900px) { .hbg { display: none; } }
.hbg span { width: 22px; height: 1.8px; background: var(--evergreen-800); transition: transform .28s, opacity .28s; }
.hbg.open span { background: var(--birch-50); }
.hbg.open span:nth-child(1) { transform: translateY(6.8px) rotate(45deg); }
.hbg.open span:nth-child(2) { opacity: 0; }
.hbg.open span:nth-child(3) { transform: translateY(-6.8px) rotate(-45deg); }

.mob-ov { position: fixed; inset: 0; background: var(--grad-dark); z-index: 99; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2.2rem; transform: translateX(100%); transition: transform .42s cubic-bezier(.2,.6,.2,1); }
.mob-ov.open { transform: translateX(0); }
@media (prefers-reduced-motion: reduce) { .mob-ov { transition: none; } }
.mob-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1.6rem; text-align: center; }
.mob-links a { font-family: var(--font-display); font-size: 1.7rem; color: var(--birch-50); }
.mob-links a:hover { color: var(--blush-400); }
.mob-phone { color: var(--blush-400); font-weight: 600; font-size: 1.05rem; }

/* ===== HERO ===== */
#hero { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; background: var(--birch-100); }

/* Botanical field: soft blurred blooms + drifting petal shapes. Photography, when the
   owner's own images are available, layers in behind this via .hero-photo. */
.bloom-field { position: absolute; inset: -14%; z-index: 0; filter: blur(72px); opacity: .92; }
.bloom { position: absolute; border-radius: 50%; will-change: transform; }
.bloom-1 { width: 44vw; height: 44vw; min-width: 330px; min-height: 330px; top: -5%; left: -5%; background: radial-gradient(circle at 38% 38%, rgba(219,160,160,.82), rgba(219,160,160,0) 70%); animation: drift-1 36s ease-in-out infinite alternate; }
.bloom-2 { width: 40vw; height: 40vw; min-width: 300px; min-height: 300px; bottom: -12%; right: -6%; background: radial-gradient(circle at 58% 42%, rgba(124,143,110,.6), rgba(124,143,110,0) 70%); animation: drift-2 44s ease-in-out infinite alternate; }
.bloom-3 { width: 32vw; height: 32vw; min-width: 250px; min-height: 250px; top: 34%; right: 20%; background: radial-gradient(circle at 50% 50%, rgba(184,112,122,.36), rgba(184,112,122,0) 70%); animation: drift-3 40s ease-in-out infinite alternate; }
.bloom-4 { width: 28vw; height: 28vw; min-width: 220px; min-height: 220px; bottom: 10%; left: 16%; background: radial-gradient(circle at 46% 54%, rgba(246,241,231,.95), rgba(246,241,231,0) 70%); animation: drift-4 48s ease-in-out infinite alternate; }
@keyframes drift-1 { from { transform: translate(0,0) scale(1); } to { transform: translate(5%, 7%) scale(1.12); } }
@keyframes drift-2 { from { transform: translate(0,0) scale(1.08); } to { transform: translate(-6%, -5%) scale(1); } }
@keyframes drift-3 { from { transform: translate(0,0) scale(1); } to { transform: translate(-8%, 5%) scale(1.14); } }
@keyframes drift-4 { from { transform: translate(0,0) scale(1.05); } to { transform: translate(7%, -6%) scale(1); } }
@media (prefers-reduced-motion: reduce) { .bloom { animation: none; } }

/* Drifting petal/leaf silhouettes — the botanical variant of the portfolio's blob layer */
.petal-layer { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.petal { position: absolute; will-change: transform; opacity: .5; }
.petal-1 { top: 12%; left: 8%;  width: 62px; animation: petal-a 30s ease-in-out infinite alternate; }
.petal-2 { top: 62%; left: 22%; width: 44px; animation: petal-b 38s ease-in-out infinite alternate; }
.petal-3 { top: 26%; right: 14%; width: 76px; animation: petal-c 34s ease-in-out infinite alternate; }
.petal-4 { bottom: 16%; right: 26%; width: 52px; animation: petal-a 42s ease-in-out infinite alternate reverse; }
.petal-5 { top: 46%; left: 46%; width: 38px; animation: petal-b 46s ease-in-out infinite alternate; }
@keyframes petal-a { from { transform: translate(0,0) rotate(-8deg); } to { transform: translate(18px,-22px) rotate(10deg); } }
@keyframes petal-b { from { transform: translate(0,0) rotate(6deg); } to { transform: translate(-16px,18px) rotate(-12deg); } }
@keyframes petal-c { from { transform: translate(0,0) rotate(-4deg); } to { transform: translate(-20px,-14px) rotate(9deg); } }
@media (prefers-reduced-motion: reduce) { .petal { animation: none; } }

/* Optional real-photograph backdrop (used only if the owner's own photos are available) */
.hero-photo { position: absolute; inset: 0; z-index: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(110deg, rgba(28,36,28,.6) 0%, rgba(28,36,28,.3) 50%, rgba(28,36,28,.1) 100%); }

.hero-inner { position: relative; z-index: 3; width: 100%; max-width: 1160px; margin: 0 auto; padding: calc(var(--nav-h) + 3rem) 1.5rem 4rem; }
.hero-panel {
  max-width: 640px;
  background: rgba(251, 248, 242, .58);
  backdrop-filter: blur(20px) saturate(1.08);
  -webkit-backdrop-filter: blur(20px) saturate(1.08);
  border: 1px solid rgba(255,255,255,.62);
  border-radius: var(--radius);
  padding: 2.9rem 2.5rem;
  box-shadow: var(--sh-lg);
}
@media (max-width: 520px) { .hero-panel { padding: 2.1rem 1.5rem; } }
.hero-eyebrow { font-family: var(--font-body); font-size: .73rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--blush-600); margin-bottom: 1rem; }
.hero-h1 { font-size: clamp(2.5rem, 6.4vw, 4.2rem); line-height: 1.04; font-weight: 400; text-wrap: balance; }
.hero-h1 em { font-style: italic; color: var(--blush-600); font-weight: 500; }
.hero-sub { margin-top: 1.35rem; font-size: 1.05rem; line-height: 1.72; opacity: .86; max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.hero-meta { margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--line); font-size: .87rem; opacity: .8; }
.hero-meta strong { font-weight: 600; opacity: 1; }

/* ===== TRUST BAR ===== */
.trust-bar { background: var(--grad-dark); padding: 1.5rem 0; }
.trust-inner { max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 1.1rem 1.4rem; }
.trust-item { display: flex; align-items: center; gap: .5rem; }
.trust-stars { color: var(--blush-400); letter-spacing: .12em; font-size: .95rem; }
.trust-label { color: var(--birch-50); font-size: .91rem; font-weight: 500; }
.trust-link { color: var(--birch-50); font-size: .91rem; font-weight: 500; border-bottom: 1px solid rgba(251,248,242,.34); padding-bottom: 1px; transition: color .3s, border-color .3s; }
.trust-link:hover { color: var(--blush-400); border-color: var(--blush-400); }
.trust-div { width: 1px; height: 16px; background: rgba(251,248,242,.22); }
@media (max-width: 700px) { .trust-div { display: none; } }

.badges { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-top: .3rem; }
.badge { display: inline-flex; align-items: center; gap: .35rem; padding: .32rem .8rem; border-radius: 999px; border: 1px solid rgba(251,248,242,.24); color: rgba(251,248,242,.82); font-size: .76rem; letter-spacing: .02em; }
.badge svg { flex-shrink: 0; opacity: .8; }

/* ===== SHOP ===== */
.shop { padding: 6.5rem 0; }
.shop-grid { display: grid; grid-template-columns: 1fr; gap: 1.5rem; margin-top: 3rem; }
@media (min-width: 820px) { .shop-grid { grid-template-columns: repeat(3, 1fr); } }
.shop-card { background: var(--birch-100); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.3rem 2rem; position: relative; overflow: hidden; transition: transform .35s cubic-bezier(.2,.6,.2,1), box-shadow .35s; }
.shop-card:hover { transform: translateY(-4px); box-shadow: var(--sh-md); }
@media (prefers-reduced-motion: reduce) { .shop-card:hover { transform: none; } }
.shop-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad-bloom); transform: scaleX(0); transform-origin: left; transition: transform .45s cubic-bezier(.2,.6,.2,1); }
.shop-card:hover::before { transform: scaleX(1); }
.shop-icon { width: 42px; height: 42px; margin-bottom: 1.2rem; color: var(--blush-600); }
.shop-card h3 { font-size: 1.42rem; margin-bottom: .65rem; }
.shop-card p { font-size: .97rem; opacity: .82; }
.shop-note { margin-top: 2.2rem; padding: 1.2rem 1.5rem; background: var(--birch-100); border-left: 3px solid var(--sage-500); border-radius: 0 12px 12px 0; font-size: .92rem; opacity: .85; max-width: 62ch; }

/* ===== WHY ===== */
.why { padding: 6.5rem 0; background: var(--birch-100); }
.why-grid { display: grid; grid-template-columns: 1fr; gap: 2.8rem; margin-top: 3rem; }
@media (min-width: 860px) { .why-grid { grid-template-columns: repeat(3, 1fr); gap: 2.4rem; } }
.why-num { display: block; font-family: var(--font-display); font-size: 3.2rem; font-weight: 400; font-style: italic; color: var(--blush-600); opacity: .32; line-height: 1; margin-bottom: .4rem; }
.why-card h3 { font-size: 1.34rem; margin-bottom: .7rem; }
.why-card p { font-size: .97rem; opacity: .82; }

/* ===== REVIEWS CAROUSEL ===== */
.reviews { padding: 6.5rem 0; background: var(--grad-dark); }
.reviews .eyebrow { color: var(--blush-400); }
.reviews .section-h2 { color: var(--birch-50); }
.reviews .section-h2 em { color: var(--blush-400); }
/* Shown until the sourced quotes are dropped in; hidden automatically once slides exist. */
.rv-fallback { margin-top: 1.2rem; color: rgba(251,248,242,.72); font-size: 1rem; }
.rv-fallback a { color: var(--blush-400); border-bottom: 1px solid rgba(219,160,160,.4); padding-bottom: 1px; }
.rv-fallback a:hover { color: var(--birch-50); border-color: var(--birch-50); }

.rv-carousel { max-width: 760px; margin: 3rem auto 0; }
.rv-viewport { overflow: hidden; transition: height .5s cubic-bezier(.4,0,.2,1); }
.rv-track { display: flex; list-style: none; margin: 0; padding: 0; transition: transform .6s cubic-bezier(.55,0,.25,1); }
@media (prefers-reduced-motion: reduce) { .rv-viewport, .rv-track { transition: none; } }
.rv-slide { flex: 0 0 100%; min-width: 0; align-self: flex-start; padding: 0 .3rem; }
.rv-stars { color: var(--blush-400); letter-spacing: .12em; margin-bottom: 1.2rem; font-size: .9rem; }
.rv-quote { font-family: var(--font-display); font-weight: 300; font-size: clamp(1.15rem, 2.4vw, 1.6rem); line-height: 1.58; color: var(--birch-50); text-wrap: pretty; }
.rv-attr { margin-top: 1.5rem; font-family: var(--font-body); font-size: .84rem; letter-spacing: .05em; color: rgba(251,248,242,.62); }
.rv-reply { margin-top: 1.3rem; padding: .9rem 1.1rem; background: rgba(251,248,242,.07); border-left: 2px solid var(--blush-400); border-radius: 0 10px 10px 0; }
.rv-reply p { font-size: .9rem; line-height: 1.6; color: rgba(251,248,242,.78); }
.rv-reply-label { font-family: var(--font-script); font-size: 1.05rem; color: var(--blush-400); display: block; margin-bottom: .2rem; }
.rv-controls { display: flex; align-items: center; justify-content: center; gap: 1.3rem; margin-top: 2.4rem; }
.rv-arrow { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(251,248,242,.26); background: transparent; color: var(--birch-50); cursor: pointer; transition: border-color .3s, color .3s, transform .3s; }
.rv-arrow:hover { border-color: var(--blush-400); color: var(--blush-400); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .rv-arrow:hover { transform: none; } }
.rv-dots { display: flex; align-items: center; gap: .55rem; }
.rv-dot { width: 7px; height: 7px; padding: 0; border: none; border-radius: 50%; background: rgba(251,248,242,.28); cursor: pointer; transition: background .3s, transform .3s; }
.rv-dot:hover { background: var(--blush-400); }
.rv-dot[aria-selected="true"] { background: var(--blush-400); transform: scale(1.45); }

/* ===== GALLERY ===== */
.gallery { padding: 6.5rem 0; background: var(--birch-50); }
.gallery-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 2.6rem; }
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 960px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
.gallery-item { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--birch-100); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s ease; }
.gallery-item:hover img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) { .gallery-item:hover img { transform: none; } }

/* ===== VISIT ===== */
.visit { padding: 6.5rem 0; background: var(--birch-100); }
.visit-grid { display: grid; grid-template-columns: 1fr; gap: 2.6rem; margin-top: 3rem; align-items: start; }
@media (min-width: 900px) { .visit-grid { grid-template-columns: .85fr 1.15fr; gap: 3.4rem; } }
.visit-block + .visit-block { margin-top: 2rem; }
.visit-block h3 { font-family: var(--font-body); font-size: .74rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--blush-600); margin-bottom: .6rem; }
.visit-block p, .visit-block a { font-size: 1.01rem; line-height: 1.68; }
.visit-block a:hover { color: var(--blush-600); }
.hours-callout { margin-top: 1.6rem; padding: 1.3rem 1.5rem; background: #fff; border: 1px solid var(--line); border-radius: 14px; }
.hours-callout p { font-size: .95rem; line-height: 1.6; }
.hours-callout .hours-cta { display: inline-flex; align-items: center; gap: .4rem; margin-top: .7rem; font-weight: 600; color: var(--blush-600); }
.hours-callout .hours-cta:hover { text-decoration: underline; }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--sh-sm); background: var(--birch-100); }
.map-wrap iframe { display: block; width: 100%; height: 420px; border: 0; }
@media (max-width: 620px) { .map-wrap iframe { height: 310px; } }

/* ===== FOOTER ===== */
.site-footer { background: var(--grad-dark); padding: 3.8rem 0 2rem; position: relative; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad-bloom); }
.footer-inner { display: grid; grid-template-columns: 1fr; gap: 2.2rem; color: rgba(251,248,242,.8); }
@media (min-width: 760px) { .footer-inner { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-logo { font-family: var(--font-display); font-size: 1.32rem; color: var(--birch-50); display: block; }
.footer-logo em { font-style: italic; color: var(--blush-400); }
.footer-logo-sub { font-size: .55rem; letter-spacing: .26em; text-transform: uppercase; color: rgba(251,248,242,.5); display: block; margin-top: 4px; }
.footer-brand p { margin-top: .9rem; font-size: .91rem; line-height: 1.65; color: rgba(251,248,242,.62); max-width: 32ch; }
.footer-signature { font-family: var(--font-script); font-size: 1.25rem; color: var(--blush-400); margin-top: 1rem; display: block; }
.footer-col h4 { font-family: var(--font-body); font-size: .71rem; letter-spacing: .18em; text-transform: uppercase; color: var(--blush-400); margin: 0 0 .85rem; font-weight: 600; }
.footer-col a, .footer-col p { display: block; font-size: .92rem; color: rgba(251,248,242,.8); margin-bottom: .42rem; }
.footer-col a:hover { color: var(--blush-400); }
.footer-copy { grid-column: 1 / -1; font-size: .79rem; color: rgba(251,248,242,.42); border-top: 1px solid rgba(251,248,242,.12); padding-top: 1.4rem; margin-top: .7rem; }
