/* ==========================================================================
   Rinjani Atlas — main.css  (every page: tokens, base, block styles, header, menu, footer, CTA)
   Breakpoints:  mobile < 700px  ·  tablet 700–1279px  ·  desktop ≥ 1280px
   Written mobile-first; tablet/desktop overrides live in @media blocks.
   Class names follow the original static design; WordPress block wrappers
   (.wp-block-*) are styled through those classes.
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --ink: #141412;
  --white: #FFFFFF;
  --cream: #F6F4EF;
  --card: #FBFAF7;
  --pill: #F1EFEA;
  --pill-hover: #E7E4DD;
  --chip: #EDEAE3;
  --chip-2: #EAE6DE;
  --text-2: #5E5A53;
  --text-3: #6B675F;
  --text-body: #3D3A35;
  --kicker: #7A766E;
  --muted: #A8A39A;
  --line: #DEDAD2;
  --line-2: #E4E0D8;
  --line-3: #C9C4BA;
  --tick-off: #CFCAC0;
  --ink-hover: #2C2A26;

  --sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --serif: 'Playfair Display', Georgia, serif;
  --ease: cubic-bezier(.22, 1, .36, 1);

  --gutter: clamp(20px, 5vw, 40px);
  --inset: 8px;
  --r-panel: clamp(26px, 4vw, 32px);
  --header-h: 68px;
  --section-y: clamp(72px, 12vw, 112px);
  --ra-adminbar: 0px;           /* height of the WordPress admin bar when it is fixed (logged-in users) */

  /* Line icons (used as CSS masks so they take the text colour) */
  --i-wa: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="none" stroke="%23000" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="M3 9.4C3 5.6 6.1 3 10 3s7 2.6 7 6.4-3.1 6.4-7 6.4c-.8 0-1.6-.1-2.3-.3L4 17l.9-3.2C3.7 12.6 3 11.1 3 9.4Z"/%3E%3Cpath d="M6.4 11.2l2.3-2.7 1.6 1.7 1.3-1.3 2 2.3"/%3E%3C/svg%3E');
  --i-arrow: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 34 14" fill="none" stroke="%23000" stroke-width="1.6" stroke-linecap="round" stroke-linejoin="round"%3E%3Ccircle cx="3" cy="7" r="2"/%3E%3Cpath d="M5 7h26M26 2.5 31 7l-5 4.5"/%3E%3C/svg%3E');
  --i-up: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 12 16" fill="none" stroke="%23000" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="M6 14.5V2M1.5 6.2 6 1.5l4.5 4.7"/%3E%3C/svg%3E');
  --i-cross: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 28 28" fill="none" stroke="%23000" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="M14 1v9M14 18v9M1 14h9M18 14h9"/%3E%3Ccircle cx="14" cy="14" r="1.5" fill="%23000" stroke="none"/%3E%3C/svg%3E');
  --i-plus: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="none" stroke="%23000" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="M8 1.5v5M8 9.5v5M1.5 8h5M9.5 8h5"/%3E%3C/svg%3E');
  --i-instagram: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" fill="none" stroke="%23000" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"%3E%3Crect x="2" y="2" width="14" height="14" rx="4.2"/%3E%3Ccircle cx="9" cy="9" r="3.2"/%3E%3Ccircle cx="13" cy="5" r=".8" fill="%23000" stroke="none"/%3E%3C/svg%3E');
  --i-tiktok: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" fill="none" stroke="%23000" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="M10.2 2v9.6a2.9 2.9 0 1 1-2.9-2.9"/%3E%3Cpath d="M10.2 2c.3 2 1.8 3.4 3.8 3.6"/%3E%3C/svg%3E');
  --i-youtube: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" fill="none" stroke="%23000" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"%3E%3Crect x="1.6" y="3.6" width="14.8" height="10.8" rx="3.4"/%3E%3Cpath d="M7.4 6.6v4.8L11.4 9 7.4 6.6Z" fill="%23000"/%3E%3C/svg%3E');
  --i-flag: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" fill="none" stroke="%23000" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="M1.5 16l5-6.5 2.5 3L11 10l5.5 6"/%3E%3Cpath d="M9 8V1.5"/%3E%3Cpath d="M9 1.8h4.6l-1.4 1.8 1.4 1.8H9"/%3E%3C/svg%3E');
  --i-pin: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 18 18" fill="none" stroke="%23000" stroke-width="1.4" stroke-linecap="round" stroke-linejoin="round"%3E%3Cpath d="M9 16.5s5.5-5 5.5-9.2a5.5 5.5 0 0 0-11 0C3.5 11.5 9 16.5 9 16.5Z"/%3E%3Ccircle cx="9" cy="7.3" r="1.6" fill="%23000" stroke="none"/%3E%3C/svg%3E');
  --i-down: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 14 34" fill="none" stroke="%23000" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"%3E%3Ccircle cx="7" cy="3" r="2"/%3E%3Cpath d="M7 5v26M2.5 26 7 31l4.5-5"/%3E%3C/svg%3E');
}
@media (min-width: 1280px) {
  :root { --gutter: 48px; --r-panel: 36px; --header-h: 84px; --section-y: 128px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--ink);
  font-family: var(--sans); -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, svg { display: block; }
a { color: var(--ink); text-decoration: none; -webkit-tap-highlight-color: transparent; }
a:hover { color: var(--text-3); }
button { font-family: inherit; color: inherit; -webkit-tap-highlight-color: transparent; }
h1, h2, h3, h4, p, figure, blockquote, ul, ol { margin: 0; }
ul.wp-block-list, ol.wp-block-list { padding: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.sr-only, .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (max-width: 699px) { .hide-mobile { display: none !important; } }
@media (min-width: 700px) { .only-mobile { display: none !important; } }
.wp-block-image { margin: 0; }
.wp-site-blocks { min-height: 100vh; }
.admin-bar { --ra-adminbar: var(--wp-admin--admin-bar--height, 32px); }
@media (max-width: 600px) { .admin-bar { --ra-adminbar: 0px; } }

/* Icon mask helper */
.ra-ico { display: inline-block; flex: none; width: 19px; height: 19px; background: currentColor; -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat; }

/* Motion gating (see inline <head> script): intro/reveal elements stay hidden until JS animates them */
.js-motion:not(.ra-ready) :is(
  .site-header > *, .hero .wp-block-cover__image-background, .hero__chips > *, .hero__caption,
  .trip__head, .trip__card, .hero__blurb, .hero__title, .trip-bar, .hero__since
) { visibility: hidden; }

/* ---------- Type ---------- */
:is(h1, h2, h3, h4) em, .serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; }
.eyebrow, .is-style-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.h2, .is-style-section {
  font-size: clamp(32px, 7.6vw, 54px); font-weight: 500; line-height: 1.1;
  letter-spacing: -0.035em; text-wrap: balance;
}
.lead, .is-style-lead { font-size: clamp(15px, 2.2vw, 17px); line-height: 1.6; color: var(--text-3); text-wrap: pretty; }
@media (min-width: 1280px) {
  .h2, .is-style-section { font-size: 58px; line-height: 1.08; }
  .lead, .is-style-lead { font-size: 17px; }
  .eyebrow, .is-style-eyebrow { font-size: 13px; }
}

/* Kicker: italic serif + 56px hairline */
.kicker, .is-style-kicker {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--serif); font-style: italic; font-size: clamp(22px, 5.4vw, 28px); line-height: 1.2; color: var(--kicker);
}
.is-style-kicker::after { content: ''; flex: none; width: 56px; height: 1px; background: var(--line-3); }
@media (min-width: 1280px) {
  .kicker, .is-style-kicker { gap: 16px; font-size: 30px; }
}

/* ---------- Buttons (core Button block + rendered .btn) ---------- */
.wp-block-buttons { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.wp-block-button__link, .btn {
  height: 52px; padding: 0 22px 0 18px; border: none; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 15px; font-weight: 600; line-height: 1; white-space: nowrap; cursor: pointer; text-decoration: none;
  background: var(--ink); color: var(--white);
  transition: background .3s, color .3s;
}
.wp-block-button__link:hover, .btn--ink:hover { background: var(--ink-hover); color: var(--white); }
.btn--ink { background: var(--ink); color: var(--white); }
.btn__round { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex: none; }
.is-style-grey .wp-block-button__link { background: var(--pill); color: var(--ink); }
.is-style-grey .wp-block-button__link:hover { background: var(--pill-hover); color: var(--ink); }
.is-style-glass .wp-block-button__link { background: rgba(255,255,255,.2); color: var(--white); padding: 0 24px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.is-style-glass .wp-block-button__link:hover { background: rgba(255,255,255,.32); color: var(--white); }
/* White pill with the round ink icon on the right */
.is-style-white-icon .wp-block-button__link { height: 56px; padding: 0 8px 0 24px; gap: 14px; font-size: 16px; justify-content: space-between; background: var(--white); color: var(--ink); }
.is-style-white-icon .wp-block-button__link:hover { background: var(--chip); color: var(--ink); }
.is-style-white-icon .wp-block-button__link { position: relative; }
.is-style-white-icon .wp-block-button__link::after { content: ''; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); }
.is-style-white-icon .wp-block-button__link::before {
  content: ''; position: absolute; right: 18.5px; top: 50%; width: 19px; height: 19px; margin-top: -9.5px; z-index: 1;
  background: var(--white); -webkit-mask: var(--i-wa) center / contain no-repeat; mask: var(--i-wa) center / contain no-repeat;
}
/* WhatsApp links get the chat icon automatically (left side) */
.wp-block-button:not(.is-style-white-icon, .is-style-ink-icon) .wp-block-button__link:is([href*="wa.me/"], [href^="#whatsapp"])::before,
.site-header__contact .wp-block-button__link::before {
  content: ''; flex: none; width: 19px; height: 19px; background: currentColor;
  -webkit-mask: var(--i-wa) center / contain no-repeat; mask: var(--i-wa) center / contain no-repeat;
}

.icon-btn {
  width: 44px; height: 44px; border: none; border-radius: 50%; flex: none; padding: 0;
  display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background .3s, color .3s;
}
.icon-btn--grey { background: var(--pill); color: var(--ink); }
.icon-btn--grey:hover { background: var(--pill-hover); color: var(--ink); }
.icon-btn--ink { background: var(--ink); color: var(--white); }
.icon-btn--ink:hover { background: var(--ink-hover); color: var(--white); }

.chip-link { height: 40px; padding: 0 16px; border-radius: 999px; background: var(--pill); display: inline-flex; align-items: center; font-size: 14px; font-weight: 600; color: var(--ink); }

/* Text link with trail arrow + underline (paragraph style "Underlined link + arrow") */
.is-style-link-arrow { display: flex; }
.is-style-link-arrow a, .link-arrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 15px; font-weight: 600; color: var(--ink);
  padding-bottom: 6px; border-bottom: 1px solid var(--ink);
}
.is-style-link-arrow a::after {
  content: ''; flex: none; width: 26px; height: 12px; background: currentColor;
  -webkit-mask: var(--i-arrow) center / contain no-repeat; mask: var(--i-arrow) center / contain no-repeat;
  transition: transform .55s var(--ease);
}
.is-style-link-arrow a:hover { color: var(--ink); }
.is-style-link-arrow a:hover::after { transform: translateX(6px); }

/* Glass chip on photos */
.glass-chip, .is-style-glass-chip {
  height: 30px; padding: 0 13px; border-radius: 999px;
  background: rgba(255,255,255,.22); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  display: inline-flex; align-items: center; gap: 8px; width: max-content; max-width: 100%;
  font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--white); white-space: nowrap;
}
@media (min-width: 700px) { .glass-chip, .is-style-glass-chip { padding: 0 14px; font-size: 12px; } }

/* Lists: slanted ticks / plain links */
.is-style-ticks { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.is-style-ticks li { display: flex; align-items: center; gap: 12px; }
.is-style-ticks li::before { content: ''; flex: none; width: 2px; height: 12px; border-radius: 2px; background: var(--ink); transform: rotate(18deg); }
.is-style-plain { list-style: none; padding: 0; }

/* ---------- Motifs ---------- */
.tick { flex: none; width: 2px; height: 14px; border-radius: 2px; background: var(--ink); transform: rotate(18deg); }
.tick--off { background: var(--tick-off); }
.ticks { display: flex; align-items: center; gap: 5px; }

/* Crosshair marks (drawn with ::before / ::after on sections) */
.ra-cross { position: absolute; width: 22px; height: 22px; background: currentColor; -webkit-mask: var(--i-cross) center / contain no-repeat; mask: var(--i-cross) center / contain no-repeat; pointer-events: none; }
@media (min-width: 1280px) { .ra-cross { width: 28px; height: 28px; } }

/* Photo panel stripes (shown while a photo loads) + warm grade */
.photo { position: relative; overflow: hidden; background: repeating-linear-gradient(135deg, #B9B1A2 0 10px, #C2BAAB 10px 20px); }
.photo--light { background: repeating-linear-gradient(135deg, #D6CFC2 0 10px, #DED8CC 10px 20px); }
.photo > img, .photo > .wp-block-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.grade { position: absolute; inset: 0; pointer-events: none; background: #B49A72; mix-blend-mode: soft-light; opacity: .55; }
.grade-color { position: absolute; inset: 0; pointer-events: none; background: #D9CFBF; mix-blend-mode: color; opacity: .22; }

/* ---------- Brand (logo + name) ---------- */
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); flex: none; }
.brand:hover { color: var(--ink); }
.brand__name { font-size: 19px; font-weight: 700; letter-spacing: -0.035em; white-space: nowrap; }
.brand svg, .brand__img { width: 40px; height: 35px; object-fit: contain; }
@media (min-width: 1280px) {
  .brand { gap: 11px; }
  .brand__name { font-size: 22px; }
  .brand svg, .brand__img { width: 46px; height: 40px; }
}

/* ==========================================================================
   HEADER  (template part: brand · Navigation block · Contact button)
   The WhatsApp + menu buttons, floating pill header and full-screen menu
   are added by header.js from this markup.
   ========================================================================== */
.site-header {
  flex: none; height: var(--header-h); padding: 0 clamp(16px, 4vw, 32px);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  position: relative; z-index: 5; background: var(--white);
}
.site-header__actions { display: flex; flex-wrap: nowrap; align-items: center; gap: 8px; }
.site-header__contact .wp-block-button__link { height: 44px; padding: 0 20px 0 16px; }
.site-header__contact .wp-block-button__link::before { width: 20px; height: 20px; }
.site-nav { display: none !important; }

@media (max-width: 699px) { .site-header .site-header__contact { display: none; } }
@media (min-width: 700px) { .site-header .site-header__wa { display: none; } }

@media (min-width: 1280px) {
  .site-header { padding: 0 40px; gap: 64px; justify-content: flex-start; }
  .site-header__actions { margin-left: auto; }
  .site-header__contact .wp-block-button__link { height: 48px; padding: 0 22px 0 18px; }
  .site-header .site-header__menu-btn { display: none; }
  .site-nav { position: relative; display: flex !important; align-items: center; font-size: 15px; font-weight: 500; }
  .site-nav .wp-block-navigation__container { display: flex; align-items: center; gap: 24px; }
  .site-nav .wp-block-navigation-item__content { display: block; padding: 0 0 0 14px; color: var(--text-2); transition: color .3s; }
  .site-nav .wp-block-navigation-item__content:hover, .site-nav [aria-current] { color: var(--ink); }
  .site-nav__dot {
    position: absolute; left: 0; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--ink);
    transform: translate(0, -50%); transition: transform .55s var(--ease), opacity .3s; pointer-events: none; opacity: 0;
  }
  .site-nav__line {
    position: absolute; left: 0; bottom: -12px; width: 66px; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, var(--ink), rgba(20,20,18,0));
    transition: transform .55s var(--ease), width .55s var(--ease), opacity .3s; pointer-events: none; opacity: 0;
  }
}

/* Floating pill header (mobile/tablet, appears on scroll-up) */
.float-header {
  position: fixed; top: 8px; left: 8px; right: 8px; z-index: 50; height: 60px; padding: 0 8px 0 16px;
  border-radius: 999px; background: rgba(255,255,255,.88);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 30px -18px rgba(20,20,18,.45);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  transform: translateY(-140%); transition: transform .6s var(--ease);
}
.float-header.is-shown { transform: none; }
.float-header .brand { gap: 9px; }
.float-header .brand svg, .float-header .brand__img { width: 34px; height: 30px; }
.float-header .brand__name { font-size: 17px; }
.float-header__actions { display: flex; align-items: center; gap: 6px; }
@media (min-width: 1280px) { .float-header { display: none; } }
.admin-bar .float-header { top: calc(8px + var(--ra-adminbar)); }

/* Full-screen menu */
.menu {
  position: fixed; inset: 0; z-index: 100000; background: var(--white);
  display: flex; flex-direction: column; padding: 0 var(--gutter) 24px; overflow-y: auto;
  opacity: 0; transform: translateY(-12px); pointer-events: none;
  transition: opacity .45s var(--ease), transform .6s var(--ease);
}
.menu.is-open { opacity: 1; transform: none; pointer-events: auto; }
.menu[hidden] { display: none; }
.menu__top { flex: none; height: 68px; display: flex; align-items: center; justify-content: space-between; }
.menu__nav { display: flex; flex-direction: column; margin-top: 20px; }
.menu__nav a {
  display: flex; align-items: center; justify-content: space-between; padding: 16px 0;
  border-top: 1px solid var(--line-2); font-size: clamp(28px, 7vw, 38px); font-weight: 500; letter-spacing: -0.03em; color: var(--ink);
}
.menu__nav a:last-child { border-bottom: 1px solid var(--line-2); }
.menu__nav a[aria-current] .menu__label { display: flex; align-items: center; gap: 14px; }
.menu__nav a[aria-current] .menu__label::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.menu__num { font-family: var(--serif); font-style: italic; font-size: 16px; letter-spacing: 0; color: var(--muted); }
.menu__routes { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.menu__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.menu__bottom { margin-top: auto; padding-top: 36px; display: flex; flex-direction: column; gap: 16px; }
.menu__bottom .btn { width: 100%; height: 56px; font-size: 16px; }
.menu__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.menu__email { font-size: 14px; color: var(--text-2); }

/* Social icons (core Social Icons block, redrawn with the site's line icons) */
.socials, .wp-block-social-links.socials { display: flex; align-items: center; gap: 8px; list-style: none; margin: 0; padding: 0; font-size: 18px; }
.socials .wp-social-link { background: none !important; color: var(--ink) !important; border-radius: 50%; }
.socials .wp-social-link a, .socials > a {
  width: 44px; height: 44px; padding: 0 !important; border-radius: 50%; background: var(--pill); color: var(--ink) !important;
  display: flex !important; align-items: center; justify-content: center; transition: background .3s, color .3s;
}
.socials .wp-social-link svg { display: none; }
.socials .wp-social-link a::before, .socials > a::before {
  content: ''; width: 18px; height: 18px; background: currentColor;
  -webkit-mask: var(--i) center / contain no-repeat; mask: var(--i) center / contain no-repeat;
}
.socials .wp-social-link-instagram { --i: var(--i-instagram); }
.socials .wp-social-link-tiktok { --i: var(--i-tiktok); }
.socials .wp-social-link-youtube { --i: var(--i-youtube); }
.site-footer .socials .wp-social-link a:hover { background: var(--ink); color: var(--white) !important; }
.menu .socials a:hover { background: var(--pill-hover); }

/* ==========================================================================
   FOOTER  (template part)
   ========================================================================== */
.site-footer { position: relative; z-index: 1; background: var(--white); padding: clamp(56px, 10vw, 72px) var(--gutter) 0; overflow: hidden; }
.footer__top { display: flex; flex-direction: column; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line-2); }
.footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.footer__blurb { max-width: 340px; font-size: 15px; line-height: 1.6; color: var(--text-3); }
.footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 32px 20px; }
.footer__col, .footer__col .wp-block-list { display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.footer__col .is-style-eyebrow { margin-bottom: 4px; }
.footer__col a { color: var(--ink); }
.footer__col a:hover { color: var(--text-3); }
.footer__email { font-size: 14px; overflow-wrap: anywhere; }
.footer__address { color: var(--text-3); line-height: 1.5; }
.footer__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 0; font-size: 13px; color: var(--text-3); }
.footer__top-link a { display: flex; align-items: center; gap: 10px; font: 600 13px var(--sans); color: var(--ink); }
.footer__top-link a:hover { color: var(--text-3); }
.footer__top-link a::after {
  content: ''; width: 40px; height: 40px; border-radius: 50%; flex: none;
  background: var(--pill) var(--i-up) center / 12px 16px no-repeat;
}
/* Giant wordmark — letters are split by header.js; container units keep it from clipping */
.footer__word {
  display: flex; justify-content: center; overflow: hidden; white-space: nowrap;
  margin: 0 calc(-1 * var(--gutter)); padding-top: 8px; container-type: inline-size;
  font-size: 19vw; font-weight: 600; line-height: .82; letter-spacing: -0.06em; color: var(--ink);
}
.footer__word em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.03em; }
.footer__letter { display: inline-block; font-size: 19cqw; }
.footer__letter--serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.03em; }
.footer__space { display: inline-block; width: .24em; font-size: 19cqw; }

@media (min-width: 700px) {
  .footer__top { gap: 48px; }
}
@media (min-width: 1280px) {
  .site-footer { padding: 80px 48px 0; }
  .footer__top { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 3fr); gap: 48px; padding-bottom: 64px; }
  .footer__brand { gap: 22px; }
  .footer__cols { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px; }
  .footer__col, .footer__col .wp-block-list { gap: 14px; }
  .footer__col .is-style-eyebrow { margin-bottom: 6px; }
  .footer__email { font-size: 15px; }
  .footer__bar { padding: 24px 0; }
  .footer__top-link a::after { width: 36px; height: 36px; }
  .footer__word { padding-top: 12px; font-size: min(300px, 19vw); }
  .footer__letter, .footer__space { font-size: min(300px, 19cqw); }
}

/* ==========================================================================
   SHARED SECTIONS
   ========================================================================== */
/* Inline photo pill inside a headline (an inline image in a Heading block) */
.pill-photo, :is(h1, h2) img {
  display: inline-block; vertical-align: middle; width: 2.1em !important; height: 1em !important; margin: -.14em .08em 0;
  border-radius: 999px; object-fit: cover; filter: sepia(.18) saturate(.85);
  background: repeating-linear-gradient(135deg, #D6CFC2 0 8px, #DED8CC 8px 16px);
}
:is(h1, h2) img:nth-of-type(odd) { transform: rotate(-4deg); }
:is(h1, h2) img:nth-of-type(even) { transform: rotate(3deg); }

/* Warm photo grade: applied to covers / photo panels through ::before + ::after */
.ra-graded::before, .ra-graded::after { content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.ra-graded::before { background: #B49A72; mix-blend-mode: soft-light; opacity: .55; }
.ra-graded::after { background: #D9CFBF; mix-blend-mode: color; opacity: .22; }

/* Core Cover block used as a photo panel */
.wp-block-cover.ra-photo { padding: 0; min-height: 0; overflow: hidden; background: repeating-linear-gradient(135deg, #B9B1A2 0 10px, #C2BAAB 10px 20px); }
.wp-block-cover.ra-photo > .wp-block-cover__background { z-index: 1; opacity: 1 !important; background-color: transparent !important; }
.wp-block-cover.ra-photo > .wp-block-cover__inner-container { z-index: 2; }

/* ==========================================================================
   CLOSING CTA (Cover block: kicker, heading, buttons)
   ========================================================================== */
.cta { position: relative; z-index: 1; background: var(--white); padding: 0 var(--inset); }
.cta__panel.wp-block-cover {
  min-height: clamp(500px, 80vw, 620px); border-radius: var(--r-panel);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 72px clamp(20px, 5vw, 48px);
}
.cta__panel > .wp-block-cover__image-background { transform: scale(1.12); transition: transform 2.4s cubic-bezier(.16,1,.3,1); }
.cta__panel.is-in > .wp-block-cover__image-background { transform: scale(1); }
.cta__panel > .wp-block-cover__background { background: radial-gradient(ellipse at 50% 55%, rgba(28,24,18,.46) 0%, rgba(28,24,18,.22) 60%, rgba(28,24,18,.12) 100%) !important; }
.cta__panel > .wp-block-cover__inner-container { position: static; display: flex; flex-direction: column; align-items: center; width: 100%; }
.cta__panel > .wp-block-cover__inner-container > * { position: relative; z-index: 2; }
.cta__panel > .wp-block-cover__inner-container::before,
.cta__panel > .wp-block-cover__inner-container::after {
  content: ''; position: absolute; z-index: 2; top: clamp(20px, 4vw, 32px); width: 22px; height: 22px; background: var(--white);
  -webkit-mask: var(--i-cross) center / contain no-repeat; mask: var(--i-cross) center / contain no-repeat;
}
.cta__panel > .wp-block-cover__inner-container::before { left: clamp(20px, 4vw, 32px); }
.cta__panel > .wp-block-cover__inner-container::after { right: clamp(20px, 4vw, 32px); }
.cta__kicker { display: flex; flex-direction: column; align-items: center; font-family: var(--serif); font-style: italic; font-size: clamp(22px, 5vw, 26px); color: var(--white); }
.cta__kicker::after { content: ''; width: 56px; height: 1px; background: rgba(255,255,255,.7); margin: 18px 0 22px; }
.cta__title { max-width: 680px; font-size: clamp(38px, 9.4vw, 70px); font-weight: 500; line-height: 1.04; letter-spacing: -0.035em; color: var(--white); text-wrap: balance; }
.cta__actions.wp-block-buttons { margin-top: 36px; width: 100%; max-width: 440px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.cta__actions .wp-block-button { display: flex; }
.cta__actions .wp-block-button.is-style-white-icon { flex: 1 1 200px; }
.cta__actions .wp-block-button.is-style-glass { flex: 1 1 160px; }
.cta__actions .wp-block-button__link { width: 100%; }
.cta__actions .is-style-glass .wp-block-button__link { height: 56px; padding: 0 24px; font-size: 16px; }
.cta__lead { margin-top: 20px; max-width: 400px; font-size: clamp(15px, 2.2vw, 17px); line-height: 1.55; color: var(--white); text-wrap: pretty; }

@media (min-width: 1280px) {
  .cta__panel.wp-block-cover { height: 640px; min-height: 0; padding: 0 48px; }
  .cta__panel > .wp-block-cover__inner-container::before, .cta__panel > .wp-block-cover__inner-container::after { top: 40px; width: 28px; height: 28px; }
  .cta__panel > .wp-block-cover__inner-container::before { left: 40px; }
  .cta__panel > .wp-block-cover__inner-container::after { right: 40px; }
  .cta__kicker { font-size: 28px; }
  .cta__kicker::after { margin: 22px 0 28px; }
  .cta__title { max-width: 1000px; font-size: 84px; line-height: 1.02; }
  .cta__actions.wp-block-buttons { margin-top: 44px; width: auto; max-width: none; flex-wrap: nowrap; gap: 12px; }
  .cta__actions .wp-block-button.is-style-white-icon, .cta__actions .wp-block-button.is-style-glass { flex: none; }
  .cta__actions .is-style-white-icon .wp-block-button__link { height: 58px; padding: 0 9px 0 26px; font-size: 17px; }
  .cta__actions .is-style-white-icon .wp-block-button__link::before { right: 19.5px; }
  .cta__actions .is-style-glass .wp-block-button__link { height: 58px; padding: 0 26px; font-size: 17px; }
  .cta__lead { margin-top: 24px; max-width: 460px; font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   SHARED PAGE PATTERNS (About, 404, Trip…)
   ========================================================================== */
/* Google Maps links get a map-pin icon automatically */
.wp-block-button:not(.is-style-white-icon) .wp-block-button__link:is([href*="maps.google"], [href*="google.com/maps"], [href*="goo.gl/maps"], [href*="maps.app.goo.gl"])::before {
  content: ''; flex: none; width: 18px; height: 18px; background: currentColor;
  -webkit-mask: var(--i-pin) center / contain no-repeat; mask: var(--i-pin) center / contain no-repeat;
}

/* Page hero: kicker + 2-line H1 + side text, photo (Cover block) fills the rest of the first screen */
.page-hero { display: flex; flex-direction: column; min-height: calc(max(600px, 100svh) - var(--header-h) - var(--ra-adminbar)); }
.page-hero__head { flex: none; padding: clamp(26px, 6vw, 44px) var(--gutter) clamp(22px, 4vw, 32px); display: flex; flex-direction: column; gap: 18px; }
.page-hero__title { display: flex; flex-direction: column; gap: 18px; }
.page-hero__side { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; column-gap: 32px; row-gap: 6px; }
.page-hero__side .is-style-lead { max-width: 440px; }
.page-hero__side .page-hero__link { flex: none; align-self: flex-start; padding-top: 14px; }
.page-hero__photo.wp-block-cover { flex: 1; display: block; min-height: 300px; margin: 0 var(--inset) var(--inset); padding: 0; border-radius: var(--r-panel); }
.page-hero__photo > .wp-block-cover__background { background: linear-gradient(180deg, rgba(28,24,18,.18) 0%, rgba(28,24,18,0) 30%, rgba(28,24,18,0) 55%, rgba(28,24,18,.5) 100%) !important; }
.page-hero__photo > .wp-block-cover__inner-container { position: static; }
.page-hero__photo > .wp-block-cover__inner-container::before,
.page-hero__photo > .wp-block-cover__inner-container::after {
  content: ''; position: absolute; z-index: 2; top: clamp(18px, 4vw, 32px); width: 22px; height: 22px; background: var(--white);
  -webkit-mask: var(--i-cross) center / contain no-repeat; mask: var(--i-cross) center / contain no-repeat;
}
.page-hero__photo > .wp-block-cover__inner-container::before { left: clamp(18px, 4vw, 32px); }
.page-hero__photo > .wp-block-cover__inner-container::after { right: clamp(18px, 4vw, 32px); }
@media (max-width: 699px) { .page-hero__photo > .wp-block-cover__inner-container::after { display: none; } }

/* Caption with a white vertical line (bottom-left of a photo) */
.photo-caption { position: absolute; z-index: 2; left: 32px; bottom: 32px; padding-left: 20px; font-family: var(--serif); font-style: italic; font-size: 18px; line-height: 1.35; color: var(--white); }
.photo-caption::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; border-radius: 2px; background: rgba(255,255,255,.85); transform-origin: bottom; }

/* Glass pill button on a photo with a round white icon (e.g. "Read our story") */
.glass-pill.wp-block-buttons { position: absolute; z-index: 2; right: clamp(14px, 4vw, 32px); bottom: clamp(14px, 4vw, 32px); }
.glass-pill .wp-block-button__link {
  height: 54px; padding: 0 7px 0 20px; gap: 12px; position: relative; overflow: visible;
  background: rgba(255,255,255,.22); color: var(--white); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.glass-pill .wp-block-button__link:hover { background: rgba(255,255,255,.32); color: var(--white); }
.glass-pill .wp-block-button__link::after { content: ''; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--white); }
.glass-pill .wp-block-button__link::before {
  content: ''; position: absolute; right: 7px; top: 50%; width: 40px; height: 40px; margin-top: -20px; z-index: 1; overflow: hidden;
  background: var(--ink); -webkit-mask: var(--i-down) 50% 50% / 14px 22px no-repeat; mask: var(--i-down) 50% 50% / 14px 22px no-repeat;
}
.glass-pill .wp-block-button__link:hover::before { animation: ra-cue .9s cubic-bezier(.65,0,.35,1); }
@keyframes ra-cue {
  0% { -webkit-mask-position: 50% 50%; mask-position: 50% 50%; }
  45% { -webkit-mask-position: 50% 340%; mask-position: 50% 340%; }
  45.1% { -webkit-mask-position: 50% -240%; mask-position: 50% -240%; }
  100% { -webkit-mask-position: 50% 50%; mask-position: 50% 50%; }
}

/* H1 in two lines: line 2 in italics (the JS wraps each line for the mask reveal) */
.h1 { font-size: clamp(38px, 10.2vw, 76px); font-weight: 500; line-height: 1.04; letter-spacing: -0.035em; color: var(--ink); }
.h1 em { font-size: 1.045em; }
.h1__line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.h1__line > span { display: block; }
.h1__line--serif { padding: 0 .12em .14em 0; margin-bottom: -.14em; }
.h1__line--serif > span { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; font-size: 1.045em; }
.h1__line--serif em { font-size: inherit; }

/* Section heading left + lead right on desktop, stacked below 1280 */
.split-head { display: flex; flex-direction: column; gap: 18px; max-width: 720px; }
.split-head__main { display: flex; flex-direction: column; gap: 18px; }
.split-head .is-style-lead { max-width: 500px; }

/* Swipe carousel (mobile) — track + tick dots + arrows (nav is added by JS: RA.carousel) */
.car-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding: 0 var(--gutter) 4px; scrollbar-width: none; overscroll-behavior-x: contain; }
.car-track::-webkit-scrollbar { display: none; }
.car-track > * { flex: none; scroll-snap-align: start; }
.car-nav { margin-top: 20px; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.car-nav__status { display: flex; align-items: center; gap: 14px; }
.car-nav .ticks { gap: 6px; }
.car-nav .tick { transition: background .4s; }
.car-nav__count { font-family: var(--serif); font-style: italic; font-size: 16px; color: var(--kicker); }
.car-nav__count b { font-weight: 400; color: var(--ink); }
.car-nav__btns { display: flex; align-items: center; gap: 8px; }
.car-nav__prev svg { transform: scaleX(-1); }
.icon-btn--white { background: var(--white); color: var(--ink); }
.icon-btn--white:hover { background: var(--pill-hover); color: var(--ink); }

@media (min-width: 1280px) {
  .page-hero { min-height: calc(max(760px, 100vh - var(--ra-adminbar)) - var(--header-h)); }
  .page-hero__head { padding: 52px 48px 44px; display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 64px; align-items: end; }
  .page-hero__title { gap: 26px; }
  .page-hero__side { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; justify-content: flex-start; gap: 24px; padding-bottom: 12px; }
  .page-hero__side .page-hero__link { padding-top: 0; }
  .page-hero__photo.wp-block-cover { min-height: 380px; margin: 0 var(--inset); }
  .page-hero__photo > .wp-block-cover__inner-container::before, .page-hero__photo > .wp-block-cover__inner-container::after { top: 40px; width: 28px; height: 28px; }
  .page-hero__photo > .wp-block-cover__inner-container::before { left: 40px; }
  .page-hero__photo > .wp-block-cover__inner-container::after { right: 40px; }
  .photo-caption { left: 40px; bottom: 40px; padding-left: 22px; font-size: 19px; }
  .glass-pill.wp-block-buttons { right: 40px; bottom: 40px; }
  .glass-pill .wp-block-button__link { height: 56px; padding: 0 8px 0 22px; gap: 14px; }
  .glass-pill .wp-block-button__link::before { right: 8px; }
  .h1 { font-size: 88px; line-height: 1.02; white-space: nowrap; }
  .split-head { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 64px; align-items: end; max-width: none; }
  .split-head__main { gap: 24px; }
  .split-head .is-style-lead { max-width: none; margin-bottom: 10px; }
  .car-nav { display: none; }
}
@media (min-width: 700px) { .car-nav { display: none; } }

/* Line icons from the "Rinjani Atlas" icon collection (core Icon block). WordPress strips stroke
   attributes from registered icons, so the stroke is set here; fill-rule="evenodd" marks a dashed line. */
.wp-block-icon svg path[fill="none"] { stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.wp-block-icon svg path[fill="none"][fill-rule="evenodd"] { stroke-dasharray: 1.6 2.8; }

/* Button style "Ink pill + round icon" (WhatsApp icon in a white circle on the right) */
.is-style-ink-icon .wp-block-button__link { position: relative; height: 56px; padding: 0 8px 0 22px; gap: 14px; font-size: 16px; justify-content: space-between; }
.is-style-ink-icon .wp-block-button__link::after { content: ''; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--white); }
.is-style-ink-icon .wp-block-button__link::before {
  content: ''; position: absolute; right: 18.5px; top: 50%; width: 19px; height: 19px; margin-top: -9.5px; z-index: 1;
  background: var(--ink); -webkit-mask: var(--i-wa) center / contain no-repeat; mask: var(--i-wa) center / contain no-repeat;
}
@media (min-width: 1280px) {
  .is-style-ink-icon .wp-block-button__link { padding: 0 9px 0 24px; }
  .is-style-ink-icon .wp-block-button__link::before { right: 19.5px; }
}

/* Text-only page hero (Our Trips, Blog, Contact): same head as .page-hero, no photo */
.text-hero .page-hero__head { padding-bottom: 0; }

/* Back pill ("All trips" / "All stories") */
.back-pill {
  height: 44px; padding: 0 16px 0 12px; border-radius: 999px; background: var(--pill); color: var(--ink);
  display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; transition: background .3s;
}
.back-pill:hover { background: var(--pill-hover); color: var(--ink); }
.back-pill svg { transform: scaleX(-1); transition: translate .55s var(--ease); }
.back-pill:hover svg { translate: -4px 0; }
@media (min-width: 1280px) { .back-pill { height: 40px; } }

/* Kicker built from spans (server-rendered blocks, mobile menu) */
.kicker { display: flex; align-items: center; gap: 14px; }
.kicker__text { font-family: var(--serif); font-style: italic; font-size: clamp(22px, 5.4vw, 28px); line-height: 1.2; color: var(--kicker); }
.kicker__line { width: 56px; height: 1px; background: var(--line-3); }
.kicker--sm .kicker__text { font-size: 22px; }
.kicker--sm .kicker__line { width: 40px; }
@media (min-width: 1280px) {
  .kicker { gap: 16px; }
  .kicker__text { font-size: 30px; }
  .kicker--sm .kicker__text { font-size: 22px; }
}
