:root {
  --ink: #252629;
  --muted: #73706b;
  --paper: #f7f3ed;
  --white: #fffdf9;
  --coral: #e76e59;
  --coral-dark: #c55342;
  --yellow: #f0bf48;
  --sage: #becdb8;
  --lilac: #d8c9de;
  --line: rgba(37, 38, 41, .15);
  --shadow: 0 22px 55px rgba(37, 38, 41, .12);
  --sans: "DM Sans", sans-serif;
  --display: "Playfair Display", serif;
  --mono: "DM Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 15px; line-height: 1.5; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
.section-shell { width: min(1180px, calc(100% - 64px)); margin-inline: auto; }

.announcement { min-height: 30px; padding: 6px 20px; background: var(--ink); color: #f7f3ed; font: 11px var(--mono); letter-spacing: .04em; text-align: center; }
.announcement span { margin-inline: 13px; color: var(--yellow); }
.site-header { width: min(1320px, calc(100% - 64px)); height: 78px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.brand-mark { width: 31px; height: 31px; display: grid; place-items: center; border: 1px solid var(--ink); border-radius: 50%; position: relative; font: 700 15px var(--display); }
.brand-mark::before, .brand-mark::after { content: ""; position: absolute; width: 5px; height: 1px; background: var(--ink); right: -4px; top: 8px; transform: rotate(45deg); }
.brand-mark::after { right: auto; left: -4px; top: 21px; transform: rotate(45deg); }
.brand-name { letter-spacing: -.03em; font-size: 16px; }
.main-nav { display: flex; align-items: center; gap: 29px; margin-left: 80px; font-size: 13px; }
.main-nav a, .footer-links a { transition: color .2s ease; }
.main-nav a:hover, .footer-links a:hover { color: var(--coral-dark); }
.header-actions { display: flex; align-items: center; gap: 14px; }
.icon-button, .close-button { border: 0; background: none; padding: 8px; display: grid; place-items: center; }
.icon-button svg, .cart-button svg, .search-row svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
.cart-button { border: 0; background: transparent; display: inline-flex; align-items: center; gap: 8px; font-size: 13px; }
.cart-button b { width: 21px; height: 21px; display: grid; place-items: center; background: var(--coral); color: var(--white); border-radius: 50%; font-size: 11px; font-weight: 600; }

.hero { min-height: 620px; display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(35px, 8vw, 100px); padding-block: 56px 78px; }
.hero-copy { max-width: 470px; }
.eyebrow { margin: 0 0 18px; color: var(--coral-dark); font: 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.eyebrow-dot { width: 8px; height: 8px; display: inline-block; margin-right: 8px; border-radius: 50%; background: var(--coral); }
h1, h2 { margin: 0; font-family: var(--display); font-weight: 600; letter-spacing: -.045em; line-height: .98; }
h1 { font-size: clamp(54px, 6.7vw, 92px); }
h2 { font-size: clamp(43px, 5vw, 67px); }
h1 em, h2 em { color: var(--coral); font-style: italic; }
.hero-intro { max-width: 385px; margin: 29px 0 0; color: var(--muted); font-size: 16px; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 33px; }
.button { border: 1px solid transparent; min-height: 46px; padding: 12px 17px; display: inline-flex; align-items: center; justify-content: center; gap: 25px; font-size: 12px; font-weight: 600; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--ink); color: var(--white); }
.button-dark:hover { background: var(--coral-dark); }
.button-light { border-color: rgba(255,253,249,.55); color: var(--white); }
.button-light:hover { background: var(--white); color: var(--ink); }
.text-button { border: 0; padding: 0; background: none; font-size: 12px; font-weight: 600; }
.text-button span { display: inline-block; margin-left: 7px; transition: transform .2s ease; }
.text-button:hover span { transform: translateX(4px); }
.hero-note { display: flex; align-items: center; gap: 12px; margin-top: 49px; color: var(--muted); font-size: 11px; }
.scribble-star { color: var(--yellow); font-size: 22px; }
.hero-image-wrap { min-width: 0; }
.hero-image-frame { min-height: 480px; position: relative; overflow: hidden; background: var(--sage); box-shadow: var(--shadow); }
.hero-image-frame img { width: 100%; height: 480px; object-fit: cover; object-position: center center; mix-blend-mode: multiply; }
.image-sticker { width: 79px; height: 79px; position: absolute; right: 25px; bottom: 23px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); color: var(--ink); font: 11px/1.05 var(--mono); text-align: center; transform: rotate(8deg); }
.hero-caption { display: flex; justify-content: space-between; padding-top: 12px; color: var(--muted); font: 10px var(--mono); text-transform: uppercase; letter-spacing: .05em; }

.trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-block: 18px; }
.trust-strip > div { display: flex; align-items: center; justify-content: center; gap: 8px; border-right: 1px solid var(--line); font-size: 11px; }
.trust-strip > div:last-child { border-right: 0; }
.trust-strip strong { font-size: 12px; }
.trust-strip > div span:last-child { color: var(--muted); }
.trust-icon { color: var(--coral); font-size: 18px; }

.shop { padding-block: 126px 142px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.section-description { max-width: 300px; margin: 0 0 4px; color: var(--muted); line-height: 1.65; }
.shop-toolbar { min-height: 76px; margin-top: 59px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); gap: 20px; }
.filter-group { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.filter-button { border: 1px solid transparent; padding: 7px 13px; background: transparent; color: var(--muted); font-size: 12px; }
.filter-button:hover { color: var(--ink); }
.filter-button.active { border-color: var(--ink); color: var(--ink); }
.sort-control { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 12px; white-space: nowrap; }
.sort-control select { border: 0; padding: 5px 22px 5px 4px; background: transparent; color: var(--ink); font-size: 12px; cursor: pointer; }
.search-row { margin-top: 18px; border-bottom: 1px solid var(--ink); display: flex; align-items: center; gap: 10px; padding: 8px 2px; }
.search-row svg { color: var(--coral-dark); }
.search-row input { width: 100%; border: 0; outline: 0; background: none; color: var(--ink); }
.search-row input::placeholder { color: #a3a09b; }
.search-row button { border: 0; background: none; color: var(--muted); font-size: 22px; line-height: 1; }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 51px 20px; margin-top: 38px; }
.product-card { min-width: 0; position: relative; }
.product-card.is-sold-out { opacity: .74; }
.product-image { height: 340px; position: relative; overflow: hidden; background: var(--sage); }
.product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-image img { transform: scale(1.04); }
.product-image .product-tag { position: absolute; left: 13px; top: 13px; padding: 6px 8px; background: var(--white); font: 10px var(--mono); text-transform: uppercase; }
.product-image .wish-button { position: absolute; top: 10px; right: 10px; width: 33px; height: 33px; border: 0; background: rgba(255,253,249,.85); border-radius: 50%; font-size: 19px; line-height: 1; }
.wish-button.active { color: var(--coral-dark); }
.product-info { display: grid; grid-template-columns: 1fr auto; gap: 5px 15px; padding-top: 14px; }
.product-info h3 { margin: 0; font-size: 14px; font-weight: 600; }
.product-info p { grid-column: 1 / 2; margin: 0; color: var(--muted); font-size: 12px; }
.product-price { grid-column: 2; grid-row: 1 / 3; align-self: start; font: 12px var(--mono); }
.quick-add { grid-column: 1 / 3; width: fit-content; margin-top: 7px; border: 0; border-bottom: 1px solid var(--ink); padding: 0 0 2px; background: none; font-size: 11px; font-weight: 600; }
.quick-add:hover { color: var(--coral-dark); border-color: var(--coral-dark); }
.empty-state { margin-top: 50px; color: var(--muted); text-align: center; }

.story-band { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(45px, 9vw, 125px); padding-block: 0 142px; }
.story-image { height: 535px; overflow: hidden; background: var(--lilac); }
.story-image img { width: 100%; height: 100%; object-fit: cover; object-position: center center; mix-blend-mode: multiply; }
.story-copy { max-width: 430px; }
.story-copy h2 { font-size: clamp(40px, 4.6vw, 60px); }
.story-copy > p:not(.eyebrow):not(.signature) { margin: 28px 0 0; color: var(--muted); line-height: 1.75; }
.signature { margin: 25px 0 27px; color: var(--coral-dark); font: 15px/1.35 var(--display); font-style: italic; }

.custom-section { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; overflow: hidden; padding: 90px 9%; background: var(--coral); color: var(--white); }
.custom-section .eyebrow { color: var(--yellow); }
.custom-copy { max-width: 410px; }
.custom-copy h2 { font-size: clamp(43px, 5vw, 68px); }
.custom-copy h2 em { color: var(--yellow); }
.custom-copy > p:not(.eyebrow) { margin: 28px 0 32px; color: rgba(255,253,249,.84); line-height: 1.7; }
.custom-palette { min-height: 300px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; transform: rotate(3deg); }
.palette-card { min-height: 130px; display: flex; flex-direction: column; justify-content: space-between; padding: 15px; color: var(--ink); }
.palette-card span { font: 10px var(--mono); }
.palette-card strong { font: 16px var(--display); }
.palette-coral { background: #ef9a83; transform: translateY(25px); }
.palette-lilac { background: var(--lilac); }
.palette-sage { background: var(--sage); }
.palette-yellow { background: var(--yellow); transform: translateY(-25px); }

.newsletter { display: grid; grid-template-columns: 1fr 1fr; align-items: end; gap: 60px; padding-block: 138px; }
.newsletter h2 { font-size: clamp(38px, 4.3vw, 57px); }
.newsletter-form { padding-bottom: 2px; }
.newsletter-form label { display: block; margin-bottom: 12px; font: 10px var(--mono); color: var(--muted); text-transform: uppercase; }
.newsletter-form > div { display: flex; align-items: stretch; border-bottom: 1px solid var(--ink); }
.newsletter-form input { min-width: 0; width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); }
.newsletter-form input::placeholder { color: #aaa6a0; }
.newsletter-form .button { margin-bottom: 5px; white-space: nowrap; }
.form-message { min-height: 18px; margin: 10px 0 0; color: var(--coral-dark); font-size: 12px; }

.site-footer { padding-block: 42px 24px; border-top: 1px solid var(--line); }
.footer-brand p { margin: 15px 0 0; color: var(--muted); font: 13px var(--display); font-style: italic; }
.seller-link { display: inline-block; margin-top: 22px; color: var(--coral-dark); font: 10px var(--mono); text-transform: uppercase; letter-spacing: .04em; }
.seller-link:hover { color: var(--ink); }
.footer-links { display: flex; justify-content: end; gap: 100px; margin-top: -43px; }
.footer-links div { display: flex; flex-direction: column; gap: 8px; min-width: 140px; font-size: 12px; }
.footer-links strong { margin-bottom: 4px; font: 10px var(--mono); color: var(--coral-dark); text-transform: uppercase; }
.footer-links span { color: var(--muted); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 65px; padding-top: 18px; border-top: 1px solid var(--line); color: var(--muted); font: 10px var(--mono); }

.overlay { position: fixed; z-index: 10; inset: 0; background: rgba(37,38,41,.43); opacity: 0; transition: opacity .25s ease; }
.overlay:not([hidden]) { display: block; opacity: 1; }
.cart-drawer { width: min(440px, 100%); position: fixed; z-index: 20; top: 0; right: 0; height: 100dvh; display: flex; flex-direction: column; padding: 36px; background: var(--white); box-shadow: -20px 0 60px rgba(37,38,41,.16); transform: translateX(100%); transition: transform .3s ease; }
.cart-drawer.open { transform: translateX(0); }
.drawer-header { display: flex; justify-content: space-between; align-items: start; padding-bottom: 25px; border-bottom: 1px solid var(--line); }
.drawer-header .eyebrow { margin-bottom: 10px; }
.drawer-header h2 { font-size: 31px; }
.drawer-header h2 span { color: var(--muted); font: 12px var(--mono); letter-spacing: 0; }
.close-button { width: 34px; height: 34px; padding: 0; border: 1px solid var(--line); border-radius: 50%; font-size: 22px; line-height: 1; }
.close-button:hover { background: var(--ink); color: var(--white); }
.cart-items { overflow-y: auto; }
.cart-line { display: grid; grid-template-columns: 74px 1fr auto; align-items: center; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-line-art { width: 74px; height: 74px; overflow: hidden; background: var(--sage); }
.cart-line-art img { width: 100%; height: 100%; object-fit: cover; }
.cart-line h3 { margin: 0; font-size: 13px; }
.cart-line p { margin: 4px 0 9px; color: var(--muted); font-size: 11px; }
.qty-control { display: inline-flex; align-items: center; border: 1px solid var(--line); }
.qty-control button { width: 24px; height: 23px; border: 0; background: none; font-size: 15px; }
.qty-control span { width: 22px; text-align: center; font: 10px var(--mono); }
.cart-line-price { align-self: start; padding-top: 3px; font: 11px var(--mono); }
.remove-line { border: 0; padding: 2px 0; background: none; color: var(--muted); font-size: 10px; }
.remove-line:hover { color: var(--coral-dark); }
.cart-empty { margin: auto; text-align: center; color: var(--muted); }
.empty-flower { margin-bottom: 12px; color: var(--yellow); font-size: 40px; }
.cart-empty p { margin: 0 0 14px; font-size: 13px; }
.drawer-footer { border-top: 1px solid var(--line); padding-top: 21px; }
.subtotal { display: flex; justify-content: space-between; align-items: center; font-size: 13px; }
.subtotal strong { font: 15px var(--mono); }
.drawer-footer > p { margin: 7px 0 18px; color: var(--muted); font-size: 11px; }
.checkout-button { width: 100%; }

.modal-wrap { position: fixed; z-index: 25; inset: 0; display: grid; place-items: center; padding: 24px; background: rgba(37,38,41,.43); }
.modal { width: min(730px, 100%); display: grid; grid-template-columns: .85fr 1fr; position: relative; overflow: hidden; background: var(--white); box-shadow: var(--shadow); }
.modal-art { min-height: 420px; background: var(--sage); }
.modal-art img { width: 100%; height: 100%; object-fit: cover; }
.modal-content { align-self: center; padding: 45px; }
.modal-content h2 { font-size: 47px; }
.modal-content > p:not(.eyebrow) { color: var(--muted); line-height: 1.7; }
.modal-meta { display: flex; justify-content: space-between; align-items: center; margin: 27px 0; padding-block: 14px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.modal-meta strong { font: 16px var(--mono); }
.modal-meta span { color: var(--muted); font-size: 11px; }
.modal-content .button { width: 100%; }
.modal-close { position: absolute; z-index: 1; right: 15px; top: 15px; background: rgba(255,253,249,.8); }
.toast { position: fixed; z-index: 40; right: 24px; bottom: 24px; max-width: 280px; padding: 12px 16px; background: var(--ink); color: var(--white); font-size: 12px; opacity: 0; pointer-events: none; transform: translateY(10px); transition: .25s ease; }
.toast.show { opacity: 1; transform: translateY(0); }

[hidden] { display: none !important; }
@media (max-width: 860px) {
  .section-shell, .site-header { width: min(100% - 36px, 650px); }
  .main-nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-block: 55px 70px; }
  .hero-copy { max-width: 580px; }
  .hero-image-frame, .hero-image-frame img { height: min(70vw, 480px); min-height: 350px; }
  .section-heading { align-items: start; flex-direction: column; gap: 25px; }
  .section-description { max-width: 440px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 42px 16px; }
  .product-image { height: 300px; }
  .story-band, .custom-section, .newsletter { grid-template-columns: 1fr; }
  .story-image { height: min(100vw, 500px); }
  .custom-section { padding: 70px 8%; }
  .custom-palette { max-width: 530px; width: 100%; }
  .newsletter { gap: 40px; }
  .footer-links { justify-content: start; margin-top: 45px; }
}
@media (max-width: 560px) {
  .section-shell, .site-header { width: calc(100% - 30px); }
  .announcement { font-size: 9px; }
  .brand-name { font-size: 15px; }
  .cart-button span { display: none; }
  h1 { font-size: 57px; }
  .hero-intro { font-size: 14px; }
  .hero-image-frame, .hero-image-frame img { height: 350px; min-height: 0; }
  .trust-strip { grid-template-columns: 1fr; gap: 12px; padding-block: 17px; }
  .trust-strip > div { justify-content: start; border-right: 0; }
  .shop { padding-block: 90px 105px; }
  .shop-toolbar { min-height: 105px; align-items: start; flex-direction: column; justify-content: center; padding-block: 15px; }
  .filter-group { gap: 2px; }
  .filter-button { padding-inline: 8px; }
  .sort-control { width: 100%; justify-content: space-between; }
  .sort-control select { padding-right: 0; }
  .product-grid { grid-template-columns: 1fr 1fr; gap: 34px 10px; }
  .product-image { height: 205px; }
  .product-info { display: block; }
  .product-info h3 { margin-bottom: 4px; font-size: 12px; }
  .product-info p { margin-bottom: 8px; font-size: 10px; }
  .product-price { display: block; margin-bottom: 6px; font-size: 10px; }
  .quick-add { font-size: 10px; }
  .product-image .product-tag { left: 8px; top: 8px; padding: 5px; font-size: 8px; }
  .story-band { gap: 40px; padding-bottom: 105px; }
  .story-image { height: 330px; }
  .custom-section { padding: 58px 7%; }
  .custom-palette { min-height: 230px; gap: 8px; }
  .palette-card { min-height: 104px; padding: 10px; }
  .palette-card strong { font-size: 13px; }
  .newsletter { padding-block: 105px; }
  .newsletter-form > div { display: block; border-bottom: 0; }
  .newsletter-form input { width: 100%; height: 44px; border-bottom: 1px solid var(--ink); }
  .newsletter-form .button { width: 100%; margin-top: 12px; }
  .footer-links { gap: 26px; }
  .footer-links div { min-width: 0; }
  .footer-bottom { align-items: start; flex-direction: column; gap: 8px; margin-top: 45px; }
  .cart-drawer { padding: 25px 20px; }
  .modal { display: block; max-height: calc(100dvh - 48px); overflow-y: auto; }
  .modal-art { height: 240px; min-height: 0; }
  .modal-content { padding: 28px 23px 32px; }
  .modal-content h2 { font-size: 38px; }
}
