/* Royal Court — shared shell: palette, chrome, and everything below the scroll.
   The opening scroll's geometry lives in royal-court-film.css.
   Canonical palette and rules: brand-canon.md §6.

   CREAM IS THE PAPER; OXBLOOD, WOOD AND PUTTY ARE THE HOUSE.
   Full-frame colour scenes restore the warmth and movement of the original edit.

   The one exception is --frame: the darkened surround the opening story runs
   inside. It is theatre, not decoration — it holds for the whole story and
   releases at Three addresses, where the site itself begins. */
:root {
  --paper: #f1eadf;                        /* warm cream from the original Royal Court edit */
  --paper-2: #ded2c1;
  --ink: #211f1a;
  --ink-2: #4b443a;
  --ink-3: #766c5e;
  --hair: #d4c7b5;
  --frame: #171410;
  --bumper: clamp(14px, 5.5vw, 112px);     /* the side buffer either side of the strip */

  /* the original warm house palette, restored as scene-scale colour */
  --pink: #f0d9d2;
  --olive: #b7b49a;
  --warm: #ded2c1;
  --putty: #c6b9a4;
  --wood: #7d5a3e;
  --tobacco: #77432f;
  --oxblood: #52251f;
  --burgundy: #6a2f26;
  --night: #10100e;
  --flame: #c8552f;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink);
  font-family: Arial, Helvetica, sans-serif; }
body.menu-open { overflow: hidden; }
.home > .rc-bar { position: fixed; inset: 0 0 auto; }
.home:not(.past-opening) > .rc-bar,
.home:not(.past-opening) > .mobile-actions { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; }
.home .bar-brand { margin: 0; }
.home-horse { display: flex; align-items: center; width: 68px; min-height: 52px; }
.home-horse > span { display: block; position: relative; width: 60px; height: 40px; overflow: hidden; }
.home-horse img { position: absolute; width: 200px; height: 80px; max-width: none; left: -70px; top: -35px; }
.home:not(.past-opening) .home-horse { filter: brightness(0) invert(1); mix-blend-mode: difference; }
.home:not(.past-opening) .bar-nav:not(.is-open) { color: var(--paper); mix-blend-mode: difference; }
.home .bar-nav a { opacity: .8; transition: opacity .2s; }
.home .bar-nav a:hover, .home .bar-nav a:focus-visible,
.home.past-opening .bar-nav a, .home .bar-nav.is-open a { opacity: 1; }
.home .pill { min-height: 42px; }
.home:not(.past-opening) .pill-contact, .home:not(.past-opening) .bar-menu { background: var(--paper); color: var(--ink); border-color: transparent; }
.home:not(.past-opening) .pill-contact:hover, .home:not(.past-opening) .bar-menu:hover { background: var(--ink); color: var(--paper); }
.home .bar-nav a { line-height: 1.3; }
.home .sheet { z-index: 90; }
.home .mobile-actions { z-index: 70; }
@media (max-width: 860px) {
  .home .enter-cue { bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
  .home .closing-offer { bottom: calc(24px + env(safe-area-inset-bottom, 0px)); }
}
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
img { display: block; width: 100%; height: 100%; object-fit: cover; }
::selection { background: var(--pink); color: var(--ink); }

.skip-link { position: fixed; z-index: 100; left: 24px; top: -70px; padding: 13px 18px;
  border-radius: 999px; background: var(--ink); color: var(--paper);
  font-size: 11px; letter-spacing: .1em; }
.skip-link:focus { top: 22px; }

/* ── floating chrome — must read on white and on full-bleed photography ── */
.floating-actions { position: fixed; z-index: 70; inset: 22px 24px auto; display: flex;
  justify-content: space-between; align-items: center; pointer-events: none; }
.floating-actions .action, .floating-actions .action-group { pointer-events: auto; }
.action-group { display: flex; align-items: center; gap: 8px; }
.action { display: inline-flex; align-items: center; justify-content: center; min-height: 42px;
  padding: 0 18px; border: 1px solid rgba(255,255,255,.52); border-radius: 999px;
  background: rgba(20,17,14,.58); color: #fff; backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px); font-size: 10px; letter-spacing: .18em; cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease; }
.action:hover, .action:focus-visible { background: var(--paper); color: var(--ink);
  border-color: var(--paper); outline: none; }
/* BOOK must be solid on the film's photography AND on the cream sections below
   it; paper-on-paper made it vanish at Three addresses. */
.action-book { min-width: 98px; border-color: var(--ink); background: var(--ink); color: var(--paper); font-weight: 700; }
.action-book:hover, .action-book:focus-visible { background: var(--flame); color: #fff; border-color: var(--flame); }

.menu-panel { position: fixed; z-index: 80; inset: 0; padding: 9vh 6vw;
  background: var(--paper); color: var(--ink); transform: translateY(-102%); visibility: hidden;
  transition: transform .65s cubic-bezier(.77,0,.18,1), visibility 0s .65s; }
.menu-panel.is-open { transform: none; visibility: visible; transition-delay: 0s; }
.menu-close { position: absolute; right: 3vw; top: 3vh; padding: 12px 18px;
  border: 1px solid rgba(26,26,23,.32); border-radius: 999px; background: transparent;
  font-size: 9px; letter-spacing: .18em; cursor: pointer; }
.menu-brand { margin: 0; font: 38px/1 Georgia, serif; }
.menu-brand span { display: block; margin-top: 9px; font: 8px Arial, sans-serif; letter-spacing: .23em; color: var(--ink-3); }
.menu-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 5vw; margin-top: 14vh; }
.menu-grid div { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.menu-grid span { margin-bottom: 18px; font-size: 8px; letter-spacing: .2em; color: var(--ink-3); }
.menu-grid a { border-bottom: 1px solid transparent; font: clamp(25px,2.6vw,44px)/1.04 Georgia, serif; }
.menu-grid a:hover, .menu-grid a:focus-visible { border-color: var(--ink); outline: none; }
/* Rome, from here stays subordinate in the menu: it is editorial, not a
   destination competing with the booking journey. */
.menu-quiet { font-size: clamp(15px,1.3vw,20px) !important; color: var(--ink-3); }

/* ── the scroll container ── */
main { position: relative; width: 100%; min-width: 0; overflow-x: clip; }

/* The opening is a story held inside the page, not the page itself. A darkened
   surround runs the whole length of the scroll and every one of the seventeen
   beats stays inside the lit strip — including the last. The release comes
   afterwards, at Three addresses, where the site opens to full width. */
.opening-reel { position: relative; padding-inline: var(--bumper); background: var(--frame); }
.reel-sticky { position: relative; width: 100%; }

.reel-progress { position: sticky; z-index: 40; left: 50%; bottom: 20px; width: 112px; height: 1px;
  transform: translateX(-50%); overflow: hidden; mix-blend-mode: difference;
  background: rgba(255,255,255,.28); }
.reel-progress i { display: block; width: 100%; height: 1px; transform: scaleX(0);
  transform-origin: left; background: #fff; }

/* ── below the scroll: the utility layer. Clarity, on the same white. ── */
.section-kicker { margin: 0 0 22px; color: var(--flame); font-size: 9px; line-height: 1.2; letter-spacing: .22em; }
.choice h2, .rome-from-here h2, .book-section h2 { margin: 0; font-family: Georgia, serif;
  font-weight: 400; letter-spacing: -.048em; }
.text-link { display: inline-block; margin-top: 42px; padding-bottom: 6px;
  border-bottom: 1px solid; font-size: 9px; letter-spacing: .18em; }
.text-link:focus-visible { outline: 2px solid var(--flame); outline-offset: 4px; }

.choice { position: relative; z-index: 5; padding: 15vh 6vw 11vh; background: var(--paper); }
.choice-intro { display: grid; grid-template-columns: 1.5fr .8fr; gap: 6vw; align-items: end; margin-bottom: 10vh; }
.choice-intro h2 { font-size: clamp(46px,5.6vw,88px); line-height: .93; }
.choice-intro > p { max-width: 44ch; margin: 0 0 6px; font: 16px/1.55 Georgia, serif; color: var(--ink-2); }

/* no cards, no boxes, no borders on photography — three columns on the same page */
.stay-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 3vw; }
.stay-card { position: relative; min-width: 0; display: block; }
.stay-card img { height: 44vh; filter: saturate(.8) contrast(1.03);
  transition: filter .55s ease, opacity .55s ease; }
a.stay-card:hover img, a.stay-card:focus-visible img { filter: saturate(.95) contrast(1.03); }
.stay-card:focus-visible { outline: 2px solid var(--flame); outline-offset: 6px; }
.stay-card div { padding: 20px 0 18px; margin-top: 20px; border-top: 1px solid var(--hair); }
.stay-card p, .stay-card span, .stay-card b { font-size: 8px; letter-spacing: .17em; color: var(--ink-3); }
.stay-card span { line-height: 1.55; }
.stay-card h3 { margin: 12px 0 14px; font: 400 clamp(26px,2.3vw,38px)/1 Georgia, serif;
  letter-spacing: -.03em; color: var(--ink); }
.stay-card b { display: inline-block; border-bottom: 1px solid; font-weight: 400; color: var(--ink); }

/* copy left, image bleeding off the right edge — the same grammar as the scroll */
.rome-from-here { display: grid; grid-template-columns: 54% 46%; align-items: center;
  min-height: 86vh; padding: 0; background: #9d947f; color: var(--ink); }
.rome-from-here h2 { font-size: clamp(50px,5.2vw,86px); line-height: .91; max-width: 12ch; }
.location-copy { grid-column: 2; grid-row: 1; padding: 12vh 6vw 9vh; }
.location-copy p:not(.section-kicker) { max-width: 42ch; margin: 32px 0 0; font: 17px/1.55 Georgia, serif; color: var(--ink); }
.location-image { grid-column: 1; grid-row: 1; height: 76vh; margin: 5vh 0 5vh 4vw; }
.location-image img { filter: saturate(.8) contrast(1.04) brightness(.9); }

.book-section { padding: 15vh 6vw 14vh; background: var(--tobacco); color: var(--paper); }
.book-section .section-kicker { color: var(--warm); }
.book-section h2 { font-size: clamp(46px,6vw,104px); line-height: .93; }
.booking-cta { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 30px;
  margin-top: 8vh; padding: 28px 34px; background: var(--ink); color: var(--paper);
  transition: background .25s ease, color .25s ease; }
.booking-cta span { font-size: 9px; letter-spacing: .2em; color: rgba(250,248,244,.7); }
.booking-cta b { font-size: 12px; letter-spacing: .18em; }
.booking-cta i { font: normal 22px/1 Georgia, serif; }
.booking-cta:hover, .booking-cta:focus-visible { background: var(--flame); color: #fff; outline: none; }
.booking-cta:hover span, .booking-cta:focus-visible span { color: rgba(255,255,255,.78); }

footer { display: grid; grid-template-columns: 1.5fr repeat(4,1fr); gap: 4vw;
  padding: 10vh 6vw 5vh; background: var(--night); color: var(--warm); border-top: 0; }
footer > div { display: flex; flex-direction: column; align-items: flex-start; gap: 11px; }
footer div > span { margin-bottom: 12px; color: #aaa18f; font-size: 8px; letter-spacing: .2em; }
footer a, footer p { margin: 0; font: 14px/1.45 Georgia, serif; }
footer a:hover, footer a:focus-visible { color: var(--paper); }
.footer-brand p { font: 400 40px/1 Georgia, serif; letter-spacing: -.03em; color: var(--paper); }
.footer-brand > span { letter-spacing: .25em; }
.footer-brand small { max-width: 30ch; font: 13px/1.5 Georgia, serif; }
.copyright { grid-column: 1/-1; margin-top: 8vh; padding-top: 25px; border-top: 1px solid rgba(241,234,223,.16);
  font: 8px Arial, sans-serif !important; letter-spacing: .18em; color: #aaa18f; }

@media (max-width: 1100px) {
  .choice-intro { grid-template-columns: 1fr; gap: 30px; }
  .choice-intro h2 { font-size: 48px; }
  .stay-card h3 { font-size: 27px; }
  .stay-card img { height: 34vh; }
  .menu-grid { gap: 3vw; }
  .menu-grid a { font-size: 25px; }
  .rome-from-here { grid-template-columns: 1fr; padding: 8vh 6vw 10vh; gap: 6vh; }
  .location-copy { grid-column: 1; grid-row: 2; padding: 0; }
  .location-image { grid-column: 1; grid-row: 1; height: 58vh; margin: 0 -6vw 0 0; }
}

/* ══ MOBILE ══════════════════════════════════════════════════
   Below the scroll the site is already one column; what mobile needs is
   air, a photograph that still bleeds, and a CTA that reads as one thing. */
@media (max-width: 760px) {
  /* the opening runs closer to the edges on a phone — see the film sheet */
  .menu-panel { padding: 8vh 7vw; overflow-y: auto; }
  .menu-brand { font-size: 32px; }
  .menu-grid { grid-template-columns: 1fr; gap: 5vh; margin-top: 7vh; }
  .menu-grid div { gap: 13px; }
  .menu-grid a { font-size: 24px; }

  /* the sections clear the floating chrome before their first line */
  .choice { padding: 15vh 7vw 11vh; }
  .book-section { padding: 13vh 7vw 11vh; }
  .choice-intro { margin-bottom: 8vh; }
  .choice-intro h2 { font-size: clamp(38px, 11.5vw, 52px); }
  .choice-intro > p { font-size: 16px; }

  /* three addresses: still photographs on a page, not cards — but the
     portrait crop is pulled back so the room, not a wall, fills the frame */
  .stay-grid { grid-template-columns: 1fr; gap: 8vh; }
  .stay-card img { height: 40svh; object-position: center 56%; }
  /* the meta lines carry real information — addresses, breakfast hours —
     so they get a point back rather than the desktop's 8px */
  .stay-card p, .stay-card span, .stay-card b { font-size: 9px; }
  .stay-card div { padding: 16px 0 0; margin-top: 16px; }
  .stay-card h3 { margin: 10px 0 12px; }
  .text-link { margin-top: 34px; }

  /* the garden keeps its bleed off the right edge */
  .rome-from-here { padding: 9vh 7vw 11vh; gap: 5vh; }
  .rome-from-here h2 { font-size: clamp(38px, 11.5vw, 54px); max-width: none; }
  .location-image { height: 52svh; margin: 0 -7vw 0 0; }
  .location-copy p:not(.section-kicker) { margin-top: 26px; font-size: 16px; }

  .book-section h2 { font-size: clamp(38px, 12vw, 56px); }
  /* one block, one line each: the label sits above the action rather than
     fighting it for a column */
  .booking-cta { grid-template-columns: 1fr; gap: 14px; margin-top: 6vh; padding: 24px 22px; }
  .booking-cta i { display: none; }
  .booking-cta span { line-height: 1.4; }

  footer { grid-template-columns: 1fr 1fr; gap: 6vh 6vw; padding: 9vh 7vw 5vh; }
  .footer-brand { grid-column: 1/-1; }
  .footer-brand p { font-size: 34px; }
  .copyright { margin-top: 6vh; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .menu-panel, .action, .stay-card img, .booking-cta { transition: none; }
}
