/* ==========================================================================
   Captains of Jawai: light theme
   White surfaces, sandstone-red accent, Alegreya type and a motion system
   (reveals, slider, animated route map, ticker).
   Accent colours can be changed in Admin → Settings → General & Branding.
   ========================================================================== */
:root {
  --bg: #FFFFFF;
  --surface: #FFFFFF;
  --subtle: #F4F6F5;
  --sand: #ECEFED;
  --muted-bg: #E6EAE8;
  --text: #17201C;
  --text-2: #46524D;
  --text-3: #75817B;
  --ivory: #FFFFFF;
  --accent: #B4532A;
  --accent-hover: #94421F;
  --accent-soft: #FBF0EA;
  --crimson: #A8321F;
  --olive: #2F4A3E;
  --dark: #18221E;
  --border: #E3E8E5;
  --border-2: #CBD3CF;
  --shadow-sm: 0 2px 8px rgba(23, 32, 28, .05);
  --shadow: 0 8px 22px -12px rgba(23, 32, 28, .2);
  --shadow-lg: 0 20px 40px -22px rgba(23, 32, 28, .32);
  --serif: 'Alegreya', Georgia, 'Times New Roman', serif;
  --serif-text: 'Alegreya', Georgia, 'Times New Roman', serif;
  --sans: 'Alegreya Sans', 'Gill Sans', 'Helvetica Neue', Arial, sans-serif;
  --mono: 'Alegreya Sans', 'Helvetica Neue', Arial, sans-serif;
  --radius: 4px;
  --radius-lg: 8px;
  --radius-xl: 12px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 80px;
}

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; background: var(--bg); color: var(--text-2);
  font-family: var(--sans); font-size: clamp(1rem, .2vw + .95rem, 1.0625rem); line-height: 1.7;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, picture, video, iframe, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; }
h1, h2, h3, h4 { color: var(--text); margin: 0 0 .5em; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0; padding: 0; }
.icon { flex: none; vertical-align: middle; display: inline-block; }
::selection { background: var(--accent); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 10001; background: var(--text); color: var(--ivory); padding: 10px 16px; border-radius: var(--radius); }
.skip-link:focus { left: 8px; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Typography ---------- */
.display-1, h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.3rem, 4.4vw + 1rem, 4.2rem); line-height: 1.08; letter-spacing: -.01em; }
.display-2, h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.85rem, 2.6vw + .75rem, 2.9rem); line-height: 1.14; letter-spacing: -.005em; }
.display-3 { font-family: var(--serif-text); font-weight: 400; font-size: clamp(1.6rem, 1.6vw + 1rem, 2.25rem); line-height: 1.2; }
h3 { font-family: var(--sans); font-weight: 600; font-size: clamp(1.1rem, .6vw + 1rem, 1.3rem); line-height: 1.35; letter-spacing: -.01em; }
.mono, .kicker, .meta-line, .pill { font-family: var(--sans); font-size: .72rem; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.kicker { display: inline-flex; align-items: center; gap: 12px; color: var(--accent); margin-bottom: 18px; }
.kicker::before { content: none; }
.kicker-crimson { color: var(--crimson); }
.lead { font-size: clamp(1.1rem, .5vw + 1rem, 1.3rem); line-height: 1.65; color: var(--text); }
.lead-muted { font-size: 1.1rem; color: var(--text-2); max-width: 62ch; }
.center { text-align: center; }
.empty { text-align: center; color: var(--text-3); padding: 40px 0; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); position: relative; }
.container.narrow, .narrow { max-width: 820px; }
.section { padding: clamp(72px, 9vw, 132px) 0; position: relative; }
.section-tight { padding-top: clamp(32px, 4vw, 56px); }
.section-alt { background: var(--subtle); }
.section-sand { background: var(--sand); overflow: hidden; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px); flex-wrap: wrap; }
.section-head h2 { margin: 0; max-width: 20ch; }
.section-head-center { flex-direction: column; align-items: center; text-align: center; }
.section-head-center h2 { max-width: 24ch; }
.section-head-center .lead-muted { margin: 16px auto 0; }
.grid { display: grid; gap: clamp(20px, 2.5vw, 32px); }
.grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 768px) and (max-width: 1023px) { .grid-3:has(> .exp-card) { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } .grid-3:has(> .exp-card) .exp-body p { display: none; } .grid-3:has(> .exp-card) .exp-body { padding: 16px; } .grid-3:has(> .exp-card) .exp-body h3 { font-size: 1.3rem; } }
.split { display: grid; gap: clamp(40px, 5vw, 88px); align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; } .split-60 { grid-template-columns: 1.05fr .95fr; } }
.split > *, .detail-grid > *, .contact-grid > *, .plan > *, .hero-grid > *, .feature-grid > *, .cta-grid > * { min-width: 0; }
.stack-lg > * + * { margin-top: clamp(56px, 7vw, 104px); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 24px; border-radius: var(--radius); border: 1px solid transparent; overflow: hidden; isolation: isolate;
  font-weight: 600; font-size: .95rem; letter-spacing: .01em; white-space: nowrap;
  transition: transform .4s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .4s;
}
.btn::before { content: none; }
.btn .icon { transition: transform .4s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { color: #fff; background: var(--accent-hover); }
.btn-outline, .btn-ghost-dark { border-color: var(--border-2); color: var(--text); background: rgba(255, 255, 255, .6); backdrop-filter: blur(6px); }
.btn-outline::before, .btn-ghost-dark::before { background: var(--accent-soft); }
.btn-outline:hover, .btn-ghost-dark:hover { border-color: var(--accent); color: var(--accent-hover); }
.btn-text { background: none; border: 0; color: var(--text-2); padding-left: 0; }
.btn-text::before { display: none; }
.btn-sm { min-height: 42px; padding: 8px 20px; font-size: .875rem; }
.btn-lg { min-height: 56px; padding: 14px 32px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row-center { justify-content: center; }
.btn[disabled] { opacity: .8; pointer-events: none; }
.btn-spin { width: 18px; height: 18px; flex: none; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .45); border-top-color: #fff; animation: spin .8s linear infinite; }
.btn-outline .btn-spin { border-color: rgba(0, 0, 0, .15); border-top-color: var(--accent); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--text); padding-bottom: 4px; background: linear-gradient(var(--accent), var(--accent)) left bottom / 100% 1px no-repeat; transition: gap .4s var(--ease), color .2s, background-size .5s var(--ease); }
.link-arrow:hover { gap: 14px; color: var(--accent-hover); background-size: 40% 1px; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; color: inherit; transition: background .2s, transform .3s var(--ease); }
.icon-btn:hover { background: rgba(180, 83, 42, .1); transform: scale(1.06); }

/* ---------- Preloader ---------- */
.preloader { position: fixed; inset: 0; z-index: 10000; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; background: var(--bg); opacity: 0; visibility: hidden; transition: opacity .5s var(--ease), visibility 0s .5s; }
.preloader.is-visible { opacity: 1; visibility: visible; transition: opacity .3s var(--ease), visibility 0s; }
html.is-loading .preloader { animation: preloaderIn .25s .3s forwards; } /* only appears if the page takes > 300ms */
@keyframes preloaderIn { to { opacity: 1; visibility: visible; } }
.preloader-inner { position: relative; width: 96px; height: 96px; display: grid; place-items: center; }
.preloader-inner img { width: 64px; height: 64px; border-radius: 50%; animation: breathe 1.6s var(--ease-in-out) infinite; }
.preloader-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--border); border-top-color: var(--accent); border-right-color: var(--accent); animation: spin .9s linear infinite; }
.preloader-text { font-family: var(--serif); font-size: 1.15rem; color: var(--text); letter-spacing: .04em; animation: breathe 1.6s var(--ease-in-out) infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 0%, 100% { opacity: .65; transform: scale(.96); } 50% { opacity: 1; transform: scale(1); } }

/* ---------- Scroll progress & back-to-top ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 9998; background: linear-gradient(90deg, var(--accent), #E08A5C); transform-origin: left; transform: scaleX(var(--p, 0)); pointer-events: none; }
.to-top { position: fixed; right: 22px; bottom: 96px; z-index: 9970; width: 50px; height: 50px; border-radius: 50%; border: 0; background: var(--surface); box-shadow: var(--shadow); display: grid; place-items: center; opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: opacity .4s var(--ease), transform .4s var(--ease), box-shadow .3s; }
.to-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.to-top svg { position: absolute; inset: 3px; width: calc(100% - 6px); height: calc(100% - 6px); transform: rotate(-90deg); }
.to-top circle { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--p, 0) * 100); }
.to-top-arrow { transform: rotate(-90deg); color: var(--text); }
.to-top:hover { box-shadow: var(--shadow-lg); }
@media (max-width: 767px) { .to-top { bottom: 84px; right: 14px; width: 44px; height: 44px; } }

/* ---------- Announcement ---------- */
.announce { background: var(--accent-soft); color: var(--accent-hover); text-align: center; font-size: .85rem; padding: 9px 16px; position: relative; z-index: 60; border-bottom: 1px solid #F3D9CC; }
.announce a { display: inline-flex; gap: 8px; align-items: center; font-weight: 600; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255, 255, 255, .82); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; color: var(--text);
  transition: transform .5s var(--ease), border-color .4s, box-shadow .4s, background .4s;
  animation: headerIn .9s var(--ease) both;
}
@keyframes headerIn { from { transform: translateY(-100%); } to { transform: none; } }
.site-header.is-scrolled { border-color: var(--border); box-shadow: 0 8px 30px -18px rgba(23, 32, 28, .3); background: rgba(255, 255, 255, .94); }
.site-header.is-hidden { transform: translateY(-105%); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; flex: none; }
.brand-mark { width: 48px; height: 48px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(180, 83, 42, .35); transition: transform .8s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-12deg) scale(1.05); }
.brand-custom { max-height: 52px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--serif-text); font-size: 1.3rem; font-weight: 400; letter-spacing: .01em; }
.brand-sub { font-family: var(--mono); font-size: .6rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin-top: 4px; }
.main-nav { display: none; }
.main-nav > ul { display: flex; list-style: none; gap: 2px; }
.main-nav li { position: relative; }
.main-nav > ul > li > a { position: relative; display: flex; align-items: center; gap: 4px; padding: 10px 14px; font-size: .9rem; font-weight: 500; border-radius: 999px; transition: color .2s, background .2s; }
.main-nav > ul > li > a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 1.5px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.main-nav > ul > li > a:hover::after, .main-nav > ul > li.is-active > a::after { transform: scaleX(1); transform-origin: left; }
.main-nav > ul > li > a:hover, .main-nav > ul > li.is-active > a { color: var(--accent-hover); }
.main-nav .sub {
  position: absolute; top: calc(100% + 8px); left: -8px; min-width: 260px; list-style: none; padding: 10px;
  background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(10px) scale(.98); transform-origin: top left; transition: all .35s var(--ease);
}
.main-nav .sub::before { content: ''; position: absolute; inset: -14px 0 auto; height: 14px; }
.main-nav li:hover > .sub, .main-nav li:focus-within > .sub { opacity: 1; visibility: visible; transform: none; }
.main-nav .sub li { opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .4s var(--ease); }
.main-nav li:hover > .sub li, .main-nav li:focus-within > .sub li { opacity: 1; transform: none; }
.main-nav li:hover > .sub li:nth-child(2) { transition-delay: .04s; } .main-nav li:hover > .sub li:nth-child(3) { transition-delay: .08s; } .main-nav li:hover > .sub li:nth-child(4) { transition-delay: .12s; } .main-nav li:hover > .sub li:nth-child(5) { transition-delay: .16s; }
.main-nav .sub a { display: block; padding: 10px 14px; font-size: .9rem; border-radius: 10px; transition: background .2s, color .2s, padding .3s var(--ease); }
.main-nav .sub a:hover { background: var(--subtle); color: var(--accent-hover); padding-left: 20px; }
.header-actions { display: flex; align-items: center; gap: 4px; }
@media (max-width: 639px) { .hide-sm { display: none !important; } .brand-sub { display: none; } .brand-name { font-size: 1.25rem; } :root { --header-h: 68px; } .brand-mark { width: 42px; height: 42px; } }
@media (max-width: 1099px) { .hide-md { display: none !important; } }
@media (min-width: 1100px) { .main-nav { display: block; } .nav-toggle { display: none; } }
@media (min-width: 1100px) and (max-width: 1279px) { .main-nav > ul > li > a { padding: 10px 9px; font-size: .86rem; } .brand-sub { display: none; } }

/* ---------- Mobile nav ---------- */
.mobile-nav { position: fixed; inset: 0; z-index: 9999; background: var(--bg); display: flex; flex-direction: column; padding: 16px var(--gutter) 28px; overflow-y: auto; animation: navIn .55s var(--ease); }
.mobile-nav::before { content: ''; position: absolute; right: -120px; top: -120px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(224, 138, 92, .35), transparent 70%); pointer-events: none; }
@keyframes navIn { from { clip-path: circle(0% at calc(100% - 40px) 40px); } to { clip-path: circle(150% at calc(100% - 40px) 40px); } }
.mobile-nav-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; color: var(--text); position: relative; }
.mobile-nav nav { flex: 1; position: relative; }
.mobile-nav nav > ul { list-style: none; }
.mobile-nav nav > ul > li { border-bottom: 1px solid var(--border); opacity: 0; transform: translateY(16px); animation: rise .6s var(--ease) forwards; }
.mobile-nav nav > ul > li:nth-child(1) { animation-delay: .12s; } .mobile-nav nav > ul > li:nth-child(2) { animation-delay: .18s; } .mobile-nav nav > ul > li:nth-child(3) { animation-delay: .24s; } .mobile-nav nav > ul > li:nth-child(4) { animation-delay: .3s; } .mobile-nav nav > ul > li:nth-child(5) { animation-delay: .36s; } .mobile-nav nav > ul > li:nth-child(n+6) { animation-delay: .42s; }
.mobile-nav nav > ul > li > a, .mobile-nav summary { display: flex; justify-content: space-between; align-items: center; padding: 16px 0; font-family: var(--serif); font-size: 1.85rem; color: var(--text); cursor: pointer; list-style: none; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary .icon { transition: transform .3s var(--ease); }
.mobile-nav details[open] summary .icon { transform: rotate(180deg); }
.mobile-nav details ul { list-style: none; padding: 0 0 14px 4px; }
.mobile-nav details a { display: block; padding: 8px 0; color: var(--text-2); }
.mobile-nav-foot { display: grid; gap: 12px; margin-top: 28px; position: relative; }
.mobile-contact { display: flex; align-items: center; gap: 10px; color: var(--text-2); font-size: .95rem; }

/* ---------- Topographic line art ---------- */
.topo { position: absolute; pointer-events: none; color: var(--accent); opacity: .12; }
.topo path, .topo ellipse { stroke-dasharray: 100; stroke-dashoffset: 100; animation: draw 3.2s var(--ease) forwards; }
.topo path:nth-child(2) { animation-delay: .15s; } .topo path:nth-child(3) { animation-delay: .3s; } .topo path:nth-child(4) { animation-delay: .45s; } .topo path:nth-child(5) { animation-delay: .6s; } .topo path:nth-child(6) { animation-delay: .75s; }
.topo ellipse { animation-delay: .9s; }
.topo g { animation: drift 24s ease-in-out infinite alternate; transform-origin: center; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes drift { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-24px, 12px, 0); } }
.topo-hero { right: -10%; top: -10%; width: 75%; height: 120%; opacity: .18; }
.topo-page { right: -8%; top: -10%; width: 70%; height: 90%; opacity: .16; }
.topo-band, .topo-plan { inset: 0; width: 100%; height: 100%; opacity: .14; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: clamp(28px, 5vw, 64px) 0 clamp(56px, 7vw, 96px); background: var(--bg); }
.hero-grid { display: grid; gap: clamp(36px, 5vw, 72px); align-items: center; }
@media (min-width: 1024px) { .hero-grid { grid-template-columns: 1.05fr .95fr; min-height: calc(100vh - var(--header-h) - 120px); } }
.hero-text { position: relative; z-index: 2; }
.hero-title { font-size: clamp(2.8rem, 6vw + .5rem, 5.6rem); margin-bottom: 22px; max-width: 13ch; }
.hero-sub { font-size: clamp(1.05rem, .6vw + 1rem, 1.3rem); max-width: 46ch; color: var(--text-2); margin-bottom: 34px; }
.hero-trust { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--border); font-size: .88rem; color: var(--text-2); }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .icon { color: var(--accent); }
.hero-visual { position: relative; z-index: 1; }
.arch { position: relative; overflow: hidden; border-radius: 999px 999px var(--radius-xl) var(--radius-xl); aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); background: var(--sand); isolation: isolate; }
.hero .arch { max-width: 560px; margin-left: auto; }
.hero-slides, .hero-slide { position: absolute; inset: 0; }
.hero-slide { opacity: 0; transition: opacity 1.6s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide picture { position: absolute; inset: 0; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.hero-slide.is-active img { animation: kenburns 12s ease-out forwards; }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.sun-disc { position: absolute; z-index: -1; width: clamp(140px, 18vw, 240px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #F6CF84, #D99B3A 70%); right: -4%; top: -6%; opacity: .9; animation: sunFloat 9s ease-in-out infinite alternate; }
.sun-disc-sm { width: clamp(90px, 10vw, 150px); right: auto; left: -4%; top: auto; bottom: 8%; }
@keyframes sunFloat { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(-10px, 14px, 0) scale(1.05); } }
.float-card { position: absolute; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 18px 12px 14px; background: rgba(255, 255, 255, .9); backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, .7); border-radius: 16px; box-shadow: var(--shadow); animation: bob 6s ease-in-out infinite; animation-delay: var(--fd, 0s); }
.float-card strong { display: block; color: var(--text); font-size: .92rem; line-height: 1.2; }
.float-card small { color: var(--text-3); font-size: .72rem; }
.float-card .icon { color: var(--accent); }
.fc-1 { left: -6%; bottom: 16%; }
.fc-2 { right: -3%; top: 22%; }
.fc-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--olive); animation: pulse 2s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(78, 93, 62, .45); } 70% { box-shadow: 0 0 0 12px rgba(78, 93, 62, 0); } 100% { box-shadow: 0 0 0 0 rgba(78, 93, 62, 0); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.hero-dots { position: absolute; z-index: 4; left: 50%; bottom: 20px; transform: translateX(-50%); display: flex; gap: 8px; padding: 8px 12px; border-radius: 99px; background: rgba(255, 255, 255, .78); backdrop-filter: blur(8px); }
.hero-dots button { width: 22px; height: 4px; border: 0; padding: 0; background: rgba(20, 22, 24, .2); border-radius: 2px; transition: background .3s, width .4s var(--ease); }
.hero-dots button.is-active { background: var(--accent); width: 40px; }
.scroll-cue { position: absolute; z-index: 3; left: 50%; bottom: 18px; width: 26px; height: 42px; border: 1.5px solid var(--border-2); border-radius: 14px; transform: translateX(-50%); }
.scroll-cue span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; background: var(--accent); border-radius: 2px; animation: cue 1.8s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-width: 1023px) { .scroll-cue { display: none; } .hero .arch { margin: 0 auto; max-width: 520px; aspect-ratio: 4 / 4.4; } .fc-1 { left: 0; } .fc-2 { right: 0; } }
@media (max-width: 639px) { .hero-title { font-size: clamp(2.4rem, 11vw, 3.4rem); } .hero .btn-row .btn { flex: 1 1 100%; } .float-card { padding: 9px 12px; } .float-card strong { font-size: .82rem; } .fc-2 { top: 10%; } .hero-trust { gap: 8px 16px; font-size: .82rem; } }

/* ---------- Ticker ---------- */
.ticker { background: var(--surface); color: var(--text); overflow: hidden; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.ticker-track { display: flex; width: max-content; gap: 30px; padding: 18px 0; animation: ticker 55s linear infinite; font-family: var(--mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; }
.ticker-track i { font-style: normal; color: var(--accent); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- Intro / stats ---------- */
.split-text h2 { margin-bottom: 28px; }
.prose-lg p { font-size: 1.08rem; }
.split-media { position: relative; }
.framed { position: relative; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; }
.framed picture { position: absolute; inset: -6% 0; }
.framed img { width: 100%; height: 100%; object-fit: cover; }
.coords { position: absolute; left: -14px; bottom: 32px; background: var(--surface); color: var(--text); padding: 10px 16px; border-radius: 99px; box-shadow: var(--shadow); }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: clamp(56px, 7vw, 96px) 0 0; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stats > div { background: var(--surface); padding: clamp(22px, 3vw, 34px); border: 1px solid var(--border); border-radius: var(--radius-lg); transition: transform .5s var(--ease), box-shadow .5s, border-color .3s, opacity 1s var(--ease); }
.stats > div:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.stats dt { font-family: var(--serif); font-size: clamp(2.1rem, 2.6vw + 1rem, 3.2rem); color: var(--text); line-height: 1; margin-bottom: 10px; font-variant-numeric: tabular-nums; }
.stats dd { margin: 0; font-size: .9rem; color: var(--text-3); }
@media (max-width: 639px) { .coords { left: 12px; bottom: 14px; } .framed { aspect-ratio: 4 / 3.4; } .stats { gap: 10px; } .stats > div { padding: 18px; } }

/* ---------- Expedition cards ---------- */
.exp-card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: box-shadow .5s var(--ease), border-color .3s, transform .5s var(--ease), opacity 1s var(--ease); }
.exp-card:hover { box-shadow: var(--shadow-lg); border-color: transparent; }
.exp-media { position: relative; aspect-ratio: 4 / 3.1; overflow: hidden; margin: 8px 8px 0; border-radius: 13px; }
.exp-media picture { position: absolute; inset: 0; }
.exp-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.exp-card:hover .exp-media img { transform: scale(1.07); }
.pill { position: absolute; left: 14px; top: 14px; display: inline-block; padding: 5px 9px; border-radius: 2px; background: rgba(255, 255, 255, .94); backdrop-filter: blur(6px); color: var(--text); font-size: .64rem; }
.exp-body { padding: 22px 24px; display: flex; flex-direction: column; flex: 1; }
.exp-body h3 { font-family: var(--serif-text); font-weight: 400; font-size: clamp(1.55rem, 1vw + 1rem, 1.9rem); line-height: 1.15; margin: 0 0 10px; }
.exp-body p { font-size: .95rem; margin-bottom: 18px; }
.exp-meta { margin-top: auto; display: flex; align-items: center; justify-content: space-between; font-size: .85rem; color: var(--text-3); padding-top: 16px; border-top: 1px solid var(--border); }
.exp-meta span { display: inline-flex; align-items: center; gap: 6px; }
.exp-arrow { width: 42px; height: 42px; border-radius: 50%; display: grid !important; place-items: center; background: var(--accent-soft); color: var(--accent-hover); transition: transform .5s var(--ease), background .3s, color .3s; }
.exp-card:hover .exp-arrow { transform: rotate(45deg); background: var(--accent); color: #fff; }

/* ---------- Feature (coexistence) ---------- */
.feature { overflow: hidden; }
.feature-grid { display: grid; align-items: center; }
@media (min-width: 1024px) { .feature-grid { grid-template-columns: 1.25fr .75fr; } .feature-card { margin-left: -120px; } }
.feature-media { position: relative; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 16 / 11; box-shadow: var(--shadow-lg); }
.feature-media picture { position: absolute; inset: -8% 0; }
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-card { position: relative; z-index: 2; background: rgba(255, 255, 255, .95); backdrop-filter: blur(10px); padding: clamp(28px, 4vw, 52px); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); border-top: 3px solid var(--crimson); }
@media (max-width: 1023px) { .feature-card { margin: -64px 16px 0; } }

/* ---------- Values / team ---------- */
.values { margin-bottom: 44px; }
.value { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); transition: box-shadow .5s var(--ease), border-color .3s, transform .5s var(--ease), opacity 1s var(--ease); }
.value:hover { box-shadow: var(--shadow-lg); border-color: transparent; }
.value-photo { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.value-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.value-media picture { position: absolute; inset: 0; }
.value-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.value-photo:hover .value-media img { transform: scale(1.07); }
.value-body { padding: 22px 22px 26px; position: relative; }
.value-body .icon { position: absolute; top: -26px; left: 22px; width: 52px; height: 52px; padding: 13px; border-radius: 50%; background: var(--surface); color: var(--accent); box-shadow: var(--shadow); margin: 0; transition: transform .6s var(--ease); }
.value-photo:hover .value-body .icon { transform: rotate(-12deg) scale(1.08); }
.value-body h3 { margin-top: 20px; font-size: 1.1rem; }
.value-body p { font-size: .95rem; margin: 0; }
.team-grid { margin-bottom: 40px; }
.team-card .team-photo { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; margin-bottom: 18px; }
.team-photo picture { position: absolute; inset: 0; }
.team-card .team-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.team-card:hover .team-photo img { transform: scale(1.05); }
.team-card h3 { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; margin-bottom: 4px; }
.team-card .mono { color: var(--accent); }

/* ---------- Journeys ---------- */
.h-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 84%); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 18px; scrollbar-width: thin; scrollbar-color: var(--border-2) transparent; }
@media (min-width: 900px) { .h-scroll { grid-auto-columns: minmax(320px, 1fr); } }
.h-scroll > * { scroll-snap-align: start; }
.journey-card { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; transition: box-shadow .5s var(--ease), border-color .3s, transform .5s var(--ease), opacity 1s var(--ease); }
.journey-card:hover { box-shadow: var(--shadow-lg); border-color: transparent; }
.journey-media { position: relative; aspect-ratio: 16 / 10.5; overflow: hidden; margin: 8px 8px 0; border-radius: 13px; }
.journey-media picture { position: absolute; inset: 0; }
.journey-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.journey-card:hover .journey-media img { transform: scale(1.06); }
.journey-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.journey-body h3 { font-family: var(--serif); font-size: 1.75rem; font-weight: 500; line-height: 1.15; margin: 0 0 10px; }
.journey-body p { font-size: .95rem; }
.journey-body .link-arrow { margin-top: auto; align-self: flex-start; }
.journey-row { display: grid; gap: clamp(24px, 4vw, 64px); align-items: center; }
@media (min-width: 900px) { .journey-row { grid-template-columns: 1.15fr .85fr; } .journey-row.is-flipped .journey-row-media { order: 2; } }
.journey-row-media { position: relative; display: block; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 3 / 2; box-shadow: var(--shadow); }
.journey-row-media picture { position: absolute; inset: 0; }
.journey-row-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.journey-row-media:hover img { transform: scale(1.05); }
.journey-row .mono { color: var(--accent); }
.journey-row h2 { margin: 10px 0 8px; }
.journey-row h2 a:hover { color: var(--accent-hover); }

/* ---------- Quotes ---------- */
.quotes { position: relative; text-align: center; min-height: 240px; }
.quote { margin: 0; display: none; }
.quote.is-active { display: block; animation: rise .8s var(--ease); }
.quote .icon { color: var(--accent); margin: 0 auto 18px; }
.quote blockquote { margin: 0 0 20px; font-family: var(--serif); font-size: clamp(1.5rem, 1.5vw + 1rem, 2.2rem); line-height: 1.35; color: var(--text); }
.quote figcaption { color: var(--text-3); }

/* ---------- Post cards ---------- */
.post-card { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .5s var(--ease), border-color .3s, transform .5s var(--ease), opacity 1s var(--ease); }
.post-card:hover { box-shadow: var(--shadow-lg); border-color: transparent; }
.post-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; display: block; margin: 8px 8px 0; border-radius: 13px; }
.post-media picture { position: absolute; inset: 0; }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.post-card:hover .post-media img { transform: scale(1.06); }
.post-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.post-body h3 { font-family: var(--serif); font-size: 1.5rem; font-weight: 500; line-height: 1.2; margin: 10px 0; }
.post-body h3 a { background: linear-gradient(var(--accent), var(--accent)) left bottom / 0 1px no-repeat; transition: background-size .5s var(--ease), color .2s; }
.post-card:hover .post-body h3 a { background-size: 100% 1px; color: var(--accent-hover); }
.post-body p { font-size: .95rem; margin: 0; }
.meta-line { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--text-3); font-size: .68rem; }
.meta-line span:first-child { color: var(--accent); }

/* ---------- CTA band ---------- */
.cta-band { position: relative; padding: clamp(80px, 10vw, 140px) 0; background: linear-gradient(180deg, var(--bg), var(--sand)); overflow: hidden; }
.cta-grid { display: grid; gap: clamp(40px, 5vw, 80px); align-items: center; }
@media (min-width: 1024px) { .cta-grid { grid-template-columns: 1.1fr .9fr; } }
.cta-text h2 { max-width: 16ch; }
.cta-text > p { font-size: 1.1rem; max-width: 52ch; margin-bottom: 32px; }
.cta-points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 26px; font-size: .9rem; }
.cta-points li { display: inline-flex; align-items: center; gap: 8px; }
.cta-points .icon { color: var(--olive); }
.cta-media { position: relative; }
.arch-sm { max-width: 520px; margin: 0 auto; aspect-ratio: 4 / 4.4; border-radius: var(--radius-lg); }
.arch picture { position: absolute; inset: 0; }
.arch-sm picture { inset: -6% 0; }
.arch img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 639px) { .cta-text .btn-row .btn { flex: 1 1 100%; } .arch-sm { aspect-ratio: 4 / 3.6; } }

/* ---------- Page hero ---------- */
.page-hero { position: relative; overflow: hidden; padding: clamp(32px, 5vw, 64px) 0 0; background: var(--bg); }
.page-hero-inner { position: relative; z-index: 2; }
.page-hero-text { display: grid; gap: 12px 48px; align-items: end; margin-bottom: clamp(28px, 4vw, 48px); }
@media (min-width: 1024px) { .page-hero-text { grid-template-columns: 1.2fr .8fr; } }
.page-hero h1 { margin: 0; max-width: 18ch; }
.page-hero .lead-muted { margin: 0; }
.page-hero-media { position: relative; z-index: 2; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 21 / 9; box-shadow: var(--shadow-lg); background: var(--sand); }
.page-hero-frame { position: absolute; inset: -10% 0; }
.page-hero-frame picture, .page-hero-frame img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767px) { .page-hero-media { aspect-ratio: 4 / 3; border-radius: var(--radius-lg); } }
.article-hero h1 { font-size: clamp(2.2rem, 3.5vw + 1rem, 3.8rem); max-width: none; margin: 14px 0 12px; }
.article-hero .page-hero-media { margin-top: clamp(24px, 3vw, 40px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .8rem; color: var(--text-3); margin-bottom: 22px; }
.crumbs a:hover { color: var(--accent-hover); }
.byline { color: var(--text-3); margin: 0; }
.plain-hero { padding: clamp(56px, 8vw, 104px) 0 24px; }

/* ---------- Detail pages ---------- */
.fact-strip { position: relative; z-index: 3; margin-top: calc(-1 * clamp(28px, 3vw, 40px)); }
.fact-strip .container { max-width: calc(var(--container) - 2 * clamp(16px, 4vw, 56px)); }
.fact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
@media (min-width: 768px) { .fact-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.fact { display: flex; gap: 12px; align-items: flex-start; padding: 18px 20px; border-right: 1px solid var(--border); }
.fact:last-child { border-right: 0; }
.fact .icon { color: var(--accent); margin-top: 4px; }
.fact .mono { display: block; color: var(--text-3); font-size: .64rem; margin-bottom: 2px; }
.fact strong { color: var(--text); font-weight: 600; font-size: .93rem; line-height: 1.4; display: block; }
@media (max-width: 767px) { .fact:nth-child(2n) { border-right: 0; } .fact:nth-child(-n+2) { border-bottom: 1px solid var(--border); } .fact { padding: 14px; } .fact strong { font-size: .86rem; } }
.detail-grid { display: grid; gap: 48px; }
@media (min-width: 1024px) { .detail-grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 72px; } .detail-aside { position: sticky; top: calc(var(--header-h) + 24px); align-self: start; } }
.detail-aside { display: grid; gap: 20px; }
.aside-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; }
.aside-card h3 { margin-bottom: 14px; }
.aside-cta { background: var(--accent-soft); border-color: #F3D9CC; }
.aside-cta .btn + .btn { margin-top: 10px; }
.checks { list-style: none; display: grid; gap: 12px; }
.checks li { display: flex; gap: 10px; font-size: .95rem; line-height: 1.5; }
.checks .icon { color: var(--olive); margin-top: 3px; }
.prose { color: var(--text-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: clamp(1.7rem, 1.5vw + 1rem, 2.3rem); margin-top: 1.8em; margin-bottom: .5em; }
.prose h3 { margin-top: 1.6em; }
.prose p { margin-bottom: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .45em; }
.prose li::marker { color: var(--accent); }
.prose a { color: var(--accent-hover); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 24px; border-left: 2px solid var(--accent); font-family: var(--serif); font-size: 1.5rem; line-height: 1.4; color: var(--text); }
.prose img { border-radius: var(--radius-lg); margin: 1.6em 0; }
.prose figure { margin: 1.6em 0; }
.prose figcaption { font-size: .85rem; color: var(--text-3); margin-top: 8px; }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.prose th { font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.prose iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: var(--radius-lg); }
.prose strong { color: var(--text); }
.timeline { list-style: none; margin: 40px 0; border-left: 1px solid var(--border-2); padding-left: 32px; position: relative; }
.timeline li { position: relative; padding-bottom: 36px; }
.timeline li::before { content: ''; position: absolute; left: -39px; top: 6px; width: 13px; height: 13px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); transition: background .4s, transform .4s var(--ease); }
.timeline li.is-in::before { background: var(--accent); transform: scale(1.15); }
.timeline .mono { color: var(--accent); }
.timeline h3 { font-family: var(--serif); font-size: 1.7rem; font-weight: 500; margin: 6px 0 8px; }
.timeline p { margin: 0; }
.steps { list-style: none; counter-reset: s; display: grid; gap: 14px; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 20px; transition: transform .5s var(--ease), box-shadow .5s; }
.steps li:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.steps li::before { content: counter(s, decimal-leading-zero); grid-row: span 2; font-family: var(--mono); color: var(--accent); font-size: 1.1rem; }
.steps strong { color: var(--text); }
.steps span { font-size: .93rem; }
.inline-cta { margin: 56px 0 24px; padding: 36px; background: var(--accent-soft); border-radius: var(--radius-lg); border-left: 3px solid var(--accent); }
.inline-cta h3 { font-family: var(--serif); font-size: 1.8rem; font-weight: 500; margin-bottom: 6px; }
@media (max-width: 639px) { .inline-cta { padding: 24px; } }
.share { display: flex; align-items: center; gap: 8px; margin-top: 24px; }
.share .mono { color: var(--text-3); margin-right: 8px; }
.share a, .share button { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 50%; background: var(--surface); transition: border-color .2s, color .2s, transform .3s var(--ease); }
.share a:hover, .share button:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-3px); }
.share .is-copied { background: var(--olive); color: #fff; border-color: var(--olive); }

/* ---------- Chips / pager ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 9px 18px; border-radius: 99px; border: 1px solid var(--border-2); background: var(--surface); font-size: .9rem; transition: all .3s var(--ease); }
.chip small { color: var(--text-3); }
.chip:hover { border-color: var(--accent); transform: translateY(-2px); }
.chip.is-active { background: var(--accent); border-color: var(--accent); color: #fff; }
.chip.is-active small { color: rgba(255, 255, 255, .75); }
.pager { display: flex; justify-content: center; gap: 8px; margin-top: 56px; }
.pager a { min-width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 50%; background: var(--surface); transition: all .3s var(--ease); }
.pager a.is-active, .pager a:hover { background: var(--accent); color: #fff; border-color: var(--accent); }

/* ---------- Gallery ---------- */
.masonry { columns: 1; column-gap: 18px; }
@media (min-width: 640px) { .masonry { columns: 2; } }
@media (min-width: 1024px) { .masonry { columns: 3; } }
.masonry-item { break-inside: avoid; margin: 0 0 18px; }
.masonry-item a { display: block; border-radius: var(--radius-lg); overflow: hidden; position: relative; }
.masonry-item a::after { content: '+'; position: absolute; right: 14px; bottom: 14px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--text); font-size: 1.4rem; opacity: 0; transform: scale(.6); transition: all .4s var(--ease); }
.masonry-item a:hover::after { opacity: 1; transform: none; }
.masonry-item img { width: 100%; transition: transform 1s var(--ease); }
.masonry-item a:hover img { transform: scale(1.05); }
.masonry-item figcaption { font-size: .85rem; color: var(--text-3); padding: 8px 4px 0; }
.photo-credit { display: block; font-size: .75rem; color: var(--text-3); margin-top: 2px; }
.photo-credit a { text-decoration: underline; }
.lightbox { position: fixed; inset: 0; z-index: 10000; background: rgba(255, 255, 255, .97); backdrop-filter: blur(8px); display: grid; place-items: center; padding: 60px 16px; animation: fadeIn .3s; }
.lightbox figure { margin: 0; max-width: 1200px; }
.lightbox img { max-height: 80vh; width: auto; margin: 0 auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); animation: zoomIn .5s var(--ease); }
.lightbox figcaption { color: var(--text-2); text-align: center; margin-top: 14px; font-size: .9rem; }
.lightbox button { position: absolute; background: var(--surface); border: 1px solid var(--border); color: var(--text); width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--shadow-sm); transition: transform .3s var(--ease); }
.lightbox button:hover { transform: scale(1.08); }
.lb-close { top: 16px; right: 16px; }
.lb-prev { left: 16px; top: 50%; margin-top: -26px; }
.lb-next { right: 16px; top: 50%; margin-top: -26px; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes zoomIn { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
.credits-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.credit-item { margin: 0; display: grid; grid-template-columns: 96px 1fr; gap: 14px; align-items: start; font-size: .85rem; }
.credit-item img { width: 96px; height: 72px; object-fit: cover; border-radius: var(--radius); }
.credit-item figcaption { display: flex; flex-direction: column; gap: 2px; }
.credit-item strong { color: var(--text); font-weight: 600; }
.credit-item a { color: var(--accent-hover); text-decoration: underline; }

/* ---------- FAQ accordion ---------- */
.faq-group { margin: 48px 0 18px; }
.faq-group:first-child { margin-top: 0; }
.accordion { border-top: 1px solid var(--border); }
.acc-item { border-bottom: 1px solid var(--border); }
.acc-item summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; cursor: pointer; font-weight: 600; color: var(--text); font-size: 1.05rem; transition: color .2s; }
.acc-item summary:hover { color: var(--accent-hover); }
.acc-item summary::-webkit-details-marker { display: none; }
.acc-icon { flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--border-2); display: grid; place-items: center; transition: transform .4s var(--ease), background .3s, color .3s; }
.acc-item[open] .acc-icon { transform: rotate(135deg); background: var(--accent); color: #fff; border-color: var(--accent); }
.acc-body { padding: 0 48px 22px 0; animation: rise .5s var(--ease); }
@media (max-width: 639px) { .acc-body { padding-right: 0; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: .8fr 1.2fr; gap: 64px; } }
.contact-list { list-style: none; display: grid; gap: 22px; margin: 28px 0 36px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .icon { color: var(--accent); margin-top: 6px; }
.contact-list .mono { display: block; color: var(--text-3); font-size: .66rem; }
.contact-list a, .contact-list span:not(.mono) { color: var(--text); font-weight: 500; }
.contact-list a:hover { color: var(--accent-hover); }
.form-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-xl); padding: clamp(24px, 4vw, 48px); box-shadow: var(--shadow); }
.map-embed iframe { width: 100%; height: 420px; border: 0; filter: grayscale(.2) sepia(.15); }

/* ---------- Forms ---------- */
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field > span { font-size: .85rem; font-weight: 600; color: var(--text); }
.field input, .field select, .field textarea { width: 100%; min-height: 52px; padding: 12px 16px; border: 1px solid var(--border-2); border-radius: 12px; background: var(--surface); color: var(--text); transition: border-color .25s, box-shadow .25s; appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237A828A' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; text-overflow: ellipsis; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(180, 83, 42, .15); }
.field.has-error input, .field.has-error textarea { border-color: var(--crimson); animation: shake .4s; }
@keyframes shake { 20%, 60% { transform: translateX(-4px); } 40%, 80% { transform: translateX(4px); } }
.field-msg { color: var(--crimson); font-size: .8rem; }
.field-row { display: grid; gap: 0 18px; }
@media (min-width: 640px) { .field-row { grid-template-columns: 1fr 1fr; } }
.check { display: flex; align-items: center; gap: 10px; font-size: .95rem; margin: 6px 0 14px; cursor: pointer; }
.check input { width: 20px; height: 20px; accent-color: var(--accent); }
.form-note { font-size: .8rem; color: var(--text-3); }
.form-note a { text-decoration: underline; }
.form-error { background: #FBEDEA; color: var(--crimson); border-radius: 12px; padding: 12px 16px; font-size: .9rem; margin-bottom: 16px; animation: rise .4s var(--ease); }
.form-success { text-align: center; padding: 40px 12px; animation: rise .7s var(--ease); }
.form-success .icon { color: #fff; background: var(--olive); border-radius: 50%; padding: 12px; width: 68px; height: 68px; margin: 0 auto 20px; animation: pop .6s var(--ease); }
@keyframes pop { 0% { transform: scale(0); } 60% { transform: scale(1.15); } 100% { transform: scale(1); } }
.form-success .mono { color: var(--accent); margin: 20px 0; }
.form-success h3 { font-family: var(--serif); font-size: 2rem; font-weight: 500; }

/* ---------- Plan (wizard) ---------- */
.plan { display: grid; }
@media (min-width: 1024px) { .plan { grid-template-columns: 5fr 7fr; min-height: calc(100vh - var(--header-h)); } }
.plan-visual { position: relative; overflow: hidden; background: var(--sand); }
.plan-visual-inner { position: relative; z-index: 2; display: grid; gap: 28px; padding: clamp(28px, 4vw, 56px); }
@media (min-width: 1024px) { .plan-visual-inner { position: sticky; top: var(--header-h); height: calc(100vh - var(--header-h)); grid-template-rows: auto 1fr; } }
.plan-visual h1 { font-size: clamp(2rem, 2.5vw + 1rem, 3rem); }
.arch-plan { aspect-ratio: auto; min-height: 260px; width: 100%; border-radius: var(--radius-lg); }
@media (max-width: 1023px) { .arch-plan { aspect-ratio: 16 / 10; min-height: 0; max-width: none; border-radius: var(--radius-xl); } }
.trust { list-style: none; display: grid; gap: 12px; margin-top: 20px; }
.trust li { display: flex; gap: 10px; font-size: .95rem; color: var(--text-2); }
.trust .icon { color: var(--olive); margin-top: 4px; }
.plan-form-wrap { padding: clamp(28px, 5vw, 72px) var(--gutter); max-width: 760px; width: 100%; margin: 0 auto; }
.wizard-progress { height: 4px; background: var(--border); border-radius: 2px; overflow: hidden; margin-bottom: 18px; }
.wizard-progress span { display: block; height: 100%; width: 20%; background: linear-gradient(90deg, var(--accent), #E08A5C); transition: width .6s var(--ease); }
.wizard-count { color: var(--text-3); margin-bottom: 28px; }
.step { border: 0; padding: 0; margin: 0; min-width: 0; }
.step.is-active { animation: stepIn .55s var(--ease); }
@keyframes stepIn { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
.step legend { padding: 0; margin-bottom: 10px; color: var(--text); }
.help { color: var(--text-3); font-size: .95rem; margin-bottom: 24px; }
.choice-grid { display: grid; gap: 12px; margin-bottom: 20px; }
@media (min-width: 640px) { .choice-grid, .choice-grid-1 { grid-template-columns: 1fr 1fr; } }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: flex; align-items: center; min-height: 60px; padding: 14px 18px 14px 50px; border: 1px solid var(--border-2); border-radius: 14px; background: var(--surface); font-weight: 500; color: var(--text); transition: all .3s var(--ease); position: relative; }
.choice span:hover { border-color: var(--accent); transform: translateY(-2px); }
.choice span::before { content: ''; position: absolute; left: 18px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border: 1.5px solid var(--border-2); border-radius: 5px; transition: all .3s var(--ease); }
.choice input[type=radio] + span::before { border-radius: 50%; }
.choice input:checked + span { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 1px var(--accent); }
.choice input:checked + span::before { background: var(--accent); border-color: var(--accent); box-shadow: inset 0 0 0 3px var(--accent-soft); transform: scale(1.1); }
.choice input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.stepper { display: flex; align-items: center; border: 1px solid var(--border-2); border-radius: 12px; background: var(--surface); overflow: hidden; height: 52px; }
.stepper button { width: 52px; height: 100%; border: 0; background: transparent; display: grid; place-items: center; transition: background .2s; }
.stepper button:hover { background: var(--subtle); }
.stepper input { border: 0 !important; text-align: center; min-height: 0 !important; height: 100%; box-shadow: none !important; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.wizard-nav { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--border); }
.wizard-nav [data-next], .wizard-nav [data-submit] { margin-left: auto; }
.page-plan .mobile-dock, .page-plan .wa-float { display: none !important; }
@media (max-width: 359px) { .choice span { padding-left: 44px; font-size: .92rem; } .stepper button { width: 44px; } }

/* ---------- Footer ---------- */
.site-footer { position: relative; background: var(--sand); color: var(--text-2); padding-top: clamp(80px, 9vw, 120px); font-size: .95rem; }
.footer-hills { position: absolute; left: 0; right: 0; top: -1px; width: 100%; height: clamp(40px, 6vw, 90px); fill: var(--bg); transform: scaleY(-1); }
.footer-grid { display: grid; gap: 40px; padding-bottom: 48px; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.3fr; } }
.footer-logo img { width: 80px; height: 80px; border-radius: 50%; margin-bottom: 14px; box-shadow: 0 0 0 3px rgba(180, 83, 42, .3); transition: transform .8s var(--ease); }
.footer-logo:hover img { transform: rotate(-10deg); }
.footer-name { font-family: var(--serif-text); font-size: 1.4rem; color: var(--text); margin-bottom: 8px; }
.footer-brand p { max-width: 36ch; }
.socials { display: flex; gap: 10px; margin-top: 18px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--border-2); background: var(--surface); display: grid; place-items: center; transition: all .3s var(--ease); }
.socials a:hover { border-color: var(--accent); color: #fff; background: var(--accent); transform: translateY(-3px); }
.footer-title { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-hover); font-weight: 400; margin-bottom: 20px; }
.footer-links { list-style: none; display: grid; gap: 10px; }
.footer-links a { transition: color .2s, padding .3s var(--ease); }
.footer-links a:hover { color: var(--accent-hover); padding-left: 8px; }
.footer-contact { list-style: none; display: grid; gap: 14px; margin-bottom: 24px; }
.footer-contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer-contact .icon { margin-top: 5px; color: var(--accent); }
.footer-contact a { word-break: break-word; }
.footer-contact a:hover { color: var(--accent-hover); }
.footer-ethics { border-top: 1px solid var(--border-2); padding-top: 22px; padding-bottom: 22px; }
.footer-ethics p { margin: 0; font-size: .85rem; display: flex; gap: 10px; align-items: flex-start; }
.footer-ethics .icon { color: var(--olive); flex: none; margin-top: 3px; }
.footer-bottom { border-top: 1px solid var(--border-2); padding: 22px 0 calc(22px + env(safe-area-inset-bottom)); font-size: .82rem; color: var(--text-3); }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
.footer-bottom p { margin: 0; }
.footer-bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: 18px; }
.footer-bottom a:hover { color: var(--accent-hover); }
@media (max-width: 767px) { .site-footer { padding-bottom: 64px; } .footer-bottom-inner { flex-direction: column; } }

/* ---------- Mobile dock / WhatsApp ---------- */
.mobile-dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9990; display: flex; gap: 8px; padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .94); backdrop-filter: blur(12px); border-top: 1px solid var(--border); transition: transform .4s var(--ease); animation: dockIn .8s .6s var(--ease) both; }
@keyframes dockIn { from { transform: translateY(110%); } to { transform: none; } }
.mobile-dock.is-hidden { transform: translateY(110%); }
.mobile-dock a { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border-radius: 999px; font-weight: 600; font-size: .95rem; }
.dock-wa { flex: 0 0 40%; border: 1px solid var(--border-2); color: var(--text); background: var(--surface); }
.dock-plan { flex: 1; background: var(--accent); color: #fff; }
@media (min-width: 768px) { .mobile-dock { display: none; } }
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 9980; width: 58px; height: 58px; border-radius: 50%; display: none; place-items: center; background: #25D366; color: #fff; box-shadow: 0 10px 30px -8px rgba(37, 211, 102, .7); transition: transform .4s var(--ease); animation: pulseWa 3s 2s infinite; }
.wa-float:hover { transform: scale(1.1) rotate(-6deg); }
@keyframes pulseWa { 0%, 100% { box-shadow: 0 10px 30px -8px rgba(37, 211, 102, .7), 0 0 0 0 rgba(37, 211, 102, .35); } 50% { box-shadow: 0 10px 30px -8px rgba(37, 211, 102, .7), 0 0 0 14px rgba(37, 211, 102, 0); } }
@media (min-width: 768px) { .wa-float { display: grid; } .to-top { bottom: 92px; } }

/* ---------- Toasts ---------- */
.toast-stack { position: fixed; top: calc(var(--header-h) + 16px); right: 16px; left: 16px; z-index: 9995; display: grid; gap: 10px; justify-items: end; pointer-events: none; }
.toast { max-width: 440px; padding: 14px 18px; border-radius: 14px; background: var(--surface); color: var(--text); border: 1px solid var(--border); border-left: 4px solid var(--accent); box-shadow: var(--shadow-lg); font-size: .92rem; animation: toastIn .6s var(--ease); pointer-events: auto; }
@keyframes toastIn { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }
.toast-error { border-left-color: var(--crimson); }
.toast-success { border-left-color: var(--olive); }

/* ==========================================================================
   Motion system
   .reveal          fade/slide in on scroll (JS adds .is-in; siblings auto-staggered)
   .reveal-img      image unmasks upwards on scroll
   [data-split]     headline words rise one by one
   [data-anim]      page-load entrances (fade | arch | reveal-img), delay via --d
   [data-parallax]  subtle scroll parallax   ·   [data-tilt] 3D hover tilt
   ========================================================================== */
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1.1s var(--ease), box-shadow .5s var(--ease), border-color .3s; transition-delay: var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal.is-in:hover { transition-delay: 0s; }
.js .reveal-img { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal-img.is-in { clip-path: inset(0 0 0 0); }
.js .reveal-img.is-done, .js [data-anim="reveal-img"].is-done { clip-path: none !important; animation: none !important; }
.js .reveal-img img { transform: scale(1.2); transition: transform 1.8s var(--ease); }
.js .reveal-img.is-in img { transform: scale(1); }
.js [data-anim="fade"] { opacity: 0; }
.js.is-ready [data-anim="fade"] { animation: rise 1s var(--ease) forwards; animation-delay: calc(var(--d, .1s) + var(--load-delay, 0s)); }
.js [data-anim="arch"] { opacity: 0; }
.js.is-ready [data-anim="arch"] { animation: archIn 1.4s var(--ease) forwards; animation-delay: calc(.2s + var(--load-delay, 0s)); }
@keyframes archIn { from { opacity: 0; transform: translateY(60px) scale(.96); } to { opacity: 1; transform: none; } }
.js [data-anim="reveal-img"] { clip-path: inset(100% 0 0 0); }
.js.is-ready [data-anim="reveal-img"] { animation: unmask 1.5s var(--ease) forwards; animation-delay: calc(.25s + var(--load-delay, 0s)); }
@keyframes unmask { to { clip-path: inset(0 0 0 0); } }
.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
.split-word > span { display: inline-block; transform: translateY(110%); transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 60ms + var(--load-delay, 0s)); }
[data-split].is-in .split-word > span { transform: none; }
.js .kicker.reveal::before { transform: scaleX(0); transition: transform 1s .3s var(--ease); }
.js .kicker.reveal.is-in::before { transform: scaleX(1); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js .reveal, .js .reveal-img, .js [data-anim] { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .split-word > span { transform: none !important; }
  .topo g, .float-card, .sun-disc { animation: none !important; }
  .topo path, .topo ellipse { stroke-dashoffset: 0; }
}

/* ---------- Large screens ---------- */
@media (min-width: 1600px) { :root { --container: 1400px; } }
@media (min-width: 1920px) { html { font-size: 112.5%; } :root { --container: 1520px; --header-h: 88px; } }
@media (min-width: 2400px) { html { font-size: 128%; } :root { --container: 1760px; --header-h: 96px; } }

/* ---------- Short landscape phones ---------- */
@media (max-height: 520px) and (orientation: landscape) {
  :root { --header-h: 60px; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; min-height: 0; }
  .hero-title { font-size: clamp(2rem, 5vw, 2.6rem); }
  .hero .arch { aspect-ratio: 1; max-width: 300px; }
  .hero-trust, .float-card { display: none; }
  .brand-mark { width: 40px; height: 40px; }
  .mobile-nav nav > ul > li > a, .mobile-nav summary { font-size: 1.35rem; padding: 10px 0; }
}
@media (max-width: 359px) { :root { --gutter: 14px; } .brand-name { font-size: 1.1rem; } .brand-mark { width: 36px; height: 36px; } }
@media print { .site-header, .mobile-dock, .wa-float, .site-footer, .cta-band, .preloader, .scroll-progress, .to-top { display: none !important; } }
.plan-form-wrap { overflow-x: clip; }
.brand-custom { max-height: 54px; max-width: 200px; width: auto; height: auto; object-fit: contain; }
.mobile-nav .brand-custom { max-height: 44px; }
.footer-logo .footer-custom { width: auto; height: auto; max-width: 180px; max-height: 120px; border-radius: 0; box-shadow: none; object-fit: contain; }
.brand-badge { background: #141618; border-radius: 50%; padding: 5px; aspect-ratio: 1; object-fit: contain; box-shadow: 0 0 0 2px rgba(180, 83, 42, .35); }
.brand-custom.brand-badge { width: 52px; height: 52px; max-height: none; }
.footer-logo .footer-custom.brand-badge { width: 96px; height: 96px; max-height: none; border-radius: 50%; padding: 8px; }
.preloader-inner img.brand-badge { padding: 6px; }


/* ---------- Editorial refinements ---------- */
.photo-caption { font-family: var(--serif-text); font-style: italic; font-size: .9rem; color: var(--text-3); margin: 12px 2px 0; }
.exp-more { font-weight: 600; font-size: .85rem; color: var(--accent-hover); border-bottom: 1px solid currentColor; }
.exp-card:hover .exp-more { color: var(--text); }
.to-top { font: 600 .72rem var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--text); }
.checks li, .trust li, .cta-points li { position: relative; padding-left: 18px; display: block; }
.checks li::before, .trust li::before, .cta-points li::before { content: ''; position: absolute; left: 0; top: .72em; width: 7px; height: 1.5px; background: var(--accent); }
.contact-list li, .footer-contact li { display: block; }
.contact-list .mono { margin-bottom: 2px; }
.mobile-contact { display: block; }
.hero-title { font-size: clamp(2.5rem, 5vw + .5rem, 4.6rem); max-width: 14ch; }
.quote blockquote, .prose blockquote { font-family: var(--serif-text); font-style: italic; }
.ticker-track { font-family: var(--sans); font-weight: 600; letter-spacing: .08em; font-size: .74rem; }
.stats > div { border-radius: var(--radius-lg); }
.stats dt { font-family: var(--serif); font-weight: 400; }
.guide-grid { display: grid; gap: 1px; background: var(--border); border: 1px solid var(--border); grid-template-columns: 1fr; }
@media (min-width: 640px) { .guide-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .guide-grid { grid-template-columns: repeat(3, 1fr); } }
.guide-grid a { display: block; background: var(--surface); padding: 26px 26px 28px; transition: background .3s; }
.guide-grid a:hover { background: var(--accent-soft); }
.guide-grid h3 { font-family: var(--serif-text); font-weight: 400; font-size: 1.35rem; margin-bottom: 6px; }
.guide-grid p { font-size: .93rem; margin: 0; color: var(--text-2); }
.page-faq { margin-top: 56px; }
.sources { margin-top: 48px; padding-top: 18px; border-top: 1px solid var(--border); font-size: .85rem; color: var(--text-3); }
.sources a { color: var(--text-2); text-decoration: underline; }

/* ===== Homepage: full-width slider ===== */
.slider { position: relative; height: clamp(480px, 82vh, 860px); min-height: 480px; overflow: hidden; color: #fff; background: var(--dark); display: flex; align-items: flex-end; }
.slider .hero-slides, .slider .hero-slide { position: absolute; inset: 0; }
.slider .hero-slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 12, 14, .15) 0%, rgba(10, 12, 14, .05) 35%, rgba(10, 12, 14, .7) 100%), linear-gradient(90deg, rgba(10, 12, 14, .45) 0%, rgba(10, 12, 14, 0) 60%); }
.slide-caption { position: absolute; z-index: 3; right: 24px; top: 20px; margin: 0; font-size: .78rem; letter-spacing: .02em; color: rgba(255, 255, 255, .85); text-shadow: 0 1px 3px rgba(0, 0, 0, .5); }
.slider-content { position: relative; z-index: 3; padding-bottom: clamp(84px, 11vh, 120px); }
.slider .kicker { color: #fff; opacity: .9; }
.slider .hero-title { color: #fff; max-width: 15ch; margin-bottom: 18px; }
.slider .hero-sub { color: rgba(255, 255, 255, .9); max-width: 48ch; margin-bottom: 30px; }
.btn-ghost-light { border: 1px solid rgba(255, 255, 255, .7); color: #fff; background: rgba(255, 255, 255, .08); }
.btn-ghost-light:hover { background: #fff; color: var(--text); border-color: #fff; }
.slider-nav { position: absolute; z-index: 4; right: max(16px, calc((100vw - 1200px) / 2)); bottom: 28px; display: flex; align-items: center; gap: 10px; }
.slider .hero-dots { position: static; transform: none; background: rgba(0, 0, 0, .25); }
.slider .hero-dots button { background: rgba(255, 255, 255, .45); }
.slider .hero-dots button.is-active { background: #fff; }
.slider-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .6); background: rgba(0, 0, 0, .2); color: #fff; display: grid; place-items: center; cursor: pointer; transition: background .3s; }
.slider-arrow:hover { background: rgba(255, 255, 255, .2); }
@media (max-width: 639px) {
  .slider-nav { left: 16px; right: 16px; justify-content: space-between; bottom: 20px; }
  .slider-content { padding-bottom: 96px; }
  .slide-caption { display: none; }
}

/* ===== Jawai photo strip ===== */
.photo-strip { display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
.photo-strip figure { margin: 0; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 4 / 3; position: relative; }
.photo-strip figure:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.photo-strip picture, .photo-strip img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1024px) {
  .photo-strip { grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, 220px); }
  .photo-strip figure, .photo-strip figure:first-child { aspect-ratio: auto; }
  .photo-strip figure:first-child { grid-column: 1; grid-row: 1 / 3; }
}

/* ===== Village life ===== */
.village-intro { max-width: 68ch; color: var(--text-2); margin: -8px 0 28px; }
.village-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1024px) { .village-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; } }
.village-item { margin: 0; }
.village-item picture { display: block; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 4 / 3; }
.village-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.village-item:hover img { transform: scale(1.05); }
.village-item figcaption { font-size: .85rem; line-height: 1.4; color: var(--text-3); padding: 8px 2px 0; }
.village-compact { padding-top: 0; }

/* ===== Booking section ===== */
.booking-grid { display: grid; gap: clamp(32px, 5vw, 64px); align-items: start; }
@media (min-width: 1024px) { .booking-grid { grid-template-columns: 1fr 1fr; } }
.booking-details { margin: 28px 0; border-top: 1px solid var(--border); }
.booking-details div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.booking-details dt { font-weight: 600; font-size: .92rem; }
.booking-details dd { margin: 0; color: var(--text-2); font-size: .95rem; }
@media (max-width: 479px) { .booking-details div { grid-template-columns: 1fr; gap: 2px; } }
.booking-photo { position: relative; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 16 / 9; display: none; }
.booking-photo picture, .booking-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1024px) { .booking-photo { display: block; } }
.booking-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 36px); box-shadow: var(--shadow); }
@media (min-width: 1024px) { .booking-card { position: sticky; top: 96px; } }
.booking-form-title { font-family: var(--serif-text); font-weight: 400; font-size: 1.5rem; margin-bottom: 18px; }
.booking-card .field { margin-bottom: 14px; }
.booking-card .field-row { gap: 12px; }
.btn-block { width: 100%; justify-content: center; }

/* ===== Homepage gallery ===== */
.home-gallery { columns: auto; display: grid; gap: 12px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px) { .home-gallery { grid-template-columns: repeat(4, 1fr); } }
.home-gallery .masonry-item { margin: 0; }
.home-gallery .masonry-item a { aspect-ratio: 1; }
.home-gallery .masonry-item picture, .home-gallery .masonry-item img { width: 100%; height: 100%; object-fit: cover; }

/* ===== Type tuning for Alegreya ===== */
body { font-size: 1.08rem; }
.display-1, h1, .display-2, h2, .hero-title { font-weight: 500; letter-spacing: 0; }
.display-3, h3, .brand-name { font-weight: 500; }
.kicker { font-family: var(--sans); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; }
.section-alt { background: var(--subtle); }

/* ===== Distance map ===== */
.distances { background: linear-gradient(180deg, var(--subtle) 0%, var(--bg) 100%); }
.distances-grid { display: grid; gap: clamp(28px, 4vw, 56px); align-items: center; }
@media (min-width: 1024px) { .distances-grid { grid-template-columns: 5fr 7fr; } }
.distance-list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 10px; }
.distance-list li { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "type km" "name km" "time km"; column-gap: 16px; padding: 14px 18px; background: var(--surface); border: 1px solid var(--border); border-left: 4px solid var(--accent); border-radius: var(--radius-lg); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; cursor: default; }
.distance-list li.dist-rail { border-left-color: var(--olive); }
.distance-list li.dist-city { border-left-color: #C68A2E; }
.distance-list li:hover, .distance-list li.is-hot { transform: translateX(6px); box-shadow: var(--shadow); }
.dist-type { grid-area: type; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.dist-name { grid-area: name; font-family: var(--serif); font-weight: 500; font-size: 1.15rem; line-height: 1.25; }
.dist-time { grid-area: time; font-size: .88rem; color: var(--text-2); }
.dist-km { grid-area: km; align-self: center; font-family: var(--serif); font-weight: 700; font-size: clamp(1.4rem, 2vw, 1.9rem); color: var(--accent); white-space: nowrap; }
.dist-rail .dist-km { color: var(--olive); }
.dist-city .dist-km { color: #A86F1C; }

.map-card { margin: 0; background: #FBFCFB; border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); overflow: hidden; position: relative; }
.map-card figcaption { padding: 10px 18px 14px; font-size: .82rem; color: var(--text-3); border-top: 1px solid var(--border); background: var(--surface); }
.route-map { display: block; width: 100%; height: auto; color: var(--olive); font-family: var(--sans); }
.map-ridge { stroke: #B9A88A; stroke-width: 10; stroke-linecap: round; opacity: .35; stroke-dasharray: 2 14; }
.map-note { font-size: 11px; letter-spacing: .2em; fill: var(--text-3); font-weight: 700; }
.map-water { fill: #BFDCE6; stroke: #8FBFCF; stroke-width: 1.5; }
.route-line { fill: none; stroke: var(--accent); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; transition: stroke-dashoffset 1.6s var(--ease-in-out); transition-delay: calc(.35s + var(--i) * .25s); }
.route-rail .route-line { stroke: var(--olive); }
.route-city .route-line { stroke: #C68A2E; }
.route-flow { fill: none; stroke: #fff; stroke-width: 1.5; stroke-dasharray: 1.2 3.8; opacity: 0; }
.map-pin { opacity: 0; transition: opacity .6s ease; transition-delay: calc(1.3s + var(--i) * .25s); }
.pin-dot { fill: var(--accent); stroke: #fff; stroke-width: 3; }
.route-rail .pin-dot { fill: var(--olive); }
.route-city .pin-dot { fill: #C68A2E; }
.pin-halo { fill: var(--accent); opacity: .15; transform-box: fill-box; transform-origin: center; }
.route-rail .pin-halo { fill: var(--olive); }
.pin-name { font-size: 15px; font-weight: 700; fill: var(--text); paint-order: stroke; stroke: #FBFCFB; stroke-width: 5px; stroke-linejoin: round; }
.pin-km { font-size: 13.5px; fill: var(--text-2); paint-order: stroke; stroke: #FBFCFB; stroke-width: 5px; stroke-linejoin: round; }
.home-dot { fill: var(--dark); stroke: #fff; stroke-width: 4; }
.home-ring { fill: none; stroke: var(--accent); stroke-width: 2; transform-box: fill-box; transform-origin: center; animation: ring 2.8s ease-out infinite; }
.home-ring-2 { animation-delay: 1.4s; }
.home-label { font-family: var(--serif); font-size: 19px; font-weight: 700; letter-spacing: .14em; fill: var(--dark); paint-order: stroke; stroke: #FBFCFB; stroke-width: 6px; }
.map-compass circle { fill: #fff; stroke: var(--border-2); }
.map-compass path { fill: var(--accent); }
.map-compass text { font-size: 11px; font-weight: 700; fill: var(--text-2); }
.map-card.is-in .route-line { stroke-dashoffset: 0; }
.map-card.is-in .map-pin { opacity: 1; }
.map-card.is-in .route-flow { opacity: .9; animation: flow 3s linear infinite; animation-delay: calc(2s + var(--i) * .25s); }
.map-card.is-in .pin-halo { animation: halo 2.4s ease-in-out infinite; animation-delay: calc(1.5s + var(--i) * .3s); }
.map-route.is-hot .route-line { stroke-width: 5; }
.map-route.is-hot .pin-halo { opacity: .35; }
@keyframes ring { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }
@keyframes halo { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.6); } }
@keyframes flow { to { stroke-dashoffset: -20; } }

/* ===== Extra motion ===== */
.kicker { position: relative; }
.section-head .kicker::after, .booking-info .kicker::after, .distances-text .kicker::after { content: ''; display: inline-block; width: 0; height: 2px; background: currentColor; margin-left: 12px; vertical-align: middle; transition: width 1s var(--ease) .3s; }
.kicker.is-in::after { width: 44px; }
.card, .safari-card, .post-card { transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.card:hover, .safari-card:hover, .post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.photo-strip figure img { transition: transform 1.4s var(--ease); }
.photo-strip figure:hover img { transform: scale(1.06); }
.slider-content .hero-title { animation: rise 1.2s var(--ease) both .1s; }
.slider-content .hero-sub { animation: rise 1.2s var(--ease) both .3s; }
.slider-content .btn-row { animation: rise 1.2s var(--ease) both .5s; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.btn { transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .3s; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -12px var(--accent); }
@media (prefers-reduced-motion: reduce) {
  .route-line { stroke-dashoffset: 0; transition: none; }
  .map-pin { opacity: 1; transition: none; }
  .home-ring, .route-flow, .pin-halo, .slider-content .hero-title, .slider-content .hero-sub, .slider-content .btn-row { animation: none !important; }
}
.map-rings circle { fill: none; stroke: var(--olive); stroke-opacity: .16; stroke-dasharray: 3 5; }
.map-rings text { font-size: 11px; fill: var(--text-3); font-weight: 700; letter-spacing: .06em; }
.map-axes path { stroke: var(--olive); stroke-opacity: .08; }
.home-sub { font-size: 12px; fill: var(--text-2); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; paint-order: stroke; stroke: #FBFCFB; stroke-width: 5px; }
.map-rings circle { transform-box: fill-box; transform-origin: center; transform: scale(.6); opacity: 0; transition: transform 1.2s var(--ease), opacity 1.2s; }
.map-card.is-in .map-rings circle { transform: none; opacity: 1; }
@media (max-width: 1023px) { .map-card { order: -1; } }
@media (max-width: 639px) {
  .pin-name { font-size: 21px; }
  .pin-km { font-size: 18px; }
  .home-label { font-size: 24px; }
  .map-rings text, .map-note { font-size: 14px; }
}

/* ===== Rounded everything: pill buttons, soft-cornered images ===== */
:root { --img-radius: 10px; --img-radius-sm: 8px; }
.btn, .btn-sm, .btn-lg, .btn-block, .chip, .icon-btn, .dock-plan, .slider-arrow,
.link-arrow + .btn, .header .btn, .booking-card .btn { border-radius: 999px; }
.btn { padding-left: 28px; padding-right: 28px; }
.pill { border-radius: 999px; padding: 5px 12px; }
.hero-dots, .hero-dots button, .wizard-progress, .wizard-progress span { border-radius: 999px; }
.choice span, .choice { border-radius: 10px; }
.stepper { border-radius: 999px; overflow: hidden; }
.field input, .field select, .field textarea { border-radius: 10px; }

/* image frames */
.framed, .arch, .arch-sm, .arch-plan, .page-hero-media, .page-hero-frame, .feature-media, .split-media .framed,
.exp-media, .post-media, .team-photo, .value-media, .value-photo, .cta-media, .article-hero,
.photo-strip figure, .booking-photo, .masonry-item a, .home-gallery .masonry-item a, .hero-slide-thumb,
.map-card, .booking-card, .aside-card, .form-card, .feature-card, .exp-card, .post-card, .team-card,
.distance-list li, .guide-grid, .prose img, .prose figure, .lightbox figure img {
  border-radius: var(--img-radius);
}
.framed, .page-hero-media, .feature-media, .exp-media, .post-media, .team-photo, .value-media, .value-photo,
.cta-media, .article-hero, .photo-strip figure, .booking-photo, .masonry-item a, .exp-card, .post-card, .guide-grid {
  overflow: hidden; isolation: isolate;
}
.exp-card .exp-media, .post-card .post-media { border-radius: var(--img-radius) var(--img-radius) 0 0; }
.team-photo { border-radius: var(--img-radius); }
.distance-list li { border-radius: var(--img-radius-sm); }
.guide-grid a:first-child { border-top-left-radius: var(--img-radius); }

/* ===== Logo: full artwork, no circle ===== */
.brand-mark, .brand-custom, .brand-badge, .footer-logo img, .preloader-inner img, .mobile-nav .brand img {
  border-radius: 0 !important; box-shadow: none !important; aspect-ratio: auto !important; padding: 0 !important; object-fit: contain;
}
.brand-mark { width: auto !important; height: 60px !important; }
.brand:hover .brand-mark, .footer-logo:hover img { transform: none; }
.brand-custom, .brand-custom.brand-badge { width: auto !important; height: 60px !important; max-width: 200px; }
.footer-logo img, .footer-logo .footer-custom, .footer-logo .footer-custom.brand-badge { width: auto !important; height: 160px !important; max-width: 240px; }
.preloader-inner img { width: auto !important; height: 120px !important; }
@media (max-width: 639px) { .brand-mark, .brand-custom, .brand-custom.brand-badge { height: 50px !important; } }
@media (max-width: 359px) { .brand-mark, .brand-custom { height: 44px !important; } }

/* ===== Distance map: 3D, interactive ===== */
.map-card { --rx: 42deg; --rz: -10deg; background: linear-gradient(180deg, #FFFFFF 0%, #F3F6F4 100%); }
.map-card.is-flat { --rx: 0deg; --rz: 0deg; }
.map-toolbar { position: absolute; z-index: 30; top: 14px; left: 14px; right: 14px; display: flex; align-items: center; gap: 6px; pointer-events: none; }
.map-btn { pointer-events: auto; border: 1px solid var(--border-2); background: rgba(255, 255, 255, .9); color: var(--text-2); font: 700 .78rem var(--sans); letter-spacing: .08em; padding: 7px 14px; border-radius: 999px; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.map-btn.is-on { background: var(--dark); color: #fff; border-color: var(--dark); }
.map-toolbar-hint { margin-left: auto; font-size: .78rem; color: var(--text-3); }
@media (hover: none) { .map-toolbar-hint { display: none; } }
.map-stage { position: relative; perspective: 1500px; perspective-origin: 50% 20%; padding: 74px 18px 6px; touch-action: pan-y; cursor: grab; }
.map-stage:active { cursor: grabbing; }
.map-stage::after { content: ''; position: absolute; left: 12%; right: 12%; bottom: 2%; height: 38px; background: radial-gradient(closest-side, rgba(23, 32, 28, .22), transparent); filter: blur(6px); pointer-events: none; transition: opacity .8s; }
.map-card.is-flat .map-stage::after { opacity: 0; }
.map-plane { position: relative; transform-style: preserve-3d; transform: rotateX(var(--rx)) rotateZ(var(--rz)); transform-origin: 50% 60%; transition: transform .9s var(--ease); will-change: transform; }
.map-card.is-dragging .map-plane { transition: transform .12s linear; }
.map-plane .route-map { border-radius: 14px; box-shadow: 0 1px 0 #fff inset, 0 30px 50px -30px rgba(23, 32, 28, .45); }
.map-hills ellipse { transform-box: fill-box; transform-origin: center; }

/* standing pins: each pin undoes the plane's rotation so it stays upright */
.pin3d { position: absolute; width: 0; height: 0; padding: 0; border: 0; background: none; transform-style: preserve-3d; transform: rotateZ(calc(-1 * var(--rz))) rotateX(calc(-1 * var(--rx))); transition: transform .9s var(--ease); cursor: pointer; z-index: 2; font: inherit; color: inherit; }
.map-card.is-dragging .pin3d { transition: transform .12s linear; }
.pin-body { --bx: -50%; position: absolute; left: 0; bottom: 0; transform: translateX(var(--bx)); display: flex; flex-direction: column; align-items: center; transition: transform .45s var(--ease); opacity: 0; }
.map-card.is-in .pin-body { opacity: 1; transition: transform .45s var(--ease), opacity .6s ease; transition-delay: 0s, calc(1.4s + var(--i, 0) * .25s); }
.pin-stem { width: 2px; height: 30px; background: linear-gradient(var(--accent), rgba(180, 83, 42, .15)); }
.pin-card { display: flex; align-items: center; gap: 8px; white-space: nowrap; background: #fff; border: 1px solid var(--border); border-bottom: 3px solid var(--accent); border-radius: 10px; padding: 6px 10px 5px 6px; box-shadow: 0 10px 22px -12px rgba(23, 32, 28, .5); }
.pin-code { font: 700 .72rem var(--sans); letter-spacing: .06em; color: #fff; background: var(--accent); border-radius: 6px; padding: 4px 6px; }
.pin-text { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.pin-text strong { font: 600 .86rem var(--sans); color: var(--text); }
.pin-text small, .pin-home small { font-size: .74rem; color: var(--text-2); }
.pin-rail .pin-card { border-bottom-color: var(--olive); } .pin-rail .pin-code { background: var(--olive); } .pin-rail .pin-stem { background: linear-gradient(var(--olive), rgba(47, 74, 62, .15)); }
.pin-city .pin-card { border-bottom-color: #C68A2E; } .pin-city .pin-code { background: #C68A2E; } .pin-city .pin-stem { background: linear-gradient(#C68A2E, rgba(198, 138, 46, .15)); }
.pin-home { z-index: 3; cursor: default; }
.pin-home .pin-card { background: var(--dark); border-color: var(--dark); border-bottom-color: var(--accent); padding: 7px 12px; flex-direction: column; gap: 0; }
.pin-home .pin-code { background: none; padding: 0; font-family: var(--serif); font-size: 1.05rem; letter-spacing: .16em; }
.pin-home small { color: rgba(255, 255, 255, .7); text-transform: uppercase; letter-spacing: .12em; font-size: .64rem; }
.pin-home .pin-stem { height: 40px; background: linear-gradient(var(--dark), rgba(24, 34, 30, .1)); }
.pin3d:hover .pin-body, .pin3d:focus-visible .pin-body, .pin3d.is-active .pin-body { transform: translateX(var(--bx)) translateY(-10px) scale(1.08); }
.pin-west .pin-body { --bx: calc(-100% + 14px); align-items: flex-end; transform-origin: right bottom; }
.pin-west .pin-stem { margin-right: 13px; }
.pin-east .pin-body { --bx: -14px; align-items: flex-start; transform-origin: left bottom; }
.pin-east .pin-stem { margin-left: 13px; }
.pin3d.is-active { z-index: 5; }
.pin3d.is-active .pin-card { box-shadow: 0 16px 28px -12px rgba(23, 32, 28, .6), 0 0 0 3px rgba(180, 83, 42, .25); }
.pin3d:focus-visible { outline: none; }
.pin3d:focus-visible .pin-card { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 767px) {
  .pin-text { display: none; }
  .pin-card { padding: 4px; gap: 0; border-radius: 8px; }
  .pin-code { font-size: .66rem; padding: 3px 5px; }
  .pin-stem { height: 30px; }
  .pin-home .pin-card { padding: 4px 8px; }
  .pin-home .pin-code { font-size: .8rem; letter-spacing: .1em; }
  .pin-home small { display: none; }
  .pin-home .pin-stem { height: 8px; }
  .pin-west .pin-body { --bx: calc(-100% + 8px); } .pin-west .pin-stem { margin-right: 7px; }
  .pin-east .pin-body { --bx: -8px; } .pin-east .pin-stem { margin-left: 7px; }
  .map-stage { padding-top: 64px; }
  .map-card { --rx: 34deg; --rz: -6deg; }
}

/* selection */
.map-card.has-active .map-route { opacity: .22; transition: opacity .4s; }
.map-card.has-active .map-route.is-hot { opacity: 1; }
.map-route.is-hot .route-line { stroke-width: 5; }
.map-info { min-height: 64px; padding: 12px 18px; border-top: 1px solid var(--border); background: #fff; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.map-hint { margin: 0; color: var(--text-3); font-size: .92rem; }
.map-info .info-kind { font: 700 .7rem var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); display: block; }
.map-info .info-name { font-family: var(--serif); font-weight: 500; font-size: 1.15rem; }
.map-info .info-km { font-family: var(--serif); font-weight: 700; font-size: 1.5rem; color: var(--accent); margin-left: auto; }
.map-info .info-time { color: var(--text-2); font-size: .9rem; }
.map-info a { font-weight: 600; font-size: .9rem; }
.map-info > * { animation: rise .5s var(--ease) both; }
@media (prefers-reduced-motion: reduce) { .map-plane, .pin3d { transition: none; } .map-card.is-in .pin-body { transition: none; } }

/* Map: flat view only */
.map-card, .map-card.is-flat { --rx: 0deg; --rz: 0deg; }
@media (max-width: 767px) { .map-card { --rx: 0deg; --rz: 0deg; } }
.map-stage { cursor: default; perspective: none; padding-top: 64px; }
.map-stage::after { display: none; }

/* Ticker: continuous, seamless loop (never pauses) */
.ticker-track { gap: 0; animation: ticker 40s linear infinite; will-change: transform; }
.ticker-group { display: flex; flex: none; align-items: center; gap: 30px; padding-right: 30px; }
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation-duration: 40s !important; animation-iteration-count: infinite !important; }
}

/* ===== "Before you come" guide cards ===== */
.guide-cards { display: grid; gap: 16px; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 1024px) { .guide-cards { grid-template-columns: repeat(4, 1fr); gap: 20px; } }
.guide-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--img-radius, 10px); overflow: hidden; color: var(--text); transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s; }
.guide-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--border-2); color: var(--text); }
.guide-photo { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.guide-photo picture, .guide-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.guide-photo img { transition: transform 1.2s var(--ease); }
.guide-card:hover .guide-photo img { transform: scale(1.07); }
.guide-num { position: absolute; left: 12px; top: 12px; font: 700 .75rem var(--sans); letter-spacing: .08em; color: #fff; background: rgba(23, 32, 28, .62); backdrop-filter: blur(4px); border-radius: 999px; padding: 4px 10px; }
.guide-body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 18px; flex: 1; }
.guide-body strong { font-family: var(--serif); font-weight: 500; font-size: 1.22rem; line-height: 1.2; }
.guide-intro { font-size: .92rem; color: var(--text-2); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.guide-more { margin-top: auto; padding-top: 8px; font-weight: 700; font-size: .84rem; color: var(--accent); }
.guide-more::after { content: ' \2192'; display: inline-block; transition: transform .3s var(--ease); }
.guide-card:hover .guide-more::after { transform: translateX(4px); }
@media (max-width: 639px) {
  .guide-cards { gap: 12px; }
  .guide-body { padding: 12px 12px 14px; }
  .guide-body strong { font-size: 1.02rem; }
  .guide-intro { display: none; }
  .guide-more { font-size: .78rem; }
}

/* Header always visible */
.site-header.is-hidden { transform: none; }

/* Back-to-top: round up-arrow button */
.to-top { font-size: 0; letter-spacing: 0; background: var(--accent); color: #fff; box-shadow: 0 10px 24px -10px rgba(180, 83, 42, .7); }
.to-top .icon { width: 22px; height: 22px; transition: transform .3s var(--ease); }
.to-top:hover { background: var(--accent-hover); color: #fff; }
.to-top:hover .icon { transform: translateY(-3px); }

/* ===== Simple booking form ===== */
.booking-form .bk-label { display: block; font: 700 .78rem var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); margin: 6px 0 10px; padding: 0; }
.bk-types { border: 0; margin: 0 0 14px; padding: 0; min-width: 0; }
.bk-type-grid { display: grid; gap: 8px; grid-template-columns: 1fr; }
@media (min-width: 520px) { .bk-type-grid { grid-template-columns: 1fr 1fr; } }
.bk-type { position: relative; cursor: pointer; display: block; }
.bk-type input { position: absolute; opacity: 0; pointer-events: none; }
.bk-type-card { display: flex; flex-direction: column; gap: 2px; height: 100%; padding: 11px 14px 11px 38px; border: 1.5px solid var(--border-2); border-radius: 10px; background: #fff; position: relative; transition: border-color .25s, background .25s, box-shadow .25s; }
.bk-type-card::before { content: ''; position: absolute; left: 13px; top: 14px; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--border-2); background: #fff; transition: border-color .25s, box-shadow .25s; }
.bk-type-card strong { font: 600 .95rem var(--sans); color: var(--text); line-height: 1.25; }
.bk-type-card small { font-size: .8rem; color: var(--text-2); line-height: 1.35; }
.bk-type-card em { font-style: normal; font-weight: 700; font-size: .82rem; color: var(--accent); margin-top: 2px; }
.bk-type:hover .bk-type-card { border-color: var(--accent); }
.bk-type input:checked + .bk-type-card { border-color: var(--accent); background: var(--accent-soft); box-shadow: 0 0 0 3px rgba(180, 83, 42, .12); }
.bk-type input:checked + .bk-type-card::before { border-color: var(--accent); box-shadow: inset 0 0 0 3px #fff; background: var(--accent); }
.bk-type input:focus-visible + .bk-type-card { outline: 2px solid var(--accent); outline-offset: 2px; }
.booking-form .field { margin-bottom: 12px; }
.booking-form .form-note { font-size: .8rem; color: var(--text-3); margin-top: 10px; }
.plan-form.booking-card { max-width: 640px; margin: 0 auto; }
.to-top svg.icon { position: static; inset: auto; width: 22px; height: 22px; transform: none; }
.to-top:hover svg.icon { transform: translateY(-3px); }
@media (max-width: 1023px) { .page-plan .arch-plan { display: none; } }

/* ===== Book / Ask tabs ===== */
.bk-tablist { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin-bottom: 20px; background: var(--subtle); border: 1px solid var(--border); border-radius: 999px; }
.bk-tablist [role="tab"] { border: 0; background: transparent; padding: 11px 12px; border-radius: 999px; font: 700 .92rem var(--sans); color: var(--text-2); cursor: pointer; transition: background .3s, color .3s, box-shadow .3s; }
.bk-tablist [role="tab"][aria-selected="true"] { background: var(--accent); color: #fff; box-shadow: 0 6px 16px -8px rgba(180, 83, 42, .8); }
.bk-tablist [role="tab"]:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.bk-panel:not([hidden]) { animation: rise .45s var(--ease) both; }
.bk-intro { font-size: .95rem; color: var(--text-2); margin: 0 0 14px; }
.header-ask { font-weight: 600; font-size: .95rem; color: var(--text); margin-right: 18px; border-bottom: 1px solid transparent; transition: color .3s, border-color .3s; }
.header-ask:hover { color: var(--accent); border-color: currentColor; }

/* ===== Jawai Dam through the seasons ===== */
.season-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .season-grid { grid-template-columns: repeat(3, 1fr); } }
.season-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--img-radius, 10px); overflow: hidden; display: flex; flex-direction: column; transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.season-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.season-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.season-photo picture, .season-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.season-photo img { transition: transform 1.4s var(--ease); }
.season-card:hover .season-photo img { transform: scale(1.06); }
.season-tag { position: absolute; left: 14px; bottom: 14px; font: 700 .74rem var(--sans); letter-spacing: .1em; text-transform: uppercase; color: #fff; padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(4px); }
.season-winter .season-tag { background: rgba(46, 104, 140, .85); }
.season-summer .season-tag { background: rgba(180, 83, 42, .88); }
.season-monsoon .season-tag { background: rgba(47, 92, 62, .88); }
.season-body { padding: 18px 20px 22px; }
.season-body h3 { font-family: var(--serif); font-weight: 500; font-size: 1.3rem; margin-bottom: 8px; }
.season-body p { margin: 0; color: var(--text-2); font-size: .97rem; }
.season-winter { border-top: 3px solid #2E688C; } .season-summer { border-top: 3px solid var(--accent); } .season-monsoon { border-top: 3px solid #2F5C3E; }
.seasons .section-head h2 { max-width: 28ch; }

/* ===== Mobile: no sideways scroll, comfortable tap targets ===== */
html, body { overflow-x: clip; max-width: 100%; }
img, svg, video, iframe { max-width: 100%; }
.topo { pointer-events: none; }
@media (max-width: 767px) {
  .footer-links a, .footer-bottom a, .footer-contact a { display: inline-block; padding: 10px 0; }
  .footer-links li { margin: 0; }
  .breadcrumbs a { display: inline-block; padding: 10px 0; }
  .hero-dots button { position: relative; height: 24px; background: transparent !important; }
  .hero-dots button::before { content: ''; position: absolute; left: 0; right: 0; top: 10px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .45); transition: background .3s; }
  .hero-dots button.is-active::before { background: #fff; }
  .form-note a, .prose a, .contact-list a, .mobile-contact { display: inline-block; padding: 6px 0; }
}
@media (max-width: 767px) { .crumbs a { display: inline-block; padding: 12px 0; } }
.page-404 .page-hero-media { aspect-ratio: 32 / 9; }
.page-404 .section-tight { padding-top: 28px; }
@media (max-width: 767px) { .page-404 .page-hero-media { aspect-ratio: 16 / 9; } }
.bk-vehicle { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 14px; }
.bk-pill { position: relative; cursor: pointer; }
.bk-pill input { position: absolute; opacity: 0; pointer-events: none; }
.bk-pill span { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 10px 8px; border: 1.5px solid var(--border-2); border-radius: 999px; font: 600 .9rem var(--sans); color: var(--text); background: #fff; transition: border-color .25s, background .25s; line-height: 1.2; }
.bk-pill small { font-weight: 400; font-size: .74rem; color: var(--text-2); }
.bk-pill input:checked + span { border-color: var(--accent); background: var(--accent-soft); }
.bk-pill input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.btn-whatsapp { margin-top: 10px; background: #fff; color: #128C4A; border: 1.5px solid #25D366; justify-content: center; gap: 8px; }
.btn-whatsapp:hover { background: #E9FBF0; color: #0E7A3F; }

/* ===== Phones: swipe sliders and tighter layout ===== */
.m-dots { display: none; }
@media (max-width: 767px) {
  .section { padding: 60px 0; }
  .section-head { margin-bottom: 22px; gap: 10px 16px; }

  /* Long stacks of cards become swipeable rows (with a peek at the next card) */
  [data-m-slider] {
    display: flex !important; flex-wrap: nowrap; gap: 14px !important; columns: auto;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-behavior: smooth;
    margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 14px; scroll-padding-inline: var(--gutter);
    scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  [data-m-slider]::-webkit-scrollbar { display: none; }
  [data-m-slider] > * { flex: 0 0 84%; max-width: 360px; scroll-snap-align: start; margin: 0 !important; min-width: 0; }
  .guide-cards[data-m-slider] > *, .village-grid[data-m-slider] > * { flex-basis: 72%; max-width: 300px; }
  .home-gallery[data-m-slider] > * { flex-basis: 66%; max-width: 280px; }
  /* Off-screen slides never cross the viewport, so show them without the scroll-in animation */
  .js [data-m-slider] > .reveal, .js [data-m-slider] .reveal, .js [data-m-slider] .reveal-img { opacity: 1; transform: none; clip-path: none; }
  .js [data-m-slider] .reveal-img img { transform: none; }
  .m-dots { display: flex; justify-content: center; gap: 2px; margin-top: 4px; }
  .m-dots button { width: 28px; height: 28px; border: 0; background: none; padding: 0; display: grid; place-items: center; cursor: pointer; }
  .m-dots button::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--border-2); transition: width .3s var(--ease), background .3s; }
  .m-dots button.is-active::before { width: 22px; border-radius: 4px; background: var(--accent); }

  /* Main slider: fill the screen without hiding the buttons behind browser bars */
  .slider { height: min(88svh, 720px); min-height: 520px; }
  .slider-content { padding-bottom: 96px; }
  .slider .hero-sub { font-size: 1rem; margin-bottom: 22px; }
  .slider .btn-row { gap: 10px; }
  .slider .btn-row .btn { flex: 1 1 0; padding-inline: 14px; }
  .slider-nav { left: var(--gutter); right: var(--gutter); bottom: 22px; justify-content: space-between; }
  .slide-caption { display: none; }

  /* Booking: safari types two to a row */
  .bk-type-grid { grid-template-columns: 1fr 1fr; }
  .bk-type-card { padding: 10px 10px 10px 32px; }
  .bk-type-card::before { left: 10px; top: 12px; width: 14px; height: 14px; }
  .bk-type-card strong { font-size: .86rem; }
  .bk-type-card small { font-size: .74rem; }

  /* Footer: link lists side by side */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer-grid > .footer-brand, .footer-grid > div:last-child { grid-column: 1 / -1; }
  .footer-bottom ul { gap: 4px 16px; }
  .footer-bottom a { display: inline-block; padding: 6px 0; }
}
@media (max-width: 359px) { .bk-type-grid { grid-template-columns: 1fr; } }

/* ===== Site name in the centre of the top bar ===== */
.header-title {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 1;
  font-family: var(--serif-text); font-size: clamp(1.15rem, 4.6vw, 1.5rem); line-height: 1; letter-spacing: .01em;
  color: var(--text); white-space: nowrap; transition: color .2s;
}
.header-title:hover { color: var(--accent-hover); }
.site-header.has-center-name .header-actions, .site-header.has-center-name .brand { position: relative; z-index: 2; }
@media (max-width: 359px) { .header-title { font-size: 1.05rem; } }
/* PC: menu sits next to the logo so the centre is free for the name */
@media (min-width: 1100px) {
  .site-header.has-center-name .header-inner { justify-content: flex-start; }
  .site-header.has-center-name .main-nav { margin-left: 8px; position: relative; z-index: 2; }
  .site-header.has-center-name .header-actions { margin-left: auto; }
}
@media (min-width: 1100px) and (max-width: 1439px) { .site-header.has-center-name .header-ask { display: none; } }

/* ===== Distance map: illustrated / sketch style ===== */
.map-card, .map-card.is-flat { background: #F7EFDC; }
.map-card figcaption, .map-info { background: #FBF6EA; }
.map-plane .route-map { box-shadow: 0 1px 0 #fff inset, 0 24px 40px -28px rgba(74, 56, 38, .55); }
.map-border { fill: none; stroke: #4A3826; stroke-opacity: .35; stroke-width: 1.2; stroke-dasharray: 10 4 2 4; }
.map-rings circle { stroke: #6B5235; stroke-opacity: .32; stroke-dasharray: 4 5; stroke-width: 1.1; }
.map-rings text { fill: #6B5235; font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: .02em; font-size: 12px; }
.map-sketch use { opacity: .92; }
.map-water { fill: url(#wash); stroke: #3F6E80; stroke-width: 1.4; fill-opacity: .9; }
.map-ripples { fill: none; stroke: #F4FAFC; stroke-width: 1.2; stroke-linecap: round; opacity: .9; }
.map-note { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 15px; letter-spacing: .04em; fill: #4A3826; paint-order: stroke; stroke: #F7EFDC; stroke-width: 4px; stroke-linejoin: round; }
.map-note-hills { font-size: 14px; letter-spacing: .12em; }
.map-compass path { fill: #B4532A; stroke: #4A3826; stroke-width: 1; stroke-linejoin: round; }
.map-compass .compass-s { fill: #F7EFDC; }
.map-compass text { font-family: var(--serif); font-style: italic; font-size: 15px; fill: #4A3826; font-weight: 700; }
.route-line { stroke-width: 3.2; }
.route-flow { stroke: #FFF8EA; }
.pin-dot { stroke: #FBF5E6; }
.home-dot { stroke: #FBF5E6; }
@media (max-width: 639px) { .map-note { font-size: 19px; } .map-rings text { font-size: 15px; } }

/* ===== Distance map: selected place + Directions button ===== */
.map-info { gap: 10px 18px; padding: 14px 18px; }
.map-info .info-place { flex: 1 1 200px; min-width: 0; }
.map-info .info-dist { display: flex; flex-direction: column; line-height: 1.15; }
.map-info .info-km { margin-left: 0; font-size: 1.45rem; }
.map-info .info-time { font-size: .82rem; }
.map-info a.map-dir {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; min-height: 44px;
  background: var(--accent); color: #fff; border-radius: 999px; font: 600 .92rem var(--sans); text-decoration: none;
  box-shadow: 0 8px 18px -10px rgba(180, 83, 42, .8); transition: background .2s, transform .2s, box-shadow .2s;
}
.map-info a.map-dir:hover { background: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 12px 22px -12px rgba(180, 83, 42, .9); }
.map-info a.map-dir:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.map-info a.map-dir .icon { flex: none; }
@media (max-width: 479px) { .map-info a.map-dir { flex: 1 1 100%; justify-content: center; } }

/* ===== Distance map: place icons, labels kept inside the map, bigger on phones ===== */
.pin-code { display: inline-flex; align-items: center; gap: 4px; }
.pin-code .pin-ico { flex: none; }
.dist-type { display: inline-flex; align-items: center; gap: 6px; }
.dist-type .icon { color: var(--accent); }
.dist-rail .dist-type .icon { color: var(--olive); }
.dist-city .dist-type .icon { color: #C68A2E; }
.map-stage, .map-card .map-stage { padding: 14px 14px 6px; }
@media (max-width: 767px) {
  .map-card .map-stage { padding: 6px 4px 2px; }
  .pin-stem { height: 18px; }
  .pin-code { font-size: .7rem; padding: 3px 6px; }
  .pin-home .pin-card { padding: 3px 8px; }
  .distances .map-card { margin-inline: calc(-1 * var(--gutter) + 6px); }
}

/* ===== Booking form: request note and WhatsApp fallback ===== */
.bk-assure { display: flex; gap: 8px; align-items: flex-start; margin: 4px 0 12px; font-size: .84rem; line-height: 1.45; color: var(--text-2); background: var(--subtle, #F4F1EA); border-radius: 10px; padding: 10px 12px; }
.bk-assure .icon { flex: none; margin-top: 2px; color: var(--accent); }
.form-error-wa { font-weight: 700; text-decoration: underline; color: inherit; white-space: nowrap; }

/* ===== Safari cards: two actions; safari page: actions under the facts ===== */
.exp-card h3 a.exp-link { color: inherit; }
.exp-card h3 a.exp-link::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.exp-facts { font-size: .82rem; color: var(--text-3); margin: -4px 0 0; }
.exp-meta a.exp-book { position: relative; z-index: 2; display: inline-flex; align-items: center; min-height: 36px; padding: 6px 14px; border-radius: 999px; background: var(--accent); color: #fff; font-weight: 600; font-size: .82rem; transition: background .2s; }
.exp-meta a.exp-book:hover { background: var(--accent-hover); }
.safari-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding-top: 24px; }
.safari-actions-note { font-size: .85rem; color: var(--text-3); }
@media (max-width: 479px) { .safari-actions .btn { flex: 1 1 100%; justify-content: center; } }
.know-list { margin: 0; display: grid; gap: 10px; }
.know-list div { display: grid; gap: 2px; }
.know-list dt { font: 700 .7rem var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--text-3); }
.know-list dd { margin: 0; font-size: .92rem; }
.know-ethics { margin: 14px 0 0; font-size: .88rem; }
.know-ethics a { color: var(--accent-hover); text-decoration: underline; }

/* ===== Hero trust line, How booking works, homepage questions ===== */
.hero-trust-line { margin: 16px 0 0; font-size: .86rem; color: rgba(255, 255, 255, .88); letter-spacing: .01em; text-shadow: 0 1px 3px rgba(0, 0, 0, .45); }
.howto-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
@media (min-width: 768px) { .howto-steps { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.howto-steps li { position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px 22px 22px; }
.howto-num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: #fff; font: 700 1.05rem var(--serif); margin-bottom: 14px; }
.howto-steps h3 { font-family: var(--serif-text); font-size: 1.2rem; margin: 0 0 6px; }
.howto-steps p { margin: 0; color: var(--text-2); font-size: .95rem; }
.home-faq .accordion { margin-top: 4px; }

/* ===== Safari jeep strip ===== */
.jeep-track { position: relative; height: clamp(110px, 16vw, 150px); overflow: hidden; container-type: inline-size; margin: -10px 0 0; }
.jt-scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.jt-hills { fill: #EADBB8; opacity: .7; }
.jt-road { stroke: #C9AE80; stroke-width: 2; stroke-dasharray: 14 10; fill: none; }
.jt-ruts { stroke: #DCC59C; stroke-width: 1.5; stroke-dasharray: 4 12; fill: none; }
.jt-mover { position: absolute; left: 0; bottom: 4px; width: clamp(150px, 22vw, 230px); transform: translateX(62cqw); }
.jt-jeep { display: block; width: 100%; height: auto; overflow: visible; }
.jt-panel { fill: #5E6B47; stroke: #2E241A; stroke-width: 2; stroke-linejoin: round; }
.jt-line { fill: none; stroke: #2E241A; stroke-width: 1.2; opacity: .55; }
.jt-cage { fill: none; stroke: #2E241A; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; }
.jt-thin { stroke-width: 2; }
.jt-glass { fill: #CFE4EA; opacity: .6; }
.jt-seat { fill: #8A5A33; stroke: #2E241A; stroke-width: 1.4; }
.jt-tyre { fill: #2A241D; }
.jt-tread { fill: none; stroke: #4A3F33; stroke-width: 2; stroke-dasharray: 3 3; }
.jt-rim { fill: #D8CBB0; stroke: #2E241A; stroke-width: 1.2; }
.jt-wheel path { stroke: #2E241A; stroke-width: 1.4; }
.jt-hub { fill: #2E241A; }
.jt-lamp { fill: #F6E3A0; stroke: #2E241A; stroke-width: 1; }
.jt-bumper { fill: #2E241A; }
.jt-name { font: 700 7.5px var(--sans); letter-spacing: .12em; text-transform: uppercase; fill: #F3E8CF; }
.jt-shadow { fill: rgba(46, 36, 26, .18); }
.jt-tracker circle { fill: #8A5A33; stroke: #2E241A; stroke-width: 1.2; }
.jt-tracker path { fill: none; stroke: #2E241A; stroke-width: 2.4; stroke-linecap: round; }
.jt-tracker .jt-hat { stroke: #B4532A; stroke-width: 3; }
.jt-dust circle { fill: #D9C29A; opacity: 0; }
.jt-wheel { transform-box: fill-box; transform-origin: center; }
/* Motion (only while visible; none for reduced motion) */
.jeep-track.is-driving .jt-mover { animation: jt-drive 18s linear infinite; }
.jeep-track.is-driving .jt-body { animation: jt-bump .45s ease-in-out infinite alternate; }
.jeep-track.is-driving .jt-wheel { animation: jt-spin .55s linear infinite; }
.jeep-track.is-driving .jt-dust circle { animation: jt-dust 1.1s ease-out infinite; }
.jeep-track.is-driving .jt-dust circle:nth-child(2) { animation-delay: .35s; }
.jeep-track.is-driving .jt-dust circle:nth-child(3) { animation-delay: .7s; }
@keyframes jt-drive { from { transform: translateX(-260px); } to { transform: translateX(calc(100cqw + 20px)); } }
@keyframes jt-bump { from { transform: translateY(0) rotate(0); } to { transform: translateY(-1.6px) rotate(-.5deg); } }
@keyframes jt-spin { to { transform: rotate(360deg); } }
@keyframes jt-dust { 0% { opacity: .75; transform: translate(0, 0) scale(.6); } 100% { opacity: 0; transform: translate(-22px, -10px) scale(1.6); } }
@media (prefers-reduced-motion: reduce) { .jeep-track .jt-mover, .jeep-track .jt-body, .jeep-track .jt-wheel, .jeep-track .jt-dust circle { animation: none !important; } }
.jt-tracker .jt-shirt { fill: #C9B27C; stroke: #2E241A; stroke-width: 1.2; stroke-linejoin: round; }

/* ===== Your safari vehicle ===== */
.vehicle { padding-bottom: 0; }
.vehicle-grid { display: grid; gap: 28px; align-items: center; }
@media (min-width: 1024px) { .vehicle-grid { grid-template-columns: 1fr 1.5fr; gap: 48px; } }
.vehicle-text p { color: var(--text-2); }
.vehicle-photos { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); }
.vehicle-photo { margin: 0; }
.vehicle-photo picture { display: block; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 3 / 4; }
.vehicle-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.vehicle-photo:hover img { transform: scale(1.05); }
.vehicle-photo figcaption { font-size: .78rem; line-height: 1.4; color: var(--text-3); padding: 8px 2px 0; }
.vehicle .jeep-track { margin-top: 24px; }
@media (max-width: 767px) { .vehicle-photos[data-m-slider] > * { flex-basis: 70%; } }

/* ===== Phones: bigger, readable logo in the top bar ===== */
@media (max-width: 639px) {
  :root { --header-h: 78px; }
  .site-header .brand-mark, .site-header .brand-custom, .site-header .brand-custom.brand-badge { height: 68px !important; max-width: 92px; }
}
@media (max-width: 359px) {
  :root { --header-h: 70px; }
  .site-header .brand-mark, .site-header .brand-custom, .site-header .brand-custom.brand-badge { height: 58px !important; }
  .header-title { font-size: 1rem; }
}

/* ===== No captions under photos (descriptions stay as alt text) ===== */
.lightbox figcaption, .village-item figcaption, .vehicle-photo figcaption, .masonry-item figcaption, .slide-caption, .photo-caption { display: none !important; }
/* PC: slightly bigger logo in the top bar */
@media (min-width: 640px) { .site-header .brand-mark, .site-header .brand-custom, .site-header .brand-custom.brand-badge { height: 70px !important; max-width: 110px; } }

/* Jeep convoy: three liveries, evenly spaced; parked spread out when not moving */
.jt-mover.jt-v1 { transform: translateX(6cqw); }
.jt-mover.jt-v2 { transform: translateX(40cqw); }
.jt-mover.jt-v3 { transform: translateX(74cqw); }
.jt-v2 .jt-panel { fill: #C9A96E; }
.jt-v2 .jt-name { fill: #3A2C1C; }
.jt-v2 .jt-tracker .jt-hat { stroke: #2F6F5E; }
.jt-v3 .jt-panel { fill: #2F3B2C; }
.jt-v3 .jt-tracker .jt-shirt { fill: #E9DFC8; }
.jt-v3 .jt-tracker .jt-hat { stroke: #E0A33A; }
@media (max-width: 639px) { .jt-mover { width: 124px; } .jeep-track.is-driving .jt-mover { animation-duration: 15s; } .jeep-track.is-driving .jt-v2 { animation-delay: -5s; } .jeep-track.is-driving .jt-v3 { animation-delay: -10s; } }
.jeep-track.is-driving .jt-mover { animation: jt-drive 21s linear infinite; }
.jeep-track.is-driving .jt-v2 { animation-delay: -7s; }
.jeep-track.is-driving .jt-v3 { animation-delay: -14s; }
.jeep-track.is-driving .jt-v2 .jt-body { animation-delay: -.2s; }
.bk-vehicle-one { display: inline-flex; align-items: center; gap: 6px; margin: 2px 0 14px; padding: 7px 14px; border-radius: 999px; background: var(--accent-soft, #FBEDE6); color: var(--text); font-size: .88rem; font-weight: 600; } .bk-vehicle-one .icon { color: var(--accent); }

/* Slider: optional photos-only mode */
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.slider-content.is-empty { padding-bottom: 0; }

/* ===== Phones: slider fills the screen; animated scroll cue in the strip below it ===== */
.hero-cue { display: none; }
@media (max-width: 767px) {
  .page-home .slider { height: calc(100svh - var(--header-h) - 65px - 56px - env(safe-area-inset-bottom)); min-height: 440px; }
  .hero-cue { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; height: 56px; width: 100%; background: var(--subtle, #F2F4F2); transition: opacity .45s var(--ease); }
  .page-home .slider + .hero-cue + .section-alt { background: var(--subtle, #F2F4F2); }
  .hero-cue span { display: block; width: 17px; height: 17px; margin-top: -6px; border-right: 3px solid var(--accent); border-bottom: 3px solid var(--accent); border-radius: 0 0 3px 0; transform: rotate(45deg); opacity: .35; animation: cueDrop 1.6s ease-in-out infinite; }
  .hero-cue span:first-child { margin-top: 12px; }
  .hero-cue span:nth-child(2) { animation-delay: .25s; }
  .hero-cue.is-gone span { opacity: 0 !important; animation: none; }
  .hero-cue.is-gone { pointer-events: none; }
  .page-home .slider + .hero-cue + .section { padding-top: 8px; }
}
@keyframes cueDrop { 0%, 100% { opacity: .3; transform: translateY(-3px) rotate(45deg); } 50% { opacity: 1; transform: translateY(5px) rotate(45deg); } }
@media (prefers-reduced-motion: reduce) { .hero-cue span { animation: none; opacity: .8; } }

/* ===== Animated Jawai scene (jeeps climbing a granite hill) ===== */
.jeep-scene { height: clamp(190px, 24vw, 300px); margin-top: 18px; }
.jeep-scene .js-scene { display: block; width: 100%; height: 100%; }
.jeep-scene .jt-panel { fill: var(--jt-body, #5E6B47); }
.jeep-scene .jt-name { fill: var(--jt-label, #F3E8CF); }
.jeep-scene .jt-spokes { stroke: #2E241A; stroke-width: 1.4; fill: none; }
.js-dust circle { fill: #D9C29A; }
.js-far { fill: #EFE3C8; }
.js-sunball { fill: #F3B45A; opacity: .75; }
.js-bird { fill: none; stroke: #4A3826; stroke-width: 1.6; stroke-linecap: round; }
.js-water { fill: #9CC8D8; stroke: #3F6E80; stroke-width: 1.2; opacity: .9; }
.js-ripple { fill: none; stroke: #F4FAFC; stroke-width: 1.4; stroke-linecap: round; }
.js-rock, .js-granite { fill: #DCC7A0; stroke: #4A3826; stroke-width: 1.6; stroke-linejoin: round; }
.js-granite-line { fill: none; stroke: #4A3826; stroke-width: 1; opacity: .45; }
.js-boulders path { fill: #E6D3AE; stroke: #4A3826; stroke-width: 1.5; }
.js-shrine { fill: #F7F1E3; stroke: #4A3826; stroke-width: 1.4; stroke-linejoin: round; }
.js-flag { fill: #C2402A; }
.js-ink { fill: none; stroke: #4A3826; stroke-width: 1.6; stroke-linecap: round; }
.js-canopy { fill: #9FA977; stroke: #4A3826; stroke-width: 1.2; }
.js-leopard > path:first-child { fill: #D9A441; stroke: #4A3826; stroke-width: 1.2; }
.js-leopard circle { fill: #D9A441; stroke: #4A3826; stroke-width: 1; }
.js-leopard .js-spots circle { fill: #4A3826; stroke: none; }
.js-tail { fill: none; stroke: #4A3826; stroke-width: 3; stroke-linecap: round; }
.js-road { fill: none; stroke: #B79A6B; stroke-width: 2.4; stroke-dasharray: 16 10; }
.js-ruts { fill: none; stroke: #CDB48A; stroke-width: 1.6; stroke-dasharray: 5 13; }
.js-ground { fill: #EADBB8; opacity: .6; }
@media (max-width: 639px) { .jeep-scene { height: 150px; } }
/* scene: leopard, crocodile, flamingos, water crossing */
.js-leo { fill: #E2AE4E; stroke: #4A3826; stroke-width: 1.1; stroke-linejoin: round; }
.js-leo-muzzle { fill: #F5E6C6; stroke: #4A3826; stroke-width: .9; }
.js-leo-eye { fill: #2E241A; }
.js-rosettes circle { fill: none; stroke: #4A3826; stroke-width: 1.1; }
.js-croc-body { fill: #6F7A4C; stroke: #2E3320; stroke-width: 1.2; stroke-linejoin: round; }
.js-croc-ridge { fill: none; stroke: #2E3320; stroke-width: 1.1; stroke-linejoin: round; }
.js-croc-leg { stroke: #2E3320; stroke-width: 2.4; stroke-linecap: round; }
.js-croc-eye { fill: #E8D27A; stroke: #2E3320; stroke-width: .8; }
.js-croc-jaw { fill: #6F7A4C; stroke: #2E3320; stroke-width: 1; stroke-linejoin: round; }
.js-fl-leg { fill: none; stroke: #C9677A; stroke-width: 1.4; stroke-linecap: round; }
.js-fl-body { fill: #F2A3B3; stroke: #8C3A4C; stroke-width: 1; }
.js-fl-neck { fill: none; stroke: #F2A3B3; stroke-width: 2.6; stroke-linecap: round; }
.js-fl-beak { fill: #2E241A; stroke: #2E241A; stroke-width: 1; stroke-linejoin: round; }
.js-ford { opacity: .95; }
.js-splash circle { fill: #CFE7F0; stroke: #6FA3B8; stroke-width: .6; }
.js-wake { fill: none; stroke: #F4FAFC; stroke-width: 1.6; stroke-linecap: round; }
/* scene animals v2 */
.js-leo-coat { fill: #DDA54A; }
.js-leo-line { fill: none; stroke: #3A2A18; stroke-width: 2.4; stroke-linejoin: round; }
.js-leo-belly { fill: none; stroke: #F3E3BE; stroke-width: 4; opacity: .7; }
.js-leo-detail { fill: none; stroke: #3A2A18; stroke-width: 1.6; stroke-linecap: round; }
.js-leo-eye2 { fill: #2F241A; }
.js-leopard g > path.js-leo-coat { stroke: #3A2A18; stroke-width: 2.4; }
.js-croc-fill { fill: #5C6840; stroke: #2E3320; stroke-width: 1.4; stroke-linejoin: round; }
.js-croc-eye { fill: #E8D27A; }
.js-fl-pink { fill: #EE93A6; stroke: #9C4458; stroke-width: 1.2; stroke-linejoin: round; }
.js-fl-leg2 { fill: #C96E80; }
.js-fl-tip { fill: #2F241A; }
.js-boulders .js-crack { fill: none; stroke: #4A3826; stroke-width: 1; opacity: .5; }
.js-boulders .js-rest-shadow { fill: rgba(58, 42, 24, .28); stroke: none; }
.js-thatch { fill: #C9A25E; stroke: #4A3826; stroke-width: 1.4; stroke-linejoin: round; }
.js-door { fill: #8A5A33; stroke: #4A3826; stroke-width: 1; }
/* modern safari animation (painted Safari Journey scene) */
.jeep-track.jeep-modern { height: auto; margin-top: 24px; container-type: normal; }
.jeep-modern .jm-scene { display: block; width: 100%; height: auto; aspect-ratio: 2172 / 564; }
.jm-bird { fill: none; stroke: #2F241A; stroke-width: 3; stroke-linecap: round; }
.jm-dust circle { fill: #EBC79A; }
@media (max-width: 767px) { .jeep-modern .jm-scene { aspect-ratio: auto; height: 200px; } }
/* Guest reviews */
.reviews-home .stars, .review-mini .stars { color: #C8901E; letter-spacing: 3px; font-size: 1.15rem; margin-bottom: 14px; }
.reviews-home .quotes { min-height: 200px; }
.reviews-cta { margin-top: 28px; }
.review-mini { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 18px; }
.review-mini li { border-bottom: 1px solid var(--border); padding-bottom: 16px; }
.review-mini p { margin: 4px 0 6px; color: var(--text-2); font-style: italic; }
.review-mini .stars { margin-bottom: 0; font-size: 1rem; }
.star-input { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input label { font-size: 2.1rem; line-height: 1; color: var(--border-2); cursor: pointer; transition: color .15s, transform .15s; }
.star-input label:hover, .star-input label:hover ~ label, .star-input input:checked ~ label { color: #C8901E; }
.star-input input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.star-input label:active { transform: scale(.9); }
.form-card .check input[type=checkbox] { flex: none; width: 20px; height: 20px; min-height: 0; padding: 0; margin: 3px 0 0; border-radius: 4px; appearance: auto; -webkit-appearance: checkbox; box-shadow: none; }
