/*
 * Quintessential Blooms | Floral Atelier
 * Mobile-first stylesheet for ColdFusion 2023.
 * Base rules target phones. Min-width media queries enhance tablets/desktops.
 * Brand green: #5B604A
 */
:root {
    --brand-green: #5B604A;
    --forest: var(--brand-green);
    --forest-dark: #363B2E;
    --ink: #2C332B;
    --muted: #6D7067;
    --cream: #FBF9F4;
    --butter: #F4F0E6;
    --sand: #E9E4D8;
    --rose: #EACBC5;
    --white: #FFFEFD;
    --line: rgba(55, 62, 52, .16);
    --sans: 'DM Sans', 'Manrope', Arial, sans-serif;
    --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --container: 1320px;
}

/* Foundations: small screens first */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 85px; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); font-weight: 400; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
figure, p, h1, h2, h3 { margin: 0; }
button { font: inherit; }
:focus-visible { outline: 3px solid #C27F75; outline-offset: 4px; }
::selection { background: var(--rose); color: var(--forest-dark); }
.container { width: min(calc(100% - 38px), var(--container)); margin-inline: auto; }
.skip-link { position: absolute; left: 15px; top: -100px; z-index: 100; padding: 12px 20px; background: #fff; }
.skip-link:focus { top: 12px; }

/* Header and touch-friendly mobile navigation */
.announcement { background: var(--forest); color: #FCF9EF; font-size: 10px; font-weight: 500; letter-spacing: .07em; }
.announcement-inner { min-height: 32px; display: flex; justify-content: center; align-items: center; text-align: center; }
.announcement-right { display: none; }
.site-header { position: relative; z-index: 20; background: rgba(251, 249, 244, .98); border-bottom: 1px solid var(--line); }
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.wordmark { flex: none; width: max-content; display: flex; flex-direction: column; align-items: flex-start; line-height: 1; }
.wordmark-main { font-family: var(--serif); font-weight: 500; font-size: 33px; letter-spacing: -.085em; padding-right: 6px; line-height: 1.03; }
.wordmark-dot { color: #B98E85; }
.wordmark-sub { font-weight: 600; font-size: 6px; letter-spacing: .31em; margin-left: 5px; margin-top: 7px; }
.site-nav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 24px; margin: 0; background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(33, 44, 32, .08); }
.site-nav.is-open { display: flex; }
.site-nav a { display: flex; align-items: center; min-height: 51px; font-size: 15px; font-weight: 600; padding: 13px 0; border-bottom: 1px solid var(--line); }
.site-nav a:hover, .footer-links a:hover { color: var(--forest); }
.site-nav .mobile-nav-contact { display: flex; }
.nav-cta { display: none; }
.menu-toggle { display: block; flex: none; border: 0; padding: 12px; margin-right: -12px; min-width: 48px; min-height: 48px; background: transparent; cursor: pointer; }
.menu-toggle span { width: 26px; height: 1.5px; background: var(--ink); display: block; margin: 6px 0; transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(7.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7.5px) rotate(-45deg); }

/* Type, links, buttons */
.eyebrow { color: var(--forest); font-size: 10px; letter-spacing: .19em; font-weight: 700; line-height: 1.65; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -.055em; }
h1 em, h2 em { font-weight: 400; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 22px; padding: 17px 20px; min-height: 54px; font-size: 12px; line-height: 1.25; font-weight: 700; letter-spacing: .008em; transition: background .2s, transform .2s, color .2s; }
.button:hover { transform: translateY(-2px); }
.button span { font-size: 17px; font-weight: 400; }
.button-dark { color: #fff; background: var(--forest); }
.button-dark:hover { background: var(--forest-dark); }
.button-light { color: var(--forest-dark); background: #F1EDE0; }
.button-light:hover { background: #fff; }
.button-cream { background: #F8F3E9; color: var(--forest-dark); }
.button-cream:hover { background: #fff; }
.text-link { font-size: 12px; font-weight: 700; padding: 12px 0; border-bottom: 1px solid #979D90; }
.text-link span { margin-left: 12px; font-weight: 400; font-size: 17px; }
.underlined-link { display: inline-flex; justify-content: space-between; gap: 20px; font-size: 12px; font-weight: 700; border-bottom: 1px solid currentColor; padding-block: 10px; }
.underlined-link span { font-size: 17px; font-weight: 400; }

/* Homepage hero: one-column layout by default */
.hero { overflow: hidden; background: radial-gradient(ellipse at 84% 24%, #F1ECE2 0%, transparent 53%), var(--cream); }
.hero-grid { display: flex; flex-direction: column; align-items: stretch; padding: 58px 0 54px; gap: 42px; }
.hero-copy { position: relative; z-index: 2; }
.hero-copy .eyebrow { display: flex; align-items: center; gap: 11px; margin-bottom: 19px; font-size: 9px; }
.eyebrow-line { display: inline-block; width: 28px; height: 1px; background: #A8AF9F; flex: none; }
.hero h1 { font-size: clamp(45px, 10.5vw, 68px); line-height: 1.15; max-width: 510px; }
.hero h1 em { color: var(--forest); }
.hero-lede { font-size: 14px; line-height: 1.85; color: #737569; max-width: 443px; margin-top: 21px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; margin-top: 24px; }
.hero-footnote { display: none; }
.asterisk { font-size: 25px; color: var(--forest); }
.hero-composition { position: relative; width: 100%; height: min(104vw, 470px); min-height: 335px; }
.hero-photo { position: absolute; margin: 0; background: #E8E2D4; overflow: hidden; box-shadow: 0 14px 44px rgba(42, 52, 40, .06); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-primary { left: 2%; top: 5px; width: 55%; height: 92%; transform: rotate(-2deg); }
.hero-photo-secondary { right: 2%; top: 11%; width: 45%; height: 79%; transform: rotate(4deg); }
.hero-stamp { position: absolute; left: 43%; top: 70%; z-index: 2; width: 106px; height: 106px; border-radius: 50%; background: #E8C7BF; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #344336; text-align: center; box-shadow: 0 10px 22px rgba(36, 42, 35, .07); transform: rotate(10deg); }
.hero-stamp span:first-child { font-size: 9px; font-weight: 600; }
.hero-stamp strong { font-family: var(--serif); font-size: 20px; font-weight: 400; line-height: 1.08; margin: 4px 0; }
.hero-stamp .stamp-flower { font-size: 14px; }
.hero-photo-caption { display: none; }
.floral-ribbon { border-block: 1px solid #D9DACC; background: #ECEDE2; }
.floral-ribbon-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 16px; min-height: 65px; padding-block: 12px; color: var(--forest); font-family: var(--serif); font-size: 14px; text-align: center; }
.floral-ribbon-inner span:nth-child(even) { font-family: var(--sans); font-size: 14px; opacity: .6; }
.floral-ribbon-inner span:nth-child(6), .floral-ribbon-inner span:nth-child(7) { display: none; }

/* Flower shop: single-card first, optional grid as viewport grows */
.section { padding: 76px 0; }
.section-heading { margin-bottom: 30px; }
.section-heading-row { display: block; }
.section-heading h2 { font-size: clamp(38px, 9vw, 55px); line-height: 1.25; margin-top: 14px; }
.section-heading h2 em { color: var(--forest); }
.heading-side { max-width: 420px; margin-top: 14px; }
.heading-side p { color: var(--muted); font-size: 13px; line-height: 1.8; margin-bottom: 10px; }
.collection-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
.collection-image { overflow: hidden; background: #E5E2D8; aspect-ratio: 1 / 1.1; }
.collection-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.collection-card:hover img { transform: scale(1.06); }
.collection-detail { padding: 16px 2px 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.collection-number { color: var(--forest); font-size: 9px; font-weight: 700; letter-spacing: .18em; }
.collection-detail h3 { margin-top: 9px; font-size: 24px; line-height: 1.15; }
.collection-detail p { color: #88897D; font-size: 12px; margin-top: 9px; }
.round-link { width: 44px; height: 44px; border: 1px solid #AEB4A6; border-radius: 50%; display: flex; flex: none; align-items: center; justify-content: center; font-size: 22px; transition: background .2s, color .2s; }
.round-link:hover { background: var(--forest); color: #fff; }
.shop-caption { font-size: 11px; color: #74796B; line-height: 1.7; text-align: center; margin-top: 35px; }

/* Weddings and events */
.events-section { display: flex; flex-direction: column; background: var(--forest); }
.events-photo-wrap { position: relative; overflow: hidden; background: #DDD7CA; min-height: 410px; }
.events-photo-wrap > img { width: 100%; height: 100%; object-fit: cover; object-position: center 52%; position: absolute; inset: 0; }
.events-photo-wrap::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(25, 35, 26, .48), transparent 39%); }
.events-image-label { position: absolute; z-index: 1; bottom: 40px; left: 9%; display: flex; flex-direction: column; color: #fff; }
.events-image-label span { font-family: var(--serif); font-size: 23px; }
.events-image-label em { font-family: var(--serif); font-size: 36px; line-height: 1.1; }
.events-copy { display: flex; align-items: center; padding: 70px 25px; color: #fff; }
.events-copy-inner { max-width: 515px; }
.events-copy .eyebrow { color: #E2DFC9; }
.events-copy h2 { font-size: clamp(42px, 10vw, 60px); line-height: 1.2; margin: 19px 0 25px; }
.events-copy h2 em { color: #F2D5C8; }
.events-copy p:not(.eyebrow) { font-size: 14px; color: #F1F2EA; line-height: 1.9; margin-bottom: 15px; }
.event-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 25px 0 33px; }
.event-tags span { font-size: 10px; border: 1px solid rgba(255, 255, 255, .5); color: #fff; padding: 9px 11px; }

/* Brand statement */
.statement-section { background: #F1EEE6; text-align: center; padding: 78px 0; }
.statement-inner { max-width: 1080px; }
.statement-flower { display: block; font-size: 42px; color: #A3AE96; margin-bottom: 19px; }
.statement-section h2 { font-size: clamp(34px, 7vw, 51px); line-height: 1.42; margin: 23px auto 18px; }
.statement-section h2 em { color: var(--forest); }
.statement-section p:last-child { color: #6F7668; font-size: 13px; line-height: 1.85; }

/* Portfolio */
.gallery-section { padding-bottom: 78px; }
.gallery-heading > a { margin-top: 22px; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.gallery-grid figure { overflow: hidden; aspect-ratio: 4 / 5; background: #E9E2D8; }
.gallery-grid img { height: 100%; width: 100%; object-fit: cover; transition: transform .5s; }
.gallery-grid figure:hover img { transform: scale(1.05); }

/* The florist */
.about-section { background: #EEE7DE; padding: 68px 0; }
.about-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 35px; }
.about-ornament { position: relative; width: 185px; aspect-ratio: 1; border-radius: 50%; border: 1px solid #A8AD9A; display: flex; align-items: center; justify-content: center; }
.about-ornament::before, .about-ornament::after { content: ''; position: absolute; inset: 14px; border-radius: 50%; border: 1px solid #C3C4B6; }
.about-ornament::after { inset: 31px; border-color: #C7C8BB; }
.about-ornament span:first-child { font-family: var(--serif); color: var(--forest); font-size: 69px; font-style: italic; letter-spacing: -.11em; padding-right: 8px; }
.about-ornament span:last-child { position: absolute; bottom: 18px; right: 21px; color: #A7AF96; font-size: 18px; }
.about-copy { max-width: 680px; }
.about-copy h2 { font-size: clamp(40px, 9vw, 50px); line-height: 1.27; margin: 16px 0 26px; }
.about-copy h2 em { color: var(--forest); }
.about-copy > p:not(.eyebrow):not(.signature) { max-width: 590px; font-size: 14px; color: #5B6357; line-height: 1.95; margin-top: 11px; }
.about-copy .signature { font-family: var(--serif); font-style: italic; font-size: 35px; margin-top: 20px; color: var(--forest); }

/* Contact and footer */
.contact-section { background: var(--forest-dark); color: #fff; padding: 75px 0; }
.contact-inner { display: grid; grid-template-columns: 1fr; gap: 35px; }
.contact-section .eyebrow { color: #DFE4D3; }
.contact-section h2 { font-size: clamp(43px, 9vw, 61px); line-height: 1.21; margin: 20px 0 23px; }
.contact-section h2 em { color: #F4D6CA; }
.contact-section p:not(.eyebrow) { max-width: 570px; font-size: 14px; line-height: 1.8; color: #E1E6DA; margin-bottom: 29px; }
.contact-aside { border-left: 1px solid rgba(255, 255, 255, .4); padding: 5px 0 5px 25px; }
.contact-aside .asterisk { font-size: 42px; color: #C9D3BD; }
.contact-aside p { font-family: var(--serif); font-size: 28px !important; line-height: 1.45 !important; margin: 13px 0 !important; color: white !important; }
.contact-aside p strong { font-weight: 500; font-style: italic; }
.contact-aside > span:last-child { color: #DDE2D6; font-size: 10px; line-height: 1.8; }
.site-footer { background: #F6F4EC; }
.footer-top { padding: 56px 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 35px 20px; }
.footer-brand { grid-column: span 2; }
.footer-brand p { margin-top: 18px; color: #68725F; font-size: 12px; line-height: 1.85; }
.footer-title { color: var(--forest); font-weight: 700; font-size: 10px; letter-spacing: .18em; margin: 5px 0 20px; }
.footer-links { display: flex; flex-direction: column; align-items: flex-start; }
.footer-links a, .footer-links > p:last-child { font-size: 12px; line-height: 2.25; color: #4E5949; }
.footer-bottom { padding: 21px 0 27px; border-top: 1px solid #DCDed4; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 15px; color: #606C5D; font-size: 11px; line-height: 1.7; }
.footer-bottom a:hover { color: var(--forest-dark); }

/* Extra-small phones: keep the hero/actions and cards readable at 320px. */
@media (max-width: 359px) {
    .hero-actions { align-items: flex-start; flex-direction: column; }
    .hero-stamp { width: 93px; height: 93px; }
    .hero-stamp strong { font-size: 18px; }
    .hero h1 { font-size: 43px; }
}

/* Medium phones and tablets */
@media (min-width: 480px) {
    .collection-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px; }
    .collection-card:last-child { grid-column: span 2; width: 100%; max-width: 390px; }
    .collection-detail h3 { font-size: 22px; }
}
@media (min-width: 721px) {
    html { scroll-padding-top: 105px; }
    .container { width: min(calc(100% - 64px), var(--container)); }
    .announcement { font-size: 11px; letter-spacing: .09em; }
    .announcement-inner { min-height: 35px; justify-content: space-between; text-align: left; }
    .announcement-right { display: inline; opacity: .84; }
    .announcement-right span { margin-left: 12px; }
    .nav-wrap { min-height: 83px; }
    .wordmark-main { font-size: 39px; }
    .wordmark-sub { font-size: 7.7px; margin-top: 8px; }
    .site-nav { padding-inline: 32px; }
    .nav-cta { display: inline-block; margin-left: auto; border: 1px solid var(--forest); padding: 14px 16px; font-size: 11px; font-weight: 700; white-space: nowrap; }
    .nav-cta:hover { background: var(--forest); color: #fff; }
    .nav-cta span { margin-left: 11px; font-size: 16px; font-weight: 400; }
    .hero-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; min-height: 625px; padding: 48px 0 57px; gap: 0; }
    .hero-copy { margin-right: -18px; }
    .hero-copy .eyebrow { margin-bottom: 25px; font-size: 10px; }
    .hero h1 { font-size: clamp(52px, 6.25vw, 68px); }
    .hero-lede { font-size: 15px; line-height: 1.9; margin-top: 25px; }
    .hero-actions { gap: 18px; margin-top: 30px; }
    .hero-composition { height: 500px; min-height: 0; margin-left: 0; }
    .hero-photo-primary { left: 4%; top: 5px; width: 54%; height: 430px; }
    .hero-photo-secondary { right: -3%; top: 80px; width: 45%; height: 355px; }
    .hero-stamp { left: 40%; top: 72%; width: 120px; height: 120px; }
    .hero-stamp strong { font-size: 23px; }
    .floral-ribbon-inner { min-height: 74px; flex-wrap: nowrap; justify-content: space-between; padding-block: 0; gap: 12px; font-size: 15px; }
    .floral-ribbon-inner span:nth-child(6), .floral-ribbon-inner span:nth-child(7) { display: inline; }
    .section { padding: 98px 0; }
    .section-heading { margin-bottom: 40px; }
    .section-heading h2 { font-size: clamp(43px, 5vw, 60px); }
    .section-heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
    .heading-side { max-width: 255px; padding-bottom: 7px; margin-top: 0; }
    .collection-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
    .collection-card:last-child { grid-column: auto; max-width: none; }
    .collection-detail h3 { font-size: clamp(21px, 2.3vw, 28px); }
    .collection-detail { padding-top: 21px; }
    .events-section { display: grid; grid-template-columns: 49% 51%; min-height: 600px; }
    .events-photo-wrap { min-height: 580px; }
    .events-copy { padding: 54px 35px; }
    .events-copy h2 { font-size: clamp(43px, 5vw, 56px); }
    .statement-section { padding: 108px 0; }
    .statement-section h2 { font-size: clamp(43px, 4.5vw, 59px); }
    .gallery-section { padding-bottom: 110px; }
    .gallery-heading > a { margin-top: 0; margin-bottom: 10px; }
    .gallery-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; }
    .about-section { padding: 96px 0; }
    .about-inner { display: grid; grid-template-columns: 38% 57%; align-items: center; gap: 5%; }
    .about-ornament { width: min(330px, 95%); }
    .about-ornament span:first-child { font-size: clamp(75px, 9vw, 111px); padding-right: 18px; }
    .about-ornament span:last-child { bottom: 38px; right: 35px; font-size: 30px; }
    .about-copy h2 { font-size: clamp(43px, 4vw, 60px); }
    .contact-section { padding: 103px 0; }
    .contact-inner { grid-template-columns: 1.35fr .65fr; align-items: end; gap: 38px; }
    .contact-section h2 { font-size: clamp(45px, 5vw, 74px); }
    .contact-aside { padding: 25px 0 12px 28px; }
    .footer-top { padding: 65px 0; grid-template-columns: 2.2fr 1fr 1fr; gap: 50px; }
    .footer-brand { grid-column: auto; }
}

/* Full desktop: comfortable space and horizontal site navigation */
@media (min-width: 1024px) {
    .site-nav { position: static; display: flex; flex-direction: row; align-items: center; gap: clamp(15px, 2.1vw, 34px); padding: 0; border: 0; background: transparent; box-shadow: none; margin: 0 auto; }
    .site-nav a { min-height: auto; padding: 0; border: 0; font-size: 12px; white-space: nowrap; }
    .site-nav .mobile-nav-contact { display: none; }
    .menu-toggle { display: none; }
    .nav-wrap { min-height: 94px; gap: 20px; }
    .nav-cta { margin-left: 0; padding: 16px 19px; }
    .hero-grid { min-height: 680px; grid-template-columns: 47% 53%; }
    .hero-copy { margin-right: 0; }
    .hero h1 { font-size: clamp(59px, 5.25vw, 86px); }
    .hero-composition { height: 565px; margin-left: 25px; }
    .hero-photo-primary { height: 495px; }
    .hero-photo-secondary { right: 1%; height: 402px; }
    .hero-stamp { width: 146px; height: 146px; }
    .hero-stamp strong { font-size: 26px; }
    .hero-footnote { margin-top: 62px; display: flex; align-items: center; gap: 12px; color: #70796C; font-size: 11px; }
    .hero-photo-caption { display: block; position: absolute; bottom: 0; right: 0; font-size: 9px; font-weight: 600; color: #777F70; letter-spacing: .18em; }
    .section { padding: 115px 0; }
    .collection-grid { gap: 25px; }
    .events-section { min-height: 660px; }
    .events-copy { padding: 75px clamp(45px, 7vw, 130px); }
    .events-copy h2 { font-size: clamp(45px, 4.1vw, 67px); }
    .contact-inner { gap: 75px; }
}

@media (min-width: 1200px) {
    .container { width: min(calc(100% - 100px), var(--container)); }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
