/* ============================================================
   BCD — Customized Cakes Cairo
   Premium monochrome boutique. Compatibility-first CSS:
   no :has(), no container queries, no modern-only features.
   Colour comes from the cakes; the UI stays quiet & elegant.
   ============================================================ */

/* ---------- Self-hosted fonts (no external CDN / @import) ---------- */
@font-face {
  font-family: 'Cormorant'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url('../fonts/cormorant-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2122, U+2212;
}
@font-face {
  font-family: 'Cairo'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url('../fonts/cairo-arabic.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF;
}
@font-face {
  font-family: 'Cairo'; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url('../fonts/cairo-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2122;
}

/* ---------- Design tokens ---------- */
:root {
  /* Monochrome ink scale (warm) */
  --ink:      #16130f;
  --graphite: #3a352f;
  --stone:    #6d665e;
  --mist:     #736c62;   /* AA-contrast muted text on --paper */
  --line:     #e7e2da;
  --line-soft:#efeae2;
  --paper:    #faf7f2;
  --paper-2:  #f3efe8;
  --white:    #ffffff;
  /* One restrained warm accent — decorative marks */
  --gold:     #b0925c;
  --gold-soft:#c9b489;
  --gold-ink: #8a6a37;   /* AA-contrast gold for text (eyebrows, numerals) */

  --radius:   14px;
  --radius-sm:10px;
  --shadow-1: 0 1px 2px rgba(22,19,15,.04), 0 8px 24px rgba(22,19,15,.06);
  --shadow-2: 0 2px 6px rgba(22,19,15,.06), 0 24px 60px rgba(22,19,15,.12);

  --maxw: 1200px;
  --gap:  clamp(16px, 3vw, 28px);
  --sp:   clamp(64px, 9vw, 128px); /* section vertical rhythm */

  --dur:  .26s;
  --ease: cubic-bezier(.22,.61,.36,1);

  --font-serif: 'Cormorant', Georgia, 'Times New Roman', serif;
  --font-body:  'Cairo', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

/* ---------- Layout helpers ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(18px, 5vw, 48px); }
.section { padding-block: var(--sp); }
.center { text-align: center; }

/* ---------- Typography ---------- */
.display {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: .01em;
}
h1, h2, h3 { font-weight: 600; line-height: 1.2; }

.eyebrow {
  font-size: .74rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold-ink);
  font-weight: 600;
  display: inline-block;
}
html[lang="ar"] .eyebrow { letter-spacing: .18em; }

.section-head { max-width: 640px; margin-inline: auto; margin-bottom: clamp(36px, 6vw, 64px); }
.section-head .eyebrow { margin-bottom: 14px; }
.section-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(2rem, 5.5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: .005em;
}
.section-sub { margin-top: 16px; color: var(--stone); font-size: 1.02rem; }

/* hairline signature rule with a diamond — repeating brand motif */
.rule { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 22px auto 0; }
.rule::before, .rule::after { content: ""; height: 1px; width: 46px; background: var(--line); }
.rule i { width: 6px; height: 6px; transform: rotate(45deg); background: var(--gold-soft); display: block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 30px;
  border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: .98rem; letter-spacing: .01em;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease),
              color var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: #000; transform: translateY(-2px); box-shadow: var(--shadow-1); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-lg { min-height: 58px; padding: 0 38px; font-size: 1.04rem; }
.btn svg { width: 19px; height: 19px; flex: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,247,242,.96);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.site-header.is-stuck { background: var(--paper); border-bottom-color: var(--line); box-shadow: 0 1px 0 rgba(22,19,15,.02); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 74px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 42px; height: 42px; border-radius: 50%; box-shadow: 0 0 0 1px var(--line); background: var(--paper-2); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-serif); font-weight: 600; font-size: 1.42rem; letter-spacing: .04em; }
.brand-tag { font-size: .58rem; letter-spacing: .24em; text-transform: uppercase; color: var(--mist); margin-top: 3px; }
html[lang="ar"] .brand-tag { letter-spacing: .12em; }

.nav-links { display: none; align-items: center; gap: 28px; }
.nav-links a { font-size: .92rem; color: var(--graphite); font-weight: 500; position: relative; padding: 6px 0; }
.nav-links a::after {
  content: ""; position: absolute; inset-inline: 0; bottom: -1px; height: 1px;
  background: var(--ink); transform: scaleX(0); transform-origin: center; transition: transform var(--dur) var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); }
.nav-right { display: flex; align-items: center; gap: 12px; }

.lang-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: 44px; padding: 0 15px; border-radius: 999px;
  border: 1px solid var(--line); background: transparent; color: var(--graphite);
  font-size: .82rem; font-weight: 600; letter-spacing: .04em;
  transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.lang-toggle:hover { border-color: var(--ink); color: var(--ink); }
.nav-cta { display: none; }

/* mobile menu button */
.menu-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line);
  background: transparent;
}
.menu-btn svg { width: 22px; height: 22px; }

/* mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: 60; visibility: hidden; opacity: 0;
  transition: opacity var(--dur) var(--ease), visibility var(--dur) var(--ease);
}
.drawer.open { visibility: visible; opacity: 1; }
.drawer-scrim { position: absolute; inset: 0; background: rgba(22,19,15,.4); }
.drawer-panel {
  position: absolute; inset-block: 0; inset-inline-end: 0; width: min(84vw, 340px);
  background: var(--paper); padding: 26px 24px; display: flex; flex-direction: column; gap: 6px;
  transform: translateX(12%); transition: transform var(--dur) var(--ease);
  box-shadow: var(--shadow-2);
}
html[dir="ltr"] .drawer-panel { transform: translateX(-12%); }
.drawer.open .drawer-panel { transform: translateX(0); }
.drawer-panel a { padding: 14px 8px; font-size: 1.08rem; font-weight: 600; border-bottom: 1px solid var(--line-soft); }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.drawer-panel .btn { margin-top: 18px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(40px, 6vw, 72px); padding-bottom: var(--sp); }
.hero-grid { display: grid; grid-template-columns: 1fr; gap: clamp(32px, 5vw, 56px); align-items: center; }
.hero-copy .eyebrow { margin-bottom: 20px; }
.hero-title {
  font-family: var(--font-serif); font-weight: 600;
  font-size: clamp(2.7rem, 9vw, 5.4rem); line-height: 1.02; letter-spacing: .004em;
}
.hero-title .accent { font-style: italic; font-weight: 500; }
.hero-lead { margin-top: 22px; font-size: clamp(1.02rem, 2.4vw, 1.18rem); color: var(--stone); max-width: 46ch; }
html[dir="rtl"] .hero-lead { margin-inline: 0; }
.hero-actions { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-meta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 26px; }
.hero-meta .stat { display: flex; flex-direction: column; }
.hero-meta .num { font-family: var(--font-serif); font-weight: 600; font-size: 1.8rem; line-height: 1; }
.hero-meta .lbl { font-size: .78rem; color: var(--mist); letter-spacing: .06em; margin-top: 6px; }

.hero-media { position: relative; }
.hero-figure {
  position: relative; border-radius: 20px; overflow: hidden; background: var(--paper-2);
  box-shadow: var(--shadow-2); aspect-ratio: 4 / 5;
}
.hero-figure img { width: 100%; height: 100%; object-fit: cover; }
.no-aspectratio .hero-figure { height: 0; padding-bottom: 125%; }
.no-aspectratio .hero-figure img { position: absolute; inset: 0; }
.hero-badge {
  position: absolute; inset-inline-start: -14px; bottom: 26px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 14px;
  padding: 14px 18px; box-shadow: var(--shadow-1); max-width: 220px;
}
.hero-badge .q { font-family: var(--font-serif); font-style: italic; font-size: 1.12rem; line-height: 1.3; }
.hero-badge .a { font-size: .74rem; color: var(--mist); margin-top: 6px; letter-spacing: .04em; }

/* ---------- Marquee / trust strip ---------- */
.strip { border-block: 1px solid var(--line); background: var(--white); }
.strip .wrap { display: flex; flex-wrap: wrap; gap: 14px 40px; align-items: center; justify-content: center; padding-block: 20px; }
.strip span { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--stone); display: inline-flex; align-items: center; gap: 12px; }
.strip span::before { content: ""; width: 5px; height: 5px; transform: rotate(45deg); background: var(--gold-soft); }
html[lang="ar"] .strip span { letter-spacing: .04em; text-transform: none; font-size: .9rem; }

/* ---------- Gallery ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 36px; }
.tab {
  min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; color: var(--stone); font-weight: 600; font-size: .92rem;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.tab:hover { color: var(--ink); border-color: var(--mist); }
.tab[aria-selected="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.grid-gallery {
  display: grid; gap: var(--gap);
  grid-template-columns: repeat(1, 1fr);
}
.card {
  position: relative; border-radius: var(--radius); overflow: hidden; background: var(--paper-2);
  box-shadow: var(--shadow-1); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.card-media { position: relative; overflow: hidden; aspect-ratio: 4 / 5; background: var(--paper-2); }
.no-aspectratio .card-media { height: 0; padding-bottom: 125%; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.no-aspectratio .card-media img { position: absolute; inset: 0; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); }
.card:hover .card-media img { transform: scale(1.05); }
.card-body {
  position: absolute; inset-inline: 0; bottom: 0; padding: 18px 18px 16px;
  background: linear-gradient(to top, rgba(22,19,15,.78) 0%, rgba(22,19,15,.28) 60%, rgba(22,19,15,0) 100%);
  color: #fff;
}
.card-title { font-family: var(--font-serif); font-weight: 600; font-size: 1.28rem; letter-spacing: .01em; }
.card-tag { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; opacity: .85; margin-top: 4px; }
html[lang="ar"] .card-tag { letter-spacing: .04em; text-transform: none; font-size: .8rem; }
.card.is-hidden { display: none; }
.gallery-note { margin-top: 34px; text-align: center; color: var(--mist); font-size: .9rem; }

/* ---------- Booking ---------- */
.booking { background: var(--white); border-block: 1px solid var(--line); }
.booking-grid { display: grid; grid-template-columns: 1fr; gap: clamp(28px, 4vw, 48px); }
.book-form { display: flex; flex-direction: column; gap: 30px; }
.field { }
.field-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.field-num {
  font-family: var(--font-serif); font-weight: 600; font-size: 1.05rem; color: var(--gold-ink);
  width: 26px; flex: none;
}
.field-label { font-weight: 600; font-size: 1.06rem; }
.field-hint { font-size: .84rem; color: var(--mist); margin-top: 2px; font-weight: 400; }

.choices { display: flex; flex-wrap: wrap; gap: 10px; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice label {
  display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px;
  border-radius: 999px; border: 1px solid var(--line); background: var(--paper);
  font-weight: 500; font-size: .94rem; color: var(--graphite);
  transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease), color var(--dur) var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.choice label:hover { border-color: var(--mist); }
.choice input:checked + label { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.choice input:focus-visible + label { outline: 2px solid var(--gold); outline-offset: 3px; }

.input, .textarea, select.input {
  width: 100%; min-height: 52px; padding: 12px 16px;
  border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--paper);
  font-family: inherit; font-size: 1rem; color: var(--ink);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.textarea { min-height: 104px; resize: vertical; line-height: 1.6; }
.input:focus, .textarea:focus { outline: none; border-color: var(--graphite); box-shadow: 0 0 0 3px rgba(176,146,92,.15); }

.date-warn {
  display: flex; align-items: flex-start; gap: 10px; margin-top: 12px;
  background: var(--paper-2); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 14px; font-size: .88rem; color: var(--graphite);
}
.date-warn svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--gold); }
.date-err { color: #a4442f; font-size: .84rem; margin-top: 8px; min-height: 1px; }

/* Summary / send panel (sticky on desktop) */
.book-side { position: relative; }
.summary {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(20px, 3vw, 28px); box-shadow: var(--shadow-1);
}
.summary h3 { font-family: var(--font-serif); font-weight: 600; font-size: 1.5rem; }
.summary .lead { color: var(--stone); font-size: .92rem; margin-top: 6px; }
.summary-list { list-style: none; padding: 0; margin: 20px 0; display: flex; flex-direction: column; gap: 2px; }
.summary-list li {
  display: flex; justify-content: space-between; gap: 16px; padding: 11px 0;
  border-bottom: 1px solid var(--line-soft); font-size: .92rem;
}
.summary-list li:last-child { border-bottom: 0; }
.summary-list .k { color: var(--mist); flex: none; }
.summary-list .v { color: var(--ink); font-weight: 600; text-align: end; }
.summary-list .v.empty { color: var(--mist); font-weight: 400; }

.send-note {
  display: flex; align-items: flex-start; gap: 10px; margin: 4px 0 18px;
  font-size: .9rem; color: var(--graphite);
}
.send-actions { display: flex; flex-direction: column; gap: 10px; }
.send-actions .btn { width: 100%; }
.btn-ig { background: var(--ink); color: var(--paper); }
.btn-ig:hover { background: #000; }

.copybox { margin-top: 14px; display: none; }
.copybox.show { display: block; }
.copybox label { font-size: .82rem; color: var(--stone); display: block; margin-bottom: 8px; }
.copybox textarea {
  width: 100%; min-height: 180px; padding: 14px; border-radius: var(--radius-sm);
  border: 1px solid var(--line); background: var(--paper-2); font-family: inherit;
  font-size: .88rem; line-height: 1.7; color: var(--ink); white-space: pre-wrap;
}
.copy-status { font-size: .84rem; color: var(--gold-ink); margin-top: 10px; min-height: 20px; font-weight: 600; }

/* ---------- Why / features ---------- */
.features { display: grid; grid-template-columns: 1fr; gap: var(--gap); }
.feature { padding: 30px 26px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-1); }
.feature-ic { width: 48px; height: 48px; border-radius: 12px; background: var(--paper-2); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.feature-ic svg { width: 24px; height: 24px; color: var(--ink); }
.feature h3 { font-family: var(--font-serif); font-weight: 600; font-size: 1.4rem; }
.feature p { margin-top: 10px; color: var(--stone); font-size: .95rem; }

/* ---------- Occasions ---------- */
.occasions-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.occ {
  position: relative; overflow: hidden; border-radius: var(--radius); min-height: 150px;
  display: flex; align-items: flex-end; padding: 18px; color: #fff; isolation: isolate;
  box-shadow: var(--shadow-1);
}
.occ img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s var(--ease); }
.occ::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(22,19,15,.72), rgba(22,19,15,.12)); }
.occ:hover img { transform: scale(1.06); }
.occ h3 { font-family: var(--font-serif); font-weight: 600; font-size: 1.32rem; }
.occ.tall { grid-row: span 2; min-height: 310px; }

/* ---------- Reviews ---------- */
.reviews { background: var(--white); border-block: 1px solid var(--line); }
.reviews-grid { display: grid; grid-template-columns: 1fr; gap: var(--gap); }
.review { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; }
.review .stars { display: flex; gap: 3px; color: var(--gold); margin-bottom: 14px; }
.review .stars svg { width: 17px; height: 17px; }
.review p { font-family: var(--font-serif); font-style: italic; font-size: 1.22rem; line-height: 1.5; color: var(--graphite); }
.review .who { margin-top: 18px; display: flex; align-items: center; gap: 12px; }
.review .avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--paper-2); display: flex; align-items: center; justify-content: center; font-family: var(--font-serif); font-weight: 600; color: var(--stone); flex: none; }
.review .who b { font-weight: 600; font-size: .95rem; }
.review .who span { display: block; font-size: .78rem; color: var(--mist); }

/* ---------- Contact / CTA band ---------- */
.cta-band { position: relative; background: var(--ink); color: var(--paper); overflow: hidden; }
.cta-band .wrap { position: relative; z-index: 1; text-align: center; padding-block: clamp(64px, 10vw, 120px); }
.cta-band .eyebrow { color: var(--gold-soft); }
.cta-title { font-family: var(--font-serif); font-weight: 600; font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1.06; margin-top: 14px; }
.cta-title .accent { font-style: italic; font-weight: 500; }
.cta-band p { color: rgba(250,247,242,.72); max-width: 52ch; margin: 18px auto 0; }
.cta-band .btn-primary { background: var(--paper); color: var(--ink); margin-top: 34px; }
.cta-band .btn-primary:hover { background: #fff; }
.cta-deco { position: absolute; inset: 0; z-index: 0; opacity: .5;
  background-image: radial-gradient(circle at 15% 20%, rgba(176,146,92,.18), transparent 40%),
                    radial-gradient(circle at 85% 80%, rgba(176,146,92,.14), transparent 42%); }

/* ---------- Footer ---------- */
.site-footer { background: var(--paper-2); border-top: 1px solid var(--line); }
.footer-top { display: grid; grid-template-columns: 1fr; gap: 34px; padding-block: clamp(48px, 7vw, 80px); }
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { color: var(--stone); font-size: .94rem; max-width: 38ch; }
.footer-warn {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 20px;
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: 10px 16px; font-size: .84rem; color: var(--graphite);
}
.footer-warn svg { width: 16px; height: 16px; color: var(--gold); flex: none; }
.footer-col h3 { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--stone); margin-bottom: 16px; font-weight: 600; }
html[lang="ar"] .footer-col h3 { letter-spacing: .06em; }
.footer-col ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-col a { color: var(--graphite); font-size: .94rem; transition: color var(--dur) var(--ease); }
.footer-col a:hover { color: var(--ink); }
.social { display: flex; gap: 10px; }
.social a { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; background: var(--white); transition: border-color var(--dur) var(--ease), transform var(--dur) var(--ease); }
.social a:hover { border-color: var(--ink); transform: translateY(-2px); }
.social svg { width: 20px; height: 20px; }
.footer-bottom { border-top: 1px solid var(--line); padding-block: 26px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: .82rem; color: var(--mist); }
.demo-pill { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; color: var(--stone); background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; }
.demo-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }

/* ---------- Reveal on scroll ----------
   Hidden state is gated behind html.js so that if JavaScript is
   disabled or fails, ALL content stays fully visible (no blank page). */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (min-width: 600px) {
  .grid-gallery { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .send-actions { flex-direction: row; }
  .send-actions .btn { flex: 1; }
}
@media (min-width: 768px) {
  .nav-cta { display: inline-flex; }
  .features { grid-template-columns: repeat(2, 1fr); }
  .occasions-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1.6fr 1fr 1fr; }
}
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .menu-btn { display: none; }
  .grid-gallery { grid-template-columns: repeat(3, 1fr); }
  .hero-grid { grid-template-columns: 1.05fr .95fr; }
  .booking-grid { grid-template-columns: 1.15fr .85fr; align-items: start; }
  .book-side .summary { position: sticky; top: 98px; }
  .features { grid-template-columns: repeat(4, 1fr); }
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 2fr 1fr 1fr 1fr; }
}

/* ---------- Below-the-fold render optimisation ----------
   Skips layout/paint of off-screen sections until they're scrolled near,
   cutting initial main-thread work. Progressive enhancement only:
   browsers without support simply ignore it (content renders normally). */
@supports (content-visibility: auto) {
  #gallery, #booking, #why, #occasions, #reviews, .cta-band, .site-footer {
    content-visibility: auto;
    contain-intrinsic-size: auto 700px;
  }
}

/* ---------- Motion preference ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Print niceties ---------- */
@media print {
  .site-header, .drawer, .cta-band, .site-footer, .hero-actions { display: none !important; }
}
