/* ==========================================================================
   Hotel Oaza — design tokens
   Drawn from the logo: a thin charcoal monoline wordmark (#212121) where the
   crossbar of each A is replaced by an azure pool of water (#05AFEE).
   ========================================================================== */

:root {
  /* Primitive colour */
  --c-white: #ffffff;
  --c-paper: #fbfcfc;
  --c-mist: #eff5f8;
  --c-mist-deep: #dce8ee;
  --c-ink: #212121; /* logo charcoal */
  --c-ink-2: #474c51;
  --c-muted: #62686e;
  --c-night: #17191b;
  --c-night-2: #222528;
  --c-azure: #05afee; /* logo azure — graphics only, too light for text */
  --c-azure-hi: #7fd6f7;
  --c-azure-deep: #0a8fc4; /* large display text on light (>= 3:1) */
  --c-azure-ink: #0077a8; /* small text and button fills (>= 4.5:1) */
  --c-water-1: #0b8fc4;
  --c-water-2: #06709c;
  --c-water-3: #03435d;

  /* Semantic colour */
  --bg: var(--c-paper);
  --bg-alt: var(--c-mist);
  --bg-dark: var(--c-night);
  --text: var(--c-ink);
  --text-2: var(--c-ink-2);
  --text-muted: var(--c-muted);
  --text-on-dark: #f2f5f7;
  --text-on-dark-2: #aab3ba;
  --accent: var(--c-azure);
  --accent-ink: var(--c-azure-ink);
  --accent-display: var(--c-azure-deep);
  --line: rgba(33, 33, 33, 0.12);
  --line-strong: rgba(33, 33, 33, 0.26);
  --line-on-dark: rgba(242, 245, 247, 0.14);
  --focus: var(--c-azure-ink);

  /* Typography — Cormorant Garamond for headings and big numbers; Jost, which
     echoes the logo's thin geometric letters, for small tracked labels, nav and
     buttons. Jost lacks some Macedonian letters (Љ Њ Џ), so Onest stands in. */
  --font-heading: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --font-display: "Jost", "Onest", "Futura", "Century Gothic", "Segoe UI", sans-serif;
  --font-body: "Onest", "Segoe UI", system-ui, sans-serif;

  --fs-eyebrow: 0.75rem;
  --fs-small: 0.875rem;
  --fs-body: clamp(1rem, 0.96rem + 0.2vw, 1.0625rem);
  --fs-lede: clamp(1.125rem, 1.02rem + 0.45vw, 1.3125rem);
  --fs-h3: clamp(1.6rem, 1.38rem + 0.95vw, 2.1rem);
  --fs-h2: clamp(2.3rem, 1.6rem + 2.9vw, 4.25rem);
  --fs-h1: clamp(2.8rem, 1.8rem + 4.8vw, 6.6rem);
  --fs-statement: clamp(1.8rem, 1.25rem + 2.3vw, 3.25rem);

  --fw-display: 500;
  --fw-numeral: 400;
  --lh-tight: 1.04;
  --lh-snug: 1.2;
  --lh-body: 1.65;
  --tracking-eyebrow: 0.28em;

  /* Space & layout */
  --gutter: clamp(1rem, 0.4rem + 2.6vw, 2.5rem);
  --section-y: clamp(5rem, 3.5rem + 7vw, 10rem);
  --max-w: 1400px;
  --radius-s: 2px;
  --radius-m: 6px;
  --header-h: 76px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 180ms;
  --dur-med: 480ms;
  --dur-slow: 1100ms;

  /* Crest — the azure water shape beneath each A in the logo */
  --crest: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 91 19' preserveAspectRatio='none'%3E%3Cpath d='M0 19L43 1.6Q45.5.6 48 1.6L91 19z' fill='%2305AFEE'/%3E%3C/svg%3E");
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-fast: 1ms;
    --dur-med: 1ms;
    --dur-slow: 1ms;
  }
}

/* ==========================================================================
   Base: reset, typography, primitives, header, menu, footer
   ========================================================================== */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-feature-settings: "ss01", "kern";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

/* Paper grain over everything, very quietly */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  background-image: var(--grain);
  opacity: 0.03;
  mix-blend-mode: multiply;
}

img,
video,
svg,
iframe {
  display: block;
  max-width: 100%;
}

img,
video {
  height: auto;
}

h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd,
ol,
ul {
  margin: 0;
}

ol,
ul {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button {
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

::selection {
  background: var(--c-azure-ink);
  color: var(--c-paper);
}

.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: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 200;
  padding: 0.75rem 1rem;
  background: var(--c-ink);
  color: var(--c-paper);
  font-size: var(--fs-small);
  transition: top var(--dur-fast);
}

.skip-link:focus {
  top: 12px;
}

/* ---------- Layout primitives ---------- */

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

.section {
  padding-block: var(--section-y);
  position: relative;
}

/* ---------- Type primitives ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.9em;
  font-family: var(--font-display);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--accent-ink);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 6px;
  flex: none;
  background: var(--crest) center / 100% 100% no-repeat;
}

.eyebrow--plain::before {
  display: none;
}

.display {
  font-family: var(--font-heading);
  font-weight: var(--fw-display);
  line-height: var(--lh-tight);
  letter-spacing: -0.015em;
}

.display em,
.h2 em,
.statement em {
  font-style: italic;
  font-weight: var(--fw-display);
  color: var(--accent-display);
}

.h2 {
  font-family: var(--font-heading);
  font-size: var(--fs-h2);
  font-weight: var(--fw-display);
  line-height: 1.06;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.h3 {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  font-weight: 500;
  line-height: var(--lh-snug);
  letter-spacing: -0.005em;
}

.lede {
  font-size: var(--fs-lede);
  line-height: 1.6;
  color: var(--text-2);
  text-wrap: pretty;
}

.prose p + p {
  margin-top: 1em;
}

.prose {
  color: var(--text-2);
  text-wrap: pretty;
}

/* ---------- Buttons & links ---------- */

.btn {
  --btn-bg: var(--c-ink);
  --btn-fg: var(--c-paper);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 52px;
  padding: 0 1.6rem;
  border-radius: var(--radius-s);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  overflow: hidden;
  isolation: isolate;
  transition: color var(--dur-med) var(--ease-out);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--c-azure-ink);
  transform: translateY(101%);
  transition: transform var(--dur-med) var(--ease-out);
}

.btn:hover::before,
.btn:focus-visible::before {
  transform: translateY(0);
}

.btn--accent {
  --btn-bg: var(--c-azure-ink);
}

.btn--accent::before {
  background: var(--c-ink);
}

.btn--light {
  --btn-bg: var(--c-paper);
  --btn-fg: var(--c-ink);
}

.btn--light:hover,
.btn--light:focus-visible {
  color: var(--c-paper);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--text);
  box-shadow: inset 0 0 0 1px var(--line-strong);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  color: var(--c-paper);
}

.btn__arrow {
  width: 18px;
  height: 10px;
  transition: transform var(--dur-med) var(--ease-out);
}

.btn:hover .btn__arrow {
  transform: translateX(4px);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding-block: 0.5rem;
  background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat;
  transition: background-size var(--dur-med) var(--ease-out);
}

.link-arrow:hover,
.link-arrow:focus-visible {
  background-size: 100% 1px;
}

.link-arrow svg {
  width: 18px;
  height: 10px;
  transition: transform var(--dur-med) var(--ease-out);
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

/* ---------- Brand rule (echoes the logo's "— HOTEL —") ---------- */

.brand-rule {
  --rule-bg: var(--bg);
  position: relative;
  height: 12px;
}

.brand-rule::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: var(--line-strong);
}

.brand-rule::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 96px;
  height: 12px;
  transform: translateX(-50%);
  background: var(--crest) center / 52px 11px no-repeat, var(--rule-bg);
}

.brand-rule--start::after {
  left: 0;
  transform: none;
  width: 72px;
  background-position: left center, 0 0;
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--header-h);
  transition: background-color var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out),
    transform var(--dur-med) var(--ease-out);
}

.site-header.is-scrolled {
  background: rgba(251, 252, 252, 0.88);
  backdrop-filter: saturate(1.3) blur(14px);
  -webkit-backdrop-filter: saturate(1.3) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.site-header.is-hidden {
  transform: translateY(-100%);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex: none;
}

.brand__logo {
  display: block;
  height: 30px;
  width: auto;
  color: var(--c-ink);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.2vw, 2.4rem);
}

.nav__link {
  position: relative;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding-block: 0.4rem;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--dur-med) var(--ease-out);
}

.nav__link:hover::after,
.nav__link.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.lang {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  padding: 3px;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line);
}

.lang__btn {
  min-width: 38px;
  height: 30px;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  transition: background-color var(--dur-fast), color var(--dur-fast);
}

.lang__btn[aria-pressed="true"] {
  background: var(--c-ink);
  color: var(--c-paper);
}

.header-cta {
  min-height: 44px;
  padding: 0 1.2rem;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  position: relative;
}

.menu-toggle span {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1.5px;
  background: currentColor;
  transition: transform var(--dur-med) var(--ease-out), top var(--dur-med) var(--ease-out);
}

.menu-toggle span:nth-child(1) {
  top: 17px;
}

.menu-toggle span:nth-child(2) {
  top: 26px;
}

.menu-open .menu-toggle span:nth-child(1) {
  top: 21.5px;
  transform: rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  top: 21.5px;
  transform: rotate(-45deg);
}

/* ---------- Mobile menu overlay ---------- */

.menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--header-h) + 2rem) var(--gutter) 2rem;
  background: var(--c-mist);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path 700ms var(--ease-out), visibility 0s linear 700ms;
}

.menu-open .menu {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  transition: clip-path 700ms var(--ease-out), visibility 0s;
}

.menu__list {
  display: grid;
  gap: 0.2rem;
}

.menu__link {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 10vw, 3.5rem);
  font-weight: var(--fw-display);
  line-height: 1.15;
}

.menu__link small {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--accent-ink);
}

.menu__foot {
  display: grid;
  gap: 1rem;
  font-size: var(--fs-small);
  color: var(--text-2);
}

.menu__foot a {
  font-weight: 600;
  color: var(--text);
}

body.menu-open {
  overflow: hidden;
}

@media (max-width: 1179px) {
  .nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }
}

@media (min-width: 1180px) {
  .menu {
    display: none;
  }
}

/* ---------- Mobile sticky action bar ---------- */

.action-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 45;
  display: none;
  grid-template-columns: 1fr 1.4fr;
  gap: 1px;
  background: var(--line-on-dark);
  padding-bottom: env(safe-area-inset-bottom);
  transform: translateY(110%);
  transition: transform var(--dur-med) var(--ease-out);
}

.action-bar.is-visible {
  transform: translateY(0);
}

.action-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 56px;
  background: var(--c-night);
  color: var(--text-on-dark);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.action-bar a:last-child {
  background: var(--c-azure-ink);
  color: #fff;
}

.action-bar svg {
  width: 16px;
  height: 16px;
}

@media (max-width: 760px) {
  .action-bar {
    display: grid;
  }
}

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  background: var(--c-night);
  color: var(--text-on-dark);
  overflow: hidden;
}

.site-footer a:hover {
  color: var(--c-azure-hi);
}

.footer__top {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 3rem;
  padding-block: clamp(3rem, 6vw, 4.5rem) 3rem;
}

.footer__lead {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.25rem);
  font-weight: var(--fw-display);
  line-height: 1.2;
  max-width: 18ch;
}

.footer__lead em {
  font-style: italic;
  color: var(--c-azure-hi);
}

.footer__title {
  margin-bottom: 1.1rem;
  font-family: var(--font-display);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--text-on-dark-2);
}

.footer__list {
  display: grid;
  gap: 0.55rem;
  font-size: 0.9375rem;
}

.footer__brand {
  display: flex;
  justify-content: center;
  padding-block: clamp(4.5rem, 9vw, 7rem) 0;
}

.footer__logo {
  width: min(420px, 72%);
  height: auto;
  color: var(--text-on-dark);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--line-on-dark);
  font-size: 0.8125rem;
  color: var(--text-on-dark-2);
}

@media (max-width: 900px) {
  .footer__top {
    grid-template-columns: 1fr 1fr;
  }

  .footer__lead {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .site-footer {
    padding-bottom: 56px;
  }
}

@media (max-width: 520px) {
  .footer__top {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }
}

/* ---------- Reveal on scroll (only when JS is running) ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
  transition-delay: calc(var(--d, 0) * 90ms);
}

.js [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* The mask is applied to the child image, not the observed element:
   Chrome's IntersectionObserver treats a fully clipped target as hidden. */
.js [data-reveal="mask"] {
  opacity: 1;
  transform: none;
}

.js [data-reveal="mask"] > img {
  clip-path: inset(100% 0 0 0);
  transition: clip-path 1400ms var(--ease-out), transform 1400ms var(--ease-out);
  transition-delay: calc(var(--d, 0) * 90ms);
}

.js [data-reveal="mask"].is-in > img {
  clip-path: inset(0 0 0 0);
}

@media (prefers-reduced-motion: reduce) {
  .js [data-reveal],
  .js [data-reveal="mask"],
  .js [data-reveal="mask"] > img {
    opacity: 1;
    transform: none;
    clip-path: none;
    transition: none;
  }
}

/* ==========================================================================
   Sections: hero, intro, rooms, dining, events, aquabella, location, contact
   ========================================================================== */

/* ---------- Shared media ---------- */

.media {
  position: relative;
  overflow: hidden;
  background: var(--c-mist-deep);
}

.media img,
.media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.arch {
  border-radius: 999px 999px 0 0;
}

.section-head {
  display: grid;
  gap: 1.4rem;
  max-width: 62rem;
  margin-bottom: clamp(3rem, 6vw, 5.5rem);
}

.section-head .lede {
  max-width: 40rem;
}


/* ---------- Hero ---------- */

.hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(1.5rem, 4vh, 3.5rem));
  padding-bottom: clamp(2rem, 4vw, 3rem);
  background: radial-gradient(110% 80% at 88% 8%, #e6f4fa 0%, rgba(230, 244, 250, 0) 58%), var(--bg);
}

.hero__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gutter);
  align-items: center;
}

.hero__copy {
  grid-column: 1 / span 6;
  position: relative;
  z-index: 2;
  padding-block: 2rem;
}

.hero__meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: clamp(1.5rem, 3vh, 2.4rem);
}

.stars {
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  color: var(--accent);
}

.hero__title {
  font-size: var(--fs-h1);
  margin-left: -0.04em;
}

.hero__title .line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;
  margin-bottom: -0.06em;
}

.hero__title .line > span {
  display: inline-block;
}

.js .hero__title .line > span {
  transform: translateY(105%);
  animation: rise 1300ms var(--ease-out) forwards;
}

.js .hero__title .line:nth-child(2) > span {
  animation-delay: 110ms;
}

.js .hero__title .line:nth-child(3) > span {
  animation-delay: 220ms;
}

@keyframes rise {
  to {
    transform: translateY(0);
  }
}

.hero__lede {
  max-width: 34rem;
  margin-top: clamp(1.5rem, 3vh, 2.2rem);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem 2rem;
  margin-top: clamp(1.8rem, 4vh, 2.8rem);
}

.js .hero__fade {
  opacity: 0;
  animation: fadeUp 1200ms var(--ease-out) forwards;
  animation-delay: 520ms;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero__visual {
  grid-column: 7 / -1;
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.hero__stage {
  position: relative;
  width: min(100%, 56vh, 560px);
}

.hero__arch {
  width: 100%;
  aspect-ratio: 4 / 5.1;
  box-shadow: 0 40px 80px -40px rgba(8, 40, 56, 0.4);
}

.hero__arch img,
.hero__arch video {
  object-position: 58% 40%;
  transform: scale(1.12);
  will-change: transform;
}

.js .hero__arch {
  clip-path: inset(100% 0 0 0 round 999px 999px 0 0);
  animation: archIn 1600ms var(--ease-out) 150ms forwards;
}

@keyframes archIn {
  to {
    clip-path: inset(0 0 0 0 round 999px 999px 0 0);
  }
}

.hero__inset {
  position: absolute;
  left: -34%;
  bottom: clamp(-2.5rem, -3vw, -1rem);
  width: clamp(170px, 46%, 250px);
  padding: 8px 8px 0;
  background: var(--c-paper);
  box-shadow: 0 30px 60px -30px rgba(8, 30, 42, 0.45);
  z-index: 3;
}

.hero__inset img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.hero__inset figcaption {
  padding: 0.6rem 0.2rem 0.7rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.js .hero__inset {
  opacity: 0;
  animation: fadeUp 1200ms var(--ease-out) 900ms forwards;
}

.hero__badge {
  position: absolute;
  top: 16%;
  left: -62px;
  width: 124px;
  height: 124px;
  z-index: 3;
  border-radius: 50%;
  background: var(--c-paper);
  box-shadow: 0 18px 40px -20px rgba(8, 40, 56, 0.4);
}

.js .hero__badge {
  opacity: 0;
  animation: fadeUp 1200ms var(--ease-out) 1100ms forwards;
}

.hero__badge-ring {
  width: 100%;
  height: 100%;
  animation: spin 28s linear infinite;
  color: var(--c-ink);
}

.hero__badge-ring text {
  font-family: var(--font-body);
  font-family: var(--font-display);
  font-size: 9.4px;
  font-weight: 500;
  letter-spacing: 3.1px;
  text-transform: uppercase;
  fill: currentColor;
}

.hero__badge-core {
  position: absolute;
  inset: 31% 33% 33%;
  background: url("../img/mark.svg") center / contain no-repeat;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__badge-ring,
  .js .hero__title .line > span,
  .js .hero__fade,
  .js .hero__arch,
  .js .hero__inset,
  .js .hero__badge {
    animation: none;
    opacity: 1;
    clip-path: none;
  }

  .js .hero__title .line > span {
    transform: none;
  }
}


/* ---------- Booking bar ---------- */

.booking {
  position: relative;
  z-index: 4;
  margin-top: clamp(3.5rem, 7vh, 5.5rem);
}

.booking__inner {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  align-items: stretch;
  background: var(--c-paper);
  border-top: 1px solid var(--line-strong);
  border-bottom: 1px solid var(--line);
}

.booking__field {
  display: grid;
  align-content: center;
  gap: 0.2rem;
  padding: 1.1rem 1.5rem;
  border-right: 1px solid var(--line);
  cursor: text;
  min-width: 0;
}

.booking__field:first-child {
  padding-left: 0;
}

.booking__label {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.booking__input {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  border: 0;
  padding: 0;
  background: transparent;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--text);
  appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
}

.booking__input:focus {
  outline: none;
}

.booking__field:focus-within {
  background: var(--c-mist);
}

.booking__input:invalid::-webkit-datetime-edit {
  color: var(--text-muted);
  opacity: 0.7;
}

.booking__input::-webkit-calendar-picker-indicator {
  opacity: 0.5;
  cursor: pointer;
}

.booking__submit {
  min-height: 84px;
  padding-inline: 2.2rem;
  border-radius: 0;
}

.booking__note {
  margin-top: 0.8rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}


/* ---------- Intro ---------- */

.intro__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--gutter);
  row-gap: 2.5rem;
}

.intro__grid > .eyebrow {
  grid-column: 1 / -1;
}

.statement {
  grid-column: 1 / span 8;
  font-family: var(--font-heading);
  font-size: var(--fs-statement);
  font-weight: var(--fw-display);
  line-height: 1.26;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}

.intro__side {
  grid-column: 9 / -1;
  align-self: end;
  font-size: 1rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: clamp(4rem, 8vw, 7rem);
  border-top: 1px solid var(--line-strong);
}

.stat {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 0.6rem;
  padding: 1.8rem 1.4rem 0 0;
}

.stat + .stat {
  padding-left: 1.4rem;
  border-left: 1px solid var(--line);
}

.stat dd {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 1.6rem + 3vw, 4.75rem);
  font-weight: var(--fw-numeral);
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: lining-nums tabular-nums;
  font-variant-numeric: lining-nums;
}

.stat dd sup {
  font-size: 0.36em;
  vertical-align: 1.25em;
  margin-left: 0.1em;
  letter-spacing: 0;
}

.stat dt {
  font-size: 0.8125rem;
  color: var(--text-muted);
  max-width: 14ch;
  line-height: 1.4;
}

.rule-divider {
  margin-top: clamp(4rem, 8vw, 7rem);
}


/* ---------- Rooms ---------- */

.rooms {
  background: var(--bg-alt);
}

.rooms__body {
  display: grid;
  grid-template-columns: minmax(260px, 4fr) 8fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.rooms__side {
  display: grid;
  gap: clamp(2.5rem, 4vw, 3.5rem);
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}

.rooms__tabs {
  display: grid;
  border-top: 1px solid var(--line-strong);
}

.room-tab {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  align-items: baseline;
  row-gap: 0.25rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  color: var(--text-muted);
  transition: color var(--dur-med) var(--ease-out);
}

.room-tab:hover,
.room-tab[aria-selected="true"] {
  color: var(--text);
}

.room-tab__no {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent-ink);
}

.room-tab__name {
  font-family: var(--font-heading);
  font-size: clamp(1.55rem, 1.15rem + 1.15vw, 2.25rem);
  font-weight: var(--fw-display);
  line-height: 1.1;
  transition: transform var(--dur-med) var(--ease-out);
}

.room-tab[aria-selected="true"] .room-tab__name {
  font-weight: 600;
  transform: translateX(0.35rem);
}

.room-tab__count {
  grid-column: 2;
  font-size: 0.8125rem;
}

.room-tab__bar {
  grid-column: 1 / -1;
  height: 1px;
  margin-top: 1rem;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
}

.room-tab[aria-selected="true"] .room-tab__bar {
  animation: tabProgress var(--room-cycle, 7000ms) linear forwards;
}

.rooms__body.is-paused .room-tab__bar {
  animation-play-state: paused;
}

.rooms__body.is-manual .room-tab .room-tab__bar {
  animation: none;
  transition: transform 700ms var(--ease-out);
}

.rooms__body.is-manual .room-tab[aria-selected="true"] .room-tab__bar {
  transform: scaleX(1);
}

@keyframes tabProgress {
  to {
    transform: scaleX(1);
  }
}

.rooms__stage {
  display: grid;
}

.room {
  grid-area: 1 / 1;
  display: grid;
  gap: 2rem;
}

.room__media {
  aspect-ratio: 3 / 2;
}

.room__media img {
  transition: transform 1600ms var(--ease-out);
}

.room__body {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.5rem 3rem;
}

.room__head {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 2rem;
}

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

.room__meta {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-ink);
}

.room__desc {
  color: var(--text-2);
}

.room__features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 1.25rem;
  font-size: 0.875rem;
  color: var(--text-2);
  align-content: start;
}

.room__features li {
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
}

.room__features li::before {
  content: "";
  flex: none;
  width: 10px;
  height: 7px;
  transform: translateY(-1px);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background: var(--accent);
}

.room__cta {
  grid-column: 1 / -1;
  justify-self: start;
}


/* ---------- Room photo frame + key tag ---------- */

.room__frame {
  --fo: clamp(10px, 1.4vw, 20px);
  position: relative;
  isolation: isolate;
}

/* hairline echo, up and to the left */
.room__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border: 1px solid rgba(10, 143, 196, 0.45);
  transform: translate(calc(var(--fo) * -1), calc(var(--fo) * -1));
}

/* gallery hairline inside the photo */
.room__media::after {
  content: "";
  position: absolute;
  inset: clamp(10px, 1.2vw, 16px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  pointer-events: none;
}

/* Hotel key fob hooked over the top edge of the photo */
.room__key {
  position: absolute;
  top: -12px;
  right: clamp(28px, 6%, 72px);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform-origin: 50% 12px;
  filter: drop-shadow(0 12px 14px rgba(8, 40, 56, 0.35));
  pointer-events: none;
}

.room__key-ring {
  position: relative;
  z-index: 1;
  width: 24px;
  height: 24px;
  border: 3px solid #7d8a93;
  border-radius: 50%;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.35), 0 2px 3px rgba(8, 40, 56, 0.35);
}

.room__key-tag {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.3rem;
  width: 52px;
  height: 112px;
  margin-top: -19px;
  padding-bottom: 16px;
  border-radius: 26px 26px 26px 26px / 26px 26px 34px 34px;
  background: radial-gradient(90% 45% at 30% 0%, rgba(160, 228, 252, 0.6), transparent 70%),
    linear-gradient(170deg, var(--c-water-1), var(--c-water-3));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  -webkit-mask: radial-gradient(circle at 50% 14px, transparent 5px, #000 5.5px);
  mask: radial-gradient(circle at 50% 14px, transparent 5px, #000 5.5px);
  color: #fff;
}

.room__key-no {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.01em;
  font-variant-numeric: lining-nums;
}

.room__key-brand {
  font-size: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.85;
}

.room.is-active .room__key {
  animation: keySwing 1900ms var(--ease-out) both;
}

.room__frame:hover .room__key {
  animation: keyNudge 1400ms var(--ease-out);
}

@keyframes keySwing {
  0% {
    rotate: 18deg;
  }
  28% {
    rotate: -10deg;
  }
  52% {
    rotate: 6deg;
  }
  74% {
    rotate: -2.5deg;
  }
  100% {
    rotate: 0deg;
  }
}

@keyframes keyNudge {
  0%,
  100% {
    rotate: 0deg;
  }
  25% {
    rotate: 7deg;
  }
  55% {
    rotate: -4deg;
  }
  80% {
    rotate: 1.5deg;
  }
}

@media (prefers-reduced-motion: reduce) {
  .room.is-active .room__key,
  .room__frame:hover .room__key {
    animation: none;
  }
}


/* ---------- Door hanger: practical notes under the tabs ---------- */

.hanger {
  --hole: 22px;
  --hole-y: 42px;
  position: relative;
  width: min(100%, 220px);
  margin-left: 2.4rem;
  padding: calc(var(--hole-y) + var(--hole) + 1.2rem) 1.5rem 1.5rem;
  background: var(--c-white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 34px 50px -34px rgba(8, 40, 56, 0.42), 0 1px 3px rgba(8, 40, 56, 0.06);
  overflow: hidden;
  rotate: -3deg;
  transition: rotate 900ms var(--ease-out);
}

.hanger:hover {
  rotate: -1deg;
}

/* the hole and its slit, cut back to the section colour */
.hanger::before,
.hanger::after {
  content: "";
  position: absolute;
  background: var(--bg-alt);
}

.hanger::before {
  top: calc(var(--hole-y) - var(--hole));
  left: calc(50% - var(--hole));
  width: calc(var(--hole) * 2);
  height: calc(var(--hole) * 2);
  border-radius: 50%;
  box-shadow: inset 0 2px 4px rgba(8, 40, 56, 0.16);
}

.hanger::after {
  top: calc(var(--hole-y) - 2px);
  left: 50%;
  width: calc(50% + 14px);
  height: 4px;
  transform-origin: 0 50%;
  rotate: 24deg;
  box-shadow: inset 0 1px 1px rgba(8, 40, 56, 0.12);
}

.hanger__title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 500;
  font-style: italic;
  line-height: 1.2;
  padding-bottom: 0.8rem;
  border-bottom: 1px dashed rgba(0, 119, 168, 0.4);
}

.hanger__list > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
}

.hanger__list dt {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.hanger__list dd {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1;
  font-variant-numeric: lining-nums;
}

.hanger__note {
  margin-top: 0.8rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Desktop: tabbed stage with crossfade */
@media (min-width: 901px) {
  .js .room {
    opacity: 0;
    visibility: hidden;
    transition: opacity 700ms var(--ease-out), visibility 0s linear 700ms;
  }

  .js .room.is-active {
    opacity: 1;
    visibility: visible;
    transition: opacity 700ms var(--ease-out), visibility 0s;
  }

  .js .room .room__media img {
    transform: scale(1.06);
  }

  .js .room.is-active .room__media img {
    transform: scale(1);
  }
}

/* Mobile: all rooms as a swipeable rail */
@media (max-width: 900px) {
  .rooms__body {
    grid-template-columns: 1fr;
  }

  .rooms__tabs {
    display: none;
  }

  /* only the door hanger remains; it follows the room rail */
  .rooms__side {
    position: static;
    order: 1;
    justify-items: center;
  }

  .hanger {
    margin-left: 0;
  }

  .rooms__stage {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: calc(var(--gutter) + 12px) var(--gutter);
    padding-top: 22px;
    padding-bottom: 1rem;
    scrollbar-width: none;
  }

  .rooms__stage::-webkit-scrollbar {
    display: none;
  }

  .room {
    flex: 0 0 min(86%, 440px);
    scroll-snap-align: center;
    gap: 1.25rem;
  }

  .room__media {
    aspect-ratio: 4 / 3;
  }

  .room__body {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .room__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .room__features {
    grid-template-columns: 1fr;
  }
}

.amenities {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  row-gap: 1rem;
  margin-top: clamp(4rem, 7vw, 6rem);
}

.amenity {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0 1rem 1.6rem 0;
  font-size: 0.875rem;
  color: var(--text-2);
}

/* each item carries its own run of the line, so wrapped rows stay joined */
.amenity::before {
  content: "";
  position: absolute;
  top: 27px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line-strong);
}

.amenity svg {
  position: relative;
  width: 54px;
  height: 54px;
  padding: 14px;
  border: 1px solid rgba(0, 119, 168, 0.4);
  border-radius: 50%;
  background: var(--c-white);
  box-shadow: 0 0 0 7px var(--bg-alt);
  color: var(--accent-ink);
  stroke-width: 1.3;
  transition: background-color var(--dur-med) var(--ease-out), color var(--dur-med) var(--ease-out), border-color var(--dur-med);
}

.amenity:hover svg {
  background: var(--accent-ink);
  border-color: var(--accent-ink);
  color: #fff;
}


/* ---------- Dining (dark) ---------- */

.section--dark {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}

.section--dark .eyebrow {
  color: var(--c-azure-hi);
}

.section--dark .h2 em {
  color: var(--c-azure-hi);
}

.section--dark .prose {
  color: var(--text-on-dark-2);
}

.dining__grid {
  display: grid;
  grid-template-columns: 5fr 6fr;
  gap: clamp(3rem, 7vw, 7rem);
  align-items: center;
}

.dining__media {
  aspect-ratio: 4 / 5;
  background: var(--c-night-2);
}

.dining__media img {
  object-position: 42% 50%;
}

.dining__copy {
  display: grid;
  gap: 1.8rem;
}

.motto {
  position: relative;
  padding: 1.8rem 0 0;
  border-top: 1px solid var(--line-on-dark);
}

.motto p {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.4rem);
  font-style: italic;
  font-weight: var(--fw-display);
  line-height: 1.25;
}

.motto cite {
  display: block;
  margin-top: 0.8rem;
  font-size: 0.8125rem;
  font-style: normal;
  color: var(--text-on-dark-2);
}

.dining__list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--line-on-dark);
}

.dining__list li {
  display: grid;
  gap: 0.3rem;
  padding: 1.2rem 1.2rem 1.2rem 0;
  border-bottom: 1px solid var(--line-on-dark);
}

.dining__list li:nth-child(odd) {
  border-right: 1px solid var(--line-on-dark);
}

.dining__list li:nth-child(even) {
  padding-left: 1.2rem;
}

.dining__list strong {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
}

.dining__list span {
  font-size: 0.875rem;
  color: var(--text-on-dark-2);
}


/* ---------- Events ---------- */

.events__cards {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
}

.event-card {
  display: grid;
  gap: 1.4rem;
}

.event-card {
  gap: clamp(1.8rem, 3vw, 2.6rem);
}

/* Seminar card reads text-first on wide screens, so the column has no empty
   band above its photo and the two cards zig-zag. */
.event-card--sem {
  margin-top: clamp(1.5rem, 4vw, 4.5rem);
}

.event-card--sem .event-card__text {
  order: -1;
}

.event-card__media {
  aspect-ratio: 3 / 2;
}

.event-card--wed .event-card__media {
  aspect-ratio: 6 / 5;
}

.event-card--wed .event-card__media img {
  object-position: 38% 50%;
}

.event-card--sem .event-card__media {
  aspect-ratio: 1 / 1;
}

.event-card--sem .event-card__media img {
  object-position: 62% 50%;
}

.event-card__media img {
  transition: transform 1400ms var(--ease-out);
}


/* ---------- Frames ---------- */

.frame {
  --fo: clamp(10px, 1.4vw, 20px); /* frame offset */
  position: relative;
  isolation: isolate;
}

/* Arched doorway with a hairline echo set up and to the right,
   and the logo's water crest as its keystone. */
.frame--arch .media {
  border-radius: 50% 50% 0 0 / 30% 30% 0 0;
  box-shadow: 0 40px 80px -44px rgba(8, 40, 56, 0.45);
}

.frame--arch::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border: 1px solid rgba(10, 143, 196, 0.45);
  border-radius: 50% 50% 0 0 / 30% 30% 0 0;
  transform: translate(var(--fo), calc(var(--fo) * -1));
}

.frame--arch::after {
  content: "";
  position: absolute;
  top: calc(var(--fo) * -1 - 11px);
  left: calc(50% + var(--fo));
  width: 44px;
  height: 9px;
  translate: -50% 0;
  background: var(--crest) center / 100% 100% no-repeat;
}

/* Tinted plate offset behind the photo, with photographer's crop marks. */
.frame--marks::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(150deg, #e3f2f9 0%, #d3e7f0 100%);
  transform: translate(calc(var(--fo) * -1.4), calc(var(--fo) * 1.4));
}

.frame--marks::after {
  --m: 22px; /* mark length */
  --t: 1px;
  --c: var(--c-ink);
  content: "";
  position: absolute;
  inset: calc(var(--fo) * -0.9);
  pointer-events: none;
  opacity: 0.55;
  background:
    linear-gradient(var(--c) 0 0) top left / var(--m) var(--t),
    linear-gradient(var(--c) 0 0) top left / var(--t) var(--m),
    linear-gradient(var(--c) 0 0) top right / var(--m) var(--t),
    linear-gradient(var(--c) 0 0) top right / var(--t) var(--m),
    linear-gradient(var(--c) 0 0) bottom left / var(--m) var(--t),
    linear-gradient(var(--c) 0 0) bottom left / var(--t) var(--m),
    linear-gradient(var(--c) 0 0) bottom right / var(--m) var(--t),
    linear-gradient(var(--c) 0 0) bottom right / var(--t) var(--m);
  background-repeat: no-repeat;
}

.event-card__kicker {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  margin-bottom: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-ink);
}

.event-card__num {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 2rem + 1.8vw, 3.6rem);
  font-weight: var(--fw-numeral);
  line-height: 0.8;
  letter-spacing: -0.02em;
  color: var(--accent-display);
  font-variant-numeric: lining-nums;
}

.event-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.event-card__tags li {
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 0.8125rem;
  color: var(--text-2);
  transition: border-color var(--dur-fast), color var(--dur-fast), background-color var(--dur-fast);
}

.event-card:hover .event-card__tags li {
  border-color: rgba(0, 119, 168, 0.45);
}

.event-card:hover .event-card__media img {
  transform: scale(1.035);
}

.event-card__note {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  padding: 0.3rem 0.6rem;
  background: rgba(251, 252, 252, 0.9);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.event-card__text {
  display: grid;
  gap: 0.6rem;
  max-width: 34rem;
}

.halls {
  margin-top: clamp(4rem, 8vw, 7rem);
}

.halls__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.halls__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-strong);
}

.hall {
  display: grid;
  gap: 1rem;
  align-content: start;
  padding: 2rem 2rem 0 0;
}

.hall + .hall {
  padding-left: 2rem;
  border-left: 1px solid var(--line);
}

.hall__name {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-ink);
}

.hall__cap {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  font-family: var(--font-heading);
  font-size: clamp(3rem, 2rem + 3.5vw, 5.5rem);
  font-weight: var(--fw-numeral);
  line-height: 1;
  letter-spacing: -0.03em;
  font-variant-numeric: lining-nums;
}

.hall__cap small {
  font-family: var(--font-body);
  font-size: 0.875rem;
  letter-spacing: 0;
  color: var(--text-muted);
}

.hall__bar {
  height: 4px;
  background: var(--c-mist-deep);
  position: relative;
  overflow: hidden;
}

.hall__bar::after {
  content: "";
  position: absolute;
  inset: 0;
  width: var(--w);
  background: var(--accent);
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 1600ms var(--ease-out) 200ms;
}

.hall.is-in .hall__bar::after,
.no-js .hall__bar::after {
  transform: scaleX(1);
}

.hall__uses {
  font-size: 0.9375rem;
  color: var(--text-2);
}


/* ---------- AquaBella ---------- */

.aqua {
  position: relative;
  overflow: hidden;
  color: #f3fbf8;
  background: linear-gradient(165deg, var(--c-water-1) 0%, var(--c-water-2) 42%, var(--c-water-3) 100%);
  isolation: isolate;
}

.aqua__water {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

/* Lane floor markings, very faint */
.aqua__water::before {
  content: "";
  position: absolute;
  inset: 0;
  --lane: 200px;
  background: repeating-linear-gradient(
    180deg,
    transparent 0 calc(var(--lane) / 2 - 6px),
    rgba(2, 38, 54, 0.18) calc(var(--lane) / 2 - 6px) calc(var(--lane) / 2 + 6px),
    transparent calc(var(--lane) / 2 + 6px) var(--lane)
  );
}

/* Sunlight at the surface */
.aqua__water::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 50% at 15% 0%, rgba(160, 228, 252, 0.3), transparent 70%),
    radial-gradient(55% 70% at 22% 60%, rgba(2, 40, 58, 0.35), transparent 70%),
    radial-gradient(50% 60% at 100% 100%, rgba(1, 22, 33, 0.5), transparent 70%);
}

/* Caustic light: a seamless turbulence tile thresholded into thin bright filaments */
.aqua__caustics {
  position: absolute;
  inset: -480px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='480' height='480'%3E%3Cfilter id='c' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='turbulence' baseFrequency='.0125' numOctaves='2' seed='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 -7 0 0 0 1.25'/%3E%3C/filter%3E%3Crect width='480' height='480' filter='url(%23c)'/%3E%3C/svg%3E");
  background-size: 480px 480px;
  opacity: 0.2;
  animation: drift 46s linear infinite;
}

.aqua__caustics--b {
  opacity: 0.12;
  background-size: 720px 720px;
  animation-duration: 70s;
  animation-direction: reverse;
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(-480px, 240px, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .aqua__caustics {
    animation: none;
  }
}

/* Lane ropes in house colours */
.aqua__rope {
  position: absolute;
  left: 0;
  right: 0;
  height: 5px;
  background: repeating-linear-gradient(90deg, #ffffff 0 12px, var(--c-ink) 12px 24px);
  opacity: 0.75;
  box-shadow: 0 6px 10px rgba(1, 25, 38, 0.3);
}

.aqua__grid {
  position: relative;
  display: grid;
  grid-template-columns: 6fr 5fr;
  gap: clamp(3rem, 6vw, 6rem);
  align-items: center;
  padding-block: var(--section-y);
}

.aqua .eyebrow {
  color: #d4f2fd;
}

.aqua .eyebrow::before {
  filter: brightness(0) invert(1);
}

.aqua .h2 em {
  color: #bdeeff;
}

.aqua .prose {
  color: rgba(243, 251, 248, 0.9);
  max-width: 36rem;
}

.aqua__copy {
  display: grid;
  gap: 1.6rem;
}

.aqua__card {
  background: var(--c-paper);
  color: var(--text);
  padding: clamp(1.6rem, 3vw, 2.6rem);
  box-shadow: 0 50px 90px -40px rgba(1, 25, 38, 0.65);
}

.aqua__card .h3 {
  margin-bottom: 1.2rem;
}

.aqua__facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--line-strong);
}

.aqua__fact {
  display: flex;
  flex-direction: column-reverse;
  justify-content: flex-end;
  gap: 0.35rem;
  padding: 1.1rem 0.8rem 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

.aqua__fact:nth-child(even) {
  padding-left: 1.1rem;
  border-left: 1px solid var(--line);
}

.aqua__fact dd {
  font-family: var(--font-heading);
  font-size: 2.15rem;
  font-weight: var(--fw-numeral);
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: lining-nums;
}

.aqua__fact dt {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.aqua__small {
  margin-top: 1.2rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}


/* ---------- Location ---------- */

.location__top {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: end;
}

.location__copy {
  position: relative;
  display: grid;
  gap: 1.6rem;
  align-self: stretch;
  align-content: end;
}

/* Contour sketch of Isar hill filling the space above the copy */
.location__hill {
  position: relative;
  width: min(100%, 560px);
  aspect-ratio: 600 / 420;
  margin-bottom: auto;
  margin-left: -4%;
}

.location__hill svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.location__hill-label {
  position: absolute;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
}

.location__hill-label--peak {
  left: calc(41.7% + 18px);
  top: 41.7%;
  translate: 0 -50%;
  color: var(--accent-ink);
}

.location__hill-label--river {
  left: 70%;
  top: 86%;
  rotate: -7deg;
  font-style: italic;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}


/* ---------- Postcard frame (Štip photo) ---------- */

.postcard {
  --mat: clamp(10px, 1.3vw, 18px);
  position: relative;
  isolation: isolate;
  padding: var(--mat) var(--mat) 0;
}

/* Both card layers are pseudo-elements: inside the isolated stacking context,
   negative-z children paint above the element's own background. */
.postcard::before,
.postcard::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border: 1px solid var(--line);
}

/* a second card peeking out from underneath */
.postcard::before {
  background: var(--c-mist);
  transform: rotate(-2.4deg) translate(-1.5%, 1%);
  box-shadow: 0 30px 60px -40px rgba(8, 40, 56, 0.35);
}

/* the white mat of the front card */
.postcard::after {
  background: var(--c-white);
  box-shadow: 0 50px 90px -50px rgba(8, 40, 56, 0.5), 0 2px 8px rgba(8, 40, 56, 0.05);
}

.location__media {
  aspect-ratio: 6 / 5;
}

.location__media img {
  object-position: 50% 45%;
}

.postcard__caption {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.4rem 1.5rem;
  padding: 1rem 0.2rem 1.1rem;
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 0.95rem + 0.5vw, 1.35rem);
  font-weight: 500;
  font-style: italic;
  color: var(--text);
}

.postcard__coords {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}

/* Postage stamp with perforated edge */
.postcard__stamp {
  position: absolute;
  top: calc(var(--mat) + clamp(10px, 1.4vw, 20px));
  right: calc(var(--mat) + clamp(10px, 1.4vw, 20px));
  width: 80px;
  height: 96px;
  padding: 7px;
  background: var(--c-white);
  filter: drop-shadow(0 4px 8px rgba(8, 40, 56, 0.28));
  -webkit-mask: linear-gradient(#000 0 0) center / calc(100% - 8px) calc(100% - 8px) no-repeat,
    radial-gradient(circle at 4px 4px, transparent 2.4px, #000 2.9px) -4px -4px / 8px 8px;
  mask: linear-gradient(#000 0 0) center / calc(100% - 8px) calc(100% - 8px) no-repeat,
    radial-gradient(circle at 4px 4px, transparent 2.4px, #000 2.9px) -4px -4px / 8px 8px;
  rotate: 3deg;
}

.postcard__stamp-art {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  background: radial-gradient(90% 60% at 30% 0%, rgba(160, 228, 252, 0.55), transparent 70%),
    linear-gradient(170deg, var(--c-water-1), var(--c-water-3));
}

.postcard__stamp-mark {
  position: absolute;
  inset: 26% 22% 22%;
  background: url("../img/mark.svg") center / contain no-repeat;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

.postcard__stamp-val {
  position: absolute;
  top: 5px;
  left: 6px;
  font-family: var(--font-display);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #fff;
}

/* Cancellation mark: waves over the sky, ring over the stamp */
.postcard__postmark {
  position: absolute;
  top: calc(var(--mat) + clamp(52px, 5.6vw, 80px));
  right: calc(var(--mat) + clamp(44px, 4.8vw, 68px));
  width: clamp(190px, 20vw, 260px);
  height: auto;
  color: #1f2a31;
  opacity: 0.62;
  rotate: -9deg;
  pointer-events: none;
}

.postcard__pm-ring {
  font-family: var(--font-display);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  fill: currentColor;
}

.postcard__pm-core {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 1px;
  fill: currentColor;
}


/* ---------- Landmarks: a walking trail ---------- */

.landmarks {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin-top: clamp(4.5rem, 8vw, 7rem);
  counter-reset: lm;
}

/* dashed footpath through the numbered stops */
.landmarks::before {
  content: "";
  position: absolute;
  top: 19px;
  left: 0;
  right: 0;
  height: 2px;
  background: repeating-linear-gradient(90deg, var(--accent) 0 7px, transparent 7px 15px);
  opacity: 0.55;
  -webkit-mask: linear-gradient(90deg, #000 85%, transparent);
  mask: linear-gradient(90deg, #000 85%, transparent);
}

.landmark {
  display: grid;
  gap: 0.7rem;
  align-content: start;
  padding: 0 1.6rem 1.8rem 0;
  counter-increment: lm;
}

.landmark::before {
  content: counter(lm, decimal-leading-zero);
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 0.8rem;
  border: 1px solid rgba(0, 119, 168, 0.5);
  border-radius: 50%;
  background: var(--bg);
  box-shadow: 0 0 0 6px var(--bg);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--accent-ink);
  transition: background-color var(--dur-med) var(--ease-out), color var(--dur-med) var(--ease-out), border-color var(--dur-med);
}

.landmark:hover::before {
  background: var(--accent-ink);
  border-color: var(--accent-ink);
  color: #fff;
}

.landmark h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.15;
}

.landmark p {
  font-size: 0.9rem;
  color: var(--text-2);
}

.location__bottom {
  display: grid;
  grid-template-columns: 8fr 4fr;
  gap: var(--gutter);
  margin-top: clamp(3.5rem, 7vw, 6rem);
}

.map {
  position: relative;
  min-height: 420px;
  background: var(--c-mist-deep);
  overflow: hidden;
}

.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) sepia(0.28) contrast(1.02) brightness(1.02);
}

.map__pin {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.9rem;
  background: var(--c-paper);
  font-size: 0.8125rem;
  font-weight: 600;
  box-shadow: 0 10px 30px -12px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.map__pin::before {
  content: "";
  width: 22px;
  height: 6px;
  background: var(--crest) center / 100% 100% no-repeat;
}

.getting {
  display: grid;
  align-content: start;
  gap: 1.4rem;
  padding: clamp(1.6rem, 3vw, 2.4rem);
  background: var(--bg-alt);
}

.getting dl {
  display: grid;
  gap: 1.1rem;
}

.getting dt {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.getting dd {
  margin-top: 0.25rem;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  line-height: 1.3;
  font-weight: 500;
  font-variant-numeric: lining-nums;
}


/* ---------- Contact ---------- */

.contact {
  background: var(--bg-alt);
}

.contact__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(3rem, 7vw, 7rem);
  align-items: start;
}

.contact__intro {
  display: grid;
  gap: 1.6rem;
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}

.contact__details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.5rem 2rem;
  margin-top: 1rem;
  padding-top: 1.8rem;
  border-top: 1px solid var(--line-strong);
}

/* the reception line is long; give it the full row */
.contact__details > div:first-child {
  grid-column: 1 / -1;
}

.contact__details dt {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.contact__details dd {
  margin-top: 0.3rem;
  font-family: var(--font-heading);
  font-size: 1.45rem;
  line-height: 1.35;
  font-weight: 500;
  font-variant-numeric: lining-nums;
}

.contact__details a {
  background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat;
  transition: background-size var(--dur-med) var(--ease-out);
}

.contact__details a:hover {
  background-size: 100% 1px;
}

.form {
  container-type: inline-size;
  display: grid;
  gap: 1.1rem;
  padding: clamp(1.4rem, 3vw, 2.6rem);
  background: var(--c-paper);
  box-shadow: 0 40px 80px -50px rgba(8, 40, 56, 0.3);
}

.form__title {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  font-weight: 500;
  line-height: 1.1;
}

.field {
  display: grid;
  gap: 0.45rem;
  align-content: start;
}

.field--full {
  grid-column: 1 / -1;
}

.field label,
.field legend {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-2);
}

.field label .opt {
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: none;
  color: var(--text-muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.6rem 0;
  border: 0;
  border-bottom: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  font-size: 1rem;
  transition: border-color var(--dur-fast);
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231d1916' stroke-width='1.4'/%3E%3C/svg%3E")
    right 2px center no-repeat;
  padding-right: 1.5rem;
}

.field textarea {
  min-height: 110px;
  resize: vertical;
  line-height: 1.5;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--c-azure);
  box-shadow: 0 1px 0 var(--c-azure);
}

.field.has-error input,
.field.has-error select {
  border-bottom-color: #b3261e;
}

.field__error {
  min-height: 1em;
  font-size: 0.8125rem;
  color: #b3261e;
}


/* ---------- Enquiry: compact boxed fields ---------- */

/* Boxes share 1px dividers via the gap, so any number of visible
   fields (stay vs event mode, phone vs desktop) stays evenly ruled. */
.fgroup {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line-strong);
}

.fbox {
  position: relative;
  gap: 0.2rem;
  min-width: 0;
  padding: 0.75rem 0.95rem 0.6rem;
  background: var(--c-white);
  cursor: text;
  transition: background-color var(--dur-fast), box-shadow var(--dur-fast);
}

.fbox:focus-within {
  background: #f5fafc;
  box-shadow: inset 0 -2px 0 var(--c-azure);
}

.fbox label {
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  cursor: inherit;
}

.fbox input,
.fbox select,
.fbox textarea {
  min-height: 30px;
  padding: 0;
  border: 0;
  font-size: 1rem;
  color: var(--text);
}

.fbox select {
  padding-right: 1.3rem;
  cursor: pointer;
}

.fbox textarea {
  min-height: 3.2em;
  max-height: 14em;
  padding-top: 0.2rem;
  field-sizing: content;
  resize: none;
}

.fbox input:focus,
.fbox select:focus,
.fbox textarea:focus {
  box-shadow: none;
}

.fbox input[data-empty]::-webkit-datetime-edit {
  color: var(--text-muted);
  opacity: 0.75;
}

.fbox input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0.45;
  cursor: pointer;
}

.fbox .field__error {
  min-height: 0;
  font-size: 0.75rem;
}

.fbox .field__error:empty {
  display: none;
}

.fbox.has-error {
  box-shadow: inset 0 -2px 0 #b3261e;
}

.fbox.has-error label {
  color: #b3261e;
}

/* nights counter tucked into the departure box */
.fbox__aside {
  position: absolute;
  top: 0.7rem;
  right: 0.95rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent-ink);
}

/* when the counter shows, the label wraps instead of running under it */
.fbox:has(.fbox__aside:not(:empty)) label {
  padding-right: 3.6rem;
}

.form[data-mode="event"] .for-stay,
.form:not([data-mode="event"]) .for-event {
  display: none;
}

/* Sized by the form's own width, not the viewport: the card is narrow both
   on phones and in the two-column layout on small laptops. */
@container (max-width: 620px) {
  .fgroup {
    grid-auto-flow: row;
    grid-template-columns: 1fr 1fr;
  }

  .fgroup > .fbox:only-child,
  .fgroup--contact > .fbox:last-child {
    grid-column: 1 / -1;
  }
}

@container (max-width: 440px) {
  .fgroup--contact {
    grid-template-columns: 1fr;
  }

  /* too tight beside the label: the nights count drops under the date */
  .fbox__aside {
    position: static;
  }

  .fbox:has(.fbox__aside:not(:empty)) label {
    padding-right: 0;
  }
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  border: 0;
  padding: 0;
  margin: 0;
}

.chips legend {
  width: 100%;
  margin-bottom: 0.6rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-2);
}

.chips .chip {
  position: relative;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--text);
}

.chip input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}

.chip span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 1rem;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px var(--line-strong);
  font-size: 0.875rem;
  transition: background-color var(--dur-fast), color var(--dur-fast), box-shadow var(--dur-fast);
}

.chip input:checked + span {
  background: var(--c-ink);
  color: var(--c-paper);
  box-shadow: none;
}

.chip input:focus-visible + span {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
}

.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-top: 0.4rem;
}

.form__hint {
  max-width: 26rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.form__status:empty {
  display: none;
}

.form__status {
  font-size: 0.9375rem;
  color: var(--c-azure-ink);
  min-height: 1.2em;
}


/* ==========================================================================
   Responsive
   ========================================================================== */

@media (min-width: 901px) and (max-width: 1240px) {
  .hero__inset {
    left: -12%;
    width: 40%;
  }
}

@media (max-width: 1080px) {
  .stats {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 2rem;
  }

  .stat:nth-child(4) {
    padding-left: 0;
    border-left: 0;
  }

  .landmarks {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 2.5rem;
  }

  .landmark:nth-child(4) {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 900px) {
  .hero__grid {
    grid-template-columns: 1fr;
    row-gap: 2.5rem;
  }

  .hero__copy,
  .hero__visual {
    grid-column: 1 / -1;
  }

  .hero__copy {
    padding-block: 0;
  }

  .hero__visual {
    justify-content: center;
    padding-inline: 8%;
  }

  .hero__stage {
    width: 100%;
    max-width: 460px;
  }

  .hero__inset {
    left: -8%;
    width: 44%;
  }

  .hero__badge {
    left: auto;
    right: -34px;
    top: 10%;
    width: 96px;
    height: 96px;
  }

  .booking__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .booking__field:nth-child(2) {
    border-right: 0;
  }

  .booking__field:nth-child(3) {
    grid-column: 1 / -1;
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-right: 0;
  }

  .booking__submit {
    grid-column: 1 / -1;
    min-height: 60px;
  }

  .statement,
  .intro__side {
    grid-column: 1 / -1;
  }

  .dining__grid,
  .events__cards,
  .aqua__grid,
  .location__top,
  .location__bottom,
  .contact__grid {
    grid-template-columns: 1fr;
  }

  .dining__media {
    max-width: 520px;
  }

  .event-card--sem {
    margin-top: clamp(2.5rem, 8vw, 4rem);
  }

  .event-card--sem .event-card__text {
    order: 0;
  }

  .event-card--sem .event-card__media {
    aspect-ratio: 3 / 2;
  }

  .location__hill {
    display: none;
  }

  .postcard {
    margin-top: 1rem;
  }

  .halls__list {
    grid-template-columns: 1fr;
  }

  .hall,
  .hall + .hall {
    padding: 1.6rem 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .contact__intro {
    position: static;
  }

  .map {
    min-height: 340px;
  }
}

@media (max-width: 640px) {
  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .stat,
  .stat + .stat {
    padding: 1.4rem 0 0;
    border-left: 0;
  }

  .stat:nth-child(even) {
    padding-left: 1.2rem;
    border-left: 1px solid var(--line);
  }

  .stat:last-child {
    grid-column: 1 / -1;
  }

  .landmarks {
    grid-template-columns: 1fr;
    row-gap: 0;
  }

  /* the footpath turns vertical, running down through the stops */
  .landmarks::before {
    top: 0;
    bottom: 0;
    left: 19px;
    right: auto;
    width: 2px;
    height: auto;
    background: repeating-linear-gradient(180deg, var(--accent) 0 7px, transparent 7px 15px);
    -webkit-mask: linear-gradient(180deg, #000 88%, transparent);
    mask: linear-gradient(180deg, #000 88%, transparent);
  }

  .landmark {
    grid-template-columns: 40px 1fr;
    column-gap: 1.1rem;
    row-gap: 0.4rem;
    padding: 0 0 1.8rem;
  }

  .landmark::before {
    grid-row: 1 / span 2;
    margin-bottom: 0;
  }

  .postcard::before {
    transform: rotate(-1.6deg);
  }

  .postcard__stamp {
    width: 64px;
    height: 80px;
    padding: 6px;
  }

  .postcard__postmark {
    width: 150px;
    top: calc(var(--mat) + 44px);
    right: calc(var(--mat) + 36px);
  }

  .dining__list {
    grid-template-columns: 1fr;
  }

  .dining__list li:nth-child(odd) {
    border-right: 0;
  }

  .dining__list li:nth-child(even) {
    padding-left: 0;
  }

  .fbox {
    padding-inline: 0.8rem;
  }

  .fbox input,
  .fbox select,
  .fbox textarea {
    font-size: 0.9375rem;
  }

  .hero__visual {
    padding-inline: 0 6%;
  }

  .hero__badge {
    right: -14px;
    width: 88px;
    height: 88px;
  }

  .hero__inset {
    left: -8px;
  }

  .booking__field {
    padding: 0.9rem 0.9rem 0.9rem 0;
  }

  .booking__field:nth-child(2) {
    padding-left: 0.9rem;
  }

  .booking__input {
    font-size: 1.1rem;
  }
}

/* ==========================================================================
   Hotel Oaza — optional effects layer (pairs with assets/js/fx.js).
   Every rule is scoped to an html.fx-on-<name> class that fx.js adds only when
   that effect is switched on, so turning an effect off removes its styles too.
   ========================================================================== */

/* ---------- 1. Scroll word reveal ---------- */

html.fx-on-words .statement[data-reveal] {
  opacity: 1;
  transform: none;
  transition: none;
}

html.fx-on-words .fx-word {
  opacity: calc(0.14 + var(--lit, 0) * 0.86);
  transition: opacity 160ms linear;
}

/* ---------- 2. Photo ribbon ---------- */

.fx-ribbon {
  --rh: clamp(220px, 27vw, 420px);
  --rgap: clamp(14px, 1.6vw, 26px);
  padding-block: clamp(3rem, 6vw, 5.5rem) clamp(4.5rem, 8vw, 7.5rem);
  background: var(--bg);
  overflow: hidden;
}

.fx-ribbon__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(1.6rem, 3vw, 2.6rem);
}

.fx-ribbon__tools {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.fx-ribbon__hint {
  font-family: var(--font-display);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.fx-ribbon__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 40px;
  padding: 0 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast);
}

.fx-ribbon__toggle:hover {
  background: var(--c-ink);
  border-color: var(--c-ink);
  color: var(--c-paper);
}

/* pause bars / play triangle */
.fx-ribbon__toggle i {
  width: 8px;
  height: 10px;
  border-inline: 2.5px solid currentColor;
}

.fx-ribbon.is-paused .fx-ribbon__toggle i {
  width: 0;
  height: 0;
  border: 0;
  border-left: 8px solid currentColor;
  border-block: 5px solid transparent;
}

.fx-ribbon__viewport {
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}

.fx-ribbon__viewport.is-dragging {
  cursor: grabbing;
}

.fx-ribbon__track {
  display: flex;
  align-items: flex-start;
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
  will-change: transform;
}

.fx-ribbon__item {
  --iw: calc(var(--rh) * 4 / 3);
  flex: none;
  width: var(--iw);
  margin-right: var(--rgap);
}

.fx-ribbon__item--arch {
  --iw: calc(var(--rh) * 3 / 4);
}

.fx-ribbon__item--square {
  --iw: var(--rh);
}

.fx-ribbon__item--low {
  padding-top: clamp(1.5rem, 4vw, 3.5rem);
}

.fx-ribbon__frame {
  height: var(--rh);
  overflow: hidden;
  background: var(--c-mist-deep);
}

.fx-ribbon__item--arch .fx-ribbon__frame {
  border-radius: 999px 999px 0 0;
}

.fx-ribbon__frame img {
  width: 100%;
  max-width: none;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  transition: transform 900ms var(--ease-out);
}

.fx-ribbon__cap {
  display: flex;
  gap: 0.8rem;
  margin-top: 0.9rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-2);
}

.fx-ribbon__cap b {
  font-weight: 500;
  color: var(--accent-ink);
}

@media (hover: hover) and (pointer: fine) {
  .fx-ribbon__item:hover img {
    transform: scale(1.04);
  }
}

/* Reduced motion: a plain, swipeable strip */
.fx-ribbon.is-static .fx-ribbon__viewport {
  overflow-x: auto;
  cursor: auto;
  touch-action: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
}

.fx-ribbon.is-static .fx-ribbon__item {
  scroll-snap-align: start;
}

.fx-ribbon.is-static .fx-ribbon__hint {
  display: none;
}

@media (max-width: 640px) {
  .fx-ribbon__hint {
    display: none;
  }
}

/* ---------- 3. Letter roll on hover ---------- */

/* keeps the absolutely positioned screen-reader label inside scrollers like the mobile room carousel */
html.fx-on-roll .fx-roll-holder {
  position: relative;
}

html.fx-on-roll .fx-roll {
  position: relative;
  display: inline-block;
  vertical-align: top;
  overflow: hidden;
  line-height: 1.3;
}

html.fx-on-roll .fx-roll__line {
  display: block;
  white-space: pre;
}

html.fx-on-roll .fx-roll__line--b {
  position: absolute;
  left: 0;
  top: 100%;
}

html.fx-on-roll .fx-ch {
  display: inline-block;
  transition: transform 560ms var(--ease-out);
  transition-delay: calc(var(--i, 0) * 16ms);
}

html.fx-on-roll :is(a, button):is(:hover, :focus-visible) .fx-ch {
  transform: translateY(-100%);
}

/* ---------- 4. Magnetic buttons ---------- */

html.fx-on-magnetic .fx-mag {
  transform: translate3d(var(--mx, 0px), var(--my, 0px), 0);
  transition: color var(--dur-med) var(--ease-out), transform 520ms var(--ease-out);
}

/* ---------- 5. Spotlight glow ---------- */

html.fx-on-spotlight .fx-spot {
  position: relative;
  isolation: isolate;
}

html.fx-on-spotlight .fx-spot::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(380px circle at var(--sx, 50%) var(--sy, 50%), var(--spot, rgba(5, 175, 238, 0.13)), transparent 65%);
  opacity: 0;
  transition: opacity 450ms var(--ease-out);
}

html.fx-on-spotlight .fx-spot:hover::after {
  opacity: 1;
}

html.fx-on-spotlight .aqua__card.fx-spot {
  --spot: rgba(5, 175, 238, 0.16);
}

/* ---------- 6. Water ripples ---------- */

.fx-ripple {
  position: absolute;
  width: 200px;
  height: 200px;
  margin: -100px 0 0 -100px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 0 22px rgba(200, 240, 255, 0.35), inset 0 0 18px rgba(200, 240, 255, 0.3);
  pointer-events: none;
  opacity: 0;
  animation: fxRipple 2200ms cubic-bezier(0.2, 0.6, 0.3, 1) forwards;
}

/* a second, inner ring so each drop reads as concentric ripples */
.fx-ripple::after {
  content: "";
  position: absolute;
  inset: 24%;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.5);
}

.fx-ripple--big {
  width: 380px;
  height: 380px;
  margin: -190px 0 0 -190px;
  border-width: 2.5px;
}

/* flattened circles read as ripples seen across a pool */
@keyframes fxRipple {
  0% {
    opacity: 0;
    transform: scale(0.05, 0.03);
  }
  10% {
    opacity: 0.95;
  }
  100% {
    opacity: 0;
    transform: scale(1, 0.58);
  }
}

/* ---------- 7. Progressive blur under the header ---------- */

.fx-pblur {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  z-index: 39;
  height: 44px;
  pointer-events: none;
  transition: transform var(--dur-med) var(--ease-out);
}

.fx-pblur > i {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity var(--dur-med) var(--ease-out);
}

.fx-pblur > i:nth-child(1) {
  background: linear-gradient(rgba(251, 252, 252, 0.72), rgba(251, 252, 252, 0));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  mask-image: linear-gradient(#000 0%, #000 20%, transparent 45%);
  -webkit-mask-image: linear-gradient(#000 0%, #000 20%, transparent 45%);
}

.fx-pblur > i:nth-child(2) {
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  mask-image: linear-gradient(transparent 15%, #000 30%, #000 50%, transparent 70%);
  -webkit-mask-image: linear-gradient(transparent 15%, #000 30%, #000 50%, transparent 70%);
}

.fx-pblur > i:nth-child(3) {
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  mask-image: linear-gradient(transparent 40%, #000 55%, #000 75%, transparent 90%);
  -webkit-mask-image: linear-gradient(transparent 40%, #000 55%, #000 75%, transparent 90%);
}

.fx-pblur > i:nth-child(4) {
  backdrop-filter: blur(0.6px);
  -webkit-backdrop-filter: blur(0.6px);
  mask-image: linear-gradient(transparent 65%, #000 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(transparent 65%, #000 85%, transparent 100%);
}

html.fx-on-blur .site-header.is-scrolled {
  box-shadow: none;
}

html.fx-on-blur .site-header.is-scrolled + .fx-pblur > i {
  opacity: 1;
}

html.fx-on-blur .site-header.is-hidden + .fx-pblur {
  transform: translateY(calc(-1 * var(--header-h) - 100%));
}

html.fx-on-blur body.menu-open .fx-pblur {
  display: none;
}

/* ---------- 8. Curtain footer reveal ---------- */

@media (min-width: 761px) and (min-height: 700px) {
  html.fx-on-curtain {
    --fx-radius: clamp(24px, 3.2vw, 48px);
  }

  html.fx-on-curtain main {
    position: relative;
    z-index: 1;
    background: var(--bg);
    border-radius: 0 0 var(--fx-radius) var(--fx-radius);
    overflow: clip;
    box-shadow: 0 44px 80px -36px rgba(10, 14, 18, 0.55);
  }

  /* the footer tucks up under main's rounded corners so they never show the page behind */
  html.fx-on-curtain .site-footer {
    position: sticky;
    bottom: 0;
    z-index: 0;
    margin-top: calc(-1 * var(--fx-radius));
    padding-top: var(--fx-radius);
  }

  html.fx-on-curtain .footer__brand,
  html.fx-on-curtain .footer__top {
    transform: translate3d(0, calc((1 - var(--fx-reveal, 1)) * 70px), 0);
    opacity: calc(0.25 + var(--fx-reveal, 1) * 0.75);
  }
}

/* ---------- Review panel (temporary) ---------- */

.fx-panel {
  position: fixed;
  left: 16px;
  bottom: 16px;
  z-index: 60;
  max-width: min(360px, calc(100vw - 32px));
  font-family: var(--font-body);
  color: var(--text);
}

.fx-panel__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 40px;
  padding: 0 1rem;
  border: 0;
  border-radius: 999px;
  background: var(--c-ink);
  color: var(--c-paper);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  box-shadow: 0 14px 30px -12px rgba(0, 0, 0, 0.45);
  cursor: pointer;
}

.fx-panel__pill span {
  color: var(--c-azure-hi);
}

.fx-panel__pill b {
  font-weight: 500;
  color: var(--c-azure-hi);
}

.fx-panel__body {
  margin-bottom: 10px;
  padding: 1.1rem 1.1rem 1rem;
  background: var(--c-paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.35);
  max-height: min(78vh, 660px);
  overflow-y: auto;
}

.fx-panel {
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
}

.fx-panel__title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
}

.fx-panel__sub,
.fx-panel__note {
  margin-top: 0.3rem;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.fx-panel__list {
  display: grid;
  margin: 0.8rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.fx-panel__row {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 0.7rem;
  align-items: start;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

.fx-panel__row input {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: var(--c-azure-ink);
}

.fx-panel__row strong {
  display: block;
  font-size: 0.86rem;
  font-weight: 500;
}

.fx-panel__row small {
  display: block;
  font-size: 0.74rem;
  line-height: 1.4;
  color: var(--text-muted);
}

.fx-panel__row em {
  font-style: normal;
  color: var(--accent-ink);
}

.fx-panel__actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

.fx-panel__actions button {
  flex: 1;
  min-height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text);
  cursor: pointer;
}

.fx-panel__actions button:hover {
  background: var(--c-ink);
  color: var(--c-paper);
}

@media (max-width: 760px) {
  .fx-panel {
    bottom: calc(56px + 12px + env(safe-area-inset-bottom));
  }
}

/* ---------- Reduced motion: keep only the static parts ---------- */

@media (prefers-reduced-motion: reduce) {
  .fx-ripple,
  .fx-ch {
    animation: none;
    transition: none;
  }

  html.fx-on-curtain .footer__brand,
  html.fx-on-curtain .footer__top {
    transform: none;
    opacity: 1;
  }
}

/* Phone bar with four buttons: same height, colours and phone-only display as today's two-button bar. */
.action-bar--quad {
  grid-template-columns: repeat(4, 1fr);
}

.action-bar--quad a {
  flex-direction: column;
  gap: 0.3rem;
  padding-inline: 0.25rem;
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-align: center;
}

/* Closing band: a page without its own enquiry form ends with a way to ask.
   The buttons and the large phone number are .contact-ctas and .phone-display from landing.css. */
.closer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.5rem clamp(2rem, 5vw, 5rem);
  align-items: center;
  margin-top: clamp(2.5rem, 5vw, 4.5rem);
}

/* After a plain section both paddings would stack into one hole, so the rule alone marks the break. */
.location + .closer {
  padding-top: 0;
}

.closer__copy .lede {
  max-width: 34rem;
  margin-top: 1.25rem;
}

/* One wide button over two equal ones, so the three never wrap unevenly; on the narrowest phones they stack. */
.closer .contact-ctas {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  max-width: 26rem;
  margin-top: 0;
}

.closer .contact-ctas .btn {
  padding-inline: 1rem;
}

.closer .contact-ctas .btn--accent {
  grid-column: 1 / -1;
}

.closer__reception {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 1.25rem;
  margin-top: 2rem;
}

.closer__label {
  flex-basis: 100%;
  font-family: var(--font-display);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  color: var(--text-muted);
}

.closer__note {
  font-size: var(--fs-small);
  color: var(--text-muted);
}

@media (max-width: 900px) {
  /* minmax(0, …): a plain 1fr track would grow to fit two button columns on a 320px phone. */
  .closer__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Footer bottom row: legal links and the operator line next to today's © and Back to top. */
.footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
}

.footer__operator {
  flex-basis: 100%;
  order: 5;
}

/* Enquiry form: conference-only fields, honeypot, sending spinner, failure box and thank-you panel. */
.form:not([data-type="conference"]) .for-conf {
  display: none;
}

.form__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* .form is display: grid, which would otherwise beat the [hidden] attribute. */
.form[hidden],
.form__fail[hidden],
.form__done[hidden] {
  display: none;
}

.form__fail {
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-m);
  background: var(--bg-alt);
  font-size: var(--fs-small);
}

.form__fail-links {
  margin-top: 0.5rem;
  font-weight: 500;
}

.form__fail-links a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.form__done {
  display: grid;
  align-content: center;
  gap: 1rem;
}

.btn.is-sending {
  pointer-events: none;
  opacity: 0.8;
}

.btn.is-sending .btn__arrow {
  display: none;
}

.btn.is-sending::after {
  content: "";
  width: 1em;
  height: 1em;
  margin-left: 0.5rem;
  border: 2px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: oaza-spin 0.8s linear infinite;
}

@keyframes oaza-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn.is-sending::after {
    animation-duration: 2.4s;
  }
}

#enquiry,
#enquiry-done {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

/* Event mode on a narrow form: "Up to 30 guests" was clipped in its half-width box.
   Give the guests box a little more of the row; the date keeps room for its picker icon. */
@container (max-width: 440px) {
  .form[data-mode="event"] .fgroup:has(#f-eguests) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr);
  }

  .form[data-mode="event"] .fgroup:has(#f-eguests) > .fbox {
    padding-inline: 0.55rem;
  }

  .form[data-mode="event"] .fgroup:has(#f-eguests) input[type="date"] {
    min-width: 0;
  }
}

/* When the form container is 300px wide or less (a 360px phone with the page padding), both labels cannot share one row, so the two boxes stack. */
@container (max-width: 300px) {
  .form[data-mode="event"] .fgroup:has(#f-eguests) {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* The capacity bars fill at once when the visitor prefers reduced motion. */
@media (prefers-reduced-motion: reduce) {
  .hall__bar::after {
    transition: none;
  }
}

/* Language switch: a link to the paired page and a marked current language (were buttons). */
.lang__btn {
  display: inline-grid;
  place-items: center;
}

.lang__btn[aria-current="true"] {
  background: var(--c-ink);
  color: var(--c-paper);
}

/* The mobile menu scrolls when it is taller than the screen (landscape phones, 320x568). */
.menu {
  overflow-y: auto;
  overscroll-behavior: contain;
}

/* Weddings and conferences pages: hero, tag band, halls, cards, steps and FAQ, in today's visual language. */
.page-hero {
  padding-top: calc(var(--header-h) + var(--section-y) * 0.6);
  /* The tags row right under the hero belongs to it, so it sits closer. */
  padding-bottom: calc(var(--section-y) * 0.5);
}

/* Every .section keeps the one-page site's --section-y above and below. Where two
   plain (untinted) sections meet, both paddings stack into one hole (about 314px at
   desktop width), so the second one drops its top padding. */
:is(.page-weddings, .page-conferences) main > .section:not(.l-band, .rooms-teaser, .contact)
  + .section:not(.l-band, .rooms-teaser, .contact) {
  padding-top: 0;
}

.page-hero__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

/* The label sits clear of the title, as it does in every other section. */
.page-hero__copy .h2 {
  margin-top: 1.375rem;
}

.page-hero__copy .lede {
  margin-top: 1.25rem;
}

.contact-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.btn__icon {
  width: 18px;
  height: 18px;
}

/* The phone number set large, where calling is the next step (FAQ, closing band). */
.phone-display {
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  line-height: 1.1;
  white-space: nowrap;
  background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat;
  transition: background-size var(--dur-med) var(--ease-out);
}

.phone-display:hover,
.phone-display:focus-visible {
  background-size: 100% 1px;
}

.landing-tags .event-card__tags {
  margin-top: 1.5rem;
}

.landing-halls .halls {
  margin-top: 0;
}

.l-band {
  background: var(--bg-alt);
}

.l-grid {
  display: grid;
  gap: 1.5rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}

.l-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.l-grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.l-card {
  padding: 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-m);
  background: var(--bg);
}

.l-card .h3 {
  margin-bottom: 0.75rem;
}

.l-card__price {
  margin-top: 1rem;
  font-family: var(--font-heading);
  color: var(--accent-ink);
}

.l-steps {
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}

.l-steps li {
  counter-increment: step;
  padding-top: 1rem;
  border-top: 1px solid var(--line-strong);
}

.l-steps li::before {
  content: "0" counter(step);
  display: block;
  margin-bottom: 0.5rem;
  font-size: var(--fs-small);
  letter-spacing: var(--tracking-eyebrow);
  color: var(--text-muted);
}

/* FAQ: on wide screens the heading stays beside the questions instead of leaving the right half empty. */
.faq-section__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.5fr);
  gap: 2rem clamp(2rem, 6vw, 6rem);
  align-items: start;
}

.faq-section__head {
  position: sticky;
  top: calc(var(--header-h) + 2rem);
}

.faq-section__more {
  max-width: 22rem;
  margin-top: 1.25rem;
  color: var(--text-2);
}

.faq-section__tel {
  margin-top: 0.75rem;
}

.faq__item {
  border-top: 1px solid var(--line);
}

.faq__item:last-child {
  border-bottom: 1px solid var(--line);
}

.faq__item summary {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
  cursor: pointer;
  list-style: none;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary::after {
  content: "+";
  content: "+" / "";
}

.faq__item[open] summary::after {
  content: "–";
  content: "–" / "";
}

.faq__item .prose {
  padding-bottom: 1.25rem;
}

@media (max-width: 900px) {
  .page-hero__grid,
  .l-grid--2,
  .faq-section__grid {
    grid-template-columns: 1fr;
  }

  /* The frame around the photo reaches above it, so the buttons need more room over it. */
  .page-hero__grid {
    row-gap: 3.5rem;
  }

  .faq-section__head {
    position: static;
  }

  .l-grid--4,
  .l-steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .l-grid--4,
  .l-steps {
    grid-template-columns: 1fr;
  }
}

/* Policy pages: a readable column; hotel markers highlighted in dev and preview builds. */
.legal__wrap {
  max-width: 46rem;
}

/* The label sits clear of the title, as it does in every other section. */
.legal__wrap .h2 {
  margin-top: 1.375rem;
}

.legal__updated {
  margin-top: 0.75rem;
  font-size: var(--fs-small);
  color: var(--text-muted);
}

.legal__body {
  margin-top: 2.5rem;
}

.legal__body h2 {
  margin: 2.5rem 0 0.75rem;
  font-family: var(--font-heading);
  font-size: var(--fs-h3);
}

.legal__body p + p,
.legal__body ul {
  margin-top: 1rem;
}

/* A phone number is one thing to tap or read out, so it never breaks across lines. */
.legal__body a[href^="tel:"] {
  white-space: nowrap;
}

.hotel-marker {
  padding: 0 0.2em;
  background: #ffe58a;
  color: #3d2e00;
  outline: 1px dashed #b38600;
}

/* Inner pages: the first section clears the fixed header (on Home the hero does this). */
.page-inner main > :first-child:not(.page-hero) {
  padding-top: calc(var(--header-h) + var(--section-y) * 0.6);
}

/* Landmarks on the Štip page sit under the page h1, so they are h2 elements that look like the old h3. */
.landmark h2 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.15;
}

/* Home teasers: shortened rooms, restaurant, AquaBella and Štip sections, and links on the event cards. */
.rooms-teaser__media {
  aspect-ratio: 16 / 7;
  border-radius: var(--radius-m);
}

.rooms-teaser__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.teaser-link {
  margin-top: 2rem;
}

.event-card__link {
  margin-top: 1.5rem;
  justify-self: start;
}

/* A long label (Macedonian at phone width) wraps instead of squeezing the arrow to nothing. */
.teaser-link .link-arrow,
.event-card__link {
  max-width: 100%;
}

.teaser-link .link-arrow svg,
.event-card__link svg {
  flex: none;
}

@media (max-width: 700px) {
  .rooms-teaser__media {
    aspect-ratio: 4 / 3;
  }
}

/* The letter-roll effect cannot wrap, so a long Macedonian label pushed the arrow past the screen edge.
   On narrow screens show the plain label, which wraps like normal text, instead of the roll. */
@media (max-width: 480px) {
  html.fx-on-roll .teaser-link .fx-roll,
  html.fx-on-roll .event-card__link .fx-roll {
    display: none;
  }

  html.fx-on-roll .teaser-link .fx-roll__sr,
  html.fx-on-roll .event-card__link .fx-roll__sr {
    /* !important is needed to beat `.visually-hidden { position: absolute !important }` in base.css */
    position: static !important;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    clip-path: none;
    white-space: normal;
  }
}
