/* lucindabancel.com — one stylesheet for every public page (Session 3, 30 Oct 2026).
   Palette (Pearl, 30 Oct: "a bit of colour… professional doesn't have to be bland"):
   deep teal-blue for headings and buttons, Sierra Leone green for the accent and the
   language picker, warm gold for highlights, all on soft cream. Contrast on body text 7:1+. */
:root {
  --cream: #fbf7ee;  --cream-deep: #f1ebdc; --paper: #ffffff;
  --ink: #17323a;    --teal: #1f6f78;       --teal-deep: #164f56;
  --green: #1eb53a;  --green-deep: #167d2b; --green-tint: #e4f3e7;
  --gold: #c79a3b;   --gold-tint: #f6ecd4;
  --muted: #4f5e63;  --line: #d9d4c7;       --danger: #9b2c2c;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14px; --gutter: 16px; --measure: 68ch;
}
* { box-sizing: border-box; }
html { font-size: 18px; -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--cream); line-height: 1.5; }
h1, h2, h3 { font-family: var(--serif); color: var(--teal-deep); line-height: 1.15; margin: 0 0 0.4em; font-weight: 600; }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2rem); }
h3 { font-size: 1.25rem; }
p, li { max-width: var(--measure); }
a { color: var(--teal); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Layout: one column, phone first. */
.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 var(--gutter); }
section { padding: 40px 0; }
section.deep { background: var(--cream-deep); }
section.paper { background: var(--paper); }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.card.highlight { border: 2px solid var(--green); background: var(--green-tint); }
.cards { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, 1fr); } .cards.three { grid-template-columns: repeat(3, 1fr); } }

/* Header and the language toggle. */
header.site { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
header.site .wrap { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.brand { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; color: var(--teal-deep); text-decoration: none; white-space: nowrap; line-height: 1.1; }
.brand small { display: block; font-family: var(--sans); font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 400; white-space: nowrap; }
header.site .wrap { justify-content: space-between; }
nav.main { display: none; gap: 4px; }
nav.main a { padding: 10px 11px; white-space: nowrap; font-size: 0.98rem; border-radius: 10px; text-decoration: none; color: var(--ink); min-height: 44px; display: inline-flex; align-items: center; }
nav.main a[aria-current="page"] { background: var(--green-tint); color: var(--green-deep); font-weight: 700; }
@media (min-width: 1000px) { nav.main { display: flex; } .menu-button { display: none; } }
.menu-button { background: none; border: 1px solid var(--line); border-radius: 10px; min-width: 44px; min-height: 44px; font: inherit; }
nav.mobile { display: none; background: var(--paper); border-top: 1px solid var(--line); }
nav.mobile[data-open="true"] { display: block; }
nav.mobile a { display: block; padding: 14px var(--gutter); text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); }
.lang-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang-toggle button { font: inherit; font-weight: 700; letter-spacing: 0.06em; padding: 8px 12px; min-height: 44px; min-width: 44px; background: var(--paper); color: var(--muted); border: 0; cursor: pointer; }
.lang-toggle button[aria-pressed="true"] { background: var(--teal); color: #fff; }

/* Buttons. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 10px 20px; border-radius: 12px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; border: 2px solid transparent; }
.btn.primary { background: var(--teal); color: #fff; }
.btn.primary:hover { background: var(--teal-deep); }
.btn.green { background: var(--green-deep); color: #fff; }
.btn.quiet { background: var(--paper); color: var(--teal-deep); border-color: var(--line); }
.btn.quiet:hover { border-color: var(--teal); }

/* The language picker: tap a scene, not a flag. Hand-drawn SVG, coloured by the site. */
.picker { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .picker { grid-template-columns: repeat(4, 1fr); } }
.scene { display: grid; gap: 8px; justify-items: center; padding: 14px 10px 12px; border: 2px solid var(--line); border-radius: var(--radius); background: var(--paper); font: inherit; font-weight: 700; color: var(--teal-deep); cursor: pointer; min-height: 44px; }
.scene svg { width: 100%; height: auto; max-width: 180px; }
.scene:hover { border-color: var(--green); }
.scene[aria-pressed="true"] { border-color: var(--green-deep); background: var(--green-tint); }
.scene .line { stroke: var(--teal-deep); stroke-width: 2.5; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.scene .fill { fill: var(--green); opacity: 0.25; }
.scene .gold { fill: var(--gold); }

/* Prices: numbers in figures AND in words for screen readers (the sr-only span carries the words). */
.price { font-family: var(--serif); font-size: 1.5rem; color: var(--teal-deep); }
.price small { font-family: var(--sans); font-size: 0.9rem; color: var(--muted); }

/* Tables. */
table.compare { width: 100%; border-collapse: collapse; }
table.compare th, table.compare td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.compare th { color: var(--teal-deep); }
table.compare td.yes { color: var(--green-deep); font-weight: 700; }
table.compare td.no { color: var(--muted); }

/* Video thumbnails (YouTube, privacy-enhanced embed on tap). */
.video { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #000; aspect-ratio: 16 / 9; }
.video img { width: 100%; height: 100%; object-fit: cover; }
.video button { position: absolute; inset: 0; background: rgba(23,50,58,0.25); border: 0; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.video iframe { width: 100%; height: 100%; border: 0; }

/* The contact strip on every page: phone and WhatsApp for people who won't fill in a form. */
.reach { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 24px 0; }
.reach a { font-weight: 700; }

footer.site { padding: 32px 0; color: var(--muted); font-size: 0.9rem; border-top: 1px solid var(--line); }
footer.site a { color: var(--muted); }

/* Bilingual content: both languages are in the page; the toggle shows one. */
[lang-only] { display: none; }
html[data-lang="en"] [lang-only="en"], html[data-lang="fr"] [lang-only="fr"] { display: revert; }

/* Illustrated bands (Pearl, 1 Nov: "illustrated and friendly"). */
.band-green { background: var(--green-tint); }
.band-gold { background: var(--gold-tint); }
.band-teal { background: var(--teal-deep); color: #fbf7ee; }
.band-teal h2, .band-teal h3 { color: #fbf7ee; }
.band-teal a { color: #fff; }
.wave { display: block; width: 100%; height: 28px; }
.scene-card { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: start; }
.scene-card img { width: 96px; height: 72px; }
@media (max-width: 480px) { .scene-card { grid-template-columns: 1fr; } }
.hero-art { width: 100%; height: auto; display: block; }

/* Carousel (Pearl, 1 Nov: "each card slightly larger but doesn't fight for attention").
   One card in focus, the neighbours peeking in and faded. Never moves on its own. */
.carousel { position: relative; }
.carousel .track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 8px 0 18px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.carousel .track::-webkit-scrollbar { display: none; }
.carousel .track > * { flex: 0 0 min(76%, 380px); scroll-snap-align: center; opacity: .45; transform: scale(.82); transform-origin: center bottom; transition: opacity .3s, transform .3s; }
.carousel .track > .is-active { opacity: 1; transform: scale(1); box-shadow: 0 12px 32px rgba(23,50,58,.14); }
@media (min-width: 900px) { .carousel .track { padding-left: calc((100% - 380px) / 2); padding-right: calc((100% - 380px) / 2); } }
.carousel .card { padding: 0 0 18px; overflow: hidden; font-size: .92rem; }
.carousel .card h3 { font-size: 1.25rem; margin: 0 0 6px; }
.carousel .card p { margin: 0 0 10px; }
.carousel .card .price { font-size: 1.2rem; }
.carousel .card .btn { padding: 8px 14px; font-size: .9rem; }
.carousel .card .pic { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: var(--green-tint); }
.carousel .card .pic.drawn { object-fit: contain; padding: 22px 36px; }
.carousel .card > :not(.pic) { margin-left: 20px; margin-right: 20px; }
.carousel .card .eyebrow { margin-top: 14px; font-size: .72rem; }
.carousel-nav { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 4px; }
.carousel-nav button { min-width: 44px; min-height: 44px; border-radius: 50%; border: 2px solid var(--teal); background: var(--paper); color: var(--teal-deep); font: inherit; font-size: 1.3rem; cursor: pointer; }
.carousel-nav button:hover { background: var(--teal); color: #fff; }
.carousel-nav .dots { display: flex; gap: 8px; }
.carousel-nav .dots button { min-width: 14px; min-height: 14px; width: 14px; height: 14px; padding: 0; border: 2px solid var(--teal); background: transparent; }
.carousel-nav .dots button[aria-current="true"] { background: var(--green-deep); border-color: var(--green-deep); }
@media (prefers-reduced-motion: reduce) { .carousel .track { scroll-behavior: auto; } .carousel .track > * { transition: none; } }
