:root {
  color-scheme: light;
  --paper:#f5f9f8;
  --shallow:#d6ece8;
  --land:#e9e1cc;
  --ink:#0f3b44;
  --ink2:#4c6b70;
  --mangrove:#1f5a45;
  --marker:#b8322a;
  --line:#c9dad7;
  --bg:var(--paper);
  --cream:var(--paper);
  --surface:#fff;
  --secondary:var(--ink2);
  --tint:var(--shallow);
  --control-line:#728d8c;
  --accent:var(--mangrove);
  --accent-hover:#164332;
  --focus:var(--ink);
  --signature:var(--mangrove);
  --signature-hover:var(--accent-hover);
  --on-accent:#fff;
  --footer-surface:var(--shallow);
  --price-ink:var(--ink);
  --radius:4px;
  --control:6px;
  --shadow:none;
  --sans:Archivo,"Noto Sans",sans-serif;
  --place:"Source Serif 4",Georgia,serif;
  --place-style:italic;
}
html:lang(th) { --sans:"Noto Sans Thai",Archivo,sans-serif; --place:"Noto Serif Thai Editorial","Noto Serif Thai","Source Serif 4",serif; --place-style:normal; }
html:lang(ko) { --sans:"Noto Sans KR",Archivo,sans-serif; --place:"Noto Serif KR Editorial","Noto Serif KR","Source Serif 4",serif; --place-style:normal; }
html:lang(zh) { --sans:"Noto Sans SC",Archivo,sans-serif; --place:"Noto Serif SC Editorial","Noto Serif SC","Source Serif 4",serif; --place-style:normal; }
html:lang(ru) { --sans:Archivo,"Noto Sans",sans-serif; }
html:root { --display:var(--sans); }
html body { background:var(--paper); color:var(--ink); font-family:var(--sans); }
html body[data-page] { font-size:17px; line-height:1.55; }
html body[data-page] :is(h1,h2,h3) { font-family:var(--sans); font-weight:800; font-stretch:82%; letter-spacing:-.025em; }
html body[data-page] h1 { font-stretch:78%; }
html body[data-page] :is(h1,h2,h3) { text-transform:none; }
html body[data-page] :is(.place,.place h1,.tour-gallery + figure figcaption),
.map-places text {
  font-family:var(--place); font-style:var(--place-style); font-weight:500; font-stretch:100%; letter-spacing:0;
}
html body[data-page] :is(a,a:hover,a:focus-visible) { text-decoration:none; }
html body[data-page] a:hover :is(.chart-name,.place) { text-decoration:underline; text-underline-offset:4px; text-decoration-thickness:1px; }
html body[data-page] :is(.button,.contact-chip,.footer-app,.chip,.tour-areas label span,.header-chat,.trip-chat-launch) { border-radius:6px; min-height:44px; }
html body[data-page] .button.primary { background:var(--mangrove); color:#fff; }
html body[data-page] .button.primary:hover { background:var(--accent-hover); }
html body[data-page] .button.secondary { background:transparent; color:var(--ink); border:1px solid var(--ink); }
.route-visual { background:var(--tint); }
.service-emblem { border-radius:4px; }
html body[data-page] :is(.page-intro,.service-intro,.tour-intro,.answer,.form-aside,.booking-card,.contact-card,.trip-card-link,.service-tile,.guide-card,.guide-lead,.footer-app,.season-calendar,.chooser,.tour-tools,.phone-dock,.booking-mobile,.language ul) { box-shadow:none; background-image:none; }
html body[data-page] :is(.button,.chip,.contact-chip,.tour-areas span):hover { transform:none; }
html body[data-page] :is(.eyebrow,.kicker,.eyeline,.section-kicker,.guide-kicker,.guide-tag,.tour-tag,.compact-meta,.meta,.byline) { text-transform:none; letter-spacing:normal; }
.season-calendar { --season-closed:var(--line); }
html body[data-page] :is(.filters,.tour-refine) { mask-image:none; }
html body[data-page] :is(.reading,.guide-article,.tour-story) a:hover { color:var(--accent-hover); }
.site-header .bar { width:min(1344px,calc(100% - 96px)); max-width:none; }
@media (max-width:860px) { .site-header .bar { width:calc(100% - 32px); } }
.site-header .brand,.footer-brand .brand { color:var(--ink); gap:10px; min-height:44px; }
.site-header .brand .brand-icon,.footer-brand .brand-icon { width:34px; }
html body .brand-wordmark { font:700 20px/1.1 Archivo,sans-serif; font-stretch:87%; letter-spacing:-.2px; }
.header-chat { white-space:nowrap; }
.site-header .language a,.site-footer nav a,.footer-bottom a { min-height:44px; display:inline-flex; align-items:center; }
.site-footer nav { gap:0; }
html body[data-page] .site-footer { background:var(--footer-surface); }
body[data-page=home] #main > :is(.sea-hero,.sea-section,.sea-band) { width:100%; }
body[data-page=home] #main { max-width:none; width:100%; padding:0; margin:0; }
.sea-hero,.sea-section { max-width:1440px; padding-inline:48px; margin-inline:auto; }
.sea-hero { display:grid; grid-template-columns:minmax(0,5fr) minmax(0,6fr); column-gap:56px; align-items:center; padding-block:24px 72px; }
.sea-intro,.sea-atlas { min-width:0; }
html body[data-page] .sea-intro h1 { font-size:clamp(44px,5.6vw,84px); line-height:.97; margin:0 0 22px; max-width:none; text-wrap:balance; }
html:lang(th) body[data-page] .sea-intro h1 { line-height:1.17; }
.sea-intro .lede { font-size:19px; color:var(--ink2); max-width:34ch; margin:0 0 26px; }
.sea-area p { font-size:14px; color:var(--ink2); margin:0 0 8px; }
.sea-toggle { display:flex; flex-wrap:wrap; width:max-content; max-width:100%; background:#fff; border:1px solid var(--line); border-radius:6px; padding:4px; margin-bottom:10px; }
.sea-toggle button { min-height:44px; padding:8px 18px; border:0; border-radius:6px; background:transparent; color:var(--ink2); font:600 15px var(--sans); cursor:pointer; }
.sea-toggle button[aria-pressed=true] { background:var(--ink); color:white; }
.sea-intro .actions { margin-top:22px; gap:12px; }
.sea-atlas,.sea-detail-map { margin:0; }
.sea-map,.sea-detail-map > div { position:relative; background:var(--shallow); border-radius:4px; overflow:hidden; }
.sea-map { aspect-ratio:400/462; }
.sea-map > svg,.sea-detail-map svg { display:block; width:100%; height:100%; }
.sea-land { fill:var(--land); stroke:#cfc4a6; stroke-width:.6; }
.sea-lake { fill:var(--shallow); }
.sea-north { fill:var(--ink); font:600 11px var(--sans); }
.sea-route { fill:none; stroke:var(--ink2); stroke-width:1.4; stroke-dasharray:4 3; }
.sea-route[data-current=true] { stroke:var(--marker); stroke-width:2; }
.sea-island { fill:var(--ink); font-size:15px; }
.sea-island[data-current=true] { fill:var(--marker); }
.sea-pier rect { fill:var(--marker); }
.sea-pier text { fill:var(--ink2); font:600 10.5px var(--sans); }
.sea-insets { position:absolute; left:16px; bottom:16px; width:40%; }
.sea-insets a { display:block; background:#fff; padding:8px; }
.sea-insets .photo { display:block; width:100%; height:auto; aspect-ratio:4/3; object-fit:cover; }
.sea-insets .photo img,.sea-band img,.sea-stays img,.chart-who img,.sea-detail-hero img { display:block; width:100%; height:100%; object-fit:cover; }
.inset-caption { display:grid; gap:2px; padding:6px 4px 4px; font-size:14px; color:var(--ink); }
.inset-caption .chart-name { font-size:18px; }
.sea-atlas figcaption,.sea-detail-map figcaption { display:flex; flex-wrap:wrap; align-items:center; column-gap:5px; padding-top:6px; font-size:12px; color:var(--ink2); }
.sea-atlas figcaption a,.sea-detail-map figcaption a { display:inline-flex; min-height:44px; align-items:center; padding-inline:6px; margin-inline-start:4px; font-weight:700; }
.sea-band { position:relative; height:min(72vh,720px); margin:0; }
.sea-band .photo { display:block; width:100%; height:100%; object-fit:cover; }
.sea-band::after { content:""; position:absolute; inset:auto 0 0; height:120px; background:linear-gradient(transparent,#08282edb); }
.sea-band figcaption { position:absolute; z-index:1; left:max(48px,calc((100% - 1344px)/2)); bottom:20px; color:#fff; font-size:17px; }
.sea-section { padding-block:72px 96px; border-top:1px solid var(--line); }
html body[data-page] .sea-section h2 { font-size:clamp(32px,4vw,44px); margin:0 0 10px; }
.sea-section > p { color:var(--ink2); max-width:63ch; margin:0 0 36px; }
.chart-scale,.chart-row { display:grid; grid-template-columns:minmax(205px,280px) minmax(0,1fr) minmax(90px,150px); gap:28px; align-items:center; }
.chart-scale { font-size:12px; color:var(--ink2); padding-bottom:10px; }
.chart-scale > div,.chart-times { position:relative; height:18px; }
.chart-scale > div span,.chart-times time { position:absolute; transform:translateX(-50%); white-space:nowrap; }
.chart-scale > div span:first-child,.chart-times .chart-start { transform:none; }
.chart-scale > div span:last-child,.chart-times .chart-end { transform:translateX(-100%); }
.chart-row { min-height:96px; border-top:1px solid var(--line); padding-block:15px; }
.chart-row:hover,.chart-row:focus-visible { background:var(--shallow); }
.chart-row .chart-price { grid-column:3; grid-row:1; text-align:right; }
.chart-who { display:grid; grid-template-columns:84px minmax(0,1fr); gap:14px; align-items:center; }
.chart-image-placeholder { width:100%; aspect-ratio:4/3; background:var(--tint); }
.chart-who .photo { display:block; object-fit:cover; width:84px; height:64px; border-radius:3px; overflow:hidden; }
.chart-name { display:block; font-size:21px; line-height:1.17; }
.chart-pier,.chart-price small { display:block; font-size:13.5px; color:var(--ink2); font-weight:400; }
.chart-price { font-size:18px; font-weight:700; }
.chart-time { padding-bottom:13px; display:flex; flex-direction:column-reverse; min-width:0; grid-column:2; grid-row:1; }
.chart-time svg { display:block; width:100%; height:28px; overflow:visible; }
.chart-time line { stroke:var(--line); }
.chart-drive,.drive-key::before { fill:#b9c9c6; background:#b9c9c6; }
.chart-boat,.boat-key::before { fill:var(--ink); background:var(--ink); }
.chart-times { font:600 12px/18px var(--sans); font-variant-numeric:tabular-nums; }
.chart-times .chart-departure { top:39px; }
.chart-legend { display:flex; flex-wrap:wrap; gap:8px 22px; margin-block:18px; color:var(--ink2); font-size:14px; }
.chart-legend span::before { content:""; display:inline-block; width:22px; height:10px; margin-inline-end:8px; border-radius:2px; vertical-align:middle; }
.chart-grid > .chart-item { padding:0; border:0; background:none; box-shadow:none; overflow:visible; }
.sea-stays { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:40px; margin-top:32px; }
.sea-stays a { display:grid; align-content:start; gap:8px; }
.sea-stays .photo { display:block; width:100%; height:auto; object-fit:cover; aspect-ratio:4/5; overflow:hidden; border-radius:3px; }
.sea-stays .chart-name { font-size:24px; margin-top:6px; }
.stay-description { color:var(--ink2); font-size:15.5px; max-width:48ch; }
.sea-detail-hero { display:grid; grid-template-columns:1.05fr 1fr; gap:32px; align-items:center; margin:0 0 24px; }
.sea-detail-hero > .photo { width:100%; height:auto; object-fit:cover; grid-column:2; grid-row:1; display:block; aspect-ratio:3/2; overflow:hidden; border-radius:4px; }
.sea-detail-heading { grid-column:1; grid-row:1; min-width:0; }
.sea-detail-heading h1 { font-size:clamp(36px,5vw,70px); }
.sea-detail-heading .tour-breadcrumb { color:var(--ink2); }
html body[data-page] .sea-detail-heading .tour-breadcrumb a { display:inline-flex; align-items:center; min-height:44px; color:var(--ink2); }
.sea-detail-map { display:grid; grid-template-columns:minmax(0,450px) minmax(0,1fr); align-items:end; gap:12px; }
.sea-detail-map > div { height:240px; }
.sea-detail-map svg { height:100%; }
.sea-route-strip { padding:16px 20px; background:var(--shallow); margin:0 0 20px; border-radius:4px; }
.sea-route-strip figcaption { font-size:14px; color:var(--ink2); margin-bottom:10px; }
.sea-route-strip div { display:grid; grid-template-columns:minmax(0,2fr) minmax(25px,1fr) minmax(0,2fr); align-items:center; gap:12px; }
.sea-route-strip div > span { overflow-wrap:anywhere; }
.sea-route-strip svg { width:100%; height:30px; }
.detail-day { border-block:1px solid var(--line); padding-block:14px; margin-block:24px; }
.detail-day > div:not(.chart-legend) { display:grid; grid-template-columns:100px minmax(0,1fr); align-items:center; min-height:66px; gap:12px; }
.detail-day .chart-time { grid-row:auto; grid-column:auto; }
.andaman-map { --map-sea:var(--shallow); --map-land:var(--land); --map-shore:#8b826c; --map-road:var(--mangrove); --map-boat:var(--ink); --map-halo:var(--paper); --map-ink:var(--ink); }
.andaman-map .map-places text { font-family:var(--place); font-style:var(--place-style); }
.byline { display:flex; flex-wrap:wrap; gap:4px 16px; }
[hidden] { display:none !important; }
@media (max-width:1099px) { .header-chat { display:none; } }
@media (max-width:860px) {
  .sea-hero,.sea-section { padding-inline:16px; }
  .sea-hero { grid-template-columns:minmax(0,1fr); gap:28px; padding-block:10px 44px; }
  html body[data-page] .sea-intro h1 { max-width:19ch; }
  .sea-map { aspect-ratio:auto; }
  .sea-map > svg { height:340px; }
  .sea-island { font-size:16px; }
  .sea-insets { position:static; width:auto; }
  .sea-insets a { display:grid; grid-template-columns:44% 1fr; align-items:center; gap:8px; }
  .sea-band { height:56vh; }
  .sea-band figcaption { left:16px; }
  .sea-section { padding-block:48px 64px; }
  .chart-scale { display:none; }
  .chart-row { grid-template-columns:minmax(0,1fr) auto; gap:9px 10px; padding-block:14px 19px; }
  .chart-row .chart-price { grid-column:2; font-size:15px; max-width:105px; }
  .chart-row .chart-time { grid-column:1/-1; grid-row:2; }
  .chart-who { grid-template-columns:64px minmax(0,1fr); gap:10px; }
  .chart-who .photo { width:64px; height:52px; }
  .chart-name { font-size:18px; }
  .sea-stays { grid-template-columns:1fr; gap:32px; }
  .sea-stays .photo { aspect-ratio:3/2; }
  .sea-detail-hero { grid-template-columns:1fr; gap:12px; }
  .sea-detail-heading { grid-column:1; grid-row:1; }
  .sea-detail-hero > .photo { grid-column:1; grid-row:2; }
  .sea-detail-map { grid-template-columns:minmax(0,1fr); gap:0; }
  .sea-detail-map > div { height:205px; }
}
@media (max-width:380px) { html body .brand-wordmark { font-size:17px; } }
@media (prefers-reduced-motion:reduce) {
  *,*::before,*::after { animation-duration:.01ms !important; transition-duration:.01ms !important; scroll-behavior:auto !important; }
}

:root[data-theme=dark] {
  color-scheme:dark;
  --paper:#112b32;
  --ink:#e6f3f1;
  --ink2:#b8d1cf;
  --line:#42626a;
  --surface:#1a353d;
  --tint:#234650;
  --control-line:#72959c;
  --accent:#a6d5c0;
  --accent-hover:#c6eddd;
  --signature-hover:#245b49;
  --footer-surface:#192f36;
  --on-accent:#0f3b44;
}
:root[data-theme=dark] :is(.site-footer,.chart-row:hover,.chart-row:focus-visible) { background:var(--tint); }
:root[data-theme=dark] :is(.sea-map,.sea-detail-map > div,.sea-route-strip,.andaman-map svg,.sea-toggle) {
  --ink:#0f3b44;
  --ink2:#4c6b70;
}
:root[data-theme=dark] .sea-route-strip { color:#0f3b44; }
:root[data-theme=dark] body[data-page] .button.primary:hover { background:var(--signature-hover); }

.chip, .tour-areas label, .booking-trust summary, .guide-toc a, #guide-sources + section a { min-height:44px; }
.guide-toc a, #guide-sources + section a { display:inline-flex; align-items:center; }
.booking-rate span { display:block; }
