/* =========================================================================
   El Bonita Motel — shared components (.eb-*)
   Every value here is what the HIFI pages render after their page-level
   overrides (measured on the design with headless Chrome), not the raw
   design-system defaults. Catalogue + markup snippets: docs/components.md
   ========================================================================= */

/* =========================================================================
   1. Icons — Lucide SVGs used as CSS masks; they take currentColor.
      <span class="eb-icon eb-icon--phone" aria-hidden="true"></span>
      Size with --icon-size (default 20px).
   ========================================================================= */
.eb-icon {
  display: inline-block;
  flex: 0 0 auto;
  width: var(--icon-size, 20px);
  height: var(--icon-size, 20px);
  background-color: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}
.eb-icon--arrow-right { --icon: url("/assets/icons/arrow-right.svg"); }
.eb-icon--arrow-up-right { --icon: url("/assets/icons/arrow-up-right.svg"); }
.eb-icon--building { --icon: url("/assets/icons/building.svg"); }
.eb-icon--car-front { --icon: url("/assets/icons/car-front.svg"); }
.eb-icon--check-check { --icon: url("/assets/icons/check-check.svg"); }
.eb-icon--check { --icon: url("/assets/icons/check.svg"); }
.eb-icon--chevron-down { --icon: url("/assets/icons/chevron-down.svg"); }
.eb-icon--chevron-left { --icon: url("/assets/icons/chevron-left.svg"); }
.eb-icon--chevron-right { --icon: url("/assets/icons/chevron-right.svg"); }
.eb-icon--circle-alert { --icon: url("/assets/icons/circle-alert.svg"); }
.eb-icon--clock { --icon: url("/assets/icons/clock.svg"); }
.eb-icon--coffee { --icon: url("/assets/icons/coffee.svg"); }
.eb-icon--croissant { --icon: url("/assets/icons/croissant.svg"); }
.eb-icon--dog { --icon: url("/assets/icons/dog.svg"); }
.eb-icon--door-open { --icon: url("/assets/icons/door-open.svg"); }
.eb-icon--flame { --icon: url("/assets/icons/flame.svg"); }
.eb-icon--frame { --icon: url("/assets/icons/frame.svg"); }
.eb-icon--image { --icon: url("/assets/icons/image.svg"); }
.eb-icon--info { --icon: url("/assets/icons/info.svg"); }
.eb-icon--lamp { --icon: url("/assets/icons/lamp.svg"); }
.eb-icon--mail { --icon: url("/assets/icons/mail.svg"); }
.eb-icon--map-pin { --icon: url("/assets/icons/map-pin.svg"); }
.eb-icon--menu { --icon: url("/assets/icons/menu.svg"); }
.eb-icon--microwave { --icon: url("/assets/icons/microwave.svg"); }
.eb-icon--moon { --icon: url("/assets/icons/moon.svg"); }
.eb-icon--palette { --icon: url("/assets/icons/palette.svg"); }
.eb-icon--pause { --icon: url("/assets/icons/pause.svg"); }
.eb-icon--phone { --icon: url("/assets/icons/phone.svg"); }
.eb-icon--plane { --icon: url("/assets/icons/plane.svg"); }
.eb-icon--play { --icon: url("/assets/icons/play.svg"); }
.eb-icon--refrigerator { --icon: url("/assets/icons/refrigerator.svg"); }
.eb-icon--shower-head { --icon: url("/assets/icons/shower-head.svg"); }
.eb-icon--sparkles { --icon: url("/assets/icons/sparkles.svg"); }
.eb-icon--thermometer-sun { --icon: url("/assets/icons/thermometer-sun.svg"); }
.eb-icon--train-front { --icon: url("/assets/icons/train-front.svg"); }
.eb-icon--trees { --icon: url("/assets/icons/trees.svg"); }
.eb-icon--triangle-alert { --icon: url("/assets/icons/triangle-alert.svg"); }
.eb-icon--tv { --icon: url("/assets/icons/tv.svg"); }
.eb-icon--users { --icon: url("/assets/icons/users.svg"); }
.eb-icon--waves { --icon: url("/assets/icons/waves.svg"); }
.eb-icon--wifi { --icon: url("/assets/icons/wifi.svg"); }
.eb-icon--wine { --icon: url("/assets/icons/wine.svg"); }
.eb-icon--x { --icon: url("/assets/icons/x.svg"); }

/* =========================================================================
   2. Type helpers
   ========================================================================= */
/* Eyebrow / kicker. Default colour is --text-brand (#A81E15), which is what
   the design renders for section kickers; --accent is the literal #CC261B
   the design uses on photo-band cards and "Group stays"; --muted is grey. */
.eb-eyebrow {
  font-family: var(--font-sans);
  font-size: var(--eyebrow-size);
  font-weight: var(--eyebrow-weight);
  letter-spacing: var(--eyebrow-tracking);
  text-transform: uppercase;
  color: var(--text-brand);
}
.eb-eyebrow--accent { color: var(--vermillion-500); }
.eb-eyebrow--muted { color: var(--text-muted); }

/* Cursive accent word (Yellowtail). Size it per context, e.g. font-size:1.3em. */
.eb-script {
  font-family: var(--font-script);
  font-weight: 400;
  font-variation-settings: normal;
}

/* Section heading (design-system SectionHeading; the deco rule is optional and
   hidden on every HIFI page, so only add .eb-section-heading__rule on purpose). */
.eb-section-heading {
  display: grid;
  gap: var(--space-3);
  justify-items: start;
  text-align: left;
}
.eb-section-heading--center {
  justify-items: center;
  text-align: center;
  max-width: var(--measure-narrow);
  margin-inline: auto;
}
.eb-section-heading__title {
  font-size: var(--text-display-3);
  line-height: var(--lh-display-3);
}
.eb-section-heading__title a { color: inherit; text-decoration: none; transition: color var(--duration-fast) var(--ease-out-soft); }
.eb-section-heading__title a:hover { color: var(--vermillion-500); }
.eb-section-heading__rule { width: 40px; height: 2px; background: var(--rule-deco); }
.eb-section-heading__lede {
  max-width: var(--measure-narrow);
  font-size: var(--text-lede);
  line-height: var(--lh-lede);
  color: var(--ink-700);
}

/* =========================================================================
   3. Buttons
      .eb-button + one variant + optional size (md is the default size)
      variants: --filled (vermilion) --secondary (pool) --outline (red ghost)
                --outline-dark (white outline over photos) --quiet --on-dark
                --brass (group stays)
      sizes:    --sm (8px 16px, 12px)  [md] (12px 22px, 14px)  --lg (16px 30px, 14px)
                --tall (52px high, 14px, .12em — the group-stay actions)
   ========================================================================= */
.eb-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  background: transparent;
  font-family: var(--font-sans);
  font-size: var(--text-small);
  font-weight: var(--weight-semibold);
  line-height: 1.1;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-color), transform var(--duration-fast) var(--ease-standard);
}
.eb-button:hover { text-decoration: none; }
.eb-button:active { transform: scale(var(--press-scale)); }
/* Disabled while a form sends ("Sending…"): the design keeps full colour. */
.eb-button:disabled { cursor: default; }

.eb-button--sm { padding: 8px 16px; font-size: var(--text-label); }
.eb-button--lg { padding: 16px 30px; font-size: var(--text-small); }
.eb-button--tall {
  --icon-size: 15px;
  gap: 10px;
  height: 52px;
  padding: 0 24px;
  font-size: var(--text-small);
  line-height: 1;
  letter-spacing: .12em;
  white-space: nowrap;
}

.eb-button--filled,
.eb-button--filled:hover { color: var(--white); }
.eb-button--filled { background: var(--action-primary); border-color: var(--action-primary); }
.eb-button--filled:hover { background: var(--action-primary-hover); border-color: var(--action-primary-hover); }

.eb-button--secondary,
.eb-button--secondary:hover { color: var(--white); }
.eb-button--secondary { background: var(--action-secondary); border-color: var(--action-secondary); }
.eb-button--secondary:hover { background: var(--action-secondary-hover); border-color: var(--action-secondary-hover); }

/* Red ghost: the design's [data-redghost] look (map "All activities", "Call us"). */
.eb-button--outline { background: transparent; border-color: var(--vermillion-500); color: var(--vermillion-500); }
.eb-button--outline:hover { background: var(--vermillion-100); border-color: var(--vermillion-600); color: var(--vermillion-600); }

.eb-button--outline-dark,
.eb-button--outline-dark:hover { color: var(--white); }
.eb-button--outline-dark { background: transparent; border-color: rgba(255,255,255,.6); }
.eb-button--outline-dark:hover { background: rgba(251,247,239,.12); border-color: var(--white); }

.eb-button--quiet { background: transparent; border-color: transparent; color: var(--text-heading); }
.eb-button--quiet:hover { background: var(--action-quiet-hover); color: var(--text-heading); }

.eb-button--on-dark,
.eb-button--on-dark:hover { color: var(--ink-900); }
.eb-button--on-dark { background: var(--white); border-color: var(--white); }
.eb-button--on-dark:hover { background: var(--stucco-100); border-color: var(--stucco-100); }

/* Ink text, not the design's white (2.65:1, hover 3.83:1): 6.31:1, hover 5.29:1 (WCAG 1.4.3). */
.eb-button--brass,
.eb-button--brass:hover { color: var(--ink-900); }
.eb-button--brass { background: var(--brass-500); border-color: var(--brass-500); }
/* Hover shades on controls that stay on screen after a tap only where there is a mouse: on touch screens a tapped
   control otherwise keeps its hover shade until something else is tapped (EB-103, 13 Nov 2026). */
@media (hover: hover) {
  .eb-button--brass:hover { background: var(--brass-550); border-color: var(--brass-550); }
}

/* The ↗︎ text glyph after "Book your stay" / "Check rates" (U+2197 U+FE0E). */
.eb-button__glyph { font-size: .82em; letter-spacing: 0; }

/* Neon "sign-red" button — only on dark photos (Home night band, About). */
.eb-neon-button {
  display: inline-block;
  padding: 13px 22px;
  border: 1px solid rgba(178,47,44,.95);
  border-radius: var(--radius-sm);
  background: rgba(178,47,44,.16);
  color: #FFB0A8; /* neon tube pink, lightened from the design's #FF8A7E so the text clears 4.5:1 against its own glow
                     (WCAG 1.4.3; #FF8A7E was 4.28:1 at phone width) */
  font: 600 13px/var(--lh-body) var(--font-sans);
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
  text-shadow: 0 0 7px rgba(255,138,126,.95);
  box-shadow: 0 0 8px rgba(178,47,44,.85), 0 0 22px rgba(178,47,44,.5);
  transition: box-shadow var(--duration-base) var(--ease-out-soft);
}
.eb-neon-button:hover {
  color: #FFB0A8;
  box-shadow: 0 0 12px rgba(178,47,44,1), 0 0 34px rgba(178,47,44,.65);
}

/* Inline CTA text link ("All rooms"). */
.eb-text-link {
  font-family: var(--font-sans);
  font-size: var(--text-small);
  letter-spacing: .02em;
  color: var(--pool-600);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.eb-text-link:hover { color: var(--pool-600); text-decoration-thickness: 2px; }

/* Bigger tap targets for inline phone/email/text links on phones. */
@media (max-width: 760px) {
  main a[href^="tel"]:not(.eb-button),
  main a[href^="mailto"]:not(.eb-button),
  main .eb-text-link { padding-top: 10px; padding-bottom: 10px; }
}

/* Touch screens: small standalone controls get a hit area of at least 44×44px
   (the accessibility floor) from a transparent ::after centred on them, so
   nothing moves. The design's sizes are kept as they are. Page stylesheets
   add their own controls the same way (gallery chips, activities jump link,
   contact rows). Room cards: the building link grows with padding + negative
   margin instead (more above than below, so it stops just short of the
   room-name link 12px under it, and clear of the photo); the name link grows
   downward only, over the non-interactive meta line. */
@media (pointer: coarse) {
  .eb-button,
  .eb-text-link,
  .eb-footer__link,
  .eb-footer__contact,
  .eb-room-card__name a { position: relative; }
  .eb-button::after,
  .eb-text-link::after,
  .eb-footer__link::after,
  .eb-footer__contact::after,
  .eb-chip::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: max(100%, 44px);
    height: max(100%, 44px);
    transform: translate(-50%, -50%);
  }
  .eb-room-card__name a::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: max(100%, 44px);
  }
  .eb-room-card__building { padding: 18px 0 7px; margin: -18px 0 -7px; }
  /* Tabs (39px on tablets) grow downward from their top edge, toward the hairline under the row. ::before, because
     home.css uses the first tab's ::after for "newly renovated". Pause (32px above 760px) grows upward over the
     slideshow's bottom edge; z-index keeps that part above the photo. EB-083. */
  .eb-tabs__tab::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: max(100%, 44px);
    height: max(100%, 44px);
    transform: translateX(-50%);
  }
  .eb-pause-btn { position: relative; z-index: 1; }
  .eb-pause-btn::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: max(100%, 44px);
    height: max(100%, 44px);
    transform: translateX(-50%);
  }
}
/* Tablets: the navbar links and phone (15–22px tall) get the same 44px hit area. Not on phones, where the links
   live in the Menu panel as 44px rows, and not in the landscape-phone links row (761–900px wide, landscape), which
   scrolls sideways inside a short bar. EB-083. */
@media (pointer: coarse) and (min-width: 901px), (pointer: coarse) and (min-width: 761px) and (orientation: portrait) {
  .eb-nav__link,
  .eb-nav__phone { position: relative; }
  .eb-nav__link::after,
  .eb-nav__phone::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: max(100%, 44px);
    height: max(100%, 44px);
    transform: translate(-50%, -50%);
  }
}
/* Phones set the footer's contact and legal links on 36px lines (since 19 Nov 2026: phone · email, then the
   address; then Sitemap · Privacy choices, then the copyright). Each grows to 44px away from its neighbours, into
   space nothing else uses: the phone and email 8px up into the gap under the sign-up form, the address 8px down into
   the 8px gap above Sitemap, and Sitemap and Privacy choices 8px down over the copyright text. (EB-093's Option A,
   Chris, 12 Nov 2026, grew the phone up and the address down the same way; the address now reaches 44px too.) */
@media (pointer: coarse) and (max-width: 760px) {
  .eb-footer__row:not(.eb-footer__row--legal) > .eb-footer__contact:not(.eb-footer__addr)::after { top: auto; bottom: 0; height: 44px; transform: translateX(-50%); }
  .eb-footer__row > .eb-footer__addr::after { top: 0; height: 44px; transform: translateX(-50%); }
  .eb-footer__row--legal > :is(a.eb-footer__contact, .eb-footer__choices)::after { top: 0; height: 44px; transform: translateX(-50%); }
}

/* =========================================================================
   4. Navbar
      One partial for every page (partials/header.html).
      Solid (default): ink bar that lightens to .70 once scrolled 40px.
      Overlay (<body data-nav="overlay">): see-through over the hero photo,
      fades to .94 once the hero is covered by 80px (site.js sets
      data-scrolled on .eb-nav).
      Home only: <body data-nav-entrance> slides the bar down on wide screens.
   ========================================================================= */
.eb-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(36,28,23,.95);
  box-shadow: 0 1px 2px rgba(36,28,23,.14), 0 6px 16px rgba(36,28,23,.18);
  transition: background var(--duration-base) var(--ease-out-soft), box-shadow var(--duration-base) var(--ease-out-soft);
}
.eb-nav[data-scrolled="1"] { background: rgba(36,28,23,.70); }

.eb-nav__bar {
  position: relative;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 14px;
  height: 76px;
  padding: 0 20px;
  background: rgba(36,28,23,.34);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.18);
  color: var(--white);
}

/* Overlay variant (Home; Rooms and Activities until Nov 16, 2026, FX-89) */
body[data-nav="overlay"] .eb-nav { background: transparent; box-shadow: none; }
body[data-nav="overlay"] .eb-nav[data-scrolled="1"] {
  box-shadow: 0 1px 2px rgba(36,28,23,.14), 0 6px 16px rgba(36,28,23,.18);
}
/* 2px blur since 17 Nov 2026 (Oliver, FX-98): the HIFI design's and the Nov 3 version's value. It was 6px. The
   links stay readable through the text halo below, not through the blur. */
body[data-nav="overlay"] .eb-nav__bar {
  background: rgba(36,28,23,.14);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  transition:
    background 600ms var(--ease-out-soft),
    backdrop-filter 600ms var(--ease-out-soft),
    -webkit-backdrop-filter 600ms var(--ease-out-soft);
}
body[data-nav="overlay"] .eb-nav[data-scrolled="1"] .eb-nav__bar {
  background: rgba(36,28,23,.94);
  -webkit-backdrop-filter: blur(16px) saturate(1.1);
  backdrop-filter: blur(16px) saturate(1.1);
}
/* Without JavaScript nothing sets data-scrolled, so the see-through bar would stay see-through over the light
   sections below the hero (white on it about 1.4:1). It is solid from the top instead, at the scrolled value.
   The rule never matches with JavaScript on. EB-086. */
@media (scripting: none) {
  body[data-nav="overlay"] .eb-nav__bar { background: rgba(36,28,23,.94); }
}
/* While the bar is see-through, the white links and phone get a dark halo (WCAG 1.4.3; the photo alone gives
   2.28–3.53:1). It outranks the white hover/focus glow below on purpose: a white glow would undo the halo.
   Hover keeps the brass underline and focus keeps the outline. */
body[data-nav="overlay"] .eb-nav:not([data-scrolled="1"]):not([data-menu-open="1"]) .eb-nav__link {
  text-shadow: var(--text-halo-on-photo);
}
/* Keyboard focus while the bar is see-through: a two-colour ring (WCAG technique C40), a 2px ink ring inside a 2px
   white ring. White and ink differ by 16.75:1, so at least one of them clears 3:1 against any photo pixel
   (WCAG 1.4.11). The single pool-teal ring measured about 1.0–1.3:1 against the hero photos. */
body[data-nav="overlay"] .eb-nav:not([data-scrolled="1"]):not([data-menu-open="1"]) :is(.eb-nav__link, .eb-nav__phone, .eb-nav__logo, .eb-nav__menu-btn):focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--ink-900);
}

/* Logo: the shaded white sign; a glowing-letters copy fades in on hover. */
.eb-nav__logo {
  position: relative;
  display: flex;
  align-items: center;
  flex: none;
  color: inherit;
  text-decoration: none;
  transform-origin: center;
  transition: transform var(--duration-base) var(--ease-out-soft);
}
.eb-nav__logo:hover { transform: scale(1.05); }
.eb-nav__logo-art {
  position: relative;
  display: block;
  width: 124px;
  height: 56px;
  /* 424px-wide copy of the -2x master (3x the 141px desktop width; tools/image-derivatives.mjs). */
  background: url("/assets/logo/el-bonita-motel-logo-white-shaded-2x-424w.png") center / contain no-repeat;
  transition: filter var(--duration-base) var(--ease-out-soft);
}
.eb-nav__logo-art::after,
.eb-footer__logo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/assets/logo/el-bonita-motel-logo-v4-letters-480w.png") center / contain no-repeat; /* 3x of the 160px footer logo */
  filter: drop-shadow(0 0 1.5px rgba(255,255,255,.7)) drop-shadow(0 0 5px rgba(255,255,255,.35));
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms var(--ease-out-soft);
}
.eb-nav__logo:hover .eb-nav__logo-art,
.eb-nav__logo:focus-visible .eb-nav__logo-art {
  filter: drop-shadow(0 0 2px rgba(255,255,255,.55)) drop-shadow(0 0 10px rgba(255,255,255,.22));
}
.eb-nav__logo:hover .eb-nav__logo-art::after,
.eb-nav__logo:focus-visible .eb-nav__logo-art::after { opacity: 1; }

/* Links */
.eb-nav__links {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 10px;
  min-width: 0;
  margin-left: auto;
}
.eb-nav__link {
  display: inline-flex;
  align-items: center;
  padding: 5px 0 3px;
  border-bottom: 2px solid transparent;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: var(--text-micro);
  font-weight: var(--weight-medium);
  line-height: 1;
  letter-spacing: .06em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition:
    color var(--duration-fast) var(--ease-out-soft),
    text-shadow var(--duration-base) var(--ease-out-soft),
    border-color var(--duration-fast) var(--ease-out-soft);
}
.eb-nav__link[aria-current="page"] { font-weight: var(--weight-semibold); border-bottom-color: var(--brass-300); }
/* Glow: links on hover + keyboard focus. */
.eb-nav__link:hover,
.eb-nav__link:focus-visible {
  color: var(--white);
  text-shadow: 0 0 1px rgba(255,255,255,.9), 0 0 6px rgba(255,255,255,.55), 0 0 14px rgba(255,255,255,.28);
}
.eb-nav__link:hover { border-bottom-color: var(--brass-300); }

/* Phone: an outlined box, like a second button beside "Book now" (option A of five mockups; Chris, 17 Nov 2026,
   after Oliver asked to see a stronger accent; FX-101). No hover animation was added (Oliver, 16 Nov 2026).
   Since 18 Nov 2026 (Oliver: a darkened see-through fill like Home's "See the rooms" button, instead of the shadow
   on the number; FX-107) the box has a 35% ink fill with the same 2px backdrop blur, and no text halo or hover glow.
   Over Home's photo the white number measured 6.84:1 or better (5th percentile; lowest pixel 6.74:1) at 1024 to
   1920 wide, as rendered with the blur; without the fill and halo it is 3.4:1.
   Since later that evening (Oliver asked for it "styled exactly like how the SEE THE ROOMS button is styled"; FX-114)
   the edge and corners are that button's too: 1px at 60% white (was 1.5px at 85%) and 4px corners (was 2px). The
   number's contrast is unchanged (6.84:1): it comes from the fill.
   Since 19 Nov 2026 (Chris: the same styling and hover animation as "See the rooms", at the same size; FX-116) the
   number is semibold like that button (not its .08em letter spacing, which would make the box 13px wider). Its hover
   and press, added the same night, came out again on Nov 19, 2026 at Oliver's request (see below). */
.eb-nav__phone {
  --icon-size: 14px;
  display: inline-flex;
  align-items: center;
  flex: none;
  gap: 6px;
  padding: 9px 14px;
  border: 1px solid rgba(255,255,255,.6);
  border-radius: var(--radius-sm);
  background: rgba(36,28,23,.35);
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: var(--text-small);
  font-weight: var(--weight-semibold);
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: var(--transition-color);
}
/* No hover or press animation since Nov 19, 2026 (Oliver: "Remove the hover animation on the phone number white box"):
   FX-116's lighter fill, white edge and 98% press are gone; the box looks the same in every state.
   The number stays white in every state. Without this the site's link hover colour (base.css a:hover, pool teal)
   took over the number and its icon on hover, and on touch screens after a tap, since FX-107 removed the old hover
   rule's white (found by Chris, Nov 19, 2026; FX-118). */
.eb-nav__phone:hover { color: var(--white); }
/* Keyboard focus: the design's a11y ring (3px pool teal), no glow. */
.eb-nav__phone:focus-visible { outline: 3px solid var(--border-focus); outline-offset: 2px; }

/* Book now (sm filled button, recoloured vermilion with a glow on hover) */
.eb-nav__book {
  --icon-size: 14px;
  flex: none;
  line-height: 1;
  white-space: nowrap;
  transition:
    background-color 160ms var(--ease-out-soft),
    border-color 160ms var(--ease-out-soft),
    color 160ms var(--ease-out-soft),
    box-shadow 160ms var(--ease-out-soft),
    transform 140ms var(--ease-out-soft);
}
.eb-nav__book:hover { box-shadow: 0 2px 10px rgba(168,30,21,.45); }

/* Menu button + menu phone row (phones only) */
.eb-nav__menu-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-circle);
  background: transparent;
  color: var(--white);
  transition: background-color var(--duration-slow) var(--ease-out-soft);
}
/* Over the hero photo (bar see-through, menu closed) the white Menu lines sit on a 50% ink disc. That keeps them at
   3.27:1 or better even over a pure-white pixel (WCAG 1.4.11 asks 3:1; on the Home photo alone they were 2.45:1). */
body[data-nav="overlay"] .eb-nav:not([data-scrolled="1"]):not([data-menu-open="1"]) .eb-nav__menu-btn {
  background: rgba(36,28,23,.5);
}
.eb-nav__menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 1px;
  background: currentColor;
  transition: transform var(--duration-base) var(--ease-out-soft), opacity var(--duration-fast);
}
.eb-nav[data-menu-open="1"] .eb-nav__menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.eb-nav[data-menu-open="1"] .eb-nav__menu-btn span:nth-child(2) { opacity: 0; }
.eb-nav[data-menu-open="1"] .eb-nav__menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* Without JavaScript the Menu button can't open the panel, so the header's <noscript> link takes its place: the same
   three lines in the same spot, linking to the footer menu (#eb-footer-nav). With JavaScript on, neither rule
   matches and the <noscript> link is never built. The hover rule keeps the lines white (base.css colours a:hover).
   EB-085. */
@media (scripting: none) {
  .eb-nav__menu-btn[data-nav-menu-btn] { display: none; }
  a.eb-nav__menu-btn:hover { color: var(--white); }
  /* The <noscript> itself would be an empty item in the bar's flex row and add one 14px gap, moving the links and
     "Book now" 10px at 761–900px wide. The link inside is absolutely positioned, so the wrapper can go. */
  .eb-nav__bar > noscript { display: contents; }
}

.eb-nav__menu-phone {
  --icon-size: 16px;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  z-index: 2;
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 20px;
  border-bottom: 1px solid rgba(251,247,239,.12);
  background: rgba(36,28,23,.97);
  color: var(--white);
  font: 600 14px/1 var(--font-sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
}
.eb-nav__menu-phone:hover { color: var(--white); }
.eb-nav__menu-phone-number { letter-spacing: .06em; }

/* Home-only entrance: the bar slides down after the photo settles.
   Wide screens with a mouse only, never with reduced motion. */
@keyframes eb-nav-in { from { transform: translateY(-110%); } to { transform: none; } }
@media (min-width: 1101px) and (hover: hover) and (prefers-reduced-motion: no-preference),
       (min-width: 1101px) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  body[data-nav-entrance] .eb-nav__bar { animation: eb-nav-in 700ms var(--ease-out-soft) 900ms backwards; }
}

@media (min-width: 1240px) {
  .eb-nav__bar { height: 84px; padding: 0 56px; gap: 32px; }
  .eb-nav__links { gap: 24px; }
  .eb-nav__link { font-size: var(--text-small); letter-spacing: .08em; }
  .eb-nav__logo-art { width: 141px; height: 64px; }
}

/* Narrow landscape: links move to a full-width second row, phone hidden.
   10px between the rows: the design writes row-gap:4px then gap:10px, and
   the later shorthand wins. */
@media (max-width: 900px) {
  .eb-nav__bar { flex-wrap: wrap; height: auto; padding: 10px 16px; gap: 10px; }
  .eb-nav__phone { display: none; }
  .eb-nav__links {
    order: 3;
    width: 100%;
    margin-left: 0;
    justify-content: space-between;
    gap: 6px;
    padding-bottom: 2px;
    overflow-x: auto;
  }
  .eb-nav__link { padding-top: 3px; font-size: 11px; letter-spacing: .04em; }
  .eb-nav__logo-art { width: 102px; height: 46px; }
}
/* The sideways-scrolling links row (overflow-x:auto) would clip the halo of the first and last link:
   8px of room on each side without moving the links. */
@media (max-width: 900px) and (orientation: landscape) {
  .eb-nav__links { width: calc(100% + 16px); margin-inline: -8px; padding-inline: 8px; }
}

/* Upright tablets: one row, phone back after the links. */
@media (min-width: 761px) and (max-width: 1100px) and (orientation: portrait) {
  .eb-nav__bar { flex-wrap: nowrap; height: 72px; padding: 0 16px; gap: 10px; row-gap: 0; }
  .eb-nav__links {
    order: 2;
    width: auto;
    margin-left: auto;
    justify-content: flex-end;
    gap: 10px;
    padding: 0 0 0 20px;
    overflow: visible;
  }
  .eb-nav__link { position: relative; top: 3px; padding-top: 0; font-size: var(--text-label); letter-spacing: .04em; }
  .eb-nav__phone { display: inline-flex; order: 3; margin-left: 2px; padding: 7px 9px; font-size: var(--text-micro); }
  .eb-nav__book { order: 4; margin-left: 6px; }
}
/* The narrowest upright tablets (761 to 860px): with "Blog" and the phone's box (17 Nov 2026, FX-99 and FX-101) the
   row was up to 77px too long and the first links slid under the logo. Smaller link text, tighter gaps, and no
   icons in the phone box or on "Book now" take back about 98px; the box itself stays.
   Since 18 Nov 2026 (eighth link, "Groups", FX-110) this runs to 900px, where the first links touched the logo
   from 861px, and below 801px "Home" is left out of the row (the logo is the link home), which the row needed from
   762 to 800px. Checked at 562 window sizes in Chrome and WebKit. */
@media (min-width: 761px) and (max-width: 900px) and (orientation: portrait) {
  .eb-nav__links { gap: 7px; padding-left: 12px; }
  .eb-nav__link { font-size: var(--text-micro); }
  .eb-nav__phone .eb-icon,
  .eb-nav__book .eb-icon { display: none; }
}
@media (min-width: 761px) and (max-width: 800px) and (orientation: portrait) {
  .eb-nav__link--home { display: none; }
}
/* The narrowest one-row bars from 901px (FX-110): with eight links "Contact" ran into the phone box up to 924px.
   Tighter link gaps and no icons in the phone box or on "Book now", as on the narrowest upright tablets. */
@media (min-width: 901px) and (max-width: 960px) {
  .eb-nav__links { gap: 8px; }
  .eb-nav__phone .eb-icon,
  .eb-nav__book .eb-icon { display: none; }
}

/* Short landscape windows. Not at ≥1240px: there the design's wide-bar rule
   comes later and wins (84px bar, 56px gutters even when short). */
@media (max-width: 1239px) and (max-height: 520px) and (orientation: landscape) {
  .eb-nav__bar { height: auto; padding: 6px 16px; }
}

/* Phones: menu button; links + phone in a drop-down panel. */
@media (max-width: 760px) {
  .eb-nav__bar { flex-wrap: nowrap; height: 64px; padding: 0 62px 0 16px; row-gap: 0; }
  .eb-nav__menu-btn { display: inline-flex; }
  .eb-nav__links { display: none; }
  .eb-nav__book { margin-left: auto; min-height: 40px; }
  .eb-nav__book .eb-icon { display: none; }

  body .eb-nav[data-menu-open="1"] {
    background: rgba(36,28,23,.97);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
  }
  .eb-nav[data-menu-open="1"] .eb-nav__menu-phone { display: flex; }
  .eb-nav[data-menu-open="1"] .eb-nav__links {
    position: absolute;
    top: 120px;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: auto;
    margin: 0;
    padding: 4px 20px 18px;
    overflow: visible;
    background: rgba(36,28,23,.97);
    box-shadow: 0 14px 32px rgba(36,28,23,.28);
  }
  .eb-nav[data-menu-open="1"] .eb-nav__link {
    top: 0;
    justify-content: flex-start;
    min-height: 50px;
    padding: 0;
    border-bottom: 1px solid rgba(251,247,239,.12);
    font-size: var(--text-small);
    letter-spacing: .14em;
  }
  .eb-nav[data-menu-open="1"] .eb-nav__link:last-child { border-bottom: 0; }
}
/* Phones on their side, and a window at 400% zoom: the open menu starts 120px down, and its links in one column ended
   at 392px or lower, below a 320 to 375px-tall screen; at 568 × 320 "Contact" could not be reached, and the panel
   didn't scroll. Two columns there, and the panel scrolls if it is still too tall (EB-100, 13 Nov 2026). With "Blog"
   (17 Nov 2026, FX-99) there are seven links, so four rows, and Contact sits alone in the last one: only it has no
   rule under it (the :last-child rule above). Home hides its own link and shows six, so it clears Blog's rule in
   home.css. */
@media (max-width: 760px) and (orientation: landscape) and (max-height: 500px) {
  .eb-nav[data-menu-open="1"] .eb-nav__links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    max-height: calc(100vh - 120px);
    max-height: calc(100dvh - 120px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  /* 48px rows (50px elsewhere) so all four end at 316px, inside a 320px-tall screen. */
  .eb-nav[data-menu-open="1"] .eb-nav__link { min-height: 48px; }
}

/* =========================================================================
   5. Footer (partials/footer.html) — "v3": logo, links, rule, contact, legal.
   ========================================================================= */
.eb-footer {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 20px;
  padding: 44px 24px 28px;
  background: var(--ink-900);
  text-align: center;
}
.eb-footer__logo {
  position: relative;
  display: block;
  margin-top: -22px;
  line-height: 0;
  transition: transform var(--duration-base) var(--ease-out-soft);
}
.eb-footer__logo:hover { transform: scale(1.05); }
.eb-footer__logo img {
  display: block;
  width: auto;
  height: 72px;
  transition: filter var(--duration-base) var(--ease-out-soft);
}
.eb-footer__logo:hover img,
.eb-footer__logo:focus-visible img {
  filter: drop-shadow(0 0 2px rgba(255,255,255,.55)) drop-shadow(0 0 10px rgba(255,255,255,.22));
}
.eb-footer__logo:hover::after,
.eb-footer__logo:focus-visible::after { opacity: 1; }

.eb-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 24px;
}
.eb-footer__link {
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: var(--text-micro);
  font-weight: var(--weight-semibold);
  letter-spacing: .14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: border-color var(--duration-fast) var(--ease-out-soft), text-shadow var(--duration-base) var(--ease-out-soft);
}
/* Glow on hover + keyboard focus; the brass underline on hover only. */
a.eb-footer__link:hover,
a.eb-footer__link:focus-visible {
  color: var(--white);
  text-shadow: 0 0 1px rgba(255,255,255,.9), 0 0 6px rgba(255,255,255,.55), 0 0 14px rgba(255,255,255,.28);
}
a.eb-footer__link:hover { border-bottom-color: var(--brass-300); }

.eb-footer__rule {
  width: 100%;
  max-width: 760px;
  height: 1px;
  background: rgba(255,255,255,.14);
}
.eb-footer__row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 10px;
  color: #D9CFC2; /* footer secondary text on ink, from the design */
  font-family: var(--font-sans);
  font-size: var(--text-small);
  line-height: 1.5;
}
.eb-footer__row--legal { font-size: var(--text-micro); }
.eb-footer__contact {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out-soft);
}
.eb-footer__contact:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.eb-footer__phone { color: var(--white); }
/* Deliberate deviation: the design's ring alone (--shadow-focus, 3px
   rgba(63,92,147,.32)) is about 1.3:1 on the ink footer, so the address,
   phone, email and Sitemap links would show no visible focus. The 1px
   brass ring keeps the accessibility floor (visible :focus-visible). */
.eb-footer a:focus-visible,
.eb-footer__choices:focus-visible {
  outline: none;
  border-radius: var(--radius-xs);
  box-shadow: var(--shadow-focus), 0 0 0 1px rgba(232,203,146,.7);
}
/* "Privacy choices" (B3, FX-92): a button that reopens the cookie panel, styled as one of the legal row's links.
   It starts hidden and consent.js shows it, so without JavaScript, when nothing is measured, there's no dead
   control. The second rule keeps the hidden attribute stronger than the row's own display rules. */
.eb-footer__choices {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
}
.eb-footer__row > [hidden] { display: none; }

/* Footer newsletter sign-up (18 Nov 2026, Oliver's format from The Vine Inn's footer; FX-111): a label, an email
   field and Subscribe on one row, between the menu and the contact row. On ink: the field's edge
   rgba(255,255,255,.5) is about 5:1 (WCAG 1.4.11), its placeholder .72 white about 9:1; the vermilion button's
   white text 5.6:1. The message under it is site.js's (data-newsletter-msg). */
.eb-newsletter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 16px;
  width: 100%;
  max-width: 760px;
}
.eb-newsletter__label {
  color: var(--white);
  font: 600 12px/1.4 var(--font-sans);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eb-newsletter__fields {
  display: flex;
  gap: 12px;
  min-width: 0;
}
/* Two classes, so these win over .eb-input's white field, which comes later in this file. */
.eb-newsletter .eb-newsletter__input {
  width: 300px;
  max-width: 100%;
  height: 44px;
  border-color: rgba(255,255,255,.5);
  background: rgba(255,255,255,.06);
  color: var(--white);
}
.eb-newsletter .eb-newsletter__input::placeholder { color: rgba(255,255,255,.72); }
.eb-newsletter .eb-newsletter__input:focus { border-color: var(--brass-300); box-shadow: 0 0 0 2px rgba(232,203,146,.5); }
.eb-newsletter__submit { height: 44px; padding: 0 22px; }
.eb-newsletter__msg {
  width: 100%;
  margin: 0;
  color: #D9CFC2;
  font: 400 var(--text-small)/1.5 var(--font-sans);
}
.eb-newsletter__msg:empty { display: none; }
@media (max-width: 560px) {
  .eb-newsletter__fields { width: 100%; }
  /* Width 0 and flex-basis 0: an email field's natural width (about 20 characters) made the row 45px too wide for a
     320px window and pushed the whole footer sideways (WCAG 1.4.10). */
  .eb-newsletter .eb-newsletter__input { flex: 1 1 0; width: 0; }
}

/* "Stay in the loop": the page-level sign-up band (FX-111), on About, Activities, Blog, Contact and Groups. Sand
   (stucco-100, the colour of Home's amenity band) between hairlines, as Oliver asked. Name, email and Subscribe on
   one row from 640px; stacked below. */
.eb-loop {
  padding: 56px 24px;
  border-top: 1px solid var(--border-hairline);
  border-bottom: 1px solid var(--border-hairline);
  background: var(--stucco-100);
}
.eb-loop__form {
  display: grid;
  justify-items: center;
  gap: 18px;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.eb-loop__head { display: grid; justify-items: center; gap: 10px; }
.eb-loop__title { font-size: clamp(30px, 3.4vw, 40px); line-height: 1.1; }
.eb-loop__text {
  max-width: 52ch;
  color: var(--text-body);
  font-size: 16px;
  line-height: 1.55;
}
.eb-loop__fields {
  display: flex;
  gap: 12px;
  width: 100%;
  max-width: 640px;
  margin-top: 6px;
}
.eb-loop__fields .eb-input { flex: 1; }
.eb-loop__submit { flex: none; min-height: 48px; padding: 0 26px; }
.eb-loop__note {
  color: var(--ink-700); /* ink-500 measured just under 4.5:1 on stucco-100 (axe, About) */
  font-size: var(--text-small);
  line-height: 1.5;
}
.eb-loop__msg {
  width: 100%;
  margin: 0;
  color: var(--text-heading);
  font: 600 var(--text-small)/1.5 var(--font-sans);
}
.eb-loop__msg:empty { display: none; }
@media (max-width: 639px) {
  .eb-loop { padding: 44px 18px; }
  .eb-loop__fields { flex-direction: column; }
  .eb-loop__fields .eb-input { flex: none; }
  .eb-loop__submit { width: 100%; justify-content: center; }
}

@media (min-width: 761px) and (max-width: 1100px) and (orientation: portrait) {
  .eb-footer { margin-top: -2px; }
  .eb-footer__nav { flex-wrap: nowrap; gap: 0 18px; white-space: nowrap; }
  .eb-footer__link { font-size: 13px; }
}
/* With nine links ("Groups", 18 Nov 2026, FX-110) that one row was 801px wide, so from 761 to 860px it scrolled the
   page sideways. 12px text and 12px gaps keep it to one row (about 700px). */
@media (min-width: 761px) and (max-width: 860px) and (orientation: portrait) {
  .eb-footer__nav { gap: 0 12px; }
  .eb-footer__link { font-size: var(--text-micro); }
}

@media (max-width: 760px) {
  .eb-footer__nav { gap: 0 22px; }
  .eb-footer__link { display: inline-flex; align-items: center; min-height: 44px; }
  /* Phones (Oliver, 19 Nov 2026): phone · email on one line, the address under them; then Sitemap · Privacy choices on
     one line, and the copyright last. Only the copyright moves (order), and it isn't a link, so the Tab order still
     follows the page. Until 19 Nov 2026 every item had a line of its own. */
  .eb-footer__row { flex-wrap: wrap; align-items: center; gap: 0 8px; }
  .eb-footer__row > a,
  .eb-footer__row > button,
  .eb-footer__row > span {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    padding: 0;
    font-size: var(--text-small);
    text-align: center;
  }
  .eb-footer__row > :is(.eb-footer__sep--addr, .eb-footer__sep--year) { display: none; }
  .eb-footer__row > .eb-footer__addr { flex-basis: 100%; }
  .eb-footer__row--legal > [data-footer-year] { order: 1; flex-basis: 100%; }
  .eb-footer__row--legal { margin-top: -12px; } /* 8px under the address, for its taller touch area */
}
/* The contact row reads phone, email, address at every width since 17 Nov 2026 (Oliver, FX-97), in the markup
   itself. The design showed the address first on desktop and moved the phone first on phones and tablets with
   `order`; those rules are gone. */
/* Phone padding. The HIFI pages switch at different widths: 560px (Home,
   Rooms, About, Activities), 600px (Accessibility, Blog, Book, Contact,
   Sitemap) and 680px (Gallery). Privacy has no HIFI page; it follows
   Accessibility, whose layout it shares. */
@media (max-width: 560px) {
  .eb-footer { padding: 48px 20px 32px; }
}
@media (max-width: 600px) {
  body:is([data-page="accessibility"], [data-page="blog"], [data-page="book"], [data-page="contact"], [data-page="sitemap"]) .eb-footer { padding: 48px 20px 32px; }
}
@media (max-width: 680px) {
  body[data-page="gallery"] .eb-footer { padding: 48px 20px 32px; }
}

/* =========================================================================
   6. Sticky photo hero + the section that slides over it
      <section class="eb-hero" data-stick-hero> … <img class="eb-hero__photo" data-hero-photo> …
      The page sets the hero height. site.js writes --hero-blur on the photo
      and --hero-fade / --hero-drift on [data-hero-drift] (Home headline).
   ========================================================================= */
@keyframes eb-hero-in { from { transform: scale(1.08); } to { transform: scale(1); } }

.eb-hero {
  position: sticky;
  top: 0;
  z-index: 0;
  width: 100%;
  overflow: hidden;
}
.eb-hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(.10) saturate(1.04) blur(var(--hero-blur, 0px));
  animation: eb-hero-in 1800ms var(--ease-out-soft) both;
  will-change: transform, filter;
}
[data-stick-hero] ~ * { position: relative; z-index: 1; }
[data-stick-hero] + * { box-shadow: 0 -1px 2px rgba(36,28,23,.10), 0 -14px 32px rgba(36,28,23,.22); }

[data-hero-drift] {
  opacity: var(--hero-fade, 1);
  translate: 0 var(--hero-drift, 0px);
}
/* Gone (60% covered): invisible through --hero-fade, and not clickable, but still in the keyboard order and the
   screen-reader view (EB-082). site.js scrolls back to the top when focus lands on it, so focus is never invisible. */
[data-hero-drift][data-hero-gone] { pointer-events: none; }

/* =========================================================================
   7. Tabs (role=tablist). site.js wires roving focus + arrow keys and
      shows/hides the [role=tabpanel] each tab controls.
      --brass: brass underline for the active tab (Rooms page).
   ========================================================================= */
.eb-tabs {
  padding-bottom: 14px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.eb-tabs::-webkit-scrollbar { display: none; }
.eb-tabs__list {
  position: relative;
  display: flex;
  gap: var(--space-6);
  min-width: max-content;
  border-bottom: 1px solid var(--border-hairline);
}
.eb-tabs__tab {
  position: relative;
  margin: 0 0 -1px;
  padding: 0 0 12px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: none;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-size: var(--text-small);
  font-weight: var(--weight-medium);
  line-height: normal;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: var(--transition-color);
}
/* No hover state: inactive tabs stay muted, as in the design-system Tabs. */
.eb-tabs__tab[aria-selected="true"] {
  border-bottom-color: var(--vermillion-500);
  color: var(--text-heading);
  font-weight: var(--weight-semibold);
}
/* brass-600, not the design's brass-500: 2.48:1 on the Rooms intro band fails WCAG 1.4.11 for the selected state. */
.eb-tabs--brass .eb-tabs__tab[aria-selected="true"] { border-bottom-color: var(--brass-600); }
/* Touch: taller tap area (6px above, 14px below). */
@media (hover: none) {
  .eb-tabs__tab { padding: 6px 0 14px; }
}
/* Phones: only the sides change, so a touch phone gets 6px 6px 14px and a
   narrow mouse window keeps the 0 / 12px top and bottom. */
@media (max-width: 760px) {
  .eb-tabs { overflow: visible; }
  .eb-tabs__list { justify-content: space-between; gap: 0; width: 100%; min-width: 0; }
  .eb-tabs__tab {
    min-width: 0;
    min-height: 44px;
    padding-left: 6px;
    padding-right: 6px;
    font-size: var(--text-micro);
    letter-spacing: .03em;
  }
}

/* =========================================================================
   8. Cards
   ========================================================================= */
/* Room card (Home rooms preview; Rooms page uses its own horizontal card).
   position: relative makes the card the box its hidden "(opens in a new tab)" text is placed in, so the card's
   overflow: hidden clips it too; otherwise it escaped to the section and scrolled Home 10px sideways at 320 × 256
   (EB-084). Nothing in the card is placed against an outer box, and nothing moves. */
.eb-room-card {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr;
  overflow: hidden;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  background: var(--surface-card);
  box-shadow: var(--shadow-card);
  color: var(--text-body);
  transition: var(--transition-lift);
}
.eb-room-card:hover { transform: translateY(var(--hover-lift)); box-shadow: var(--shadow-raised); }
.eb-room-card__photo {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--stucco-200);
}
.eb-room-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--photo-tint);
  transition: transform var(--duration-photo) var(--ease-out-soft);
}
.eb-room-card__photo img:hover { transform: scale(1.03); }
.eb-room-card__body {
  display: grid;
  align-content: start;
  gap: var(--space-3);
  padding: var(--space-5);
}
.eb-room-card__building {
  justify-self: start;
  color: var(--text-brand);
  font-size: var(--eyebrow-size);
  font-weight: var(--weight-semibold);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out-soft);
}
.eb-room-card__name {
  font-size: var(--text-title);
  line-height: var(--lh-title);
}
.eb-room-card__name a { color: inherit; text-decoration: none; transition: color var(--duration-fast) var(--ease-out-soft); }
.eb-room-card__building:hover,
.eb-room-card__name a:hover { color: var(--vermillion-500); }
.eb-room-card__photo:focus-visible { outline: none; border-radius: var(--radius-xs); box-shadow: inset 0 0 0 3px var(--pool-500); }
/* Deliberate deviation: the design's --shadow-focus ring is 1.63:1 on the white
   card (below 3:1); the design's card-level pool outline doesn't exist here.
   A 2px pool outline is 4.02:1 on white. */
.eb-room-card__building:focus-visible,
.eb-room-card__name a:focus-visible {
  outline: 2px solid var(--border-focus);
  outline-offset: 2px;
  border-radius: var(--radius-xs);
  box-shadow: none;
}
.eb-room-card__meta { color: var(--text-muted); font-size: var(--text-small); }
.eb-room-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-2);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-hairline);
}
.eb-room-card__note { max-width: 18ch; color: var(--text-muted); font-size: var(--text-micro); }
.eb-room-card__actions { display: flex; gap: var(--space-2); margin-left: auto; }

/* Amenity item: tinted icon circle + title (+ optional detail). */
.eb-amenity {
  --icon-size: 21px;
  display: grid;
  align-content: start;
  gap: var(--space-2);
}
.eb-amenity--center { justify-items: center; text-align: center; }
.eb-amenity__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-circle);
  background: var(--vermillion-100);
  color: var(--vermillion-600);
}
.eb-amenity__title {
  color: var(--text-heading);
  font-family: var(--font-sans);
  font-size: var(--text-size-body);
  font-weight: var(--weight-semibold);
}
.eb-amenity__detail { color: var(--text-muted); font-size: var(--text-small); }
.eb-amenity--on-dark .eb-amenity__icon { background: rgba(255,255,255,.10); color: var(--brass-300); }
.eb-amenity--on-dark .eb-amenity__title { color: var(--white); }
.eb-amenity--on-dark .eb-amenity__detail { color: var(--text-on-dark-soft); }

/* Plain white card (list cards, info cards). */
.eb-card {
  padding: var(--space-5);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  background: var(--surface-card);
  box-shadow: var(--shadow-card);
}
.eb-card--lift { transition: var(--transition-lift); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .eb-card--lift:hover { transform: translateY(var(--hover-lift)); box-shadow: var(--shadow-raised); }
}

/* =========================================================================
   9. Photo band with a card ("come see it for yourself" and friends)
      Full-bleed photo, aspect 16/6.6, a white card in the 1080 column.
      Tune with --band-ratio, --band-min, --band-min-mobile, --card-max.
      --end: card on the right. --center-mobile: card centred on phones.
   ========================================================================= */
.eb-photo-band {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: var(--band-min, min(52vh, 400px));
  aspect-ratio: var(--band-ratio, 16 / 6.6);
  overflow: hidden;
}
.eb-photo-band__media { position: absolute; inset: 0; display: block; }
.eb-photo-band__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: sepia(.10) saturate(1.04);
}
.eb-photo-band__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container-content);
  margin: 0 auto;
  padding: 48px 24px;
}
.eb-photo-band--end .eb-photo-band__inner { display: flex; justify-content: flex-end; }
.eb-photo-band__card {
  display: inline-block;
  max-width: min(var(--card-max, 380px), 100%);
  padding: clamp(24px, 3vw, 36px) clamp(24px, 3vw, 40px);
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-md);
  background: var(--surface-card);
  box-shadow: var(--shadow-card);
}
.eb-photo-band__title {
  margin-top: 12px;
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.14;
}
.eb-photo-band__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}
@media (min-width: 761px) and (max-width: 1100px) and (orientation: portrait) {
  .eb-photo-band { aspect-ratio: auto; }
}
@media (max-width: 760px) {
  .eb-photo-band { aspect-ratio: auto; min-height: var(--band-min-mobile, var(--band-min, min(52vh, 400px))); }
  .eb-photo-band--center-mobile .eb-photo-band__inner { display: flex; justify-content: center; padding: 40px 20px; }
  .eb-photo-band--center-mobile .eb-photo-band__card { text-align: center; }
}

/* =========================================================================
   10. Carousel controls (Home photo carousel; reuse for any slideshow)
   ========================================================================= */
.eb-carousel-arrow {
  --icon-size: 28px;
  position: absolute;
  top: 50%;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-circle);
  /* 65% ink disc behind the icon (WCAG 1.4.11): 4.88:1 or better even over a pure-white photo pixel. The design's bare
     icon at 85% opacity measured as low as 1.44:1 against the slides. */
  background: rgba(36,28,23,.65);
  color: var(--stucco-50);
  opacity: 1;
  filter: drop-shadow(0 1px 2px rgba(36,28,23,.9)) drop-shadow(0 0 6px rgba(36,28,23,.55));
  transform: translateY(-50%);
  transition: background-color var(--duration-fast) var(--ease-out-soft);
}
@media (hover: hover) { .eb-carousel-arrow:hover { background: rgba(36,28,23,.75); } } /* mouse only (EB-103, 13 Nov 2026) */
.eb-carousel-arrow--prev { left: 8px; }
.eb-carousel-arrow--next { right: 8px; }

.eb-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  pointer-events: none;
}
.eb-dots__dot {
  width: var(--dot-size, 7px);
  height: var(--dot-size, 7px);
  border-radius: var(--radius-circle);
  background: rgba(251,247,239,.45);
  box-shadow: 0 1px 3px rgba(36,28,23,.5);
  transition: background 420ms var(--ease-out-soft);
}
.eb-dots__dot[data-active] { background: rgba(251,247,239,1); }

/* Pause / play for anything that moves on its own. */
.eb-pause-btn {
  --icon-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 6px 4px;
  border: 0;
  background: transparent;
  color: var(--pool-600);
  font-family: var(--font-sans);
  font-size: var(--text-label);
  font-weight: var(--weight-semibold);
  line-height: normal;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eb-pause-btn:focus-visible { outline: 3px solid var(--pool-500); outline-offset: 2px; }
/* The arrows sit on photos, so they use the same two-colour focus ring as the see-through navbar (WCAG C40). */
.eb-carousel-arrow:focus-visible { outline: 2px solid var(--white); outline-offset: 2px; box-shadow: 0 0 0 2px var(--ink-900); }
@media (max-width: 760px) {
  .eb-pause-btn { min-height: 44px; }
}
/* Home's arrows and Pause ship with `hidden`, and home.js shows them. The display rules above beat the plain
   `[hidden]` rule in base.css, so without JavaScript they showed and did nothing. EB-088. Only without JavaScript:
   with it, they paint from the start as before, so a slow home.js doesn't make the Pause row pop in and shift the page. */
@media (scripting: none) {
  .eb-carousel-arrow[hidden],
  .eb-pause-btn[hidden] { display: none; }
}

/* =========================================================================
   11. Lightbox dialog (Rooms + Gallery). site.js builds the DOM on demand:
       ElBonita.lightbox.open(items, index, opener)
   ========================================================================= */
@keyframes eb-box-in { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }

.eb-lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(36,28,23,.93);
  color: var(--white);
}
.eb-lightbox[hidden] { display: none; }
.eb-lightbox__stage {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: var(--lb-pad, 72px 24px 168px);
  animation: eb-box-in 320ms var(--ease-out-soft);
}
.eb-lightbox__img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: sepia(.10) saturate(1.04);
  box-shadow: 0 18px 60px rgba(0,0,0,.5);
}
.eb-lightbox__nav,
.eb-lightbox__close {
  position: absolute;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  border-radius: var(--radius-circle);
  background: rgba(251,247,239,.14);
  color: var(--white);
  font-family: var(--font-sans);
  font-weight: 300;
  line-height: 1;
  transition: background 180ms var(--ease-out-soft);
}
@media (hover: hover) { /* mouse only (EB-103, 13 Nov 2026) */
  .eb-lightbox__nav:hover,
  .eb-lightbox__close:hover { background: rgba(251,247,239,.26); }
}
.eb-lightbox__nav { top: 50%; width: 52px; height: 52px; font-size: 26px; transform: translateY(-50%); }
.eb-lightbox__nav--prev { left: 20px; }
.eb-lightbox__nav--next { right: 20px; }
.eb-lightbox__close { top: var(--lb-close-inset, 20px); right: var(--lb-close-inset, 20px); width: 44px; height: 44px; font-size: 22px; }
.eb-lightbox__counter {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 112px;
  color: rgba(251,247,239,.72);
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: .04em;
  text-align: center;
}
.eb-lightbox__thumbs {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  display: flex;
  gap: 8px;
  padding: 0 20px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.eb-lightbox__thumbs::-webkit-scrollbar { display: none; }
/* Centre the strip when it fits, start-align it when it scrolls. */
.eb-lightbox__thumbs > :first-child { margin-left: auto; }
.eb-lightbox__thumbs > :last-child { margin-right: auto; }
.eb-lightbox__thumb {
  flex: none;
  width: var(--lb-thumb-w, 96px);
  height: var(--lb-thumb-h, 66px);
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: var(--radius-xs);
  outline: 2px solid transparent;
  outline-offset: 0;
  background: rgba(251,247,239,.12);
  opacity: .5;
  transition: opacity 180ms var(--ease-out-soft), outline-color 180ms var(--ease-out-soft);
}
@media (hover: hover) { .eb-lightbox__thumb:hover { opacity: 1; } } /* mouse only (EB-103, 13 Nov 2026) */
.eb-lightbox__thumb[aria-current="true"] { opacity: 1; outline-color: var(--brass-300); }
.eb-lightbox__thumb img { width: 100%; height: 100%; object-fit: cover; filter: sepia(.10) saturate(1.04); }
.eb-lightbox button:focus-visible { outline: 3px solid var(--pool-500); outline-offset: 2px; }
@media (hover: none) {
  .eb-lightbox__nav { background: rgba(251,247,239,.2); }
}
@media (max-width: 760px) and (orientation: portrait) {
  .eb-lightbox { --lb-pad: 56px 12px 150px; --lb-close-inset: 12px; --lb-thumb-w: 72px; --lb-thumb-h: 50px; }
  .eb-lightbox__nav { width: 44px; height: 44px; }
  .eb-lightbox__nav--prev { left: 8px; }
  .eb-lightbox__nav--next { right: 8px; }
  .eb-lightbox__counter { bottom: 92px; }
}
/* In an upright window a landscape photo spans the full width, so the arrows sit over it. A 65% ink disc keeps the
   white glyph at 5.2:1 or better even over a pure-white pixel (gap C11), like the other photo arrows. The design's
   light disc (14-22% stucco) stays wherever the arrows sit on the dark backdrop. */
@media (orientation: portrait) {
  .eb-lightbox__nav { background: rgba(36,28,23,.65); }
}
@media (orientation: portrait) and (hover: hover) {
  .eb-lightbox__nav:hover { background: rgba(36,28,23,.75); }
}
@media (orientation: landscape) and (max-height: 500px) {
  .eb-lightbox { --lb-pad: 16px 84px 84px; --lb-close-inset: 12px; --lb-thumb-w: 64px; --lb-thumb-h: 44px; }
  .eb-lightbox__thumbs { bottom: 10px; }
  .eb-lightbox__counter { display: none; }
}

/* =========================================================================
   12. Forms (group-stay enquiry on Home + Contact)
   ========================================================================= */
.eb-field {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: var(--ink-500);
  font: 600 var(--text-label)/1 var(--font-sans);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}
/* Visible "(required)" after a label (WCAG 3.3.2). Wrap the label text and the marker in .eb-field__label
   so they stay one grid row: <span class="eb-field__label">Name <span class="eb-field__req">(required)</span></span>.
   .eb-field__label needs no rules. #7A6A5E on white is 5.18:1. */
.eb-field__req {
  color: var(--ink-500);
  font-weight: var(--weight-regular);
  letter-spacing: normal;
  text-transform: none;
}
.eb-input {
  display: block;
  width: 100%;
  min-width: 0;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--border-field);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--text-heading);
  font: 400 16px/1.2 var(--font-sans);
  letter-spacing: normal;
  text-transform: none;
}
/* :focus-within too: Chrome gives date fields an inner calendar button as an extra tab stop, and while it has
   focus the field itself doesn't match :focus (WCAG 2.4.7). */
.eb-input:focus,
.eb-input:focus-within { outline: none; border-color: var(--pool-500); box-shadow: var(--shadow-focus); }
textarea.eb-input { height: auto; padding: 12px 14px; line-height: 1.5; resize: vertical; }
/* Placeholder colour set explicitly (WCAG 1.4.3): browser defaults are #A9A9A9 in Safari (2.35:1 on white) and
   about #898482 in Firefox (3.69:1). ink-500 is 5.18:1 in every browser. */
.eb-input::placeholder { color: var(--ink-500); opacity: 1; }
/* iOS: keep date inputs inside their grid cell, text left-aligned.
   Line-height stays 1.2: the design's line-height:46px here loses to the
   inputs' inline font shorthand, so it renders 1.2 everywhere. */
.eb-input[type="date"] {
  max-width: 100%;
  -webkit-appearance: none;
  appearance: none;
  text-align: left;
  /* Safari (WebKit) stops centring the date text vertically once appearance is none and puts it at the top of the
     48px box; 12px above and below centres it there and changes nothing in Chrome (EB-096, 13 Nov 2026). */
  padding-top: 12px;
  padding-bottom: 12px;
}
.eb-input[type="date"]::-webkit-date-and-time-value { text-align: left; }
/* Firefox draws the date with spaced separators and its own calendar icon inside the box, and needs about 129px for
   "mm / dd / yyyy": side by side on Home at 410 to 429px and on Contact at 360px it cut the year ("2026" showed as
   "202"). Only Firefox matches this test; it gets 10px more room inside the field (EB-096). */
@supports (-moz-appearance: none) {
  .eb-input[type="date"] { padding-inline: 10px 4px; }
}

/* Pill radio chips (native radios, styled). */
.eb-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.eb-chip { position: relative; display: inline-flex; }
.eb-chip input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}
.eb-chip__text {
  display: inline-flex;
  align-items: center;
  height: 40px;
  padding: 0 16px;
  border: 1px solid var(--border-hairline);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--text-heading);
  font: 600 14px/1 var(--font-sans);
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
}
/* Selection switches instantly, as in the design (no colour transition). */
@media (hover: hover) { .eb-chip:hover .eb-chip__text { border-color: var(--brass-500); } } /* mouse only (EB-103, 13 Nov 2026) */
/* Checked: ink text (6.31:1, WCAG 1.4.3) and a 2px brass-600 edge, 3.83:1 against the white panel (1.4.11);
   the design's brass-500 edge was 2.65:1. The edge is border + inset shadow, so the chip keeps its size. */
.eb-chip input:checked + .eb-chip__text {
  background: var(--brass-500);
  border-color: var(--brass-600);
  box-shadow: inset 0 0 0 1px var(--brass-600);
  color: var(--ink-900);
}
/* The design-system default focus ring (2px), as on the design's chip buttons. */
.eb-chip input:focus-visible + .eb-chip__text { outline: 2px solid var(--border-focus); outline-offset: 2px; }
@media (max-width: 760px) {
  .eb-chip__text { height: 44px; }
}

/* Sent / failed states */
.eb-form-success { display: flex; align-items: center; gap: 20px; padding: 8px 0; }
.eb-form-success[hidden] { display: none; }
.eb-form-success__icon {
  --icon-size: 22px;
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-circle);
  background: var(--vermillion-100);
  color: var(--vermillion-600);
}
.eb-form-success__text { display: grid; gap: 6px; }
.eb-form-success__title { font-size: 26px; line-height: 1.15; }
.eb-form-success__title:focus { outline: none; }
.eb-form-success__note { color: var(--ink-700); font: 400 15px/1.5 var(--font-sans); }
.eb-form-error {
  grid-column: 1 / -1;
  color: var(--vermillion-600);
  font: 400 14px/1.5 var(--font-sans);
}

/* =========================================================================
   13. Long-form document page (Accessibility, Privacy)
       <section class="eb-doc"><div class="eb-doc__inner">
         <div class="eb-doc__block"> h1.eb-doc__title + p.eb-doc__lede </div>
         <nav class="eb-doc__toc"> "On this page" </nav>
         <div class="eb-doc__block" id="…"> h2.eb-doc__heading, p.eb-doc__text,
           ul.eb-doc__list, div.eb-doc__group (h3.eb-doc__group-title,
           h4.eb-doc__label), address.eb-doc__address </div>
       </div></section>
   One prose column (720px) on stucco under the solid navbar, then the footer.
   No hero, photos, reveals or page JS. The values are the ones the HIFI
   Accessibility page renders; they hold at every width (only the h1 clamp
   changes). The HIFI page has only paragraphs. The "On this page" list, the
   h3/h4 sub-headings and the bulleted lists (added 7 Nov 2026 for the
   property details) are built from the same type scale and colours. Moved
   here from pages/accessibility.css on 7 Nov 2026, when Privacy reused it.
   Markup and notes: docs/components.md, "Long-form document page".
   ========================================================================= */

/* 148px top padding clears the fixed bar (84/76/64px) and puts the h1 at
   y=148 at every width. The design's phone section overrides do not match
   this section, so the 24px gutter and 96px bottom stay on phones too. */
.eb-doc {
  padding: 148px 24px 96px;
  background: var(--stucco-50);
}

.eb-doc__inner {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.eb-doc__block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* h1: Literata 400 / opsz 72 / -.02em come from base.css. */
.eb-doc__title {
  font-size: clamp(40px, 5vw, 56px);
  line-height: 1.05;
}

.eb-doc__lede {
  margin-top: 8px;
  max-width: 56ch;
  font-size: var(--text-lede);
  line-height: 1.6;
  color: var(--ink-700);
}

/* h2: 28px / 1.15 (the title token's size, a tighter line-height). */
.eb-doc__heading {
  font-size: var(--text-title);
  line-height: 1.15;
}

.eb-doc__text {
  max-width: 68ch;
  font-size: var(--text-size-body);
  line-height: 1.8;
  color: var(--ink-700);
}

/* Postal + contact block. Lines are flex items 4px apart; .eb-doc__address-gap
   starts a second group (phone / email) 12px further down. Links keep the
   base link style. */
.eb-doc__address {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: var(--text-size-body);
  line-height: 1.6;
  color: var(--ink-700);
}
.eb-doc__address-name {
  font-weight: var(--weight-semibold);
  color: var(--text-heading);
}
.eb-doc__address-gap { margin-top: 12px; }
.eb-doc__address-email { word-break: break-word; }
/* The design colours these links inline (var(--text-link)), so the global
   a:hover colour never applies: on hover only the underline thickens (base.css). */
.eb-doc__address a:hover { color: var(--text-link); }
/* Touch screens: the phone and email lines are about 29.6px apart, and the 10px tap padding that phones give tel:
   and mailto: links made the two boxes overlap, so the email took the bottom of the phone number (about 30px left
   to tap). Each now grows away from the other, the phone up into the gap above it and the email down, both at least
   44px, without overlapping. Padding on an inline link doesn't move the text. position: relative paints the block
   above the paragraph after it, which otherwise took the bottom of the email's area (EB-101, 13 Nov 2026). */
@media (pointer: coarse) {
  .eb-doc__address { position: relative; }
  main .eb-doc__address a[href^="tel"] { padding-top: 21px; padding-bottom: 3px; }
  main .eb-doc__address a[href^="mailto"] { padding-top: 3px; padding-bottom: 21px; }
}

/* ---- "On this page" ----------------------------------------------------- */
.eb-doc__toc {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.eb-doc__toc-title { line-height: 1; }
/* Two columns where they fit (each item fills down its column first). */
.eb-doc__toc-list {
  columns: 2;
  column-gap: 32px;
  font-size: var(--text-size-body);
  line-height: 1.5;
}
.eb-doc__toc-list li { break-inside: avoid; }
.eb-doc__toc-link {
  display: inline-block;
  padding: 4px 0;
}
@media (max-width: 560px) {
  .eb-doc__toc-list { columns: 1; }
}
/* Touch screens: each link is 44px tall (24px line + 2 × 10px), so the list
   grows instead of the hit areas overlapping. */
@media (pointer: coarse) {
  .eb-doc__toc-link { padding: 10px 0; }
}

/* ---- Sub-sections (h3) and their labels (h4) ------------------------------ */
.eb-doc__group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 8px;
}
/* h3: Literata at the lede size; opsz 72 and -.02em come from base.css. */
.eb-doc__group-title {
  font-size: var(--text-lede);
  line-height: 1.3;
}
/* h4: Hanken Grotesk 600 in the heading colour (base.css), body size. */
.eb-doc__label {
  margin-top: 8px;
  font-size: var(--text-size-body);
  line-height: 1.5;
}

/* ---- Bulleted lists --------------------------------------------------------- */
.eb-doc__list {
  max-width: 68ch;
  padding-left: 1.25em;
  list-style: disc;
  font-size: var(--text-size-body);
  line-height: 1.7;
  color: var(--ink-700);
}
.eb-doc__list li + li { margin-top: 6px; }
.eb-doc__list li::marker { color: var(--ink-500); }
/* Run-in bold lead-ins ("What it collects:") in lists and paragraphs. */
.eb-doc__list strong,
.eb-doc__text strong {
  font-weight: var(--weight-semibold);
  color: var(--text-heading);
}
/* A list inside a list item (hollow bullets), and a paragraph after it in
   the same item, keep the item spacing. */
.eb-doc__list .eb-doc__list {
  margin-top: 6px;
  list-style-type: circle;
}
.eb-doc__list li > p { margin-top: 6px; }

/* Phones: the in-text links (to other sections and pages) get the same 10px
   vertical tap padding that section 3 gives tel: and mailto: links. */
@media (max-width: 760px) {
  .eb-doc__text a:not([href^="tel"]):not([href^="mailto"]),
  .eb-doc__list a { padding-top: 10px; padding-bottom: 10px; }
}

/* =========================================================================
   Cookie banner and "Privacy choices" panel (B3, FX-92): CookieConsent 3.3.0,
   themed from the tokens. The library's own stylesheet loads before this file
   (/assets/vendor/cookieconsent-3.3.0/cookieconsent.css), so these win.
   "Accept all" and "Reject all" share one style on purpose (equal choices);
   "Preferences" and "Save choices" use the quieter one. Since 19 Nov 2026
   (Chris; FX-117) that shared style is the site's vermilion accent, as on
   "Book now" (white on #CC261B 5.44:1, hover #A81E15 7.34:1); ink before.
   Accenting only "Accept all" would make it the more eye-catching choice,
   which California's rules give as an unequal one (11 CCR 7004(a)(2)(D)).
   ========================================================================= */
#cc-main {
  --cc-font-family: var(--font-sans);
  --cc-bg: var(--white);
  --cc-primary-color: var(--ink-900);
  --cc-secondary-color: var(--ink-700);
  --cc-link-color: var(--pool-700);
  --cc-btn-primary-bg: var(--action-primary);
  --cc-btn-primary-color: var(--white);
  --cc-btn-primary-border-color: var(--action-primary);
  --cc-btn-primary-hover-bg: var(--action-primary-hover);
  --cc-btn-primary-hover-color: var(--white);
  --cc-btn-primary-hover-border-color: var(--action-primary-hover);
  --cc-btn-secondary-bg: var(--stucco-100);
  --cc-btn-secondary-color: var(--ink-900);
  --cc-btn-secondary-border-color: var(--border-field);
  --cc-btn-secondary-hover-bg: var(--stucco-200);
  --cc-btn-secondary-hover-color: var(--ink-900);
  --cc-btn-secondary-hover-border-color: var(--border-field);
  --cc-btn-border-radius: var(--radius-sm);
  --cc-modal-border-radius: var(--radius-md);
  --cc-overlay-bg: rgba(36, 28, 23, .65);
  --cc-separator-border-color: var(--stucco-200);
  --cc-toggle-on-bg: var(--pool-600);
  --cc-toggle-off-bg: var(--ink-500);
  --cc-toggle-readonly-bg: var(--stucco-300);
  --cc-toggle-readonly-knob-icon-color: var(--ink-700);
  --cc-cookie-category-block-bg: var(--stucco-50);
  --cc-cookie-category-block-border: var(--stucco-200);
  --cc-cookie-category-block-hover-bg: var(--stucco-100);
  --cc-cookie-category-block-hover-border: var(--stucco-200);
  --cc-cookie-category-expanded-block-bg: var(--white);
  --cc-cookie-category-expanded-block-hover-bg: var(--stucco-50);
  --cc-footer-bg: var(--stucco-50);
  --cc-footer-color: var(--ink-700);
  --cc-footer-border-color: var(--stucco-200);
}
/* After a choice closes the banner, consent.js gives the page itself focus, so the next Tab starts from the top (FX-115).
   Firefox then drew the site's focus ring around the whole page; the page is never a Tab stop, so it has no ring. */
body:focus { outline: none; }
/* Tap targets: the library's buttons are 42px tall and its close button 40px; 44px is the floor on this site. */
#cc-main .cm__btn,
#cc-main .pm__btn { min-height: 44px; }
#cc-main .pm__close-btn { width: 44px; height: 44px; }
/* Side by side, "Accept all" and "Reject all" are exactly the same width: the library spaces them with a margin
   on the second button, which made it 6px narrower, so the space becomes a grid gap. */
#cc-main .cm--inline .cm__btn-group { column-gap: .375rem; }
#cc-main .cm--inline .cm__btn + .cm__btn { margin-left: 0; }
/* The privacy-policy link in the banner's text (FX-117; only where the site has a privacy page): the library shows a
   link there in the text's own colour, bold, underlined only on mouse hover. It gets the site's link look instead
   (base.css), so it reads as a link without a mouse: pool teal (#2F6F72, 5.77:1 on white), always underlined. */
#cc-main .cm__desc a {
  color: var(--text-link);
  background-image: none;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
#cc-main .cm__desc a:hover { color: var(--text-link-hover); text-decoration-thickness: 2px; }
/* A phone held sideways (640px wide or less, 500px tall or less): the library stacks the panel's three buttons, which
   left about two lines of height for the choices themselves. One row of buttons gives the list that height back.
   The library sets these with !important, so the overrides need it too (the one exception to "no !important"). */
@media (max-width: 640px) and (orientation: landscape) and (max-height: 500px) {
  #cc-main .pm__footer,
  #cc-main .pm__btn-group { flex-direction: row !important; }
  #cc-main .pm__btn-group { flex: 1; }
  #cc-main .pm__btn-group:first-child { flex: 2; }
  #cc-main .pm__btn { flex: 1; }
  #cc-main .pm__btn + .pm__btn,
  #cc-main .pm__btn-group + .pm__btn-group { margin: 0 0 0 .375rem !important; }
}
/* The banner on phones (FX-104): the library stacks its three buttons at 640px wide and under. "Accept all" and
   "Reject all" sit side by side instead, the same width, with "Preferences" below, which saves a row of height.
   !important for the same reason as above. */
@media (max-width: 640px) {
  #cc-main .cm .cm__btn-group:first-child { display: grid !important; grid-template-columns: 1fr 1fr; column-gap: .375rem; }
  #cc-main .cm .cm__btn-group:first-child .cm__btn { margin: 0 !important; }
}
/* A window shorter than the banner, such as a desktop at 400% zoom (320 x 256): the banner keeps inside the window
   and scrolls, so its title is never cut off above the top edge (WCAG 1.4.10; FX-104). */
#cc-main .cm { max-height: calc(100vh - 1rem); max-height: calc(100dvh - 1rem); overflow-y: auto; }
/* The description shows in full (Nov 18, 2026, FX-112). CookieConsent caps it at about 135px with its own scrollbar;
   at 320px wide the text needs about 165px, so the last sentence ("The site works the same either way.") sat hidden
   in a box that only scrolled by touch or mouse (Chrome and WebKit; also at 360 and 375px, 9px of padding). With the
   cap gone, a banner too tall for its window scrolls as a whole (the rule above), as it already did at 320 x 256. */
#cc-main .cm .cm__desc { max-height: none; overflow: visible; }
/* The "Privacy choices" panel in the site's own style (FX-104): the page's stucco background with white rows, and
   the title set like the site's headings. The banner itself stays white. */
#cc-main .pm {
  --cc-bg: var(--stucco-50);
  --cc-cookie-category-block-bg: var(--white);
  --cc-cookie-category-block-hover-bg: var(--white);
  --cc-footer-bg: var(--stucco-100);
}
#cc-main .pm__title {
  font-family: var(--font-display);
  font-weight: var(--weight-regular);
  font-variation-settings: 'opsz' var(--font-display-opsz);
  font-size: 1.75rem;
  line-height: 1.15;
  letter-spacing: var(--tracking-display);
  text-transform: lowercase;
}

/* =========================================================================
   Reduced motion
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  .eb-hero__photo { animation: none; }
  .eb-button:active,
  .eb-nav__logo:hover,
  .eb-footer__logo:hover,
  .eb-room-card:hover,
  .eb-room-card__photo img:hover { transform: none; }
  .eb-lightbox__stage { animation: none; }
  [data-hero-drift] { translate: none; }
}
