/* =========================================================
   NEX Franchise — main stylesheet
   One file for every public page. Sections:
   1. Tokens   2. Base   3. Layout & type   4. Buttons & forms
   5. Header & footer   6. Shared components   7. Page sections
   8. Brand pages   9. Cassalu   10. Utilities & motion
   ========================================================= */

/* 1. Tokens -------------------------------------------------- */
:root {
  --ink: #251d40;          /* NEX deep indigo */
  --ink-2: #3b2f63;
  --orange: #ef8611;       /* NEX orange — primary action */
  --orange-dark: #c96a00;
  --cyan: #10b9c8;         /* NEX cyan */
  --purple: #7210a8;
  --paper: #f7f4ee;
  --sand: #efe9df;
  --white: #fff;
  --line: #e2dcd2;
  --muted: #5d5868;

  --font-head: "Montserrat", Arial, sans-serif;
  --font-body: "Roboto", Arial, sans-serif;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px rgba(37, 29, 64, .12);
  --wrap: 1240px;
  --header-h: 76px;

  /* Brand theme (overridden on each brand page) */
  --brand: var(--orange);
  --brand-deep: var(--ink);
  --brand-soft: var(--paper);
  --on-brand: var(--ink);
}

/* 2. Base ---------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 17px/1.6 var(--font-body); }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-head); font-weight: 800; line-height: 1.05; letter-spacing: -.02em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; border-radius: 8px; background: var(--ink); color: #fff; font-weight: 700; }
.skip-link:focus { top: 12px; }

/* 3. Layout & type ------------------------------------------- */
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 112px); }
.section--tight { padding-block: clamp(44px, 6vw, 72px); }
.bg-paper { background: var(--paper); }
.bg-sand { background: var(--sand); }
.bg-ink { background: var(--ink); color: #fff; }
.bg-brand { background: var(--brand); color: var(--on-brand); }
.bg-brand-soft { background: var(--brand-soft); }
.bg-brand-deep { background: var(--brand-deep); color: #fff; }

.h1 { font-size: clamp(2.5rem, 6.4vw, 5.25rem); }
.h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 700; letter-spacing: -.01em; }
.eyebrow { display: inline-block; margin-bottom: 14px; font: 700 13px/1.2 var(--font-head); letter-spacing: .14em; text-transform: uppercase; color: var(--purple); }
.bg-ink .eyebrow, .bg-brand-deep .eyebrow { color: var(--cyan); }
.bg-brand .eyebrow { color: inherit; opacity: .85; }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--muted); max-width: 62ch; }
.bg-ink .lead, .bg-brand-deep .lead { color: rgba(255, 255, 255, .8); }
.bg-brand .lead { color: inherit; opacity: .9; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 40px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head > div { max-width: 720px; }
.section-head .lead { margin-top: 14px; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 88px); align-items: center; }
.stack { display: grid; gap: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* 4. Buttons & forms ----------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border: 2px solid transparent; border-radius: 999px;
  background: var(--orange); color: var(--ink);
  font: 800 14px/1 var(--font-head); letter-spacing: .06em; text-transform: uppercase;
  cursor: pointer; transition: transform .15s ease, background .2s, color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(37, 29, 64, .18); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--outline { background: transparent; border-color: currentColor; color: inherit; }
.btn--brand { background: var(--brand); color: var(--on-brand); }
.btn--brand-deep { background: var(--brand-deep); color: #fff; }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 12px; }
.btn[disabled] { opacity: .6; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font: 800 14px var(--font-head); letter-spacing: .04em; text-transform: uppercase; }
.link-arrow::after { content: "→"; transition: transform .2s; }
.link-arrow:hover::after { transform: translateX(4px); }

.field { display: grid; gap: 6px; font: 600 14px var(--font-head); }
.input, .field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; color: var(--ink); font: 400 16px var(--font-body); transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--purple); box-shadow: 0 0 0 4px rgba(114, 16, 168, .12); }
.field select:disabled { background: #f5f3ef; color: var(--muted); }
.field .optional { color: var(--muted); font-weight: 400; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.form-grid .full { grid-column: 1 / -1; }
.hp-field { position: absolute; left: -9999px; }
.form-status { min-height: 1.4em; font-size: 15px; font-weight: 500; }
.form-status.is-success { color: #1a7a43; }
.form-status.is-error { color: #b42318; }

/* 5. Header & footer ----------------------------------------- */
.topbar { background: var(--ink); color: #fff; font: 600 13px var(--font-head); }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; }
.topbar nav { display: flex; gap: 22px; }
.topbar a:hover { color: var(--orange); }
.topbar-note { opacity: .85; }

.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.logo { flex: 0 0 auto; display: block; width: 150px; }
.logo svg { width: 100%; height: auto; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a, .nav-drop > button {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border: 0; border-radius: 999px;
  background: none; font: 700 15px var(--font-head); cursor: pointer; transition: background .2s;
}
.nav > a:hover, .nav-drop > button:hover, .nav-drop.is-open > button { background: var(--paper); }
.nav a[aria-current="page"] { color: var(--purple); }
.nav-drop { position: relative; }
.nav-drop > button::after { content: ""; width: 7px; height: 7px; margin-top: -3px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .2s; }
.nav-drop.is-open > button::after { transform: rotate(-135deg); margin-top: 3px; }
.mega {
  position: absolute; top: calc(100% + 10px); left: 50%; width: min(760px, 92vw); padding: 18px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow); transform: translate(-50%, 8px); opacity: 0; visibility: hidden; transition: .2s;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
}
.nav-drop.is-open .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; transition: background .2s; }
.mega a:hover { background: var(--paper); }
.mega img { width: 52px; height: 52px; border-radius: 12px; object-fit: cover; }
.mega strong { display: block; font: 800 15px var(--font-head); color: var(--c); }
.mega span span { display: block; font-size: 13px; color: var(--muted); line-height: 1.3; }
.mega .mega-all { grid-column: 1 / -1; justify-content: center; margin-top: 4px; border-top: 1px solid var(--line); border-radius: 0; font: 800 13px var(--font-head); letter-spacing: .06em; text-transform: uppercase; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn { display: inline-grid; place-items: center; width: 46px; height: 46px; border: 1.5px solid var(--line); border-radius: 50%; background: #fff; cursor: pointer; }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn:hover { border-color: var(--ink); }
.menu-toggle { display: none; }

.site-footer { background: var(--ink); color: rgba(255, 255, 255, .82); font-size: 15px; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-block: 72px 48px; }
.footer-brand .logo { width: 150px; margin-bottom: 18px; }
.footer-brand p { max-width: 34ch; }
.footer-col h2 { margin-bottom: 16px; color: #fff; font: 800 13px var(--font-head); letter-spacing: .14em; text-transform: uppercase; }
.footer-col ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer-col a:hover { color: var(--orange); }
.footer-search { display: flex; margin-top: 22px; max-width: 360px; border-radius: 999px; background: rgba(255, 255, 255, .1); }
.footer-search input { flex: 1; min-width: 0; min-height: 50px; padding: 0 20px; border: 0; background: none; color: #fff; outline: 0; }
.footer-search input::placeholder { color: rgba(255, 255, 255, .6); }
.footer-search button { margin: 4px; min-height: 42px; }
.footer-brands { display: flex; flex-wrap: wrap; gap: 8px 22px; padding-block: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font: 700 14px var(--font-head); }
.footer-brands a:hover { color: var(--orange); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 22px 30px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: rgba(255, 255, 255, .6); }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.socials a:hover { background: var(--orange); color: var(--ink); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }

/* Announcement bar (filled by promotions.js) */
.announce { background: var(--orange); color: var(--ink); font: 700 14px var(--font-head); text-align: center; }
.announce .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; padding-block: 10px; }
.announce a { text-decoration: underline; text-underline-offset: 3px; }

/* Order dialog */
.dialog { width: min(720px, calc(100% - 28px)); max-height: calc(100dvh - 40px); padding: 0; border: 0; border-radius: 24px; background: #fff; color: var(--ink); box-shadow: 0 30px 80px rgba(0, 0, 0, .3); }
.dialog::backdrop { background: rgba(20, 14, 38, .6); backdrop-filter: blur(3px); }
.dialog-inner { padding: clamp(24px, 4vw, 40px); }
.dialog-close { position: absolute; top: 14px; right: 14px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: var(--paper); font-size: 24px; line-height: 1; cursor: pointer; }
.dialog h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 8px; padding-right: 40px; }
.dialog p { color: var(--muted); }
.order-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 24px; }
.order-list a { display: flex; align-items: center; gap: 12px; padding: 10px; border: 1.5px solid var(--line); border-radius: 16px; transition: border-color .2s, transform .15s; }
.order-list a:hover { border-color: var(--c); transform: translateY(-2px); }
.order-list img { width: 56px; height: 56px; border-radius: 12px; object-fit: cover; }
.order-list strong { display: block; font: 800 15px var(--font-head); }
.order-list small { color: var(--muted); }
.dialog-foot { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }

/* 6. Shared components --------------------------------------- */
/* Page hero (inner pages) */
.page-hero { position: relative; padding-block: clamp(64px, 9vw, 120px) clamp(48px, 6vw, 80px); background: var(--paper); overflow: hidden; }
.page-hero .lead { margin-top: 18px; }
.page-hero--ink { background: var(--ink); color: #fff; }
.page-hero--ink .lead { color: rgba(255, 255, 255, .8); }
.page-hero--ink .eyebrow { color: var(--cyan); }
.page-hero--image { min-height: min(640px, 80vh); display: flex; align-items: end; color: #fff; background: var(--ink) var(--img) center / cover no-repeat; }
.page-hero--image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 14, 38, .88) 0%, rgba(20, 14, 38, .55) 55%, rgba(20, 14, 38, .15) 100%); }
.page-hero--image .wrap { position: relative; }
.page-hero--image .lead { color: rgba(255, 255, 255, .88); }
.page-hero--image .eyebrow { color: var(--orange); }

/* Cards */
.card { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease; }
a.card:hover, .card.is-link:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
a.card:hover .card-media img { transform: scale(1.05); }
.card-body { display: grid; gap: 8px; padding: 22px; flex: 1; align-content: start; }
.card-body p { color: var(--muted); font-size: 16px; }
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* Brand cards (Smoothie-King-style colored tiles) */
.brand-card { --c: var(--orange); position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: var(--c); color: var(--on-c, #fff); transition: transform .25s ease, box-shadow .25s ease; }
.brand-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.brand-card .card-media { aspect-ratio: 5 / 4; background: rgba(0, 0, 0, .1); }
.brand-card:hover .card-media img { transform: scale(1.06); }
.brand-card-body { display: grid; gap: 6px; padding: 20px 22px 24px; flex: 1; align-content: start; }
.brand-card-kicker { font: 700 12px var(--font-head); letter-spacing: .12em; text-transform: uppercase; opacity: .85; }
.brand-card h3 { font-size: 1.6rem; }
.brand-card p { font-size: 15px; opacity: .92; }
.brand-card .link-arrow { margin-top: 10px; font-size: 13px; }

.brand-card--feature { grid-column: span 2; grid-row: span 2; }
.brand-card--feature .card-media { aspect-ratio: auto; flex: 1 1 auto; min-height: 300px; }
.brand-card--feature .brand-card-body { flex: 0 0 auto; }
.brand-card--feature h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.brand-card--feature p { font-size: 17px; }

/* Newsletter */
.news-form { display: grid; gap: 10px; }
.news-row { display: flex; gap: 10px; padding: 8px; border-radius: 999px; background: #fff; box-shadow: var(--shadow); }
.news-row .input { flex: 1; min-width: 0; border-color: transparent; border-radius: 999px; }

/* Horizontal rail */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 1fr); gap: 18px; overflow-x: auto; padding-bottom: 14px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.rail > * { scroll-snap-align: start; }
.rail-controls { display: flex; gap: 10px; }

/* Chips / filters */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 42px; padding: 0 18px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font: 700 14px var(--font-head); cursor: pointer; transition: .2s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: #fff; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 24px; border-left: 1px solid rgba(255, 255, 255, .14); }
.stat:first-child { border-left: 0; }
.stat strong { display: block; font: 800 clamp(2.4rem, 5vw, 3.6rem)/1 var(--font-head); color: var(--orange); letter-spacing: -.03em; }
.stat span { display: block; margin-top: 10px; color: rgba(255, 255, 255, .82); font-size: 15px; }

/* Numbered steps */
.steps { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.step { padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step b { display: inline-grid; place-items: center; width: 46px; height: 46px; margin-bottom: 18px; border-radius: 50%; background: var(--orange); font: 800 15px var(--font-head); }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 16px; }
.bg-ink .step { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .12); }
.bg-ink .step p { color: rgba(255, 255, 255, .75); }

/* Feature list with icons */
.icon-list { display: grid; gap: 18px; }
.icon-item { display: grid; grid-template-columns: 52px 1fr; gap: 16px; align-items: start; }
.icon-item .ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--brand-soft); color: var(--brand-deep); }
.icon-item .ico svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.icon-item h3 { font-size: 1.1rem; margin-bottom: 4px; }
.icon-item p { color: var(--muted); font-size: 16px; }
.bg-ink .icon-item .ico { background: rgba(255, 255, 255, .1); color: var(--cyan); }
.bg-ink .icon-item p { color: rgba(255, 255, 255, .75); }

/* Media frame */
.frame { overflow: hidden; border-radius: calc(var(--radius) + 6px); box-shadow: var(--shadow); background: var(--sand); }
.frame img, .frame video { width: 100%; height: 100%; object-fit: cover; }
.frame--tall { aspect-ratio: 4 / 5; }
.frame--wide { aspect-ratio: 16 / 10; }

/* Accordion */
.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 20px 22px; font: 700 17px var(--font-head); cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: 0 0 auto; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--paper); font-size: 20px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 22px; color: var(--muted); }

/* Reviews marquee */
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee-track { display: flex; gap: 18px; width: max-content; animation: marquee 60s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 9px)); } }
.review { width: 330px; flex: 0 0 auto; padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.review .stars { color: #d97706; letter-spacing: 2px; }
.review blockquote { margin: 12px 0 16px; font: 600 17px/1.45 var(--font-head); }
.review cite { color: var(--muted); font-size: 14px; font-style: normal; }
.rating-badge { display: flex; align-items: center; gap: 14px; padding: 14px 22px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.rating-badge strong { font: 800 2.6rem/1 var(--font-head); }
.rating-badge .stars { color: #d97706; letter-spacing: 2px; }
.rating-badge small { display: block; color: var(--muted); }

/* Store finder band */
.finder { display: grid; grid-template-columns: 1fr auto; gap: 26px 40px; align-items: center; padding: clamp(26px, 4vw, 40px); border-radius: calc(var(--radius) + 6px); background: var(--orange); }
.finder h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.finder form { display: flex; gap: 10px; flex-wrap: wrap; }
.finder .input { width: min(340px, 100%); border-color: transparent; }
.finder-pins { display: flex; gap: 6px; margin-top: 10px; font: 600 14px var(--font-head); }

/* Promo cards (promotions.js) */
.promo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.promo-card .card-media { aspect-ratio: 16 / 10; }
.promo-card .card-body small { font: 700 12px var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--purple); }
.promo-art { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(135deg, var(--purple), var(--ink)); color: #fff; font: 800 1.4rem var(--font-head); }
.empty-note { padding: 40px; border: 1.5px dashed var(--line); border-radius: var(--radius); text-align: center; color: var(--muted); }

/* Stories */
.story-card .card-media { aspect-ratio: 16 / 10; }
.story-card small { font: 700 12px var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--purple); }
.story-card h3 a::after { content: ""; position: absolute; inset: 0; }
.story-art { display: grid; place-items: end start; width: 100%; height: 100%; padding: 20px; background: linear-gradient(135deg, var(--orange), var(--purple)); color: #fff; font: 800 1.1rem var(--font-head); }

/* Lightbox */
.lightbox { width: min(1100px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: 18px; background: #0f0b1d; color: #fff; overflow: hidden; }
.lightbox::backdrop { background: rgba(10, 6, 22, .85); }
.lightbox figure { margin: 0; }
.lightbox img { width: 100%; max-height: calc(100dvh - 110px); object-fit: contain; }
.lightbox figcaption { padding: 14px 20px; font: 600 15px var(--font-head); }
.lightbox-btn { position: absolute; top: 50%; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--ink); font-size: 26px; transform: translateY(-50%); cursor: pointer; }
.lightbox-btn.prev { left: 12px; } .lightbox-btn.next { right: 12px; }
.lightbox .dialog-close { background: rgba(255, 255, 255, .9); color: var(--ink); z-index: 2; }
/* Cassalu menu — tap a dish to see its photo */
[data-menu] .dish { cursor: zoom-in; transition: border-color .2s, box-shadow .2s, transform .2s; }
[data-menu] .dish:hover, [data-menu] .dish:focus-visible { border-color: var(--brand); box-shadow: 0 8px 24px rgba(30, 20, 10, .10); transform: translateY(-1px); outline: none; }
[data-menu] .dish:focus-visible { box-shadow: 0 0 0 3px var(--brand-soft), 0 0 0 5px var(--brand); }
[data-menu] .dish img { transition: transform .3s; }
[data-menu] .dish:hover img { transform: scale(1.04); }
.dish-viewer { overflow: hidden; }
.dish-viewer img { display: block; max-height: calc(100dvh - 200px); background: #000; }
.dish-viewer figcaption { display: flex; gap: 16px; justify-content: space-between; align-items: flex-start; font-weight: 400; }
.dish-viewer-text b { display: block; font: 800 1.1rem var(--font-head); }
.dish-viewer-text > span { display: block; margin-top: 2px; color: rgba(255, 255, 255, .78); font: 400 15px/1.45 var(--font-body, inherit); }
.dish-viewer-side { display: grid; justify-items: end; gap: 6px; flex: none; text-align: right; }
.dish-viewer .price { font: 800 1.1rem var(--font-head); color: #f5b26b; }
.dish-viewer a { color: #fff; font: 600 13px var(--font-head); text-decoration: underline; white-space: nowrap; }
.dish-viewer .lightbox-btn { top: calc(50% - 40px); }
@media (max-width: 640px) { .dish-viewer img { max-height: calc(100dvh - 260px); } .dish-viewer figcaption { flex-direction: column; gap: 8px; } .dish-viewer-side { justify-items: start; text-align: left; } .dish-viewer .lightbox-btn { width: 40px; height: 40px; } }
.menu-pages { display: grid; gap: 16px; max-height: calc(100dvh - 120px); overflow-y: auto; padding: 16px; background: #fff; }
.menu-pages img { width: 100%; border-radius: 10px; }

/* 7. Page sections ------------------------------------------- */
/* Home hero */
.hero { position: relative; display: flex; align-items: center; min-height: min(760px, calc(100svh - 114px)); color: #fff; background: var(--ink); overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(20, 14, 38, .92) 0%, rgba(20, 14, 38, .6) 50%, rgba(20, 14, 38, .1) 100%); }
.hero .wrap { position: relative; z-index: 2; padding-block: 80px; }
.hero h1 { max-width: 11ch; }
.hero h1 em { font-style: normal; color: var(--orange); }
.hero .lead { margin-top: 20px; color: rgba(255, 255, 255, .88); max-width: 48ch; }
.hero .eyebrow { color: var(--cyan); }
.hero-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.hero-badges span { padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .12); font: 700 13px var(--font-head); }

/* Overlapping finder after hero */
.finder-wrap { position: relative; z-index: 3; margin-top: -54px; }

/* Experience tabs */
.exp-tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 22px; }
.exp-tab { display: grid; place-items: center; min-width: 120px; height: 58px; padding: 0 18px; border: 3px solid transparent; border-radius: 16px; background: #fff; cursor: pointer; opacity: .75; transition: .2s; }
.exp-tab img { height: 22px; width: auto; }
.exp-tab[aria-selected="true"], .exp-tab:hover { border-color: var(--orange); opacity: 1; }
.exp-panel { position: relative; margin: 0; aspect-ratio: 16 / 8; overflow: hidden; border-radius: calc(var(--radius) + 6px); }
.exp-panel img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.exp-panel figcaption { position: absolute; left: 20px; bottom: 20px; padding: 10px 16px; border-radius: 12px; background: rgba(20, 14, 38, .78); font: 600 15px var(--font-head); }
.pillars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 28px; }
.pillar { padding: 22px; border-radius: var(--radius); background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); }
.pillar h3 { color: var(--orange); font-size: 1.15rem; margin-bottom: 6px; }
.pillar p { color: rgba(255, 255, 255, .75); font-size: 15px; }

/* Feature split with brand color background (Cassalu promo, rewards) */
.feature-band { overflow: hidden; border-radius: calc(var(--radius) + 8px); display: grid; grid-template-columns: 1fr 1fr; }
.feature-band .copy { padding: clamp(32px, 5vw, 64px); display: grid; align-content: center; gap: 16px; }
.feature-band .media { position: relative; min-height: 380px; }
.feature-band .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Rewards app band */
.app-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.app-badge { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border-radius: 14px; background: var(--ink); color: #fff; font: 700 15px var(--font-head); }
.app-badge small { display: block; font: 500 11px var(--font-body); opacity: .75; }
.app-badge svg { width: 24px; height: 24px; fill: currentColor; }
.phone-mock { justify-self: center; width: min(300px, 80%); aspect-ratio: 9 / 18; padding: 14px; border-radius: 42px; background: var(--ink); box-shadow: var(--shadow); }
.phone-screen { display: grid; align-content: start; gap: 12px; height: 100%; padding: 26px 18px; border-radius: 30px; background: linear-gradient(170deg, var(--orange), #f6a84c 45%, var(--paper) 45%); }
.phone-screen b { color: var(--ink); font: 800 1.2rem var(--font-head); }
.phone-points { padding: 16px; border-radius: 18px; background: #fff; box-shadow: 0 10px 20px rgba(0, 0, 0, .08); }
.phone-points strong { display: block; font: 800 2rem var(--font-head); color: var(--purple); }
.phone-points small { color: var(--muted); }
.phone-row { height: 44px; border-radius: 12px; background: #fff; opacity: .9; }

/* Partner form card */
.form-card { padding: clamp(24px, 4vw, 40px); border-radius: calc(var(--radius) + 6px); background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.form-card h3 { font-size: 1.6rem; margin-bottom: 6px; }
.form-card > p { color: var(--muted); margin-bottom: 22px; }
.form-card .btn { width: 100%; margin-top: 6px; }
.form-card .form-status { margin-top: 12px; }
.trust-list { display: grid; gap: 12px; margin: 26px 0 0; padding: 0; list-style: none; }
.trust-list li { display: flex; gap: 12px; align-items: start; }
.trust-list li::before { content: "✓"; flex: 0 0 auto; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--orange); color: var(--ink); font-weight: 800; font-size: 14px; }

/* About timeline */
.timeline { position: relative; display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.timeline li { position: relative; display: grid; grid-template-columns: 110px 1fr; gap: 22px; padding: 0 0 34px; }
.timeline li::before { content: ""; position: absolute; left: 118px; top: 8px; bottom: -8px; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline span { font: 800 1.4rem var(--font-head); color: #a14f00; }
.timeline div { position: relative; padding-left: 26px; }
.timeline div::before { content: ""; position: absolute; left: -13px; top: 8px; width: 16px; height: 16px; border-radius: 50%; background: var(--purple); box-shadow: 0 0 0 5px #fff; }
.timeline h3 { font-size: 1.2rem; margin-bottom: 4px; }
.timeline p { color: var(--muted); }

/* Franchise model compare */
.compare { display: grid; grid-template-columns: 1fr 1.2fr; gap: 18px; }
.compare article { padding: clamp(26px, 4vw, 44px); border-radius: var(--radius); }
.compare .old { background: var(--sand); }
.compare .new { background: var(--ink); color: #fff; }
.compare span { font: 700 12px var(--font-head); letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.compare h3 { margin: 12px 0; font-size: clamp(1.6rem, 3vw, 2.4rem); }
.compare ul { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; }
.compare li::before { content: "✓  "; color: var(--orange); font-weight: 800; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.tags span { padding: 8px 16px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); font: 700 14px var(--font-head); }
.bg-paper .tags span, .tags.light span { background: #fff; border-color: var(--line); }

/* Contact routes */
.route { display: grid; grid-template-columns: 52px 1fr auto; gap: 16px; align-items: center; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: #fff; transition: .2s; }
.route:hover { border-color: var(--ink); transform: translateX(4px); }
.route .ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--paper); }
.route svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.route h3 { font-size: 1.05rem; }
.route p { color: var(--muted); font-size: 15px; }

/* Gallery */
.gallery { columns: 3 280px; column-gap: 16px; }
.gallery-item { position: relative; display: block; width: 100%; margin: 0 0 16px; padding: 0; border: 0; border-radius: 16px; overflow: hidden; background: var(--sand); cursor: zoom-in; break-inside: avoid; }
.gallery-item img { width: 100%; transition: transform .4s; }
.gallery-item:hover img { transform: scale(1.04); }
.gallery-item span { position: absolute; left: 12px; bottom: 12px; padding: 6px 12px; border-radius: 999px; background: rgba(255, 255, 255, .92); font: 700 13px var(--font-head); }
.gallery-item[hidden] { display: none; }

/* Blog article */
.article-hero { padding-block: clamp(56px, 8vw, 96px) 40px; background: var(--paper); }
.article-hero img { width: 100%; max-height: 520px; object-fit: cover; border-radius: var(--radius); margin-top: 36px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; font: 600 14px var(--font-head); color: var(--muted); }
.breadcrumb a:hover { color: var(--purple); }
.prose { max-width: 720px; margin-inline: auto; font-size: 18px; line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 1.8rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.35rem; margin-top: 1.6em; }
.prose a { color: var(--purple); text-decoration: underline; }
.prose img { border-radius: 14px; }
.prose blockquote { margin-inline: 0; padding-left: 20px; border-left: 4px solid var(--orange); font-style: italic; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 18px; color: var(--muted); font-size: 15px; }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.article-tags span { padding: 4px 12px; border-radius: 999px; background: var(--paper); font-size: 14px; }

/* 404 */
.nf { min-height: 60vh; display: grid; align-items: center; }
.nf-code { font: 800 clamp(5rem, 16vw, 11rem)/1 var(--font-head); color: var(--orange); letter-spacing: -.05em; }
.link-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 30px; }
.link-list a { display: flex; justify-content: space-between; padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; font: 700 15px var(--font-head); }
.link-list a::after { content: "→"; }
.link-list a:hover { border-color: var(--ink); }

/* 8. Brand pages --------------------------------------------- */
.brand-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); min-height: min(720px, calc(100svh - 114px)); background: var(--brand); color: var(--on-brand); }
.brand-hero .copy { display: grid; align-content: center; gap: 18px; padding: clamp(48px, 7vw, 96px) clamp(20px, 6vw, 80px); }
.brand-hero .copy > * { max-width: 560px; }
.brand-hero .wordmark { display: flex; align-items: center; gap: 12px; font: 800 1.1rem var(--font-head); letter-spacing: .12em; text-transform: uppercase; }
.brand-hero .wordmark img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; }
.brand-hero h1 { font-size: clamp(2.4rem, 5.4vw, 4.6rem); }
.brand-hero .lead { color: inherit; opacity: .9; }
.brand-hero .media { position: relative; min-height: 340px; }
.brand-hero .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.brand-hero .actions { margin-top: 10px; }
.brand-hero .btn--primary { background: var(--brand-deep); color: #fff; }
.brand-hero .btn--secondary { background: transparent; border-color: currentColor; color: inherit; }
.brand-nav { position: sticky; top: var(--header-h); z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.brand-nav .wrap { display: flex; align-items: center; gap: 6px; min-height: 58px; overflow-x: auto; scrollbar-width: none; }
.brand-nav a { flex: 0 0 auto; padding: 8px 16px; border-radius: 999px; font: 700 14px var(--font-head); white-space: nowrap; }
.brand-nav a:hover { background: var(--brand-soft); }
.brand-nav .btn { margin-left: auto; }
.points { display: grid; gap: 14px; margin-top: 28px; }
.point { padding: 18px 20px; border-left: 4px solid var(--brand); border-radius: 0 14px 14px 0; background: #fff; }
.point strong { display: block; font: 800 1.05rem var(--font-head); }
.point span { color: var(--muted); font-size: 16px; }
.product-card .card-media { aspect-ratio: 1; }
.product-card h3 { color: var(--brand-deep); }
.facts { display: grid; gap: 12px; margin-top: 24px; }
.fact { padding: 16px 18px; border-radius: 14px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .16); }
.fact strong { display: block; font: 800 1rem var(--font-head); color: #fff; }
.fact span { color: rgba(255, 255, 255, .8); font-size: 15px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.tab { min-height: 46px; padding: 0 20px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; font: 700 14px var(--font-head); cursor: pointer; }
.tab[aria-selected="true"] { border-color: var(--brand-deep); background: var(--brand-deep); color: #fff; }
.tab-panel { padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.tab-panel h3 { margin-bottom: 16px; }
.tab-panel ul { display: grid; gap: 8px; padding-left: 20px; margin: 0; }
.money-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.money-grid > div { padding: 20px; border-radius: 16px; background: var(--brand-soft); }
.money-grid span { display: block; font: 700 12px var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--brand-deep); }
.money-grid strong { display: block; margin: 6px 0; font: 800 2rem var(--font-head); }
.money-grid ul { padding-left: 18px; }
.process { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin: 0; padding: 0; list-style: none; counter-reset: p; }
.process li { padding: 18px 14px; border-radius: 14px; background: var(--brand-soft); font: 700 15px var(--font-head); counter-increment: p; }
.process li::before { content: "0" counter(p); display: block; margin-bottom: 6px; color: var(--brand-deep); font-size: 13px; }

.brand-page .finder { background: var(--brand); color: var(--on-brand); }
.brand-page .finder .btn { background: var(--brand-deep); color: #fff; }

/* 9. Cassalu (own palette) ----------------------------------- */
.theme-cassalu {
  /* From the Cassalu banner: logo orange, "Filipino Table" brown, warm cream paper. No green. */
  --brand: #b8561a;          /* burnt orange — buttons, prices, active states (white text passes AA) */
  --brand-deep: #6b3510;     /* brown — headings on cream, dark bands */
  --brand-soft: #f8efe3;     /* light cream */
  --on-brand: #fff;
  --gold: #f5b26b;           /* light orange — accents on the brown bands */
  --cassalu-orange: #e07a1f; /* the logo orange (large display text / decoration only) */
  --cassalu-cream: #f3e6d3;  /* banner paper */
  --cassalu-text: #4a2810;
}
.theme-cassalu .eyebrow { color: var(--brand-deep); }
.theme-cassalu .bg-brand .eyebrow, .theme-cassalu .bg-brand-deep .eyebrow { color: var(--gold); }
.cassalu-hero h1 em { font-style: italic; font-weight: 600; color: var(--gold); }
.cassalu-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.cassalu-meta span { padding: 7px 14px; border-radius: 999px; background: rgba(255, 255, 255, .14); font: 600 14px var(--font-head); }
.cat-card { position: relative; display: block; overflow: hidden; border-radius: var(--radius); aspect-ratio: 4 / 5; background: var(--sand); }
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.cat-card:hover img { transform: scale(1.06); }
.cat-card span { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; border-radius: 14px; background: rgba(255, 255, 255, .94); font: 800 15px var(--font-head); color: var(--brand); }
.menu-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; }
.menu-side { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 4px; }
.menu-side button { padding: 11px 14px; border: 0; border-radius: 12px; background: none; text-align: left; font: 700 15px var(--font-head); cursor: pointer; }
.menu-side button:hover { background: var(--brand-soft); }
.menu-side button[aria-pressed="true"] { background: var(--brand); color: #fff; }
.menu-cat + .menu-cat { margin-top: 56px; }
.menu-cat[hidden] { display: none; }
.menu-cat > header { margin-bottom: 22px; }
.menu-cat > header p { color: var(--muted); }
.dish { display: grid; grid-template-columns: 112px 1fr; gap: 16px; padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: #fff; }
.dish img { width: 112px; height: 112px; border-radius: 12px; object-fit: cover; background: var(--sand); }
.dish h3 { font-size: 1.05rem; }
.dish p { color: var(--muted); font-size: 15px; line-height: 1.45; margin-top: 4px; }
.dish .price { display: inline-block; margin-top: 8px; font: 800 1rem var(--font-head); color: var(--brand-deep); }
.menu-mobile-select { display: none; }
.space-card { display: grid; gap: 10px; padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.space-card .cap { justify-self: start; padding: 6px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font: 700 13px var(--font-head); }
.space-card p { color: var(--muted); }
.package { display: grid; gap: 6px; padding: 22px; border: 1.5px solid var(--line); border-radius: 18px; background: #fff; text-align: left; cursor: pointer; transition: .2s; }
.package:hover { border-color: var(--brand); transform: translateY(-3px); }
.package span { font: 700 12px var(--font-head); letter-spacing: .12em; text-transform: uppercase; color: var(--brand-deep); }
.package strong { font: 800 1.15rem var(--font-head); }
.package small { color: var(--muted); }
.package b { margin-top: 8px; font: 800 1.05rem var(--font-head); color: var(--brand); }
.slot { padding: 24px; border-radius: 18px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); }
.slot strong { display: block; margin: 8px 0; font: 800 1.15rem var(--font-head); color: var(--gold); }
.slot p { color: rgba(255, 255, 255, .75); font-size: 15px; }
.minimums { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 20px 0; }
.minimums div { padding: 14px; border-radius: 12px; background: var(--brand-soft); }
.minimums dt { font-size: 13px; color: var(--muted); }
.minimums dd { margin: 4px 0 0; font: 800 1.3rem var(--font-head); }
.call-options { display: grid; gap: 10px; margin-top: 20px; }
.call-options a { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border: 1.5px solid var(--line); border-radius: 14px; font: 700 15px var(--font-head); }
.call-options a:hover { border-color: var(--brand); }
.call-options a span { color: var(--muted); font-weight: 500; }


/* Consent, legal and small pieces ------------------------------ */
.consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: 14px; line-height: 1.45; color: var(--muted); cursor: pointer; }
.consent input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--purple); }
.consent a, .consent-note a { color: var(--purple); text-decoration: underline; }
.consent-note { font-size: 13px; color: var(--muted); }
.small-note { font-size: 15px; color: var(--muted); max-width: 70ch; }
.bg-brand .small-note { color: inherit; opacity: .85; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.footer-legal a, .footer-legal button { padding: 0; border: 0; background: none; color: inherit; font: inherit; cursor: pointer; }
.footer-legal a:hover, .footer-legal button:hover { color: var(--orange); }
.contact-direct { display: grid; gap: 6px; padding: 18px 20px; border-radius: 16px; background: var(--paper); }
.contact-direct b { display: inline-block; min-width: 64px; }
.contact-direct a { color: var(--purple); }
.product-card .price { font: 800 1rem var(--font-head); color: var(--brand-deep); }
.prose.legal { max-width: 820px; margin: 0; }
.prose.legal h2 { font-size: 1.5rem; }
.cookie-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.cookie-table th, .cookie-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.cookie-table th { font-family: var(--font-head); background: var(--paper); }
.cookie-banner { position: fixed; z-index: 90; left: 16px; right: 16px; bottom: 16px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px;
  max-width: 1100px; margin-inline: auto; padding: 20px 24px; border-radius: 20px; background: #fff; color: var(--ink); box-shadow: 0 20px 60px rgba(20, 14, 38, .28); border: 1px solid var(--line); }
.cookie-banner > div:first-child { flex: 1 1 420px; }
.cookie-banner strong { font: 800 1.05rem var(--font-head); }
.cookie-banner p { margin-top: 4px; font-size: 14px; color: var(--muted); }
.cookie-banner a { color: var(--purple); text-decoration: underline; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-options { display: grid; gap: 10px; margin-top: 20px; }
.cookie-option { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; }
.cookie-option input { width: 20px; height: 20px; accent-color: var(--purple); }
.cookie-option small { display: block; color: var(--muted); }
@media (max-width: 560px) { .cookie-actions .btn { flex: 1 1 100%; } }

/* 10. Utilities & motion -------------------------------------- */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 40px; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease var(--reveal-delay, 0ms), transform .7s cubic-bezier(.2, .7, .2, 1) var(--reveal-delay, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
/* Page tops fade in once when the page opens */
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.page-hero .wrap > *, .brand-hero .wrap > * { animation: fade-up .8s cubic-bezier(.2, .7, .2, 1) both; }
.page-hero .wrap > :nth-child(2), .brand-hero .wrap > :nth-child(2) { animation-delay: .12s; }
.page-hero .wrap > :nth-child(3), .brand-hero .wrap > :nth-child(3) { animation-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Responsive ------------------------------------------------- */
@media (max-width: 1080px) {
  .nav { position: fixed; inset: calc(var(--header-h) + var(--topbar-h, 0px)) 0 0 0; flex-direction: column; align-items: stretch; gap: 2px; margin: 0; padding: 18px 20px 40px; background: #fff; overflow-y: auto; transform: translateX(100%); transition: transform .3s ease; }
  .nav.is-open { transform: none; }
  .nav > a, .nav-drop > button { justify-content: space-between; width: 100%; min-height: 56px; padding: 0 12px; border-radius: 12px; font-size: 18px; }
  .mega { position: static; width: auto; grid-template-columns: 1fr 1fr; box-shadow: none; border: 0; padding: 4px 0 10px; transform: none; display: none; opacity: 1; visibility: visible; }
  .nav-drop.is-open .mega { display: grid; transform: none; }
  .menu-toggle { display: inline-grid; }
  .header-actions { margin-left: auto; }
  .site-header .wrap { gap: 12px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 820px) {
  :root { --header-h: 66px; }
  body { font-size: 16px; }
  .topbar-note { display: none; }
  .topbar .wrap { justify-content: center; }
  .split, .brand-hero, .feature-band, .compare, .menu-layout { grid-template-columns: 1fr; }
  .brand-hero .media { min-height: 300px; order: -1; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .14); padding: 24px 12px; }
  .stat:nth-child(-n+2) { border-top: 0; }
  .finder { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .order-list, .link-list, .money-grid, .minimums { grid-template-columns: 1fr; }
  .logo { width: 108px; }
  .header-actions .btn { padding: 0 16px; min-height: 44px; font-size: 12px; }
  .icon-btn { width: 44px; height: 44px; }
  .exp-panel { aspect-ratio: 4 / 3; }
  .exp-tab { min-width: 0; flex: 1 1 calc(33% - 10px); height: 50px; }
  .exp-tab img { height: 16px; }
  .menu-side { display: none; }
  .menu-mobile-select { display: block; position: sticky; top: calc(var(--header-h) + 8px); z-index: 5; margin-bottom: 20px; }
  .timeline li { grid-template-columns: 70px 1fr; }
  .timeline li::before { left: 78px; }
  .feature-band .media { min-height: 260px; order: -1; }
  .hero::before { background: linear-gradient(180deg, rgba(20, 14, 38, .5) 0%, rgba(20, 14, 38, .9) 70%); }
  .hero { align-items: end; }
}
@media (max-width: 560px) {
  .grid-4 { grid-template-columns: 1fr 1fr; gap: 12px; }
  .brand-card-body { padding: 14px; }
  .brand-card h3 { font-size: 1.2rem; }
  .brand-card p { display: none; }
  .brand-card--feature { grid-row: auto; }
  .brand-card--feature .card-media { aspect-ratio: 16 / 10; min-height: 0; flex: none; }
  .news-row { flex-direction: column; border-radius: 20px; }
  .pillars, .footer-top { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .dish { grid-template-columns: 84px 1fr; }
  .dish img { width: 84px; height: 84px; }
  .header-actions .icon-btn.find { display: none; }
  .actions .btn { flex: 1 1 100%; }
  .route { grid-template-columns: 44px 1fr; }
  .route .route-arrow { display: none; }
}

/* Reviews page: Google reviews by branch + write-a-review picker */
.section--sand { background: var(--sand); }
.rating-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.rv-controls { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.rv-select { display: grid; gap: 6px; min-width: min(320px, 100%); font: 700 13px var(--font-head); }
.rv-select select { min-height: 46px; }
.rv-card { padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line); border-radius: 24px; background: #fff; box-shadow: var(--shadow); }
.rv-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: start; gap: 18px 30px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.rv-head h3 { font: 800 clamp(1.3rem, 2.4vw, 1.7rem)/1.2 var(--font-head); margin: 2px 0 8px; }
.rv-head-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.rv-source { margin: 0; font: 400 13px var(--font-body); color: #5e5e5e; }
.rv-score { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0; }
.rv-score b { font: 800 2.2rem/1 var(--font-head); }
.rv-score > span:last-child, .rv-brands, .rv-muted, .rv-note { color: var(--muted); }
.rv-brands { margin: 8px 0 0; font-size: 14px; }
.rv-stars { display: inline-flex; gap: 1px; color: #d9d4cb; font-size: 18px; line-height: 1; }
.rv-stars .on { color: #fbbc04; }
.rv-stars .half { background: linear-gradient(90deg, #fbbc04 50%, #d9d4cb 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rv-carousel { position: relative; margin-top: 20px; }
.rv-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, calc((100% - 32px) / 3)); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px; align-items: start; }
.rv-track::-webkit-scrollbar { display: none; }
.rv-review { display: flex; flex-direction: column; gap: 10px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: #fff; scroll-snap-align: start; }
.rv-review header { display: flex; align-items: center; gap: 12px; }
.rv-review header img, .rv-avatar { width: 40px; height: 40px; flex: none; border-radius: 50%; object-fit: cover; }
.rv-avatar { display: grid; place-items: center; background: var(--purple); color: #fff; font: 800 16px var(--font-head); }
.rv-review header span { display: grid; min-width: 0; }
.rv-review header a { color: var(--ink); font-weight: 700; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rv-review header a:hover { text-decoration: underline; }
.rv-review small { color: var(--muted); font-size: 13px; }
.rv-text { margin: 0; line-height: 1.6; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.rv-text.is-open { display: block; }
.rv-more, .link-btn { align-self: start; padding: 0; border: 0; background: none; color: var(--purple); font: 700 14px var(--font-body); cursor: pointer; }
.rv-orig summary { cursor: pointer; color: var(--muted); font-size: 13px; }
.rv-orig p { margin: 8px 0 0; font-size: 14px; }
.rv-review footer { display: flex; gap: 14px; margin-top: auto; padding-top: 6px; font-size: 13px; }
.rv-review footer a { color: var(--muted); }
.rv-nav { position: absolute; top: 50%; z-index: 1; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: #fff; box-shadow: var(--shadow); font-size: 24px; line-height: 1; cursor: pointer; transform: translateY(-50%); }
.rv-nav.prev { left: -14px; } .rv-nav.next { right: -14px; }
.rv-nav:disabled, .rv-carousel.no-scroll .rv-nav { display: none; }
.rv-note { margin: 16px 0 0; font-size: 13px; }
.rv-empty { margin: 0; padding: 28px; border: 1.5px dashed var(--line); border-radius: 18px; color: var(--muted); text-align: center; }
.rv-card .rv-empty { margin-top: 20px; }
.rv-card.is-loading .rv-empty { margin: 0; border: 0; }
.wr-list { display: grid; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.wr-list li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; }
.wr-list li span { display: grid; min-width: 0; }
.wr-list li small { color: var(--muted); }
.wr-list li.wr-all { justify-content: center; border-style: dashed; }
@media (max-width: 640px) {
  .rv-track { grid-auto-columns: 86%; }
  .rv-nav { display: none; }
  .rv-head-actions, .rv-head-actions .btn { width: 100%; }
  .wr-list li { flex-direction: column; align-items: stretch; }
}

/* Reviews: soft fade when a branch loads; reviews appear one after another */
@keyframes rv-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.rv-card { animation: rv-in .5s ease both; }
.rv-review { animation: rv-in .6s ease both; animation-delay: calc(var(--i, 0) * 90ms); }
.rv-track { scroll-behavior: smooth; }
/* Promotions arrive after the page loads: fade them in softly */
[data-promo-grid] > * { animation: rv-in .6s ease both; }
[data-promo-grid] > :nth-child(2) { animation-delay: .08s; } [data-promo-grid] > :nth-child(3) { animation-delay: .16s; } [data-promo-grid] > :nth-child(n+4) { animation-delay: .24s; }

/* Guest survey page (Google Forms shown inside the page) */
.survey-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.survey-card { --c: var(--orange); display: flex; flex-direction: column; overflow: hidden; padding: 0; border: 1px solid var(--line); border-top: 5px solid var(--c); border-radius: var(--radius); background: #fff; color: var(--ink); text-align: left; font: inherit; cursor: pointer; transition: transform .25s ease, box-shadow .25s ease; }
.survey-card:hover, .survey-card:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow); }
.survey-media { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); }
.survey-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.survey-card:hover .survey-media img { transform: scale(1.04); }
.survey-body { display: grid; gap: 6px; padding: 22px; }
.survey-body b { font: 800 1.35rem/1.2 var(--font-head); }
.survey-body small { color: var(--muted); font-size: 15px; }
.survey-go { margin-top: 8px; color: var(--purple); font: 700 14px var(--font-head); }
.survey-panel-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 18px; }
.survey-panel-head .eyebrow { margin-bottom: 6px; }
.survey-panel-head .actions { margin: 0; }
.survey-frame { position: relative; overflow: hidden; border: 1px solid var(--line); border-top: 5px solid var(--c, var(--orange)); border-radius: var(--radius); background: #fff; }
.survey-frame iframe { display: block; width: 100%; height: min(1400px, 85vh); min-height: 640px; border: 0; opacity: 0; transition: opacity .5s ease; }
.survey-frame.is-ready iframe { opacity: 1; }
.survey-loading { position: absolute; inset: 40px 0 auto; margin: 0; text-align: center; color: var(--muted); }
.survey-frame.is-ready .survey-loading { display: none; }
.survey-note { margin: 22px 0 0; color: var(--muted); font-size: 14px; }
.survey-grid[hidden], .survey-panel[hidden] { display: none; }
.survey-panel { scroll-margin-top: calc(var(--header-h) + 20px); }

/* Chat assistant */
.chat { position: fixed; right: 20px; bottom: 20px; z-index: 80; display: grid; justify-items: end; gap: 12px; font-family: var(--font-body); }
.chat-launch { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 20px 0 16px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: 700 14px var(--font-head); box-shadow: 0 12px 30px rgba(37, 29, 64, .28); cursor: pointer; transition: transform .2s ease, background .2s ease; }
.chat-launch:hover { background: var(--ink-2); transform: translateY(-2px); }
.chat.is-open .chat-launch { display: none; }
.chat-panel { display: flex; flex-direction: column; width: min(380px, calc(100vw - 24px)); height: min(600px, calc(100dvh - 40px)); overflow: hidden; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 24px 60px rgba(37, 29, 64, .25); animation: chat-in .25s ease both; }
@keyframes chat-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.chat-head { display: flex; align-items: center; gap: 6px; padding: 14px 12px 14px 18px; background: var(--ink); color: #fff; }
.chat-head div { display: grid; flex: 1; }
.chat-head b { font: 800 16px var(--font-head); }
.chat-head small { opacity: .75; font-size: 12px; }
.chat-icon { width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; }
.chat-icon:hover { background: rgba(255, 255, 255, .22); }
.chat-log { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; padding: 16px; background: var(--paper); }
.chat-msg { max-width: 86%; padding: 10px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.5; overflow-wrap: anywhere; }
.chat-msg p { margin: 0; } .chat-msg p + p { margin-top: 6px; }
.chat-msg ul { margin: 4px 0; padding-left: 18px; }
.chat-msg a { color: var(--purple); font-weight: 600; }
.chat-msg.bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 6px; }
.chat-msg.me { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 6px; }
.chat-typing { color: var(--muted); font-style: italic; }
.chat-note { align-self: center; margin: 0; padding: 4px 10px; border-radius: 999px; background: #e3f4ea; color: #1a7a43; font-size: 12px; font-weight: 700; }
.chat-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 16px 10px; background: var(--paper); }
.chat-chips:empty { display: none; }
.chat-chip { padding: 7px 12px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font: 700 12.5px var(--font-head); cursor: pointer; }
.chat-chip:hover { border-color: var(--ink); }
.chat-form { display: flex; align-items: end; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); }
.chat-form textarea { flex: 1; min-height: 42px; max-height: 120px; padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 14px; font: 400 15px/1.4 var(--font-body); resize: none; }
.chat-form textarea:focus { outline: 0; border-color: var(--purple); }
.chat-send { width: 42px; height: 42px; flex: none; border: 0; border-radius: 50%; background: var(--orange); color: var(--ink); font-size: 16px; cursor: pointer; }
.chat-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 8px 14px 12px; font-size: 12.5px; color: var(--muted); }
.chat-foot a { color: var(--purple); font-weight: 700; }
.chat-foot small { flex-basis: 100%; font-size: 11.5px; }
@media (max-width: 640px) {
  .chat { right: 12px; bottom: 12px; }
  .chat-launch span { display: none; }
  .chat-launch { width: 54px; padding: 0; justify-content: center; }
  .chat-panel { width: calc(100vw - 24px); height: calc(100dvh - 24px); }
}
@media print { .chat { display: none; } }
.chat-panel[hidden] { display: none; }

/* ===== Buttons: icon + clear hover colors (Nov 2026) ===== */
.btn { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.btn::after { content: ""; flex: none; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; transition: transform .25s ease; }
.btn:hover::after, .btn:focus-visible::after { transform: translateX(3px); }
.btn[target="_blank"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 17 17 7M9 7h8v8' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.btn[target="_blank"]:hover::after { transform: translate(2px, -2px); }
.btn[href^="tel:"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 10.8a15.2 15.2 0 0 0 6.6 6.6l2.2-2.2a1 1 0 0 1 1-.25 11.4 11.4 0 0 0 3.6.57 1 1 0 0 1 1 1V20a1 1 0 0 1-1 1A17 17 0 0 1 3 4a1 1 0 0 1 1-1h3.5a1 1 0 0 1 1 1c0 1.25.2 2.45.57 3.57a1 1 0 0 1-.25 1z'/%3E%3C/svg%3E"); }
.btn[href^="mailto:"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 6h18v12H3zM3 7l9 6 9-6' fill='none' stroke='black' stroke-width='2.2' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.btn[data-icon="search"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5' fill='none' stroke='black' stroke-width='2.6'/%3E%3Cpath d='m15.5 15.5 5 5' stroke='black' stroke-width='2.6' stroke-linecap='round'/%3E%3C/svg%3E"); }
.btn[data-icon="pin"] { --icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 22s7-6.3 7-12a7 7 0 0 0-14 0c0 5.7 7 12 7 12z'/%3E%3Ccircle cx='12' cy='10' r='2.6' fill='white'/%3E%3C/svg%3E"); }
.btn[data-icon="search"]:hover::after, .btn[data-icon="pin"]:hover::after, .btn[href^="tel:"]:hover::after, .btn[href^="mailto:"]:hover::after { transform: scale(1.12); }
.btn.no-icon::after, .cookie-actions .btn::after, .header-actions .btn::after, .icon-btn::after { display: none; }
/* Hover: the button changes color and the text flips to stay readable */
.btn:hover, .btn:focus-visible { background: var(--ink); color: #fff; }
.btn--dark:hover, .btn--dark:focus-visible { background: var(--orange); color: var(--ink); }
.btn--light:hover, .btn--light:focus-visible { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn--outline:hover, .btn--outline:focus-visible { background: var(--ink); border-color: var(--ink); color: #fff; }
.page-hero--image .btn--outline:hover, .hero .btn--outline:hover, .bg-ink .btn--outline:hover, .bg-brand-deep .btn--outline:hover, .bg-brand .btn--outline:hover, .brand-hero .btn--outline:hover, .feature-band .btn--outline:hover { background: #fff; border-color: #fff; color: var(--ink); }
.btn--brand:hover, .btn--brand:focus-visible { background: var(--brand-deep); color: #fff; }
.btn--brand-deep:hover, .btn--brand-deep:focus-visible { background: var(--ink); color: #fff; }
.brand-page .finder .btn:hover { background: var(--ink); color: #fff; }
.finder .btn--dark:hover { background: #fff; color: var(--ink); }

/* ===== Store finder: field and button on one line ===== */
.finder form { flex-wrap: nowrap; align-items: stretch; padding: 6px; border-radius: 999px; background: #fff; box-shadow: 0 10px 26px rgba(37, 29, 64, .14); width: min(480px, 100%); }
.finder .input { flex: 1 1 auto; width: auto; min-width: 0; min-height: 50px; border: 0; border-radius: 999px; padding-left: 20px; box-shadow: none; }
.finder .input:focus { box-shadow: none; }
.finder form:focus-within { box-shadow: 0 0 0 4px rgba(255, 255, 255, .6), 0 10px 26px rgba(37, 29, 64, .14); }
.finder form .btn { flex: none; min-height: 50px; }
@media (max-width: 460px) { .finder form .btn { padding: 0 16px; } .finder form .btn span { display: none; } }

/* ===== Stronger text contrast, lighter backgrounds ===== */
:root { --muted: #3f3a4b; --paper: #fbf9f5; --sand: #f6f2eb; --line: #e6e0d6; }
.lead { color: #2f2a3b; }
.stat span { color: #fff; }
.fact span { color: rgba(255, 255, 255, .92); }
.bg-ink .section-head p, .bg-brand-deep .section-head p, .bg-ink .split > div > p, .bg-brand-deep .split > div > p { color: rgba(255, 255, 255, .92); }
.form-card p, .form-card .consent { color: var(--muted); }
.review cite, .card-body p, .point span { color: var(--muted); }
.brand-card p, .brand-card-kicker { color: inherit; opacity: 1; }

/* ===== Cassalu: "Choose this space" as a proper button ===== */
.space-card .space-pick { all: unset; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 46px; margin-top: auto; padding: 0 20px; border-radius: 999px; background: var(--brand, var(--ink)); color: var(--on-brand, #fff); font: 800 13px/1 var(--font-head); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: background .2s, color .2s; }
.space-card .space-pick::after { content: "→"; transition: transform .25s; }
.space-card .space-pick:hover, .space-card .space-pick:focus-visible { background: var(--brand-deep, var(--orange)); color: #fff; }
.space-card .space-pick:hover::after { transform: translateX(3px); }
.space-card .space-pick:focus-visible { outline: 3px solid var(--purple); outline-offset: 2px; }
.space-card { display: flex; flex-direction: column; }
.space-card p { flex: 1; }
.space-card { gap: 10px; }
.space-card .cap { align-self: flex-start; }
.brand-hero .btn--primary:hover, .brand-hero .btn--secondary:hover { background: #fff; border-color: #fff; color: var(--ink); }

/* ===== Cassalu palette surfaces (cream paper + orange wash, like the banner) ===== */
.theme-cassalu .feature-band.bg-brand, .theme-cassalu .cassalu-hero, .theme-cassalu .cassalu-page-hero {
  background: radial-gradient(ellipse at 92% 8%, rgba(224, 122, 31, .24), transparent 55%), radial-gradient(ellipse at 6% 100%, rgba(224, 122, 31, .12), transparent 50%), var(--cassalu-cream);
  color: var(--cassalu-text);
}
.theme-cassalu .feature-band.bg-brand { border: 1px solid rgba(107, 53, 16, .12); }
.theme-cassalu .feature-band.bg-brand h2, .theme-cassalu .cassalu-hero h1, .theme-cassalu .cassalu-page-hero h1 { color: var(--brand-deep); }
.theme-cassalu .cassalu-page-hero .lead { color: #5e3a1f; }
.theme-cassalu .cassalu-crumb { color: var(--cassalu-orange); font-size: 1.1rem; text-shadow: 0 1px 0 #fff; }
.theme-cassalu .feature-band.bg-brand .lead, .theme-cassalu .cassalu-hero .lead { color: #5e3a1f; opacity: 1; }
.theme-cassalu .feature-band.bg-brand .eyebrow, .theme-cassalu .cassalu-hero .eyebrow { color: var(--brand); }
.theme-cassalu .cassalu-hero h1 em { color: var(--brand); }
.theme-cassalu .cassalu-hero .wordmark { color: var(--cassalu-orange); font: italic 900 clamp(1.8rem, 3vw, 2.4rem)/1 var(--font-head); letter-spacing: 0; text-transform: none; text-shadow: 0 2px 0 #fff, 0 4px 10px rgba(107, 53, 16, .18); }
.theme-cassalu .cassalu-meta span { background: rgba(184, 86, 26, .12); color: var(--brand-deep); }
/* full-width brand sections (e.g. event time slots) = warm brown band */
.theme-cassalu section.bg-brand { background: var(--brand-deep); color: #fff; }
.theme-cassalu section.bg-brand .h2, .theme-cassalu section.bg-brand h2 { color: #fff; }
/* buttons */
.btn--cassalu { background: var(--brand); color: #fff; }
.btn--cassalu:hover, .btn--cassalu:focus-visible { background: var(--brand-deep); color: #fff; }
.theme-cassalu .feature-band.bg-brand .btn--outline, .theme-cassalu .cassalu-hero .btn--secondary { border-color: var(--brand-deep); color: var(--brand-deep); }
.theme-cassalu .feature-band.bg-brand .btn--outline:hover, .theme-cassalu .feature-band.bg-brand .btn--outline:focus-visible,
.theme-cassalu .cassalu-hero .btn--secondary:hover, .theme-cassalu .cassalu-hero .btn--secondary:focus-visible { background: var(--brand-deep); border-color: var(--brand-deep); color: #fff; }
/* zoom the shared-table photo so the dishes fill the frame and less of the wooden table shows */
.theme-cassalu .cassalu-hero .media, .theme-cassalu .feature-band .media { overflow: hidden; }
.theme-cassalu [data-cms-img="home.cassalu_image"], .theme-cassalu [data-cms-img="cassalu.hero_image"] { transform: scale(1.22); transform-origin: 52% 58%; transition: none; }

/* ===== Custom dropdowns (match the site, not the device) ===== */
.nselect { position: relative; display: block; width: 100%; }
.nselect > select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.nselect-btn { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 52px; padding: 0 16px 0 18px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; color: var(--ink); font: 500 16px/1.3 var(--font-body); text-align: left; cursor: pointer; transition: border-color .2s, box-shadow .2s; }
.nselect-btn:hover { border-color: #c9c0b2; }
.nselect-btn:focus-visible, .nselect.is-open .nselect-btn { outline: 0; border-color: var(--purple); box-shadow: 0 0 0 4px rgba(114, 16, 168, .12); }
.nselect-value { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.nselect-value span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nselect.is-placeholder .nselect-value { color: #6a6476; }
.nselect-chev { flex: none; width: 22px; height: 22px; margin-left: 8px; border-radius: 50%; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 10 5 5 5-5' fill='none' stroke='%23251d40' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; transition: transform .2s ease; }
.nselect.is-open .nselect-chev { transform: rotate(180deg); }
.nselect.is-disabled .nselect-btn { background: var(--paper); color: #77707f; cursor: not-allowed; }
.nselect.is-invalid .nselect-btn { border-color: #c0392b; }
.nselect-pop { position: absolute; z-index: 40; left: 0; right: 0; top: calc(100% + 6px); overflow: hidden; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: 0 18px 40px rgba(37, 29, 64, .18); animation: ns-in .16s ease both; }
.nselect.is-up .nselect-pop { top: auto; bottom: calc(100% + 6px); }
@keyframes ns-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.nselect-search { display: block; width: calc(100% - 16px); margin: 8px; min-height: 42px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 10px; font: 400 15px var(--font-body); }
.nselect-search:focus { outline: 0; border-color: var(--purple); }
.nselect-list { max-height: 280px; overflow-y: auto; margin: 0; padding: 6px; list-style: none; outline: 0; }
.nselect-list li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: var(--ink); font: 500 15px/1.35 var(--font-body); cursor: pointer; }
.nselect-list li.is-active { background: var(--paper); }
.nselect-list li[aria-selected="true"] { font-weight: 700; }
.nselect-list li[aria-selected="true"]::after { content: ""; width: 16px; height: 16px; margin-left: auto; background: var(--purple); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12 5 5 9-10' fill='none' stroke='black' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12 5 5 9-10' fill='none' stroke='black' stroke-width='2.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.nselect-list li.is-empty { color: #6a6476; }
.nselect-list li.is-disabled { opacity: .45; cursor: not-allowed; }
.nselect-list .nselect-none { color: var(--muted); cursor: default; }
.nselect-dot { flex: none; width: 12px; height: 12px; border-radius: 50%; box-shadow: 0 0 0 2px #fff, 0 0 0 3px rgba(0, 0, 0, .08); }
.nselect-count { margin-left: auto; padding: 2px 8px; border-radius: 999px; background: var(--paper); color: var(--muted); font: 700 12px var(--font-head); }
.nselect-list li[aria-selected="true"] .nselect-count { margin-left: auto; margin-right: 0; }
.nselect-value .nselect-count { margin-left: auto; }
.rv-controls { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 440px); justify-content: start; align-items: end; gap: 16px; }
@media (max-width: 640px) { .rv-controls { grid-template-columns: 1fr; } }
/* Franchise band on guest pages */
.fr-band { display: grid; grid-template-columns: 1fr auto; gap: 20px 40px; align-items: center; padding: clamp(28px, 4vw, 44px); border-radius: calc(var(--radius) + 6px); background: var(--ink); color: #fff; }
.fr-band h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.fr-band p { margin: 10px 0 0; color: rgba(255, 255, 255, .92); max-width: 640px; }
.fr-band .actions { margin: 0; }
.fr-band .btn--outline { color: #fff; }
.fr-band .btn--outline:hover { background: #fff; border-color: #fff; color: var(--ink); }
@media (max-width: 860px) { .fr-band { grid-template-columns: 1fr; } }
.rv-survey { margin: 18px 0 0; color: var(--muted); }
.rv-survey a { color: var(--purple); font-weight: 700; }
.nselect, .nselect-btn { min-width: 0; max-width: 100%; }
.rv-select, .field, .loc-brand-filter { min-width: 0; grid-template-columns: minmax(0, 1fr); }
.rv-at { margin: 0; color: var(--muted); font: 700 12px var(--font-head); letter-spacing: .03em; }
.rv-at::before { content: ""; display: inline-block; width: 11px; height: 11px; margin-right: 5px; vertical-align: -1px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 22s7-6.3 7-12a7 7 0 0 0-14 0c0 5.7 7 12 7 12z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 22s7-6.3 7-12a7 7 0 0 0-14 0c0 5.7 7 12 7 12z'/%3E%3C/svg%3E") center / contain no-repeat; }
.nselect-mark, .nselect-logo { flex: none; display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; overflow: hidden; color: #fff; font: 800 10px/1 var(--font-head); letter-spacing: .02em; font-style: normal; }
.nselect-logo { background: #fff; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); }
.nselect-logo img { width: 100%; height: 100%; object-fit: contain; }
/* counts line up on the right; the check mark sits after the count */
.nselect-list li > span, .nselect-value > span { flex: 1 1 auto; min-width: 0; }
.nselect-count { margin-left: 0 !important; flex: none; }
.nselect-list li[aria-selected="true"]::after { margin-left: 0; flex: none; }
.nselect-list li:not([aria-selected="true"])::after { content: ""; width: 16px; flex: none; }
.nselect-search[hidden], .nselect-pop[hidden] { display: none; }
.nselect-search { box-sizing: border-box; max-width: calc(100% - 16px); }

/* Pages made in the portal */
.split--flip > .frame { order: -1; }
@media (max-width: 860px) { .split--flip > .frame { order: 0; } }
.custom-page .frame img { width: 100%; border-radius: var(--radius); }
.page-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.page-gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); }
.page-video { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); background: #000; }
.page-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.custom-page .bg-brand-deep { background: var(--ink); color: #fff; }
/* the brand template stays hidden until we know whether it's a brand, a page or "not found" */
.is-dynamic-brand main { visibility: hidden; animation: show-main 0s 4s forwards; }
.is-dynamic-brand.is-ready main { visibility: visible; animation: none; }
@keyframes show-main { to { visibility: visible; } }
.footer-col ul + ul:not(:empty) { margin-top: 10px; }
.chat-links { display: flex; flex-wrap: wrap; gap: 6px; margin: -2px 0 4px; max-width: 92%; }
.chat-links a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; color: var(--purple); font: 700 12.5px var(--font-head); text-decoration: none; }
.chat-links a::after { content: "→"; transition: transform .2s; }
.chat-links a:hover { border-color: var(--purple); background: #f6effa; }
.chat-links a:hover::after { transform: translateX(2px); }
