/* ==========================================================================
   OLAM by Plasseril — "Linen" concept
   A printed journal: mounted photographic plates, hairline rules, wide margins.
   Light theme only. Palette sampled from the real logo (see BRIEF.md §12).
   Every text/background pair below was checked against WCAG 2.1 AA (4.5:1).
   ========================================================================== */

:root {
  /* --- grounds ---------------------------------------------------------- */
  --cream:      #F3EEE4;   /* page ground */
  --paper:      #FAF8F2;   /* the mat behind a photograph — lightest */
  --linen:      #E7DFD0;   /* alternating band, slightly deeper */
  --green-deep: #454736;   /* the one dark anchor, straight from the foliage */

  /* --- ink -------------------------------------------------------------- */
  --ink:        #1A1712;   /* 15.45:1 on cream — body copy */
  --muted:      #5C5346;   /*  6.53:1 on cream — secondary copy */
  --teak:       #6A4B25;   /*  6.86:1 on cream — labels, ordinals */
  --teak-deep:  #4C2E1A;   /* 10.60:1 on cream — button hover ground */

  /* --- decoration only (NEVER text) ------------------------------------- */
  --gold:       #BCA36D;   /* 2.11:1 on cream. Rules and the ripple glyph. */
  --gold-light: #DAC28A;

  /* --- rules ------------------------------------------------------------ */
  --rule:       rgba(26, 23, 18, 0.14);
  --rule-soft:  rgba(26, 23, 18, 0.08);
  --rule-gold:  rgba(188, 163, 109, 0.55);

  /* --- focus ring (re-declared on dark grounds) ------------------------- */
  --ring: var(--ink);

  /* --- type ------------------------------------------------------------- */
  --display: "Marcellus", "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Karla", "Helvetica Neue", Helvetica, Arial, sans-serif;

  --fs-cover: clamp(2.25rem, 1.4rem + 2.75vw, 4.05rem);
  --fs-h1:    clamp(2.2rem, 1.42rem + 3.1vw, 4.1rem);
  --fs-h2:    clamp(1.62rem, 1.28rem + 1.5vw, 2.55rem);
  --fs-h3:    clamp(1.18rem, 1.06rem + 0.5vw, 1.46rem);
  --fs-lead:  clamp(1.06rem, 0.98rem + 0.42vw, 1.3rem);
  --fs-body:  clamp(1rem, 0.965rem + 0.16vw, 1.075rem);
  --fs-small:  0.9rem;
  --fs-label: clamp(0.75rem, 0.72rem + 0.1vw, 0.815rem);

  /* --- measure ---------------------------------------------------------- */
  --pad:   clamp(20px, 5vw, 72px);
  --maxw:  1240px;
  --maxw-wide: 1560px;

  /* --- motion ----------------------------------------------------------- */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ==========================================================================
   RESET
   ========================================================================== */

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

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--fs-body);
  font-weight: 400;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

h1, h2, h3, h4, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }

a { color: inherit; }

button, input, select, textarea { font: inherit; color: inherit; }

table { border-collapse: collapse; width: 100%; }

p { text-wrap: pretty; }

/* --- focus ---------------------------------------------------------------
   Visible on every interactive element. The ring colour is inverted inside
   dark bands so it always clears 4.5:1 against whatever it sits on. */
:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 3px;
}
:focus:not(:focus-visible) { outline: none; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 12px; top: -100px;
  z-index: 200;
  background: var(--ink);
  color: var(--cream);
  padding: 12px 20px;
  font-size: var(--fs-label);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: top 160ms var(--ease);
}
.skip-link:focus { top: 12px; }

/* ==========================================================================
   TYPOGRAPHY PRIMITIVES
   ========================================================================== */

.display {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: 0.004em;
  text-wrap: balance;
}

.label {
  font-family: var(--sans);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--teak);
  line-height: 1.5;
}

.lead {
  font-size: var(--fs-lead);
  line-height: 1.6;
  color: var(--ink);
}

.muted { color: var(--muted); }

.small { font-size: var(--fs-small); line-height: 1.6; color: var(--muted); }

.measure { max-width: 34em; }
.measure-tight { max-width: 28em; }

/* Editorial drop cap — used once, on the welcome paragraph. */
.dropcap::first-letter {
  font-family: var(--display);
  float: left;
  font-size: 3.9em;
  line-height: 0.78;
  padding: 0.06em 0.14em 0 0;
  color: var(--teak-deep);
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */

.wrap {
  width: min(100% - (var(--pad) * 2), var(--maxw));
  margin-inline: auto;
}
.wrap-wide {
  width: min(100% - (var(--pad) * 2), var(--maxw-wide));
  margin-inline: auto;
}

.band { padding-block: clamp(60px, 8.5vw, 128px); }
.band--tight { padding-block: clamp(44px, 5.5vw, 80px); }
.band--linen { background: var(--linen); }
.band--deep {
  background: var(--green-deep);
  color: var(--cream);
  --ring: var(--cream);
  --rule: rgba(243, 238, 228, 0.22);
  /* Re-point the ink tokens rather than chasing individual selectors:
     --muted (#5C5346) and --teak (#6A4B25) are ink-on-cream values and both
     fail badly on green. Everything downstream reads through these two. */
  --muted: var(--linen);        /* 7.19:1 on green-deep */
  --teak:  var(--gold-light);   /* 5.47:1 on green-deep */
}

.stack { --s: 20px; }              /* declared, not defaulted, so a nested
                                      stack never inherits its parent's rhythm */
.stack > * + * { margin-top: var(--s); }
.stack-sm { --s: 12px; }
.stack-lg { --s: 32px; }

/* Two-column editorial spread: text one side, a mounted plate the other. */
.spread {
  display: grid;
  gap: clamp(28px, 4.2vw, 64px);
  align-items: center;
}
/* Grid items default to a min-content floor. The empty frames carry an
   aspect-ratio, which transfers their min-content height into a min-content
   *width* — enough to push a 360px layout 15px wide. */
.spread > *, .pair > * { min-width: 0; }
@media (min-width: 900px) {
  .spread { grid-template-columns: 5fr 6fr; }
  /* Flipped, the plate moves to column one — so column one becomes the wide
     one. The photograph keeps its size whichever side it is on. */
  .spread--flip { grid-template-columns: 6fr 5fr; }
  .spread--flip .spread__text { order: 2; }
  .spread--wide-img { grid-template-columns: 4fr 7fr; }
  .spread--wide-img.spread--flip { grid-template-columns: 7fr 4fr; }
}

/* Two plates side by side. Never more than two — the photography is
   wide-angle and unstyled; it dies in a mosaic. */
.pair {
  display: grid;
  gap: clamp(20px, 3vw, 44px);
}
@media (min-width: 760px) {
  .pair { grid-template-columns: 1fr 1fr; align-items: start; }
}

/* ==========================================================================
   MASTHEAD
   ========================================================================== */

.masthead {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--cream);
  border-bottom: 1px solid var(--rule);
}

.masthead__in {
  width: min(100% - (var(--pad) * 2), var(--maxw-wide));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 68px;
  padding-block: 10px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  flex: 0 0 auto;
}
.brand__mark { width: 30px; height: auto; }
.brand__name {
  font-family: var(--display);
  font-size: 1.16rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  line-height: 1;
  padding-left: 0.28em; /* optical: recover the trailing tracking space */
}
.brand__sub {
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1;
  display: none;
}
@media (min-width: 560px) { .brand__sub { display: block; } }

.mainnav { display: none; }
@media (min-width: 940px) {
  .mainnav { display: block; }
  .mainnav ul { display: flex; gap: clamp(20px, 2.6vw, 42px); }
  .mainnav a {
    display: block;
    text-decoration: none;
    font-size: var(--fs-label);
    font-weight: 500;
    letter-spacing: 0.17em;
    text-transform: uppercase;
    color: var(--muted);
    padding: 8px 0 6px;
    border-bottom: 1px solid transparent;
    transition: color 200ms var(--ease), border-color 200ms var(--ease);
  }
  .mainnav a:hover { color: var(--ink); border-bottom-color: var(--rule); }
  .mainnav a[aria-current="page"] {
    color: var(--ink);
    font-weight: 600;
    border-bottom-color: var(--gold);
  }
}

.masthead__end { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }

.navtoggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: none;
  border: 1px solid var(--rule);
  padding: 9px 14px;
  cursor: pointer;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
}
.navtoggle:hover { border-color: var(--ink); }
.navtoggle__bars { display: block; width: 15px; }
.navtoggle__bars i {
  display: block;
  height: 1px;
  background: currentColor;
  transition: transform 240ms var(--ease), opacity 200ms var(--ease);
}
.navtoggle__bars i + i { margin-top: 4px; }
.navtoggle[aria-expanded="true"] .navtoggle__bars i:first-child { transform: translateY(2.5px) rotate(45deg); }
.navtoggle[aria-expanded="true"] .navtoggle__bars i:last-child { transform: translateY(-2.5px) rotate(-45deg); }
@media (min-width: 940px) { .navtoggle { display: none; } }

/* Drawer — lives inside the sticky masthead so the two travel together. --- */
.drawer {
  background: var(--cream);
  border-top: 1px solid var(--rule-soft);
  max-height: calc(100vh - 70px);
  overflow-y: auto;
}
.drawer__in {
  width: min(100% - (var(--pad) * 2), var(--maxw-wide));
  margin-inline: auto;
  padding-block: 22px 30px;
}
.drawer nav a {                 /* nav links only — not the button below them */
  display: block;
  text-decoration: none;
  font-family: var(--display);
  font-size: 1.6rem;
  line-height: 1.35;
  padding: 9px 0;
  border-bottom: 1px solid var(--rule-soft);
}
.drawer nav a[aria-current="page"] { color: var(--teak-deep); }
.drawer nav a[aria-current="page"]::after {
  content: "";
  display: inline-block;
  width: 22px; height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin-left: 12px;
}
.drawer__foot { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 940px) { .drawer { display: none; } }

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--cream);
  text-decoration: none;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1;
  cursor: pointer;
  position: relative;
  transition: background-color 220ms var(--ease), color 220ms var(--ease), border-color 220ms var(--ease);
}
.btn:hover { background: var(--teak-deep); border-color: var(--teak-deep); }

.btn--line {
  background: transparent;
  color: var(--ink);
  border-color: rgba(26, 23, 18, 0.32);
}
.btn--line:hover { background: transparent; border-color: var(--ink); color: var(--ink); }

.btn--sm { padding: 10px 16px; }

.band--deep .btn {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--ink);
}
.band--deep .btn:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--ink); }
.band--deep .btn--line { background: transparent; color: var(--cream); border-color: rgba(243, 238, 228, 0.45); }
.band--deep .btn--line:hover { background: transparent; border-color: var(--cream); color: var(--cream); }

.btn .ico { width: 17px; height: 17px; fill: currentColor; flex: 0 0 auto; }

.btnrow { display: flex; flex-wrap: wrap; gap: 12px; }

/* Under ~480px the masthead cannot hold brand + labelled button + Menu on one
   line (it overflowed to 405px at a 390px viewport). The WhatsApp button drops
   to its glyph; the label stays in the accessibility tree as the link's name. */
@media (max-width: 479px) {
  /* keep the 44px touch target even without the label */
  .masthead__end .btn { padding-inline: 14px; min-height: 44px; }
  .navtoggle { min-height: 44px; }
  .masthead__end .btn > span {
    position: absolute;
    width: 1px; height: 1px; margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .navtoggle { padding-inline: 11px; }
  .brand { gap: 9px; }
  .brand__mark { width: 26px; }
  .brand__name { font-size: 1.02rem; letter-spacing: 0.22em; }
}

/* Quiet inline link with a rule under it. */
.link {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 1px;
  transition: border-color 200ms var(--ease);
}
.link:hover { border-bottom-color: var(--ink); }
.band--deep .link { color: var(--cream); border-bottom-color: var(--gold-light); }
.band--deep .link:hover { border-bottom-color: var(--cream); }

/* ==========================================================================
   PLATE — the mounted photograph. The signature device.
   A photo never touches the page ground directly; it is always matted.
   This is also what structurally stops a 1200×900 file going full-bleed.
   ========================================================================== */

.plate { margin: 0; }

/* A mat is always paper, whichever band it sits in — so it restores the
   light-surface ink tokens that .band--deep re-pointed. */
.plate__mat {
  --muted: #5C5346;
  --teak: #6A4B25;
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: clamp(9px, 1.15vw, 18px);
}
.plate__mat img {
  width: 100%;
  height: auto;
  box-shadow: 0 0 0 1px var(--rule-gold);
}
.plate__mat img.is-cropped { height: 100%; object-fit: cover; }

.plate figcaption {
  margin-top: 13px;
  font-size: var(--fs-small);
  line-height: 1.55;
  color: var(--muted);
  max-width: 40ch;
  display: flex;
  gap: 10px;
}
.plate figcaption .no {
  font-family: var(--display);
  color: var(--teak);
  flex: 0 0 auto;
  letter-spacing: 0.06em;
}


/* An empty frame: we do not have this photograph and will not fake it. */
.plate--empty .plate__mat {
  background:
    repeating-linear-gradient(
      135deg,
      transparent 0 9px,
      rgba(106, 75, 37, 0.045) 9px 10px
    ),
    var(--paper);
  display: grid;
  place-items: center;
  text-align: center;
  padding: clamp(28px, 5vw, 64px) clamp(20px, 4vw, 48px);
  min-height: 200px;
  aspect-ratio: 4 / 3;
}
.plate--empty .plate__mat.ar-wide { aspect-ratio: 16 / 9; }
.plate--empty .plate__mat.ar-sq { aspect-ratio: 1 / 1; }

/* Below ~700px the caption no longer fits inside the ratio, and the box
   answers by getting *wider* (aspect-ratio transfers min-content height into
   min-content width). Let it be a plain tall frame instead. */
@media (max-width: 700px) {
  .plate--empty .plate__mat,
  .plate--empty .plate__mat.ar-wide,
  .plate--empty .plate__mat.ar-sq {
    aspect-ratio: auto;
    min-width: 0;
    min-height: 230px;
  }
}
.plate--empty .plate__inner { max-width: 34ch; }
.plate--empty .plate__inner p {
  margin-top: 12px;
  font-size: var(--fs-small);
  color: var(--muted);
}
.plate--empty .plate__rule {
  width: 34px; height: 1px;
  background: var(--gold);
  margin: 16px auto 0;
}

/* ==========================================================================
   COVER (index.html)
   ========================================================================== */

.cover { display: grid; }

.cover__type {
  padding-inline: var(--pad);
  padding-block: clamp(44px, 7vw, 92px) clamp(30px, 4vw, 44px);
}
.cover__typeIn { max-width: 36rem; }

.cover__title { font-size: inherit; font-weight: 400; margin: 0; }
.cover__eyebrow {
  display: block;
  font-family: var(--sans);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--teak);
  margin-bottom: clamp(18px, 2.4vw, 30px);
}
.cover__line {
  display: block;
  font-family: var(--display);
  font-size: var(--fs-cover);
  line-height: 1.03;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.cover__stand {
  margin-top: clamp(20px, 2.6vw, 32px);
  font-size: var(--fs-lead);
  line-height: 1.55;
  color: var(--muted);
  max-width: 26em;
}
.cover__cta { margin-top: clamp(26px, 3.2vw, 40px); }
.cover__note {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  font-size: var(--fs-small);
  color: var(--muted);
  max-width: 30em;
}

.cover__plate { margin: 0; }
.cover__plate img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 42%;
}
.cover__caption {
  padding: 12px var(--pad) 0;
  font-size: var(--fs-small);
  color: var(--muted);
}

@media (min-width: 1000px) {
  .cover {
    grid-template-columns: 51fr 49fr;
    align-items: center;
    border-bottom: 1px solid var(--rule);
  }
  .cover__type {
    /* aligns the text column exactly with .wrap's left edge on wide screens */
    padding-left: max(var(--pad), calc((100vw - var(--maxw)) / 2));
    padding-right: clamp(32px, 4vw, 64px);
    padding-block: clamp(64px, 7vw, 110px);
    display: flex;
    justify-content: flex-start;
  }
  .cover__plate {
    align-self: stretch;
    display: flex;
    flex-direction: column;
  }
  .cover__plate img {
    aspect-ratio: auto;
    height: min(82vh, 780px);
    object-position: center 46%;
  }
  .cover__caption { padding: 12px clamp(20px, 3vw, 40px) 0 clamp(20px, 3vw, 40px); }
}

/* ==========================================================================
   FOLIO — the ruled page-opening header on rooms / island / stay
   ========================================================================== */

.folio { padding-block: clamp(40px, 6vw, 82px) clamp(30px, 3.5vw, 48px); }

.folio__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ink);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--teak);
}
.folio__meta .no { color: var(--muted); }

.folio__title {
  margin-top: clamp(26px, 3.4vw, 46px);
  font-family: var(--display);
  font-weight: 400;
  font-size: var(--fs-h1);
  line-height: 1.03;
  letter-spacing: -0.004em;
  text-wrap: balance;
  max-width: 16em;
}
.folio__stand {
  margin-top: clamp(18px, 2vw, 26px);
  font-size: var(--fs-lead);
  line-height: 1.58;
  color: var(--muted);
  max-width: 40em;
}

/* ==========================================================================
   SECTION HEADS
   ========================================================================== */

.head { margin-bottom: clamp(28px, 3.6vw, 52px); }
.head__label { margin-bottom: 14px; }
.head__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: var(--fs-h2);
  line-height: 1.12;
  text-wrap: balance;
  max-width: 18em;
}
.head__stand {
  margin-top: 16px;
  font-size: var(--fs-lead);
  color: var(--muted);
  max-width: 38em;
}
.head--ruled {
  border-top: 1px solid var(--rule);
  padding-top: clamp(20px, 2.4vw, 32px);
}

.fs-h2 { font-size: var(--fs-h2); }

h3.sub {
  font-family: var(--display);
  font-weight: 400;
  font-size: var(--fs-h3);
  line-height: 1.28;
}

/* ==========================================================================
   FACILITIES — an editorial numbered list, no icons.
   ========================================================================== */

.facilities {
  display: grid;
  gap: 0 clamp(28px, 4vw, 72px);
  border-top: 1px solid var(--ink);
  counter-reset: fac;
}
@media (min-width: 700px)  { .facilities { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1120px) { .facilities { grid-template-columns: 1fr 1fr 1fr; } }

.facilities li {
  counter-increment: fac;
  display: flex;
  gap: 16px;
  align-items: baseline;
  padding: 15px 0;
  border-bottom: 1px solid var(--rule-soft);
}
.facilities li::before {
  content: counter(fac, decimal-leading-zero);
  /* Sans, not the display serif: Marcellus renders 1 and 0 close enough to
     I and O that "10" reads as "IO" at this size. */
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.12em;
  color: var(--teak);
  flex: 0 0 1.9em;
}

/* ==========================================================================
   NUMBERED EDITORIAL LIST (island: what you pass on the water)
   ========================================================================== */

.passages { border-top: 1px solid var(--rule); }
.passages li {
  display: grid;
  gap: 4px 22px;
  padding: clamp(16px, 2vw, 24px) 0;
  border-bottom: 1px solid var(--rule);
}
@media (min-width: 720px) {
  .passages li { grid-template-columns: 3.2em 15em 1fr; align-items: baseline; }
}
.passages .no {
  font-family: var(--sans);          /* same reason as .facilities li::before */
  font-size: 0.8rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.12em;
  color: var(--teak);
  line-height: 2.4;
}
.passages .term {
  font-family: var(--display);
  font-size: var(--fs-h3);
  line-height: 1.25;
}
.passages .desc { color: var(--muted); max-width: 40em; }


/* ==========================================================================
   PULL QUOTE
   ========================================================================== */

.pull {
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
  padding-block: clamp(28px, 4vw, 52px);
  margin-block: clamp(34px, 4.6vw, 68px);
}
.pull p {
  font-family: var(--display);
  font-size: clamp(1.45rem, 1.05rem + 1.9vw, 2.55rem);
  line-height: 1.22;
  text-wrap: balance;
  max-width: 20em;
}
.pull cite {
  display: block;
  margin-top: 18px;
  font-family: var(--sans);
  font-style: normal;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teak);
}


/* ==========================================================================
   TABLE — getting here
   ========================================================================== */

/* The table keeps three columns and scrolls sideways on a phone. A scrollable
   region must be reachable by keyboard, hence tabindex/role on the container;
   the fade tells you there is more to the right. */
.table-scroll {
  overflow-x: auto;
  overscroll-behavior-x: contain;
}
@media (max-width: 700px) {
  .table-scroll {
    -webkit-mask-image: linear-gradient(to right, #000 88%, rgba(0, 0, 0, 0.25) 100%);
    mask-image: linear-gradient(to right, #000 88%, rgba(0, 0, 0, 0.25) 100%);
  }
}

.dtable { min-width: 460px; }
.dtable caption {
  text-align: left;
  font-size: var(--fs-small);
  color: var(--muted);
  padding-bottom: 16px;
}
.dtable th, .dtable td {
  text-align: left;
  padding: 16px 18px 16px 0;
  border-bottom: 1px solid var(--rule);
  vertical-align: baseline;
}
.dtable thead th {
  border-bottom-color: var(--ink);
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--teak);
  padding-bottom: 12px;
}
.dtable tbody th {
  font-weight: 400;
  font-family: var(--display);
  font-size: var(--fs-h3);
  line-height: 1.3;
  padding-right: 28px;
}
.dtable .dist {
  font-family: var(--display);
  font-size: var(--fs-h3);
  white-space: nowrap;
}
.dtable .dtable__note { color: var(--muted); font-size: var(--fs-small); }


/* ==========================================================================
   THE RIPPLE — used exactly once per page, as a divider.
   "Olam" (ഓളം) is Malayalam for ripple; the logo is a ring of interlaced waves.
   ========================================================================== */

.ripple {
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  padding-block: clamp(26px, 4vw, 52px);
}
.ripple::before, .ripple::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: var(--rule);
}
.ripple svg { width: 46px; height: 46px; flex: 0 0 auto; overflow: visible; }
.ripple circle { fill: none; stroke: var(--gold); stroke-width: 1; }
.ripple .r1 { opacity: 0.95; }
.ripple .r2 { opacity: 0.62; }
.ripple .r3 { opacity: 0.34; }

.ripple .r0 { opacity: 0; }

@media (prefers-reduced-motion: no-preference) {
  .ripple .r0 {
    transform-origin: 24px 24px;
    animation: rippleOut 7s var(--ease) infinite;
  }
  @keyframes rippleOut {
    0%   { transform: scale(0.5); opacity: 0; }
    18%  { opacity: 0.7; }
    100% { transform: scale(2.7); opacity: 0; }
  }
}

/* ==========================================================================
   NOTE BLOCK — soft aside in the margin voice
   ========================================================================== */

.note {
  border-left: 1px solid var(--gold);
  padding: 4px 0 4px 20px;
  max-width: 34em;
}
.note p { font-size: var(--fs-small); color: var(--muted); }
.note .label { margin-bottom: 8px; display: block; }

/* ==========================================================================
   CONTACT CARDS (stay.html)
   ========================================================================== */

.cards {
  display: grid;
  gap: clamp(20px, 2.6vw, 32px);
}
@media (min-width: 780px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1120px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--paper);
  border: 1px solid var(--rule);
  padding: clamp(24px, 3vw, 38px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.card__title {
  font-family: var(--display);
  font-weight: 400;
  font-size: var(--fs-h3);
  line-height: 1.25;
}
.card p { font-size: var(--fs-small); color: var(--muted); }
.card__foot { margin-top: auto; padding-top: 6px; }


.telrow { display: flex; flex-direction: column; gap: 6px; }
.telrow a {
  font-family: var(--display);
  font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.6rem);
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  align-self: flex-start;
  line-height: 1.5;
}
.telrow a:hover { border-bottom-color: var(--ink); }

.addr {
  font-style: normal;
  font-size: var(--fs-lead);
  line-height: 1.7;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--rule);
  padding: 7px 14px;
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teak);
}
.badge .dot { width: 6px; height: 6px; background: var(--gold); flex: 0 0 auto; }

/* ==========================================================================
   FORM
   ========================================================================== */

.form { display: grid; gap: clamp(18px, 2.2vw, 26px); }
.form fieldset { border: 0; padding: 0; margin: 0; display: contents; }
.form legend { display: contents; }

.fgrid { display: grid; gap: clamp(18px, 2.2vw, 26px); }
@media (min-width: 640px) { .fgrid--2 { grid-template-columns: 1fr 1fr; } }

.field { display: flex; flex-direction: column; gap: 8px; }
.field > label {
  font-size: var(--fs-label);
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--teak);
}
.field .hint { font-size: var(--fs-small); color: var(--muted); }

.field input,
.field select,
.field textarea {
  background: var(--paper);
  border: 1px solid rgba(26, 23, 18, 0.28);
  border-radius: 0;
  padding: 13px 14px;
  font-size: var(--fs-body);
  color: var(--ink);
  width: 100%;
  min-height: 48px;
  transition: border-color 180ms var(--ease);
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.field select {
  background-image: linear-gradient(45deg, transparent 50%, var(--teak) 50%),
                    linear-gradient(135deg, var(--teak) 50%, transparent 50%);
  background-position: calc(100% - 19px) calc(50% + 1px), calc(100% - 14px) calc(50% + 1px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.field input:hover,
.field select:hover,
.field textarea:hover { border-color: rgba(26, 23, 18, 0.5); }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--ink); }
.field input:invalid:not(:placeholder-shown) { border-color: var(--teak-deep); }

.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
  border-top: 1px solid var(--rule);
  padding-top: clamp(20px, 2.4vw, 28px);
}
.form__foot .small { max-width: 34em; }

.formstatus:not(:empty) {
  border: 1px solid var(--rule);
  background: var(--paper);
  padding: 18px 20px;
  font-size: var(--fs-small);
  color: var(--ink);
}
.formstatus a { color: var(--ink); }

/* ==========================================================================
   SITE FOOTER
   ========================================================================== */

.foot {
  background: var(--green-deep);
  color: var(--cream);
  --ring: var(--cream);
  --rule: rgba(243, 238, 228, 0.22);
  --muted: var(--linen);
  --teak:  var(--gold-light);
  padding-block: clamp(52px, 6.5vw, 92px) clamp(28px, 3vw, 40px);
}
.foot a { color: var(--cream); }

.foot__top {
  display: grid;
  gap: clamp(32px, 4vw, 56px);
  padding-bottom: clamp(34px, 4vw, 52px);
  border-bottom: 1px solid var(--rule);
}
@media (min-width: 820px)  { .foot__top { grid-template-columns: 1.25fr 1fr 1fr; } }
@media (min-width: 1140px) { .foot__top { grid-template-columns: 1.4fr 1fr 1fr 1.1fr; } }

.foot__brand img { width: 58px; height: auto; }
.foot__sign {
  margin-top: 18px;
  font-family: var(--display);
  font-size: var(--fs-h3);
  line-height: 1.4;
}
.foot__addr { margin-top: 16px; font-style: normal; font-size: var(--fs-small); line-height: 1.7; color: var(--linen); }

.foot__list { display: flex; flex-direction: column; gap: 9px; margin-top: 16px; }
.foot__list a {
  text-decoration: none;
  border-bottom: 1px solid rgba(243, 238, 228, 0.3);
  align-self: flex-start;
  font-size: var(--fs-small);
  padding-bottom: 1px;
  transition: border-color 180ms var(--ease);
}
.foot__list a:hover { border-bottom-color: var(--gold-light); }
.foot__list a[aria-current="page"] { border-bottom-color: var(--gold-light); }

.foot__bottom {
  margin-top: clamp(22px, 2.6vw, 30px);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  justify-content: space-between;
  align-items: baseline;
  font-size: var(--fs-small);
  color: var(--linen);
}
.foot__bottom .badge { border-color: var(--rule); color: var(--gold-light); }

/* ==========================================================================
   SCROLL REVEAL — one move only. No-JS renders everything visible.
   ========================================================================== */

.js .rise {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 520ms var(--ease), transform 520ms var(--ease);
}
.js .rise.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js .rise { opacity: 1 !important; transform: none !important; transition: none !important; }
  .ripple circle { animation: none !important; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
