/* ==========================================================================
   batuferringhi.my — Tropical-coastal design system
   Palette: deep ocean teal · warm sand · sunset gold/coral
   Performance: system-fallback fonts, no blocking deps, CLS-safe
   ========================================================================== */

/* ---------- Fonts (self-hosted, swap, graceful system fallback) ---------- */
@font-face {
  font-family: 'Fraunces';
  src: url('/assets/fonts/fraunces.woff2') format('woff2');
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('/assets/fonts/fraunces-italic.woff2') format('woff2');
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'InterVar';
  src: url('/assets/fonts/inter.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* ---------- Design tokens ---------- */
:root {
  /* Ocean */
  --ink: #0c2230;          /* deep sea ink (text on light) */
  --ink-2: #314a55;        /* secondary text */
  --ink-3: #5d7480;        /* muted */
  --sea-900: #08222b;      /* near-black teal */
  --sea-800: #0d3340;
  --sea-700: #0f4c5c;      /* deep teal */
  --sea-500: #1b8a9c;      /* sea teal */
  --sea-300: #6fc4cf;      /* shallow lagoon */
  --foam: #e9f5f4;         /* pale foam */

  /* Sand */
  --sand-50: #fbf7ef;      /* page bg */
  --sand-100: #f5ecda;     /* light sand panel */
  --sand-200: #ecdcc0;     /* sand border */
  --paper: #ffffff;

  /* Sunset */
  --gold: #e7a531;         /* sunset gold (primary accent) */
  --gold-deep: #c9821a;
  --coral: #e2683f;        /* sunset coral */
  --coral-deep: #c14a26;

  /* Functional */
  --line: #e7ddca;
  --shadow-sm: 0 1px 2px rgba(8,34,43,.06), 0 2px 8px rgba(8,34,43,.05);
  --shadow-md: 0 6px 24px rgba(8,34,43,.10), 0 2px 8px rgba(8,34,43,.06);
  --shadow-lg: 0 18px 50px rgba(8,34,43,.18);

  --maxw: 1180px;
  --maxw-prose: 720px;
  --radius: 14px;
  --radius-sm: 9px;
  --radius-lg: 22px;

  --serif: 'Fraunces', ui-serif, Georgia, 'Times New Roman', serif;
  --sans: 'InterVar', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --gut: clamp(16px, 4vw, 40px);
  --section-y: clamp(38px, 5vw, 78px);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--sand-50);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, picture, video, svg { display: block; max-width: 100%; height: auto; }
img { background: var(--sand-100); }
.fig__btn picture, .card__media picture, .lcard__media picture, .feature__media picture { display: block; width: 100%; height: 100%; }
.fig__btn picture img, .lcard__media picture img, .feature__media picture img { width: 100%; height: 100%; }
a { color: var(--sea-700); text-decoration-thickness: 1px; text-underline-offset: 2px; }
a:hover { color: var(--coral-deep); }
strong { font-weight: 650; }
:focus-visible { outline: 3px solid var(--sea-500); outline-offset: 2px; border-radius: 4px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 560; line-height: 1.12; color: var(--ink); letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); font-weight: 600; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); }
h3 { font-size: clamp(1.22rem, 2.1vw, 1.5rem); }
h4 { font-size: 1.06rem; font-family: var(--sans); font-weight: 680; letter-spacing: .01em; }
p { text-wrap: pretty; }
.kicker {
  font-family: var(--sans); font-weight: 700; font-size: .78rem;
  letter-spacing: .16em; text-transform: uppercase; color: var(--coral-deep);
}
.lead { font-size: clamp(1.08rem, 1.6vw, 1.28rem); color: var(--ink-2); line-height: 1.6; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }
.prose { max-width: var(--maxw-prose); }
.section { padding-block: var(--section-y); }
.section--sand { background: var(--sand-100); }
.section--sea { background: var(--sea-800); color: var(--foam); }
.section--sea h2, .section--sea h3 { color: #fff; }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.stack > * + * { margin-top: 1.05em; }
.divider { height: 2px; width: 64px; background: linear-gradient(90deg, var(--gold), var(--coral)); border: 0; border-radius: 2px; margin: 22px 0; }
.center .divider { margin-inline: auto; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: transparent;
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.solid, .site-header.no-hero {
  background: rgba(251,247,239,.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.nav { display: flex; align-items: center; gap: 18px; height: 70px; }
.brand { display: inline-flex; align-items: baseline; gap: .12em; font-family: var(--serif); font-weight: 640; font-size: 1.32rem; color: var(--ink); text-decoration: none; line-height: 1; white-space: nowrap; }
.brand .dot { color: var(--coral); }
.brand .tld { font-family: var(--sans); font-weight: 700; font-size: .62em; color: var(--sea-500); letter-spacing: .02em; }
.has-hero .site-header:not(.solid) .brand { color: #fff; }
.has-hero .site-header:not(.solid) .brand .tld { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-links a {
  font-size: .93rem; font-weight: 560; color: var(--ink-2); text-decoration: none;
  padding: 9px 11px; border-radius: 8px; white-space: nowrap; transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--ink); background: rgba(15,76,92,.07); }
.nav-links a.is-active { color: var(--sea-700); }
.has-hero .site-header:not(.solid) .nav-links a { color: rgba(255,255,255,.92); }
.has-hero .site-header:not(.solid) .nav-links a:hover { background: rgba(255,255,255,.16); color:#fff; }
.nav-cta {
  margin-left: 6px; background: var(--gold); color: var(--sea-900) !important;
  font-weight: 700 !important; padding: 9px 16px !important; border-radius: 999px !important;
  box-shadow: var(--shadow-sm);
}
.nav-cta:hover { background: var(--gold-deep); color: #fff !important; }
.lang-switch { display: inline-flex; gap: 2px; margin-left: 8px; align-items: center; font-size: .82rem; }
.lang-switch a { padding: 5px 8px; border-radius: 7px; font-weight: 600; color: var(--ink-3); text-decoration: none; }
.lang-switch a.is-active { color: var(--ink); background: var(--sand-200); }
.has-hero .site-header:not(.solid) .lang-switch a { color: rgba(255,255,255,.8); }
.has-hero .site-header:not(.solid) .lang-switch a.is-active { background: rgba(255,255,255,.22); color:#fff; }

.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; align-items: center; justify-content: center; border-radius: 9px; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ''; display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; position: relative; }
.nav-toggle span::before { position: absolute; top: -7px; }
.nav-toggle span::after { position: absolute; top: 7px; }
.has-hero .site-header:not(.solid) .nav-toggle span,
.has-hero .site-header:not(.solid) .nav-toggle span::before,
.has-hero .site-header:not(.solid) .nav-toggle span::after { background: #fff; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
body.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 940px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; inset: 70px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px;
    background: rgba(251,247,239,.98); backdrop-filter: blur(8px); padding: 14px var(--gut) 26px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
    max-height: calc(100dvh - 70px); overflow-y: auto;
  }
  body.nav-open .nav-links { transform: none; opacity: 1; pointer-events: auto; }
  .nav-links a { color: var(--ink-2) !important; background: transparent !important; padding: 13px 10px; border-radius: 9px; font-size: 1rem; }
  .nav-links a:hover { background: var(--sand-100) !important; }
  .nav-cta { text-align: center; margin: 8px 0 0; }
  .lang-switch { margin: 10px 0 0; }
  .has-hero .site-header:not(.solid) .nav-links a { color: var(--ink-2) !important; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: .55em; font-family: var(--sans); font-weight: 680; font-size: .98rem; line-height: 1; padding: 14px 24px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; text-decoration: none; transition: transform .15s, background .2s, color .2s, box-shadow .2s; }
.btn:active { transform: translateY(1px); }
.btn--gold { background: var(--gold); color: var(--sea-900); box-shadow: var(--shadow-sm); }
.btn--gold:hover { background: var(--gold-deep); color: #fff; box-shadow: var(--shadow-md); }
.btn--coral { background: var(--coral); color: #fff; box-shadow: var(--shadow-sm); }
.btn--coral:hover { background: var(--coral-deep); color: #fff; }
.btn--ghost { background: transparent; border-color: currentColor; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--sand-50); }
.btn--light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.55); backdrop-filter: blur(4px); }
.btn--light:hover { background: #fff; color: var(--sea-900); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row { justify-content: center; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: clamp(520px, 82vh, 760px); display: flex; align-items: flex-end; margin-top: -70px; padding-top: 70px; color: #fff; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,34,43,.42) 0%, rgba(8,34,43,.15) 38%, rgba(8,34,43,.72) 100%); }
.hero__inner { padding-block: clamp(34px, 6vw, 76px); max-width: 760px; }
.hero h1 { color: #fff; text-shadow: 0 2px 26px rgba(0,0,0,.32); }
.hero .lead { color: rgba(255,255,255,.94); text-shadow: 0 1px 14px rgba(0,0,0,.34); max-width: 620px; }
.hero .kicker { color: var(--gold); }
.hero__stats { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 26px; }
.hero__stats .stat { }
.hero__stats .num { font-family: var(--serif); font-size: 1.7rem; font-weight: 600; color: #fff; line-height: 1; }
.hero__stats .lbl { font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.82); }

/* page hero (compact, for inner pages) */
.phero { position: relative; color: #fff; margin-top: -70px; padding-top: 70px; overflow: hidden; }
.phero__media { position: absolute; inset: 0; z-index: -2; }
.phero__media img { width: 100%; height: 100%; object-fit: cover; }
.phero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(8,34,43,.5), rgba(8,34,43,.66)); }
.phero__inner { padding-block: clamp(44px, 8vw, 92px); max-width: 760px; }
.phero h1 { color: #fff; text-shadow: 0 2px 20px rgba(0,0,0,.3); }
.phero .lead { color: rgba(255,255,255,.93); }

/* ---------- Breadcrumbs ---------- */
.crumbs { font-size: .82rem; color: rgba(255,255,255,.82); margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.crumbs a { color: rgba(255,255,255,.9); text-decoration: none; }
.crumbs a:hover { color: #fff; text-decoration: underline; }
.crumbs .sep { opacity: .6; }
.section .crumbs { color: var(--ink-3); }
.section .crumbs a { color: var(--sea-700); }

/* ---------- Prose content ---------- */
.content { font-size: 1.075rem; }
.content h2 { margin-top: 1.9em; margin-bottom: .5em; }
.content h2:first-child { margin-top: 0; }
.content h3 { margin-top: 1.5em; margin-bottom: .4em; }
.content p { margin-bottom: 1.05em; color: var(--ink-2); }
.content ul, .content ol { margin: 0 0 1.15em; padding-left: 1.3em; color: var(--ink-2); }
.content li { margin-bottom: .5em; }
.content li::marker { color: var(--coral); }
.content a { font-weight: 560; }
.content figure { margin: 1.6em 0; }
.content blockquote { margin: 1.5em 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--gold); font-family: var(--serif); font-size: 1.2rem; font-style: italic; color: var(--ink); }

/* ---------- Key facts (answer-first) ---------- */
.keyfacts { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 3vw, 30px); box-shadow: var(--shadow-sm); }
.keyfacts h2, .keyfacts h3 { margin-top: 0; }
.keyfacts dl { display: grid; grid-template-columns: 1fr; gap: 0; margin: 0; }
.keyfacts .row { display: grid; grid-template-columns: 200px 1fr; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); }
.keyfacts .row:first-of-type { border-top: 0; }
.keyfacts dt { font-weight: 680; color: var(--ink); font-size: .95rem; }
.keyfacts dd { margin: 0; color: var(--ink-2); }
@media (max-width: 560px) { .keyfacts .row { grid-template-columns: 1fr; gap: 2px; } }

/* ---------- Grids & cards ---------- */
.grid { display: grid; gap: clamp(18px, 2.5vw, 28px); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--sand-100); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover .card__media img { transform: scale(1.05); }
.card__body { padding: 20px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card__tag { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--coral-deep); margin-bottom: 8px; }
.card h3 { font-size: 1.24rem; margin-bottom: 8px; line-height: 1.18; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--sea-700); }
.card p { color: var(--ink-2); font-size: .96rem; margin-bottom: 14px; }
.card__more { margin-top: auto; font-weight: 680; font-size: .92rem; color: var(--sea-700); text-decoration: none; display: inline-flex; align-items: center; gap: .35em; }
.card__more:hover { gap: .6em; color: var(--coral-deep); }

/* listing / hotel card with meta */
.lcard { display: grid; grid-template-columns: 250px 1fr; gap: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.lcard--noimg { grid-template-columns: 1fr; }
.lcard__media { overflow: hidden; background: var(--sand-100); min-height: 180px; }
.lcard__media .fig__btn { display: block; width: 100%; height: 100%; border-radius: 0; }
.lcard__media .fig__btn img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
.lcard__body { padding: 22px 24px; }
.lcard__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; justify-content: space-between; }
.lcard h3 { font-size: 1.3rem; }
.badge { display: inline-flex; align-items: center; gap: .3em; font-family: var(--sans); font-weight: 700; font-size: .74rem; letter-spacing: .04em; padding: 4px 10px; border-radius: 999px; background: var(--foam); color: var(--sea-700); }
.badge--gold { background: #fbeccb; color: var(--gold-deep); }
.badge--coral { background: #fbe1d6; color: var(--coral-deep); }
.lcard .meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 12px 0; font-size: .86rem; color: var(--ink-3); }
.lcard .meta span { display: inline-flex; align-items: center; gap: .35em; }
@media (max-width: 640px) { .lcard { grid-template-columns: 1fr; } .lcard__media { aspect-ratio: 16/9; min-height: 0; } }

/* feature row (image + text alternating) */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 60px); align-items: center; }
.feature--flip .feature__media { order: 2; }
.feature__media .fig__btn { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.feature__media .fig__btn img { border-radius: var(--radius-lg); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
@media (max-width: 820px) { .feature { grid-template-columns: 1fr; } .feature--flip .feature__media { order: 0; } }

/* ---------- Figure + lightbox triggers ---------- */
figure.fig { margin: 0; }
.fig__btn { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; border-radius: var(--radius); overflow: hidden; position: relative; }
.fig__btn img { width: 100%; border-radius: var(--radius); transition: transform .4s ease; }
.fig__btn::after { content: '⤢'; position: absolute; right: 12px; bottom: 12px; width: 34px; height: 34px; display: grid; place-items: center; background: rgba(8,34,43,.62); color: #fff; border-radius: 9px; font-size: 1rem; opacity: 0; transition: opacity .2s; backdrop-filter: blur(3px); }
.fig__btn:hover::after { opacity: 1; }
.fig__btn:hover img { transform: scale(1.02); }
figure.fig figcaption { font-size: .85rem; color: var(--ink-3); margin-top: 8px; line-height: 1.5; }
figure.fig figcaption .credit { color: var(--ink-3); opacity: .8; }

/* image grid gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery .fig__btn img { aspect-ratio: 1/1; object-fit: cover; }
@media (max-width: 600px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; background: rgba(6,22,28,.92); padding: clamp(12px, 4vw, 48px); opacity: 0; transition: opacity .25s; }
.lb.open { display: flex; opacity: 1; }
.lb__img { max-width: 100%; max-height: 84vh; border-radius: 8px; box-shadow: 0 20px 80px rgba(0,0,0,.6); background: var(--sea-900); }
.lb__cap { position: absolute; left: 0; right: 0; bottom: max(14px, env(safe-area-inset-bottom)); text-align: center; color: rgba(255,255,255,.9); font-size: .88rem; padding-inline: 20px; }
.lb__btn { position: absolute; background: rgba(255,255,255,.12); color: #fff; border: 1px solid rgba(255,255,255,.25); width: 48px; height: 48px; border-radius: 50%; font-size: 1.5rem; cursor: pointer; display: grid; place-items: center; transition: background .2s; backdrop-filter: blur(4px); }
.lb__btn:hover { background: rgba(255,255,255,.26); }
.lb__close { top: 18px; right: 18px; font-size: 1.7rem; }
.lb__nav { top: 50%; transform: translateY(-50%); }
.lb__prev { left: 14px; }
.lb__next { right: 14px; }
@media (max-width: 620px) { .lb__nav { top: auto; bottom: 64px; transform: none; } .lb__prev { left: 20px; } .lb__next { right: 20px; } }
body.lb-lock { overflow: hidden; }

/* ---------- FAQ (native details) ---------- */
.faq { max-width: 820px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 52px 18px 22px; font-family: var(--serif); font-size: 1.12rem; font-weight: 560; color: var(--ink); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--coral); font-family: var(--sans); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .faq__a { padding: 0 22px 20px; color: var(--ink-2); }
.faq .faq__a p { margin-bottom: .8em; }
.faq .faq__a :last-child { margin-bottom: 0; }

/* ---------- Partnership CTA band ---------- */
.partner-band { position: relative; background: linear-gradient(120deg, var(--sea-800), var(--sea-700)); color: var(--foam); border-radius: var(--radius-lg); padding: clamp(30px, 5vw, 56px); overflow: hidden; }
.partner-band::before { content: ''; position: absolute; right: -60px; top: -60px; width: 280px; height: 280px; background: radial-gradient(circle, rgba(231,165,49,.34), transparent 70%); }
.partner-band__inner { position: relative; max-width: 720px; }
.partner-band h2 { color: #fff; }
.partner-band p { color: rgba(233,245,244,.92); }
.partner-band .btn-row { margin-top: 22px; }

/* ---------- Forms ---------- */
.form { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 3.4vw, 38px); box-shadow: var(--shadow-md); }
.form .field { margin-bottom: 18px; }
.form label { display: block; font-weight: 650; font-size: .9rem; margin-bottom: 7px; color: var(--ink); }
.form label .req { color: var(--coral); }
.form input, .form select, .form textarea {
  width: 100%; font-family: var(--sans); font-size: 1rem; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--sand-200); border-radius: 10px; background: var(--sand-50);
  transition: border-color .2s, box-shadow .2s;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--sea-500); box-shadow: 0 0 0 3px rgba(27,138,156,.16); background: #fff; }
.form textarea { min-height: 130px; resize: vertical; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 540px) { .form .row2 { grid-template-columns: 1fr; } }
.form__note { font-size: .82rem; color: var(--ink-3); margin-top: 8px; }
.form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-thanks { background: var(--paper); border: 1px solid var(--sea-300); border-radius: var(--radius); padding: clamp(28px, 4vw, 44px); text-align: center; box-shadow: var(--shadow-md); }
.form-thanks__icon { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%; background: var(--sea-500); color: #fff; display: grid; place-items: center; font-size: 1.7rem; }
.form-thanks h3 { color: var(--ink); margin-bottom: 6px; }
.form-thanks p { color: var(--ink-2); margin: 0; }

/* partnership tiers */
.tier { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.tier--featured { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(231,165,49,.3), var(--shadow-md); }
.tier h3 { margin-bottom: 6px; }
.tier .tier__for { font-size: .82rem; color: var(--coral-deep); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.tier ul { list-style: none; padding: 0; margin: 0 0 20px; }
.tier li { padding: 8px 0 8px 26px; position: relative; color: var(--ink-2); font-size: .95rem; border-top: 1px solid var(--line); }
.tier li:first-child { border-top: 0; }
.tier li::before { content: '✓'; position: absolute; left: 0; color: var(--sea-500); font-weight: 700; }
.tier .btn { margin-top: auto; }

/* ---------- Pills / tag clouds ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 9px; }
.pill { font-size: .85rem; font-weight: 600; padding: 7px 14px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--ink-2); text-decoration: none; transition: all .2s; }
.pill:hover { background: var(--sea-700); color: #fff; border-color: var(--sea-700); }

/* ---------- Callout ---------- */
.callout { display: flex; gap: 16px; background: var(--foam); border: 1px solid var(--sea-300); border-radius: var(--radius); padding: 18px 22px; }
.callout--gold { background: #fcf3df; border-color: #eccf8f; }
.callout__icon { font-size: 1.3rem; line-height: 1.3; }
.callout p { margin: 0; color: var(--ink-2); font-size: .96rem; }
.callout strong { color: var(--ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--sea-900); color: rgba(233,245,244,.82); padding-top: clamp(48px, 6vw, 76px); position: relative; }
.site-footer::before { content: ''; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--gold), var(--coral), var(--sea-500)); }
.site-footer a { color: rgba(233,245,244,.82); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 44px; }
.footer-brand .brand { color: #fff; font-size: 1.4rem; }
.footer-brand .brand .tld { color: var(--gold); }
.footer-brand p { margin-top: 14px; font-size: .92rem; max-width: 30ch; color: rgba(233,245,244,.7); }
.footer-col h4 { color: #fff; font-family: var(--sans); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 9px; font-size: .93rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0 34px; display: flex; flex-wrap: wrap; gap: 12px 26px; align-items: center; justify-content: space-between; font-size: .82rem; color: rgba(233,245,244,.6); }
.footer-bottom .disclaimer { max-width: 70ch; line-height: 1.6; }
.footer-bottom a { text-decoration: underline; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 120;
  background: rgba(12,34,48,.97); color: #eef6f5; border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 16px 18px;
  display: none; gap: 14px 22px; align-items: center; flex-wrap: wrap;
  max-width: 760px; margin-inline: auto; backdrop-filter: blur(8px);
  transform: translateY(8px); opacity: 0; transition: opacity .3s, transform .3s;
}
.cookie.show { display: flex; opacity: 1; transform: none; }
.cookie__text { flex: 1; min-width: 240px; font-size: .88rem; line-height: 1.55; color: rgba(238,246,245,.9); }
.cookie__text a { color: var(--gold); text-decoration: underline; }
.cookie__btns { display: flex; gap: 10px; flex-shrink: 0; }
.cookie .btn { padding: 10px 18px; font-size: .9rem; }
.cookie__decline { background: transparent; border: 1.5px solid rgba(255,255,255,.4); color: #fff; }
.cookie__decline:hover { background: rgba(255,255,255,.12); }
@media (max-width: 520px) { .cookie { left: 10px; right: 10px; bottom: 10px; padding: 14px; } .cookie__btns { width: 100%; } .cookie__btns .btn { flex: 1; justify-content: center; } }

/* ---------- Misc utilities ---------- */
.eyebrow-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.muted { color: var(--ink-3); }
.small { font-size: .86rem; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.maxw-prose { max-width: var(--maxw-prose); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.tag-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.fade-up { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .fade-up { opacity: 1 !important; transform: none !important; transition: none; } .card, .card__media img { transition: none; } }

/* ---------- Skip link (a11y) ---------- */
.skip { position: absolute; left: 8px; top: -60px; z-index: 300; background: var(--gold); color: var(--sea-900); padding: 10px 18px; border-radius: 0 0 10px 10px; font-weight: 700; text-decoration: none; transition: top .2s; }
.skip:focus { top: 0; color: var(--sea-900); }

/* ---------- Back-to-top ---------- */
.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 46px; height: 46px; border-radius: 50%; background: var(--sea-700); color: #fff; border: 0; cursor: pointer; box-shadow: var(--shadow-md); display: grid; place-items: center; font-size: 1.35rem; opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .25s, transform .25s, background .2s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--coral); color: #fff; }
@media (max-width: 860px) { .to-top { bottom: 80px; width: 42px; height: 42px; } }

/* ---------- Sticky mobile CTA bar (conversion) ---------- */
.mcta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; display: none; gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(251,247,239,.97);
  backdrop-filter: blur(8px); border-top: 1px solid var(--line); box-shadow: 0 -4px 20px rgba(8,34,43,.12);
  transform: translateY(110%); transition: transform .3s ease; }
.mcta.show { transform: none; }
.mcta .btn { flex: 1; justify-content: center; padding: 12px 10px; font-size: .94rem; }
@media (max-width: 860px) { .mcta { display: flex; } }
@media (min-width: 861px) { .mcta { display: none !important; } }

/* ---------- Video (privacy-first facade) ---------- */
.video-embed { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 16 / 9; background: var(--sea-900); }
.video-facade { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: none; display: block; }
.video-facade img, .video-play { pointer-events: none; }
.video-facade img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease, filter .3s; }
.video-facade:hover img { transform: scale(1.04); filter: brightness(.9); }
.video-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 78px; height: 78px; border-radius: 50%; background: rgba(226,104,63,.94); display: grid; place-items: center; box-shadow: 0 10px 34px rgba(0,0,0,.45); transition: transform .2s, background .2s; }
.video-play::before { content: ''; border-style: solid; border-width: 14px 0 14px 24px; border-color: transparent transparent transparent #fff; margin-left: 6px; }
.video-facade:hover .video-play { transform: translate(-50%, -50%) scale(1.08); background: var(--coral); }
.video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Map embed ---------- */
.map-embed { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 16 / 9; background: var(--sand-100); }
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }
.map-cap { font-size: .82rem; color: var(--ink-3); margin-top: 8px; }

/* ---------- Updated meta ---------- */
.updated { font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.82); margin-top: 14px; display: inline-flex; align-items: center; gap: .4em; }
.updated::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

/* article meta */
.amETA, .ameta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .85rem; color: var(--ink-3); margin-top: 14px; }
.ameta span { display: inline-flex; align-items: center; gap: .4em; }

/* table of contents */
.toc { background: var(--sand-100); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 24px; }
.toc h4 { margin-bottom: 10px; color: var(--ink); }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc li { margin-bottom: 6px; }
.toc a { color: var(--sea-700); text-decoration: none; font-size: .95rem; }
.toc a:hover { text-decoration: underline; color: var(--coral-deep); }

/* related grid spacing helper */
.section-head { max-width: 720px; margin-bottom: clamp(26px, 4vw, 42px); }
.section-head.center { margin-inline: auto; }
