/* Fenella Redrup Girls' Hostel: one stylesheet.
   Rules: every colour, size, radius, shadow and easing comes from the tokens below. Navy is the primary colour.
   No gradients anywhere (image overlays are flat colour). Motion is transform, opacity and filter only.
   Breakpoints: 600px (two-column forms and grids), 960px (desktop layouts), 1200px (wide grids).
   Phone fixes use max-width values one hundredth below a switch (e.g. 959.98px). */

@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 300 700; font-display: swap; src: url("../fonts/dmsans-latin.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 560; font-display: swap; src: url("../fonts/fraunces-roman.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 480; font-display: swap; src: url("../fonts/fraunces-italic.woff2") format("woff2"); }

:root {
  /* colour: navy family */
  --navy: #15305F;
  --navy-2: #1C3B72;
  --navy-3: #10264D;
  --navy-deep: #0C1B36;
  --ink: #0E1C36;
  --ink-dark: #0E1C36; /* never re-mapped: text on white surfaces inside dark panels */
  --blue: #4A6FB5;
  --sky: #A9C2F0;
  --sky-soft: #E6EDF9;
  /* colour: warm neutrals */
  --ivory: #F7F3EC;
  --paper: #FBF9F5;
  --white: #FFFFFF;
  --sand: #EFE7DA;
  --sand-2: #E6DACA;
  --sand-3: #D6BE98;
  /* text */
  --body: #4E586A;
  --muted: #626B7D;
  /* lines (low-alpha ink, never solid grey) */
  --line: rgba(14, 28, 54, .10);
  --line-strong: rgba(14, 28, 54, .18);
  --line-field: #7A8394;   /* form field edges: 3.8:1 on white, 3.6:1 on paper */
  /* chips and tones (small surfaces only) */
  --tone-sky-bg: #E6EDF9;   --tone-sky-ink: #3F64A8;
  --tone-sand-bg: #F3EADB;  --tone-sand-ink: #80602F;
  --tone-sage-bg: #E5EFE7;  --tone-sage-ink: #4F6E58;
  --tone-rose-bg: #F6E7E2;  --tone-rose-ink: #9C4E3F;
  --tone-lilac-bg: #ECE8F6; --tone-lilac-ink: #62549A;
  /* type */
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --fs-display: clamp(2.45rem, 1.15rem + 3.9vw, 4.4rem);
  --fs-h2: clamp(2rem, 1.15rem + 2.5vw, 3.2rem);
  --fs-h3: clamp(1.3rem, 1.12rem + .6vw, 1.65rem);
  --fs-lead: clamp(1.02rem, .97rem + .22vw, 1.13rem);
  --fs-small: .875rem;
  /* space and shape */
  --frame: clamp(8px, 1vw, 12px);
  --gutter: clamp(18px, 4.4vw, 60px);
  --container: 1200px;
  --section: clamp(76px, 8.5vw, 132px);
  --hero-pad: clamp(20px, 4vw, 56px);
  --r-sm: 12px; --r-md: 16px; --r-lg: 22px; --r-xl: 30px; --r-pill: 999px;
  --sh-1: 0 1px 2px rgba(14, 28, 54, .05), 0 2px 8px rgba(14, 28, 54, .05);
  --sh-2: 0 2px 6px rgba(14, 28, 54, .05), 0 14px 34px rgba(14, 28, 54, .10);
  --sh-3: 0 6px 14px rgba(14, 28, 54, .08), 0 30px 70px rgba(14, 28, 54, .22);
  --sh-btn: 0 10px 22px -12px rgba(14, 28, 54, .55);
  /* motion */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --dur-1: .2s; --dur-2: .45s; --dur-3: .9s;
  /* layers */
  --z-sheet: 40; --z-header: 50; --z-fab: 30; --z-skip: 100;
  --header-h: 84px;
  interpolate-size: allow-keywords;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--header-h); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0; background: var(--ivory); color: var(--body); font-family: var(--font); font-size: 1rem; line-height: 1.6;
  font-optical-sizing: auto; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote, fieldset { margin: 0; }
:where(ul[role="list"], ol[role="list"]) { list-style: none; padding: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
[id] { scroll-margin-top: 16px; }
h1, h2, h3 { color: var(--ink); font-weight: 500; text-wrap: balance; font-optical-sizing: none; font-variation-settings: "opsz" 14; }
p { text-wrap: pretty; }
strong { font-weight: 600; }
::selection { background: var(--navy); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
section:focus-visible, main:focus-visible { outline: none; }
/* on navy and over photos the ring turns light so it keeps 3:1 against what is around it */
.panel--navy :focus-visible, .panel--deep :focus-visible, .hero :focus-visible, .s-cta :focus-visible, .story-card :focus-visible, .day-card :focus-visible,
html:not(.sheet-open) .site-header:not(.is-scrolled) .site-header__bar :focus-visible:not(.mega *) { outline-color: var(--sky); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: 12px; z-index: var(--z-skip); padding: 10px 16px; border-radius: var(--r-pill); background: var(--navy); color: #fff; font-weight: 500; text-decoration: none; transform: translateY(-160%); transition: transform var(--dur-2) var(--ease-out); }
.skip-link:focus { transform: none; }

.icon { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon--sm { width: 18px; height: 18px; stroke-width: 1.8; }
.icon--xs { width: 14px; height: 14px; stroke-width: 2; }

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- panels and sections ---------- */
main { display: flex; flex-direction: column; gap: var(--frame); }
.panel { margin-inline: var(--frame); border-radius: var(--r-xl); }
.panel--white { background: var(--white); }
.panel--sand { background: var(--sand-2); }
.panel--navy, .panel--deep, .on-dark {
  color: rgba(255, 255, 255, .78);
  --ink: #FFFFFF; --body: rgba(255, 255, 255, .76); --muted: rgba(255, 255, 255, .62);
  --line: rgba(255, 255, 255, .14); --line-strong: rgba(255, 255, 255, .26);
}
.panel--navy { background: var(--navy); }
.panel--deep { background: var(--navy-deep); }
.section { padding-block: var(--section); }

/* ---------- type helpers ---------- */
.eyebrow { font-size: .8125rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.eyebrow--light { color: rgba(255, 255, 255, .86); }
h2 { font-size: var(--fs-h2); line-height: 1.08; letter-spacing: -.02em; }
.accent { color: var(--blue); }
.panel--navy .accent, .panel--deep .accent, .hero .accent, .s-cta .accent { color: var(--sky); }
.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--body); max-width: 56ch; }
.smallprint { margin-top: 28px; font-size: .8125rem; line-height: 1.55; color: var(--muted); max-width: 72ch; }
.smallprint--light { color: rgba(255, 255, 255, .62); }
.smallprint--center { margin-inline: auto; text-align: center; }

.head { display: grid; gap: 16px; margin-bottom: clamp(36px, 4.4vw, 60px); }
.head--center { justify-items: center; text-align: center; max-width: 880px; margin-inline: auto; }
.head--center .lead { margin-inline: auto; }
.head--split { align-items: end; }
@media (min-width: 960px) {
  .head--split { grid-template-columns: minmax(0, 1fr) auto; column-gap: 48px; }
  .head--split h2 { max-width: 17ch; }
  .head--split .lead { max-width: 40ch; justify-self: end; }
}

/* ---------- buttons ---------- */
.btn {
  --btn-h: 52px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--btn-h); padding: 0 24px; border: 1px solid transparent; border-radius: var(--r-pill);
  font-size: .97rem; font-weight: 500; letter-spacing: -.005em; line-height: 1; text-decoration: none; white-space: nowrap;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out), border-color var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out), scale var(--dur-2) var(--ease-out);
}
.btn:active { scale: .98; }
.btn--sm { --btn-h: 44px; padding: 0 18px; font-size: .9rem; }
.btn--block { width: 100%; }
.btn:has(.btn__disc) { padding-right: 6px; gap: 18px; }
.btn--sm:has(.btn__disc) { padding-right: 5px; gap: 14px; }
.btn--block:has(.btn__disc) { justify-content: space-between; padding-left: 26px; }
.btn__disc { position: relative; display: grid; place-items: center; width: calc(var(--btn-h) - 12px); height: calc(var(--btn-h) - 12px); border-radius: 50%; overflow: hidden; flex: none; }
.btn--sm .btn__disc { width: calc(var(--btn-h) - 10px); height: calc(var(--btn-h) - 10px); }
.btn__disc .icon { grid-area: 1 / 1; transition: transform var(--dur-2) var(--ease-out); }
.btn__disc .icon + .icon { transform: translateX(-170%); }
@media (hover: hover) {
  .btn:hover .btn__disc .icon:first-child:not(:only-child) { transform: translateX(170%); }
  .btn:hover .btn__disc .icon + .icon { transform: none; }
}

.btn--navy, .btn--accent { background: var(--navy); color: #fff; box-shadow: var(--sh-btn); }
.btn--navy .btn__disc, .btn--accent .btn__disc { background: #fff; color: var(--navy); }
@media (hover: hover) { .btn--navy:hover, .btn--accent:hover { background: var(--navy-2); } }

.btn--white { background: #fff; color: var(--ink-dark); box-shadow: var(--sh-1); border-color: rgba(14, 28, 54, .06); }
.btn--white .btn__disc { background: var(--navy); color: #fff; }
@media (hover: hover) { .btn--white:hover { box-shadow: var(--sh-2); } }

.btn--light, .hero .btn--accent, .s-cta .btn--accent { background: #fff; color: var(--navy); box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .6); }
.hero .btn--accent .btn__disc, .s-cta .btn--accent .btn__disc { background: var(--navy); color: #fff; }
@media (hover: hover) { .btn--light:hover, .hero .btn--accent:hover, .s-cta .btn--accent:hover { background: var(--sky-soft); } }

.btn--glass { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .26); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); }
@media (hover: hover) { .btn--glass:hover { background: rgba(255, 255, 255, .24); } }

/* small rounded icon tiles and chips */
.mini-tile { display: grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 14px; background: var(--sky-soft); color: var(--navy); }
.mini-tile--light { background: rgba(255, 255, 255, .12); color: #fff; }
.chip { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: var(--r-pill); font-size: .8125rem; font-weight: 500; }
.chip--light { background: rgba(255, 255, 255, .14); color: #fff; }
.tag { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: var(--r-pill); font-size: .875rem; font-weight: 500; color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.tag--sky { background: rgba(63, 100, 168, .92); }
.tag--sand { background: rgba(128, 96, 47, .92); }
.tag--sage { background: rgba(79, 110, 88, .92); }
.tag--rose { background: rgba(156, 78, 63, .92); }
.tag--lilac { background: rgba(98, 84, 154, .92); }
.glass-tag { display: inline-flex; align-items: center; min-height: 32px; padding: 6px 13px; border-radius: var(--r-pill); font-size: .8125rem; font-weight: 500; line-height: 1.2; color: #fff; background: rgba(12, 27, 54, .42); border: 1px solid rgba(255, 255, 255, .22); -webkit-backdrop-filter: blur(12px) saturate(1.3); backdrop-filter: blur(12px) saturate(1.3); }

/* ---------- logo ---------- */
.logo { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; flex: none; }
.logo__mark { width: 30px; height: 37px; flex: none; }
.logo__text { display: grid; gap: 5px; }
.logo__word { font-family: var(--font-display); font-weight: 560; font-size: 1.36rem; line-height: 1; letter-spacing: -.02em; white-space: nowrap; }
.logo__word em { font-style: italic; font-weight: 480; }
.logo__sub { font-size: .6rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; line-height: 1; opacity: .78; white-space: nowrap; }
.logo--footer .logo__mark { width: 38px; height: 46px; }
.logo--footer .logo__word { font-size: 1.7rem; }
.logo--footer .logo__sub { font-size: .66rem; }

/* ---------- header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: var(--z-header); pointer-events: none;
  padding: calc(var(--frame) + 12px) calc(var(--frame) + var(--hero-pad)) 0;
  transition: transform .5s var(--ease-out);
}
.site-header > * { pointer-events: auto; }
.site-header__bar {
  position: relative; display: flex; align-items: center; gap: 28px; height: 60px; max-width: 1400px; margin-inline: auto;
  padding: 0; border: 1px solid transparent; border-radius: var(--r-pill); color: #fff;
  transition: background-color .4s var(--ease-out), box-shadow .4s var(--ease-out), color .3s var(--ease-out), border-color .4s var(--ease-out);
}
.site-header.is-scrolled { padding-top: 10px; padding-inline: max(var(--frame), 10px); }
.site-header.is-scrolled .site-header__bar {
  max-width: 1180px; padding: 0 8px 0 20px; color: var(--ink);
  background: rgba(251, 249, 245, .88); border-color: rgba(14, 28, 54, .07);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 12px 32px -16px rgba(14, 28, 54, .32);
}
.site-header.is-hidden { transform: translateY(calc(-100% - 20px)); }
.sheet-open .site-header .site-header__bar { color: var(--ink); background: transparent; box-shadow: none; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }

.nav { display: none; align-items: center; gap: 4px; }
.nav__trigger, .nav__link {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border: 0; border-radius: var(--r-pill);
  background: transparent; font-size: .95rem; font-weight: 500; text-decoration: none; color: inherit; opacity: .9;
  transition: background-color var(--dur-1) var(--ease-out), opacity var(--dur-1) var(--ease-out);
}
@media (hover: hover) { .nav__trigger:hover, .nav__link:hover { opacity: 1; background: rgba(255, 255, 255, .14); } .is-scrolled .nav__trigger:hover, .is-scrolled .nav__link:hover { background: rgba(14, 28, 54, .06); } }
.nav__chev { transition: transform var(--dur-2) var(--ease-out); }
.nav__trigger[aria-expanded="true"] { opacity: 1; background: rgba(255, 255, 255, .16); }
.is-scrolled .nav__trigger[aria-expanded="true"] { background: rgba(14, 28, 54, .07); }
.nav__trigger[aria-expanded="true"] .nav__chev { transform: rotate(180deg); }
.site-header__actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.header-phone { display: none; align-items: center; gap: 8px; height: 40px; padding: 0 12px; font-size: .95rem; font-weight: 500; text-decoration: none; border-radius: var(--r-pill); opacity: .92; }
@media (hover: hover) { .header-phone:hover { opacity: 1; } }
.header-cta { display: none; }
.site-header:not(.is-scrolled) .header-cta { background: #fff; color: var(--navy); }
.menu-btn { display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .16); color: inherit; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.is-scrolled .menu-btn, .sheet-open .menu-btn { background: rgba(14, 28, 54, .07); }
html:not(.js) .menu-btn, html:not(.js) .nav__trigger { display: none; }
@media (min-width: 960px) {
  .nav { display: flex; }
  .header-cta { display: inline-flex; }
  .menu-btn { display: none; }
}
@media (min-width: 1100px) { .header-phone { display: inline-flex; } }

/* mega menu */
.mega {
  /* inside .nav, right after its trigger (tab order); positioned against .site-header__bar */
  position: absolute; left: 50%; top: calc(100% + 10px); width: min(1000px, calc(100vw - 2 * var(--gutter)));
  visibility: hidden; opacity: 0; transform: translate3d(-50%, -8px, 0) scale(.985); transform-origin: 50% 0;
  transition: opacity .32s var(--ease-out), transform .45s var(--ease-out), visibility 0s linear .45s;
}
.mega.is-open { visibility: visible; opacity: 1; transform: translate3d(-50%, 0, 0); transition-delay: 0s; }
.mega__panel { padding: 22px 24px 24px; border-radius: var(--r-lg); background: #fff; color: var(--ink); box-shadow: var(--sh-3); border: 1px solid rgba(14, 28, 54, .06); }
.mega__label { font-size: .9rem; color: var(--muted); margin: 0 0 10px 10px; }
.mega__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 14px; }
.mega__title { font-size: 1rem; font-weight: 500; color: var(--ink); margin: 6px 10px 6px; }
.mega__item { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: var(--r-md); text-decoration: none; transition: background-color var(--dur-1) var(--ease-out); }
.mega__item img, .mega__tile { width: 56px; height: 56px; flex: none; border-radius: 14px; object-fit: cover; }
.mega__tile { display: grid; place-items: center; background: var(--sky-soft); color: var(--navy); }
.mega__item strong { display: block; font-weight: 500; font-size: .95rem; color: var(--ink); line-height: 1.25; }
.mega__item small { display: block; font-size: .82rem; color: var(--muted); line-height: 1.35; margin-top: 3px; }
@media (hover: hover) { .mega__item:hover { background: var(--ivory); } }
.mega__item:focus-visible { outline-offset: -2px; background: var(--ivory); }
@media (max-width: 959.98px) { .mega { display: none; } }

/* mobile sheet */
.sheet {
  position: fixed; inset: 0; z-index: var(--z-sheet); overflow-y: auto; background: var(--ivory);
  padding: calc(var(--frame) + 92px) var(--gutter) max(24px, env(safe-area-inset-bottom));
  visibility: hidden; opacity: 0; transform: translate3d(0, -12px, 0);
  transition: opacity .35s var(--ease-out), transform .5s var(--ease-out), visibility 0s linear .5s;
}
.sheet.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.sheet__inner { display: flex; flex-direction: column; min-height: 100%; gap: 28px; max-width: 560px; margin-inline: auto; }
.sheet__links li { border-bottom: 1px solid var(--line); }
.sheet__links a { display: flex; align-items: center; min-height: 56px; font-size: clamp(1.35rem, 1rem + 2.4vh, 1.75rem); font-weight: 500; letter-spacing: -.02em; color: var(--ink); text-decoration: none; }
.sheet__foot { margin-top: auto; display: grid; gap: 14px; }
.sheet__phone { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; font-weight: 500; color: var(--ink); text-decoration: none; }
.js .sheet.is-open .sheet__links li { animation: sheet-in .55s var(--ease-out) both; animation-delay: calc(var(--i, 0) * 40ms + 60ms); }
@keyframes sheet-in { from { opacity: 0; transform: translate3d(0, 10px, 0); } }
.sheet-open body, html.sheet-open { overflow: hidden; }

/* ---------- 1. hero ---------- */
.hero {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end;
  margin: var(--frame) var(--frame) 0; border-radius: var(--r-xl); overflow: hidden; isolation: isolate;
  min-height: max(600px, min(calc(100svh - var(--frame) * 2), 920px)); background: var(--navy); color: #fff;
  --ink: #FFFFFF;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 50%; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: rgba(10, 22, 46, .5); }
.js .hero__media img { transform: scale(1.07); transition: transform 2.2s var(--ease-out); }
.js .hero.is-ready .hero__media img { transform: none; }
.hero__inner { padding: 120px var(--hero-pad) var(--hero-pad); max-width: 1000px; }
.hero__title { margin-top: 14px; font-size: var(--fs-display); line-height: 1.04; letter-spacing: -.024em; max-width: 15.5em; text-shadow: 0 1px 24px rgba(10, 22, 46, .25); }
.hero__lead { margin-top: 20px; max-width: 46ch; font-size: var(--fs-lead); color: rgba(255, 255, 255, .88); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__facts {
  display: flex; gap: 6px; margin: 0 var(--hero-pad) var(--hero-pad); padding: 6px; border-radius: var(--r-lg); align-self: flex-start;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2);
  -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
}
.hero__facts li { display: grid; gap: 2px; min-width: 92px; padding: 10px 14px; border-radius: 16px; }
.hero__facts li + li { box-shadow: inset 1px 0 0 rgba(255, 255, 255, .16); border-radius: 0; }
.hero__facts strong { font-size: 1.35rem; font-weight: 500; letter-spacing: -.02em; color: #fff; line-height: 1.1; }
.hero__facts span { font-size: .78rem; color: rgba(255, 255, 255, .78); }
@media (min-width: 960px) {
  .hero__facts { position: absolute; right: var(--hero-pad); bottom: var(--hero-pad); margin: 0; }
}
@media (max-width: 599.98px) {
  .hero__inner { padding-top: 112px; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__actions .btn:has(.btn__disc) { justify-content: space-between; padding-left: 26px; }
  .hero__facts { margin-top: -8px; width: calc(100% - var(--hero-pad) * 2); }
  .hero__facts li { flex: 1 1 0; min-width: 0; padding: 8px 10px; }
  .hero__facts strong { font-size: 1.15rem; }
}

/* ---------- 2. rooms ---------- */
.rooms-grid { display: grid; gap: 16px; }
@media (min-width: 700px) { .rooms-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .room-card--photo { grid-column: 1 / -1; } }
@media (min-width: 1040px) { .rooms-grid { grid-template-columns: minmax(0, 1.45fr) minmax(0, 1.05fr) minmax(0, .9fr); } .room-card--photo { grid-column: auto; } }
.room-card { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; min-height: 320px; padding: 26px; border-radius: var(--r-lg); overflow: hidden; isolation: isolate; }
.room-card--single { background: var(--sand); }
.room-card--shared { background: var(--ivory); }
.room-card__icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 18px; background: #fff; color: var(--navy); box-shadow: var(--sh-1); }
.room-card__num { position: absolute; top: 14px; right: 24px; z-index: -1; font-family: var(--font-display); font-weight: 560; font-size: clamp(6.5rem, 4.4rem + 5vw, 10.5rem); line-height: 1; letter-spacing: -.05em; color: var(--navy); }
.room-card__num small { font-size: .38em; letter-spacing: -.02em; vertical-align: .95em; margin-left: .06em; color: var(--blue); }
.room-card--shared .room-card__num { font-size: clamp(5.2rem, 3.8rem + 3.6vw, 8.2rem); }
.room-card h3 { font-size: var(--fs-h3); line-height: 1.12; letter-spacing: -.02em; }
.room-card__body p { margin-top: 10px; max-width: 34ch; font-size: .95rem; }
.room-card__body .room-card__price { margin-top: 6px; font-size: .95rem; color: var(--body); }
.room-card__price strong { font-size: 1.6rem; font-weight: 500; letter-spacing: -.02em; color: var(--navy); margin-right: 2px; }
.room-card__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.room-card--photo { min-height: 360px; padding: 0; color: #fff; text-decoration: none; }
@media (min-width: 700px) { .room-card { min-height: 400px; } }
.room-card--photo img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.room-card--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(10, 22, 46, .34); transition: background-color var(--dur-2) var(--ease-out); }
@media (hover: hover) { .room-card--photo:hover img { transform: scale(1.05); } .room-card--photo:hover::after { background: rgba(10, 22, 46, .42); } }
.room-card__badge { position: absolute; top: 22px; left: 22px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #fff; color: var(--navy); }
.room-card__caption { position: absolute; left: 24px; right: 24px; bottom: 24px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; font-size: clamp(1.45rem, 1.2rem + .8vw, 1.85rem); font-weight: 500; line-height: 1.12; letter-spacing: -.02em; }
.room-card__caption .icon { width: 28px; height: 28px; margin-bottom: 2px; transition: transform var(--dur-2) var(--ease-out); }
@media (hover: hover) { .room-card--photo:hover .room-card__caption .icon { transform: translateX(4px); } }

/* ---------- 3. life at Redrup (rail) ---------- */
.rail-nav { display: flex; gap: 10px; }
.rail-nav--center { justify-content: center; margin-top: 28px; }
.rail-btn { display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(14, 28, 54, .06); color: var(--ink); transition: background-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out), opacity var(--dur-2) var(--ease-out), scale var(--dur-2) var(--ease-out); }
.rail-btn--accent { background: var(--navy); color: #fff; }
@media (hover: hover) { .rail-btn:hover { background: rgba(14, 28, 54, .12); } .rail-btn--accent:hover { background: var(--navy-2); } }
.rail-btn:active { scale: .94; }
.rail-btn[aria-disabled="true"] { opacity: .35; cursor: default; }
.rail-btn[aria-disabled="true"]:active { scale: 1; }
.rail-static .rail-nav { visibility: hidden; }
.rail {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
  /* bleeds to the screen edges while the first card lines up with the content column.
     No percentages here: in scroll-padding they resolve against the rail itself, not the column. */
  --bleed: max(var(--gutter), (100vw - var(--container)) / 2);
  margin-inline: calc(var(--bleed) * -1); padding: 4px var(--bleed) 10px; scroll-padding-inline: var(--bleed);
}
.rail::-webkit-scrollbar { display: none; }
.rail:focus-visible { outline-offset: -2px; border-radius: var(--r-lg); }
.rail.is-dragging { scroll-snap-type: none; cursor: grabbing; }
.rail.is-dragging * { pointer-events: none; }
.place { flex: 0 0 clamp(236px, 24vw, 292px); scroll-snap-align: start; }
.place figure { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-lg); overflow: hidden; background: var(--sand); }
.place img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
@media (hover: hover) { .place:hover img { transform: scale(1.05); } }
.place figcaption { position: absolute; left: 14px; bottom: 14px; }
@media (max-width: 599.98px) { .place { flex-basis: 74%; } }

/* ---------- 4. story and the day ---------- */
.s-story h2 .accent { display: block; }
.story-grid, .day-grid { display: grid; gap: 14px; }
.day-grid { margin-top: 14px; }
@media (min-width: 960px) {
  .story-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .day-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.story-card, .day-card, .day-photo { border-radius: var(--r-lg); background: var(--navy); color: rgba(255, 255, 255, .8); --ink: #fff; }
.story-card { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: clamp(24px, 3vw, 36px); }
.story-card__text { font-size: clamp(1.06rem, 1rem + .3vw, 1.2rem); line-height: 1.55; color: #fff; }
.story-card__text--muted { color: rgba(255, 255, 255, .72); font-size: 1rem; }
.story-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; width: 100%; margin-top: auto; }
.story-stats div { padding: 14px 16px; border-radius: var(--r-md); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1); }
.story-stats dt { font-size: .8rem; color: rgba(255, 255, 255, .66); }
.story-stats dd { font-size: clamp(1.6rem, 1.3rem + .9vw, 2.1rem); font-weight: 500; letter-spacing: -.03em; color: #fff; line-height: 1.15; }
.story-stats dt { white-space: nowrap; }
.story-stats dd small { display: block; margin-top: 2px; font-size: .8rem; font-weight: 400; letter-spacing: 0; line-height: 1.2; color: rgba(255, 255, 255, .7); }
@media (max-width: 599.98px) { .story-stats div { padding: 12px; } }
.story-photo { position: relative; min-height: 380px; border-radius: var(--r-lg); overflow: hidden; isolation: isolate; }
.story-photo img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; }
.story-photo .glass-tag--tl { position: absolute; top: 18px; left: 18px; }
.story-photo__caption {
  position: absolute; left: 18px; right: 18px; bottom: 18px; display: flex; gap: 14px; align-items: flex-start; max-width: 420px; margin-left: auto;
  padding: 16px 18px; border-radius: var(--r-md); color: rgba(255, 255, 255, .84); font-size: .9rem; line-height: 1.45;
  background: rgba(12, 27, 54, .5); border: 1px solid rgba(255, 255, 255, .18); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3);
}
.story-photo__caption strong { display: block; color: #fff; font-weight: 500; font-size: 1rem; margin-bottom: 2px; }
.story-photo__icon { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 12px; background: #fff; color: var(--navy); }

.day-card { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: clamp(24px, 3vw, 36px); text-align: center; }
.day-card__title { font-size: 1.15rem; color: #fff; }
.day-card__intro { margin-top: -10px; max-width: 40ch; font-size: .92rem; color: rgba(255, 255, 255, .7); }
.day-widget { width: 100%; max-width: 380px; padding: 22px 22px 18px; border-radius: var(--r-lg); background: #fff; color: var(--body); box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .55); }
.day-widget__label { font-size: .85rem; color: var(--blue); }
.day-widget__time { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 4px; font-size: 1.9rem; font-weight: 500; letter-spacing: -.03em; color: var(--navy); line-height: 1.2; }
.day-widget__time .icon { width: 26px; height: 26px; color: var(--blue); }
.day-widget__text { min-height: 4.6em; margin-top: 12px; font-size: .92rem; line-height: 1.5; color: var(--body); }
.day-widget__text.is-swap, .day-widget__time.is-swap { animation: day-swap .5s var(--ease-out); }
@keyframes day-swap { from { opacity: 0; transform: translate3d(0, 6px, 0); } }
.day-range { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; margin: 14px 0 0; background: transparent; cursor: pointer; }
.day-range:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; border-radius: 12px; }
.day-range::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: rgba(14, 28, 54, .12); }
.day-range::-moz-range-track { height: 4px; border-radius: 4px; background: rgba(14, 28, 54, .12); }
.day-range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 46px; height: 28px; margin-top: -12px; border: 0; border-radius: var(--r-pill);
  background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 7l-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E") center / 18px no-repeat;
  box-shadow: 0 6px 14px -6px rgba(14, 28, 54, .7); transition: transform var(--dur-1) var(--ease-out);
}
.day-range::-moz-range-thumb {
  width: 46px; height: 28px; border: 0; border-radius: var(--r-pill);
  background: var(--navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 7l-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.day-range:active::-webkit-slider-thumb { transform: scale(1.06); }
.day-ticks { position: relative; height: 18px; padding: 0; margin: 2px 0 0; list-style: none; font-size: .7rem; line-height: 18px; color: var(--muted); }
.day-ticks li { position: absolute; top: 0; left: calc(23px + var(--t) * (100% - 46px) / 4); transform: translateX(-50%); white-space: nowrap; cursor: pointer; }
.day-ticks li:nth-child(1) { --t: 0; left: 0; transform: none; } .day-ticks li:nth-child(2) { --t: 1; } .day-ticks li:nth-child(3) { --t: 2; } .day-ticks li:nth-child(4) { --t: 3; } .day-ticks li:nth-child(5) { --t: 4; left: auto; right: 0; transform: none; }
.day-ticks li.is-on { color: var(--navy); font-weight: 600; }
.day-card__foot { display: flex; align-items: center; gap: 12px; width: 100%; margin-top: auto; text-align: left; }
.day-card__foot .mini-tile { background: rgba(255, 255, 255, .12); color: #fff; }
.day-card__foot-text { display: grid; flex: 1 1 auto; line-height: 1.3; }
.day-card__foot-text strong { color: #fff; font-weight: 500; }
.day-card__foot-text small { font-size: .82rem; color: rgba(255, 255, 255, .66); }

.day-photo { position: relative; display: grid; place-items: center; padding: clamp(24px, 3vw, 40px) clamp(24px, 3vw, 40px) 88px; }
.day-photo img { width: min(100%, 360px); aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px var(--r-lg) var(--r-lg); }
.day-badge { position: absolute; top: clamp(22px, 3vw, 36px); right: clamp(22px, 3vw, 36px); display: flex; align-items: center; gap: 10px; padding: 12px 16px 12px 12px; border-radius: var(--r-md); background: #fff; color: var(--navy); box-shadow: 0 18px 36px -18px rgba(0, 0, 0, .55); }
.day-badge__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--sky-soft); }
.day-badge strong { display: block; font-size: 1.35rem; font-weight: 500; letter-spacing: -.02em; line-height: 1; }
.day-badge small { font-size: .78rem; color: var(--muted); }
.day-photo__chips { position: absolute; left: 0; right: 0; bottom: 26px; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; padding-inline: 16px; }
.day-photo__chips .glass-tag { background: rgba(255, 255, 255, .1); }

/* ---------- 5. facilities ---------- */
.fac-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 900px) { .fac-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }
.fac-card {
  --tone-bg: var(--tone-sky-bg); --tone-ink: var(--tone-sky-ink);
  position: relative; display: grid; grid-template-rows: auto 1fr auto; gap: 10px; min-height: 248px; padding: 18px; border-radius: var(--r-lg);
  background: var(--tone-bg); overflow: hidden; isolation: isolate;
  transition: translate var(--dur-2) var(--ease-out), box-shadow var(--dur-2) var(--ease-out);
}
.tone-sky { --tone-bg: var(--tone-sky-bg); --tone-ink: var(--tone-sky-ink); }
.tone-sand { --tone-bg: var(--tone-sand-bg); --tone-ink: var(--tone-sand-ink); }
.tone-sage { --tone-bg: var(--tone-sage-bg); --tone-ink: var(--tone-sage-ink); }
.tone-rose { --tone-bg: var(--tone-rose-bg); --tone-ink: var(--tone-rose-ink); }
.tone-lilac { --tone-bg: var(--tone-lilac-bg); --tone-ink: var(--tone-lilac-ink); }
.fac-card__title { font-size: 1rem; font-weight: 500; line-height: 1.3; letter-spacing: -.01em; color: var(--ink); }
.fac-card__title .accent { color: var(--tone-ink); }
.fac-card__art { display: grid; place-items: center; align-self: center; justify-self: center; width: clamp(92px, 9vw, 116px); aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .72); color: var(--navy); transition: transform .6s var(--ease-out); }
.fac-card__art .icon { width: 46%; height: 46%; stroke-width: 1.3; }
.fac-card__note { font-size: .84rem; line-height: 1.35; color: var(--body); padding-right: 40px; }
.fac-card__dot { position: absolute; right: 16px; bottom: 16px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--tone-ink); color: #fff; transition: transform var(--dur-2) var(--ease-out); }
.fac-card__photo { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.06); transition: opacity .6s var(--ease-out), transform 1s var(--ease-out); }
@media (hover: hover) {
  .fac-card:hover { translate: 0 -4px; box-shadow: var(--sh-2); }
  .fac-card:hover .fac-card__art { transform: scale(1.06) rotate(-4deg); }
  .fac-card--photo:hover .fac-card__photo { opacity: 1; transform: none; }
  .fac-card--photo:hover .fac-card__art { opacity: 0; }
  .fac-card--photo:hover .fac-card__title { color: #fff; }
  .fac-card--photo:hover .fac-card__title .accent { color: var(--sky); }
  .fac-card--photo:hover .fac-card__note { color: rgba(255, 255, 255, .9); }
  .fac-card--photo::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(10, 22, 46, .42); opacity: 0; transition: opacity .6s var(--ease-out); }
  .fac-card--photo:hover::after { opacity: 1; }
}
@media (max-width: 599.98px) { .fac-card { min-height: 214px; padding: 16px; } .fac-card__note { padding-right: 32px; } }

/* ---------- 6. furnished rooms (navy) ---------- */
.navy-block { overflow: hidden; }
.navy-block .section + .section { padding-top: 0; }
.furnished { position: relative; display: grid; gap: 22px; }
.furnished__lines { display: none; position: absolute; inset: 0; z-index: 2; overflow: visible; pointer-events: none; }
.furnished__lines path { fill: none; stroke: rgba(169, 194, 240, .7); stroke-width: 1.5; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.3s var(--ease-in-out); transition-delay: calc(var(--i, 0) * 120ms + 150ms); }
.furnished__lines circle { fill: var(--sky); }
.furnished.lines-in .furnished__lines path, .is-static .furnished__lines path { stroke-dashoffset: 0; }
.furnished__art { order: -1; width: 100%; max-width: 720px; margin-inline: auto; }
.furnished__art svg { width: 100%; height: auto; overflow: visible; }
.callouts { display: grid; gap: 10px; }
.callout { position: relative; z-index: 3; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: var(--r-md); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .13); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.callout__icon { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 12px; background: #fff; color: var(--navy); }
.callout strong { display: block; color: #fff; font-weight: 500; font-size: .98rem; line-height: 1.25; }
.callout small { display: block; font-size: .82rem; color: rgba(255, 255, 255, .68); line-height: 1.35; }
@media (min-width: 600px) and (max-width: 959.98px) { .furnished { grid-template-columns: repeat(2, minmax(0, 1fr)); } .furnished__art { grid-column: 1 / -1; } }
@media (min-width: 960px) {
  .furnished { grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr) minmax(0, 1fr); align-items: center; gap: 28px; }
  .furnished__lines { display: block; }
  .furnished__art { order: 0; }
  .callouts { gap: clamp(28px, 4vw, 56px); }
  .callouts--left .callout { margin-right: -8px; }
  .callouts--right .callout { margin-left: -8px; }
}
/* the room drawing (flat colours, no gradients) */
.r-wall { fill: #1E3E77; }
.r-floor { fill: #183464; }
.r-skirt { stroke: rgba(255, 255, 255, .14); stroke-width: 2; }
.r-rug { fill: #2A4C8B; }
.r-glass { fill: #3A5D9E; }
.r-frame { fill: none; stroke: #CFDDF7; stroke-width: 4; }
.r-line { fill: none; stroke: #CFDDF7; stroke-width: 2.5; stroke-linecap: round; }
.r-rod { stroke: #E6DACA; stroke-width: 4; stroke-linecap: round; }
.r-curtain { fill: #8EABE3; }
.r-fold { stroke: rgba(21, 48, 95, .26); stroke-width: 2; }
.r-furn { fill: #2C5398; stroke: #CFDDF7; stroke-width: 2.5; }
.r-knob { fill: #E6DACA; }
.r-wood { fill: #D6BE98; }
.r-wood-dark { fill: #C2A67C; }
.r-sheet { fill: #F3F6FC; }
.r-blanket { fill: #A9C2F0; }
.r-stripe { stroke: #7F9FDB; stroke-width: 7; }
.r-pillow { fill: #FFFFFF; }
.r-lamp-stem { stroke: #CFDDF7; stroke-width: 3; stroke-linecap: round; }
.r-lamp { fill: #E6DACA; }
.r-book1 { fill: #D98E7A; } .r-book2 { fill: #E6DACA; } .r-book3 { fill: #8EABE3; }
.r-chair-leg { stroke: #CFDDF7; stroke-width: 3; stroke-linecap: round; }
.r-plant-pot { fill: #C2A67C; }
.r-plant { fill: #86B596; }
.r-arch { fill: none; stroke: rgba(207, 221, 247, .45); stroke-width: 2; }
.r-hot circle { fill: #fff; stroke: rgba(169, 194, 240, .45); stroke-width: 9; paint-order: stroke; }
@media (max-width: 959.98px) { .r-hot { display: none; } }

/* ---------- 7. the team (navy) ---------- */
.team-grid { display: grid; gap: 14px; }
@media (min-width: 860px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.person-card { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: clamp(26px, 3vw, 38px) clamp(20px, 3vw, 34px); border-radius: var(--r-lg); background: var(--navy-3); text-align: center; }
.person-card__name { font-size: 1.3rem; letter-spacing: -.015em; }
.person-card__role { font-size: .9rem; font-weight: 500; color: var(--sky); }
.person-card__text { max-width: 38ch; margin-top: 6px; font-size: .95rem; color: rgba(255, 255, 255, .72); }
.person-card__quals { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; max-width: 460px; margin-top: 14px; }
.person-card__quals li { padding: 6px 12px; border-radius: var(--r-sm); background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .88); font-size: .82rem; line-height: 1.35; }
.person-card__photo { position: relative; width: clamp(200px, 22vw, 264px); aspect-ratio: 1; margin: 26px 0 30px; border-radius: 50%; background: var(--navy-2); padding: 10px; }
.person-card__photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.person-card__foot { display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; }
.person-card__foot-text { display: grid; flex: 1 1 auto; line-height: 1.3; }
.person-card__foot-text strong { color: #fff; font-weight: 500; }
.person-card__foot-text small { font-size: .82rem; color: rgba(255, 255, 255, .64); }
.support-strip { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 22px; }
.support-strip li { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 18px 0 8px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .8); font-size: .95rem; }
.support-strip strong { color: #fff; font-weight: 500; }
.support-strip__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; }
@media (max-width: 599.98px) { .person-card__foot, .day-card__foot { flex-wrap: wrap; } .person-card__foot .btn, .day-card__foot .btn { width: 100%; } }

/* ---------- 8. board (rail) ---------- */
.rail--board { padding-top: 6px; }
.board-card {
  position: relative; flex: 0 0 clamp(236px, 22vw, 262px); scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 10px;
  min-height: 300px; padding: 30px 20px 26px; border-radius: var(--r-lg); background: var(--sand); text-align: center; overflow: hidden; isolation: isolate;
}
.board-card__avatar { position: relative; width: 104px; height: 104px; margin-bottom: 18px; }
.board-card__avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 4px #fff; }
.board-card__name { font-size: 1.3rem; line-height: 1.15; letter-spacing: -.02em; }
.board-card__chip { margin-top: auto; display: inline-flex; align-items: center; height: 30px; padding: 0 13px; border-radius: var(--r-pill); background: rgba(21, 48, 95, .09); color: var(--navy); font-size: .82rem; font-weight: 500; }
.board-card__reveal { position: absolute; inset: 0; z-index: 2; opacity: 0; transition: opacity .55s var(--ease-out); pointer-events: none; }
.board-card__reveal img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1s var(--ease-out); }
.board-card__reveal span { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 10px 12px; border-radius: 14px; text-align: left; color: #fff; font-weight: 500; line-height: 1.25; background: rgba(12, 27, 54, .5); border: 1px solid rgba(255, 255, 255, .2); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.board-card__reveal small { display: block; font-size: .78rem; font-weight: 400; color: rgba(255, 255, 255, .8); }
@media (hover: hover) { .board-card:hover .board-card__reveal { opacity: 1; } .board-card:hover .board-card__reveal img { transform: none; } }

/* ---------- 9. house rules ---------- */
.rules-grid { display: grid; gap: 12px; }
@media (min-width: 640px) { .rules-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .rules-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
.rule { position: relative; display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--r-lg); background: var(--ivory); }
.rule__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--navy); color: #fff; }
.rule__num { position: absolute; top: 24px; right: 24px; font-family: var(--font-display); font-size: 1.05rem; color: var(--blue); letter-spacing: .02em; }
.rule h3 { margin-top: 30px; font-size: 1.2rem; line-height: 1.2; letter-spacing: -.015em; }
.rule p { font-size: .95rem; }
@media (min-width: 640px) { .rule { min-height: 220px; } }

/* ---------- 10. questions ---------- */
.faq-layout { display: grid; gap: 32px; }
@media (min-width: 960px) {
  .faq-layout { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; align-items: start; }
  .faq-layout__head { position: sticky; top: 110px; margin-bottom: 0; }
}
.faq-layout__head { justify-items: start; }
.faq-layout__head .btn { margin-top: 8px; }
.faq__item { border-bottom: 1px solid var(--line-strong); }
.faq__item:first-child { border-top: 1px solid var(--line-strong); }
.faq__item summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 76px; padding: 18px 0; cursor: pointer; list-style: none; font-size: clamp(1.06rem, 1rem + .3vw, 1.22rem); font-weight: 500; letter-spacing: -.01em; color: var(--ink); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary:focus-visible { outline-offset: 4px; }
.faq__icon { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: rgba(14, 28, 54, .06); color: var(--navy); transition: transform var(--dur-2) var(--ease-out), background-color var(--dur-2) var(--ease-out), color var(--dur-2) var(--ease-out); }
.faq__item[open] .faq__icon { transform: rotate(45deg); background: var(--navy); color: #fff; }
@media (hover: hover) { .faq__item summary:hover .faq__icon { background: rgba(14, 28, 54, .1); } .faq__item[open] summary:hover .faq__icon { background: var(--navy-2); } }
.faq__answer { padding: 0 56px 24px 0; max-width: 64ch; }
.faq__answer a { color: var(--navy); font-weight: 500; }
.faq__item::details-content { block-size: 0; overflow: hidden; transition: block-size .5s var(--ease-out), content-visibility .5s allow-discrete; }
.faq__item[open]::details-content { block-size: auto; }

/* ---------- 11. closing call to action ---------- */
.s-cta {
  position: relative; display: grid; grid-template-rows: auto 1fr auto; gap: 28px; min-height: clamp(600px, 58vw, 760px);
  padding: clamp(24px, 4vw, 52px); overflow: hidden; isolation: isolate; color: #fff;
}
.cta__media { position: absolute; inset: 0; z-index: -1; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.cta__media::after { content: ""; position: absolute; inset: 0; background: rgba(12, 27, 54, .62); }
.cta__top { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: 22px 32px; }
.cta__top h2 { max-width: 14ch; font-size: clamp(2.2rem, 1.3rem + 2.8vw, 3.6rem); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cta__widgets { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.widget { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r-lg); color: #fff; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .2); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); }
.widget small { display: block; font-size: .8rem; color: rgba(255, 255, 255, .74); }
.widget strong { display: block; font-size: 1.5rem; font-weight: 500; letter-spacing: -.02em; line-height: 1.15; }
.widget__clock { width: 60px; height: 60px; flex: none; }
.wc-face { fill: rgba(255, 255, 255, .08); stroke: rgba(255, 255, 255, .5); stroke-width: 2; }
.wc-ticks { stroke: rgba(255, 255, 255, .6); stroke-width: 2.4; stroke-linecap: round; }
.wc-hand { stroke: #fff; stroke-linecap: round; transform-box: view-box; transform-origin: 32px 32px; transition: transform 1.8s var(--ease-out) .3s; }
.wc-hand--hour { stroke-width: 3.4; transform: rotate(-60deg); }
.wc-hand--min { stroke-width: 2.4; stroke: var(--sky); transform: rotate(0deg); }
.js:not(.is-static) .widget--clock:not(.is-in) .wc-hand--hour { transform: rotate(-150deg); }
.js:not(.is-static) .widget--clock:not(.is-in) .wc-hand--min { transform: rotate(-360deg); }
.wc-pin { fill: #fff; }
.widget--rent { display: grid; gap: 8px; min-width: 240px; }
.rent-row { display: flex; align-items: baseline; justify-content: space-between; gap: 28px; padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, .16); }
.rent-row span { font-size: .92rem; color: rgba(255, 255, 255, .84); }
.rent-row strong { font-size: 1.5rem; }
.cta__steps { display: grid; gap: 10px; counter-reset: step; }
@media (min-width: 860px) { .cta__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } }
.cta__steps li { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; row-gap: 2px; align-items: start; align-content: start; padding: 18px 20px; border-radius: var(--r-lg); background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); }
.cta__step-icon { grid-row: span 2; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #fff; color: var(--navy); }
.cta__steps h3 { font-size: 1.06rem; color: #fff; }
.cta__steps p { font-size: .9rem; color: rgba(255, 255, 255, .8); }
@media (max-width: 599.98px) { .cta__actions .btn { flex: 1 1 100%; } .cta__actions .btn:has(.btn__disc) { justify-content: space-between; padding-left: 26px; } .widget--rent { min-width: 0; width: 100%; } .widget--clock { width: 100%; } }

/* ---------- 12. contact ---------- */
.contact-grid { display: grid; gap: 40px; }
@media (min-width: 1000px) { .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 56px; align-items: start; } }
.contact-info h2 { max-width: 12ch; }
.contact-list { display: grid; gap: 18px; margin-top: 32px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list small { display: block; font-size: .8rem; color: var(--muted); }
.contact-list a { font-size: 1.08rem; font-weight: 500; color: var(--ink); text-decoration: none; overflow-wrap: anywhere; }
@media (hover: hover) { .contact-list a:hover { text-decoration: underline; } }
.contact-list em { display: block; font-style: normal; font-size: .9rem; color: var(--muted); }
.map-card { margin-top: 32px; border-radius: var(--r-lg); overflow: hidden; background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); }
.map-card svg { width: 100%; height: auto; }
.map-card figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 14px 12px 18px; font-size: .82rem; color: var(--muted); }
.m-ground { fill: var(--sand); }
.m-blocks rect { fill: var(--sand-2); }
.m-road { stroke: #fff; stroke-width: 34; }
.m-label { font: 500 12.5px var(--font); fill: var(--muted); letter-spacing: .02em; }
.m-tag rect { fill: var(--navy); }
.m-tag text { font: 600 13px var(--font); fill: #fff; }
.m-pin-halo { fill: rgba(21, 48, 95, .16); }
.m-pin-dot { fill: var(--navy); stroke: #fff; stroke-width: 4; }

.enquiry { display: grid; gap: 18px; padding: clamp(22px, 3vw, 40px); border-radius: var(--r-xl); background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-2); }
.enquiry__title { font-size: var(--fs-h3); letter-spacing: -.02em; }
.enquiry__intro { margin-top: -8px; font-size: .95rem; }
.field-row { display: grid; gap: 18px; }
@media (min-width: 600px) { .field-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: 8px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field label, .field legend { font-size: .9rem; font-weight: 500; color: var(--ink); padding: 0; }
.field legend { margin-bottom: 8px; }
.field__opt { font-weight: 400; color: var(--muted); }
.field input, .field textarea {
  width: 100%; min-height: 54px; padding: 0 16px; border: 1px solid var(--line-field); border-radius: 14px; background: var(--paper);
  font-size: 1rem; color: var(--ink); transition: border-color var(--dur-1) var(--ease-out), box-shadow var(--dur-1) var(--ease-out), background-color var(--dur-1) var(--ease-out);
}
.field textarea { padding: 14px 16px; min-height: 120px; resize: vertical; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgba(21, 48, 95, .14); }
.field input:user-invalid { border-color: #B4432F; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { position: relative; }
.pill input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pill span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: var(--paper); font-size: .93rem; font-weight: 500; color: var(--ink); cursor: pointer; transition: background-color var(--dur-1) var(--ease-out), color var(--dur-1) var(--ease-out), border-color var(--dur-1) var(--ease-out); }
@media (hover: hover) { .pill:hover span { border-color: var(--navy); } }
.pill input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.pill input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 2px; }
.enquiry__note { font-size: .82rem; color: var(--muted); text-align: center; }
.enquiry__note a, .enquiry__done a { color: var(--navy); font-weight: 500; }
.enquiry__done { padding: 14px 16px; border-radius: 14px; background: var(--sky-soft); color: var(--navy); font-size: .92rem; }
.enquiry__done:focus { outline: 2px solid var(--blue); outline-offset: 2px; }

/* ---------- footer ---------- */
.site-footer { margin: var(--frame); padding: clamp(52px, 6vw, 84px) 0 28px; color: rgba(255, 255, 255, .74); }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .footer-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, .9fr) minmax(0, .9fr) minmax(0, 1.2fr); } }
.footer-brand { display: grid; justify-items: start; gap: 20px; color: #fff; }
.footer-brand__line { max-width: 26ch; font-size: 1.05rem; color: rgba(255, 255, 255, .84); }
.footer-title { font-size: 1rem; color: #fff; margin-bottom: 16px; letter-spacing: 0; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a, .footer-col address a { color: rgba(255, 255, 255, .76); text-decoration: none; overflow-wrap: anywhere; transition: color var(--dur-1) var(--ease-out); }
@media (hover: hover) { .footer-col a:hover { color: #fff; } }
.footer-col address { display: grid; gap: 12px; font-style: normal; line-height: 1.5; }
.footer-bottom { margin-top: 56px; }
.footer-board { padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .82rem; color: rgba(255, 255, 255, .62); }
.footer-bottom__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 24px; margin-top: 10px; font-size: .82rem; color: rgba(255, 255, 255, .62); }
.to-top { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: rgba(255, 255, 255, .8); text-decoration: none; }
@media (hover: hover) { .to-top:hover { color: #fff; } }

/* ---------- floating call button ---------- */
.fab {
  position: fixed; z-index: var(--z-fab); right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 10px; height: 56px; padding: 0 20px 0 18px; border-radius: var(--r-pill);
  background: var(--navy); color: #fff; font-weight: 500; text-decoration: none; box-shadow: 0 16px 36px -14px rgba(14, 28, 54, .6);
  transform: translate3d(0, 150%, 0); opacity: 0; visibility: hidden;
  transition: transform .55s var(--ease-out), opacity .35s var(--ease-out), visibility 0s linear .55s, background-color var(--dur-2) var(--ease-out);
}
.fab.is-visible { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; }
@media (hover: hover) { .fab:hover { background: var(--navy-2); } }
@media (max-width: 699.98px) { .fab { width: 56px; padding: 0; justify-content: center; } .fab span { display: none; } }

/* ---------- motion: reveals (hidden only when JavaScript runs) ---------- */
.js [data-split]:not(.is-split) { opacity: 0; }
.js [data-split] .w { display: inline-block; opacity: 0; filter: blur(10px); transform: translate3d(0, .3em, 0); transition: opacity .95s var(--ease-out), filter .95s var(--ease-out), transform 1.05s var(--ease-out); transition-delay: calc(var(--d, 0ms) + var(--i, 0) * 55ms); }
.js [data-split].is-in .w { opacity: 1; filter: none; transform: none; }
.js [data-reveal] { opacity: 0; transition: opacity .9s var(--ease-out), transform 1.05s var(--ease-out), filter .9s var(--ease-out); transition-delay: var(--d, 0ms); }
.js [data-reveal="up"] { transform: translate3d(0, 24px, 0); }
.js [data-reveal="rise"] { transform: translate3d(0, 44px, 0) scale(.985); filter: blur(6px); }
.js [data-reveal="scale"] { transform: scale(.94); filter: blur(6px); }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
/* facility cards: the staggered reveal keeps its timing, and the hover lift (translate) and shadow stay quick */
.js .fac-card { transition-property: opacity, transform, filter, translate, box-shadow; transition-duration: .9s, 1.05s, .9s, var(--dur-2), var(--dur-2); transition-timing-function: var(--ease-out); transition-delay: var(--d, 0ms), var(--d, 0ms), var(--d, 0ms), 0s, 0s; }

/* motion off (reduced motion or ?qa=1): the final state, instantly */
.is-static [data-split], .is-static [data-split] .w, .is-static [data-reveal] { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; animation: none !important; }
.is-static .hero__media img { transform: none !important; transition: none !important; }
.is-static .wc-hand { transition: none !important; }

/* failsafe: if the script never boots, everything shows after 3.2 seconds */
.js:not(.motion-on) [data-split], .js:not(.motion-on) [data-split] .w, .js:not(.motion-on) [data-reveal] { animation: fr-release .01s linear 3.2s forwards; }
@keyframes fr-release { to { opacity: 1; transform: none; filter: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-delay: 0s !important; }
  .faq__item::details-content { transition: none; }
}
.is-static .faq__item::details-content { transition: none; }

/* Windows contrast themes: keep the chosen pill and the slider visible */
@media (forced-colors: active) {
  .pill input:checked + span { forced-color-adjust: none; background: Highlight; color: HighlightText; border-color: Highlight; }
  .day-range::-webkit-slider-thumb { border: 2px solid ButtonText; }
  .day-range::-moz-range-thumb { border: 2px solid ButtonText; }
  .day-range::-webkit-slider-runnable-track { background: CanvasText; }
  .day-range::-moz-range-track { background: CanvasText; }
}

@media print {
  .site-header, .fab, .sheet, .hero__media, .cta__media { display: none !important; }
  .hero, .s-cta, .panel--navy, .panel--deep { background: #fff !important; color: #000 !important; --ink: #0E1C36; }
  .js [data-reveal], .js [data-split], .js [data-split] .w { opacity: 1 !important; transform: none !important; filter: none !important; }
}
