:root {
  --cream: #f3efe3;
  --paper: #fffdf8;
  --ink: #10284b;
  --blue: #1e4e79;
  --gold: #b69758;
  --line: #d8d6ca;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "DM Sans", sans-serif; }
body::before { content: ""; position: fixed; z-index: 30; left: 0; right: 0; top: 0; height: 7px; background: repeating-linear-gradient(90deg, var(--ink) 0 12px, var(--paper) 12px 20px); pointer-events: none; }
button, a { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }

.announcement { height: 34px; display: flex; align-items: center; justify-content: center; background: var(--ink); color: white; font-size: 12px; letter-spacing: .04em; position: relative; }
.announcement p { margin: 0; }
.announcement-close { position: absolute; right: 24px; top: 3px; border: 0; background: transparent; color: white; font-size: 21px; opacity: .7; }

.header { height: 82px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 4.5%; border-bottom: 1px solid var(--line); background: var(--paper); }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: "Cormorant Garamond", Georgia, serif; font-size: 16px; font-weight: 700; letter-spacing: .09em; }
.brand-mark { width: 38px; height: 38px; border: 1.5px solid var(--ink); border-radius: 50%; display: grid; place-items: center; font-family: Georgia, serif; font-size: 12px; letter-spacing: -.05em; }
.nav { display: flex; gap: 32px; font-size: 14px; font-weight: 600; }
.nav a { position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 1px; background: var(--ink); transition: .25s; }
.nav a:hover::after { right: 0; }
.header-actions { justify-self: end; display: flex; align-items: center; gap: 8px; }
.icon-button { width: 42px; height: 42px; border: 0; background: transparent; display: grid; place-items: center; position: relative; }
.icon-button svg { width: 21px; fill: none; stroke: var(--ink); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.cart-count { position: absolute; right: 1px; top: 2px; width: 17px; height: 17px; border-radius: 50%; background: var(--gold); color: var(--ink); font-size: 10px; display: grid; place-items: center; }
.menu-button { display: none; border: 0; background: transparent; width: 42px; height: 42px; padding: 12px 8px; }
.menu-button span { display: block; width: 24px; height: 1.5px; background: var(--ink); margin: 6px 0; }

.hero { min-height: 610px; display: grid; grid-template-columns: 43% 57%; background: var(--cream); }
.hero-content { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 70px 10% 70px 10.5%; }
.eyebrow { margin: 0 0 24px; text-transform: uppercase; font-size: 11px; font-weight: 700; letter-spacing: .19em; }
.hero h1 { margin: 0; font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(58px, 5.8vw, 88px); line-height: .9; letter-spacing: -.045em; }
.hero h1 em { font-family: Georgia, serif; font-weight: 400; }
.hero-copy { max-width: 430px; margin: 28px 0 32px; color: #5e6259; font-size: 17px; line-height: 1.65; }
.primary-button { min-width: 205px; height: 52px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; background: var(--ink); color: white; font-size: 13px; font-weight: 700; transition: .25s; }
.primary-button:hover { background: var(--blue); }
.primary-button span { font-size: 18px; }
.hero-image-wrap { position: relative; min-height: 610px; overflow: hidden; }
.hero-image-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; filter: saturate(.72) sepia(.06); }
.hero-badge { position: absolute; right: 22px; bottom: 22px; width: 104px; height: 104px; border-radius: 50%; background: rgba(247,243,232,.94); border: 1px solid var(--gold); display: flex; flex-direction: column; align-items: center; justify-content: center; transform: rotate(-8deg); }
.hero-badge span { font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.hero-badge strong { margin-top: 4px; font-family: Georgia, serif; font-size: 27px; }

.shop-section { padding: 96px 4.5% 110px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 38px; }
.section-heading .eyebrow { margin-bottom: 10px; color: var(--blue); }
.section-heading h2 { margin: 0; font-family: "Cormorant Garamond", Georgia, serif; font-size: 48px; letter-spacing: -.035em; }
.shop-controls { display: flex; gap: 8px; }
.filter-button { border: 1px solid var(--line); background: transparent; border-radius: 30px; height: 38px; padding: 0 17px; color: #686c63; font-size: 12px; }
.filter-button.active, .filter-button:hover { background: var(--ink); border-color: var(--ink); color: white; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product-card.hidden { display: none; }
.product-image { display: block; position: relative; aspect-ratio: .79; overflow: hidden; background: #ebe8df; }
.product-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.78); transition: transform .5s ease; }
.product-card:hover .product-image img { transform: scale(1.025); }
.product-label { position: absolute; top: 12px; left: 12px; height: 26px; display: grid; place-items: center; padding: 0 9px; background: var(--paper); border-radius: 20px; font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.quick-add { position: absolute; left: 12px; right: 12px; bottom: 12px; height: 44px; border: 0; background: rgba(251,250,246,.94); font-size: 12px; font-weight: 700; transform: translateY(58px); transition: .25s; }
.product-card:hover .quick-add { transform: translateY(0); }
.product-info { display: flex; justify-content: space-between; gap: 10px; padding-top: 15px; }
.product-info h3 { margin: 0 0 5px; font-size: 14px; }
.product-info p { margin: 0; color: #7a7d75; font-size: 12px; }
.product-info strong { font-size: 14px; }

.story { min-height: 540px; display: grid; grid-template-columns: 55% 45%; background: #dceaf1; }
.story-image { min-height: 540px; overflow: hidden; }
.story-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 38%; filter: saturate(.7); }
.story-content { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 70px 13%; }
.story-content .eyebrow { color: var(--blue); margin-bottom: 18px; }
.story-content h2 { margin: 0 0 22px; font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(50px, 5vw, 72px); line-height: .95; letter-spacing: -.045em; }
.story-content > p:not(.eyebrow) { max-width: 440px; margin: 0 0 30px; color: #5c6357; line-height: 1.75; }
.text-link { border-bottom: 1px solid var(--ink); padding-bottom: 7px; font-size: 13px; font-weight: 700; }
.text-link span { margin-left: 12px; }

footer { min-height: 150px; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; padding: 35px 4.5%; background: var(--ink); color: white; }
.footer-brand .brand-mark { border-color: white; }
footer p { margin: 0; text-align: center; font-size: 12px; color: #bfc3ba; }
footer p:last-child { text-align: right; }

.cart-toast { position: fixed; right: 24px; bottom: 24px; z-index: 20; background: var(--ink); color: white; padding: 15px 20px; font-size: 13px; transform: translateY(90px); transition: .3s; }
.cart-toast.visible { transform: translateY(0); }

@media (max-width: 900px) {
  .nav { display: none; }
  .header { grid-template-columns: 1fr auto; }
  .menu-button { display: block; }
  .nav.open { position: absolute; z-index: 10; display: flex; flex-direction: column; top: 116px; left: 0; right: 0; padding: 25px 4.5%; background: var(--paper); border-bottom: 1px solid var(--line); }
  .hero { grid-template-columns: 46% 54%; min-height: 560px; }
  .hero-content { padding-inline: 8%; }
  .hero h1 { font-size: 52px; }
  .hero-image-wrap { min-height: 560px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 14px; }
  .story { grid-template-columns: 52% 48%; }
}

@media (max-width: 620px) {
  .announcement { height: 30px; }
  .header { height: 68px; }
  .brand { font-size: 12px; }
  .brand-mark { width: 34px; height: 34px; }
  .header-actions .icon-button:first-child { display: none; }
  .nav.open { top: 98px; }
  .hero { display: flex; flex-direction: column-reverse; }
  .hero-content { min-height: 410px; padding: 52px 7%; }
  .hero h1 { font-size: clamp(48px, 14vw, 64px); }
  .hero-copy { font-size: 15px; }
  .hero-image-wrap { min-height: 430px; }
  .hero-badge { width: 86px; height: 86px; }
  .shop-section { padding: 70px 5% 80px; }
  .section-heading { align-items: flex-start; }
  .section-heading h2 { font-size: 34px; }
  .shop-controls { flex-wrap: wrap; justify-content: flex-end; max-width: 170px; }
  .filter-button { height: 34px; padding: 0 12px; }
  .product-grid { gap: 24px 10px; }
  .product-info { flex-direction: column; }
  .product-info strong { order: -1; }
  .quick-add { transform: translateY(0); }
  .story { grid-template-columns: 1fr; }
  .story-image { min-height: 420px; }
  .story-content { min-height: 440px; padding: 60px 7%; }
  footer { grid-template-columns: 1fr; gap: 20px; text-align: center; }
  footer .brand { justify-self: center; }
  footer p, footer p:last-child { text-align: center; }
}
