/* Penha d'Água concept: white paper, watercolour cobalt azulejos, bright daylight photos,
   uniform navy for the type, a touch of eagle gold. */
:root {
  --paper: #fdfcf9;
  --ink: #142347;
  --ink-2: #4b5674;
  --cobalt: #2a55a8;
  --cobalt-2: #1d3f86;
  --wash: #e8eef8;
  --wash-2: #f3f6fb;
  --gold: #b48a43;
  --line: #e3e6ee;
  --r: 22px;
  --serif: "Fraunces", Georgia, serif;
  --sans: "Figtree", system-ui, sans-serif;
  --mix: url(img/tiles/mix.webp);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--ink); background: var(--paper); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; }
.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }
.eyebrow { font-size: 12.5px; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; color: var(--cobalt); }
h1, h2, h3 { font-family: var(--serif); font-weight: 300; letter-spacing: -.015em; line-height: 1.02; text-wrap: balance; }
h1 em, h2 em { font-style: italic; color: var(--cobalt); }
h2 { font-size: clamp(38px, 5.2vw, 66px); }
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px; border-radius: 999px; font-weight: 600; font-size: 15.5px; transition: transform .25s, background .25s, color .25s; }
.btn svg { width: 18px; height: 18px; transition: transform .25s; }
.btn:hover { transform: translateY(-2px); }
.btn:hover svg { transform: translateX(3px); }
.btn.blue { background: var(--cobalt); color: #fff; box-shadow: 0 10px 26px rgba(42, 85, 168, .25); }
.btn.blue:hover { background: var(--cobalt-2); }
.btn.ghost { border: 1.5px solid var(--ink); background: rgba(253, 252, 249, .8); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.sm { padding: 10px 18px; font-size: 14px; }

/* header: centred eagle wordmark, menu on both sides */
.top { position: sticky; top: 0; z-index: 30; background: rgba(253, 252, 249, .95); border-bottom: 1px solid var(--line); }
.top .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 92px; gap: 20px; }
.menu { display: flex; gap: 28px; align-items: center; font-size: 15px; }
.menu.r { justify-content: flex-end; gap: 20px; }
.menu a:not(.btn) { color: var(--ink-2); transition: color .2s; }
.menu a:not(.btn):hover { color: var(--cobalt); }
.brand { display: flex; align-items: center; line-height: 1; }
.brand .logo { width: 196px; height: auto; display: block; }
.foot .brand .logo { width: 230px; }
.brand .eagle { width: 44px; height: 24px; color: var(--gold); margin-bottom: 5px; }
.brand b { font-family: var(--serif); font-weight: 400; font-size: 25px; letter-spacing: .01em; }
.brand small { font-size: 9.5px; letter-spacing: .38em; color: var(--gold); margin-top: 5px; font-weight: 600; }
.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; font-size: 12px; font-weight: 700; }
.lang button { padding: 5px 9px; border-radius: 999px; color: var(--ink-2); }
.lang button.on { background: var(--ink); color: #fff; }

/* hero: an azulejo wall with an arched window holding the bread */
.hero { position: relative; overflow: hidden; }
.hero .wall { position: absolute; top: 0; right: 0; bottom: 0; width: 48%; background: var(--mix) 0 0 / 420px 420px; }
.hero .wall::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--paper) 0%, rgba(253, 252, 249, .5) 18%, rgba(253, 252, 249, 0) 40%); }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; min-height: min(calc(100vh - 84px), 860px); padding: 64px 0; }
.hero h1 { font-size: clamp(54px, 7.4vw, 108px); margin: 22px 0 26px; }
.hero .lead { font-size: 19px; color: var(--ink-2); max-width: 31em; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.status { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; font-size: 14.5px; color: var(--ink-2); }
.status i { width: 9px; height: 9px; border-radius: 50%; background: #3fae6a; box-shadow: 0 0 0 5px rgba(63, 174, 106, .16); }
.status.closed i { background: #d0704f; box-shadow: 0 0 0 5px rgba(208, 112, 79, .16); }
.window { position: relative; justify-self: center; width: min(430px, 100%); }
.arch { aspect-ratio: 4 / 5.4; border-radius: 999px 999px 26px 26px; overflow: hidden; background: #fff; padding: 12px; box-shadow: 0 40px 80px rgba(20, 35, 71, .22); }
.arch img { width: 100%; height: 100%; object-fit: cover; border-radius: 999px 999px 16px 16px; }
.seal { position: absolute; left: -54px; bottom: 70px; width: 140px; height: 140px; border-radius: 50%; overflow: hidden; background: #fff; box-shadow: 0 18px 40px rgba(20, 35, 71, .2); display: grid; place-items: center; border: 6px solid #fff; }
.seal img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: spin 40s linear infinite; }
.seal span { position: relative; background: rgba(255, 255, 255, .94); border-radius: 50%; width: 84px; height: 84px; display: grid; place-content: center; text-align: center; font-family: var(--serif); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; line-height: 1.1; }
.seal b { display: block; font-size: 25px; letter-spacing: 0; font-weight: 400; }
@keyframes spin { to { transform: rotate(360deg); } }
.note { position: absolute; right: -22px; top: 60px; background: #fff; border-radius: 16px; padding: 12px 16px; box-shadow: 0 16px 36px rgba(20, 35, 71, .16); display: grid; grid-template-columns: auto auto; column-gap: 10px; align-items: center; }
.note b { font-family: var(--serif); font-size: 30px; font-weight: 400; grid-row: span 2; }
.note small { font-size: 12.5px; color: var(--ink-2); }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 13px; }

/* the painted border band between parts */
.barra { height: 56px; background: url(img/tiles/barra.webp) 0 50% / auto 100% repeat-x; animation: slide 50s linear infinite; }
@keyframes slide { to { background-position: -1778px 50%; } }
@keyframes slide-m { to { background-position: -1270px 50%; } }

.head { max-width: 760px; margin-bottom: 46px; }
.head h2 { margin: 14px 0 0; }
.head p { color: var(--ink-2); margin-top: 18px; max-width: 34em; }

/* bread */
.breads { padding: 110px 0 100px; }
.bread-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: stretch; }
.bread-grid .big { position: relative; border-radius: var(--r); overflow: hidden; min-height: 480px; }
.bread-grid .big img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bread-grid figcaption { position: absolute; left: 20px; bottom: 20px; background: #fff; border-radius: 14px; padding: 12px 18px; }
.bread-grid figcaption b { display: block; font-family: var(--serif); font-weight: 400; font-size: 22px; }
.bread-grid figcaption span { font-size: 13.5px; color: var(--ink-2); }
.loaves { display: flex; flex-direction: column; justify-content: center; }
.loaves li { display: grid; grid-template-columns: 130px 1fr; column-gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.loaves li:first-child { border-top: 1px solid var(--line); }
.loaves .t { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--cobalt); grid-row: span 2; }
.loaves b { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.1; }
.loaves i { font-style: normal; color: var(--ink-2); font-size: 15px; }
.loaves .more { display: block; border: 0; padding-top: 26px; font-family: var(--serif); font-style: italic; font-size: 21px; color: var(--cobalt); }

/* pastry display */
.vitrine { padding: 110px 0; background: var(--wash-2); position: relative; }
.vitrine::before, .vitrine::after { content: ""; position: absolute; left: 0; right: 0; height: 30px; background: var(--mix) 0 0 / 90px 90px; }
.vitrine::before { top: 0; }
.vitrine::after { bottom: 0; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin: -18px 0 34px; }
.tabs button { padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14.5px; color: var(--ink-2); transition: all .2s; }
.tabs button.on { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 24px; }
.item .ph { border-radius: var(--r); overflow: hidden; aspect-ratio: 1; background: #fff; }
.item .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.item:hover .ph img { transform: scale(1.05); }
.item h3 { font-size: 27px; margin-top: 16px; }
.item p { color: var(--ink-2); font-size: 15px; margin-top: 4px; }
.item[hidden] { display: none; }

/* story: a tiled panel behind a paper card */
.story { position: relative; padding: 120px 0; overflow: hidden; }
.story .panel { position: absolute; inset: 0 0 0 40%; background: var(--mix) 0 0 / 300px 300px; }
.story .wrap { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; }
.story .card { background: var(--paper); border-radius: 28px; padding: 56px 56px 50px; box-shadow: 0 30px 70px rgba(20, 35, 71, .14); position: relative; z-index: 2; margin-right: -70px; }
.story .eagle.big { width: 78px; height: auto; color: var(--gold); margin-bottom: 20px; display: block; }
.story h2 { margin: 12px 0 18px; }
.story p { color: var(--ink-2); }
.years { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; border-top: 1px solid var(--line); padding-top: 24px; }
.years b { font-family: var(--serif); font-size: 46px; font-weight: 300; color: var(--cobalt); display: block; line-height: 1; }
.years span { font-size: 13.5px; color: var(--ink-2); }
.story .photo { border-radius: 999px 999px 24px 24px; overflow: hidden; border: 12px solid #fff; box-shadow: 0 30px 70px rgba(20, 35, 71, .22); aspect-ratio: 4 / 5.4; width: 86%; justify-self: end; }
.story .photo img { width: 100%; height: 100%; object-fit: cover; }

/* orders: one painted tile per occasion */
.orders { padding: 110px 0; }
.occ { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.tilecard { position: relative; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: var(--t) center / cover; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; transition: transform .35s, box-shadow .35s; box-shadow: 0 10px 30px rgba(20, 35, 71, .08); }
.tilecard::before { content: ""; position: absolute; inset: 17%; background: rgba(253, 252, 249, .95); border-radius: 50%; transition: inset .35s; }
.tilecard:hover { transform: translateY(-4px) rotate(-1.5deg); box-shadow: 0 20px 40px rgba(20, 35, 71, .16); }
.tilecard:hover::before { inset: 13%; }
.tilecard b, .tilecard span { position: relative; }
.tilecard b { font-family: var(--serif); font-weight: 400; font-size: 25px; line-height: 1.1; }
.tilecard span { font-size: 12.5px; color: var(--ink-2); margin-top: 4px; max-width: 9em; line-height: 1.3; }
.center { text-align: center; margin-top: 46px; }

/* shops */
.shops { padding: 0 0 110px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.shop { border-radius: var(--r); overflow: hidden; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; }
.shop .ph { aspect-ratio: 16 / 9; overflow: hidden; }
.shop .ph img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.shop .ph.tiles { background: var(--t) 0 0 / 160px 160px; display: grid; place-items: center; }
.shop .ph.tiles span { background: var(--paper); padding: 10px 18px; border-radius: 999px; font-family: var(--serif); font-size: 19px; }
.shop .in { padding: 26px 30px 30px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.shop h3 { font-size: 34px; margin-bottom: 4px; }
.shop .row { display: flex; gap: 10px; color: var(--ink-2); font-size: 15.5px; }
.shop .row svg { flex: none; width: 18px; height: 18px; margin-top: 4px; color: var(--cobalt); }
.shop .acts { display: flex; gap: 10px; margin-top: auto; padding-top: 16px; flex-wrap: wrap; }

/* reviews */
.reviews { background: var(--wash); padding: 96px 0; }
.score { display: flex; align-items: center; gap: 20px; }
.score b { font-family: var(--serif); font-size: 84px; font-weight: 300; line-height: 1; color: var(--cobalt); }
.score div { display: flex; flex-direction: column; color: var(--ink-2); }
.score .stars { font-size: 18px; }
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 38px; }
.quotes blockquote { background: #fff; border-radius: var(--r); padding: 28px; font-family: var(--serif); font-weight: 300; font-size: 22px; line-height: 1.35; }
.quotes cite { display: block; margin-top: 14px; font-family: var(--sans); font-style: normal; font-size: 13.5px; color: var(--ink-2); }

/* footer */
.foot { background: var(--ink); color: rgba(255, 255, 255, .78); padding: 64px 0 32px; font-size: 15px; }
.foot .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; }
.foot .brand { align-items: flex-start; color: #fff; }
.foot h4 { color: #fff; font-family: var(--serif); font-weight: 400; font-size: 19px; margin-bottom: 10px; }
.foot li { margin: 5px 0; }
.foot .legal { border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; gap: 20px; font-size: 13px; color: rgba(255, 255, 255, .5); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* order page */
.ord { padding: 56px 0 100px; position: relative; }
.ord::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 260px; background: var(--mix) 0 0 / 180px 180px; opacity: .5; -webkit-mask: linear-gradient(#000, transparent); mask: linear-gradient(#000, transparent); }
.ord .wrap { position: relative; display: grid; grid-template-columns: 1.25fr .75fr; gap: 40px; align-items: start; }
.ord h1 { font-size: clamp(42px, 5.6vw, 70px); margin-top: 12px; }
.ord .intro { color: var(--ink-2); margin: 14px 0 32px; max-width: 34em; }
.stepper { display: flex; gap: 8px; margin-bottom: 24px; }
.stepper span { flex: 1; height: 4px; border-radius: 4px; background: var(--line); transition: background .3s; }
.stepper span.on { background: var(--cobalt); }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 34px; box-shadow: 0 20px 50px rgba(20, 35, 71, .06); }
.panel h3 { font-size: 30px; margin-bottom: 6px; }
.panel .hint { color: var(--ink-2); font-size: 15px; margin-bottom: 22px; }
.choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.choice { border: 1.5px solid var(--line); border-radius: 18px; overflow: hidden; text-align: left; transition: border-color .2s, transform .2s, box-shadow .2s; background: #fff; }
.choice:hover { transform: translateY(-2px); }
.choice.on { border-color: var(--cobalt); box-shadow: 0 0 0 3px rgba(42, 85, 168, .16); }
.choice img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.choice div { padding: 12px 14px; }
.choice b { display: block; font-family: var(--serif); font-weight: 400; font-size: 19px; }
.choice span { font-size: 13px; color: var(--ink-2); }
.seg { display: flex; gap: 10px; flex-wrap: wrap; }
.seg button { border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 16px; font-size: 15px; background: #fff; }
.seg button.on { border-color: var(--cobalt); background: var(--wash-2); font-weight: 600; color: var(--cobalt-2); }
.field { display: flex; flex-direction: column; gap: 7px; margin-top: 20px; }
.field label { font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.field input, .field select { font: inherit; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); width: 100%; }
.field input:focus, .field select:focus { outline: none; border-color: var(--cobalt); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.nav2 { display: flex; justify-content: space-between; margin-top: 30px; gap: 12px; }
.err { color: #b3402a; font-size: 14px; margin-top: 10px; min-height: 1em; }
.sum { position: sticky; top: 110px; background: #fff; border: 1px solid var(--line); border-radius: 26px; overflow: hidden; }
.sum .tiles { height: 90px; background: var(--mix) 0 0 / 90px 90px; }
.sum .body { padding: 26px 28px 28px; }
.sum h3 { font-size: 26px; margin-bottom: 16px; }
.sum dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; font-size: 15px; }
.sum dt { color: var(--ink-2); }
.sum dd { text-align: right; }
.sum .tot { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 16px; display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 12px; }
.sum .tot b { font-family: var(--serif); font-size: 38px; font-weight: 300; color: var(--cobalt); }
.sum small { color: var(--ink-2); font-size: 13px; display: block; }
.done { text-align: center; padding: 40px 20px; }
.done .ok { width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 22px; background: url(img/tiles/tile-rosacea.webp) center / cover; display: grid; place-items: center; }
.done .ok svg { background: #fff; border-radius: 50%; padding: 14px; width: 62px; height: 62px; color: var(--cobalt); }
.done h3 { font-size: 38px; }
.done p { color: var(--ink-2); margin-top: 10px; }
.done .num { font-family: var(--serif); font-size: 22px; color: var(--cobalt); margin-top: 16px; }

@media (max-width: 980px) {
  .menu.l, .menu.r > a:not(.btn) { display: none; }
  .top .wrap { grid-template-columns: auto 1fr; height: 70px; }
  .top .brand { order: -1; align-items: flex-start; }
  .brand .logo { width: 150px; }
  .brand b { font-size: 21px; }
  .hero .wall { width: 100%; height: 47%; top: auto; background-size: 300px 300px; }
  .hero .wall::before { background: linear-gradient(180deg, var(--paper) 0%, rgba(253, 252, 249, .3) 30%, rgba(253, 252, 249, 0) 55%); }
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; padding: 40px 0 60px; }
  .window { width: min(380px, 82%); }
  .seal { left: -30px; width: 112px; height: 112px; bottom: 40px; }
  .seal span { width: 68px; height: 68px; font-size: 9.5px; }
  .seal b { font-size: 20px; }
  .note { right: -14px; }
  .bread-grid, .story .wrap, .ord .wrap { grid-template-columns: 1fr; }
  .bread-grid .big { min-height: 360px; }
  .cases { grid-template-columns: 1fr 1fr; }
  .story .panel { inset: 48% 0 0 0; background-size: 240px 240px; }
  .story .card { margin: 0 0 40px; padding: 40px 28px; }
  .story .photo { width: 78%; justify-self: center; }
  .occ { grid-template-columns: 1fr 1fr; }
  .grid2, .quotes { grid-template-columns: 1fr; }
  .foot .cols { grid-template-columns: 1fr 1fr; }
  .sum { position: relative; top: 0; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { width: calc(100% - 32px); }
  .menu.r { gap: 8px; }
  .top .btn { display: none; }
  .hero .lead { font-size: 17px; }
  .breads, .vitrine, .orders, .story { padding: 72px 0; }
  .loaves li { grid-template-columns: 1fr; padding: 16px 0; }
  .loaves .t { grid-row: auto; margin-bottom: 2px; }
  .loaves b { font-size: 25px; }
  .cases { gap: 22px 12px; }
  .item h3 { font-size: 19px; margin-top: 10px; }
  .item p { font-size: 13.5px; }
  .tilecard b { font-size: 18px; }
  .tilecard span { font-size: 11px; }
  .tilecard::before { inset: 12%; }
  .years b { font-size: 34px; }
  .barra { height: 40px; animation-name: slide-m; }
  .choices { gap: 8px; }
  .choice div { padding: 9px 10px; }
  .choice b { font-size: 15px; line-height: 1.15; }
  .choice span { font-size: 12px; }
  .two { grid-template-columns: 1fr; }
  .panel { padding: 24px 18px; }
  .foot .cols { grid-template-columns: 1fr; }
  .foot .legal { flex-direction: column; }
  .score b { font-size: 60px; }
}
@media (prefers-reduced-motion: reduce) { .seal img, .barra { animation: none; } .reveal { opacity: 1; transform: none; } }

/* ---------- page loader: the real logo assembles itself ---------- */
#pdl { position: fixed; inset: 0; z-index: 100; background: var(--paper); display: none; place-items: center; }
#pdl.on { display: grid; }
#pdl.out { opacity: 0; transition: opacity .5s ease; }
#pdl.cover { animation: pdlfade .3s ease both; }
#pdl.cover .pdl-box { visibility: hidden; }
@keyframes pdlfade { from { opacity: 0; } to { opacity: 1; } }
#pdl .pdl-box { width: min(440px, 74vw); }
#pdl svg { width: 100%; height: auto; display: block; overflow: visible; }
.pdl-eagle { transform-box: fill-box; transform-origin: 50% 100%; opacity: 0; }
.pdl-shine { transform: translateX(-500px); }
.pdl-rules rect { transform-box: fill-box; transform-origin: center; transform: scaleX(0); }
.pdl-title { opacity: 0; transform-box: fill-box; transform-origin: center; }
.pdl-since { opacity: 0; transform: translateY(30px); }
#pdl.play .pdl-eagle { animation: pdl-eagle 1s cubic-bezier(.2, .75, .2, 1) .05s forwards; }
#pdl.play .pdl-shine { animation: pdl-shine 1.1s ease-in-out .7s forwards; }
#pdl.play .r1 { animation: pdl-rule .7s cubic-bezier(.65, 0, .25, 1) .6s forwards; }
#pdl.play .r2, #pdl.play .r3 { animation: pdl-rule .6s cubic-bezier(.65, 0, .25, 1) 1.25s forwards; }
#pdl.play .pdl-title { animation: pdl-title .8s cubic-bezier(.2, .7, .2, 1) .85s forwards; }
#pdl.play .pdl-since { animation: pdl-since .7s ease 1.3s forwards; }
@keyframes pdl-eagle { 0% { opacity: 0; transform: translateY(60px) scale(.62, .5); filter: blur(10px); } 55% { opacity: 1; filter: blur(0); } 100% { opacity: 1; transform: none; } }
@keyframes pdl-shine { to { transform: translateX(1300px); } }
@keyframes pdl-rule { to { transform: scaleX(1); } }
@keyframes pdl-title { 0% { opacity: 0; transform: translateY(24px); letter-spacing: 0; clip-path: inset(0 50% 0 50%); } 100% { opacity: 1; transform: none; clip-path: inset(0 0 0 0); } }
@keyframes pdl-since { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { #pdl .pdl-eagle, #pdl .pdl-title, #pdl .pdl-since { opacity: 1; transform: none; animation: none !important; } #pdl .pdl-rules rect { transform: none; } }

/* ---------- menu ---------- */
.menu-hero { padding: 48px 0 24px; }
.menu-hero h1 { font-size: clamp(40px, 5.4vw, 64px); }
.menu-hero p { color: var(--ink-2); margin-top: 12px; max-width: 38em; }
.menu-tools { display: flex; gap: 12px; align-items: center; margin-top: 24px; flex-wrap: wrap; }
.menu-tools input { font: inherit; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; width: min(340px, 100%); }
.menu-tools input:focus { outline: none; border-color: var(--cobalt); }
.cats { position: sticky; top: 92px; z-index: 20; background: rgba(253, 252, 249, .96); border-bottom: 1px solid var(--line); }
.cats .wrap { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.cats .wrap::-webkit-scrollbar { display: none; }
.cats a { flex: none; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: 14.5px; color: var(--ink-2); white-space: nowrap; }
.cats a.on { background: var(--cobalt); border-color: var(--cobalt); color: #fff; }
.msec { padding: 40px 0 8px; scroll-margin-top: 160px; }
.msec h2 { font-size: clamp(30px, 3.6vw, 42px); margin-bottom: 20px; }
.prods { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px 18px; }
.prod { display: flex; flex-direction: column; }
.prod .ph { aspect-ratio: 1; border-radius: 18px; overflow: hidden; background: #fff; position: relative; }
.prod .ph img { width: 100%; height: 100%; object-fit: cover; }
.prod h3 { font-size: 21px; margin-top: 12px; line-height: 1.15; }
.prod p { font-size: 14px; color: var(--ink-2); margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.prod .foot2 { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.prod .price { font-family: var(--serif); font-size: 21px; color: var(--ink); }
.add { width: 42px; height: 42px; border-radius: 50%; background: var(--cobalt); color: #fff; font-size: 24px; line-height: 1; display: grid; place-items: center; transition: background .2s, transform .15s; }
.add:hover { background: var(--cobalt-2); }
.add:active { transform: scale(.94); }
.qty { display: flex; align-items: center; gap: 10px; background: var(--wash); border-radius: 999px; padding: 4px; }
.qty button { width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--cobalt-2); font-size: 20px; line-height: 1; }
.qty b { min-width: 18px; text-align: center; font-weight: 700; }
.empty-search { color: var(--ink-2); padding: 40px 0; display: none; }
.cartbar { position: fixed; left: 50%; bottom: 18px; transform: translate(-50%, 140%); z-index: 40; background: var(--ink); color: #fff; border-radius: 999px; padding: 10px 10px 10px 22px; display: flex; align-items: center; gap: 18px; box-shadow: 0 18px 40px rgba(20, 35, 71, .3); transition: transform .35s cubic-bezier(.2, .8, .2, 1); width: min(560px, calc(100% - 32px)); }
.cartbar.show { transform: translate(-50%, 0); }
.cartbar span { flex: 1; font-size: 15px; }
.cartbar b { font-family: var(--serif); font-weight: 400; font-size: 20px; }
.cartbar .btn { padding: 12px 20px; }

/* ---------- checkout ---------- */
.co { padding: 40px 0 120px; }
.co .wrap { display: grid; grid-template-columns: 1.2fr .8fr; gap: 36px; align-items: start; }
.co h1 { font-size: clamp(38px, 5vw, 58px); margin-bottom: 24px; }
.cobox { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 26px 28px; margin-bottom: 16px; }
.cobox h3 { font-size: 24px; margin-bottom: 14px; display: flex; align-items: center; gap: 12px; }
.cobox h3 i { font-style: normal; font-family: var(--sans); font-size: 13px; font-weight: 700; width: 26px; height: 26px; border-radius: 50%; background: var(--cobalt); color: #fff; display: grid; place-items: center; }
.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.opt { border: 1.5px solid var(--line); border-radius: 16px; padding: 14px 16px; text-align: left; background: #fff; display: flex; flex-direction: column; gap: 2px; }
.opt b { font-size: 16px; }
.opt span { font-size: 13.5px; color: var(--ink-2); }
.opt.on { border-color: var(--cobalt); background: var(--wash-2); box-shadow: 0 0 0 3px rgba(42, 85, 168, .14); }
.paynote { background: #FBF4E6; border: 1px solid #EEDCB4; color: #6B4E1C; border-radius: 14px; padding: 12px 14px; font-size: 14.5px; margin-top: 14px; }
.sumc { position: sticky; top: 110px; background: #fff; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.sumc .tiles { height: 70px; background: var(--mix) 0 0 / 90px 90px; }
.sumc .body { padding: 22px 24px 24px; }
.sumc h3 { font-size: 24px; margin-bottom: 12px; }
.line { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.line img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; }
.line b { display: block; font-size: 15px; font-weight: 600; }
.line .qty { margin-top: 6px; width: max-content; padding: 2px; gap: 6px; }
.line .qty button { width: 26px; height: 26px; font-size: 16px; }
.line .pr { font-family: var(--serif); font-size: 17px; }
.tot { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 12px; display: grid; gap: 6px; font-size: 15px; }
.tot div { display: flex; justify-content: space-between; }
.tot .big { font-size: 18px; font-weight: 700; padding-top: 6px; }
.tot .big b { font-family: var(--serif); font-weight: 400; font-size: 30px; color: var(--cobalt); }
.okpage { text-align: center; padding: 60px 20px; max-width: 620px; margin: 0 auto; }
.okpage .ok { width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 24px; background: url(img/tiles/tile-rosacea.webp) center / cover; display: grid; place-items: center; }
.okpage .ok svg { background: #fff; border-radius: 50%; padding: 14px; width: 62px; height: 62px; color: var(--cobalt); }
.okpage h1 { font-size: clamp(38px, 5vw, 56px); }
.okpage p { color: var(--ink-2); margin-top: 12px; }
.okpage .num { font-family: var(--serif); font-size: 26px; color: var(--cobalt); margin-top: 18px; }

@media (max-width: 980px) {
  .prods { grid-template-columns: repeat(3, 1fr); }
  .co .wrap { grid-template-columns: 1fr; }
  .sumc { position: relative; top: 0; }
  .cats { top: 70px; }
}
@media (max-width: 600px) {
  .prods { grid-template-columns: 1fr 1fr; gap: 18px 12px; }
  .prod h3 { font-size: 17px; }
  .prod p { font-size: 13px; }
  .prod .price { font-size: 18px; }
  .add { width: 38px; height: 38px; }
  .opts { grid-template-columns: 1fr; }
  .cobox { padding: 20px 18px; }
  .cats { top: 70px; }
}

/* ---------- table mode, payment wait, review ---------- */
.mesabanner { background: var(--ink); color: #fff; }
.mesabanner .wrap { display: flex; align-items: center; gap: 12px; padding: 12px 0; font-size: 15.5px; }
.mesabanner img { width: 44px; }
.mesabanner b { font-family: var(--serif); font-weight: 400; font-size: 20px; }
.tablebox { display: flex; align-items: center; gap: 16px; background: var(--ink); color: #fff; border: 0; }
.tablebox img { width: 70px; }
.tablebox b { display: block; font-family: var(--serif); font-weight: 400; font-size: 32px; }
.tablebox span { color: rgba(255, 255, 255, .75); font-size: 15px; }
.consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: 14.5px; color: var(--ink-2); cursor: pointer; }
.consent input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--cobalt); flex: none; }
.opts.three { grid-template-columns: repeat(3, 1fr); }
.paywait { position: fixed; inset: 0; z-index: 60; background: rgba(253, 252, 249, .96); display: grid; place-content: center; justify-items: center; gap: 18px; }
.paywait img { width: 120px; animation: pw 1.2s ease-in-out infinite alternate; }
.paywait b { font-family: var(--serif); font-weight: 400; font-size: 26px; }
@keyframes pw { from { transform: translateY(0); opacity: .6; } to { transform: translateY(-8px); opacity: 1; } }
.review { margin-top: 34px; padding: 28px 24px; background: #fff; border: 1px solid var(--line); border-radius: 24px; }
.review h2 { font-size: 34px; }
.rv-stars { display: flex; justify-content: center; gap: 6px; margin: 14px 0 6px; }
.rv-stars button { font-size: 46px; line-height: 1; color: #D5D8E0; transition: color .15s, transform .15s; }
.rv-stars button.on { color: var(--gold); }
.rv-stars button:hover { transform: scale(1.08); }
.review p { margin-top: 10px; }
.rv-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
.review textarea { font: inherit; width: 100%; margin-top: 12px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; resize: vertical; }
.review textarea:focus { outline: none; border-color: var(--cobalt); }
#rvBad .btn { margin-top: 12px; }
@media (max-width: 600px) { .opts.three { grid-template-columns: 1fr; } .rv-stars button { font-size: 40px; } .tablebox b { font-size: 26px; } }
.at-table .menu-hero p, .at-table #tl, .at-table label[for="tl"] { display: none; }
.choices.six { grid-template-columns: repeat(3, 1fr); }
#occ button { padding: 9px 14px; font-size: 14px; }
@media (max-width: 600px) { .choices.six { grid-template-columns: 1fr 1fr; } }

/* celebration cakes inside the online shop */
.msub { color: var(--ink-2); font-size: 15px; margin: -6px 0 16px; max-width: 46em; }
.prod .price small { font-family: var(--sans, inherit); font-size: 13px; color: var(--ink-2); margin-right: 3px; }
.pick { background: var(--cobalt); color: #fff; border: 0; border-radius: 999px; padding: 10px 16px; font-weight: 700; font-size: 14px; line-height: 1; font-family: inherit; cursor: pointer; }
.pick:hover { background: var(--cobalt-2); }
.csheet { position: fixed; inset: 0; z-index: 300; background: rgba(16, 38, 74, .45); display: flex; align-items: center; justify-content: center; padding: 20px; }
.cs-box { position: relative; background: #fff; border-radius: 24px; width: min(860px, 100%); max-height: calc(100vh - 40px); overflow: auto; display: grid; grid-template-columns: 1fr 1.1fr; box-shadow: 0 30px 80px rgba(16, 38, 74, .35); }
.cs-ph { min-height: 100%; background: var(--wash); }
.cs-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cs-body { padding: 26px 26px 22px; display: flex; flex-direction: column; gap: 6px; }
.cs-body h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.05; padding-right: 30px; }
.cs-price { font-family: var(--serif); font-size: 34px; color: var(--cobalt); line-height: 1.1; }
.cs-price small { font-size: 15px; color: var(--ink-2); margin-left: 8px; font-family: inherit; }
.cs-body > p { color: var(--ink-2); font-size: 15px; }
.cs-body label { font-weight: 700; font-size: 14px; margin-top: 12px; }
.cs-sizes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cs-sizes button { border: 1.5px solid var(--line); background: #fff; border-radius: 14px; padding: 10px 4px; display: flex; flex-direction: column; align-items: center; gap: 2px; cursor: pointer; font-family: inherit; color: inherit; }
.cs-sizes button b { font-family: var(--serif); font-weight: 400; font-size: 26px; line-height: 1; }
.cs-sizes button span { font-size: 12px; color: var(--ink-2); }
.cs-sizes button i { font-style: normal; font-weight: 700; font-size: 14px; margin-top: 4px; }
.cs-sizes button.on { border-color: var(--cobalt); background: var(--wash-2); box-shadow: 0 0 0 3px rgba(42, 85, 168, .12); }
.cs-occ button { font-size: 14px; padding: 8px 12px; }
.cs-body input { border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; font: inherit; }
.cs-body input:focus { outline: none; border-color: var(--cobalt); }
.cs-add { margin-top: 16px; justify-content: center; }
.cs-note { font-size: 13px; color: var(--ink-2); text-align: center; }
.cs-x { position: absolute; top: 12px; right: 14px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: #fff; box-shadow: 0 2px 10px rgba(16, 38, 74, .15); font-size: 24px; line-height: 1; cursor: pointer; z-index: 2; color: var(--ink); }
.line .lmeta { display: block; font-size: 13px; color: var(--ink-2); margin-top: 2px; }
.cakenote { background: var(--wash-2); border-radius: 12px; padding: 10px 14px; font-size: 14px; margin-top: 12px; }
@media (max-width: 720px) {
  .csheet { align-items: flex-end; padding: 0; }
  .cs-box { grid-template-columns: 1fr; border-radius: 22px 22px 0 0; max-height: 92vh; }
  .cs-ph { height: 190px; min-height: 0; }
  .cs-body { padding: 18px 16px 20px; }
  .cs-sizes button b { font-size: 22px; }
}
/* checkout: the shop choice sits apart from pickup / delivery */
.subpick { margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--line); }
.sublab { font-weight: 700; font-size: 14px; margin-bottom: 10px; color: var(--ink); }
.demofill { display: inline-block; margin: 4px 0 16px; border: 1.5px dashed var(--gold); background: #fbf6ec; color: #6b4e1c; border-radius: 999px; padding: 9px 16px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
/* cake builder chips */
.cs-chips button { font-size: 14px; padding: 8px 12px; display: inline-flex; align-items: baseline; gap: 6px; }
.cs-chips button small { font-size: 11.5px; color: var(--gold); font-weight: 700; }
/* last-minute suggestions in the checkout */
.upsell { background: #fbf6ec; border: 1.5px solid #ead9b8; border-radius: 22px; padding: 18px 18px 16px; margin-bottom: 18px; }
.up-head b { font-family: var(--serif); font-weight: 400; font-size: 24px; display: block; line-height: 1.1; }
.up-head span { font-size: 14px; color: var(--ink-2); }
.up-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 12px; }
.up { background: #fff; border-radius: 16px; padding: 8px; display: flex; flex-direction: column; gap: 6px; }
.up img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; }
.up b { font-size: 13.5px; line-height: 1.2; display: block; }
.up span { font-size: 13px; color: var(--ink-2); }
.up .add { width: 34px; height: 34px; align-self: flex-end; margin-top: auto; }
.up .qty { align-self: flex-end; margin-top: auto; padding: 2px; gap: 6px; }
.up .qty button { width: 26px; height: 26px; }
@media (max-width: 720px) { .up-row { grid-template-columns: repeat(2, 1fr); } }

/* Concept note (showcase copy) */
.concept-note { position: fixed; left: 14px; bottom: 14px; z-index: 90; display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 12px 7px 9px; background: rgba(253,252,249,.94); color: var(--ink); border: 1px solid var(--line);
  border-radius: 999px; font: 600 11.5px/1.2 Figtree, system-ui, sans-serif; letter-spacing: .01em; text-decoration: none;
  box-shadow: 0 6px 18px -10px rgba(20,35,71,.35); backdrop-filter: blur(4px); }
.concept-note img { width: 18px; height: auto; }
.concept-note:hover { color: #2a55a8; }
.concept-msg { margin-top: 12px; padding: 10px 14px; border-left: 3px solid #2a55a8; background: rgba(42,85,168,.07); color: var(--ink); font-size: 14px; }
@media (max-width: 600px) { .concept-note { left: 10px; bottom: 10px; font-size: 11px; } }
