/* Base: reset, type roles, buttons, links, containers, section gaps, entrance.
   RULE: layout boxes (sections, wraps, grids) never set font-size, so their em gutters and gaps stay true.
   Only the t-* text roles, .btn and .tlink set font-size. */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
html.reduced { scroll-behavior: auto; }
body { margin: 0; background: var(--ground); color: var(--ink); font-family: var(--sans); font-weight: 400; line-height: 1.56; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body.locked { overflow: hidden; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
figure { margin: 0; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }

/* ---------- containers ---------- */
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.wrap-n { width: 100%; max-width: calc(var(--wrap-n) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.center { text-align: center; }
main { display: block; }
.m { margin-bottom: var(--gap); position: relative; }
.m-tight { margin-bottom: var(--gap-t); }
.m-first { padding-top: var(--first); }
.pattern { background-color: var(--raised); background-image: var(--pattern); background-size: 12em 12em; }

/* ---------- type roles (desktop em values; phone values below) ---------- */
.t-ov { font-family: var(--sans); font-weight: 500; font-size: 2em; line-height: 1.2; letter-spacing: .11em; text-transform: uppercase; }
.t-d2 { font-family: var(--serif); font-weight: 500; font-size: 5.6em; line-height: 1.2; letter-spacing: 0; }
.t-h2 { font-family: var(--serif); font-weight: 500; font-size: 4.5em; line-height: 1.2; }
.t-card { font-family: var(--serif); font-weight: 400; font-size: 4.4em; line-height: 1.2; }
.t-marq { font-family: var(--serif); font-weight: 500; font-size: 11vw; line-height: 1; white-space: nowrap; }
.t-quote { font-family: var(--serif); font-weight: 400; font-size: 4.4em; line-height: 1.25; }
.t-body { font-family: var(--sans); font-weight: 400; font-size: 2.1em; line-height: 1.56; }
.t-price { font-family: var(--sans); font-weight: 400; font-size: 2em; line-height: 1.56; }
.t-author { font-family: var(--sans); font-weight: 500; font-size: 1.8em; letter-spacing: .083em; text-transform: uppercase; line-height: 1.3; }
.t-legal { font-family: var(--sans); font-size: 1.8em; line-height: 1.5; }
.t-flink { font-family: var(--serif); font-weight: 400; font-size: 2.8em; line-height: 1.6; }
.t-ov + .t-d2, .t-ov + .t-h2 { margin-top: .45em; }
.t-d2 + .t-body, .t-h2 + .t-body, .t-d2 + .rich, .t-h2 + .rich { margin-top: 1.6em; }
.rich p + p, .rich p + ul, .rich ul + p { margin-top: 1em; }
.rich ul { padding-left: 1.1em; }
.rich b, .rich strong { font-weight: 500; }
.rich em { font-style: italic; }
.rich a:not(.tlink) { text-decoration: underline; text-underline-offset: .2em; }
.t-body + .tlink, .rich + .tlink, .facts + .tlink { margin-top: 2.2rem; }
.facts { list-style: none; font-size: 2.1em; line-height: 1.56; margin-top: 1em; }
.facts b { font-weight: 500; }

/* ---------- buttons and text links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; height: 2.85em; min-width: 6.9em; padding: 0 1.56em; font-family: var(--sans); font-weight: 500; font-size: 1.6em; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; border-radius: 0; border: 1px solid transparent; transition: var(--t-btn); cursor: pointer; white-space: nowrap; line-height: 1; }
.btn-book { background: var(--btn-fill); color: var(--btn-on); }
.btn-book:hover { background: var(--btn-fill-h); }
.btn-enq { background: var(--surf); color: var(--ink); border-color: var(--ink); }
.btn-enq:hover { background: var(--ink-25); }
.on-hero .btn-enq, .btn-enq.on-ground { background: var(--surf); }
.on-hero .btn-enq:hover, .btn-enq.on-ground:hover { background: var(--ink-25); }
.btns { display: flex; flex-wrap: wrap; gap: 1.8em; }

.tlink { display: inline-block; position: relative; font-family: var(--sans); font-weight: 500; font-size: 2.1em; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; padding: .25em 0 .5em; line-height: 1.2; transition: opacity .2s; background: none; border: 0; color: inherit; cursor: pointer; }
.tlink::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; }
.tlink:hover { opacity: .75; }

/* slider arrows (stacked) and counter */
.arr { display: grid; place-items: center; width: 4.4em; height: 3.4em; opacity: 1; transition: opacity .25s ease-in-out; }
.arr svg { width: 3.4em; height: 2.6em; fill: none; stroke: currentColor; stroke-width: 1.5; }
.arr[disabled] { opacity: .35; cursor: default; }
.count { font-family: var(--sans); font-weight: 500; font-size: 1.9em; letter-spacing: .11em; }

/* ---------- entrance (fx.js adds html.fx-on, then .in per module) ---------- */
html.fx-on .fx { opacity: 0; transform: translateY(8em); transition: transform 3s var(--e-out), opacity 3s var(--e-out); }
html.fx-on .fx.in { opacity: 1; transform: none; }
html.reduced .fx { opacity: 1 !important; transform: none !important; transition: none !important; }

/* ---------- phone type (≤767: base 9.6px) ---------- */
@media (max-width: 767px) {
  .t-ov { font-size: 1.6em; letter-spacing: .115em; }
  .t-d2 { font-size: 3em; }
  .t-h2 { font-size: 2.5em; }
  .t-card { font-size: 2.2em; }
  .t-quote { font-size: 2.4em; }
  .t-body, .facts { font-size: 1.6em; }
  .t-price { font-size: 1.6em; }
  .t-author { font-size: 1.6em; }
  .t-legal { font-size: 1.5em; }
  .t-flink { font-size: 1.8em; }
  .tlink { font-size: 1.6em; }
  .btn { font-size: 1.6em; }
  .count { font-size: 1.6em; }
}

/* ---------- touch: every control at least 44px ---------- */
@media (pointer: coarse) {
  .btn { min-height: 44px; height: auto; }
  .tlink { min-height: 44px; display: inline-flex; align-items: center; padding: 0; }
  .arr { min-width: 44px; min-height: 44px; }
}

/* Jost is loaded at 300-500 (v3 fonts, his ruling 2026-11-15): bold inside text is its 500, never a faked bold */
b, strong { font-weight: 500; }

/* ---------- v3's type, copied (his ruling 2026-11-15: "v3 er font use koro") ----------
   prototypes/v3-editorial/style.css: body Jost 300/1.6, .eyebrow, .h2, .h3/.room-name, .body, .link, .btn, .brand,
   .top-nav. Placed last so it wins over the em roles above (and their phone values). */
html body { font-weight: 300; line-height: 1.6; }
html .t-ov { font-size: 12px; font-weight: 500; letter-spacing: .26em; line-height: 1.4; }
html .t-d2, html .t-h2 { font-weight: 400; font-size: clamp(36px, 4.6vw, 68px); line-height: 1.04; letter-spacing: -.01em; }
html .t-ov + .t-d2, html .t-ov + .t-h2 { margin-top: 18px; }
html .t-card { font-weight: 500; font-size: 32px; line-height: 1.1; }
html .t-quote { font-weight: 400; font-size: clamp(26px, 3.4vw, 48px); line-height: 1.28; }
html .t-body, html .facts, html .m-banner .bn-tx ul { font-weight: 300; font-size: clamp(16px, 1.15vw, 18.5px); line-height: 1.6; }
html .t-price { font-weight: 300; font-size: 14.5px; }
html .t-author { font-size: 12px; font-weight: 500; letter-spacing: .22em; }
html .tlink { font-size: 12px; font-weight: 500; letter-spacing: .24em; padding: 0 0 6px; line-height: 1.6; }
html .btn { height: auto; min-height: 42px; min-width: 0; padding: 0 22px; font-size: 12px; font-weight: 500; letter-spacing: .22em; }
html .hb-quick a { font-weight: 400; font-size: 18px; text-transform: none; opacity: .9; }
html .brand-w { font-weight: 500; font-size: 30px; letter-spacing: .02em; }
html .brand-t { font-size: 9.5px; letter-spacing: .38em; }
@media (max-width: 767px) { html .t-card { font-size: 28px; } }
@media (pointer: coarse) { html .btn { min-height: 44px; } }
