:root {
  /* Hidden Gem brand (from the Gerakin deck) */
  --brown: #4b312b;
  --brown-deep: #36200f;
  --olive: #6a6844;
  --olive-2: #7e7d57;
  --copper: #a46b43;
  --copper-light: #c98754;
  --cream: #e8e5da;
  --cream-2: #f4f1ea;
  --ink: #2b1d18;
  --muted: #6b5d55;
  --line: rgba(75, 49, 43, .16);
  --wa: #1fa855;
  --wa-dark: #178a45;
  --radius: 16px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 1rem/1.65 var(--sans); color: var(--ink); background: var(--cream-2); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.1; }
h2 { font: 600 clamp(2.1rem, 4.4vw, 3.3rem)/1.05 var(--serif); letter-spacing: -.005em; text-wrap: balance; }
h3 { font-weight: 600; font-size: 1.02rem; }
p, ul, ol, dl, dd { margin: 0; }

/* Bilingual pairs: <span class="en"> / <span class="id"> */
html[lang="en"] .id, html[lang="id"] .en { display: none; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.eyebrow { font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--copper-light); margin-bottom: 1rem; }
.eyebrow.dark { color: var(--copper); }

/* Logo: alpha masks so the mark and wordmark can take any brand colour */
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; }
.logo-mark, .logo-word { display: block; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.logo-mark { --m: url("/brand/mark.png"); width: 34px; height: 30px; color: var(--copper-light); }
.logo-word { --m: url("/brand/wordmark.png"); width: 138px; height: 18px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .9rem 1.4rem; border-radius: 999px; font: 600 .95rem/1 var(--sans); text-decoration: none; border: 0; cursor: pointer; transition: transform .15s, background .15s, color .15s, box-shadow .15s; }
.btn:active { transform: translateY(1px); }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 6px 18px rgba(31, 168, 85, .26); }
.btn-wa:hover { background: var(--wa-dark); }
.btn-ghost { color: #fff; border: 1.5px solid rgba(255, 255, 255, .7); background: rgba(255, 255, 255, .06); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .18); }
.btn-outline { color: var(--brown); border: 1.5px solid var(--brown); background: transparent; }
.btn-outline:hover { background: var(--brown); color: var(--cream); }
.btn-sm { padding: .62rem 1rem; font-size: .88rem; }
.btn-block { width: 100%; }
.wa-ico { width: 1.15em; height: 1.15em; flex: none; }

/* Header */
.top { position: fixed; inset: 0 0 auto; z-index: 20; display: flex; align-items: center; gap: 1.5rem; padding: .85rem max(16px, calc((100% - 1180px) / 2)); color: var(--cream); transition: background .25s, color .25s, box-shadow .25s; }
.top.solid { background: rgba(244, 241, 234, .95); color: var(--brown); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.top.solid .logo-mark { color: var(--copper); }
.nav { display: flex; gap: 1.6rem; margin-left: auto; font-size: .9rem; font-weight: 500; }
.nav a { text-decoration: none; opacity: .88; }
.nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 5px; }
.top-actions { display: flex; align-items: center; gap: .6rem; }
.lang { font: 600 .78rem/1 var(--sans); letter-spacing: .08em; color: inherit; background: none; border: 1.5px solid currentColor; border-radius: 999px; padding: .5rem .7rem; cursor: pointer; opacity: .85; }
.lang:hover { opacity: 1; }

/* Hero */
.hero { position: relative; min-height: min(100svh, 940px); display: grid; align-items: end; color: #fff; overflow: hidden; background: var(--brown-deep); }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(54, 32, 15, .5) 0%, rgba(54, 32, 15, 0) 24%, rgba(54, 32, 15, .1) 48%, rgba(54, 32, 15, .86) 100%); }
.hero-copy { position: relative; z-index: 2; width: min(1180px, 100% - 32px); margin: 0 auto; padding: 8rem 0 clamp(3.2rem, 9vh, 6.5rem); }
.hero h1 { font: 500 clamp(2.8rem, 7vw, 5.6rem)/.98 var(--serif); letter-spacing: -.01em; max-width: 15ch; text-wrap: balance; }
.hero h1 em { color: #f0c79c; }
.hero .eyebrow { color: rgba(255, 255, 255, .9); }
.hero h1, .lede, .hero .eyebrow { text-shadow: 0 2px 24px rgba(30, 15, 5, .45); }
.lede { margin-top: 1.3rem; max-width: 36rem; font-size: clamp(1rem, 1.5vw, 1.15rem); color: rgba(255, 255, 255, .92); }
.cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-tag { position: absolute; z-index: 2; right: max(16px, calc((100% - 1180px) / 2)); bottom: 1.4rem; font: italic 500 .95rem/1 var(--serif); color: rgba(255, 255, 255, .75); }
@media (min-width: 901px) {
  .hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(54, 32, 15, .55) 0%, rgba(54, 32, 15, .2) 45%, transparent 70%); }
}

/* Trust strip */
.strip { background: var(--brown); color: var(--cream); padding: 2.6rem 0; }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.strip h3 { color: var(--copper-light); margin-bottom: .35rem; }
.strip p { font-size: .9rem; color: rgba(232, 229, 218, .8); }

/* Sections */
section { padding: clamp(4rem, 9vw, 7rem) 0; }
.strip { padding: 2.6rem 0; }
.sec-head { max-width: 46rem; margin-bottom: 2.8rem; }
.sec-head > p:last-child:not(.eyebrow) { margin-top: 1rem; color: var(--muted); font-size: 1.05rem; }

/* Places */
.mosaic { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-template-rows: 280px 280px; gap: 14px; }
.place { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--brown); color: #fff; min-height: 240px; }
.place img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.place:hover img { transform: scale(1.04); }
.place::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(40, 22, 12, .85)); }
.place-copy { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 1.2rem 1.35rem; }
.place h3 { font: 600 1.6rem/1.05 var(--serif); margin-bottom: .3rem; }
.place p { font-size: .88rem; color: rgba(255, 255, 255, .86); max-width: 34rem; }
.p-a { grid-row: span 2; }
.p-b { grid-row: span 2; }
.p-b img { object-position: 50% 60%; }
.mosaic .p-e { display: none; }
.p-wide { margin-top: 14px; height: 280px; }

/* Ways to sail */
.sail { background: var(--olive); color: var(--cream); }
.sail .eyebrow { color: #f0c79c; }
.sail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.sail-card { display: grid; grid-template-rows: 300px 1fr; background: var(--cream-2); color: var(--ink); border-radius: var(--radius); overflow: hidden; }
.sail-card img { width: 100%; height: 100%; object-fit: cover; }
.sail-card img[src*="liveaboard"] { object-position: 50% 78%; }
.sail-body { display: flex; flex-direction: column; gap: .9rem; padding: 1.6rem 1.7rem 1.8rem; }
.kicker { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--copper); }
.sail-card h3 { font: 600 2.1rem/1 var(--serif); color: var(--brown); }
.sail-card p:not(.kicker) { color: var(--muted); }
.ticks { list-style: none; padding: 0; display: grid; gap: .35rem; font-size: .93rem; margin-bottom: .6rem; }
.ticks li { padding-left: 1.4rem; position: relative; }
.ticks li::before { content: ""; position: absolute; left: .1rem; top: .55rem; width: 8px; height: 8px; border: 1.5px solid var(--copper); transform: rotate(45deg); }
.sail-card .btn { margin-top: auto; align-self: flex-start; }

/* On board */
.onboard-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.onboard h2 { margin-bottom: 1.1rem; }
.onboard-lede { color: var(--muted); font-size: 1.05rem; margin-bottom: 1.6rem; max-width: 30rem; }
.facts { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.facts li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.facts svg { width: 30px; height: 30px; fill: none; stroke: var(--copper); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: .8rem; }
.facts h3 { font-size: 1.05rem; margin-bottom: .3rem; color: var(--brown); }
.facts p { color: var(--muted); font-size: .92rem; }

/* Itinerary */
.itinerary { background: var(--cream); }
.days { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.days li { border-top: 2px solid var(--brown); padding-top: 1.3rem; }
.day { font: italic 500 2.3rem/1 var(--serif); color: var(--copper); margin-bottom: .7rem; }
.days h3 { font-size: 1.12rem; margin-bottom: .4rem; color: var(--brown); }
.days p:not(.day) { color: var(--muted); }

/* Getting here */
.getting { background: var(--brown); color: var(--cream); }
.getting-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.getting-img { margin: 0; }
.getting-img img { border-radius: var(--radius); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.getting h2 { margin-bottom: 1.6rem; }
.routes { display: grid; gap: .2rem; }
.routes dt { font-weight: 600; color: var(--copper-light); }
.routes dd + dt { margin-top: .9rem; }
.routes dd { color: rgba(232, 229, 218, .85); }
.getting-note { margin-top: 1.6rem; padding-top: 1.2rem; border-top: 1px solid rgba(232, 229, 218, .2); color: rgba(232, 229, 218, .7); font-size: .95rem; }

/* Booking */
.book-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.book-copy > p:not(.eyebrow) { margin-top: 1rem; color: var(--muted); font-size: 1.05rem; max-width: 30rem; }
.mini-steps { margin-top: 1.6rem; padding: 0; list-style: none; counter-reset: s; display: grid; gap: .7rem; }
.mini-steps li { counter-increment: s; display: flex; align-items: center; gap: .9rem; font-weight: 500; }
.mini-steps li::before { content: counter(s); display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; border: 1.5px solid var(--copper); color: var(--copper); font: italic 600 1.15rem/1 var(--serif); flex: none; }
.contact-line { margin-top: 1.4rem; }
.contact-line a { color: var(--copper); font-weight: 600; }
.book-form { background: #fff; border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: clamp(1.3rem, 3vw, 2rem); display: grid; gap: 1rem; box-shadow: 0 24px 60px rgba(75, 49, 43, .12); }
.book-form label { display: grid; gap: .35rem; font-size: .84rem; font-weight: 600; color: var(--brown); }
.book-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.book-form input, .book-form select, .book-form textarea { font: 400 1rem/1.4 var(--sans); color: var(--ink); width: 100%; padding: .75rem .85rem; border: 1.5px solid var(--line); border-radius: 10px; background: var(--cream-2); }
.book-form input:focus, .book-form select:focus, .book-form textarea:focus { outline: none; border-color: var(--copper); box-shadow: 0 0 0 3px rgba(164, 107, 67, .18); }
.book-form textarea { resize: vertical; }
.book-form [aria-invalid="true"] { border-color: #b4472a; }
.form-note { font-size: .85rem; color: #b4472a; min-height: 1.2em; }

/* FAQ */
.faq { background: var(--cream); }
.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 3rem; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; padding: 1.2rem 2rem 1.2rem 0; font-weight: 600; font-size: 1.02rem; position: relative; color: var(--brown); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 0; top: .95rem; font: 500 1.8rem/1 var(--serif); color: var(--copper); transition: transform .2s; }
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 0 1.3rem; color: var(--muted); max-width: 42rem; }

/* Footer */
.foot { background: var(--brown-deep); color: rgba(232, 229, 218, .78); padding: 3.5rem 0 2rem; font-size: .92rem; }
.foot .brand { color: var(--cream); margin-bottom: 1rem; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2.5rem 3rem; align-items: start; }
.foot-grid p + p { margin-top: 1rem; }
.foot-note { color: rgba(232, 229, 218, .55); }
.foot-contact h3 { margin: .35rem 0 1rem; font: 600 .75rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--copper-light); }
.foot-contact ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.foot-contact a { display: flex; align-items: center; gap: .85rem; color: var(--cream); text-decoration: none; }
.foot-contact a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.foot-contact .wa-ico { width: 2.4rem; height: 2.4rem; padding: .6rem; border-radius: 12px; background: rgba(232, 229, 218, .08); color: var(--copper-light); }
.foot-contact li:first-child .wa-ico { background: rgba(31, 168, 85, .18); color: #4ad07b; }
.foot-contact a > span { display: grid; line-height: 1.3; }
.foot-contact a > span > span { font-size: .88rem; color: rgba(232, 229, 218, .65); }
.foot .credits { grid-column: 1 / -1; padding-top: 1.5rem; border-top: 1px solid rgba(232, 229, 218, .12); }
.credits summary { cursor: pointer; font-weight: 600; color: var(--cream); }
.credits ul { margin: .8rem 0 0; padding-left: 1.1rem; font-size: .8rem; color: rgba(232, 229, 218, .6); }
.credits li { margin: .25rem 0; }
.copy { margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid rgba(232, 229, 218, .12); font-size: .8rem; color: rgba(232, 229, 218, .5); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 1.5rem; }
.heart { color: var(--copper-light); }

/* Floating WhatsApp */
.float-wa { position: fixed; right: 18px; bottom: 18px; z-index: 30; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 10px 28px rgba(0, 0, 0, .28); opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .25s, transform .25s; }
.float-wa svg { width: 30px; height: 30px; }
.float-wa.show { opacity: 1; transform: none; pointer-events: auto; }

/* Text typed in the admin keeps its line breaks */
.days p:not(.day), .faq-list details p, .review blockquote, .meet p { white-space: pre-line; }

/* Prices, inclusions and open-trip dates on the trip cards */
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .5rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.price-from { font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--copper); }
.price strong { font: 600 1.9rem/1 var(--serif); color: var(--brown); }
.price-unit { flex-basis: 100%; font-size: .88rem; color: var(--muted); }
.included summary { cursor: pointer; font-weight: 600; font-size: .92rem; color: var(--brown); }
.included summary:hover { color: var(--copper); }
.included .ticks { margin: .7rem 0 0; }
.dates { margin-bottom: .6rem; }
.dates-head { font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--copper); margin-bottom: .5rem; }
.dates ul { list-style: none; padding: 0; display: grid; gap: .45rem; }
.date { display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem .7rem; padding: .65rem .85rem; border: 1.5px solid var(--line); border-radius: 10px; text-decoration: none; background: #fff; transition: border-color .15s; }
a.date:hover { border-color: var(--copper); }
.date-when { font-weight: 600; color: var(--brown); }
.date-seats { font-size: .82rem; font-weight: 600; color: var(--wa-dark); }
.date-note { flex-basis: 100%; font-size: .85rem; color: var(--muted); }
.date.full { opacity: .6; }
.date.full .date-when { text-decoration: line-through; }
.date.full .date-seats { color: #b4472a; }

/* Gallery */
.gallery { background: var(--cream-2); }
.shots { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 12px; }
.shot { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--cream); }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.shot:hover img { transform: scale(1.04); }
.shot-lg { grid-column: span 2; grid-row: span 2; }
.shot-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.6rem .9rem .7rem; font-size: .82rem; color: #fff; background: linear-gradient(180deg, transparent, rgba(40, 22, 12, .8)); }

/* Reviews */
.reviews { background: var(--olive); color: var(--cream); }
.reviews .eyebrow { color: #f0c79c; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; }
.review { margin: 0; display: flex; flex-direction: column; gap: 1rem; background: var(--cream-2); color: var(--ink); border-radius: var(--radius); padding: 1.6rem; }
.stars { color: var(--copper); letter-spacing: .15em; }
.review blockquote { margin: 0; font: italic 500 1.25rem/1.4 var(--serif); color: var(--brown); }
.review figcaption { margin-top: auto; display: flex; flex-wrap: wrap; gap: .2rem .6rem; font-size: .9rem; color: var(--muted); }
.review figcaption strong { color: var(--brown); }
.review figcaption a { flex-basis: 100%; color: var(--copper); font-weight: 600; }

/* Meeting point */
.meet { margin-top: 1.6rem; display: grid; gap: .6rem; }
.meet h3 { color: var(--copper-light); }
.meet p { color: rgba(232, 229, 218, .85); }
.map { width: 100%; height: 240px; border: 0; border-radius: 12px; background: var(--brown-deep); }
.map-link { color: var(--copper-light); font-weight: 600; }


@media (max-width: 1020px) {
  .nav { display: none; }
  .top-actions { margin-left: auto; }
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 340px 260px 260px; }
  .p-a { grid-row: auto; grid-column: span 2; }
  .p-b { grid-row: span 2; }
  .facts { grid-template-columns: 1fr; }
  .shots { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  .top { gap: .8rem; }
  .logo-word { width: 116px; height: 15px; }
  .logo-mark { width: 30px; height: 26px; }
  .hero-copy { padding-bottom: 4.5rem; }
  .hero-tag { left: 16px; right: auto; font-size: .85rem; }
  .strip-grid { gap: 1.4rem; }
  .mosaic { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 260px; }
  .p-a { grid-column: auto; }
  .p-b { grid-row: span 2; }
  .mosaic .p-e { display: block; }
  .p-wide { height: 240px; }
  .sail-grid, .onboard-grid, .days, .getting-grid, .book-grid, .faq-wrap, .foot-grid { grid-template-columns: 1fr; }
  .sail-card { grid-template-rows: 240px 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .getting-img img { aspect-ratio: 4 / 3; }
  .faq-wrap { gap: 0; }
  .book-form .row { grid-template-columns: 1fr; }
  .shots { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
}

@media (max-width: 420px) {
  .top .btn-sm { display: none; }
  .strip-grid, .facts { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

/* Uploaded logo files replace the CSS-painted masks */
.logo-img { display: block; width: auto; }
.logo-img-mark { height: 30px; }
.logo-img-word { height: 18px; }
@media (max-width: 760px) { .logo-img-mark { height: 26px; } .logo-img-word { height: 15px; } }
