:root {
  --blue: #2F6FDB;
  --blue-dark: #1E4FA8;
  --navy: #13284F;
  --yellow: #FFC93C;
  --yellow-soft: #FFE9A8;
  --cream: #FFF8EC;
  --bun: #F4C27A;
  --cinnamon: #B8692E;
  --ink: #2B1A10;
  --muted: #6E5A4B;
  --pink: #FF8FA3;
  --radius: 22px;
  --shadow: 0 10px 30px rgba(43, 26, 16, .10);
  --display: "Fredoka", system-ui, sans-serif;
  --body: "Nunito", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--cream); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; cursor: pointer; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }

h1, h2, h3 { font-family: var(--display); line-height: 1.05; margin: 0 0 .5em; font-weight: 600; letter-spacing: -.01em; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
.center { text-align: center; }

.eyebrow { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; color: var(--blue); margin: 0 0 .6em; }
.eyebrow--light { color: var(--yellow); }
.eyebrow--yellow { color: var(--yellow); }
.eyebrow--center { text-align: center; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; padding: .9em 1.6em; border-radius: 999px; border: 0; font-weight: 800; text-decoration: none; transition: transform .15s ease, background .2s ease, box-shadow .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--yellow { background: var(--yellow); color: var(--navy); box-shadow: 0 6px 0 #E0A818; }
.btn--yellow:hover { box-shadow: 0 8px 0 #E0A818; }
.btn--blue { background: var(--blue); color: #fff; box-shadow: 0 6px 0 var(--blue-dark); }
.btn--ghost { color: #fff; border: 2px solid rgba(255,255,255,.7); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--full { width: 100%; }
.btn--nav { padding: .7em 1.4em; box-shadow: 0 4px 0 var(--blue-dark); }
.btn:focus-visible, .chip:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }

/* Announcement + nav */
.announce { background: var(--navy); color: var(--yellow-soft); text-align: center; font-size: .85rem; font-weight: 700; padding: .55em 1em; }
.nav { position: sticky; top: 0; z-index: 40; background: rgba(255, 248, 236, .92); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(43,26,16,.07); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-family: var(--display); font-weight: 700; font-size: 1.5rem; color: var(--blue); }
.brand img { transition: transform .5s ease; }
.brand:hover img { transform: rotate(-20deg); }
.nav__links { display: flex; gap: 2rem; }
.nav__links a { text-decoration: none; font-weight: 700; position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 3px; border-radius: 3px; background: var(--yellow); transform: scaleX(0); transition: transform .2s ease; }
.nav__links a:hover::after { transform: scaleX(1); }

/* Hero */
.hero { position: relative; min-height: min(86vh, 760px); display: grid; align-items: end; overflow: hidden; color: #fff; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(19,40,79,.85) 0%, rgba(19,40,79,.45) 50%, rgba(19,40,79,.05) 100%), linear-gradient(0deg, rgba(19,40,79,.5), transparent 40%); }
.hero__content { position: relative; padding-block: 120px 90px; max-width: 1200px; }
.hero h1 { font-size: clamp(3.2rem, 9vw, 7rem); font-weight: 700; margin-bottom: .25em; }
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero__lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 34ch; opacity: .95; margin: 0 0 2rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 1rem; }

/* USPs */
.usps { background: var(--yellow); color: var(--navy); }
.usps__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; padding-block: 1.6rem; }
.usp { display: flex; align-items: center; gap: .9rem; min-width: 0; }
.usp__icon { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--cream); color: var(--blue); display: grid; place-items: center; box-shadow: 0 4px 0 #E0A818; }
.usp strong { display: block; font-family: var(--display); font-size: 1.12rem; font-weight: 600; line-height: 1.2; }
.usp span:not(.usp__icon) { display: block; font-size: .88rem; line-height: 1.35; opacity: .8; margin-top: .15rem; }

/* Shop */
.shop { padding-block: 100px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.section-head h2 { margin: 0; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { border: 2px solid rgba(43,26,16,.15); background: transparent; color: var(--ink); padding: .5em 1.1em; border-radius: 999px; font-weight: 700; transition: all .15s ease; }
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.is-active { background: var(--blue); border-color: var(--blue); color: #fff; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(205px, 1fr)); gap: 1.4rem; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease; animation: rise .4s ease both; }
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(43,26,16,.16); }
.card.is-hidden { display: none; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } }
.card__img { position: relative; aspect-ratio: 1; overflow: hidden; background: var(--bun); }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card__img img { transform: scale(1.06); }
.tag { position: absolute; top: 12px; left: 12px; background: var(--yellow); color: var(--navy); font-weight: 800; font-size: .75rem; padding: .3em .8em; border-radius: 999px; }
.tag--pink { background: var(--pink); color: #fff; }
.card__body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; flex: 1; }
.price-badge { position: absolute; right: 12px; bottom: 12px; background: #fff; color: var(--blue); font-family: var(--display); font-weight: 600; font-size: 1.05rem; padding: .25em .8em; border-radius: 999px; box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.card__name { font-family: var(--display); font-weight: 600; font-size: 1.3rem; margin: 0; }
.card__en { color: var(--muted); font-size: .9rem; margin: 0 0 .6rem; }
.card__desc { font-size: .92rem; color: var(--muted); margin: 0 0 .9rem; flex: 1; }
.price { font-family: var(--display); font-weight: 600; font-size: 1.15rem; color: var(--blue); white-space: nowrap; }
.price--big { font-size: 2rem; color: var(--yellow); }

/* Fika feature */
.fika { background: var(--blue); color: #fff; padding-block: 100px; position: relative; overflow: hidden; }
.fika::before { content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(255,201,60,.25), transparent 70%); }
.fika__inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: 4rem; align-items: center; position: relative; }
.fika__media { position: relative; }
.fika__media video { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 28px; box-shadow: 0 20px 50px rgba(0,0,0,.25); }
.sticker { position: absolute; top: -18px; right: -14px; width: 108px; height: 108px; border-radius: 50%; background: var(--yellow); color: var(--navy); font-family: var(--display); font-weight: 700; display: grid; place-items: center; transform: rotate(12deg); box-shadow: 0 8px 20px rgba(0,0,0,.2); }
.fika__copy p { font-size: 1.1rem; opacity: .95; }
.ticks { list-style: none; padding: 0; margin: 1.5rem 0 2rem; }
.ticks li { padding-left: 2rem; position: relative; margin-bottom: .6rem; font-weight: 600; }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--yellow); color: var(--navy); font-size: .8rem; display: grid; place-items: center; font-weight: 800; }
.fika__buy { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }

/* Story */
.story { padding-block: 110px; }
.story__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.story__photos { position: relative; height: 560px; }
.story__photos img { position: absolute; object-fit: cover; border-radius: 26px; box-shadow: var(--shadow); }
.story__p1 { width: 68%; height: 82%; left: 0; top: 0; }
.story__p2 { width: 52%; height: 60%; right: 0; bottom: 0; border: 8px solid var(--cream); }
.story__copy p { font-size: 1.08rem; color: var(--muted); }
.sig { font-family: var(--display); font-size: 1.3rem !important; color: var(--cinnamon) !important; }

/* Reviews */
.reviews { background: var(--yellow-soft); padding-block: 100px; }
.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2.5rem; }
.reviews figure { margin: 0; background: #fff; border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); display: flex; flex-direction: column; justify-content: space-between; }
.reviews blockquote { margin: 0 0 1.5rem; font-size: 1.1rem; font-weight: 600; }
.reviews figcaption { font-weight: 800; display: flex; justify-content: space-between; }
.reviews figcaption span { color: #E0A818; letter-spacing: .1em; }

/* Visit */
.visit { background: var(--navy); color: #fff; padding-block: 100px; }
.visit__inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 4rem; align-items: center; }
.visit__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin: 1.5rem 0 2.5rem; }
.visit h3 { font-size: 1.2rem; color: var(--yellow); }
.hours { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1.2rem; margin: 0; }
.hours dt { font-weight: 700; }
.hours dd { margin: 0; opacity: .85; }
.visit p { margin: 0; opacity: .9; }
.visit__photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 28px; }
.newsletter label { display: block; font-weight: 700; margin-bottom: .8rem; }
.newsletter__row { display: flex; gap: .6rem; flex-wrap: wrap; }
.newsletter input { flex: 1; min-width: 200px; padding: .9em 1.2em; border-radius: 999px; border: 2px solid rgba(255,255,255,.25); background: rgba(255,255,255,.08); color: #fff; font: inherit; }
.newsletter input::placeholder { color: rgba(255,255,255,.55); }
.newsletter input:focus { outline: none; border-color: var(--yellow); }
.newsletter__ok { margin-top: .8rem !important; color: var(--yellow); font-weight: 700; }

/* Footer */
.footer { background: var(--blue); color: #fff; padding-block: 50px; text-align: center; }
.footer__inner { display: flex; flex-direction: column; align-items: center; gap: .4rem; }
.brand--footer { color: #fff; flex-direction: column; font-size: 1.8rem; }
.footer p { margin: 0; opacity: .9; }
.footer__small { font-size: .85rem; opacity: .65 !important; margin-top: .8rem !important; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* Open-now status */
.announce #openStatus { display: inline-flex; align-items: center; gap: .5em; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #FF8F8F; flex: none; }
.dot--open { background: #6EE7A8; box-shadow: 0 0 0 0 rgba(110,231,168,.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(110,231,168,0); } 100% { box-shadow: 0 0 0 0 rgba(110,231,168,0); } }
.hours .today { color: var(--yellow); opacity: 1; font-weight: 800; }
.today-tag { font-size: .65rem; text-transform: uppercase; letter-spacing: .08em; background: var(--yellow); color: var(--navy); padding: .15em .5em; border-radius: 999px; vertical-align: middle; margin-left: .3em; }

/* Dietary filters + labels */
.card__allergens { font-size: .78rem; color: var(--muted); margin: 0; padding-top: .7rem; border-top: 1px dashed rgba(43,26,16,.15); }
.diet-marks { display: flex; flex-wrap: wrap; gap: .3rem; margin: -.2rem 0 .7rem; }
.diet-mark { display: inline-flex; align-items: center; gap: .3em; font-size: .75rem; font-weight: 800; padding: .3em .75em .3em .6em; border-radius: 999px; }
.diet-mark::before { content: ""; width: .55em; height: .55em; border-radius: 50%; background: currentColor; }
.diet-mark--vegan { background: #DDF3E6; color: #1F6B48; }
.diet-mark--gf { background: #FFF0C2; color: #7A5A00; }
.diet-badge { font-size: .72rem; font-weight: 800; padding: .15em .6em; border-radius: 999px; white-space: nowrap; }
.diet-badge--vegan { background: #DDF3E6; color: #1F6B48; }
.diet-badge--gf { background: #FFF0C2; color: #7A5A00; }

/* Seasonal calendar */
.seasons { padding-block: 0 100px; }
.seasons__intro { max-width: 38ch; color: var(--muted); margin: 0; }
.seasons__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.season { --tone: var(--yellow-soft); --tone-ink: var(--navy); background: var(--tone); color: var(--tone-ink); border-radius: var(--radius); padding: 1.5rem 1.4rem 1.4rem; display: flex; flex-direction: column; min-width: 0; }
.season--saffron { --tone: #FFD25A; }
.season--cream { --tone: #DCE8FB; --tone-ink: var(--navy); }
.season--berry { --tone: #FFD3DB; --tone-ink: #5A1A2A; }
.season--cinnamon { --tone: #E9C39C; --tone-ink: #3D200C; }
.season.is-active { outline: 3px solid var(--blue); outline-offset: 4px; }
.season__when { font-family: var(--display); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 1.4rem; opacity: .75; }
.season__name { font-size: 1.6rem; margin: 0; }
.season__en { margin: 0 0 .8rem; font-weight: 700; opacity: .75; }
.season__desc { font-size: .92rem; margin: 0 0 1.4rem; flex: 1; }
.season__status { align-self: flex-start; font-weight: 800; font-size: .82rem; padding: .35em .9em; border-radius: 999px; background: rgba(255,255,255,.65); }
.season__status.is-now { background: var(--blue); color: #fff; }
.season__status.is-soon { background: var(--navy); color: var(--yellow); }

/* Cake orders */
.cakes { padding-block: 100px; }
.cakes__inner { display: grid; grid-template-columns: 1fr 1.05fr; gap: 4rem; align-items: start; }
.cakes__copy > p { color: var(--muted); font-size: 1.05rem; }
.cake-list { list-style: none; padding: 0; margin: 2rem 0 .8rem; }
.cake-list li { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px dashed rgba(43,26,16,.18); }
.cake-list strong { font-family: var(--display); font-weight: 600; font-size: 1.15rem; }
.cake-list span:not(.diet-badge) { color: var(--muted); font-size: .9rem; }
.cake-list b { font-family: var(--display); font-weight: 600; color: var(--blue); white-space: nowrap; }
.cake-list__note { font-size: .85rem !important; }
.cake-card { background: #fff; border-radius: 28px; box-shadow: var(--shadow); padding: 2rem; }
.cake-form h3, .cake-done h3 { font-size: 1.6rem; margin-bottom: 1.2rem; }
.field { display: flex; flex-direction: column; gap: .35rem; margin-bottom: 1rem; position: relative; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { font-weight: 800; font-size: .9rem; }
.opt { font-weight: 600; color: var(--muted); font-size: .8rem; }
.field input, .field select, .field textarea { font: inherit; color: var(--ink); background: var(--cream); border: 2px solid transparent; border-radius: 14px; padding: .75em 1em; width: 100%; transition: border-color .15s; }
.field textarea { resize: vertical; }
.field input[type="date"] { -webkit-appearance: none; appearance: none; min-width: 0; max-width: 100%; display: block; min-height: 3.1em; text-align: left; }
.field input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); background: #fff; }
.counter { position: absolute; right: .9rem; bottom: .8rem; font-size: .75rem; color: var(--muted); pointer-events: none; }
#cakeText { padding-right: 4.5rem; }
.cake-form__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px dashed rgba(43,26,16,.18); }
.estimate { display: flex; flex-direction: column; }
.estimate span { font-size: .85rem; color: var(--muted); font-weight: 700; }
.estimate strong { font-family: var(--display); font-weight: 600; font-size: 1.7rem; color: var(--blue); line-height: 1.1; }
.cake-done { text-align: center; padding: 2rem 1rem; }
.cake-done img { margin: 0 auto 1rem; }
.cake-done p { color: var(--muted); max-width: 40ch; margin: 0 auto 1rem; }
.cake-done__demo { font-size: .82rem; }

/* Mobile menu button */
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--yellow); box-shadow: 0 4px 0 #E0A818; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.menu-btn span { width: 20px; height: 2.5px; border-radius: 2px; background: var(--navy); transition: transform .25s ease, opacity .2s ease; }
.menu-btn.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { opacity: 0; }
.menu-btn.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.menu-btn:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }

/* Responsive */
@media (max-width: 960px) {
  .nav__inner { height: 68px; position: relative; }
  .btn--nav { display: none; }
  .menu-btn { display: flex; }
  .nav__links { display: none; position: absolute; top: 100%; left: -20px; right: -20px; flex-direction: column; gap: 0; background: var(--cream); padding: .5rem 20px 1.2rem; border-bottom: 1px solid rgba(43,26,16,.1); box-shadow: 0 16px 30px rgba(43,26,16,.12); }
  .nav__links.open { display: flex; animation: drop .25s ease; }
  .nav__links a { font-family: var(--display); font-size: 1.35rem; font-weight: 600; padding: .7rem 0; border-bottom: 1px dashed rgba(43,26,16,.15); }
  .nav__links a:last-child { border-bottom: 0; }
  .nav__links a::after { display: none; }
  @keyframes drop { from { opacity: 0; transform: translateY(-8px); } }
  .usps__grid { grid-template-columns: repeat(2, 1fr); gap: 1.4rem 1rem; }
  .fika__inner, .story__inner, .visit__inner { grid-template-columns: 1fr; gap: 3rem; }
  .story__photos { height: 440px; }
  .reviews__grid { grid-template-columns: 1fr; }
  .visit__photo { order: -1; }
  .visit__photo img { aspect-ratio: 16/10; }
}
@media (max-width: 560px) {
  .hero { min-height: 0; }
  .hero__content { padding-block: 180px 56px; }
  .hero__shade { background: linear-gradient(0deg, rgba(19,40,79,.85) 0%, rgba(19,40,79,.55) 60%, rgba(19,40,79,.35) 100%); }
  .hero__lead { margin-bottom: 1.6rem; }
  .usps__grid { display: flex; gap: .7rem; width: 100%; padding: 1rem 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .usps__grid::-webkit-scrollbar { display: none; }
  .usp { flex: 0 0 74%; scroll-snap-align: start; gap: .8rem; background: rgba(255,255,255,.45); border-radius: 18px; padding: .85rem 1rem; }
  .usp__icon { width: 42px; height: 42px; box-shadow: none; }
  .usp__icon svg { width: 21px; height: 21px; }
  .usp strong { font-size: 1.02rem; }
  .usp span:not(.usp__icon) { font-size: .82rem; }
  .brand { font-size: 1.3rem; }
  .brand img { width: 42px; height: 42px; }
  .announce { font-size: .75rem; }
  .footer { padding-block: 32px; }
  .brand--footer { flex-direction: row; font-size: 1.4rem; }
  .brand--footer img { width: 44px; height: 44px; }
  .footer p { font-size: .9rem; }
  .footer__small { margin-top: .4rem !important; }
  .shop, .fika, .story, .reviews, .visit { padding-block: 70px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .card__desc { display: none; }
  .card__name { font-size: 1.1rem; }
  .visit__cols { grid-template-columns: 1fr; }
  .sticker { width: 84px; height: 84px; font-size: .85rem; right: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1100px) {
  .seasons__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 960px) {
  .cakes__inner { grid-template-columns: 1fr; gap: 2.5rem; }
  }
@media (max-width: 560px) {
  .announce__extra { display: none; }
  .seasons { padding-block: 0 70px; }
  .cakes { padding-block: 70px; }
  .seasons__grid { grid-template-columns: 1fr; }
  .season__when { margin-bottom: .8rem; }
  .cake-card { padding: 1.4rem; border-radius: 22px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .cake-form__foot .btn { width: 100%; }
  .card__allergens { font-size: .72rem; }
}

.cake-error { margin: 1rem 0 0; padding: .8em 1em; border-radius: 14px; background: #FDE2E2; color: #8A1C1C; font-weight: 700; font-size: .9rem; }
