/* Udai Bilas Palace. Designed at 390px first; desktop is the adaptation.
   Square corners, hairline rules, no shadows. */

@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-wght-normal.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("../fonts/cormorant-garamond-latin-wght-italic.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("../fonts/dm-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 100 1000; font-style: normal; font-display: swap; }

:root {
  --ink: #0F1F26;          /* Lake ink: text, dark sections */
  --stone: #5F7078;        /* Pareva stone: rules, secondary */
  --stone-text: #50616A;   /* Pareva, a shade deeper, for AA body text on limewash */
  --limewash: #F4EEE2;     /* section backgrounds */
  --paper: #FBF8F1;        /* page background */
  --brass: #A9792A;        /* accent, primary button */
  --brass-deep: #7D581A;   /* brass for small text on light grounds (AA) */
  --brass-light: #D2A85C;  /* brass for small text on lake ink (AA) */
  --btn-ink: #081216;
  --rule: rgba(95, 112, 120, .38);
  --rule-dark: rgba(244, 238, 226, .22);
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 20px;
  --dock: 64px;
  --header: 60px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.6 var(--sans); padding-bottom: calc(var(--dock) + env(safe-area-inset-bottom)); }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a, button, summary, label, input, select { touch-action: manipulation; -webkit-tap-highlight-color: rgba(169, 121, 42, .18); }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.dark :focus-visible, .hero :focus-visible { outline-color: var(--brass-light); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: var(--paper); padding: 14px 18px; z-index: 100; }
.skip:focus { left: 0; }

/* Type */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.9rem, 13vw, 6.25rem); line-height: .94; letter-spacing: -.01em; }
h2 { font-size: clamp(2.2rem, 9vw, 3.75rem); line-height: 1; margin-bottom: .5em; }
h3 { font-size: 1.6rem; line-height: 1.1; margin-bottom: .35em; }
h1 em, h2 em { font-style: italic; color: var(--brass); }
.dark h1 em, .dark h2 em, .hero h1 em { color: var(--brass-light); }
.label { font: 500 .75rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--brass-deep); margin: 0 0 1.1rem; }
.dark .label, .hero .label { color: var(--brass-light); }
.lede { font-size: 1.125rem; line-height: 1.55; max-width: 36em; color: var(--stone-text); }
.dark .lede { color: rgba(244, 238, 226, .86); }
small { font-size: .8125rem; }

/* Layout */
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }
.wrap.narrow { max-width: 760px; }
.section { padding-block: 72px; }
.section.tight { padding-top: 24px; }
.limewash { background: var(--limewash); }
.dark { background: var(--ink); color: var(--limewash); }
.split { display: grid; gap: 40px; }
.split > * { min-width: 0; }
.kv dd { overflow-wrap: anywhere; }
.prose p { max-width: 38em; }
.prose a:not(.btn):not(.more), .single a, .contact-card a:not(.btn), .form-note a { color: var(--brass-deep); }
.dark .prose a:not(.btn):not(.more), .dark .single a, .dark .host a { color: var(--brass-light); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; border: 1px solid transparent; border-radius: 0; font: 500 .8125rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.btn-primary { background: var(--brass); color: var(--btn-ink); }
.btn-primary:hover { background: #BC8A38; }
.btn-ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn-ghost:hover { background: rgba(244, 238, 226, .12); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover, .limewash .btn-ghost:hover { background: var(--ink); color: var(--paper); }
.more { display: inline-flex; align-items: center; min-height: 48px; font: 500 .8125rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--brass-deep); border-bottom: 1px solid currentColor; margin-top: 20px; }
.dark .more { color: var(--brass-light); }

/* Photographs */
.pic { margin: 0; position: relative; }
.pic img { width: 100%; }
.pic[class*="r-"] img { height: 100%; object-fit: cover; position: absolute; inset: 0; }
.r-4x5 { aspect-ratio: 4 / 5; } .r-1x1 { aspect-ratio: 1; } .r-4x3 { aspect-ratio: 4 / 3; }
.pic figcaption { font-size: .8125rem; color: var(--stone-text); padding-top: 10px; border-top: 1px solid var(--rule); margin-top: 10px; }
.pic[class*="r-"] figcaption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 28px 14px 12px; border: 0; color: var(--limewash); background: linear-gradient(transparent, rgba(15, 31, 38, .82)); }
.dark .pic figcaption { color: rgba(244, 238, 226, .8); border-color: var(--rule-dark); }
.bleed img { max-height: 80vh; object-fit: cover; }
.bleed figcaption { padding-inline: var(--gutter); }
.plate { background: var(--ink); display: grid; place-items: center; }
.plate span { font: italic 400 2.4rem var(--serif); color: var(--brass-light); }

/* Header */
.site-header { height: var(--header); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-inline: var(--gutter); border-bottom: 1px solid var(--rule); background: var(--paper); position: relative; z-index: 20; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; text-decoration: none; font: 500 1.25rem/1 var(--serif); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.wordmark small { font: italic 400 1rem var(--serif); text-transform: none; letter-spacing: 0; color: var(--brass-deep); }
.wordmark .crest { color: var(--brass); flex: none; }
.primary, .header-enquire { display: none; }
.menu-btn, .sheet-close { display: inline-flex; align-items: center; gap: 10px; background: none; border: 1px solid currentColor; min-height: 48px; min-width: 48px; padding: 0 14px; font: 500 .75rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: inherit; cursor: pointer; }
.menu-btn:active, .sheet-close:active, .btn:active, .dock a:active, .tabs button:active, .chips a:active, .rail-nav button:active { transform: scale(.97); }
@media (max-width: 420px) { .wordmark { font-size: 1.05rem; letter-spacing: .06em; } .wordmark small { display: none; } }
.is-home .site-header { position: absolute; inset: 0 0 auto; background: transparent; border-color: transparent; color: var(--limewash); }
.is-home .wordmark small, .is-home .wordmark .crest { color: var(--brass-light); }

/* Explore sheet */
.sheet { position: fixed; inset: 0; z-index: 60; background: var(--ink); color: var(--limewash); overflow-y: auto; }
.sheet[hidden] { display: none; }
.sheet-inner { min-height: 100%; padding: 12px var(--gutter) calc(var(--dock) + 32px); display: flex; flex-direction: column; }
.sheet-top { display: flex; align-items: center; justify-content: space-between; min-height: 48px; }
.sheet-top .label { margin: 0; }
.sheet nav ul { margin-top: 12px; border-top: 1px solid var(--rule-dark); }
.sheet nav a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding: 8px 4px; border-bottom: 1px solid var(--rule-dark); font: 400 1.75rem/1.1 var(--serif); text-decoration: none; }
.sheet nav a svg { color: var(--brass-light); flex: none; }
.sheet nav a[aria-current] { color: var(--brass-light); font-style: italic; }
.sheet nav a:active { background: rgba(244, 238, 226, .08); }
.sheet-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.sheet-actions .btn-primary { grid-column: 1 / -1; }
.sheet-foot { margin-top: 12px; }
.sheet-foot a { display: flex; align-items: center; min-height: 48px; color: var(--brass-light); }
@media (max-height: 760px) { .sheet nav a { min-height: 52px; font-size: 1.5rem; } }
.sheet-open { overflow: hidden; }

/* Dock: Call, Explore, Enquire. Mobile only. */
.dock { position: fixed; inset: auto 0 0; z-index: 70; display: grid; grid-template-columns: 1fr 1fr 1.25fr; height: calc(var(--dock) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: var(--ink); color: var(--limewash); border-top: 1px solid var(--rule-dark); }
.dock a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 48px; text-decoration: none; font: 500 .75rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; border-right: 1px solid var(--rule-dark); }
.dock a:active { background: rgba(244, 238, 226, .1); }
.dock svg { width: 22px; height: 22px; }
.sheet-open .dock-explore { background: rgba(244, 238, 226, .12); }
.dock .dock-enquire { background: var(--brass); color: var(--btn-ink); border: 0; }

/* Hero: fills the first screen above the dock */
.hero { position: relative; min-height: calc(100vh - var(--dock)); min-height: calc(100svh - var(--dock) - env(safe-area-inset-bottom)); display: flex; align-items: flex-end; background: var(--ink); color: var(--limewash); overflow: hidden; }
.hero-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 31, 38, .62) 0, rgba(15, 31, 38, 0) 20%, rgba(15, 31, 38, 0) 30%, rgba(15, 31, 38, .72) 54%, rgba(15, 31, 38, .94) 76%, #0F1F26 100%); }
.hero-text { position: relative; z-index: 1; padding-block: 0 28px; }
.hero .label { margin-bottom: .9rem; }
.hero .lede { color: rgba(244, 238, 226, .92); margin: 1rem 0 0; font-size: 1.0625rem; }
.hero .actions { margin-top: 22px; }
.hero .btn { flex: 1 1 auto; }

/* Rails: one swipe row at a time */
.rail { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); margin: 0; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { flex: none; scroll-snap-align: start; }

.facts { border-bottom: 1px solid var(--rule); background: var(--paper); }
.facts-rail > div { padding: 22px 28px 22px 0; margin-right: 28px; border-right: 1px solid var(--rule); min-width: 132px; }
.facts-rail > div:last-child { border: 0; }
dt { font: 500 .6875rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--stone-text); }
dd { margin: 4px 0 0; }
.facts-rail dd { font: 400 1.75rem/1.1 var(--serif); white-space: nowrap; }

.cards-rail { gap: 14px; margin-top: 32px; }
.card { width: 78vw; max-width: 340px; }
.card a { display: block; text-decoration: none; }
.card h3 { margin-top: 14px; }
.card p { color: var(--stone-text); margin: 0; }

/* Why families come */
.reasons { margin-top: 36px; display: grid; }
.reasons li { padding: 24px 0; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 44px 1fr; }
.reasons .num { font: italic 400 1.5rem var(--serif); color: var(--brass); grid-row: span 2; }
.reasons p { grid-column: 2; margin: 0; color: var(--stone-text); }

/* Two palaces */
.pair { display: grid; gap: 48px; margin-top: 36px; }
.pair .label { margin: 18px 0 .4rem; }
.pair p { color: var(--stone-text); margin: 0; }

/* Generations */
.gens { margin-top: 32px; display: grid; }
.gens li { padding: 22px 0; border-top: 1px solid var(--rule-dark); }
.gens h3 { font-style: italic; color: var(--brass-light); }
.gens p { margin: 0; color: rgba(244, 238, 226, .86); }
.gens.on-light li { border-color: var(--rule); }
.gens.on-light h3 { color: var(--brass-deep); }
.gens.on-light p { color: var(--stone-text); }
.whole .bleed { margin-top: 56px; }
.section.whole { padding-bottom: 0; }

/* Spaces */
.spaces { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 14px; margin-top: 32px; }
.spaces a { text-decoration: none; display: block; }
.spaces h3 { font-size: 1.35rem; margin-top: 12px; }
.spaces p { font-size: .9375rem; color: var(--stone-text); margin: 0; }

/* Region explorer */
.explorer { margin-top: 32px; }
.tabs { display: none; }
.explorer.js .tabs { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--ink); }
.tabs button { min-height: 56px; padding: 6px 4px; background: transparent; border: 0; border-right: 1px solid var(--ink); font: 500 .6875rem/1.3 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink); cursor: pointer; }
.tabs button:last-child { border: 0; }
.tabs button[aria-selected="true"] { background: var(--ink); color: var(--limewash); }
.ring { padding-top: 28px; }
.ring[hidden] { display: none; }
.explorer.js .ring-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.ring-name { font-style: italic; color: var(--brass-deep); }
.ring-note { color: var(--stone-text); }
.place-list { border-top: 1px solid var(--rule); }
.place-list a { display: grid; grid-template-columns: 1fr auto; gap: 2px 16px; padding: 16px 0; min-height: 48px; border-bottom: 1px solid var(--rule); text-decoration: none; }
.place-name { font: 400 1.45rem/1.15 var(--serif); }
.place-dist { font: 500 .6875rem/2 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brass-deep); white-space: nowrap; }
.place-why { grid-column: 1 / -1; font-size: .9375rem; color: var(--stone-text); }

/* Family week, FAQs */
.week, .faqs { margin: 28px 0; border-top: 1px solid var(--rule); }
.week li, .faqs details { border-bottom: 1px solid var(--rule); }
summary { cursor: pointer; list-style: none; display: grid; grid-template-columns: 1fr 24px; align-items: center; gap: 4px 12px; padding: 16px 0; min-height: 56px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 300 1.75rem/1 var(--serif); color: var(--brass-deep); grid-column: 2; grid-row: 1 / span 2; text-align: center; }
details[open] summary::after { content: "–"; }
summary .label { margin: 0; }
.week-title, .faqs summary { font: 400 1.5rem/1.15 var(--serif); }
details p { color: var(--stone-text); padding-right: 36px; max-width: 38em; }

/* Press */
.press { padding-block: 44px; border-top: 1px solid var(--rule); }
.press ul { display: grid; gap: 4px; }
.press a { display: block; padding: 10px 0; text-decoration: none; min-height: 48px; }
.pub { font: 400 1.5rem/1.2 var(--serif); display: block; }
.piece { font-style: italic; color: var(--stone-text); }

/* Host and enquiry */
.host { display: flex; gap: 16px; align-items: center; padding: 20px 0; margin: 28px 0 0; border-block: 1px solid var(--rule-dark); line-height: 1.5; }
.host-mark { flex: none; width: 56px; height: 56px; display: grid; place-items: center; border: 1px solid var(--brass-light); color: var(--brass-light); }
.host strong { font: 400 1.4rem/1.2 var(--serif); }
.host a { display: inline-block; padding-block: 4px; }
.enquire-block { padding-block: 72px; }
.single { margin-top: 28px; color: rgba(244, 238, 226, .86); }

.enquiry { margin-top: 32px; }
fieldset { border: 0; padding: 0; margin: 0 0 32px; min-width: 0; }
legend { font: 400 1.6rem/1.2 var(--serif); padding: 0; margin-bottom: 14px; }
.field { margin-bottom: 16px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label { display: block; font: 500 .75rem/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px; }
label small { text-transform: none; letter-spacing: 0; font-weight: 400; opacity: .75; margin-left: 6px; }
input, select, textarea { width: 100%; min-height: 52px; padding: 12px 14px; border: 1px solid var(--stone); border-radius: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.4 var(--sans); appearance: none; -webkit-appearance: none; }
select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
textarea { min-height: 120px; resize: vertical; }
.hint { font-size: .9375rem; opacity: .8; }
.choices { display: grid; gap: 10px; }
.choice, .check { display: flex; gap: 14px; align-items: center; min-height: 56px; padding: 12px 14px; border: 1px solid var(--stone); cursor: pointer; text-transform: none; letter-spacing: 0; font-size: 1rem; margin: 0; }
.dark .choice, .dark .check { border-color: var(--rule-dark); }
.choice:has(:checked) { border-color: var(--brass-light); }
.choice input, .check input { width: 22px; height: 22px; min-height: 0; padding: 0; flex: none; accent-color: var(--brass); appearance: auto; -webkit-appearance: auto; }
.choice strong { display: block; font: 400 1.3rem/1.2 var(--serif); }
.choice small { margin: 0; font-size: .875rem; }
.check { margin-bottom: 16px; font-weight: 400; }
.steppers { display: grid; gap: 0; border-top: 1px solid var(--rule); }
.dark .steppers, .dark .stepper { border-color: var(--rule-dark); }
.stepper { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.stepper label { margin: 0; text-transform: none; letter-spacing: 0; font: 400 1.3rem/1.2 var(--serif); }
.stepper label small { display: block; margin: 2px 0 0; font: 400 .8125rem var(--sans); }
.stepper-ctl { display: grid; grid-template-columns: 48px 52px 48px; }
.stepper-ctl button { height: 48px; border: 1px solid var(--stone); background: transparent; color: inherit; font-size: 1.25rem; cursor: pointer; }
.stepper-ctl input { min-height: 48px; height: 48px; padding: 0; text-align: center; border-inline: 0; -moz-appearance: textfield; }
.stepper-ctl input::-webkit-outer-spin-button, .stepper-ctl input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.enquiry .actions .btn { flex: 1 1 200px; }
.form-note { margin-top: 18px; font-size: .9375rem; opacity: .85; }

/* Inner page hero */
.page-hero { padding-top: 28px; }
.page-hero .wrap { padding-bottom: 36px; }
.page-hero h1 { font-size: clamp(2.6rem, 11.5vw, 5.25rem); }
.page-hero .lede { margin: 1.2rem 0 0; }
.page-hero-pic img { aspect-ratio: 4 / 5; object-fit: cover; max-height: 82vh; }
.crumbs { font-size: .8125rem; color: var(--stone-text); margin-bottom: 28px; }
.crumbs a { display: inline-block; padding-block: 14px; text-decoration: none; }
.crumbs a:last-child { color: var(--ink); }
.no-image { border-bottom: 1px solid var(--rule); }

/* Key-value tables */
.kv { margin: 0; border-top: 1px solid var(--ink); align-self: start; }
.kv > div { display: grid; grid-template-columns: 116px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.kv dt { padding-top: 4px; }
.kv dd { margin: 0; }
.dark .kv { border-color: var(--limewash); }
.suits { margin-top: 1.4em; padding-top: 1em; border-top: 1px solid var(--rule); color: var(--stone-text); }
.suits .label { display: block; margin-bottom: .3rem; }
.suits.on-dark { color: rgba(244, 238, 226, .86); border-color: var(--rule-dark); margin-top: 32px; }

/* Timeline */
.timeline { gap: 0; margin-top: 28px; align-items: stretch; }
.timeline li { width: 76vw; max-width: 300px; padding: 22px 24px 8px 0; margin-right: 24px; border-top: 1px solid var(--ink); border-right: 1px solid var(--rule); position: relative; }
.timeline li::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; background: var(--brass); }
.tl-date { font: 500 .75rem/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--brass-deep); margin-bottom: .6rem; }
.timeline p:last-child { color: var(--stone-text); font-size: .9375rem; }
.rulers li { display: grid; grid-template-columns: 104px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--rule-dark); font: 400 1.25rem/1.25 var(--serif); }
.rulers span { font: 500 .75rem/2 var(--sans); letter-spacing: .1em; color: var(--brass-light); }
.dark .bleed + .wrap { padding-top: 56px; }
.section.dark:has(> .bleed:first-child) { padding-top: 0; }

/* Steps, occasions, seasons */
.steps { counter-reset: step; margin-top: 24px; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 44px 1fr; padding: 18px 0; border-top: 1px solid var(--rule); }
.steps li::before { content: counter(step, lower-roman); font: italic 400 1.5rem var(--serif); color: var(--brass); grid-row: span 2; }
.steps p { grid-column: 2; margin: 0; color: var(--stone-text); }
.occasions, .seasons { display: grid; margin-top: 28px; }
.occasions li, .seasons li { padding: 22px 0; border-top: 1px solid var(--rule); }
.occasions p, .seasons li > p:last-child { margin: 0; color: var(--stone-text); }
.occasion-pic { margin-top: 40px; }
.hooks { display: grid; gap: 32px; margin-top: 40px; }
.hook { text-decoration: none; display: block; }
.hook .label { margin: 14px 0 .3rem; }

/* Floor plan */
.plan { margin: 0; }
.plan svg { width: 100%; height: auto; max-width: 460px; }
.p-lake { fill: #D6DEE0; } .p-pool { fill: var(--paper); stroke: var(--stone); }
.p-old { fill: var(--stone); } .p-new { fill: var(--ink); } .p-court { fill: var(--paper); stroke: var(--rule); } .p-tower { fill: var(--brass); }
.p-label { font: 500 9px var(--sans); letter-spacing: .16em; fill: var(--stone-text); }
.p-text { font: 500 9px var(--sans); letter-spacing: .08em; fill: var(--limewash); }
.p-small { font: italic 400 13px var(--serif); fill: var(--ink); }
.plan figcaption { font-size: .8125rem; color: var(--stone-text); margin-top: 12px; max-width: 34em; }

/* Rooms */
.room-list { display: grid; gap: 64px; }
.room-row { display: grid; gap: 22px; }
.room-row h2 { font-size: clamp(2rem, 8vw, 2.75rem); }
.room-row h2 a, .room-pic { text-decoration: none; display: block; }
.room-row p { color: var(--stone-text); max-width: 36em; }
.mini-rooms { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 14px; }
.mini-rooms a { text-decoration: none; display: block; }
.mini-rooms h3 { font-size: 1.25rem; margin-top: 10px; }

/* Journal */
.posts { display: grid; gap: 56px; }
.posts a { text-decoration: none; display: block; }
.posts .label { margin: 16px 0 .5rem; }
.posts h2 { font-size: clamp(1.9rem, 7.5vw, 2.5rem); margin-bottom: .3em; }
.posts p:last-child { color: var(--stone-text); margin: 0; }
.post h2 { font-size: 1.9rem; font-style: italic; margin-top: 1.6em; }
.post .pic { margin-block: 2em; }
.post > p { font-size: 1.0625rem; }

/* Trade and contact */
.contact-card { border: 1px solid var(--rule); padding: 24px 20px; align-self: start; background: var(--limewash); }
.contact-card .label:not(:first-child) { margin-top: 28px; }
.contact-name { font: 400 1.75rem/1.15 var(--serif); }
.contact-card .kv { margin-bottom: 20px; }
.contact-card .kv > div { grid-template-columns: 88px 1fr; }
.contact-card .btn { width: 100%; }
.plain li { padding: 8px 0; }
.library { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 14px; margin-top: 28px; }
.library a { text-decoration: none; display: block; }
.library span { display: block; font-size: .875rem; margin-top: 8px; color: var(--stone-text); }

/* Footer */
.site-footer { padding-block: 64px 28px; }
.footer-grid { display: grid; gap: 40px; }
.footer-mark { color: var(--brass-light); margin-bottom: 14px; }
.footer-name { font: 400 1.6rem/1.1 var(--serif); letter-spacing: .06em; text-transform: uppercase; margin-bottom: .4rem; }
.site-footer address, .site-footer p { color: rgba(244, 238, 226, .8); }
.site-footer li a { display: flex; align-items: center; min-height: 48px; text-decoration: none; }
.site-footer li a:hover { text-decoration: underline; }
.colophon { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--rule-dark); font-size: .8125rem; }

/* On-page chips, rail arrows, galleries */
.chips { display: flex; flex-wrap: wrap; gap: 10px; padding-block: 20px; }
.chips a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border: 1px solid var(--stone); text-decoration: none; font: 500 .75rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.chips a:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.rail-nav { display: flex; gap: 10px; justify-content: flex-end; padding: 16px var(--gutter) 0; }
.rail-nav button { width: 52px; height: 52px; display: grid; place-items: center; background: transparent; border: 1px solid currentColor; color: inherit; cursor: pointer; }
.rail-nav button[disabled] { opacity: .3; cursor: default; }
.rail:focus-visible { outline-offset: -2px; }
.gallery { display: grid; gap: 14px; margin-top: 32px; }
.duo { display: grid; gap: 14px; margin-top: 32px; }
.duo a { display: block; }
.section.tight + .chips, .page-hero + .chips { border-bottom: 1px solid var(--rule); }

/* ─────────────── Desktop adaptation ─────────────── */
@media (min-width: 900px) {
  :root { --gutter: 48px; --header: 76px; }
  body { padding-bottom: 0; }
  .dock { display: none; }
  .site-header { position: sticky; top: 0; }
  .is-home .site-header { position: absolute; }
  .header-enquire { display: inline-flex; min-height: 48px; padding-inline: 22px; margin-left: auto; }
  .sheet-inner { max-width: 560px; margin-left: auto; padding-bottom: 40px; border-left: 1px solid var(--rule-dark); }
  .sheet { background: rgba(15, 31, 38, .96); }
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  .gallery li:first-child { grid-column: span 2; }
  .gallery li:first-child .pic { height: 100%; aspect-ratio: auto; }
  .gallery.two { grid-template-columns: 1fr 1fr; }
  .gallery.two li:first-child { grid-column: auto; }
  .duo { grid-template-columns: 1fr 1fr; gap: 24px; }
  .chips { padding-block: 24px; }
  .section, .enquire-block { padding-block: 120px; }
  .section.tight { padding-top: 40px; }
  .hero { min-height: 100vh; min-height: 100svh; }
  .hero::after { background: linear-gradient(180deg, rgba(15, 31, 38, .6) 0, rgba(15, 31, 38, 0) 22%, rgba(15, 31, 38, 0) 40%, rgba(15, 31, 38, .88) 100%); }
  .hero-text { padding-bottom: 72px; }
  .hero .lede { font-size: 1.25rem; }
  .hero .btn { flex: none; }
  .lede { font-size: 1.25rem; }
  .facts-rail { max-width: 1200px; margin-inline: auto; justify-content: space-between; }
  .facts-rail > div { flex: 1; margin-right: 0; padding-left: 28px; }
  .facts-rail > div:first-child { padding-left: 0; }
  .reasons { grid-template-columns: repeat(3, 1fr); gap: 48px; }
  .reasons li { grid-template-columns: 1fr; border-top-color: var(--ink); }
  .reasons .num { margin-bottom: 12px; }
  .reasons p { grid-column: 1; }
  .pair, .hooks { grid-template-columns: 1fr 1fr; gap: 64px; }
  .gens { grid-template-columns: repeat(4, 1fr); gap: 40px; }
  .cards-rail { padding-inline: max(var(--gutter), calc((100vw - 1200px) / 2 + var(--gutter))); gap: 24px; }
  .card { width: 30vw; max-width: 360px; }
  .spaces { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .split { grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
  .form-split { grid-template-columns: 1.4fr 1fr; }
  .explorer.js .tabs { max-width: 620px; }
  .tabs button { font-size: .75rem; letter-spacing: .14em; }
  .place-list a { grid-template-columns: 1.1fr 1.6fr auto; align-items: baseline; padding: 20px 0; }
  .place-why { grid-column: 2; grid-row: 1; }
  .place-list a:hover .place-name { color: var(--brass-deep); }
  .page-hero { padding-top: 40px; }
  .page-hero .wrap { padding-bottom: 64px; }
  .page-hero-pic img { aspect-ratio: 21 / 9; max-height: 76vh; }
  .timeline { padding-inline: max(var(--gutter), calc((100vw - 1200px) / 2 + var(--gutter))); }
  .timeline li { width: 280px; }
  .occasions, .seasons { grid-template-columns: repeat(3, 1fr); gap: 48px; }
  .occasions li, .seasons li { border-top-color: var(--ink); }
  .room-list { gap: 112px; }
  .room-row { grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: center; }
  .room-row.flip .room-pic { order: 2; }
  .mini-rooms, .library { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  .posts { grid-template-columns: 1fr 1fr; gap: 80px 64px; }
  .footer-grid { grid-template-columns: 1.5fr 1fr 1.2fr .8fr; gap: 48px; }
  .press ul { grid-template-columns: 1fr 1fr; }
  .feature:nth-of-type(even) .split > .pic { order: 2; }
  .contact-card { padding: 32px; position: sticky; top: 100px; }
}
/* Full navigation bar only where seven links fit with 48px targets; below that, Menu. */
@media (min-width: 1400px) {
  .menu-btn { display: none; }
  .primary { display: block; margin-left: auto; }
  .primary ul { display: flex; gap: 4px; }
  .primary a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 9px; font: 500 .75rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
  .primary a:hover, .primary a[aria-current] { box-shadow: inset 0 -1px 0 currentColor; }
  .header-enquire { margin-left: 12px; }
}
@media print { .dock, .site-header .menu-btn, .sheet { display: none; } body { padding: 0; } }
.rail-nav[hidden] { display: none; }

/* Tap targets: every standalone link is at least 48px in both directions */
.crumbs a { min-width: 48px; text-align: center; }
.crumbs a:first-child { text-align: left; }
.host a { display: inline-flex; align-items: center; min-height: 48px; padding-block: 0; }
.contact-card .kv a, .single a, .plain a { display: inline-flex; align-items: center; min-height: 48px; }
.contact-card .kv > div { align-items: center; padding-block: 4px; }
.contact-card .kv dt { padding-top: 0; }
.room-row h2 a { padding-block: 8px; }

/* Film clips: tap to play, silent, looped */
.clip video { display: block; width: 100%; height: auto; }
.clip-tall { max-width: 420px; margin-inline: auto; }
.lead-clip { margin: 0 0 2em; }
.guest-band .split { align-items: center; }

/* The music collection */
.portrait { max-width: 320px; }
.small-portrait { max-width: 240px; }
.sub { font: 500 .8125rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; margin: 0 0 1rem; }
.music-cols { margin-top: 36px; align-items: start; }
.music-cols .kv > div { grid-template-columns: 104px 1fr; }
.small { font-size: 1rem; color: var(--stone-text); margin-top: 1rem; max-width: 38em; }
.plain-list { margin: 0; padding: 0; list-style: none; counter-reset: src; border-top: 1px solid var(--ink); }
.plain-list li { counter-increment: src; display: grid; grid-template-columns: 44px 1fr; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.plain-list li::before { content: counter(src, decimal-leading-zero); font: 500 .75rem/2 var(--sans); letter-spacing: .1em; color: var(--brass-deep); }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.tags li { padding: 8px 14px; border: 1px solid var(--stone); font: 400 1.25rem/1.2 var(--serif); }
.rule-note { margin: 44px 0 0; padding-top: 24px; border-top: 1px solid var(--ink); font: italic 400 1.75rem/1.2 var(--serif); color: var(--brass-deep); max-width: 22em; }
.quote { margin: 1.6em 0 0; padding: 0 0 0 20px; border-left: 1px solid var(--brass-light); }
.quote p { font: 400 1.3125rem/1.45 var(--serif); }
.quote footer { margin-top: 1em; font: 500 .75rem/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--brass-light); }
.masters { margin: 28px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); }
.masters li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 4px 16px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.master-name { font: 400 1.5rem/1.2 var(--serif); }
.masters .label { margin: 0; }
.catalogue-h { margin-top: 56px; }
.count { font: 500 .75rem/1 var(--sans); letter-spacing: .1em; color: var(--brass-deep); margin-left: 8px; }
.names { margin: 0 0 20px; padding: 0; list-style: none; counter-reset: nm; columns: 1; }
.names li { counter-increment: nm; break-inside: avoid; padding: 7px 0 7px 40px; text-indent: -40px; border-bottom: 1px solid var(--rule); }
.names li::before { content: counter(nm); display: inline-block; width: 40px; text-indent: 0; font: 500 .75rem/1 var(--sans); color: var(--stone-text); }
.performers h3 { font: 400 1.5rem/1.2 var(--serif); margin: 14px 0 .2rem; }
.performers p { margin: 0; color: var(--stone-text); }
.performers .label { margin-top: .5rem; }
.links-row { margin: .6em 0 0; }
@media (min-width: 600px) { .names { columns: 2; column-gap: 32px; } }
@media (min-width: 900px) {
  .names { columns: 3; }
  .masters { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
  .gallery.performers li:first-child { grid-column: auto; }
  .gallery.performers li:first-child .pic { height: auto; aspect-ratio: 4 / 5; }
}

/* Background music: the bird. Sits above the dock; the explore sheet covers it. */
.music { position: fixed; right: 12px; bottom: calc(var(--dock) + env(safe-area-inset-bottom) + 12px); z-index: 55; display: inline-flex; align-items: center; gap: 10px; height: 48px; min-width: 48px; padding: 0 10px; border: 1px solid var(--brass-light); background: var(--ink); color: var(--brass-light); cursor: pointer; font: 500 .75rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; }
.music[hidden] { display: none; }
.music:active { transform: scale(.97); }
.music svg { flex: none; }
.music-title, .music-bars { display: none; }
.music[aria-pressed="true"] { background: var(--brass); color: var(--btn-ink); border-color: var(--brass); }
.music[aria-pressed="true"] .music-title { display: inline; padding-right: 4px; max-width: calc(100vw - 130px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.music[aria-pressed="true"] .music-bars { display: inline-flex; align-items: flex-end; gap: 3px; height: 16px; }
.music-bars i { width: 2px; height: 100%; background: currentColor; transform-origin: bottom; animation: bars 1s ease-in-out infinite; }
.music-bars i:nth-child(2) { animation-delay: -.35s; }
.music-bars i:nth-child(3) { animation-delay: -.7s; }
@keyframes bars { 0%, 100% { transform: scaleY(.3); } 50% { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .music-bars i { animation: none; transform: scaleY(.7); } }
@media (min-width: 900px) {
  .music { right: 24px; bottom: 24px; }
  .music[aria-pressed="true"] .music-title, .music:hover .music-title, .music:focus-visible .music-title { display: inline; padding-right: 4px; }
}
@media print { .music { display: none; } }

/* The book page */
.kv.years > div { grid-template-columns: 84px 1fr; }
.kv.years dt { font-variant-numeric: tabular-nums; }
.aside-h { margin-top: 2.2em; }
.quote.on-light { border-color: var(--brass); }
.quote.on-light footer { color: var(--brass-deep); }
.see-list a { text-decoration: none; display: inline-flex; align-items: center; min-height: 48px; }
.see-list a:hover .master-name { color: var(--brass-deep); }
.see-list li { padding: 4px 0; align-items: center; }
.car-note { margin-top: 28px; max-width: 38em; }
.car-note a { color: var(--brass-deep); }
cite { font-style: italic; }
