/* El Fin del Cielo: design system. Concept "The Issue" (editorial). Mobile first. */

/* 1. Tokens */
:root {
  --sand: #EDE6D8;
  --paper: #F7F3EB;
  --linen: #D9CFBE;
  --ink: #1C1A17;
  --ink-soft: #4A453E;
  --rule: #CDC3B1;
  --rule-on-ink: rgba(237, 230, 216, .22);
  --scrim: rgba(28, 26, 23, .55);
  --terracotta: #B85C38;
  --terracotta-deep: #96482A;
  --amber: #E1975A;
  --jungle: #3E5C46;
  --jungle-deep: #2F4735;
  --ocean: #6F8A97;
  /* The maroon of Dicky's Instagram highlights (LOCATION), for the dark bands he asked about on
     20 October 2026: "try using the maroon colour used on my Instagram". */
  --maroon: #64303D;
  --white: #FFFFFF;

  --display: 'Cormorant Garamond', 'Cormorant', Georgia, 'Times New Roman', serif;
  --text: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;

  --s1: .25rem; --s2: .5rem; --s3: .75rem; --s4: 1rem; --s5: 1.5rem; --s6: 2rem;
  --s7: 3rem; --s8: 4rem; --s9: 6rem; --s10: 8rem;

  /* Phone picture, drawn at 390 wide */
  --gutter: 1.25rem;
  --gap: 1rem;
  --container: 85rem;
  /* Measures of DM Sans text are in em, not ch: a ch is read from whichever face is showing, so a
     ch measure changes width when the web font arrives and moves the page. 1ch of DM Sans is
     .684em (.69025em at weight 500, the labels), so 62ch is 42.408em. */
  --measure: 42.408em;
  --section: var(--s8);
  --header-h: 4.75rem;   /* tall enough for a logo whose words can be read (Dicky, 20 Oct 2026) */
  --bar-h: 3.5rem;

  --h1: 3.0775rem;
  --h2: 2rem;
  --h3: 1.5rem;
  --numeral: 4.5rem;
  --quote: 1.5rem;
  --post-h1: 2.375rem;
  --post-h2: 1.75rem;
  --body: 1.0625rem;
  --small: 1rem;
  --label: .75rem;

  --ease: cubic-bezier(.2, .6, .2, 1);
}

/* Tablet picture, drawn at 820 wide */
@media (min-width: 600px) {
  :root {
    --gutter: 3rem; --gap: 1.5rem; --section: var(--s9);
    --h1: 4.045rem; --h2: 2.425rem; --h3: 1.5563rem; --numeral: 5.5625rem; --quote: 1.7125rem;
    --post-h1: 3.035rem; --post-h2: 1.915rem;
  }
}
/* Desktop picture, drawn at 1440 wide */
@media (min-width: 1024px) {
  :root {
    --gutter: 5rem; --section: var(--s10);
    --header-h: 6.5rem; --body: 1.125rem; --small: .875rem; --label: .8125rem;
    --h1: 5.44rem; --h2: 3.2rem; --h3: 1.75rem; --numeral: 7.5rem; --quote: 2rem;
    --post-h1: 4.12rem; --post-h2: 2.38rem;
  }
}

/* THE SCALING RULE (Danny, 29 September 2026)
   The page scales like a picture. Widen or narrow the window and everything grows or shrinks in
   proportion: no line re-wraps, no word moves to another line, nothing shifts against anything
   else. The root size is a share of the window's width and every size on the site is in rem, so
   the whole page is one drawing at one scale.
   Three pictures: phone (under 600, drawn at 390), tablet (600 to 1023, drawn at 820) and
   desktop (1024 and up, drawn at 1440). At those three widths 1rem is 1rem. Past 1920 the
   desktop picture stops growing and sits centred, so the photographs are never stretched far
   past their own size.
   --vw is the page's own width, set by js/main.js only where the scrollbar takes room of its
   own (Windows, or macOS set to always show it); everywhere else, and with JavaScript off, it
   is 100vw. scrollbar-gutter keeps that room reserved so the width never changes under the page.
   What stays in px on purpose: the 1px hairlines, focus outlines, and the breakpoints.
   One block answers to the window's height as well: the home cover is never taller than 72% of
   the window. That changes the crop of the photograph only, never a line of text.
   Every grid column is minmax(0, Nfr), never a bare fr: a bare fr cannot shrink below what is
   inside it, and a photograph's own size is in px, so one unloaded picture could push a column
   out of proportion.
   One more exception, for phones: a form field never sets its type smaller than 16px, because
   iPhone Safari zooms the whole page into a field whose type is smaller. At 390 wide the fields
   are 17px anyway, so the floor only acts below 367 wide (an iPhone set to Display Zoom). The
   field's box keeps its size, so the floor never moves a line.
   Do not add px sizes, clamp() or vw to a rule below. Check with scripts/check_scale.py. */
html { font-size: calc(var(--vw, 100vw) / 390 * 16); scrollbar-gutter: stable; }
@media (min-width: 600px) { html { font-size: calc(var(--vw, 100vw) / 820 * 16); } }
@media (min-width: 1024px) { html { font-size: calc(var(--vw, 100vw) / 1440 * 16); } }
@media (min-width: 1920px) { html { font-size: calc(1920px / 1440 * 16); } }

/* 2. Base */
*, *::before, *::after { box-sizing: border-box; }
/* No rubber band at either end of the page (Danny, 1 Oct 2026: "smooth but strong"). Safari and Chrome on a
   Mac and Safari on an iPhone otherwise stretch the whole page, sticky header included, past the top and the
   bottom. Set on html and body both, since browsers differ on which one they read it from. */
html {
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
  overscroll-behavior: none;
  /* below the body, on a window taller than a short page, the canvas is the footer's linen */
  background: var(--linen);
}
/* A link or button reached by Tab is never left under the booking bar at the foot of the screen. */
@media (max-width: 1023.98px) { html { scroll-padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px)); } }
body {
  overscroll-behavior: none;
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: var(--text);
  font-size: var(--body);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
/* js/main.js keeps the page hidden until js/i18n.js has put the visitor's language in (3 s at most). */
html.i18n-wait { background: var(--sand); }
html.i18n-wait body { visibility: hidden; }
/* and until js/currency.js has written the prices in a currency the visitor chose before */
html.cur-wait { background: var(--sand); }
html.cur-wait body { visibility: hidden; }

img, picture, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  margin: 0;
  color: var(--ink);
  text-wrap: balance;
  /* A translated heading can carry one word longer than a phone column (German and Norwegian
     compounds, Tamil, Russian). The lang attribute is set per language, so hyphenation breaks it
     properly where the language has rules. `anywhere` rather than `break-word`: only `anywhere`
     also shrinks the min-content width, which is what a grid column measures the page against. */
  overflow-wrap: anywhere;
  hyphens: manual;
}
/* A heading never splits a word with a hyphen: a word that does not fit moves down whole. Only the
   languages whose single words can outrun a phone column (German, Dutch and Nordic compounds,
   Finnish, Hungarian, Greek, Slavic, Tamil) may hyphenate a heading, and only where a word is
   wider than the line. A word under ten letters is never split, nor with fewer than four on
   either side of the hyphen. */
html:is([lang=de], [lang=nl], [lang=sv], [lang=da], [lang=no], [lang=fi], [lang=hu], [lang=el],
  [lang=ru], [lang=uk], [lang=pl], [lang=cs], [lang=ta]) :is(h1, h2, h3, h4) {
  hyphens: auto; hyphenate-limit-chars: 10 4 4; -webkit-hyphenate-limit-before: 4; -webkit-hyphenate-limit-after: 4;
}
/* Same rule for running text: one very long word must wrap inside its column instead of widening
   the column, the grid and then the page. */
p, li, dd, dt, blockquote, figcaption, caption, address, td, th, .label, .price { overflow-wrap: anywhere; }
/* No paragraph ends on one word where the browser can help it (Safari 26, Chrome 117). The line
   lock in js/main.js then keeps whatever it chose at every width. */
p, li, dd, blockquote, figcaption, .lede { text-wrap: pretty; }
h1 { font-size: var(--h1); line-height: 1; letter-spacing: -.01em; }
h2 { font-size: var(--h2); line-height: 1.05; letter-spacing: -.005em; }
h3 { font-size: var(--h3); line-height: 1.2; font-weight: 600; }
h4 { font-size: 1.375rem; line-height: 1.25; font-weight: 600; }
p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }
p + p { margin-top: 1em; }
a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .25rem; }
/* a phone number is never split across two lines */
a[href^="tel:"] { white-space: nowrap; }
/* Hover styles answer only to a mouse or a trackpad. On a touch screen the same style shows while
   the finger is down (:active), and nothing stays lit after a tap. */
@media (hover: hover) { a:hover { color: var(--terracotta-deep); } }
@media (hover: none) { a:active { color: var(--terracotta-deep); } }
strong, b { font-weight: 600; }
em, i { font-style: italic; }
hr { border: 0; border-top: 1px solid var(--rule); margin: var(--s6) 0; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
::selection { background: var(--amber); color: var(--ink); }
[hidden] { display: none !important; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--gutter); top: -6.25rem; z-index: 100;
  background: var(--ink); color: var(--sand); padding: .75rem 1rem; text-decoration: none;
  font: 500 var(--label)/1 var(--text); letter-spacing: .14em; text-transform: uppercase;
}
.skip-link:focus { top: .75rem; }

/* 3. Type utilities */
.label {
  font: 500 var(--label)/1.4 var(--text);
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-soft);
}
.small { font-size: var(--small); line-height: 1.5; }
.muted { color: var(--ink-soft); }
.lede { font-size: calc(var(--body) + .0625rem); max-width: var(--measure); }
.prose { max-width: var(--measure); }
.prose p + p { margin-top: 1.1em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 1em 0; }
.prose li + li { margin-top: .4em; }
.tnum { font-variant-numeric: tabular-nums; }

/* 4. Layout */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tight { padding-block: var(--s7); }
.section--paper { background: var(--paper); }
.section--ink { background: var(--ink); color: var(--sand); }
/* A dark band in Dicky's maroon instead of the ink: Home, Events and Contact, as he asked, then Stay
   and the three journal posts (28 October 2026), so every dark band on the site is maroon. */
.section--maroon { background: var(--maroon); }
.section--ink h1, .section--ink h2, .section--ink h3 { color: var(--sand); }
.section--ink .label { color: var(--linen); }
@media (hover: hover) { .section--ink a:hover { color: var(--amber); } }
@media (hover: none) { .section--ink a:active { color: var(--amber); } }
.section--ink :focus-visible { outline-color: var(--sand); }
.section--ink hr { border-color: var(--rule-on-ink); }

.section-head { margin-bottom: var(--s6); }
/* A short Ocean rule before each section's label, the journal datelines' mark (Dicky, 20 October 2026:
   "the introduction of the 'Ocean' colour just a little on the site somewhere"). */
.section-head .label { display: flex; align-items: center; gap: var(--s3); margin-bottom: var(--s3); }
.section-head .label::before { content: ""; flex: none; width: 2.5rem; height: 1px; background: var(--ocean); }
.section-head h2 { max-width: 18ch; }
.section-head p { margin-top: var(--s4); max-width: var(--measure); }
@media (min-width: 600px) { .section-head { margin-bottom: var(--s7); } }

.grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gap); }
@media (min-width: 1024px) {
  .grid { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .col-3 { grid-column: span 3; }
  .col-4 { grid-column: span 4; }
  .col-5 { grid-column: span 5; }
  .col-6 { grid-column: span 6; }
  .col-7 { grid-column: span 7; }
  .col-8 { grid-column: span 8; }
  .off-1 { grid-column-start: 9; }
  .col-4.off-1 { grid-column: 9 / span 4; }
  .col-5.off-1 { grid-column: 8 / span 5; }
  .col-6.off-1 { grid-column: 7 / span 6; }
  .col-7.off-1 { grid-column: 6 / span 7; }
}
.full-bleed { margin-inline: calc(-1 * var(--gutter)); }
@media (min-width: 1024px) { .full-bleed { margin-inline: 0; } }
/* The rooms grid goes two-up at 48rem; a bleed inside a grid cell would overlap the neighbour. */
@media (min-width: 600px) { .rooms .full-bleed { margin-inline: 0; } }
.stack > * + * { margin-top: var(--s4); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s4); align-items: center; }
/* Rows of jump buttons ("On this page", the gallery's sections): on a phone, a list of hairline
   rows, each the width of the page with an arrow pointing down it, so no label has to wrap. */
nav > .cluster, nav.cluster { display: block; margin-top: var(--s3); border-top: 1px solid var(--rule); }
nav > .cluster > .btn, nav.cluster > .btn {
  display: flex; width: 100%; min-height: 3rem; justify-content: space-between; gap: var(--s4);
  padding: 0; border: 0; border-bottom: 1px solid var(--rule); text-align: start;
}
nav > .cluster > .btn::after, nav.cluster > .btn::after { content: "\2193"; content: "\2193" / ""; flex: none; letter-spacing: 0; }
@media (min-width: 600px) {
  nav > .cluster, nav.cluster { display: flex; gap: var(--s3) var(--s4); margin-top: 0; border-top: 0; }
  nav > .cluster > .btn, nav.cluster > .btn {
    width: auto; min-height: 3rem; justify-content: center; padding: .75rem 1.375rem;
    border: 1px solid var(--ink); text-align: center;
  }
  nav > .cluster > .btn::after, nav.cluster > .btn::after { content: none; }
}

/* 5. Buttons and links */
/* The label wraps: a translated button label is often half as long again as the English, and a
   nowrap label inside a grid column (min-width auto) widens the column and then the page. Only the
   two fixed-height rows, the masthead button and the sticky bar, keep the label on one line. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .625rem;
  min-height: 3rem; padding: .75rem 1.375rem;
  font: 500 var(--label)/1.25 var(--text); letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink); background: transparent; border: 1px solid var(--ink); border-radius: 0;
  text-decoration: none; cursor: pointer;
  white-space: normal; text-align: center; text-wrap: balance;
  max-width: 100%; overflow-wrap: anywhere;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
@media (hover: hover) { .btn:hover:not(:disabled) { color: var(--terracotta-deep); border-color: var(--terracotta-deep); } }
@media (hover: none) { .btn:active:not(:disabled) { color: var(--terracotta-deep); border-color: var(--terracotta-deep); } }
.btn--primary { background: var(--ink); color: var(--sand); border-color: var(--ink); }
@media (hover: hover) { .btn--primary:hover:not(:disabled) { background: var(--terracotta-deep); border-color: var(--terracotta-deep); color: var(--white); } }
@media (hover: none) { .btn--primary:active:not(:disabled) { background: var(--terracotta-deep); border-color: var(--terracotta-deep); color: var(--white); } }
.btn--wa { background: var(--jungle); color: var(--white); border-color: var(--jungle); }
@media (hover: hover) { .btn--wa:hover { background: var(--jungle-deep); border-color: var(--jungle-deep); color: var(--white); } }
@media (hover: none) { .btn--wa:active { background: var(--jungle-deep); border-color: var(--jungle-deep); color: var(--white); } }
.btn--outline-sand { color: var(--sand); border-color: var(--sand); }
@media (hover: hover) { .btn--outline-sand:hover { color: var(--amber); border-color: var(--amber); } }
@media (hover: none) { .btn--outline-sand:active { color: var(--amber); border-color: var(--amber); } }
.btn svg { flex: none; width: 1.125rem; height: 1.125rem; }
.btn--block { width: 100%; }
.text-link {
  display: inline-block; font: 500 var(--label)/1.4 var(--text); letter-spacing: .14em; text-transform: uppercase;
  text-decoration: underline; text-underline-offset: .375rem; text-decoration-thickness: 1px;
  padding-block: .875rem; margin-block: -.875rem; /* 2.75rem hit area without changing the rhythm */
  text-wrap: balance;
}
@media (hover: hover) { .text-link:hover { color: var(--terracotta-deep); } }
@media (hover: none) { .text-link:active { color: var(--terracotta-deep); } }
/* the arrow is drawn, not read: its alternative text is empty */
.text-link::after { content: " \2192"; content: " \2192" / ""; }

/* 6. Masthead */
.masthead {
  position: sticky; top: 0; z-index: 50;
  background: var(--sand);
  border-bottom: 1px solid var(--rule);
}
.masthead__inner {
  position: relative;
  display: flex; align-items: center; gap: var(--s3);
  height: var(--header-h);
}
.brand { display: inline-flex; align-items: center; flex: none; min-width: 2.75rem; min-height: 2.75rem; text-decoration: none; }
/* The logo is the eye with "el fin del cielo" under it, in one drawing: at 2.75rem the words were too
   small to read (Dicky, 20 October 2026: "Logo larger / top left, unreadable at present"). */
.brand img { height: 4rem; width: auto; filter: brightness(0); }
.masthead__actions { margin-left: auto; display: flex; align-items: center; gap: var(--s2); }
/* DOM order: brand, actions, details.menu, nav. The nav must follow the details so .menu[open] ~ .site-nav works with JS off. */
.masthead__wa { width: 2.75rem; min-height: 2.75rem; padding: 0; border-radius: 999px; white-space: nowrap; }
.masthead__wa .btn__label { display: none; }
.menu { flex: none; }
.menu > summary {
  list-style: none; cursor: pointer; user-select: none;
  position: relative; display: block; width: 2.75rem; height: 2.75rem; padding: 0;
  color: var(--ink); border: 1px solid var(--ink);
  /* the middle line of the three; ::before and ::after are the top and bottom ones */
  background: linear-gradient(currentColor, currentColor) center / 1.125rem 1px no-repeat;
  transition: background-size .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.menu > summary::-webkit-details-marker { display: none; }
/* The hamburger: three 1px lines, the same weight as the globe beside it. Open, the middle line
   draws in and the other two turn into a cross. The button's name is the hidden "Site menu" inside
   it, and aria-expanded (js/main.js) says whether it is open. */
.menu > summary::before, .menu > summary::after {
  content: ""; position: absolute; left: 50%; top: 50%;
  width: 1.125rem; height: 1px; margin: -.5px 0 0 -.5625rem;
  background: currentColor; transition: transform .25s var(--ease);
}
.menu > summary::before { transform: translateY(-.375rem); }
.menu > summary::after { transform: translateY(.375rem); }
.menu[open] > summary { background-size: 0 1px; }
.menu[open] > summary::before { transform: rotate(45deg); }
.menu[open] > summary::after { transform: rotate(-45deg); }
@media (hover: hover) { .menu > summary:hover { color: var(--terracotta-deep); border-color: var(--terracotta-deep); } }
@media (hover: none) { .menu > summary:active { color: var(--terracotta-deep); border-color: var(--terracotta-deep); } }
@media (prefers-reduced-motion: reduce) { .menu > summary, .menu > summary::before, .menu > summary::after { transition: none; } }
/* Phone and tablet masthead: four clean icons in ink, the globe, the currency, the booking calendar
   and the hamburger, with no box, circle or fill around them. Each keeps a 44pt target, the four
   targets .25rem apart so the icons are evenly spaced, their centres 3rem apart at every width.
   The globe and calendar are drawn at 1.5px and the hamburger's lines at .125rem, which lands on
   whole device pixels, so they read as one set; the currency is its symbol, set as text at the
   icons' height (section 33). Pressed, they turn terracotta. */
@media (max-width: 1023.98px) {
  .masthead__inner { gap: .25rem; }
  .masthead__actions { gap: .25rem; }
  /* the hamburger's lines end on the page's right edge, level with the text below them */
  .menu { margin-inline-end: -.75rem; }
  .masthead .langbtn, .masthead .curbtn, .masthead .masthead__wa, .menu > summary {
    width: 2.75rem; height: 2.75rem; min-height: 2.75rem; padding: 0;
    border: 0; border-radius: 0; background-color: transparent; color: var(--ink);
  }
  .masthead .langbtn .lc, .masthead .curbtn .cc { display: none; }
  .masthead .langbtn svg, .masthead .masthead__wa svg { width: 1.625rem; height: 1.625rem; }
  .masthead .langbtn svg { stroke-width: 1.5; }
  .masthead .masthead__wa:hover, .masthead .masthead__wa:active { background-color: transparent; border-color: transparent; }
  .masthead .langbtn[aria-expanded="true"], .masthead .curbtn[aria-expanded="true"] { color: var(--terracotta-deep); }
  .menu > summary { background-size: 1.25rem .125rem; }
  .menu > summary::before, .menu > summary::after { width: 1.25rem; height: .125rem; margin: -.0625rem 0 0 -.625rem; }
  .menu[open] > summary { background-size: 0 .125rem; }
}
@media (max-width: 1023.98px) and (hover: hover) {
  .masthead .langbtn:hover, .masthead .curbtn:hover, .masthead .masthead__wa:hover, .menu > summary:hover { color: var(--terracotta-deep); }
}
@media (max-width: 1023.98px) and (hover: none) {
  .masthead .langbtn:active, .masthead .curbtn:active, .masthead .masthead__wa:active, .menu > summary:active { color: var(--terracotta-deep); }
}
/* On a phone or tablet the open menu fills the screen under the masthead: seven large serif
   links on hairlines, the page behind held still. */
.site-nav {
  display: none;
  position: fixed; left: 0; right: 0; top: calc(var(--header-h) + 1px); bottom: 0;
  background: var(--paper);
  padding: var(--s4) var(--gutter) var(--s8);
  overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
}
.menu[open] ~ .site-nav { display: block; animation: nav-in .28s var(--ease) both; }
@keyframes nav-in { from { opacity: 0; transform: translateY(-.5rem); } to { opacity: 1; transform: none; } }
html:has(.menu[open]) { overflow: hidden; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a {
  display: flex; align-items: center; min-height: 4rem; padding: var(--s2) 0;
  border-bottom: 1px solid var(--rule); text-decoration: none;
  font: 400 2rem/1.1 var(--display); letter-spacing: -.005em;
}
.site-nav a[aria-current] { color: var(--terracotta-deep); }
@media (hover: hover) { .site-nav a:hover { color: var(--terracotta-deep); } }
@media (hover: none) { .site-nav a:active { color: var(--terracotta-deep); } }
/* The desktop masthead: the seven nav items, the globe and the booking button on one row. It is
   part of the desktop picture, so it fits at 1024 exactly as it fits at 1440. The phone and
   tablet pictures keep the hamburger, the round icon button and the sticky bar. */
@media (min-width: 1024px) {
  .brand img { height: 5.75rem; }
  /* grow, never shrink: flex: 1 would give the wordmark a basis of 0 and collapse it to nothing */
  .brand { flex: 1 0 auto; }
  .brand img { flex: none; max-width: none; }
  .masthead__actions { flex: 1 0 auto; justify-content: flex-end; }
  .menu { display: none; }
  html:has(.menu[open]) { overflow: visible; }
  .site-nav {
    display: block; position: static; order: 0; flex: none;
    background: transparent; border: 0; padding: 0; overflow: visible; animation: none;
  }
  .masthead__actions { order: 1; margin-left: 0; }
  /* Tab follows the row as it is drawn: the nav links, then the globe and Book now */
  .masthead__inner { reading-flow: flex-visual; }
  .site-nav ul { display: flex; gap: var(--s5); }
  .site-nav a {
    height: auto; min-height: 2.75rem; padding: 0; border: 0;
    font: 500 var(--label)/1 var(--text); letter-spacing: .14em; text-transform: uppercase;
  }
  .site-nav a[aria-current] { box-shadow: none; color: var(--ink); text-decoration: underline; text-underline-offset: .5rem; text-decoration-thickness: 1px; }
}
@media (min-width: 1024px) {
  .masthead__wa { width: auto; padding: 0 1.25rem; border-radius: 0; }
  .masthead__wa .btn__label { display: inline; }
}

/* 7. Sticky booking bar (phone and tablet only) */
.wa-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; align-items: center; justify-content: center; gap: .625rem;
  height: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px));
  padding: 0 var(--gutter) env(safe-area-inset-bottom, 0px);
  background: var(--jungle); color: var(--white);
  font: 500 var(--label)/1 var(--text); letter-spacing: .14em; text-transform: uppercase;
  text-decoration: none; white-space: nowrap;
  transition: transform .25s var(--ease), visibility 0s linear 0s;
}
@media (hover: hover) { .wa-bar:hover { color: var(--white); background: var(--jungle-deep); } }
@media (hover: none) { .wa-bar:active { color: var(--white); background: var(--jungle-deep); } }
.wa-bar svg { width: 1.25rem; height: 1.25rem; flex: none; }
/* visibility keeps the hidden bar out of the tab order */
html.js .wa-bar.is-hidden { transform: translateY(110%); visibility: hidden; transition: transform .25s var(--ease), visibility 0s linear .25s; }
/* Under the open menu, the language box, the currency box or the welcome window the bar is hidden as
   well (and the booking form's price bar with it): iPhone Safari tints its toolbar from the foot of
   the screen, and the bar's green would show through as a strip under the paper. */
html:has(.menu[open]) .wa-bar, html.lang-opening .wa-bar, html.lang-open .wa-bar,
html.cur-opening .wa-bar, html.cur-open .wa-bar, html.welcome-opening .wa-bar, html.welcome-open .wa-bar,
html.cur-opening .bk__bar, html.cur-open .bk__bar, html.welcome-opening .bk__bar, html.welcome-open .bk__bar { visibility: hidden; }
@media (min-width: 1024px) { .wa-bar { display: none; } }

/* 8. Cover (home hero) and page heroes */
.cover { padding-top: 0; }
.cover__media { overflow: hidden; background: var(--linen); }
.cover__media img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 50%; aspect-ratio: 4 / 3; }
@media (min-width: 600px) { .cover__media img { aspect-ratio: 16 / 9; } }
@media (min-width: 1024px) { .cover__media { height: min(72vh, 45rem); } .cover__media img { aspect-ratio: auto; } }
html.js .cover__media img { animation: cover-in 1.6s var(--ease) both; }
@keyframes cover-in { from { transform: scale(1.03); } to { transform: none; } }
.standfirst { padding-block: var(--s6) var(--section); }
.standfirst h1 { max-width: 14ch; }
.standfirst__aside { display: flex; flex-direction: column; gap: var(--s4); }
.standfirst__aside .cluster { margin-top: var(--s2); }
.standfirst__aside .chip { align-self: flex-start; }
@media (min-width: 1024px) { .standfirst { padding-top: var(--s7); } }
/* Desktop: the heading runs the full width on two lines and the photograph gives up exactly what it
   needs, so the whole heading is on screen when the page opens (Danny, 4 October 2026: "the word
   foreseeable is falling off ... fix this in the best looking way possible"). The photograph is
   still never taller than 72% of the window or 45rem, never shorter than 20rem, and only its crop
   changes. --cover-h1 is the heading's own height, set by js/main.js; two lines without it. The
   aside sits under the heading in two columns: where it is, then what it is and the way in. */
@media (min-width: 1024px) {
  .cover__media { height: max(20rem, min(72vh, 45rem, calc(100svh - var(--header-h) - var(--s7) - var(--cover-h1, 10.88rem) - var(--s6)))); }
  .cover .standfirst h1 { grid-column: 1 / -1; max-width: none; }
  .cover .standfirst__aside { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); row-gap: var(--s4); align-items: start; margin-top: var(--s6); }
  .cover .standfirst__aside .dateline { grid-column: 1 / span 5; grid-row: 1; }
  .cover .standfirst__aside .chip { grid-column: 1 / span 5; grid-row: 2; justify-self: start; }
  .cover .standfirst__aside > p:not(.label):not(.chip) { grid-column: 7 / span 6; grid-row: 1 / span 2; margin: 0; }
  .cover .standfirst__aside .cluster { grid-column: 7 / span 6; grid-row: 3; margin-top: var(--s2); }
}

.page-hero { padding-block: var(--s7) var(--s6); }
.page-hero .label { display: block; margin-bottom: var(--s3); }
.page-hero h1 { max-width: 16ch; }
/* A heading set one sentence to a line (the events page, Danny, 26 Oct 2026). js/main.js makes it
   just small enough for its longest sentence to fit the column; without it a sentence wraps. */
.page-hero h1.fit-lines { max-width: none; }
.fit-lines > span { display: block; }
.page-hero p { margin-top: var(--s4); max-width: var(--measure); }
.page-hero .cluster { margin-top: var(--s5); }
.page-hero__media { margin-top: var(--s6); }
.page-hero__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
@media (min-width: 1024px) { .page-hero__media img { aspect-ratio: 21 / 9; max-height: 40rem; } }

.dateline { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s4); align-items: center; }
.dateline::before { content: ""; width: 2.5rem; height: 1px; background: var(--ocean); }
.chip {
  display: inline-flex; align-items: flex-start; gap: .625rem;
  padding: .5625rem .875rem; border: 1px solid var(--rule);
  font-size: var(--small); line-height: 1.4; color: var(--ink-soft);
}
/* the dot sits on the middle of the first line (half the 1.4 line less half the dot), on one line or two */
.chip::before { content: ""; width: .5625rem; height: .5625rem; margin-top: calc(.7em - .28125rem); border-radius: 999px; background: var(--amber); flex: none; }

/* Breadcrumb */
.crumbs { padding-top: var(--s5); }
.crumbs ol { list-style: none; display: flex; flex-wrap: nowrap; gap: var(--s2); }
.crumbs li { flex: none; white-space: nowrap; }
.crumbs li:last-child { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
@media (min-width: 600px) {
  .crumbs ol { flex-wrap: wrap; }
  .crumbs li, .crumbs li:last-child { white-space: normal; overflow: visible; }
}
.crumbs li + li::before { content: "/"; margin-right: var(--s2); color: var(--ink-soft); }
.crumbs a { text-decoration: none; padding-block: .8125rem; position: relative; }
/* a short crumb (Home is one syllable in Korean) still has a 2.75rem wide target, centred on it */
.crumbs a::after { content: ""; position: absolute; top: 0; bottom: 0; left: min(0rem, calc(50% - 1.375rem)); right: min(0rem, calc(50% - 1.375rem)); }
@media (hover: hover) { .crumbs a:hover { text-decoration: underline; } }
@media (hover: none) { .crumbs a:active { text-decoration: underline; } }
.crumbs [aria-current] { color: var(--ink-soft); }

/* 9. Contents rows (the three doors) */
.doors { border-top: 1px solid var(--rule); }
.door {
  display: grid; grid-template-columns: minmax(0, 1fr) 6rem; grid-template-areas: "num img" "body img";
  gap: var(--s2) var(--s4); align-items: start;
  padding: var(--s5) 0; border-bottom: 1px solid var(--rule);
  color: inherit; text-decoration: none;
}
.door__num { grid-area: num; font: 400 2rem/1 var(--display); color: var(--terracotta); }
.door__body { grid-area: body; }
.door__body h3 { margin-bottom: var(--s2); }
.door__body p { color: var(--ink-soft); max-width: 39.672em; /* 58ch */ }
.door__cta { display: inline-block; margin-top: calc(var(--s3) - .875rem); /* offsets the .text-link hit-area padding */ }
.door__img { grid-area: img; width: 6rem; height: 6rem; object-fit: cover; align-self: start; margin-top: var(--s1); }
@media (hover: hover) { .door:hover h3 { text-decoration: underline; text-underline-offset: .375rem; text-decoration-thickness: 1px; color: var(--terracotta-deep); } }
@media (hover: none) { .door:active h3 { text-decoration: underline; text-underline-offset: .375rem; text-decoration-thickness: 1px; color: var(--terracotta-deep); } }
@media (hover: hover) { .door:hover .door__cta { color: var(--terracotta-deep); } }
@media (hover: none) { .door:active .door__cta { color: var(--terracotta-deep); } }
@media (min-width: 600px) {
  .door {
    grid-template-columns: 6rem minmax(0, 1fr) 12.5rem; grid-template-areas: "num body img";
    align-items: center; padding: var(--s6) 0; gap: var(--s5);
  }
  .door__num { font-size: 3.5rem; }
  .door__img { align-self: center; margin-top: 0; }
  .door__img { width: 12.5rem; height: 12.5rem; }
}

/* 10. Proof strip */
.proof { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: var(--s4) 0; }
.proof ul { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s3) var(--s5); }
.proof li { font-size: var(--small); line-height: 1.4; color: var(--ink-soft); text-wrap: balance; }
.proof li b { display: block; font: 600 1.625rem/1.1 var(--display); color: var(--ink); margin-bottom: .125rem; }
.proof li:last-child:nth-child(odd) { grid-column: 1 / -1; }
@media (min-width: 1024px) {
  .proof { padding: var(--s5) 0; }
  .proof ul { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: var(--s5); }
  .proof li:last-child:nth-child(odd) { grid-column: auto; }
}

/* 11. Rooms */
.rooms { display: grid; gap: var(--s8); counter-reset: room; }
.room__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--linen); }
.room__media img { width: 100%; height: 100%; object-fit: cover; }
.room__media--pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s2); aspect-ratio: auto; }
.room__media--pair img { aspect-ratio: 3 / 4; }
.room__head { display: flex; align-items: baseline; gap: var(--s4); margin-top: var(--s4); }
.room__num { font: 400 var(--numeral)/.85 var(--display); color: var(--terracotta); letter-spacing: -.02em; flex: none; }
.room__head .label { display: block; margin-bottom: .25rem; }
.room__line { margin-top: var(--s3); color: var(--ink-soft); max-width: 39.672em; /* 58ch */ }
.facts { list-style: none; margin-top: var(--s4); border-top: 1px solid var(--rule); }
.facts li {
  display: grid; grid-template-columns: 7.75rem minmax(0, 1fr); gap: var(--s3); align-items: baseline;
  padding: .625rem 0; border-bottom: 1px solid var(--rule);
  font-size: var(--small); line-height: 1.45;
}
/* The label column is 7.75rem because translated labels run long (German Sonnenuntergang,
   Portuguese Estacionamento). hyphens: auto so anything still too wide breaks with a hyphen
   instead of mid-word, which is what overflow-wrap: anywhere below would otherwise do. */
.facts li b { font: 500 var(--label)/1.45 var(--text); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); hyphens: auto; }
/* A grid item is min-content wide by default, so one long translated word in the value column
   widens the row and then the page. These two rows wrap their text instead. */
.facts li > *, .lines li > * { min-width: 0; overflow-wrap: anywhere; }
.facts.col-6 + .facts.col-6 { margin-top: calc(-1 * var(--gap)) !important; border-top: 0; }
@media (min-width: 1024px) {
  .facts.col-6 + .facts.col-6 { margin-top: 0 !important; border-top: 1px solid var(--rule); }
  /* Two fact lists side by side share their rows, so each hairline runs straight across both.
     Six rows covers every pair on the site (Stay 6 and 6, Venue 6 and 5); a longer list needs more. */
  .grid > .facts.col-6:has(+ .facts.col-6), .grid > .facts.col-6 + .facts.col-6 {
    display: grid; grid-row: 1 / span 6; grid-template-rows: subgrid; row-gap: 0; align-content: start;
    margin-top: 0 !important; /* both top rules on one line too */
  }
}
@media (min-width: 600px) { .rooms { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s8) var(--gap); } }
/* Side by side, the two rooms of a row share one set of rows: photograph, heading, sentence and each
   fact line up across the pair, so every hairline runs straight across both columns whatever the
   length of the words above it. A room is six rows (the photograph, the heading, the sentence and
   three facts); a room with more or fewer facts needs its own span. The rows inside a room have no
   gap of their own: their spacing is the margins they already carry. */
@media (min-width: 600px) {
  /* The grid has no row gap of its own (a gap would open between every shared row); the space
     between one pair of rooms and the next is a margin on the second pair. */
  .rooms { row-gap: 0; }
  .rooms .room:nth-child(n+3) { margin-top: var(--s8); }
  .rooms .room { display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 0; }
  .rooms .room .facts { grid-row: span 3; display: grid; grid-template-rows: subgrid; row-gap: 0; }
  .rooms .room__line { align-self: start; }
}

@media (min-width: 1024px) {
  .rooms { gap: 0 var(--s7); } /* the row gap is a margin, see above */
  .rooms .room:nth-child(n+3) { margin-top: var(--s9); }
}

/* Room feature (single room, image beside text: venue page) */
.feature { display: grid; gap: var(--s5); align-items: start; }
.feature__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (min-width: 1024px) {
  .feature { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: var(--s7); }
  .feature--flip { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); }
  .feature--flip .feature__media { order: 2; }
}

/* 12. Steps */
.steps { list-style: none; counter-reset: step; display: grid; gap: var(--s6); }
.steps li { display: grid; grid-template-columns: 4rem minmax(0, 1fr); gap: var(--s4); border-top: 1px solid var(--rule); padding-top: var(--s4); }
.steps li::before {
  counter-increment: step; content: counter(step);
  font: 400 4rem/.8 var(--display); color: var(--terracotta);
}
.steps h3 { margin-bottom: var(--s2); }
.steps p { color: var(--ink-soft); }
@media (min-width: 1024px) { .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); } .steps li { grid-template-columns: minmax(0, 1fr); } }

/* 13. Pull quotes and the guest book */
.quotes { column-count: 1; column-gap: var(--s7); }
.quote { break-inside: avoid; padding-bottom: var(--s6); margin-bottom: var(--s6); border-bottom: 1px solid var(--rule); }
.section--ink .quote { border-color: var(--rule-on-ink); }
.quote__num { display: block; font: 400 1.75rem/1 var(--display); color: var(--terracotta); margin-bottom: var(--s3); }
.section--ink .quote__num { color: var(--amber); }
.quote blockquote p { font: italic 400 var(--quote)/1.25 var(--display); }
.quote blockquote p + p { margin-top: .6em; }
.quote figcaption { margin-top: var(--s4); }
@media (min-width: 600px) { .quotes { column-count: 2; } }
@media (min-width: 1024px) { .quotes { column-count: 3; } }
.pull {
  position: relative; padding-left: 0; max-width: 27.36em; /* 40ch */
}
.pull p { font: italic 400 var(--quote)/1.25 var(--display); }
.pull footer { margin-top: var(--s4); }
.pull::before {
  content: "\201C"; position: absolute; left: -.55em; top: -.25em;
  font: 400 6rem/1 var(--display); color: var(--terracotta); opacity: .9;
}
@media (min-width: 1024px) { .pull { padding-left: 0; } }
.ratings { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s6); margin-top: var(--s6); }
.ratings p { margin: 0; }
.ratings b { font: 600 1.625rem/1 var(--display); color: var(--amber); margin-right: .375rem; }

/* 14. Journal rows */
.rows { list-style: none; border-top: 1px solid var(--rule); }
.rows li a, .rows li > div {
  display: grid; gap: var(--s2); padding: var(--s5) 0; border-bottom: 1px solid var(--rule);
  text-decoration: none; color: inherit;
}
.rows h3 { margin: 0; }
.rows p { color: var(--ink-soft); max-width: 41.04em; /* 60ch */ }
.rows p.label { max-width: 41.415em; }
@media (hover: hover) { .rows a:hover h3 { color: var(--terracotta-deep); text-decoration: underline; text-underline-offset: .375rem; text-decoration-thickness: 1px; } }
@media (hover: none) { .rows a:active h3 { color: var(--terracotta-deep); text-decoration: underline; text-underline-offset: .375rem; text-decoration-thickness: 1px; } }
@media (min-width: 600px) {
  .rows li a, .rows li > div { grid-template-columns: 10rem minmax(0, 1fr); gap: var(--s5); align-items: baseline; }
  .rows li a > *:nth-child(n+3), .rows li > div > *:nth-child(n+3) { grid-column: 2; }
}

/* 15. Cards (no boxes) */
.cards { display: grid; gap: var(--s6) var(--gap); }
.card { border-top: 1px solid var(--rule); padding-top: var(--s4); text-decoration: none; color: inherit; display: block; }
.card img { width: 100%; aspect-ratio: 1; object-fit: cover; margin-bottom: var(--s4); }
.card img.card__img--wide { aspect-ratio: 3 / 2; }
.card .label { display: block; margin-bottom: var(--s2); }
.card h3 { margin-bottom: var(--s2); }
.card p { color: var(--ink-soft); }
.card .text-link { margin-top: calc(var(--s3) - .875rem); /* offsets the .text-link hit-area padding */ }
@media (hover: hover) { a.card:hover h3 { color: var(--terracotta-deep); text-decoration: underline; text-underline-offset: .375rem; text-decoration-thickness: 1px; } }
@media (hover: none) { a.card:active h3 { color: var(--terracotta-deep); text-decoration: underline; text-underline-offset: .375rem; text-decoration-thickness: 1px; } }
@media (min-width: 600px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cards--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .cards--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* 16. Price tables (hairline rows) */
.menu-card { border-top: 1px solid var(--rule); padding-top: var(--s4); }
.menu-card .label { display: block; margin-bottom: var(--s2); }
.menu-card ul { list-style: none; margin: var(--s3) 0 0; }
.menu-card li { padding: .375rem 0; border-bottom: 1px solid var(--rule); font-size: var(--small); }
/* No nowrap: the figure itself has no space in it and cannot break, while the line beside it is a
   translated sentence ("$45 a persona + $150 di affitto della locazione") that has to wrap. */
.price { font: 600 1.625rem/1.1 var(--display); color: var(--ink); }
.price small { display: block; font: 500 var(--label)/1.4 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.price-rows { list-style: none; border-top: 1px solid var(--rule); }
.price-rows li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: var(--s2) var(--s5); align-items: baseline;
  padding: var(--s4) 0; border-bottom: 1px solid var(--rule);
}
.price-rows li .price { text-align: right; }
.price-rows li p { grid-column: 1 / -1; color: var(--ink-soft); font-size: var(--small); max-width: 41.04em; /* 60ch */ }
@media (min-width: 600px) { .price-rows li p { grid-column: 1; } }
table.prices { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
table.prices caption { text-align: left; padding-bottom: var(--s3); font: 500 var(--label)/1.4 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
table.prices th, table.prices td { text-align: left; padding: .75rem 0; border-bottom: 1px solid var(--rule); vertical-align: top; }
table.prices thead th { font: 500 var(--label)/1.4 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
/* A translated column head wraps between words, never inside one (A PERSONA, not A PERSON / A). */
html:not([lang=en]) table.prices thead th { overflow-wrap: normal; }
table.prices td:last-child, table.prices th:last-child { text-align: right; }
table.prices td:last-child { font: 600 1.5rem/1.1 var(--display); white-space: nowrap; }
table.prices tr > :first-child:nth-last-child(2) { width: 50%; }
@media (min-width: 600px) { table.prices tr > :first-child:nth-last-child(2) { width: auto; } }

/* A photo beside text in a half column fills it, even when the file is narrower than the column (the
   853 px portrait of Franco on Events, 20 October 2026): at its own width it stopped growing with the page. */
.grid > .col-6 > img { width: 100%; }

/* 17. Gallery grid */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s2); grid-auto-flow: dense; }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.gallery .is-wide { grid-column: span 2; }
.gallery .is-wide img { aspect-ratio: 3 / 2; }
.gallery .is-tall { grid-row: span 2; }
.gallery .is-tall img { aspect-ratio: auto; }
/* A portrait tile: one cell, a fixed 3:4, for a row of portraits side by side (Dicky's photos, 20 October
   2026). A tall tile takes its height from its neighbours; with none beside it, it waits for the photo to
   load and the row jumps, so a row of nothing but portraits is drawn at a ratio that is known up front. */
.gallery .is-portrait img { aspect-ratio: 3 / 4; }
@media (min-width: 1024px) { .gallery { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); } }

/* 18. FAQ */
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
  padding: var(--s4) 0; font: 600 1.375rem/1.25 var(--display);
}
.faq summary { text-wrap: balance; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; content: "+" / ""; flex: none; width: 1.75rem; height: 1.75rem; display: grid; place-items: center;
  font: 400 1.75rem/1 var(--display); color: var(--terracotta); transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq__body { padding: 0 0 var(--s5); max-width: var(--measure); color: var(--ink-soft); }

/* 19. Forms */
.form { display: grid; gap: var(--s5); }
/* A field sits at the top of its grid row, so two fields side by side line up label to label and box
   to box whatever hint either one carries underneath. */
.field { display: grid; gap: var(--s2); align-content: start; }
.field label { font: 500 var(--label)/1.4 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
/* Every field is a box: white, a fine rule all round, square corners, the same as the guest counter. */
.field input, .field select, .field textarea {
  width: 100%; min-height: 3rem; padding: .625rem .875rem;
  font: 400 var(--body)/1.4 var(--text); color: var(--ink); background-color: var(--white);
  border: 1px solid var(--rule); border-radius: 0; -webkit-appearance: none; appearance: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 1.25rem) 50%, calc(100% - .875rem) 50%; background-size: .375rem .375rem; background-repeat: no-repeat; padding-right: 2.5rem; }
.field textarea { min-height: 8rem; resize: vertical; }
/* Phones only: the type in a field never drops under 16px (see the scaling rule). The line height is
   set in rem so the floor enlarges the letters and never the box: nothing on the page moves. */
@media (max-width: 599.98px) {
  .field input, .field select, .field textarea { font-size: max(16px, var(--body)); line-height: calc(var(--body) * 1.4); }
  .bk__stepper input { font-size: max(16px, 1.1rem); line-height: 1.1rem; }
}
/* Focus darkens the rule and doubles it inside the box: nothing moves. */
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
@media (hover: hover) and (pointer: fine) {
  .field input:hover:not(:focus), .field select:hover:not(:focus), .field textarea:hover:not(:focus) { border-color: var(--ink-soft); }
  .bk__stepper:hover:not(:focus-within) { border-color: var(--ink-soft); }
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-soft); opacity: 1; }
.field .req { font-weight: 400; letter-spacing: 0; text-transform: none; }
.field .hint { font-size: var(--small); color: var(--ink-soft); }
.grid > .form + *, .grid > .col-7 + aside { margin-top: var(--s7); }
@media (min-width: 1024px) { .grid > .form + *, .grid > .col-7 + aside { margin-top: 0; } }
@media (min-width: 600px) { .form--2col { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .form--2col .field--full { grid-column: 1 / -1; } }

/* 20. Map */
.map { border: 1px solid var(--rule); aspect-ratio: 16 / 10; background: var(--linen); }
.map iframe { width: 100%; height: 100%; border: 0; }

/* 21. Contact lines */
.lines { list-style: none; border-top: 1px solid var(--rule); }
.lines li { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: var(--s3); align-items: baseline; padding: .75rem 0; border-bottom: 1px solid var(--rule); }
.lines li b { font: 500 var(--label)/1.6 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
/* the link is as wide as its words, so its focus ring hugs them */
.lines li a { padding-block: .5625rem; margin-block: -.5625rem; justify-self: start; }

/* 22. Closing image */
.closing { padding-top: 0; }
.closing .closing__media { overflow: hidden; }
.closing img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.closing img.is-framed { transform: scale(1.12); }
@media (min-width: 1024px) { .closing img { aspect-ratio: 21 / 9; max-height: 35rem; } }

/* 23. Footer */
.footer { background: var(--linen); border-top: 1px solid var(--rule); padding-block: var(--s8) var(--s6); }
/* On a phone or tablet the booking bar is fixed to the foot of the screen: the footer carries the
   room for it, so the page ends in linen and not in a strip of sand. The booking pages have no
   such bar. */
body:has(.wa-bar) .footer { padding-bottom: calc(var(--s6) + var(--bar-h) + env(safe-area-inset-bottom, 0px)); }
body:has(main[data-book]) .footer { padding-bottom: var(--s6); }
/* The booking form has a price bar of its own instead (js/book.js), as tall as 4.75rem; the room is
   kept whether it shows or not, so nothing jumps when it comes and goes. */
body:has(main[data-book="form"]) .footer { padding-bottom: calc(var(--s6) + 4.75rem + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 1024px) { body:has(.wa-bar) .footer, body:has(main[data-book="form"]) .footer { padding-bottom: var(--s6); } }
.footer__grid { display: grid; gap: var(--s6); }
.footer__brand img { height: 6rem; width: auto; filter: brightness(0); }
.footer__brand p { margin-top: var(--s4); max-width: 23.256em; /* 34ch */ font-size: var(--small); color: var(--ink-soft); }
.footer h2 { font: 500 var(--label)/1.4 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: var(--s3); }
.footer ul { list-style: none; }
.footer li + li { margin-top: .375rem; }
.footer a { text-decoration: none; padding: .75rem .5rem; margin-inline: -.5rem; /* the padding widens the hit area, the margin puts the words back */ }
@media (hover: hover) { .footer a:hover { text-decoration: underline; color: var(--ink); } }
@media (hover: none) { .footer a:active { text-decoration: underline; color: var(--ink); } }
/* drawn inside the padding, so the ring clears the lines above and below */
.footer a:focus-visible { outline-offset: -.375rem; }
.footer__sign { font: italic 400 2rem/1.15 var(--display); text-wrap: balance; }
@media (min-width: 600px) { .footer__sign { max-width: 12ch; } }
.footer__bottom {
  margin-top: var(--s7); padding-top: var(--s4); border-top: 1px solid var(--rule);
  display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); font-size: var(--small); color: var(--ink-soft);
}
.footer__bottom ul { display: flex; gap: var(--s4); }
.footer__bottom li + li { margin: 0; }
@media (min-width: 600px) { .footer__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: var(--s7); } }

/* 24. Motion */
/* The transition sits on the revealed state only, so a resize (which changes the rem behind the
   hidden offset) restarts nothing on a block still waiting to be revealed. */
html.js .reveal { opacity: 0; transform: translateY(.75rem); }
html.js .reveal.is-in { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .6s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  html.js .reveal, html.js .reveal.is-in { opacity: 1; transform: none; transition: none; }
  html.js .cover__media img { animation: none; }
  .wa-bar, .btn, .faq summary::after { transition: none; }
  html.js .wa-bar.is-hidden { transition: none; }
  .menu[open] ~ .site-nav { animation: none; }
}
/* Windows High Contrast and other forced colours: the hamburger is drawn with backgrounds, and the
   picked day, the chosen card, the calendar key and the current language and currency are told
   apart only by their fill, so these keep their own colours. */
@media (forced-colors: active) {
  .menu > summary, .bk__day--pick, .bk__choice input:checked + .bk__choice-body, .bk__key, .lgrid a.cur,
  .cgrid button[aria-current="true"] { forced-color-adjust: none; }
  .menu > summary { color: CanvasText; }
}

/* 25. Journal posts */
.post { --measure: 44.46em; /* 65ch */ }
/* the labels are DM Sans at 500, a wider ch: 62ch and 65ch */
.label { --measure: 42.7955em; }
.post .label { --measure: 44.8663em; }
.post .page-hero h1 { font-size: var(--post-h1); max-width: 20ch; }
.post__aside { align-self: start; }
.post__aside > * + * { margin-top: var(--s4); }
.post .prose h2 { font-size: var(--post-h2); line-height: 1.1; margin: var(--s7) 0 var(--s4); max-width: 24ch; }
.post .prose h2:first-child { margin-top: 0; }
.post .prose h3 { margin: var(--s6) 0 var(--s3); }
.post .prose figure { margin: var(--s6) 0; }
.post .prose figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.post .prose figcaption { margin-top: var(--s2); font-size: var(--small); color: var(--ink-soft); max-width: var(--measure); }
.post__pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s2); }
.post .prose .post__pair img { aspect-ratio: 1; }
.post .prose .faq { margin-top: var(--s5); }
@media (min-width: 1024px) {
  /* aside is first in DOM (shows first on phones); pin both to row 1 so the body is not pushed under it */
  .post__body, .post__aside { grid-row: 1; }
  .post__aside { position: sticky; top: calc(var(--header-h) + 1.5rem); }
}

/* 26. Legal documents (privacy policy, booking terms) */
.legal { align-items: start; }
.legal__toc { border-top: 1px solid var(--rule); padding-top: var(--s4); }
.legal__toc .label { display: block; margin-bottom: var(--s2); }
.legal__toc ol { list-style: none; }
.legal__toc a { display: flex; align-items: center; min-height: 2.75rem; padding: .375rem 0; border-bottom: 1px solid var(--rule); font-size: var(--small); line-height: 1.4; text-decoration: none; }
@media (hover: hover) { .legal__toc a:hover { color: var(--terracotta-deep); text-decoration: underline; } }
@media (hover: none) { .legal__toc a:active { color: var(--terracotta-deep); text-decoration: underline; } }
.legal__body h2 { font-size: var(--h3); font-weight: 600; margin-top: var(--s7); padding-top: var(--s4); border-top: 1px solid var(--rule); }
.legal__body h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.legal__body h2 + p, .legal__body h2 + ul { margin-top: var(--s3); }
@media (min-width: 1024px) {
  .legal__toc { position: sticky; top: calc(var(--header-h) + 1.5rem); }
  .legal__body { grid-column: 5 / span 8; }
}

/* 27. Spacing and image utilities (replace inline styles; !important so they win over component rules) */
.mt-0 { margin-top: 0 !important; }
.mt-8 { margin-top: var(--s2) !important; }
.mt-12 { margin-top: var(--s3) !important; }
.mt-16 { margin-top: var(--s4) !important; }
.mt-24 { margin-top: var(--s5) !important; }
.mt-32 { margin-top: var(--s6) !important; }
.mt-48 { margin-top: var(--s7) !important; }
.mb-12 { margin-bottom: var(--s3) !important; }
.img--y5 { object-position: 50% 5%; }
.img--y40 { object-position: 50% 40%; }
.img--y62 { object-position: 50% 62%; }
.img--x100 { object-position: 100% 50%; }

/* 28. Print */
@media print {
  html { background: #fff; }
  body { background: #fff; color: #000; padding: 0; font-size: 11pt; }
  .masthead, .wa-bar, .skip-link, .menu, .site-nav, .cover__media, .closing, .btn { display: none !important; }
  .section, .footer { padding-block: 16pt; background: none; color: #000; }
  .section--ink, .section--ink h2, .section--ink h3, .section--ink .label { color: #000; }
  a { color: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; }
  html.js .reveal { opacity: 1; transform: none; }
  img { max-height: 60mm; }
}

/* 29. The language layer (js/i18n.js, i18n/<code>.json)
   A globe in the masthead beside the WhatsApp button, and a dialog holding the 37 native names on
   an ink hairline grid, the current one filled in terracotta. With JavaScript off the globe is a
   plain link to #lang, the dialog shows through :target, and every name is a plain link to
   ?lang=<code>. Same tokens, same 1px rules, same square corners as the rest of the site. The
   currency button beside it (section 33) is the same component. */
.langbtn, .curbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-width: 2.75rem; height: 2.75rem; padding: 0 .75rem; flex: none;
  font: 500 var(--label)/1 var(--text); letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink); border: 1px solid var(--ink); text-decoration: none;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.langbtn:focus-visible, .langbtn[aria-expanded="true"],
.curbtn:focus-visible, .curbtn[aria-expanded="true"] { color: var(--terracotta-deep); border-color: var(--terracotta-deep); }
@media (hover: hover) { .langbtn:hover, .curbtn:hover { color: var(--terracotta-deep); border-color: var(--terracotta-deep); } }
@media (hover: none) { .langbtn:active, .curbtn:active { color: var(--terracotta-deep); border-color: var(--terracotta-deep); } }
.langbtn svg { width: 1.125rem; height: 1.125rem; flex: none; display: block; fill: none; stroke: currentColor; stroke-width: 1; }
.langbtn svg * { vector-effect: non-scaling-stroke; }
.langbtn .lc { display: block; }


.lang { display: none; position: fixed; inset: 0; z-index: 60; background: var(--scrim); }
.lang:target, .lang.open { display: flex; align-items: flex-end; justify-content: center; }
/* with js/i18n.js running only .open shows it: a #lang left in the address must not hold it open */
html.lang-js .lang:not(.open) { display: none; }
@media (min-width: 600px) { .lang:target, .lang.open { align-items: center; } }
html.lang-open { overflow: hidden; }
.lang__panel {
  width: 100%; max-width: 62.5rem; max-height: 92vh; max-height: 92dvh; overflow-y: auto;
  -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
  background: var(--paper); color: var(--ink); border: 1px solid var(--ink);
  padding: var(--s5) var(--s5) var(--s6);
}
@media (min-width: 600px) { .lang__panel { margin: var(--s5); padding: var(--s6); max-height: 86vh; max-height: 86dvh; } }
.lang__top {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
  padding-bottom: var(--s4); margin-bottom: var(--s5); border-bottom: 1px solid var(--rule);
}
.lang__top h2 { font-size: 2rem; line-height: 1.1; }
@media (min-width: 600px) { .lang__top h2 { font-size: 2.5rem; } }
/* The hairlines are drawn by each cell's own 1px shadow, which exactly fills the 1px gap on
   either side. A border on the list would leave an ink block where the last row runs short. */
.lgrid {
  list-style: none; margin: 0; padding: 1px;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px;
}
@media (min-width: 600px) { .lgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .lgrid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.lgrid a {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 3.25rem; padding: .625rem .5rem;
  background: var(--paper); color: var(--ink); box-shadow: 0 0 0 1px var(--ink);
  font: 400 var(--small)/1.3 var(--text); text-decoration: none;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.lgrid a[data-ns] { letter-spacing: 0; }
.lgrid a:focus-visible { background: var(--sand); color: var(--terracotta-deep); }
@media (hover: hover) { .lgrid a:hover { background: var(--sand); color: var(--terracotta-deep); } }
@media (hover: none) { .lgrid a:active { background: var(--sand); color: var(--terracotta-deep); } }
.lgrid a:focus-visible { outline: 2px solid var(--ink); outline-offset: -3px; }
.lgrid a.cur { background: var(--terracotta); color: var(--white); }
.lgrid a.cur:focus-visible { background: var(--terracotta-deep); color: var(--white); outline-color: var(--white); }
@media (hover: hover) { .lgrid a.cur:hover { background: var(--terracotta-deep); color: var(--white); } }
@media (hover: none) { .lgrid a.cur:active { background: var(--terracotta-deep); color: var(--white); } }
/* Opened by a tap, the box puts focus on the current language and iPhone Safari counts that as
   :focus-visible; on a touch screen no keyboard ring is drawn for it. */
@media (hover: none) and (pointer: coarse) { .lgrid a.cur:focus-visible { outline: none; background: var(--terracotta); } }
@media (prefers-reduced-motion: reduce) { .langbtn, .lgrid a { transition: none; } }
@media print { .langbtn, .lang { display: none !important; } }

/* 33. The currency layer (js/currency.js)
   The currency symbol beside the globe (with its code on a desktop), a box of the 29 currencies built
   like the language box, and the small window of a first visit. Both are native dialogs opened with
   showModal(): the browser holds focus inside, makes the page behind inert and lays them in the top
   layer, so nothing behind them moves. Each dialog is its own scrim (a custom property inside
   ::backdrop is not reliable in older Safari). The price spans (.money) carry no style at all: in US
   dollars the page must not move by a hair. */
.curbtn { margin: 0; background: transparent; border-radius: 0; cursor: pointer; -webkit-appearance: none; appearance: none; }
/* the symbol is a glyph, not a label: no tracking, and kr, zł and lei keep their small letters */
.curbtn .cs { display: block; font: 400 1.125rem/1 var(--text); letter-spacing: 0; text-transform: none; }
.curbtn .cc { display: block; }
/* With JavaScript off there is nothing to choose: the prices are the dollars they are written in. */
html:not(.js) .curbtn { display: none; }
/* The button keeps one width whatever the currency, so the nav beside it never moves. Measured at
   1440: the widest of the 29 is RM MYR, 92px (5.75rem), the narrowest $ USD and ₪ ILS, about 70px;
   6rem leaves room for a wider glyph from a fallback face (₩, ₹, ฿ are not in DM Sans). */
@media (min-width: 1024px) { .curbtn { min-width: 6rem; } }
/* Phone and tablet: the symbol alone, set as text so its ink stands about as tall as the globe's
   circle (1.22rem) and never wider than 1.75rem. A one letter symbol ($ € £ ₩) is 1.5rem. Two or
   three letters share one smaller size, set by the widest, RM (1.70rem wide at 1.1875rem); lei at
   the same size is 1.23rem wide, so the small letters of kr, zł and lei match. */
@media (max-width: 1023.98px) {
  .masthead .curbtn .cs { font-weight: 400; }
  .masthead .curbtn[data-len="1"] .cs { font-size: 1.5rem; }
  .masthead .curbtn[data-len="2"] .cs, .masthead .curbtn[data-len="3"] .cs { font-size: 1.1875rem; }
}

.curbox, .welcome {
  position: fixed; inset: 0; z-index: 60;
  width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: var(--scrim); color: var(--ink); overflow: hidden;
}
.curbox::backdrop, .welcome::backdrop { background: transparent; }
.curbox[open] { display: flex; align-items: flex-end; justify-content: center; }
@media (min-width: 600px) { .curbox[open] { align-items: center; } }
html.cur-open, html.welcome-open { overflow: hidden; }
/* The box: its panel, header, heading and close button are the language box's (.lang__panel,
   .lang__top, .lang__close), its grid the language grid (.lgrid). A cell is the symbol on the
   left over two lines, the code and the currency's name beside it. The symbol column is 2.5rem:
   the widest symbol, RM, is 2.29rem in the display face. Every cell of a row is as tall as the
   tallest (a name in two lines), so the hairlines run straight. */
.cgrid li { display: grid; }
.cgrid button {
  display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); column-gap: .5rem; align-items: center;
  width: 100%; min-height: 3.75rem; margin: 0; padding: .625rem .75rem;
  background: var(--paper); color: var(--ink); box-shadow: 0 0 0 1px var(--ink); border: 0; border-radius: 0;
  font: 400 var(--small)/1.3 var(--text); text-align: start; cursor: pointer;
  -webkit-appearance: none; appearance: none;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.cgrid__sym { grid-row: 1 / span 2; font: 500 1.5rem/1 var(--display); text-align: center; white-space: nowrap; }
.cgrid__code { font: 500 var(--label)/1.4 var(--text); letter-spacing: .14em; text-transform: uppercase; }
.cgrid__name { font-size: var(--small); color: var(--ink-soft); }
.cgrid button:focus-visible { background: var(--sand); color: var(--terracotta-deep); outline: 2px solid var(--ink); outline-offset: -3px; }
@media (hover: hover) { .cgrid button:hover { background: var(--sand); color: var(--terracotta-deep); } }
@media (hover: none) { .cgrid button:active { background: var(--sand); color: var(--terracotta-deep); } }
.cgrid button[aria-current="true"] { background: var(--terracotta); color: var(--white); }
/* on the terracotta the name is white too */
.cgrid button[aria-current="true"] .cgrid__name { color: inherit; }
.cgrid button[aria-current="true"]:focus-visible { background: var(--terracotta-deep); color: var(--white); outline-color: var(--white); }
@media (hover: hover) { .cgrid button[aria-current="true"]:hover { background: var(--terracotta-deep); color: var(--white); } }
@media (hover: none) { .cgrid button[aria-current="true"]:active { background: var(--terracotta-deep); color: var(--white); } }
/* Opened by a tap, the box puts focus on the current currency and iPhone Safari counts that as
   :focus-visible; on a touch screen no keyboard ring is drawn for it. */
@media (hover: none) and (pointer: coarse) { .cgrid button[aria-current="true"]:focus-visible { outline: none; background: var(--terracotta); } }
.curbox__note, .curbox__date { margin-top: var(--s4); font-size: var(--small); line-height: 1.5; color: var(--ink-soft); max-width: var(--measure); }
.curbox__note + .curbox__date { margin-top: var(--s1); }

/* The welcome: a small sand card with an ink hairline, the display face for its heading and the
   booking form's boxed fields, one field over the other at every width. */
.welcome[open] { display: flex; align-items: center; justify-content: center; padding: var(--gutter); animation: welcome-in .28s var(--ease) both; }
.welcome__panel {
  width: 100%; max-width: 30rem; max-height: 100%; overflow-y: auto; overscroll-behavior: contain;
  display: grid; gap: var(--s4); padding: var(--s5);
  background: var(--sand); color: var(--ink); border: 1px solid var(--ink);
}
.welcome[open] .welcome__panel { animation: nav-in .28s var(--ease) both; }
@keyframes welcome-in { from { opacity: 0; } to { opacity: 1; } }
.welcome__panel h2 { font-size: 2rem; line-height: 1.1; }
.welcome__panel p { color: var(--ink-soft); }
.welcome__fields { display: grid; gap: var(--s4); }
.welcome__panel .btn { margin-top: var(--s2); }
@media (min-width: 600px) {
  .welcome__panel { padding: var(--s6); }
  .welcome__panel h2 { font-size: 2.5rem; }
}
@media (prefers-reduced-motion: reduce) {
  .curbtn, .cgrid button { transition: none; }
  .welcome[open], .welcome[open] .welcome__panel { animation: none; }
}
@media print { .curbtn, .curbox, .welcome { display: none !important; } }

/* 30. Right to left (Arabic, Hebrew, Persian, Urdu)
   Flexbox and grid mirror themselves under dir=rtl, so the masthead, the nav, the two-column
   rooms, the price rows, the FAQ, the gallery and the footer need nothing. These are the physical
   values that do not mirror on their own. */
html[dir=rtl] .skip-link { left: auto; right: var(--gutter); }
html[dir=rtl] .prose ul, html[dir=rtl] .prose ol { padding-left: 0; padding-right: 1.2em; }
html[dir=rtl] .masthead__actions { margin-left: 0; margin-right: auto; }
@media (min-width: 1024px) { html[dir=rtl] .masthead__actions { margin-right: 0; } }
html[dir=rtl] .cover__media img { object-position: 45% 50%; }
html[dir=rtl] .crumbs li + li::before { margin-right: 0; margin-left: var(--s2); }
html[dir=rtl] .text-link::after { content: " \2190"; content: " \2190" / ""; }
html[dir=rtl] table.prices th, html[dir=rtl] table.prices td, html[dir=rtl] table.prices caption { text-align: right; }
html[dir=rtl] table.prices td:last-child, html[dir=rtl] table.prices th:last-child { text-align: left; }
html[dir=rtl] .price-rows li .price { text-align: left; }
html[dir=rtl] .field select {
  background-position: .875rem 50%, 1.25rem 50%;
  padding-right: .875rem; padding-left: 2.5rem;
}
html[dir=rtl] .pull::before { left: auto; right: -.55em; }
html[dir=rtl] .pull { padding-left: 0; padding-right: 0; }
/* Numbers, prices and the address stay left to right inside a right to left sentence. */
html[dir=rtl] .tnum, html[dir=rtl] .price,
html[dir=rtl] .door__num, html[dir=rtl] .room__num, html[dir=rtl] .quote__num { direction: ltr; unicode-bidi: isolate; }
/* So does a price in another currency (js/currency.js). $45 holds together on its own, but in 38 €
   the sign stands apart from the figure and would be turned to the other side of it. In US dollars
   the spans keep no style at all, so the page is as it always was. */
html[dir=rtl]:not([data-cur="USD"]) .money { direction: ltr; unicode-bidi: isolate; }
/* set left to right, these would start on the left of their row: they stay on the right, as the mirror of English */
html[dir=rtl] .price, html[dir=rtl] .door__num, html[dir=rtl] .quote__num { text-align: right; }
html[dir=rtl] .footer__bottom p { direction: ltr; text-align: end; }

/* 31. Scripts with no letter spacing and no uppercasing (html.nls, set from the language file).
   Arabic, Hebrew, Persian, Urdu, Devanagari, Bengali, Tamil, Thai, CJK and Hangul are damaged by
   tracking and have no case, so the small-caps label style is dropped for them. */
html.nls .label, html.nls .btn, html.nls .text-link, html.nls .site-nav a, html.nls .skip-link,
html.nls .menu > summary, html.nls .field label, html.nls .footer h2, html.nls .facts li b,
html.nls .lines li b, html.nls table.prices caption, html.nls table.prices thead th,
html.nls .price small, html.nls .wa-bar, html.nls .langbtn, html.nls .curbtn, html.nls .legal__toc .label {
  letter-spacing: 0; text-transform: none;
}
html.nls .langbtn .lc, html.nls .curbtn .cc { letter-spacing: .12em; text-transform: uppercase; }
html.nls h1, html.nls h2, html.nls h3, html.nls h4 { letter-spacing: 0; line-height: 1.3; }
html.nls .footer__sign, html.nls .quote blockquote p, html.nls .pull p { line-height: 1.5; }
/* Arabic, Hebrew, Devanagari, Tamil, Thai, CJK and Hangul have no italic, so the browser slants the
   upright face instead. The testimonials are set upright in those scripts and marked by the
   terracotta quote mark and the rule beneath instead of by the slope. */
html.nls .quote blockquote p, html.nls .pull p { font-style: normal; }

/* 32. Type for every script.
   Cormorant Garamond and DM Sans carry Latin only, so each language that needs another script
   keeps the two brand faces first (names such as El Fin del Cielo and Dicky stay in them) and adds
   a system face behind for its own characters. Greek and Cyrillic are the trap: Cormorant has
   neither, so they are named here to make sure the headings land on a serif and not on the
   browser's default sans. */
/* The text face for Greek and Cyrillic is named, not left to system-ui: on a Mac system-ui is
   San Francisco, which tightens and loosens its own letter spacing as the type size changes, so
   a line set in it is not the same share of the page at every window width (the scaling rule).
   Helvetica Neue on a Mac and Segoe UI on Windows keep one spacing at every size. */
html[lang=el], html[lang=ru], html[lang=uk] {
  --display: 'Cormorant Garamond', Georgia, 'Times New Roman', 'Noto Serif', 'Liberation Serif', serif;
  --text: 'DM Sans', 'Helvetica Neue', 'Segoe UI', 'Noto Sans', Roboto, Helvetica, Arial, sans-serif;
}
/* Greek drops Georgia: its tonos is an oversized wedge set high and to the left of the vowel, so
   a display-size Greek heading reads as accents floating between the letters. Times New Roman
   sets a normal small acute on the vowel. Cyrillic in Georgia is fine, so ru and uk keep it. */
html[lang=el] {
  --display: 'Cormorant Garamond', 'Times New Roman', 'Noto Serif', 'Liberation Serif', serif;
}
/* Japanese: no line starts with a prolonged sound mark or a small kana (strict line breaking). */
html[lang=ja] {
  --display: 'Cormorant Garamond', 'Hiragino Mincho ProN', 'Yu Mincho', 'MS Mincho', 'Noto Serif JP', serif;
  --text: 'DM Sans', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic UI', Meiryo, 'Noto Sans JP', sans-serif;
  line-break: strict;
}
/* The line lock's word joiners stop kerning inside a held Japanese line, so the lines are measured
   without kerning too, or a held line comes out wider than the line it was drawn as. */
html[lang=ja] body, html[lang=ja] body * { font-kerning: none; }
/* Korean breaks between words, never between two syllables of one word. */
html[lang=ko] {
  --display: 'Cormorant Garamond', 'Apple SD Gothic Neo', 'Nanum Myeongjo', Batang, 'Noto Serif KR', serif;
  --text: 'DM Sans', 'Apple SD Gothic Neo', 'Malgun Gothic', 'Noto Sans KR', sans-serif;
  word-break: keep-all;
}
html[lang="zh-Hans"] {
  --display: 'Cormorant Garamond', 'Songti SC', SimSun, 'Noto Serif SC', serif;
  --text: 'DM Sans', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', sans-serif;
}
html[lang="zh-Hant"], html[lang=yue] {
  --display: 'Cormorant Garamond', 'Songti TC', PMingLiU, 'Noto Serif TC', serif;
  --text: 'DM Sans', 'PingFang TC', 'PingFang HK', 'Microsoft JhengHei', 'Noto Sans TC', sans-serif;
}
html[lang=th] {
  --display: 'Cormorant Garamond', Thonburi, 'Leelawadee UI', 'Noto Serif Thai', 'Noto Sans Thai', sans-serif;
  --text: 'DM Sans', Thonburi, 'Leelawadee UI', 'Noto Sans Thai', sans-serif;
}
/* Display and text must be two different faces or the editorial contrast is lost: Geeza Pro carries
   the body copy, so the headings take Al Bayan (it has the Persian letters too) with Noto Naskh
   behind it. */
html[lang=ar], html[lang=fa] {
  --display: 'Cormorant Garamond', 'Al Bayan', 'Noto Naskh Arabic', 'Times New Roman', serif;
  --text: 'DM Sans', 'Geeza Pro', 'Segoe UI', 'Noto Sans Arabic', Arial, sans-serif;
}
html[lang=ur] {
  --display: 'Cormorant Garamond', 'Noto Nastaliq Urdu', 'Geeza Pro', 'Noto Naskh Arabic', serif;
  --text: 'DM Sans', 'Noto Nastaliq Urdu', 'Geeza Pro', 'Segoe UI', 'Noto Sans Arabic', Arial, sans-serif;
}
/* Arial Hebrew is a sans and belongs in --text only: naming it in --display put the headings on the
   same face as the body copy. */
html[lang=he] {
  --display: 'Cormorant Garamond', 'Noto Serif Hebrew', 'Times New Roman', serif;
  --text: 'DM Sans', 'Arial Hebrew', 'Segoe UI', 'Noto Sans Hebrew', Arial, sans-serif;
}
html[lang=hi] {
  --display: 'Cormorant Garamond', 'Kohinoor Devanagari', 'Devanagari Sangam MN', 'Noto Serif Devanagari', serif;
  --text: 'DM Sans', 'Kohinoor Devanagari', 'Devanagari Sangam MN', 'Nirmala UI', 'Noto Sans Devanagari', sans-serif;
}
html[lang=bn] {
  --display: 'Cormorant Garamond', 'Kohinoor Bangla', 'Bangla Sangam MN', 'Noto Serif Bengali', serif;
  --text: 'DM Sans', 'Kohinoor Bangla', 'Bangla Sangam MN', 'Nirmala UI', 'Noto Sans Bengali', sans-serif;
}
html[lang=ta] {
  --display: 'Cormorant Garamond', 'Tamil MN', 'Tamil Sangam MN', 'Noto Serif Tamil', serif;
  --text: 'DM Sans', 'Tamil Sangam MN', 'Nirmala UI', 'Noto Sans Tamil', sans-serif;
}

/* House rule (Danny, 5 Sep 2026): text on our websites is not highlightable. Form fields stay selectable. */
html{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
input,textarea,select{-webkit-user-select:text;user-select:text}

/* ---------------------------------------------------------------- 20. Online booking (/book/)
   Danny, 28 September 2026: every WhatsApp button became Book now and lands here. The calendar,
   the choices and the price live on the page; the engine is the Site & Seond app (js/book.js).
   Same rules as the rest of the site: sand and paper, ink hairlines, terracotta for the thing you
   picked, Cormorant for the headings, DM Sans for everything you read. Mobile first. */
/* The sticky bar says Check a date to book and points here: on the booking pages it would only reload them. */
body:has(main[data-book]) .wa-bar { display: none; }
.bk-hero { padding-block-end: var(--s5); }
.bk-hero h1 { max-width: 20ch; }
.bk__grid { display: grid; gap: var(--s7); align-items: start; }
@media (min-width: 1024px) {
  .bk__grid { grid-template-columns: minmax(0, 1fr) 22.5rem; gap: var(--s8); }
  .bk__summary { position: sticky; top: calc(var(--header-h) + var(--s5)); }
}
.bk__form { display: grid; gap: var(--s7); min-width: 0; }
.bk__form:not(.is-ready) .bk__step { opacity: .5; pointer-events: none; }
.bk__form.is-closed .bk__step { display: none; }
.bk__status { padding: var(--s4) var(--s5); border: 1px solid var(--rule); background: var(--sand); }
.bk__step { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: var(--s5); }
.bk__step[hidden] { display: none; }
.bk__legend { font: 400 var(--h3)/1.15 var(--display); color: var(--ink); padding: 0 0 var(--s4); margin-bottom: var(--s2);
  border-bottom: 1px solid var(--rule); width: 100%; display: flex; gap: var(--s3); align-items: baseline; }
.bk__num { font: 500 var(--label)/1 var(--text); letter-spacing: .14em; color: var(--terracotta-deep); }
.bk__opt { display: grid; gap: var(--s3); }
.bk__opt[hidden] { display: none; }
/* an option's label sits as close to its cards as a field's label to its box */
.bk__opt-label { margin-bottom: calc(var(--s2) - var(--s3)); }
/* Events only: the way to talk it through by email first, above the choices, booking carries on below. */
.bk__talk { gap: var(--s2); padding: var(--s4) var(--s5); border: 1px solid var(--rule); border-inline-start: .125rem solid var(--terracotta); background: var(--white); }
.bk__talk-h { font: 400 1.35rem/1.25 var(--display); color: var(--ink); }
.bk__talk-h + p { margin-top: 0; font-size: var(--small); line-height: 1.5; color: var(--ink-soft); }
.bk__talk a { color: var(--ink); text-decoration: underline; text-underline-offset: .2em; }

/* Choices: a radio made into a card. The input stays real (keyboard, screen readers, no JS). */
.bk__choices { display: grid; gap: var(--s3); }
/* Extra hours (26 Oct 2026): four short cards, two by two on a phone too; four across on a desktop */
.bk__choices--pairs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 600px) {
  .bk__choices--2, .bk__choices--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bk__choices--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (min-width: 1024px) { .bk__choices--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
/* the small print under a set of choices (extra hours) */
.bk__opt > .hint { font-size: var(--small); color: var(--ink-soft); }
.bk__choice { position: relative; display: block; cursor: pointer; }
.bk__choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.bk__choice-body { display: grid; gap: var(--s1); align-content: start; height: 100%; min-height: 2.75rem; padding: var(--s4) var(--s5);
  border: 1px solid var(--rule); background: var(--white); transition: border-color .2s var(--ease), background-color .2s var(--ease); }
.bk__choice--sm .bk__choice-body { padding: var(--s3) var(--s4); }
.bk__choice-name { font: 600 1.55rem/1.15 var(--display); color: var(--ink); }
.bk__choice--sm .bk__choice-name { font: 500 var(--small)/1.35 var(--text); }
.bk__choice-sub { font-size: var(--small); line-height: 1.45; color: var(--ink-soft); }
.bk__choice-price { font: 500 var(--small)/1.4 var(--text); color: var(--ink); }
/* the price line is kept while the catalogue loads, so the cards do not grow under the finger when it lands */
.bk__choice-price:empty::before { content: "\00a0"; }
@media (hover: hover) { .bk__choice:hover .bk__choice-body { border-color: var(--ink-soft); } }
@media (hover: none) { .bk__choice:active .bk__choice-body { border-color: var(--ink-soft); } }
.bk__choice input:checked + .bk__choice-body { border-color: var(--terracotta); box-shadow: inset 0 0 0 1px var(--terracotta); background: var(--sand); }
.bk__choice input:focus-visible + .bk__choice-body { outline: 2px solid var(--ink); outline-offset: 2px; }

/* Guests: minus, the number, plus. */
.bk__guests { max-width: 16.25rem; }
.bk__stepper { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr) 2.75rem; align-items: center; border: 1px solid var(--rule); background: var(--white); }
.bk__stepper input { text-align: center; border: 0 !important; padding: .625rem 0 !important; font: 500 1.1rem/1 var(--text); -moz-appearance: textfield; }
.bk__stepper input::-webkit-outer-spin-button, .bk__stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
/* The counter is 3rem tall like every field (the 2px are its two hairlines), and its focus is drawn
   on the outer box, as on the other fields. */
.bk__stepper input { min-height: calc(3rem - 2px); }
.bk__stepper input:focus { box-shadow: none; }
.bk__stepper:focus-within { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.bk__stepbtn { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; background: none; border: 0; cursor: pointer; color: var(--ink); }
@media (hover: hover) { .bk__stepbtn:hover { color: var(--terracotta-deep); } }
@media (hover: none) { .bk__stepbtn:active { color: var(--terracotta-deep); } }
.bk__stepbtn svg, .bk__cal-nav svg { width: 1.125rem; height: 1.125rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

/* The calendar. */
.bk__cal { border: 1px solid var(--rule); background: var(--white); padding: var(--s3) var(--s2); max-width: 32.5rem; }
@media (min-width: 600px) { .bk__cal { padding: var(--s4); } }
.bk__cal-head { display: grid; grid-template-columns: 2.75rem minmax(0, 1fr) 2.75rem; align-items: center; margin-bottom: var(--s3); }
.bk__cal-title { text-align: center; font: 400 1.4rem/1.2 var(--display); color: var(--ink); }
.bk__cal-nav { width: 2.75rem; height: 2.75rem; display: grid; place-items: center; background: none; border: 1px solid transparent; cursor: pointer; color: var(--ink); }
@media (hover: hover) { .bk__cal-nav:hover:not(:disabled) { border-color: var(--rule); } }
@media (hover: none) { .bk__cal-nav:active:not(:disabled) { border-color: var(--rule); } }
.bk__cal-nav:disabled { opacity: .25; cursor: default; }
html[dir=rtl] .bk__cal-nav svg { transform: scaleX(-1); }
.bk__cal-grid { display: grid; gap: .125rem; }
.bk__cal-row { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: .125rem; }
.bk__dow { text-align: center; font: 500 var(--label)/2 var(--text); color: var(--ink-soft); text-transform: uppercase; }
.bk__day { aspect-ratio: 1; min-height: 2.5rem; display: grid; place-items: center; border: 1px solid transparent; background: none;
  font: 400 var(--small)/1 var(--text); color: var(--ink); cursor: pointer; font-variant-numeric: tabular-nums; }
.bk__day--pad { cursor: default; }
@media (hover: hover) { button.bk__day:hover:not(:disabled) { border-color: var(--ink); } }
@media (hover: none) { button.bk__day:active:not(:disabled) { border-color: var(--ink); } }
.bk__day:disabled { cursor: default; color: var(--rule); }
.bk__day--taken, .bk__day--taken:disabled { color: var(--ink-soft); text-decoration: line-through; background: var(--linen); opacity: .7; }
.bk__day--range { background: var(--sand); }
.bk__day--pick { background: var(--terracotta) !important; color: var(--white) !important; border-color: var(--terracotta) !important; text-decoration: none; opacity: 1; }
@media (hover: hover) { .bk__day--pick:hover { background: var(--terracotta) !important; color: var(--white) !important; border-color: var(--terracotta) !important; text-decoration: none; opacity: 1; } }
@media (hover: none) { .bk__day--pick:active { background: var(--terracotta) !important; color: var(--white) !important; border-color: var(--terracotta) !important; text-decoration: none; opacity: 1; } }
.bk__day:focus-visible { outline: 2px solid var(--ink); outline-offset: 1px; }
.bk__keys { list-style: none; display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); margin-top: var(--s4); padding: 0;
  font-size: var(--small); color: var(--ink-soft); }
.bk__keys li { display: flex; align-items: center; gap: var(--s2); }
.bk__key { width: .875rem; height: .875rem; display: inline-block; }
.bk__key--taken { background: var(--linen); opacity: .7; }
.bk__key--pick { background: var(--terracotta); }

/* Guest details: two columns from a tablet up. */
.bk .form--2col { display: grid; gap: var(--s5); }
@media (min-width: 600px) {
  .bk .form--2col { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bk .field--full { grid-column: 1 / -1; }
}

/* The summary: what, when, the price line by line, the one button. */
.bk__summary { display: grid; gap: var(--s3); padding: var(--s5); border: 1px solid var(--ink); background: var(--white); }
.bk__sum-what { font: 400 1.6rem/1.2 var(--display); color: var(--ink); }
.bk__sum-when, .bk__sum-guests { font-size: var(--small); color: var(--ink-soft); }
.bk__sum-when:empty, .bk__sum-guests:empty { display: none; }
.bk__lines { list-style: none; padding: 0; margin: var(--s2) 0 0; border-top: 1px solid var(--rule); }
.bk__lines:empty { display: none; }
.bk__lines li { display: flex; justify-content: space-between; gap: var(--s4); padding: var(--s3) 0; border-bottom: 1px solid var(--rule);
  font-size: var(--small); line-height: 1.4; }
.bk__lines bdi, .bk__total bdi { white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--ink); }
.bk__total { display: flex; justify-content: space-between; align-items: baseline; gap: var(--s4); padding-top: var(--s2);
  font: 400 1.8rem/1.1 var(--display); color: var(--ink); }
.bk__total[hidden] { display: none; }
.bk__error { color: var(--terracotta-deep); font-size: var(--small); line-height: 1.45; }
.bk__error[hidden] { display: none; }
.bk__fine { font-size: var(--small); color: var(--ink-soft); line-height: 1.45; }
.bk__fine a { color: var(--ink); }
/* In another currency, one quiet line says what is really charged in US dollars (js/book.js). */
.bk__usd { font-size: var(--small); line-height: 1.45; color: var(--ink-soft); }
.bk__usd[hidden] { display: none; }
.bk__summary .btn { margin-top: var(--s2); }
.bk__summary .btn:disabled { opacity: .45; cursor: default; }

/* Payment and confirmation. */
.bk [data-state] { display: grid; gap: var(--s4); justify-items: start; }
.bk [data-state][hidden] { display: none; }
.bk__test { padding: var(--s3) var(--s4); border-inline-start: .1875rem solid var(--amber); background: var(--sand); font-size: var(--small); }
.bk__test[hidden] { display: none; }
.bk__done { font: 400 var(--h2)/1.1 var(--display); color: var(--ink); }
/* How to pay a booking paid by transfer (20 October 2026): each of Dicky's ways under its name, the
   details exactly as he wrote them. The one place on the site where text can be selected: an
   account number or a PayPal address has to be copied, not retyped. */
.bk__payto { margin-top: var(--s5); }
.bk__ways { margin: var(--s3) 0 0; }
.bk__ways dt { font: 500 var(--label)/1.4 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-top: var(--s4); }
.bk__ways dt:first-child { margin-top: 0; }
.bk__ways dd { margin: var(--s1) 0 0; white-space: pre-line; overflow-wrap: anywhere; -webkit-user-select: text; user-select: text; }
.bk__next-h { font: 400 var(--h3)/1.2 var(--display); margin-top: var(--s4); }
.bk__next { list-style: none; padding: 0; display: grid; gap: var(--s2); }
.bk__next a { color: var(--ink); }

/* The price bar (js/book.js): on a phone or tablet, the total and the pay button at the foot of the
   screen once there is a price, out of the way while the summary is on screen. */
.bk__bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
  display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
  padding: var(--s3) var(--gutter) calc(var(--s3) + env(safe-area-inset-bottom, 0px));
  background: var(--paper); border-top: 1px solid var(--ink);
  transform: translateY(110%); visibility: hidden;
  transition: transform .25s var(--ease), visibility 0s linear .25s;
}
.bk__bar.is-on { transform: none; visibility: visible; transition: transform .25s var(--ease), visibility 0s linear 0s; }
.bk__bar-sum { display: grid; gap: .125rem; margin: 0; }
.bk__bar-label { font: 500 var(--label)/1.2 var(--text); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.bk__bar-price { font: 400 1.75rem/1 var(--display); color: var(--ink); font-variant-numeric: tabular-nums; }
.bk__bar .btn { flex: none; }
.bk__bar .btn:disabled { opacity: .45; }
@media (min-width: 1024px) { .bk__bar { display: none; } }
@media (prefers-reduced-motion: reduce) { .bk__bar, .bk__bar.is-on { transition: none; } }
/* In another currency the figures run longer (Rp 5.383.620) and the label carries the US dollar
   figure too: the label and the figure each keep one line, and the button gives way instead, so the
   bar stays inside the 4.75rem the footer leaves for it. The US dollar bar is untouched. */
html[data-cur]:not([data-cur="USD"]) .bk__bar { gap: var(--s3); }
html[data-cur]:not([data-cur="USD"]) .bk__bar-sum { flex: none; }
html[data-cur]:not([data-cur="USD"]) .bk__bar-label, html[data-cur]:not([data-cur="USD"]) .bk__bar-price { white-space: nowrap; }
html[data-cur]:not([data-cur="USD"]) .bk__bar .btn { flex: 0 1 auto; min-width: 0; padding: .5rem .75rem; overflow-wrap: normal; }
/* A long converted total moves under its label rather than splitting the word Total. */
html[data-cur]:not([data-cur="USD"]) .bk__total { flex-wrap: wrap; }
html[data-cur]:not([data-cur="USD"]) .bk__total bdi { margin-inline-start: auto; }

html.nls .bk__num, html.nls .bk__dow, html.nls .bk__bar-label { letter-spacing: 0; text-transform: none; }
