:root {
  --cream: #fbf6f1;
  --blush: #f3e1d8;
  --rose: #c9776a;
  --rose-dark: #a85a4e;
  --ink: #2b2220;
  --muted: #7a6a65;
  --card: #ffffff;
  --line: #ead9d0;
  --radius: 18px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--sans); color: var(--ink); background: var(--cream); line-height: 1.6; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--rose-dark); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; }
h1 { font-size: clamp(3rem, 8vw, 5.5rem); font-weight: 400; }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: .5rem; }
h3 { font-size: 1.15rem; margin: .8rem 0 .2rem; }
em { font-style: italic; color: var(--rose); }

.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .75rem; font-weight: 600; color: var(--rose); margin-bottom: .6rem; }
.meta { color: var(--muted); font-size: .9rem; }

/* Buttons */
.btn { display: inline-block; padding: .85rem 1.6rem; border-radius: 999px; font-weight: 600; text-decoration: none; border: 1.5px solid var(--ink); cursor: pointer; font: 600 .95rem var(--sans); transition: transform .15s, background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--ink); color: var(--cream); }
.btn-primary:hover { background: var(--rose-dark); border-color: var(--rose-dark); }
.btn-ghost { background: transparent; color: var(--ink); }

/* Nav */
.nav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: 1rem clamp(16px, 5vw, 64px); background: rgba(251, 246, 241, .9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.logo { font-family: var(--serif); font-size: 1.35rem; text-decoration: none; color: var(--ink); }
.nav-links { display: flex; gap: 1.6rem; align-items: center; }
.nav-links a { color: var(--ink); text-decoration: none; font-size: .92rem; font-weight: 500; }
.nav-links a:hover { color: var(--rose); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.5rem; cursor: pointer; color: var(--ink); }
.cart-btn { background: var(--ink); color: var(--cream); border: 0; border-radius: 999px; padding: .5rem 1rem; font: 600 .88rem var(--sans); cursor: pointer; }
.cart-count { display: inline-grid; place-items: center; min-width: 1.4em; height: 1.4em; margin-left: .3rem; border-radius: 999px; background: var(--rose); font-size: .75rem; }

/* Photo placeholders: swap for real <img> tags or background-image */
.photo { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius); background: linear-gradient(135deg, #f1d3c6, #e3b5a6 55%, #d49a8c); overflow: hidden; background-size: cover; background-position: center; }
.photo::after { content: attr(data-label); position: absolute; left: 12px; bottom: 10px; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.85); }
.photo[style*="background-image"]::after { display: none; }

/* Hero */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 72px); align-items: center; padding: clamp(40px, 8vw, 100px) clamp(16px, 5vw, 64px); }
.lede { font-size: 1.15rem; color: var(--muted); max-width: 32rem; margin: 1.2rem 0 2rem; }
.hero-ctas { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero-photo { aspect-ratio: 4 / 5; border-radius: 200px 200px var(--radius) var(--radius); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--ink); color: var(--cream); padding: 2rem clamp(16px, 5vw, 64px); text-align: center; gap: 1rem; }
.stats strong { display: block; font-family: var(--serif); font-size: 2.2rem; font-weight: 400; color: #f3c3b5; }
.stats span { font-size: .82rem; letter-spacing: .06em; opacity: .8; }

/* Sections */
.section { padding: clamp(56px, 9vw, 110px) clamp(16px, 5vw, 64px); }
.tinted { background: var(--blush); }
.section-head { max-width: 40rem; margin-bottom: 2.4rem; }
.section-head p:not(.eyebrow) { color: var(--muted); }

.grid { display: grid; gap: 1.4rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--card); border-radius: var(--radius); padding: 14px 14px 18px; box-shadow: 0 1px 0 var(--line); }
.tile p { color: var(--muted); font-size: .92rem; }

/* Story */
.story { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(24px, 6vw, 80px); align-items: center; }
.story p:not(.eyebrow) { margin-bottom: 1rem; max-width: 36rem; }
.signature { font-family: var(--serif); font-style: italic; font-size: 1.4rem; color: var(--rose); }

/* Vlogs */
.video { aspect-ratio: 4 / 5; }
.video .play { inset: auto 12px 12px auto; margin: 0; width: 44px; height: 44px; font-size: .9rem; background: rgba(255,255,255,.9); box-shadow: 0 4px 18px rgba(0,0,0,.25); }
.play { position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; border-radius: 50%; background: rgba(255,255,255,.9); display: grid; place-items: center; color: var(--rose-dark); font-size: 1.1rem; transition: transform .2s; }
.vlog { cursor: pointer; display: block; text-decoration: none; color: inherit; }
.see-more { margin-top: 1.6rem; font-weight: 600; }
.vlog:hover .play { transform: scale(1.1); }

/* Brands strip */
.brands { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--line); text-align: center; }
.brands ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 2.2rem; }
.brands ul + .eyebrow { margin-top: 2rem; }
.brands li { font-family: var(--serif); font-size: clamp(1.15rem, 2.4vw, 1.5rem); color: var(--muted); }

/* Media kit */
.mediakit { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.mk-block { padding: 28px; }
.mk-block h3 { margin-top: 0; margin-bottom: 1rem; }
.bars { list-style: none; padding: 0; display: grid; gap: 1rem; }
.bars li { display: grid; grid-template-columns: 7rem 1fr 3rem; gap: .8rem; align-items: center; font-size: .92rem; }
.bar { height: 8px; background: var(--blush); border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--rose); border-radius: 99px; }
.bars b { text-align: right; }
.mk-sub { font: 600 .8rem var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin: 1.6rem 0 .9rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.mk-sub span { letter-spacing: 0; text-transform: none; font-weight: 400; color: var(--muted); }
.mk-highlight { margin: 0 0 .4rem; padding: .9rem 1rem; background: var(--blush); border-radius: 12px; font-size: .95rem; }
.mk-highlight strong { font-family: var(--serif); font-size: 1.3rem; color: var(--rose-dark); }
.chips-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.6rem; }
.chips-list li { background: var(--blush); color: var(--rose-dark); font-size: .85rem; font-weight: 600; padding: .35rem .85rem; border-radius: 999px; }
.mk-block h3 + .offer { margin-top: 0; }
.offer { padding-left: 1.1rem; margin-bottom: 1.6rem; display: grid; gap: .4rem; }

/* Shop */
.filters { display: flex; gap: .6rem; flex-wrap: wrap; margin-bottom: 2rem; }
.chip { border: 1.5px solid var(--line); background: var(--card); border-radius: 999px; padding: .5rem 1.1rem; font: 500 .9rem var(--sans); cursor: pointer; color: var(--ink); }
.chip.active { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.product .photo { aspect-ratio: 3 / 4; display: block; }
.product-shot { background: #fff center / cover no-repeat; }
.product .sizes { color: var(--muted); font-size: .85rem; margin: .3rem 0 .7rem; }
.swatches { display: flex; align-items: center; gap: .45rem; margin: .7rem 0 .4rem; }
.swatch { width: 24px; height: 24px; border-radius: 50%; background: var(--sw); border: 1px solid #d6c6bf; cursor: pointer; padding: 0;
  box-shadow: 0 0 0 2px var(--card); transition: box-shadow .15s; }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--card), 0 0 0 4px var(--ink); }
.swatch:focus-visible { outline: 2px solid var(--rose); outline-offset: 3px; }
.swatch-name { font-size: .8rem; color: var(--muted); margin-left: .2rem; }
.shop-note { text-align: center; color: var(--muted); margin-top: 1.6rem; }
.shop-note a { color: var(--rose-dark, var(--ink)); font-weight: 600; }
.product h3 { font-size: 1rem; }
.product-row { display: flex; justify-content: space-between; align-items: baseline; gap: .5rem; }
.price { font-weight: 600; }
.product select { width: 100%; margin: .6rem 0; padding: .5rem; border: 1px solid var(--line); border-radius: 10px; font: inherit; background: var(--cream); }
.product .btn { width: 100%; padding: .7rem; display: block; text-align: center; }
.badge { position: absolute; top: 10px; left: 10px; z-index: 1; background: var(--ink); color: var(--cream); font-size: .7rem; font-weight: 600; letter-spacing: .08em; padding: .25rem .6rem; border-radius: 99px; text-transform: uppercase; }

/* Bakery */
.bakery { display: grid; grid-template-columns: .9fr 1.1fr; gap: 1.4rem; align-items: start; }
.bakery-photo img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: 0 10px 30px rgba(168, 90, 78, .15); }
.bakery-menu { padding: 28px; }
.bakery-menu h3 { margin-top: 0; font-size: 1.5rem; }
.menu-list { list-style: none; padding: 0; margin: 1rem 0 1.6rem; }
.menu-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .7rem 0; border-bottom: 1px dashed var(--line); }
.menu-list li:last-child { border-bottom: 0; }
.menu-list small { display: block; color: var(--muted); font-size: .82rem; }
.menu-list b { white-space: nowrap; color: var(--rose-dark); }
.bakery-special { display: grid; grid-template-columns: 1fr 1fr auto; gap: 1.4rem; align-items: center; padding: 22px 28px; margin-bottom: 1.4rem; border: 2px dashed var(--rose); }
.bakery-special h3 { margin: 0; font-size: 1.5rem; }
.bakery-special .menu-list { margin: 0; }

/* Contact */
.contact { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 6vw, 80px); align-items: start; }
.contact > div p { margin-top: .8rem; color: var(--muted); }
.socials { list-style: none; padding: 0; margin-top: 1.4rem; display: grid; gap: .6rem; }
.socials a { display: flex; gap: .6rem; padding: .8rem 1rem; background: var(--card); border-radius: 12px; text-decoration: none; color: var(--muted); }
.socials b { color: var(--ink); min-width: 5.5rem; }
.socials a:hover b { color: var(--rose); }
.footer-social a { color: var(--muted); }
.form { padding: 28px; display: grid; gap: 1rem; }
.form label { display: grid; gap: .35rem; font-size: .85rem; font-weight: 600; }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; padding: .75rem .9rem; border: 1px solid var(--line); border-radius: 12px; background: var(--cream); color: var(--ink); }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--rose); border-color: transparent; }
.form-status { font-size: .9rem; color: var(--rose-dark); min-height: 1.2em; }

/* Footer */
.footer { padding: 2.4rem clamp(16px, 5vw, 64px); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; }

/* Cart drawer */
.overlay { position: fixed; inset: 0; background: rgba(43, 34, 32, .4); z-index: 40; }
.cart { position: fixed; top: 0; right: 0; height: 100%; width: min(400px, 100%); background: var(--cream); z-index: 50; display: flex; flex-direction: column; box-shadow: -10px 0 40px rgba(0,0,0,.15); }
.cart-head, .cart-foot { padding: 1.2rem 1.4rem; border-bottom: 1px solid var(--line); }
.cart-head { display: flex; justify-content: space-between; align-items: center; }
.cart-head h3 { margin: 0; font-size: 1.4rem; }
.cart-close { background: none; border: 0; font-size: 1.2rem; cursor: pointer; color: var(--ink); }
.cart-items { list-style: none; padding: 1rem 1.4rem; flex: 1; overflow-y: auto; display: grid; gap: 1rem; align-content: start; }
.cart-items .empty { color: var(--muted); }
.cart-item { display: grid; grid-template-columns: 56px 1fr auto; gap: .8rem; align-items: center; }
.cart-item .thumb { width: 56px; height: 56px; border-radius: 10px; background: #f4e4e6 linear-gradient(135deg, #f1d3c6, #d49a8c); background-size: contain; background-position: center; background-repeat: no-repeat; }
.cart-item .thumb[style] { background-color: #f4e4e6; }
.cart-item small { color: var(--muted); display: block; }
.qty { display: flex; gap: .4rem; align-items: center; margin-top: .2rem; }
.qty button { width: 24px; height: 24px; padding: 0; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--ink); font: 600 .95rem/1 var(--sans); cursor: pointer; }
.cart-foot { border-bottom: 0; border-top: 1px solid var(--line); display: grid; gap: .8rem; }
.cart-total { display: flex; justify-content: space-between; font-size: 1.05rem; }

/* Responsive */
@media (max-width: 960px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 1rem; padding: 1.2rem 16px 1.6rem; background: var(--cream); border-bottom: 1px solid var(--line); }
  .nav-links.open { display: flex; }
  .hero, .story, .contact, .mediakit, .bakery, .bakery-special { grid-template-columns: 1fr; }
  .hero-photo { max-width: 420px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: .8rem; }
  .products { grid-template-columns: repeat(2, 1fr); gap: .8rem; }
  .bars li { grid-template-columns: 5.5rem 1fr 2.6rem; }
}
