/* Krabi Taxis — the Ao Nang desk, and the end of the road.
 *
 * This is the thinnest price list in the network: two pairs, four rows, and
 * both of them leave the province for Phuket. Nothing published stays in
 * Krabi. So the page does not pretend to be a rate card. It is an index of
 * the places people actually ask for, marked by how you reach each one and
 * whether we can print a price or have to send you one.
 *
 * The organising fact is geographic and only Krabi has it: Ao Nang is where
 * the road stops. Railay — the most photographed place in the province — has
 * no road at all. So the ground changes colour at that boundary. Everything a
 * car reaches sits on limestone paper; everything past the end of the tarmac
 * sits on water-dark. The page's palette is the argument.
 *
 * Grid rule this network has been bitten by: column widths are written
 * `.bay > .col-md-6` style — as `.row > .col-md-6` — matching the base rule's
 * specificity (0,2,0). Bare, they are (0,1,0), the base rule's width:100%
 * wins, and every grid collapses to one column at every width.
 */

*, *::before, *::after { box-sizing: border-box; }

:root {
  --shell:   #eceee7;   /* limestone paper: the half a car reaches */
  --shell-2: #f8f9f5;
  --shell-3: #dcdfd6;
  --deep:    #0f1a22;   /* water-dark: the half it does not */
  --deep-2:  #17252f;
  --ink:     #14181c;
  --ink-2:   #4b545c;
  /* Measured, not eyeballed: at 13px this carries the index's "ask" column
   * and the footer stamp, and #79828a reached only 3.3:1 on the sunken
   * ground. This clears 4.5 on both grounds. */
  --ink-3:   #565f67;
  --rule:    #c4c9bd;
  --rule-2:  #9aa196;
  --surf:    #00b4c8;   /* the accent: published prices, boat marks, links */
  --surf-deep: #006676;
  --on-deep: #e4edef;

  --wide: 72rem;
  --read: 36rem;        /* running text stays near 65 characters */

  --display: 'Syne', 'Trebuchet MS', sans-serif;
  --body: 'Commissioner', -apple-system, 'Segoe UI', sans-serif;

  color-scheme: light;
}

/* Niramit is a Thai humanist sans that holds up in a dense index; Syne has no
 * Thai, so the Thai sheet promotes Niramit into the display role too. */
:lang(th) {
  --body: 'Niramit', 'Leelawadee UI', Tahoma, sans-serif;
  --display: 'Niramit', 'Leelawadee UI', Tahoma, sans-serif;
}

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--shell);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.65;
}

img, svg { max-width: 100%; }
img { height: auto; }
[hidden] { display: none !important; }

a { color: var(--surf-deep); text-underline-offset: .16em; text-decoration-thickness: .06em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--surf); outline-offset: 2px; }

h1, h2, h3, h4 { font-family: var(--display); margin: 0 0 .5rem; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5.4vw, 3.8rem); font-weight: 800; line-height: 1.02; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.4rem); font-weight: 700; line-height: 1.08; letter-spacing: -.015em; }
h3 { font-size: 1.15rem; font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
p { margin: 0 0 1rem; }
strong, b { font-weight: 700; }
small { font-size: .85rem; }

:lang(th) h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 600; line-height: 1.35; letter-spacing: 0; }
:lang(th) h2 { font-size: clamp(1.3rem, 2.8vw, 1.9rem); font-weight: 600; line-height: 1.4; letter-spacing: 0; }
:lang(th) h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: 0; }
:lang(th) body { line-height: 1.85; }

.bay { width: min(100% - 2.5rem, var(--wide)); margin-inline: auto; }
.scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ── masthead ─────────────────────────────────────────────────────────── */

.crag { background: var(--shell-2); border-bottom: 1px solid var(--rule); position: sticky; top: 0; z-index: 50; }
.crag .bay { display: flex; align-items: center; gap: .9rem; min-height: 3.5rem; flex-wrap: wrap; }
.cragname {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--display); font-weight: 800; font-size: 1.05rem;
  letter-spacing: -.01em; color: var(--ink); text-decoration: none; margin-right: auto;
}
:lang(th) .cragname { font-size: .98rem; font-weight: 600; letter-spacing: 0; }
.cragname img { display: block; }
.paths { display: flex; align-items: center; gap: .1rem .9rem; flex-wrap: wrap; }
.paths a {
  color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .82rem;
  white-space: nowrap; padding: .25rem 0; border-bottom: 2px solid transparent;
}
.paths a:hover { color: var(--ink); border-bottom-color: var(--surf); }
.paths a.here { color: var(--ink); border-bottom-color: var(--ink); }
.tongues { display: inline-flex; gap: .45rem; padding-left: .3rem; }
.tongues a { padding: 0; border: 0; opacity: .45; }
.tongues a.here, .tongues a:hover { opacity: 1; }
.tongues img { display: block; border-radius: 1px; }

.seat {
  display: inline-block; white-space: nowrap;
  background: var(--ink); color: var(--shell-2); text-decoration: none;
  font-weight: 700; font-size: .82rem; padding: .48rem 1rem; border-radius: 3px; border: 0;
}
.seat:hover { background: var(--surf-deep); color: #fff; }
.seat-2 {
  display: inline-block; background: transparent; color: var(--ink); text-decoration: none;
  font-weight: 700; font-size: .84rem; padding: .44rem 1rem;
  border: 2px solid var(--ink); border-radius: 3px;
}
.seat-2:hover { background: var(--ink); color: var(--shell-2); }

/* ── the opening ──────────────────────────────────────────────────────── */

.headland { padding: 3rem 0 2rem; }
.headland h1 { max-width: 17ch; }
:lang(th) .headland h1 { max-width: 24ch; }
.headland h1 em { font-style: normal; color: var(--surf-deep); }
.lede { max-width: var(--read); font-size: 1.14rem; color: var(--ink-2); }
.lede b { color: var(--ink); }

/* The two published fares, side by side, small. They are the only printed
 * prices on the site and they both leave the province — the page says so
 * rather than dressing them up as a rate card. */
.outbound {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem; margin: 1.6rem 0 0; max-width: 46rem;
}
.outbound > div {
  background: var(--shell-2); border: 1px solid var(--rule);
  border-left: 4px solid var(--surf); border-radius: 3px; padding: .9rem 1rem;
}
.outbound dt { font-weight: 700; font-size: .95rem; margin-bottom: .1rem; }
.outbound .when { display: block; font-size: .85rem; color: var(--ink-2); margin-bottom: .5rem; }
.outbound dd { margin: 0; }
.cost {
  font-family: var(--display); font-weight: 800; font-size: 1.7rem; line-height: 1;
  color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap;
}
:lang(th) .cost { font-family: var(--body); font-weight: 600; font-size: 1.25rem; }
.cost:empty::before { content: "—"; opacity: .45; }
.alt { display: block; margin-top: .3rem; font-size: .82rem; color: var(--ink-2); }
.alt .cost { font-family: inherit; font-size: 1em; font-weight: 700; color: var(--ink-2); }

.plainly {
  max-width: var(--read); margin: 1.6rem 0 0;
  border-left: 4px solid var(--ink); padding: .1rem 0 .1rem 1rem; color: var(--ink-2);
}
.plainly p { margin: 0; }
.plainly p + p { margin-top: .55rem; }

/* ── a stretch of the page ────────────────────────────────────────────── */

.reach { padding: 2.6rem 0; border-top: 1px solid var(--rule); }
.reach > .bay > p { max-width: var(--read); color: var(--ink-2); }
.reach h2 + p { margin-top: .7rem; }

/* Past the end of the tarmac the ground itself changes. This is the page's
 * whole argument, so it is a colour change and not a heading.
 * The background is a literal because this rule also remaps the ink tokens —
 * a rule that redefines a token and reads it for its own background paints
 * itself wrong, which has caught two other sheets in this network. */
.waterline {
  background: #0f1a22;
  --shell: var(--deep);
  --shell-2: var(--deep-2);
  --shell-3: #0b141b;
  --ink: var(--on-deep);
  --ink-2: #a8bcc2;
  --ink-3: #7e949b;
  --rule: #263845;
  --rule-2: #354b59;
  color: var(--on-deep);
  border-top: 3px solid var(--surf);
}
.waterline a { color: #63dcea; }
.waterline a:hover { color: #fff; }

/* ── the index ────────────────────────────────────────────────────────── */

/* An index, not a table. Krabi's price list has two rows; what a visitor
 * actually needs is a reference for the forty places that have none, with
 * how you reach each and whether a number exists. */
.gazetteer { margin: 1.4rem 0 0; padding: 0; list-style: none; max-width: 56rem; }
.gazetteer li {
  display: grid;
  /* The name takes what it needs up to a limit, the two middle columns are
   * fixed so they line up down the list, and the slack goes to the right of
   * the price — an index reads as columns, not as scattered fragments. */
  grid-template-columns: minmax(11rem, 24rem) 10rem 6.5rem 1fr;
  gap: .1rem .9rem; align-items: baseline;
  padding: .62rem 0; border-top: 1px solid var(--rule);
}
.gazetteer li:first-child { border-top: 2px solid var(--ink); }
.gazetteer b { font-weight: 700; font-size: 1rem; }
.gazetteer .how { font-size: .84rem; color: var(--ink-2); }
.gazetteer .how.boat { color: var(--surf-deep); font-weight: 700; }
.waterline .gazetteer .how.boat { color: var(--surf); }
.gazetteer .t { font-size: .84rem; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.gazetteer .p { font-size: .84rem; font-weight: 700; text-align: right; white-space: nowrap; }
.gazetteer .p.ask { color: var(--ink-3); font-weight: 600; }
.gazetteer .p.set { color: var(--surf-deep); }
.gazetteer .note {
  grid-column: 1 / -1; font-size: .88rem; color: var(--ink-2); margin-top: .15rem;
  max-width: 44rem;
}
.gazkey {
  display: flex; flex-wrap: wrap; gap: .3rem 1.4rem;
  margin: 1.1rem 0 0; padding-top: .7rem; border-top: 1px solid var(--rule);
  font-size: .85rem; color: var(--ink-2);
}

.aside {
  max-width: var(--read); margin: 1.4rem 0 0; padding-top: .8rem;
  border-top: 1px solid var(--rule); font-size: .95rem; color: var(--ink-2);
}

/* ── what carries no price ────────────────────────────────────────────── */

.beyond { margin: 1.3rem 0 0; padding: 0; list-style: none; max-width: 50rem; }
.beyond li { padding: .8rem 0; border-top: 1px solid var(--rule); }
.beyond b { display: block; font-family: var(--display); font-size: 1.1rem; font-weight: 700; }
:lang(th) .beyond b { font-family: var(--body); font-size: 1rem; font-weight: 600; }
.beyond span { color: var(--ink-2); font-size: .95rem; }

/* ── the car ──────────────────────────────────────────────────────────── */

/* Every site in this network carries the same capacities and no two may carry
 * them in the same shape. Bangkok tabulates, Chiang Mai writes three columns
 * of prose, Phuket sets one measured line. Here they are footnotes to the
 * index, because on a desk that quotes by message the car size is something
 * you tell us rather than something you pick off a page. */
.rig { max-width: 50rem; margin: 1.2rem 0 0; padding: 0; list-style: none; counter-reset: none; }
.rig li {
  display: grid; grid-template-columns: 5.5rem 1fr; gap: .8rem;
  padding: .6rem 0; border-top: 1px solid var(--rule);
}
.rig b { font-family: var(--display); font-weight: 700; font-size: 1rem; }
:lang(th) .rig b { font-family: var(--body); font-weight: 600; }
.rig span { color: var(--ink-2); font-size: .95rem; }

.extras { max-width: 46rem; margin: 1.4rem 0 0; color: var(--ink-2); }
.extras b { color: var(--ink); }
.coin { font-weight: 700; color: var(--surf-deep); white-space: nowrap; font-variant-numeric: tabular-nums; }
.waterline .coin { color: var(--surf); }

/* ── footer ───────────────────────────────────────────────────────────── */

/* Two paragraphs around a single list, rather than the three columns of links
 * that two other sites in this network use. */
.anchorage { background: var(--shell-3); border-top: 1px solid var(--rule-2); padding: 2.2rem 0 1.8rem; margin-top: 2.4rem; }
.imprint { max-width: 46rem; font-size: .95rem; color: var(--ink-2); }
.imprint b { color: var(--ink); }
.berths {
  display: flex; flex-wrap: wrap; gap: .3rem 1.3rem; list-style: none;
  margin: 1.3rem 0; padding: 1rem 0 0; border-top: 1px solid var(--rule-2);
  font-size: .9rem; font-weight: 600;
}
.stamp { font-size: .8rem; color: var(--ink-3); margin: 0; }

/* ══ inherited application surface ════════════════════════════════════════
 * The booking form and the contact page arrived with Bootstrap-shaped markup
 * that works and that the back office posts to. What follows re-skins it in
 * this site's palette, kept apart from the page components above.
 */

.page, .container-xl { width: min(100% - 2.5rem, var(--wide)); margin-inline: auto; }
.row { display: flex; flex-wrap: wrap; margin-inline: -.5rem; }
.row > [class*="col-"] { padding-inline: .5rem; width: 100%; min-width: 0; }
.g-2 { row-gap: .5rem; } .g-3 { row-gap: 1rem; } .g-4 { row-gap: 1.5rem; }
.row > .col-6 { width: 50%; } .row > .col-12 { width: 100%; }
@media (min-width: 768px) {
  .row > .col-md-3 { width: 25%; } .row > .col-md-4 { width: 33.3333%; }
  .row > .col-md-6 { width: 50%; } .row > .col-md-8 { width: 66.6667%; }
  .text-md-start { text-align: left; } .text-md-end { text-align: right; }
  .mb-md-0 { margin-bottom: 0; } .d-md-block { display: block; }
  .d-md-inline { display: inline; }
}
@media (min-width: 992px) {
  .row > .col-lg-3 { width: 25%; } .row > .col-lg-4 { width: 33.3333%; }
  .row > .col-lg-5 { width: 41.6667%; } .row > .col-lg-6 { width: 50%; }
  .row > .col-lg-7 { width: 58.3333%; } .row > .col-lg-8 { width: 66.6667%; }
  .row > .col-lg-10 { width: 83.3333%; }
  .order-lg-1 { order: 1; } .order-lg-2 { order: 2; }
}

.d-none { display: none; } .d-block { display: block; } .d-flex { display: flex; }
@media (min-width: 576px) { .d-sm-inline { display: inline; } }
.flex-wrap { flex-wrap: wrap; } .flex-fill { flex: 1 1 auto; }
.align-items-center { align-items: center; } .align-items-start { align-items: flex-start; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.gap-2 { gap: .5rem; } .gap-3 { gap: 1rem; }
.w-100 { width: 100%; } .h-100 { height: 100%; }
.text-center { text-align: center; } .text-start { text-align: left; } .text-end { text-align: right; }
.fw-bold { font-weight: 700; } .fw-medium { font-weight: 600; } .fw-normal { font-weight: 400; }
.fs-5 { font-size: 1.1rem; } .small { font-size: .875rem; }
.text-muted { color: var(--ink-2); }
.text-dark { color: var(--ink); }
.text-danger { color: #a3201a; }
.text-success { color: #13684c; }
.text-warning { color: var(--surf-deep); }
.text-decoration-none { text-decoration: none; }
.mb-0 { margin-bottom: 0; } .mb-1 { margin-bottom: .25rem; } .mb-2 { margin-bottom: .5rem; }
.mb-3 { margin-bottom: 1rem; } .mb-4 { margin-bottom: 1.5rem; }
.mt-1 { margin-top: .25rem; } .mt-2 { margin-top: .5rem; } .mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; } .mt-5 { margin-top: 2.5rem; }
.me-1 { margin-right: .25rem; } .me-2 { margin-right: .5rem; } .ms-2 { margin-left: .5rem; }
.p-2 { padding: .5rem; } .p-3 { padding: 1rem; } .p-4 { padding: 1.5rem; }
.py-3 { padding-block: 1rem; } .py-4 { padding-block: 1.5rem; } .py-5 { padding-block: 2.5rem; }
.rounded { border-radius: 3px; }
.border-0 { border: 0; }
.shadow, .shadow-sm { box-shadow: none; }
.h3 { font-family: var(--display); font-size: 1.5rem; font-weight: 800; }
.h5 { font-family: var(--display); font-size: 1.15rem; font-weight: 700; }
.h6 { font-size: .95rem; font-weight: 700; }
:lang(th) .h3 { font-family: var(--body); font-size: 1.2rem; font-weight: 600; }
:lang(th) .h5 { font-family: var(--body); font-size: 1.02rem; font-weight: 600; }
.display-1 { font-family: var(--display); font-size: clamp(3.4rem, 12vw, 7rem); font-weight: 800; color: var(--surf-deep); line-height: 1; }

.card { background: var(--shell-2); border: 1px solid var(--rule); border-radius: 3px; margin-bottom: 1.5rem; }
.card-header { background: var(--ink); color: var(--shell-2); padding: .8rem 1.1rem; border-radius: 2px 2px 0 0; }
.card-header .card-title, .card-header h2, .card-header h3 { color: var(--shell-2); margin: 0; }
.card-body { padding: 1.2rem; }
.card-title { font-family: var(--display); font-weight: 700; }

.btn {
  display: inline-block; cursor: pointer; text-decoration: none;
  font-weight: 700; font-size: .88rem; padding: .52rem 1.1rem;
  border-radius: 3px; border: 2px solid transparent;
  background: var(--ink); color: var(--shell-2); line-height: 1.4;
}
.btn:hover { background: var(--surf-deep); color: #fff; }
.btn-lg { padding: .68rem 1.4rem; font-size: .98rem; }
.btn-sm { padding: .32rem .8rem; font-size: .8rem; }
.btn-dark, .btn-success, .btn-taxi { background: var(--ink); color: var(--shell-2); }
.btn-dark:hover, .btn-success:hover, .btn-taxi:hover { background: var(--surf-deep); }
.btn-outline-dark, .btn-outline-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline-dark:hover, .btn-outline-secondary:hover { background: var(--ink); color: var(--shell-2); }
/* No band behind a button on this site is dark, so a light outline would
 * render near-invisible; this alias resolves to the dark outline. */
.btn-outline-light { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline-light:hover { background: var(--ink); color: var(--shell-2); }
.btn:disabled, .btn[disabled] { opacity: .5; cursor: not-allowed; }
.btn-group { display: inline-flex; gap: .4rem; flex-wrap: wrap; }

.form-label { display: block; margin-bottom: .3rem; font-size: .85rem; font-weight: 700; color: var(--ink-2); }
.form-control, .form-select {
  width: 100%; padding: .55rem .7rem; background: #fff; color: var(--ink);
  border: 1px solid var(--rule-2); border-radius: 3px;
  font-family: var(--body); font-size: 1rem; line-height: 1.5;
}
textarea.form-control { min-height: 7rem; }
.form-control:focus, .form-select:focus { outline: 3px solid var(--surf); outline-offset: 0; border-color: var(--surf); }
.form-control::placeholder { color: var(--ink-3); }
.form-check { display: flex; align-items: flex-start; gap: .5rem; margin-bottom: .5rem; }
.form-check-input { margin-top: .35rem; accent-color: var(--surf-deep); }
.form-check-label { font-size: .95rem; }
.input-group { display: flex; }
.input-group .form-control { border-radius: 3px 0 0 3px; }
.input-group .btn { border-radius: 0 3px 3px 0; }

.alert { padding: .85rem 1rem; border-radius: 3px; border-left: 4px solid; margin-bottom: 1rem; }
.alert-success { background: #dcebe4; border-color: #13684c; color: #0e412f; }
.alert-danger { background: #f2dedc; border-color: #a3201a; color: #6d1712; }

.spinner-border {
  display: inline-block; width: 1.1rem; height: 1.1rem; vertical-align: -.15em;
  border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%;
  animation: spin .8s linear infinite;
}
.spinner-border-sm { width: .85rem; height: .85rem; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .spinner-border { animation-duration: 2.4s; }
  * { scroll-behavior: auto !important; }
}

table { border-collapse: collapse; }
.table { width: 100%; }
.table th, .table td { padding: .55rem .7rem; border-bottom: 1px solid var(--rule); text-align: left; }

/* booking flow */
.step-indicator { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-bottom: 1.5rem; }
.step-number {
  display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 3px;
  background: var(--shell-3); color: var(--ink-2); font-weight: 700; font-size: .95rem;
}
.step-number.active { background: var(--ink); color: var(--shell-2); }
.step-label { font-size: .8rem; font-weight: 600; color: var(--ink-2); }
.step-line { flex: 0 0 2rem; height: 2px; background: var(--rule-2); }

.route-grid-card {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: .8rem 1rem; margin-bottom: .5rem; cursor: pointer;
  background: var(--shell-2); border: 1px solid var(--rule);
  border-left: 4px solid var(--rule-2); border-radius: 3px;
}
.route-grid-card:hover { border-left-color: var(--surf); }
.route-grid-card.selected { border-left-color: var(--surf); box-shadow: inset 0 0 0 1px var(--surf); background: #fff; }
.route-from-to { font-weight: 700; }
.route-price { font-family: var(--display); font-weight: 800; font-size: 1.25rem; color: var(--surf-deep); font-variant-numeric: tabular-nums; white-space: nowrap; }
:lang(th) .route-price { font-family: var(--body); font-size: 1.05rem; font-weight: 600; }

.car-type-btn {
  display: block; width: 100%; text-align: left; cursor: pointer;
  padding: .7rem .9rem; margin-bottom: .5rem;
  background: var(--shell-2); border: 1px solid var(--rule); border-radius: 3px;
  font-family: var(--body); color: var(--ink);
}
.car-type-btn:hover { border-color: var(--surf); }
.car-type-btn.selected { border-color: var(--surf); box-shadow: inset 0 0 0 1px var(--surf); background: #fff; }
.car-name { font-weight: 700; }
.car-price, .car-price-grid, .car-price-item { font-weight: 700; color: var(--surf-deep); font-variant-numeric: tabular-nums; }
.car-price-grid { display: flex; flex-wrap: wrap; gap: .3rem 1rem; }
.booking-summary { background: var(--shell-3); border-radius: 3px; padding: 1rem; }

/* contact page Q&A — native details/summary, no accordion script */
.qa-list { max-width: 52rem; }
.qa { border-top: 1px solid var(--rule); }
.qa summary {
  cursor: pointer; padding: .9rem 0; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary h3 { margin: 0; font-size: 1.08rem; }
.qa summary::after { content: "+"; font-family: var(--display); font-weight: 800; font-size: 1.4rem; color: var(--surf-deep); line-height: 1; }
.qa[open] summary::after { content: "\2013"; }
.qa-body { padding: 0 0 1rem; color: var(--ink-2); max-width: var(--read); }

.hero-section { padding: 2.4rem 0 1.4rem; }
.hero-title { font-family: var(--display); font-weight: 800; line-height: 1.05; font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -.02em; }
:lang(th) .hero-title { font-family: var(--body); font-size: clamp(1.5rem, 3.4vw, 2.1rem); font-weight: 600; line-height: 1.4; letter-spacing: 0; }
.hero-subtitle { max-width: var(--read); font-size: 1.08rem; color: var(--ink-2); }
.cta-section { padding: 2.2rem 0; background: var(--shell-3); border-top: 1px solid var(--rule-2); }
.feature-card { padding: 1rem 0; border-top: 1px solid var(--rule); height: 100%; }
.feature-icon { color: var(--surf-deep); font-size: 1.2rem; }
.feature-title { font-family: var(--display); font-weight: 700; font-size: 1.05rem; margin-bottom: .2rem; }
:lang(th) .feature-title { font-family: var(--body); font-size: 1rem; font-weight: 600; }

.nf-link { display: block; padding: .6rem .8rem; background: var(--shell-2); border: 1px solid var(--rule); border-radius: 3px; text-decoration: none; color: var(--ink); }
.nf-link:hover { border-color: var(--surf); }

.cf-turnstile { margin-bottom: 1rem; min-height: 65px; }

/* ── narrow ───────────────────────────────────────────────────────────── */

@media (max-width: 760px) {
  body { font-size: 1rem; }
  .crag { position: static; }
  .crag .bay { padding-block: .55rem; gap: .5rem; }
  .cragname { margin-right: 0; width: 100%; }
  .paths { gap: .1rem .75rem; }
  .paths a { font-size: .76rem; }
  .headland { padding: 2rem 0 1.6rem; }
  .reach { padding: 2rem 0; }
  .outbound { grid-template-columns: 1fr; }
  .gazetteer li { grid-template-columns: 1fr auto; row-gap: .15rem; }
  .gazetteer .how { grid-column: 1; }
  .gazetteer .t { grid-column: 1; }
  .gazetteer .p { grid-column: 2; grid-row: 1; }
  .rig li { grid-template-columns: 1fr; gap: .1rem; }
}
