/* ============================================================
   Lapa's Costa Rican Bistro — Design System
   Theme: "Pura Vida" — rainforest greens, scarlet macaw red,
   warm handmade-paper cream. Organic, tropical, hand-crafted.
   Edit the tokens below to re-theme the whole site.
   ============================================================ */

:root {
  /* — Color tokens — */
  --jungle-deep: #0B2E1F;   /* darkest green: footer, dark bands */
  --jungle-900:  #103D2A;
  --jungle:      #15593A;   /* primary brand green */
  --leaf:        #3E9B63;   /* lighter green accent */
  --leaf-soft:   #DCEEDF;   /* pale green tint */
  --macaw:       #D93425;   /* scarlet macaw red — primary CTA */
  --macaw-dark:  #B22318;
  --macaw-soft:  #FBE7E2;
  --mango:       #F2A93B;   /* golden mango accent */
  --mango-deep:  #C77E14;
  --cream:       #FBF7EC;   /* page background, handmade paper */
  --cream-2:     #F3ECDA;   /* alternate section background */
  --paper:       #FFFEFA;   /* cards */
  --ink:         #21302A;   /* primary text on cream */
  --ink-soft:    #54665C;   /* secondary text */
  --line:        #E4DCC8;   /* hairlines on cream */
  --line-dark:   rgba(255, 255, 255, 0.14);

  /* — Type — */
  --font-display: "Bree Serif", "Georgia", serif;
  --font-body: "Karla", "Segoe UI", system-ui, sans-serif;
  --font-hand: "Caveat", cursive;

  /* — Shape & depth — */
  --radius: 22px;
  --radius-sm: 14px;
  --radius-blob: 58% 42% 44% 56% / 52% 48% 52% 48%;
  --shadow-soft: 0 10px 34px rgba(11, 46, 31, 0.10);
  --shadow-lift: 0 18px 50px rgba(11, 46, 31, 0.16);

  /* — Layout — */
  --container: 1180px;
  --head-h: 76px;
}

/* ============ Reset & base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--jungle); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--macaw); }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.16;
  color: var(--jungle-deep);
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
p { margin: 0 0 1em; }
.container { width: min(var(--container), 92vw); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 116px) 0; }
.section.tight { padding: clamp(44px, 6vw, 72px) 0; }

::selection { background: var(--mango); color: var(--jungle-deep); }

:focus-visible {
  outline: 3px solid var(--mango);
  outline-offset: 3px;
  border-radius: 4px;
}

/* skip link */
.skip-link {
  position: absolute; left: -999px; top: 8px; z-index: 2000;
  background: var(--jungle-deep); color: #fff; padding: 10px 18px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }

/* ============ Kicker / handwritten accents ============ */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--macaw); margin-bottom: 14px;
}
.kicker::before {
  content: ""; width: 26px; height: 2px; background: var(--mango); border-radius: 2px;
}
.hand {
  font-family: var(--font-hand);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--leaf);
  line-height: 1.2;
}
.on-dark .hand { color: var(--mango); }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  padding: 15px 30px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; text-decoration: none; line-height: 1.2;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  touch-action: manipulation;
  min-height: 48px;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--macaw); color: #fff; box-shadow: 0 8px 22px rgba(217, 52, 37, 0.32); }
.btn-primary:hover { background: var(--macaw-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 28px rgba(217, 52, 37, 0.4); }
.btn-jungle { background: var(--jungle); color: #fff; box-shadow: 0 8px 22px rgba(21, 89, 58, 0.28); }
.btn-jungle:hover { background: var(--jungle-900); color: #fff; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--jungle-deep); border-color: var(--jungle); }
.btn-ghost:hover { background: var(--jungle); color: #fff; }
.on-dark .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.55); }
.on-dark .btn-ghost:hover { background: #fff; color: var(--jungle-deep); border-color: #fff; }
.btn svg { width: 18px; height: 18px; flex: none; }

/* GloriaFood embedded ordering button inherits our style */
.glf-button {
  display: inline-flex !important; align-items: center; justify-content: center;
  font-family: var(--font-body) !important; font-weight: 700; font-size: 1rem;
  padding: 15px 30px; border-radius: 999px; cursor: pointer; min-height: 48px;
  background: var(--macaw) !important; color: #fff !important;
  box-shadow: 0 8px 22px rgba(217, 52, 37, 0.32); border: none;
  transition: transform 0.18s ease, background 0.18s ease;
}
.glf-button:hover { background: var(--macaw-dark) !important; transform: translateY(-2px); }

/* ============ Header ============ */
.site-head {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  height: var(--head-h);
  display: flex; align-items: center;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.site-head.scrolled,
.site-head.solid {
  background: rgba(251, 247, 236, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line), 0 8px 30px rgba(11, 46, 31, 0.08);
}
.head-inner {
  width: min(var(--container), 94vw); margin-inline: auto;
  display: flex; align-items: center; gap: 28px;
}
.brand {
  display: flex; align-items: center; gap: 11px;
  font-family: var(--font-display); font-size: 1.32rem; color: var(--jungle-deep);
  text-decoration: none; line-height: 1.05;
}
.brand:hover { color: var(--jungle); }
.brand svg { width: 40px; height: 40px; flex: none; }
.brand small { display: block; font-family: var(--font-body); font-size: 0.62rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: var(--macaw); }
.site-head:not(.scrolled):not(.solid).on-hero .brand { color: #fff; }
.site-head:not(.scrolled):not(.solid).on-hero .brand small { color: var(--mango); }

.nav-main { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-main a {
  font-weight: 700; font-size: 0.93rem; text-decoration: none; color: var(--ink);
  padding: 9px 13px; border-radius: 999px; transition: background 0.15s ease, color 0.15s ease;
}
.nav-main a:hover { background: var(--leaf-soft); color: var(--jungle-deep); }
.nav-main a[aria-current="page"] { background: var(--jungle); color: #fff; }
.site-head:not(.scrolled):not(.solid).on-hero .nav-main a { color: #fff; }
.site-head:not(.scrolled):not(.solid).on-hero .nav-main a:hover { background: rgba(255,255,255,0.16); }
.site-head:not(.scrolled):not(.solid).on-hero .nav-main a[aria-current="page"] { background: rgba(255,255,255,0.22); }

.head-cta { display: inline-flex; align-items: center; gap: 10px; }
.head-cta .btn { padding: 11px 22px; font-size: 0.92rem; min-height: 44px; }

.burger {
  display: none; margin-left: auto;
  width: 48px; height: 48px; border: 0; border-radius: 12px;
  background: var(--jungle); color: #fff; cursor: pointer;
  align-items: center; justify-content: center;
}
.burger svg { width: 24px; height: 24px; }

/* ============ Mobile drawer ============ */
.drawer { position: fixed; inset: 0; z-index: 1500; pointer-events: none; }
.drawer-scrim {
  position: absolute; inset: 0; background: rgba(11, 46, 31, 0.55);
  opacity: 0; transition: opacity 0.25s ease;
}
.drawer-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(340px, 88vw);
  background: var(--jungle-deep); color: #fff;
  padding: 26px 26px 40px; overflow-y: auto;
  transform: translateX(102%); transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex; flex-direction: column; gap: 6px;
  background-image: radial-gradient(ellipse at 110% -10%, rgba(62, 155, 99, 0.35), transparent 55%);
}
.drawer.open { pointer-events: auto; }
.drawer.open .drawer-scrim { opacity: 1; }
.drawer.open .drawer-panel { transform: translateX(0); }
.drawer-close {
  align-self: flex-end; width: 46px; height: 46px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,0.12); color: #fff; cursor: pointer; font-size: 1.5rem;
}
.drawer-panel a.dl {
  color: #fff; text-decoration: none; font-family: var(--font-display);
  font-size: 1.35rem; padding: 13px 10px; border-radius: 12px;
}
.drawer-panel a.dl:hover { background: rgba(255,255,255,0.1); }
.drawer-panel a.dl[aria-current="page"] { color: var(--mango); }
.drawer-panel .drawer-cta { margin-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.drawer-note { margin-top: auto; padding-top: 26px; font-size: 0.88rem; color: rgba(255,255,255,0.72); }
.drawer-note strong { color: var(--mango); }

@media (max-width: 980px) {
  .nav-main, .head-cta { display: none; }
  .burger { display: inline-flex; }
}

/* ============ Page hero (inner pages) ============ */
.page-hero {
  position: relative; padding: calc(var(--head-h) + clamp(48px, 8vw, 96px)) 0 clamp(48px, 7vw, 84px);
  background: var(--jungle-deep); color: #fff; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 85% 0%, rgba(62, 155, 99, 0.4), transparent 50%),
    radial-gradient(ellipse at 0% 110%, rgba(217, 52, 37, 0.22), transparent 45%);
}
.page-hero .leafbg {
  position: absolute; right: -60px; top: -40px; width: 380px; opacity: 0.13; pointer-events: none;
}
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; }
.page-hero .lede { font-size: clamp(1.05rem, 1.8vw, 1.25rem); color: rgba(255,255,255,0.86); max-width: 640px; }
.page-hero .crumbs { font-size: 0.85rem; margin-bottom: 18px; color: rgba(255,255,255,0.65); }
.page-hero .crumbs a { color: rgba(255,255,255,0.85); }
.page-hero .crumbs a:hover { color: var(--mango); }

/* ============ Quick answer (AEO) ============ */
.quick-answer {
  background: var(--paper); border: 1px solid var(--line); border-left: 6px solid var(--mango);
  border-radius: var(--radius-sm); padding: 22px 26px; margin: 0 0 30px;
  box-shadow: var(--shadow-soft);
}
.quick-answer h2 { font-size: 1.05rem; font-family: var(--font-body); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--macaw); margin-bottom: 8px; }
.quick-answer p { margin: 0; font-size: 1.04rem; }

.key-facts { width: 100%; border-collapse: collapse; margin: 18px 0 30px; background: var(--paper); border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-soft); }
.key-facts th, .key-facts td { text-align: left; padding: 13px 18px; border-bottom: 1px solid var(--line); font-size: 0.97rem; vertical-align: top; }
.key-facts tr:last-child th, .key-facts tr:last-child td { border-bottom: 0; }
.key-facts th { width: 38%; color: var(--jungle); font-weight: 800; background: var(--leaf-soft); }

/* ============ Cards ============ */
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); }
.card h3 { margin-top: 14px; }
.card .icon-disc {
  width: 56px; height: 56px; border-radius: 18px 18px 18px 4px;
  background: var(--leaf-soft); color: var(--jungle); display: grid; place-items: center;
}
.card .icon-disc svg { width: 28px; height: 28px; }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ============ Dark band ============ */
.band-dark {
  background: var(--jungle-deep); color: rgba(255,255,255,0.88); position: relative; overflow: hidden;
}
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 90% 10%, rgba(62, 155, 99, 0.3), transparent 55%);
}
.band-dark .container { position: relative; }

/* ============ Menu styles ============ */
.menu-nav {
  position: sticky; top: var(--head-h); z-index: 600;
  background: rgba(251, 247, 236, 0.95); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.menu-nav::-webkit-scrollbar { display: none; }
.menu-nav .inner { display: flex; gap: 6px; padding: 12px 4vw; width: max-content; margin-inline: auto; }
.menu-nav a {
  flex: none; font-size: 0.88rem; font-weight: 700; text-decoration: none; color: var(--ink);
  padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper);
  transition: background 0.15s ease, color 0.15s ease;
}
.menu-nav a:hover { background: var(--leaf-soft); color: var(--jungle-deep); }

.menu-section { scroll-margin-top: calc(var(--head-h) + 70px); }
.menu-section + .menu-section { margin-top: clamp(44px, 6vw, 70px); }
.menu-section > .menu-head { display: flex; align-items: baseline; gap: 16px; border-bottom: 3px solid var(--mango); padding-bottom: 10px; margin-bottom: 8px; }
.menu-section > .menu-head h2 { margin: 0; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.menu-section > .menu-head .note { font-size: 0.9rem; color: var(--ink-soft); }

.dish-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 26px; margin-top: 22px; }
@media (max-width: 860px) { .dish-grid { grid-template-columns: 1fr; } }
.dish {
  display: grid; grid-template-columns: 96px 1fr; gap: 18px; align-items: start;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 16px; transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.dish:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.dish.no-photo { grid-template-columns: 1fr; }
.dish img {
  width: 96px; height: 96px; object-fit: cover; border-radius: 16px 16px 16px 4px;
}
.dish h3 { font-size: 1.12rem; margin: 0 0 4px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.dish p { margin: 0; font-size: 0.93rem; color: var(--ink-soft); }
.badge-veg, .badge-gf, .badge-fav {
  font-size: 0.64rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 999px;
}
.badge-veg { background: var(--leaf-soft); color: var(--jungle); }
.badge-gf { background: #FDF1DC; color: var(--mango-deep); }
.badge-fav { background: var(--macaw-soft); color: var(--macaw-dark); }

/* ============ FAQ ============ */
.faq-item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 14px; overflow: hidden; }
.faq-q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  font-family: var(--font-display); font-size: 1.12rem; color: var(--jungle-deep);
  padding: 19px 56px 19px 22px; position: relative; min-height: 48px;
}
.faq-q::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; border-radius: 50%; background: var(--leaf-soft); color: var(--jungle);
  display: grid; place-items: center; font-size: 1.25rem; font-family: var(--font-body); font-weight: 700;
  transition: transform 0.25s ease, background 0.2s ease;
}
.faq-item.open .faq-q::after { transform: translateY(-50%) rotate(45deg); background: var(--macaw); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-a > div { padding: 0 22px 20px; color: var(--ink-soft); }

/* ============ Forms ============ */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 0.92rem; color: var(--jungle-deep); }
.field label .req { color: var(--macaw); }
.field input, .field select, .field textarea {
  font: inherit; color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line); border-radius: 12px; padding: 13px 15px; min-height: 48px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--leaf); box-shadow: 0 0 0 4px rgba(62, 155, 99, 0.18);
}
.form-note {
  display: none; align-items: flex-start; gap: 12px; margin-top: 18px;
  background: var(--leaf-soft); border: 1px solid var(--leaf); border-radius: var(--radius-sm);
  padding: 16px 20px; color: var(--jungle-deep); font-weight: 600;
}

/* ============ Reveal animations ============ */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal="left"] { transform: translateX(-34px); }
[data-reveal="right"] { transform: translateX(34px); }
[data-reveal="left"].in, [data-reveal="right"].in { transform: none; }
.d1 { transition-delay: 0.08s; } .d2 { transition-delay: 0.16s; } .d3 { transition-delay: 0.24s; } .d4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .btn, .card, .dish { transition: none !important; }
  *, *::before, *::after { animation-duration: 0.001s !important; }
}
.qa-static [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }

/* ============ Footer ============ */
.site-foot {
  background: var(--jungle-deep); color: rgba(255,255,255,0.82);
  padding: clamp(56px, 8vw, 88px) 0 36px; position: relative; overflow: hidden;
}
.site-foot::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 8% 0%, rgba(62, 155, 99, 0.28), transparent 50%);
  pointer-events: none;
}
.foot-grid {
  position: relative;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 38px;
  padding-bottom: 42px; border-bottom: 1px solid var(--line-dark);
}
@media (max-width: 980px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .foot-grid { grid-template-columns: 1fr; } }
.site-foot h4 { color: var(--mango); font-family: var(--font-body); font-weight: 800; font-size: 0.85rem; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 16px; }
.site-foot a { color: rgba(255,255,255,0.85); text-decoration: none; }
.site-foot a:hover { color: var(--mango); }
.foot-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 0.95rem; }
.foot-brand { font-family: var(--font-display); font-size: 1.5rem; color: #fff; display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.foot-brand svg { width: 38px; height: 38px; }
.foot-meta {
  position: relative;
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center;
  padding-top: 26px; font-size: 0.84rem; color: rgba(255,255,255,0.55);
}
.hours-list { list-style: none; padding: 0; margin: 0; font-size: 0.95rem; display: flex; flex-direction: column; gap: 8px; }
.hours-list strong { color: #fff; }
.open-badge {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 14px;
  font-size: 0.8rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,0.1);
}
.open-badge .dot { width: 9px; height: 9px; border-radius: 50%; background: #9ca3af; }
.open-badge.is-open .dot { background: #4ade80; box-shadow: 0 0 10px #4ade80; }
.open-badge.is-closed .dot { background: var(--macaw); }

/* ============ Misc ============ */
.stars { color: var(--mango); letter-spacing: 2px; }
.tag-row { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  font-size: 0.82rem; font-weight: 700; padding: 8px 16px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line); color: var(--ink);
}
.notice {
  background: var(--macaw-soft); border: 1px solid #F0C4BB; border-radius: var(--radius-sm);
  padding: 18px 22px; color: #7C2D12; font-size: 0.97rem;
}
.notice strong { color: var(--macaw-dark); }

table.policy-table { width: 100%; border-collapse: collapse; background: var(--paper); border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-soft); }
table.policy-table th, table.policy-table td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: 0.96rem; vertical-align: top; }
table.policy-table thead th { background: var(--jungle); color: #fff; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; }
table.policy-table tr:last-child td { border-bottom: 0; }
@media (max-width: 700px) {
  table.policy-table thead { display: none; }
  table.policy-table tr { display: block; border-bottom: 8px solid var(--cream); }
  table.policy-table td { display: block; border-bottom: 1px dashed var(--line); }
  table.policy-table td::before { content: attr(data-th); display: block; font-weight: 800; color: var(--jungle); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 3px; }
}

/* media frame with organic blob mask */
.blob-frame { position: relative; }
.blob-frame img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: var(--radius-blob);
  box-shadow: var(--shadow-lift);
}
.blob-frame::after {
  content: ""; position: absolute; inset: -14px auto auto -14px; width: 90px; height: 90px;
  background: var(--mango); border-radius: var(--radius-blob); opacity: 0.85; z-index: -1;
}

/* split layout */
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* language switch */
.lang-switch {
  display: inline-flex; gap: 0; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; font-size: 0.84rem; font-weight: 800;
}
.lang-switch a, .lang-switch span { padding: 7px 16px; text-decoration: none; }
.lang-switch span[aria-current] { background: var(--jungle); color: #fff; }
.lang-switch a { color: var(--ink); }
.lang-switch a:hover { background: var(--leaf-soft); color: var(--jungle-deep); }
.on-dark .lang-switch { border-color: rgba(255,255,255,0.35); }
.on-dark .lang-switch a { color: #fff; }
