@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: light;
  --cream: #fbf7f1;
  --cream-deep: #f3e9dc;
  --paper: #fffdfa;
  --cocoa: #382a25;
  --cocoa-soft: #746158;
  --rose: #b74f69;
  --rose-dark: #963b55;
  --rose-pale: #f6e5e7;
  --line: #eadfd3;
  --green: #6f8061;
  --shadow: 0 22px 70px rgba(72, 45, 35, .10);
  --display: 'Cormorant Garamond', Georgia, serif;
  --body: 'Manrope', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; background: var(--cream); color: var(--cocoa); font-family: var(--body); font-size: 15px; line-height: 1.65; }
button, input { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { background: #eec5cd; color: var(--cocoa); }

.site-header { position: sticky; top: 0; z-index: 10; background: rgba(251,247,241,.90); border-bottom: 1px solid rgba(234,223,211,.75); backdrop-filter: blur(18px); }
.nav-wrap { width: min(1200px, calc(100% - 64px)); height: 82px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; }
.brand img { width: 170px; height: 50px; object-fit: cover; border-radius: 2px; }
.brand-note { color: var(--cocoa-soft); font-size: 10px; line-height: 1.35; letter-spacing: .12em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 34px; color: #67564d; font-size: 13px; font-weight: 700; }
.nav-links a { transition: color .2s ease; }
.nav-links a:hover { color: var(--rose); }
.nav-cta { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: var(--cocoa); color: white; font-size: 12px; font-weight: 800; transition: background .2s, transform .2s; }
.nav-cta:hover { background: var(--rose-dark); transform: translateY(-2px); }
.nav-cta span { font-size: 16px; }

main { overflow: hidden; }
.hero-shell { width: min(1200px, calc(100% - 64px)); margin: 34px auto 0; }
.hero { position: relative; min-height: 590px; display: grid; grid-template-columns: 1.03fr .97fr; align-items: center; gap: 42px; padding: 68px 64px 60px 72px; border-radius: 36px; overflow: hidden; background: radial-gradient(ellipse at 76% 13%, rgba(255,255,255,.86), transparent 33%), linear-gradient(118deg, #f5e8d8 0%, #f9f1e7 48%, #ead5c3 100%); }
.hero::before, .hero::after { content: ''; position: absolute; border: 1px solid rgba(183,79,105,.18); border-radius: 50%; pointer-events: none; }
.hero::before { width: 550px; height: 550px; right: -84px; top: -260px; }
.hero::after { width: 430px; height: 430px; right: -24px; top: -200px; }
.hero-copy { position: relative; z-index: 1; max-width: 520px; animation: rise-in .7s both; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--rose-dark); font-size: 10px; font-weight: 800; letter-spacing: .19em; text-transform: uppercase; }
.eyebrow::before { content: ''; width: 25px; height: 1px; background: var(--rose); }
.hero h1 { max-width: 560px; margin: 22px 0 20px; font-family: var(--display); font-size: clamp(58px, 6.3vw, 86px); font-weight: 600; line-height: .91; letter-spacing: -.04em; }
.hero h1 em { color: var(--rose); font-weight: 500; }
.hero-copy > p { max-width: 420px; margin: 0; color: #705f54; font-size: 15px; line-height: 1.85; }
.hero-actions { display: flex; align-items: center; gap: 22px; margin-top: 32px; }
.button-primary { display: inline-flex; justify-content: center; align-items: center; gap: 12px; min-height: 52px; padding: 0 24px; border: 0; border-radius: 999px; background: var(--rose); color: white; font-size: 12px; font-weight: 800; box-shadow: 0 12px 25px rgba(183,79,105,.19); transition: transform .2s, background .2s, box-shadow .2s; cursor: pointer; }
.button-primary:hover { transform: translateY(-2px); background: var(--rose-dark); box-shadow: 0 16px 30px rgba(183,79,105,.24); }
.button-primary span { font-size: 18px; line-height: 1; }
.text-link { color: var(--cocoa); font-size: 12px; font-weight: 800; border-bottom: 1px solid #bba99b; padding-bottom: 4px; }
.hero-note { display: flex; align-items: center; gap: 13px; margin-top: 48px; color: #827267; font-size: 11px; }
.note-seal { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #d7bdac; border-radius: 50%; color: var(--rose); font-size: 18px; }
.hero-visual { position: relative; z-index: 1; width: min(100%, 460px); height: 490px; justify-self: end; animation: soften-in .9s .1s both; }
.hero-photo { width: 100%; height: 100%; object-fit: cover; object-position: center; border-radius: 48% 48% 26px 26px; box-shadow: 0 28px 55px rgba(75,42,29,.20); }
.hero-photo-frame { position: absolute; inset: 13px -13px -13px 13px; border: 1px solid rgba(255,255,255,.68); border-radius: 48% 48% 30px 30px; pointer-events: none; }
.floating-note { position: absolute; right: -28px; bottom: 36px; width: 154px; padding: 16px 18px; border-radius: 18px; background: var(--paper); box-shadow: var(--shadow); transform: rotate(3deg); }
.floating-note small { display: block; color: var(--rose); font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.floating-note strong { display: block; margin-top: 3px; font-family: var(--display); font-size: 22px; line-height: 1.1; }
.floating-note span { color: var(--cocoa-soft); font-size: 10px; }
.hero-spark { position: absolute; right: 14px; top: 28px; z-index: 2; color: #fff4d1; font-size: 28px; text-shadow: 0 2px 12px rgba(93,52,39,.24); }

.values-strip { width: min(1020px, calc(100% - 88px)); margin: 33px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 22px 30px; border-bottom: 1px solid var(--line); }
.value { display: flex; justify-content: center; align-items: center; gap: 12px; color: #66564d; font-size: 11px; font-weight: 700; }
.value-mark { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; background: #efe2d5; color: var(--rose-dark); font-size: 14px; }

.menu-section { width: min(1200px, calc(100% - 64px)); margin: 95px auto 100px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 34px; }
.section-heading h2, .story-copy h2 { margin: 10px 0 0; font-family: var(--display); font-size: clamp(44px, 5vw, 62px); font-weight: 600; letter-spacing: -.03em; line-height: 1; }
.section-heading p { max-width: 310px; margin: 0 0 4px; color: #837267; font-size: 12px; text-align: right; }
.menu-tools { display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 17px 0 24px; border-top: 1px solid var(--line); }
.category-list { display: flex; flex-wrap: wrap; gap: 9px; }
.category-button { padding: 10px 17px; border: 1px solid #e5d8cc; border-radius: 999px; background: transparent; color: #76665c; font-size: 11px; font-weight: 800; cursor: pointer; transition: all .2s; }
.category-button:hover, .category-button[aria-pressed="true"] { border-color: var(--cocoa); background: var(--cocoa); color: white; }
.menu-search { position: relative; width: min(240px, 100%); flex: 0 0 auto; }
.menu-search svg { position: absolute; top: 50%; left: 13px; width: 16px; height: 16px; color: #907f72; transform: translateY(-50%); pointer-events: none; }
.menu-search input { width: 100%; height: 42px; padding: 0 14px 0 39px; border: 1px solid #e5d8cc; border-radius: 999px; outline: none; background: rgba(255,253,250,.7); color: var(--cocoa); font-size: 11px; }
.menu-search input:focus { border-color: var(--rose); box-shadow: 0 0 0 3px rgba(183,79,105,.12); }
.menu-search input::placeholder { color: #9b8c81; }
.menu-meta { display: flex; justify-content: space-between; align-items: center; margin: 0 2px 18px; color: #8a7b71; font-size: 10px; }
.favorite-filter { padding: 4px 0; border: 0; background: transparent; color: var(--rose-dark); font-size: 11px; font-weight: 800; cursor: pointer; }
.favorite-filter[aria-pressed="true"] { text-decoration: underline; text-underline-offset: 4px; }
.cake-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 22px; }
.cake-card { min-width: 0; animation: rise-in .5s both; }
.cake-image-wrap { position: relative; height: 320px; overflow: hidden; border-radius: 22px 22px 8px 8px; background: #eee2d6; }
.cake-image { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.65,.25,1); }
.cake-card:hover .cake-image { transform: scale(1.045); }
.cake-tag { position: absolute; top: 15px; left: 15px; padding: 7px 11px; border-radius: 99px; background: rgba(255,253,250,.94); color: var(--cocoa); font-size: 9px; font-weight: 800; letter-spacing: .03em; }
.favorite-button { position: absolute; top: 13px; right: 13px; width: 39px; height: 39px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255,253,250,.94); color: #6e574e; font-size: 21px; cursor: pointer; transition: transform .2s, background .2s, color .2s; }
.favorite-button:hover { transform: scale(1.08); }
.favorite-button[aria-pressed="true"] { background: var(--rose); color: white; }
.cake-info { padding: 18px 4px 0; }
.cake-topline { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.cake-title { margin: 0; font-family: var(--display); font-size: 29px; font-weight: 600; line-height: 1.1; }
.cake-price { flex: 0 0 auto; color: var(--rose-dark); font-size: 12px; font-weight: 800; }
.cake-price small { display: block; color: #98877b; font-size: 9px; font-weight: 600; text-align: right; }
.cake-description { min-height: 43px; margin: 10px 0 11px; color: #85766b; font-size: 11px; line-height: 1.75; }
.cake-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 11px; border-top: 1px solid #e9ded3; color: #8c7b70; font-size: 10px; }
.cake-detail { padding: 0; border: 0; background: none; color: var(--cocoa); font-size: 10px; font-weight: 800; cursor: pointer; }
.cake-detail span { margin-left: 5px; color: var(--rose); font-size: 14px; }
.empty-state { grid-column: 1 / -1; padding: 56px 20px; border: 1px dashed #dacabe; border-radius: 22px; color: #7c6c62; text-align: center; }
.empty-state strong { display: block; margin-bottom: 4px; font-family: var(--display); font-size: 28px; color: var(--cocoa); }

.story-section { position: relative; background: #f0e4d7; }
.story-inner { width: min(1120px, calc(100% - 64px)); margin: auto; padding: 78px 0; display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 74px; }
.story-copy { max-width: 520px; }
.story-copy p { margin: 22px 0 0; color: #756258; font-size: 13px; line-height: 1.9; }
.story-signature { display: flex; align-items: center; gap: 12px; margin-top: 25px; color: var(--rose-dark); font-family: var(--display); font-size: 22px; font-style: italic; }
.story-signature::before { content: ''; width: 32px; height: 1px; background: var(--rose); }
.story-photo-wrap { position: relative; height: 370px; }
.story-photo { width: 100%; height: 100%; object-fit: cover; border-radius: 50% 50% 18px 18px; box-shadow: var(--shadow); }
.story-photo-wrap::after { content: ''; position: absolute; inset: 12px -12px -12px 12px; border: 1px solid rgba(183,79,105,.4); border-radius: 50% 50% 22px 22px; pointer-events: none; }

.footer { background: #382a25; color: #f9f0e7; }
.footer-inner { width: min(1200px, calc(100% - 64px)); min-height: 126px; margin: auto; display: flex; justify-content: space-between; align-items: center; gap: 28px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand img { width: 120px; height: 35px; object-fit: cover; }
.footer-brand p { margin: 0; color: #cbbab0; font-size: 10px; }
.footer-copy { color: #cabbb1; font-size: 10px; text-align: right; }

.dialog { width: min(670px, calc(100% - 32px)); max-height: min(700px, calc(100% - 32px)); padding: 0; overflow: auto; border: 0; border-radius: 24px; background: var(--paper); color: var(--cocoa); box-shadow: 0 30px 100px rgba(27,17,14,.26); }
.dialog::backdrop { background: rgba(44,31,26,.52); backdrop-filter: blur(4px); }
.dialog-layout { display: grid; grid-template-columns: .95fr 1.05fr; }
.dialog-photo { width: 100%; height: 100%; min-height: 340px; object-fit: cover; }
.dialog-content { position: relative; padding: 48px 34px 34px; }
.dialog-close { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 50%; background: transparent; font-size: 20px; cursor: pointer; }
.dialog-content h3 { margin: 12px 0 3px; font-family: var(--display); font-size: 38px; line-height: 1; }
.dialog-price { margin: 0; color: var(--rose-dark); font-weight: 800; }
.dialog-description { margin: 20px 0 24px; color: #806f64; font-size: 12px; }
.dialog-note { color: #9b887b; font-size: 10px; }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 30; max-width: calc(100% - 48px); padding: 12px 18px; border-radius: 12px; background: var(--cocoa); color: white; font-size: 12px; box-shadow: var(--shadow); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .25s, transform .25s; }
.toast.visible { opacity: 1; transform: translateY(0); }
:focus-visible { outline: 3px solid #c45c74; outline-offset: 3px; }

@keyframes rise-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes soften-in { from { opacity: 0; transform: scale(.975); } to { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

@media (max-width: 960px) {
  .nav-wrap { width: min(100% - 40px, 1200px); }
  .nav-links { gap: 18px; }
  .brand-note { display: none; }
  .hero-shell, .menu-section { width: min(100% - 40px, 1200px); }
  .hero { min-height: 540px; grid-template-columns: 1fr .85fr; gap: 24px; padding: 55px 42px; }
  .hero h1 { font-size: clamp(55px, 7vw, 72px); }
  .hero-visual { height: 425px; }
  .floating-note { right: -14px; }
  .cake-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 18px; }
  .cake-image-wrap { height: 340px; }
  .story-inner { gap: 48px; }
}
@media (max-width: 680px) {
  html { scroll-padding-top: 72px; }
  .site-header { position: sticky; }
  .nav-wrap { width: calc(100% - 32px); height: 70px; gap: 12px; }
  .brand img { width: 136px; height: 40px; }
  .nav-links { gap: 14px; margin-left: auto; font-size: 11px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-cta { padding: 10px 14px; font-size: 10px; }
  .hero-shell { width: calc(100% - 24px); margin-top: 12px; }
  .hero { grid-template-columns: 1fr; gap: 26px; padding: 42px 27px 30px; border-radius: 28px; }
  .hero h1 { max-width: 450px; margin-top: 17px; font-size: clamp(54px, 13.5vw, 72px); }
  .hero-copy > p { font-size: 13px; }
  .hero-actions { gap: 18px; margin-top: 23px; }
  .button-primary { min-height: 47px; padding: 0 19px; font-size: 11px; }
  .hero-note { margin-top: 24px; }
  .hero-visual { width: min(100% - 20px, 390px); height: clamp(300px, 82vw, 390px); justify-self: center; margin: 0 0 8px; }
  .floating-note { right: -12px; bottom: 22px; width: 140px; padding: 12px 14px; }
  .values-strip { width: calc(100% - 34px); grid-template-columns: 1fr; gap: 12px; margin-top: 20px; padding: 16px 0 20px; }
  .value { justify-content: flex-start; font-size: 10px; }
  .menu-section { width: calc(100% - 34px); margin: 66px auto 68px; }
  .section-heading { display: block; margin-bottom: 25px; }
  .section-heading h2, .story-copy h2 { font-size: 48px; }
  .section-heading p { margin-top: 12px; text-align: left; }
  .menu-tools { display: block; padding-top: 14px; }
  .category-list { flex-wrap: nowrap; padding-bottom: 7px; overflow-x: auto; scrollbar-width: none; }
  .category-list::-webkit-scrollbar { display: none; }
  .category-button { flex: 0 0 auto; padding: 9px 14px; }
  .menu-search { width: 100%; margin-top: 12px; }
  .menu-meta { margin-top: 2px; }
  .cake-grid { grid-template-columns: 1fr; gap: 25px; }
  .cake-image-wrap { height: clamp(280px, 88vw, 410px); border-radius: 20px 20px 7px 7px; }
  .cake-title { font-size: 31px; }
  .cake-description { min-height: unset; }
  .story-inner { width: calc(100% - 40px); grid-template-columns: 1fr; gap: 32px; padding: 58px 0; }
  .story-photo-wrap { width: calc(100% - 12px); height: 320px; justify-self: center; }
  .footer-inner { width: calc(100% - 36px); min-height: 145px; flex-direction: column; justify-content: center; align-items: flex-start; gap: 13px; padding: 23px 0; }
  .footer-copy { text-align: left; }
  .dialog-layout { grid-template-columns: 1fr; }
  .dialog-photo { height: 245px; min-height: 0; }
  .dialog-content { padding: 28px 25px 25px; }
  .dialog-close { top: 10px; right: 10px; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
