/* Sefton Park Suites — "The Gold Window"
   ------------------------------------------------------------------
   The venue's own stationery, laid out like a magazine spread. Off-white
   paper, Mark's fine double gold rule, Marcellus capitals, and Sefton Park
   midnight navy as the one rich counter-colour (Ben, 10 Nov; replaced green, then plum).

   The double gold frame from his menu card is the site's WINDOW. As you
   scroll, photographs are unveiled into it. Large photographs bleed off one
   edge of the page. Photographs move; text never does.

   Brief Q42: "cream, gold, off white". Q45: "clean and warm".

   MOTION, and why nothing is ever lost:
   Every hidden starting state lives inside BOTH
     @media (prefers-reduced-motion: no-preference)
   AND a selector on html.js (set by the inline head script) - html.js.motion.sda
   for CSS scroll-driven animations, html.js.motion.io for the IntersectionObserver
   fallback in site.js. With JS off, reduced motion, ?static or print, there
   is no hidden state at all: the page is simply finished.
   ------------------------------------------------------------------ */

:root{
  --paper:#FBF8F2;
  --cream:#F3EADC;
  --linen:#E8DCC6;
  --ink:#2B2622;
  --ink-soft:#6B6157;
  --gold:#B08A45;          /* rules, frames, lozenge, large type only */
  --gold-deep:#806227;     /* gold that must pass as text: 4.8:1 on cream (#86672B was 4.46) */
  --gold-pale:#D6B877;     /* gold on navy: 7.5:1 */
  --accent:#1F2A44;        /* midnight navy, Ben's pick 10 Nov from researched venue sites (Inglewood Manor, Thornton Manor, Liverpool Town Hall pair navy with gold). Was green #1F3B30, then plum. Cream on it 12:1 */
  --on-accent:#F3EADC;
  --query:#8A5A12;
  --rule:rgba(43,38,34,.14);
  --rule-gold:rgba(176,138,69,.55);

  --display:"Marcellus",Georgia,"Times New Roman",serif;
  --ui:"Instrument Sans",system-ui,-apple-system,sans-serif;

  --t-xs:.8125rem;
  --t-s:.9375rem;
  --t-body:1.125rem;
  --t-stand:clamp(1.3rem,1.9vw,1.6rem);
  --t-h3:clamp(1.4rem,2vw,1.75rem);
  --t-h2:clamp(2.1rem,4.2vw,3.5rem);
  --t-room:clamp(2.5rem,5.6vw,4.75rem);
  --t-h1:clamp(2.4rem,5vw,4.5rem);
  --t-figure:clamp(2.25rem,4vw,3.25rem);

  --gutter:clamp(1rem,4vw,3rem);
  --stack:clamp(4.5rem,10vw,9rem);
  --colgap:clamp(1rem,2.2vw,2rem);
  /* The spread grid. Its c1..c13 lines sit exactly where .wrap's edges do,
     and the outer tracks run to the page edge so pictures can bleed. */
  --spread-cols:[bleed-l] minmax(calc(var(--gutter) - var(--colgap)),1fr)
    [c1] repeat(12,minmax(0,calc((76rem - 11 * var(--colgap)) / 12)))
    [c13] minmax(calc(var(--gutter) - var(--colgap)),1fr) [bleed-r];

  --ease:cubic-bezier(.22,.61,.36,1);
}

@font-face{
  font-family:"Marcellus";
  src:url("fonts/marcellus.woff2") format("woff2");
  font-weight:400;font-style:normal;font-display:swap;
}
@font-face{
  font-family:"Instrument Sans";
  src:url("fonts/instrument-sans.woff2") format("woff2");
  font-weight:400 500;font-style:normal;font-display:swap;
}

*,*::before,*::after{box-sizing:border-box;}
/* clip, never hidden: hidden makes a scroll container, which silently
   breaks position:sticky and every view() timeline below it. */
html,body{overflow-x:clip;}
html{-webkit-text-size-adjust:100%;font-size:100%;}

body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:var(--ui);
  font-size:var(--t-body);
  line-height:1.7;
  overflow-wrap:break-word;
  font-synthesis-weight:none;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;}
p,ul,dl,dd,figure{margin:0;}
p{text-wrap:pretty;}

/* ---------------------------------------------------------- structure */

.wrap{width:min(100% - 2 * var(--gutter),76rem);margin-inline:auto;}
.measure{max-width:62ch;}
.centre{text-align:center;}

/* The spread grid reaches the page edges, so a picture can bleed off it.
   Lines: 1 bleed-l | 2 c1 ... 14 c13 | 15 bleed-r. Column k is k+1 / k+2. */
.spread{
  display:grid;
  grid-template-columns:var(--spread-cols);
  column-gap:var(--colgap);
}
.spread > *{grid-column:c1 / c13;min-width:0;}

main > section,main > article{margin-block:var(--stack);}
main > :first-child{margin-top:clamp(2rem,5vw,4rem);}

.skip{
  position:absolute;left:-9999px;top:0;
  background:var(--accent);color:var(--on-accent);padding:.75rem 1.25rem;z-index:20;
}
.skip:focus{left:0;}

/* ---------------------------------------------------------- type */

h1,h2,h3{
  font-family:var(--display);
  font-weight:400;
  letter-spacing:.005em;
  margin:0;
  text-wrap:balance;
}
h1{font-size:var(--t-h1);line-height:1.05;}
h2{font-size:var(--t-h2);line-height:1.08;}
h3{font-size:var(--t-h3);line-height:1.2;}

.standfirst{
  font-family:var(--display);
  font-size:var(--t-stand);
  line-height:1.45;
  color:var(--ink-soft);
  max-width:34ch;
}

/* ---------------------------------------------------------- links + buttons */

a{
  color:inherit;
  text-decoration:underline;
  text-decoration-color:var(--rule-gold);
  text-decoration-thickness:1px;
  text-underline-offset:.22em;
  transition:text-decoration-color .16s ease,color .16s ease;
}
a:hover{text-decoration-color:var(--gold-deep);color:var(--gold-deep);}
:focus-visible{outline:2px solid var(--gold-deep);outline-offset:4px;}

.action{
  display:inline-block;
  font:500 var(--t-s)/1.2 var(--ui);
  letter-spacing:.01em;
  padding:.95rem 1.6rem;
  border:1px solid var(--gold);
  border-radius:2px;
  background:transparent;
  color:var(--ink);
  text-decoration:none;
  cursor:pointer;
  transition:background-color .16s ease,color .16s ease,border-color .16s ease;
}
.action:hover{background:var(--accent);border-color:var(--accent);color:var(--on-accent);}
.action--solid{background:var(--accent);border-color:var(--accent);color:var(--on-accent);}
.action--solid:hover{background:var(--gold-deep);border-color:var(--gold-deep);color:var(--paper);}
.action--on-accent{border-color:var(--gold-pale);color:var(--on-accent);}
.action--on-accent:hover{background:var(--gold-pale);border-color:var(--gold-pale);color:var(--accent);}
.action--gold{background:var(--gold-pale);border-color:var(--gold-pale);color:var(--accent);font-weight:600;}
.action--gold:hover{background:var(--paper);border-color:var(--paper);color:var(--accent);}

/* ---------------------------------------------------------- the query */
/* A fact Mark has not confirmed. Quieter than before, never hidden, and it
   must never be mistaken for an answer. */

.query{
  font:inherit;font-family:var(--ui);
  font-size:var(--t-s);font-style:normal;line-height:1.5;
  letter-spacing:0;
  color:var(--query);
  background:none;
  border-bottom:1px dotted currentColor;
}
.query__q{white-space:nowrap;}

/* ---------------------------------------------------------- ornament */

/* The window: 1px gold, a 10px linen gap, then a 1px gold inner rule. */
.window{padding:11px;background:var(--linen);border:1px solid var(--gold);}
.window__pane{position:relative;overflow:clip;box-shadow:0 0 0 1px var(--gold);background:var(--linen);}
.pic .window__pane img,.pic__crop img{display:block;width:100%;height:100%;object-fit:cover;}
/* <picture> only carries the WebP <source>: it adds no box of its own. */
.pic picture{display:contents;}
.pic__crop{width:100%;overflow:clip;background:var(--linen);}
.pic figcaption{font-size:var(--t-xs);color:var(--ink-soft);margin-top:.6rem;}
.pic--bleed figcaption{padding-inline:var(--gutter);}
.pic--bleed[data-bleed="right"] figcaption{text-align:right;}

/* The lozenge: the logo's own divider. Only on the four printed-card moments. */
.lozenge{
  --lz-bg:var(--paper);
  display:block;position:relative;
  width:7.5rem;height:9px;margin:1.1rem auto 0;
  background:linear-gradient(var(--gold),var(--gold)) center / 100% 1px no-repeat;
}
.lozenge::after{
  content:"";position:absolute;left:50%;top:0;
  width:9px;height:9px;
  background:var(--lz-bg);border:1px solid var(--gold);
  transform:translateX(-50%) rotate(45deg);
}
.card-head{text-align:center;margin-bottom:clamp(1.75rem,4vw,3rem);}
.card-head h2{font-size:clamp(1.9rem,3.6vw,3rem);}

.credit{font-size:var(--t-s);color:var(--gold-deep);letter-spacing:.01em;}

/* ---------------------------------------------------------- masthead */

.masthead{background:var(--paper);border-bottom:1px solid var(--rule);}
.masthead__inner{
  display:grid;grid-template-columns:1fr auto 1fr;
  align-items:center;gap:1rem 2rem;padding-block:1rem;
}
.masthead__nav{display:flex;gap:.5rem 1.75rem;align-items:center;flex-wrap:wrap;font-size:var(--t-s);}
.masthead__nav a:not(.action){text-decoration:none;color:var(--ink-soft);}
.masthead__nav a:not(.action):hover{color:var(--ink);}
.masthead__nav--right{justify-content:flex-end;}
.masthead__nav .action{padding:.7rem 1.15rem;}
.masthead__brand{
  display:grid;justify-items:center;gap:.15rem;
  text-decoration:none;color:inherit;text-align:center;
}
.masthead__brand:hover{color:inherit;}
.masthead__logo{width:48px;height:48px;max-width:none;}
.masthead__name{font-family:var(--display);font-size:1.1rem;letter-spacing:.06em;line-height:1.2;}
.masthead__where{font-size:var(--t-xs);color:var(--ink-soft);line-height:1.3;}
/* Rooms drops down to each room's page (Mark, 6 Nov). A <details>, so the
   chevron turns as it opens. */
.masthead__menu{position:relative;}
.masthead__menu summary{list-style:none;cursor:pointer;color:var(--ink-soft);display:inline-flex;align-items:center;gap:.45rem;}
.masthead__menu summary::-webkit-details-marker{display:none;}
.masthead__menu summary:hover,.masthead__menu[open] summary{color:var(--ink);}
.masthead__menu summary::after{content:"";width:.4rem;height:.4rem;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-.15rem) rotate(45deg);transition:transform .2s ease;}
.masthead__menu[open] summary::after{transform:translateY(.12rem) rotate(-135deg);}
.masthead__menu summary:focus-visible{outline:2px solid var(--gold-deep);outline-offset:4px;}
.masthead__drop{position:absolute;top:calc(100% + .9rem);left:-1.1rem;z-index:40;min-width:15.5rem;list-style:none;margin:0;padding:.35rem 0;
  background:var(--paper);border:1px solid var(--rule-gold);box-shadow:0 14px 34px rgb(43 38 34 / .12);}
.masthead__drop li + li{border-top:1px solid var(--rule);}
.masthead__nav .masthead__drop a{display:block;padding:.7rem 1.15rem;color:var(--ink);text-decoration:none;font-family:var(--display);font-size:1.02rem;letter-spacing:.02em;}
.masthead__nav .masthead__drop a:hover,.masthead__nav .masthead__drop a:focus-visible{background:var(--cream);color:var(--ink);}
.masthead__nav .masthead__drop li:last-child a{font-family:var(--ui);font-size:var(--t-s);color:var(--ink-soft);}
@media (prefers-reduced-motion:reduce){.masthead__menu summary::after{transition:none;}}
/* Gallery's place in the left-hand row on narrow screens only (masthead()). */
.masthead__nav .masthead__narrow{display:none;}

@media (max-width:56rem){
  .masthead__nav .masthead__narrow{display:inline;}
  .masthead__inner{grid-template-columns:1fr auto;}
  .masthead__brand{grid-column:1;grid-row:1;justify-items:start;text-align:left;
    grid-template-columns:auto 1fr;column-gap:.75rem;}
  .masthead__logo{grid-row:1 / span 2;}
  .masthead__name{align-self:end;white-space:nowrap;font-size:1.05rem;}
  .masthead__where{align-self:start;}
  .masthead__nav--right{grid-column:2;grid-row:1;}
  .masthead__nav--right a:not(.action){display:none;}
  .masthead__nav--left{grid-column:1 / -1;grid-row:2;justify-content:center;
    border-top:1px solid var(--rule);padding-top:.7rem;}
}
@media (max-width:26rem){
  .masthead__logo{width:40px;height:40px;}
  .masthead__name{white-space:normal;}
  .masthead__where{display:none;}
  .masthead__nav .action{padding:.6rem .85rem;}
  /* Four links in one row down to a 320px phone. */
  .masthead__nav--left{column-gap:1.25rem;}
}

/* ---------------------------------------------------------- 1 the opening */
/* Static layout: the default, and the whole story with JS off, reduced
   motion, ?static, Firefox, phones and short screens. A framed photograph
   beside the words. The scroll-driven version is further down. */

main > .opening{margin-top:clamp(1.5rem,4vw,3.5rem);}
.opening__stage{
  display:grid;
  grid-template-columns:var(--spread-cols);
  column-gap:var(--colgap);row-gap:2rem;
  align-items:center;
}
/* Phone: the photograph comes first (it is the point of the page, and the
   LCP), at 4/3 so the headline still starts on the first screen. */
.opening__copy{grid-column:2 / 14;grid-row:2;}
.opening__copy > * + *{margin-top:1.4rem;}
.opening__copy h1{max-width:19ch;}   /* 16ch held "Four rooms on Aigburth Drive"; the 9 Nov headline is longer */
.opening__actions{display:flex;flex-wrap:wrap;align-items:center;gap:1rem 1.75rem;font-size:var(--t-s);}
.opening__photo{
  grid-column:2 / 14;grid-row:1;
  padding:11px;background:var(--linen);border:1px solid var(--gold);
}
.opening__photo .pic img{
  display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;
  box-shadow:0 0 0 1px var(--gold);
}
.opening__frame,.opening__brand,.opening__welcome{display:none;}
.opening__hello{font-size:var(--t-xs);letter-spacing:.16em;text-transform:uppercase;color:var(--gold-deep);}
.opening__copy > .opening__hello + h1{margin-top:.6rem;}
/* The styles of event as bullet points under the headline (Mark, 6 Nov) */
.opening__styles{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:.35rem 1.1rem;max-width:44ch;}
.opening__styles li{position:relative;padding-left:1rem;}
.opening__styles li::before{content:"";position:absolute;left:0;top:.62em;width:.4rem;height:.4rem;border-radius:50%;background:var(--gold);}
@media (min-width:56rem){
  .opening__copy{grid-column:2 / 7;grid-row:1;}
  .opening__photo{grid-column:7 / 14;grid-row:1;}
  .opening__photo .pic img{aspect-ratio:4/3;}
}

/* Home: a strip of plain facts under the opening (Ben, 10 Nov). */
.trust{margin-block:clamp(2rem,5vw,3.5rem);}
/* Always an even grid: 2 x 2 until there is room for all four in a row
   (Ben, 10 Nov: auto-fit left "Step-free" alone on a row at tablet widths). */
.trust__list{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));
  border-block:1px solid var(--rule-gold);}
.trust__list li{display:grid;align-content:start;gap:.25rem;padding:1.25rem clamp(.6rem,2vw,1.25rem) 1.35rem;text-align:center;min-width:0;}
.trust__list li:nth-child(odd){border-right:1px solid var(--rule);}
.trust__list li:nth-child(-n+2){border-bottom:1px solid var(--rule);}
@media (min-width:62rem){
  .trust__list{grid-template-columns:repeat(4,minmax(0,1fr));}
  .trust__list li:nth-child(-n+2){border-bottom:0;}
  .trust__list li:nth-child(odd){border-right:0;}
  .trust__list li + li{border-left:1px solid var(--rule);}
}
.trust__big{font-family:var(--display);font-size:clamp(1.6rem,2.6vw,2.1rem);line-height:1.1;color:var(--accent);}
.trust__line{font-size:var(--t-s);color:var(--ink-soft);}
.trust__line a{color:inherit;}

/* Occasion pages: the room we'd suggest, one card (Ben, 10 Nov). */
.suggest{border:1px solid var(--rule-gold);background:var(--paper);padding:clamp(1.25rem,3vw,1.9rem);display:grid;gap:.6rem;max-width:40rem;}
.suggest__name{font-family:var(--display);font-size:clamp(1.5rem,2.6vw,2rem);line-height:1.15;}
.suggest__name a{color:var(--ink);text-decoration:none;}
.suggest__name a:hover{text-decoration:underline;text-decoration-color:var(--gold);}
.suggest__size{font-size:var(--t-s);color:var(--gold-deep);letter-spacing:.04em;}
.suggest__go{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem 1.5rem;margin-top:.4rem;font-size:var(--t-s);}
.suggest__alt,.suggest__all{font-size:var(--t-s);color:var(--ink-soft);}
.suggest__all{border-top:1px solid var(--rule);padding-top:.7rem;}

/* Room pages: Best for and At a glance (Ben, 12 Nov). */
.roomfacts{margin-block:clamp(2.5rem,6vw,4.5rem);row-gap:2rem;align-items:start;}
.roomfacts__best{grid-column:2 / 14;display:grid;gap:1.1rem;align-content:start;}
.roomfacts__glance{grid-column:2 / 14;}
.roomfacts h2{margin-bottom:1rem;}
.bestfor{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:.5rem;}
.bestfor a{display:inline-block;padding:.45rem .95rem;border:1px solid var(--rule-gold);border-radius:999px;
  font-size:var(--t-s);color:var(--ink);text-decoration:none;background:var(--paper);}
.bestfor a:hover,.bestfor a:focus-visible{background:var(--cream);border-color:var(--gold);}
.roomfacts__go{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem 1.5rem;font-size:var(--t-s);margin-top:.5rem;}
.layouts{width:100%;border-collapse:collapse;margin-top:.75rem;font-size:var(--t-s);}
.layouts th,.layouts td{text-align:left;padding:.55rem 0;border-bottom:1px solid var(--rule);}
.layouts td{text-align:right;font-family:var(--display);font-size:1.1rem;}
@media (min-width:56rem){
  .roomfacts__best{grid-column:2 / 7;}
  .roomfacts__glance{grid-column:8 / 14;}
}

/* Halfway down an occasion guide: a way to act (Ben, 10 Nov). */
.guide__cta{margin-block:2rem;padding:1.25rem 1.5rem;border:1px solid var(--rule-gold);border-left:3px solid var(--accent);background:var(--cream);
  display:grid;gap:.6rem;}
.guide__cta p:first-child{font-family:var(--display);font-size:1.25rem;line-height:1.3;}
.guide__cta p:last-child{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem 1.25rem;font-size:var(--t-s);}

/* Good to know: four answers open, the rest fold away (Ben, 10 Nov). */
.know__more{margin-top:1rem;}
.know__more summary{cursor:pointer;list-style:none;display:inline-flex;align-items:center;gap:.5rem;font-size:var(--t-s);
  color:var(--ink);border-bottom:1px solid var(--gold);padding-bottom:.15rem;}
.know__more summary::-webkit-details-marker{display:none;}
.know__more summary::after{content:"";width:.4rem;height:.4rem;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-.15rem) rotate(45deg);}
.know__more[open] summary::after{transform:translateY(.12rem) rotate(-135deg);}
.know__more summary:focus-visible{outline:2px solid var(--gold-deep);outline-offset:4px;}
.know__more .facts{margin-top:1rem;}

/* Wide screens: Check your date stays in the corner once the masthead has
   gone (Ben, 10 Nov). The phone bar does this below 48rem. */
.float-book{display:none;}   /* without JS it never appears: the masthead button is there */
@media screen and (min-width:48rem){
  html.js .float-book{display:inline-flex;position:fixed;right:clamp(1rem,2.5vw,2rem);bottom:clamp(1rem,2.5vw,2rem);z-index:30;
    box-shadow:0 .75rem 2rem rgb(0 0 0 / .22);opacity:0;translate:0 1rem;pointer-events:none;
    transition:opacity .35s ease,translate .35s ease;}
  html.js.scrolled .float-book{opacity:1;translate:none;pointer-events:auto;}
}
@media (prefers-reduced-motion:reduce){.float-book{transition:none;}}

/* ---------------------------------------------------------- 2 essentials */
/* "Everything in house": a framed photo of his beside a heading, a line on
   food and music, and the four facts as gold-ruled tiles (Ben, 19 Oct: the
   old paragraph sat on its own and looked bare). */
.essentials-band{row-gap:2rem;align-items:center;}
.essentials__pic,.essentials__say,.essentials{grid-column:2 / 14;}
.essentials__head{font-size:var(--t-h2);line-height:1.05;text-wrap:balance;}
.essentials__say p{margin-top:1rem;max-width:42ch;color:var(--ink-soft);}
.essentials{
  display:grid;grid-template-columns:1fr 1fr;gap:1px;margin:0;
  background:var(--rule-gold);border:1px solid var(--gold);
}
.essentials > div{background:var(--paper);padding:1rem 1.1rem 1.1rem;display:grid;gap:.35rem;align-content:start;}
.essentials dt{font-size:var(--t-xs);letter-spacing:.12em;text-transform:uppercase;color:var(--gold-deep);}
.essentials dd{margin:0;font-family:var(--display);font-size:clamp(1.05rem,1.6vw,1.25rem);line-height:1.3;}
@media (min-width:56rem){
  .essentials__pic{grid-column:2 / 7;grid-row:1 / 3;}
  .essentials__say{grid-column:8 / 14;grid-row:1;align-self:end;}
  .essentials{grid-column:8 / 14;grid-row:2;align-self:start;}
}

/* ---------------------------------------------------------- 3 the rooms */

.rooms > h2{margin-bottom:clamp(2.5rem,6vw,5rem);}
.room + .room{margin-top:var(--stack);}
.room-name{font-size:var(--t-room);line-height:1.02;}
.room__text > * + *{margin-top:1rem;}
.room__text .credit{margin-top:.75rem;}
.room__price{font-family:var(--display);font-size:var(--t-h3);color:var(--gold-deep);}
.room__main{grid-column:2 / 14;}
.room__main :is(.pic__crop,.window__pane){aspect-ratio:4/3 !important;}
.room__detail{display:none;}
.room__text{margin-top:2rem;}

@media (min-width:48rem){
  .room{grid-template-rows:auto clamp(5rem,9vw,9rem) auto;}
  .room__main :is(.pic__crop,.window__pane){max-height:86svh;}
  .room__detail{display:block;grid-row:2 / 4;align-self:start;position:relative;z-index:1;}
  .room__text{grid-row:1;align-self:center;margin-top:0;}
  .room--left .room__main{grid-column:2 / 9;grid-row:1 / 3;}
  .room--left .room__detail{grid-column:8 / 11;}
  .room--left .room__text{grid-column:9 / 14;padding-left:clamp(0rem,2vw,2rem);}
  .room--right .room__main{grid-column:7 / 14;grid-row:1 / 3;}
  /* The detail window sits over its lower left corner: caption to the right. */
  .room--right .room__main figcaption{text-align:right;}
  .room--right .room__detail{grid-column:5 / 8;}
  .room--right .room__text{grid-column:2 / 7;padding-right:clamp(0rem,2vw,2rem);}
}
/* Re-apply each picture's own ratio on desktop (the inline style). */
@media (min-width:48rem){
  .room__main[data-shape="landscape"] :is(.pic__crop,.window__pane){aspect-ratio:3/2 !important;}
  .room__main[data-shape="portrait"] :is(.pic__crop,.window__pane){aspect-ratio:4/5 !important;}
}

/* ---------------------------------------------------------- 4 the band */

.band-photo{
  position:relative;
  height:min(72svh,48rem);min-height:26rem;
  overflow:clip;
  background:var(--accent);
}
.band-photo .pic{position:absolute;inset:0;}
.band-photo .pic__crop{height:100%;background:var(--accent);}
.band-photo::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  /* Deep enough behind the words for any photograph: measured against the
     brightest pixel under the text, the line held 2.9:1 and the paragraph
     4.5:1 on the old .82/.25 ramp. */
  background:linear-gradient(to top,rgba(23,46,37,.88) 0%,rgba(23,46,37,.62) 45%,rgba(23,46,37,.2) 70%,rgba(23,46,37,0) 88%);
}
.band-photo__text{
  position:absolute;left:0;right:0;bottom:0;z-index:2;
  padding:0 max(var(--gutter),(100% - 76rem) / 2) clamp(2rem,6vw,4.5rem);
  color:rgba(243,234,220,.88);
}
.band-photo__line{
  font-family:var(--display);font-size:var(--t-h2);line-height:1.08;
  color:var(--on-accent);max-width:22ch;margin-bottom:1rem;text-wrap:balance;
}
.band-photo__text p:last-child{max-width:52ch;}

/* ---------------------------------------------------------- 5 what we host */

.contents__head{margin-bottom:1.5rem;}
.contents__list{list-style:none;padding:0;}
.contents__list li{border-top:1px solid var(--rule-gold);}
.contents__list li:last-child{border-bottom:1px solid var(--rule-gold);}
.contents__list a{
  display:grid;gap:.25rem;padding-block:1.4rem;
  text-decoration:none;
}
.contents__name{font-family:var(--display);font-size:var(--t-h3);line-height:1.2;color:var(--ink);transition:color .16s ease;}
.contents__line{font-size:var(--t-s);color:var(--ink-soft);}
.contents__list a:hover .contents__name,
.contents__list a:focus-visible .contents__name{color:var(--gold-deep);}
.contents__window{display:none;}
.contents__thumb{display:none;}

@media (max-width:55.99rem){
  .contents__list a{grid-template-columns:64px 1fr;column-gap:1rem;align-items:center;}
  .contents__thumb{display:block;grid-row:1 / 3;width:64px;height:80px;object-fit:cover;border:1px solid var(--gold);}
  .contents__name,.contents__line{grid-column:2;}
  /* The 80px thumbnail spans both rows; when the words are shorter than it
     ("Anniversary meals and parties."), the spare height opened a gap
     between name and line. Hold the pair together in the middle. */
  .contents__name{align-self:end;}
  .contents__line{align-self:start;}
}
@media (min-width:56rem){
  .contents{align-items:start;}
  .contents__window{
    display:block;grid-column:2 / 7;grid-row:1 / 3;
    position:sticky;top:12svh;
  }
  .contents__window .window__pane{aspect-ratio:4/5;}
  .contents__head{grid-column:8 / 14;grid-row:1;}
  .contents__list{grid-column:8 / 14;grid-row:2;}
}
/* The window's pictures crossfade with the list (an answer to the reader,
   not a scroll effect). The server marks the first active, so with JS off
   the window is complete. One rule per occasion, 16 of them: the list
   passed 10 on 19 Oct and Christmas and corporate showed no picture. */
.contents__window img{
  position:absolute;inset:0;width:100%;height:100%;object-fit:cover;
  opacity:0;transition:opacity .5s ease;
}
[data-active="0"] .contents__window img:nth-child(1),
[data-active="1"] .contents__window img:nth-child(2),
[data-active="2"] .contents__window img:nth-child(3),
[data-active="3"] .contents__window img:nth-child(4),
[data-active="4"] .contents__window img:nth-child(5),
[data-active="5"] .contents__window img:nth-child(6),
[data-active="6"] .contents__window img:nth-child(7),
[data-active="7"] .contents__window img:nth-child(8),
[data-active="8"] .contents__window img:nth-child(9),
[data-active="9"] .contents__window img:nth-child(10),
[data-active="10"] .contents__window img:nth-child(11),
[data-active="11"] .contents__window img:nth-child(12),
[data-active="12"] .contents__window img:nth-child(13),
[data-active="13"] .contents__window img:nth-child(14),
[data-active="14"] .contents__window img:nth-child(15),
[data-active="15"] .contents__window img:nth-child(16){opacity:1;}
@media (min-width:56rem){
  [data-active="0"] .contents__list li:nth-child(1) .contents__name,
  [data-active="1"] .contents__list li:nth-child(2) .contents__name,
  [data-active="2"] .contents__list li:nth-child(3) .contents__name,
  [data-active="3"] .contents__list li:nth-child(4) .contents__name,
  [data-active="4"] .contents__list li:nth-child(5) .contents__name,
  [data-active="5"] .contents__list li:nth-child(6) .contents__name,
  [data-active="6"] .contents__list li:nth-child(7) .contents__name,
  [data-active="7"] .contents__list li:nth-child(8) .contents__name,
  [data-active="8"] .contents__list li:nth-child(9) .contents__name,
  [data-active="9"] .contents__list li:nth-child(10) .contents__name,
  [data-active="10"] .contents__list li:nth-child(11) .contents__name,
  [data-active="11"] .contents__list li:nth-child(12) .contents__name,
  [data-active="12"] .contents__list li:nth-child(13) .contents__name,
  [data-active="13"] .contents__list li:nth-child(14) .contents__name,
  [data-active="14"] .contents__list li:nth-child(15) .contents__name,
  [data-active="15"] .contents__list li:nth-child(16) .contents__name{color:var(--gold-deep);}
}

/* ---------------------------------------------------------- 6 the ledger */

.ledger-section > h2{margin-bottom:2rem;}
.ledger-wrap{max-width:60rem;margin-inline:auto;}
.ledger{
  width:100%;table-layout:fixed;border-collapse:collapse;text-align:left;
  font-variant-numeric:tabular-nums lining-nums;
}
.ledger caption{text-align:left;font-size:var(--t-s);color:var(--ink-soft);padding-bottom:1rem;}
.ledger thead th{
  font-size:var(--t-s);font-weight:400;color:var(--ink-soft);
  padding:0 1rem .75rem 0;border-bottom:1px solid var(--gold);
}
.ledger tbody th{
  font-family:var(--display);font-weight:400;font-size:var(--t-h3);line-height:1.2;
  padding:1.3rem 1rem 1.3rem 0;border-bottom:1px solid var(--rule);
  vertical-align:baseline;width:34%;
}
.ledger tbody td{
  font-family:var(--display);font-size:var(--t-figure);line-height:1;
  padding:1.1rem 1rem 1.1rem 0;border-bottom:1px solid var(--rule);
  vertical-align:baseline;color:var(--gold-deep);
}
.ledger td:has(.query){font-family:var(--ui);font-size:var(--t-s);line-height:1.5;}
.ledger td .query{text-wrap:balance;}
.ledger-section .centre{margin-top:2.5rem;}

@media (max-width:40rem){
  .ledger thead{position:absolute;left:-9999px;}
  .ledger tbody tr{display:block;padding-bottom:1.5rem;}
  .ledger tbody th{display:block;width:auto;border:0;padding-bottom:.4rem;}
  .ledger tbody td{
    display:flex;justify-content:space-between;align-items:baseline;gap:1rem;
    padding:.55rem 0;
  }
  .ledger tbody td::before{content:attr(data-label);font-family:var(--ui);font-size:var(--t-s);color:var(--ink-soft);}
}

/* The single-room spec line on a room page: three figures in a strip. */
.ledger--single thead{position:absolute;left:-9999px;}
.ledger--single tbody th{position:absolute;left:-9999px;}
.ledger--single tbody tr{
  display:grid;grid-template-columns:1fr;
  border-block:1px solid var(--gold);padding:0;
}
.ledger--single tbody td{
  display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:.6rem;
  padding:1.4rem 0;border-bottom:1px solid var(--rule);
}
.ledger--single tbody td:last-child{border-bottom:0;}
.ledger--single tbody td::before{content:attr(data-label);font-family:var(--ui);font-size:var(--t-s);color:var(--ink-soft);line-height:1.2;}
@media (min-width:40rem){
  .ledger--single tbody tr{grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);}
  .ledger--single tbody td{border-bottom:0;padding:1.6rem 1.5rem 1.6rem 0;}
  .ledger--single tbody td + td{border-left:1px solid var(--rule);padding-left:1.5rem;}
}

/* ---------------------------------------------------------- 7 dressing, 8 finding */

.dressing__text > * + *,.finding__text > * + *,.dressing-note > * + *{margin-top:1.1rem;}
.dressing__text p,.dressing-note p{max-width:44ch;}
.maker img{
  display:block;width:120px;height:120px;
  background:var(--paper);border:1px solid var(--rule-gold);
  mix-blend-mode:multiply;
}
.dressing__pic{margin-bottom:2.5rem;}
.dressing__wide{grid-column:2 / 14;width:78%;margin:-22% 0 2.5rem auto;position:relative;z-index:1;}
@media (min-width:48rem){.dressing__wide{width:auto;}}
.room__go{display:flex;flex-wrap:wrap;align-items:center;gap:1rem 1.6rem;}
/* Gold-ruled fact tiles (Finding us), the same set as the home page facts. */
.tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;margin:1.75rem 0 0 !important;
  background:var(--rule-gold);border:1px solid var(--gold);}
.tiles > div{background:var(--paper);padding:1rem 1.1rem 1.1rem;display:grid;gap:.35rem;align-content:start;}
.tiles dt{font-size:var(--t-xs);letter-spacing:.12em;text-transform:uppercase;color:var(--gold-deep);}
.tiles dd{margin:0;font-size:var(--t-s);line-height:1.5;}
@media (max-width:30rem){.tiles{grid-template-columns:1fr;}}
.finding__addr{font-family:var(--display);font-size:var(--t-h2);line-height:1.08;max-width:14ch;text-wrap:balance;}
.finding__text p:not(.finding__addr){max-width:48ch;}
.finding__pic{margin-top:2.5rem;}
@media (min-width:48rem){
  .dressing,.finding{align-items:center;}
  .dressing__pic{grid-column:2 / 6;margin:0;}
  .dressing__text{grid-column:7 / 13;}
  /* A pair: the tall centrepiece, and a whole dressed room over its lower
     corner, as the room spreads do; the words beside them. */
  .dressing{grid-template-rows:auto auto;row-gap:0;}
  .dressing__pic{grid-column:2 / 7;grid-row:1 / 3;}
  .dressing__wide{grid-column:5 / 10;grid-row:2;align-self:end;margin:0 0 -14% !important;}
  .dressing__text{grid-column:10 / 14;grid-row:1 / 3;align-self:center;}
  .finding__text{grid-column:2 / 8;}
  .finding__pic{grid-column:9 / 14;margin:0;}
}

/* ---------------------------------------------------------- the garden (home) */
/* House style, as the dressing section: framed picture, copy beside it. */
.outside__pic{margin-bottom:2.5rem;}
.outside__text > * + *{margin-top:1.1rem;}
.outside__text p{max-width:44ch;}
@media (min-width:48rem){
  .outside{align-items:center;}
  .outside__pic{grid-column:2 / 8;margin:0;}
  .outside__text{grid-column:9 / 14;}
}

/* ---------------------------------------------------------- room + occasion heads */

.lead{row-gap:2rem;}
.lead__text > * + *{margin-top:1.4rem;}
.lead__pic.pic--bleed{grid-column:bleed-l / bleed-r;grid-row:1;}
.lead__pic.pic--bleed .pic__crop{aspect-ratio:4/3 !important;}
.lead--occasion .lead__pic{grid-row:2;}
/* The history page: a landscape print beside the heading, a little wider. */
@media (min-width:48rem){ .lead--history .lead__pic{grid-column:8 / 14;} }
.history-menus{row-gap:2rem;align-items:start;}
.history-menus__text{grid-column:2 / 14;}
.history-menus__text p{max-width:46ch;margin-top:1.1rem;}
.history-menus__pic{grid-column:span 6;}
.history-menus .history-menus__pic:first-of-type{grid-column:2 / 8;}
.history-menus .history-menus__pic.pic--second{grid-column:8 / 14;margin-top:3rem;}
@media (min-width:48rem){
  .history-menus__text{grid-column:2 / 6;align-self:center;}
  .history-menus .history-menus__pic:first-of-type{grid-column:7 / 10;}
  .history-menus .history-menus__pic.pic--second{grid-column:11 / 14;margin-top:5rem;}
}
.history-close{margin-top:var(--stack);display:flex;flex-wrap:wrap;gap:1rem 2rem;align-items:center;}
.lead:not(.lead--occasion) .lead__pic.pic--window{grid-column:2 / 14;grid-row:1;}
.lead:not(.lead--occasion) .lead__pic.pic--window .window__pane{aspect-ratio:4/3 !important;}
@media (min-width:48rem){
  .lead{align-items:center;}
  .lead__text{grid-column:2 / 7;grid-row:1;}
  .lead__pic.pic--bleed{grid-column:7 / 15;}
  .lead__pic.pic--bleed[data-shape="landscape"] .pic__crop{aspect-ratio:4/3 !important;max-height:84svh;}
  .lead__pic.pic--bleed[data-shape="portrait"] .pic__crop{aspect-ratio:4/5 !important;max-height:84svh;}
  .lead__pic.pic--bleed[data-shape="portrait"]{grid-column:8 / 15;}
  .lead:not(.lead--occasion) .lead__pic.pic--window{grid-column:7 / 14;}
  .lead:not(.lead--occasion) .lead__pic.pic--window[data-shape="landscape"] .window__pane{aspect-ratio:4/3 !important;max-height:84svh;}
  .lead:not(.lead--occasion) .lead__pic.pic--window[data-shape="portrait"] .window__pane{aspect-ratio:4/5 !important;max-height:84svh;}
  .lead:not(.lead--occasion) .lead__pic.pic--window[data-shape="portrait"]{grid-column:8 / 14;}
  .lead--occasion .lead__text{grid-column:2 / 8;}
  .lead--occasion .lead__pic{grid-column:9 / 14;grid-row:1;}
}

.specline{margin-top:clamp(3rem,6vw,5rem);}
.feature__text > * + *{margin-top:1.1rem;}
.feature__text p{max-width:46ch;}
.feature__pic{margin-top:2.5rem;}
@media (min-width:48rem){
  .feature{align-items:center;}
  .feature__text{grid-column:2 / 8;}
  .feature__pic{grid-column:9 / 14;margin:0;}
}

/* The pair: a big framed picture and a dropped window beside it (both
   framed since 22 Oct; the class keeps its old name). */
.pair__bleed{grid-column:2 / 14;}
.pair__window{width:72%;justify-self:end;margin-top:-3rem;position:relative;}
@media (min-width:48rem){
  .pair{align-items:start;}
  .pair__bleed{grid-column:2 / 8;grid-row:1;}
  .pair__window{grid-column:9 / 13;grid-row:1;width:auto;justify-self:stretch;margin-top:8rem;}
  .pair--single .pair__bleed{grid-column:2 / 10;}
  /* Trio: the room's detail tucked over the bleed's lower edge. */
  .pair--trio{grid-template-rows:auto clamp(4rem,8vw,8rem) auto;}
  .pair--trio .pair__bleed{grid-row:1 / 3;}
  .pair--trio .pair__window{grid-row:1 / 4;}
  .pair__detail{grid-column:5 / 8;grid-row:2 / 4;position:relative;z-index:1;}
}
.pair__detail{display:none;}
@media (min-width:48rem){.pair__detail{display:block;}}

.body-copy p{max-width:62ch;}
main > .lead + .body-copy{margin-top:clamp(3rem,6vw,5rem);}
/* The guide on each occasion page, set like a printed brochure: a sticky
   side column (title, ornament, the parts as a numbered list), then each
   part numbered under a gold rule, a drop capital, and one fact set large. */
.guide{row-gap:2.5rem;align-items:start;}
main > .lead + .guide{margin-top:clamp(3rem,6vw,5rem);}
.guide__kicker{font-size:var(--t-s);letter-spacing:.16em;text-transform:uppercase;color:var(--gold-deep);}
.guide__aside > * + *{margin-top:1rem;}
.guide__aside h2{max-width:14ch;}
.guide__toc{list-style:none;padding:0;margin-top:1.75rem !important;counter-reset:part;font-size:var(--t-s);}
.guide__toc li{counter-increment:part;border-top:1px solid var(--rule-gold);}
.guide__toc li:last-child{border-bottom:1px solid var(--rule-gold);}
.guide__toc a{display:flex;gap:1rem;padding:.7rem 0;text-decoration:none;color:var(--ink-soft);}
.guide__toc a::before{content:counter(part,decimal-leading-zero);font-family:var(--display);color:var(--gold-deep);min-width:1.6em;}
.guide__toc a:hover{color:var(--ink);}
.guide__part{border-top:1px solid var(--gold);padding-top:1.25rem;scroll-margin-top:2rem;}
.guide__part + .guide__part{margin-top:clamp(2.25rem,4vw,3rem);}
.guide__quote + .guide__part{border-top:0;margin-top:clamp(1.75rem,3vw,2.25rem);}
.guide__part > * + *{margin-top:1rem;}
.guide__part p{max-width:62ch;}
.guide__num{font-family:var(--display);font-size:1.05rem;letter-spacing:.12em;color:var(--gold-deep);}
.guide__part h3{margin-top:.35rem !important;font-size:var(--t-h3);}
.guide__part:first-child > h3 + p::first-letter{
  float:left;font-family:var(--display);font-size:3.6em;line-height:.8;
  padding:.1em .12em 0 0;color:var(--gold-deep);
}
.guide__quote{
  margin:clamp(2.5rem,5vw,3.5rem) 0 0;padding:clamp(1.75rem,4vw,2.5rem) 0;
  border-block:1px solid var(--gold);text-align:center;
}
.guide__quote p{
  font-family:var(--display);font-size:clamp(1.5rem,2.6vw,2.1rem);line-height:1.25;
  max-width:26ch;margin:1rem auto 0;text-wrap:balance;
}
@media (min-width:56rem){
  .guide__aside{grid-column:2 / 6;position:sticky;top:2.5rem;}
  .guide__body{grid-column:7 / 14;}
}
/* The guide's key facts, a photo of his among the parts, a larger opening. */
.guide__stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;
  background:var(--rule-gold);border:1px solid var(--rule-gold);margin-bottom:clamp(2rem,4vw,2.75rem);}
.guide__stats > div{background:var(--paper);padding:1rem 1.1rem;}
.guide__stats dt{font-family:var(--display);font-size:clamp(1.6rem,3vw,2.2rem);line-height:1.05;color:var(--gold-deep);font-variant-numeric:lining-nums;}
.guide__stats dd{margin:.35rem 0 0;font-size:var(--t-s);color:var(--ink-soft);}
@media (min-width:40rem){.guide__stats{grid-template-columns:repeat(var(--n,4),minmax(0,1fr));}}
.guide__stats:has(> div:nth-child(3):last-child){--n:3;}
.guide__pic{margin-top:clamp(2.25rem,4vw,3rem);max-width:34rem;}
.guide__pic + .guide__part{margin-top:clamp(2.25rem,4vw,3rem);}
.guide__part:first-of-type > h3 + p{font-size:clamp(1.15rem,1.6vw,1.3rem);line-height:1.6;color:var(--ink);}
/* The small print, set like the guides: sticky contents, numbered sections. */
.legal-page{row-gap:2.5rem;align-items:start;}
.legal__aside .standfirst{font-size:var(--t-body);}
.legal__contents h2{font-size:var(--t-s);letter-spacing:.16em;text-transform:uppercase;color:var(--gold-deep);margin-top:1.75rem;}
.legal__contents .guide__toc{margin-top:.75rem !important;}
.legal-body{counter-reset:sec;}
.legal-body > section{counter-increment:sec;border-top:1px solid var(--gold);padding-top:1.25rem;scroll-margin-top:2rem;}
.legal-body > section + section{margin-top:clamp(2.25rem,4vw,3rem);}
.legal-body > section > h2{margin-top:0;}
.legal-body > section > h2::before{content:counter(sec,decimal-leading-zero);display:block;margin-bottom:.4rem;
  font-family:var(--display);font-size:1.05rem;letter-spacing:.12em;color:var(--gold-deep);}
.legal-body p,.legal-body li{max-width:66ch;}
@media (min-width:56rem){
  .legal__aside{grid-column:2 / 6;position:sticky;top:2.5rem;max-height:calc(100svh - 4rem);overflow:auto;}
  .legal-body{grid-column:7 / 14;}
}

/* Questions people ask: cream cards on a linen band. */
.faq-band{background:var(--linen);padding-block:clamp(3rem,7vw,5.5rem);}
.faq-band .facts{gap:var(--colgap);margin-top:1.75rem;}
.faq-band .facts > div{background:var(--paper);border:1px solid var(--rule-gold);border-top:2px solid var(--gold);padding:1.25rem 1.5rem 1.4rem;}
.faq-band .facts dd{max-width:none;}
.body-copy > * + *{margin-top:1.1rem;}
.body-copy > h3{margin-top:2.25rem;}

.the-room__text > * + *{margin-top:1.75rem;}
.room__pic{margin-top:2.5rem;}
@media (min-width:72rem){
  .the-room--pic{align-items:center;}
  .the-room--pic .the-room__text{grid-column:2 / 11;}
  .the-room--pic .room__pic{grid-column:11 / 14;margin:0;}
}
@media (min-width:48rem) and (max-width:71.99rem){
  .the-room--pic .room__pic{max-width:26rem;}
}

.costs > * + *,.lunch > * + *,.catering > * + *,.know > h2 + *{margin-top:1.1rem;}

/* The close of an occasion page: costs and room dressing in a narrow side
   column, the long "good to know" list beside it. */
.closing{row-gap:clamp(3rem,6vw,4.5rem);align-items:start;}
.closing__side > * + *{margin-top:clamp(2.5rem,5vw,3.5rem);padding-top:clamp(2.5rem,5vw,3.5rem);border-top:1px solid var(--rule-gold);}
.closing__side h2{font-size:var(--t-h3);line-height:1.2;}
.closing__side p{max-width:40ch;}
.closing .facts{margin-top:1.5rem;}
@media (min-width:56rem){
  .closing__side{grid-column:2 / 6;position:sticky;top:2.5rem;}
  .closing .know{grid-column:7 / 14;}
  .closing .facts{grid-template-columns:1fr;}
}
@media (min-width:72rem){
  .closing .facts{grid-template-columns:1fr 1fr;}
}
.prices{list-style:none;padding:0;font-family:var(--display);font-size:var(--t-h3);line-height:1.5;color:var(--gold-deep);}

/* The other rooms: three plates. */
.others > h2{margin-bottom:2rem;}
.plates-row{list-style:none;padding:0;display:grid;gap:2.5rem var(--colgap);}
.plates-row a{display:grid;gap:1rem;text-decoration:none;}
.plate__name{font-family:var(--display);font-size:var(--t-h3);line-height:1.2;}
.plates-row a:hover .plate__name{color:var(--gold-deep);}
.plates-row .credit{margin-top:.35rem;}
@media (min-width:40rem){.plates-row{grid-template-columns:repeat(3,minmax(0,1fr));}}

/* Good to know. */
.facts{display:grid;gap:0 var(--colgap);}
.facts > div{border-top:1px solid var(--rule-gold);padding-block:1rem 1.2rem;}
/* Headings' leading, not the body's 1.7: a question that wraps on a phone
   ("How much does a wedding reception / cost?") fell apart at 1.7. */
.facts dt{font-family:var(--display);font-size:1.3rem;line-height:1.3;margin-bottom:.35rem;}
.facts dd{margin:0;color:var(--ink-soft);max-width:44ch;}
@media (min-width:56rem){.facts{grid-template-columns:1fr 1fr;}}

/* ---------------------------------------------------------- printed cards */

/* --gold-deep is 4.42:1 on cream, just under AA; this is 5.2:1. */
.card{--gold-deep:#7A5C24;background:var(--cream);box-shadow:0 0 0 1px var(--gold);padding:clamp(1.5rem,5vw,2.5rem);}
.card .lozenge{--lz-bg:var(--cream);}

.packages > .window{max-width:58rem;margin-inline:auto;}
.packages .card{text-align:center;}
.packages .card > p{margin-top:1rem;}
.tiers{display:grid;margin-bottom:1.75rem;}
.tier{padding:1.5rem 1rem;display:grid;gap:.35rem;justify-items:center;align-content:start;}
.tier + .tier{border-top:1px solid var(--rule-gold);}
.tier__level{font-size:var(--t-s);color:var(--gold-deep);}
.tier__name{font-family:var(--display);font-size:var(--t-h3);line-height:1.2;}
.tier__price{font-family:var(--display);font-size:var(--t-figure);line-height:1.1;color:var(--gold-deep);font-variant-numeric:lining-nums;}
.tier__price small{font-size:var(--t-s);}
.tier__note{font-size:var(--t-s);color:var(--ink-soft);max-width:22rem;}
.tier__list{list-style:none;margin:.5rem 0;padding:0;display:grid;gap:.2rem;font-size:var(--t-s);}
@media (min-width:44rem){
  .tiers{grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);}
  .tier + .tier{border-top:0;border-left:1px solid var(--rule-gold);}
}

/* Menus: the Glass House, framed, beside the Sunday lunch card. */
.menus-top{row-gap:2.5rem;align-items:start;}
/* The food pair: a big window and a smaller one over its lower right
   corner, the way the room spreads tuck their detail (Ben, 22 Oct). */
.food-duo{display:grid;grid-template-columns:repeat(12,1fr);grid-template-rows:auto clamp(3rem,7vw,5.5rem) auto;margin-top:2rem;}
.food-duo__big{grid-column:1 / 11;grid-row:1 / 3;}
.food-duo__small{grid-column:6 / 13;grid-row:2 / 4;position:relative;z-index:1;}
.menus-top__note{margin-top:1rem;font-family:var(--display);font-size:var(--t-h3);line-height:1.3;max-width:24ch;}
.menu-card{max-width:38rem;margin-inline:auto;width:100%;}
@media (min-width:56rem){
  .menus-top__side{grid-column:2 / 7;position:sticky;top:2.5rem;}
  .menus-top .menu-card{grid-column:8 / 14;margin:0;}
}
/* With the food pair the column is taller than a screen: it scrolls with the page. */
@media (min-width:56rem){
  .menus-top__side:has(.food-duo){position:static;}
}
/* Catering: the answers as a list of facts, the allergen note on its own card. */
.catering{row-gap:2.5rem;align-items:start;}
.catering .facts{margin-top:1.5rem;grid-template-columns:1fr;}
.allergens{padding:1.5rem;background:var(--linen);border:1px solid var(--rule-gold);font-size:var(--t-s);}

.catering__side > * + *{margin-top:1.75rem;}
@media (min-width:56rem){
  .catering .know{grid-column:2 / 9;}
  .catering__side{grid-column:10 / 14;position:sticky;top:2.5rem;}
}
.menu-card .card{text-align:center;}
.menu-card h1{font-size:clamp(2.2rem,4vw,3.25rem);}
.menu-card h2{font-size:var(--t-h3);margin-top:1.4rem;}
.menu-card h3{font-size:var(--t-h3);margin-top:2.25rem;margin-bottom:.6rem;}
.menu-card .prices{margin-top:.6rem;font-size:1.25rem;}
.menu-list{list-style:none;padding:0;line-height:1.9;}
.menu-note{color:var(--ink-soft);font-size:var(--t-s);max-width:44ch;margin:.6rem auto 0;}
.menu-card .card > p:last-child{margin-top:2rem;}

/* Book. */
.book{align-items:start;row-gap:2.5rem;}
.book .card > * + *{margin-top:1.25rem;}
.book .standfirst{max-width:40ch;}
.book__side > * + *{margin-top:.6rem;}
.book__pic{display:none;}
.book__phone{font-family:var(--display);font-size:1.6rem;}
.book__facts{margin-top:1.5rem !important;font-size:var(--t-s);}
.book__facts > div{border-top:1px solid var(--rule-gold);padding-block:.7rem;}
.book__facts dt{font-weight:500;}
.book__facts dd{margin:.15rem 0 0;color:var(--ink-soft);}
/* What happens next: three numbered steps, on the book and thank-you pages. */
.steps h2{font-size:var(--t-h3);}
.steps__list{list-style:none;padding:0;margin-top:1.5rem;display:grid;gap:1.25rem var(--colgap);counter-reset:step;}
.steps__list li{counter-increment:step;border-top:1px solid var(--gold);padding-top:1rem;}
.steps__list li::before{content:counter(step);display:block;font-family:var(--display);font-size:2.4rem;line-height:1;color:var(--gold-deep);margin-bottom:.5rem;}
.steps__head{font-family:var(--display);font-size:var(--t-h3);line-height:1.25;}
.steps__list p + p{margin-top:.35rem;color:var(--ink-soft);max-width:34ch;}
@media (min-width:44rem){.steps__list{grid-template-columns:repeat(3,minmax(0,1fr));}}
.reading .steps{margin-top:2.5rem;}
.plates__head{font-size:var(--t-h3);margin-top:2.5rem !important;}
@media (min-width:48rem){
  .book__form{grid-column:2 / 9;}
  .book__side{grid-column:10 / 14;position:sticky;top:6rem;}
  .book__pic{display:block;margin-bottom:1.5rem;}
}
/* A tablet's side column is narrower than the address at body size, which
   broke it as "info@seftonparksuites.co.u / k". One size down, on one line. */
@media (min-width:48rem) and (max-width:52rem){
  .book__side a[href^="mailto:"]{font-size:var(--t-s);}
}
.enquiry{display:grid;gap:1.15rem;}
.enquiry label{display:block;font-size:var(--t-s);font-weight:500;margin-bottom:.35rem;}
.enquiry .hint{display:block;font-size:var(--t-s);color:var(--ink-soft);margin-bottom:.35rem;}
input,select,textarea{
  width:100%;font:inherit;color:var(--ink);
  background:var(--paper);
  border:0;border-bottom:1px solid var(--gold-deep);border-radius:0;
  min-height:48px;padding:.6rem .8rem;
}
input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid var(--gold-deep);outline-offset:3px;}
/* The two choices on the enquiry form, in the house style rather than the
   system's: paper, a gold underline, a gold chevron, and always light (a Mac
   in dark mode otherwise paints the menu black). */
select{
  -webkit-appearance:none;appearance:none;cursor:pointer;color-scheme:light;
  background-color:var(--paper);color:var(--ink);
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1.5l6 6 6-6' fill='none' stroke='%2386672B' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 1rem center;background-size:14px 9px;
  padding-right:2.75rem;text-overflow:ellipsis;
  transition:border-color .2s,background-color .2s;
}
select:hover{background-color:#fff;border-bottom-color:var(--ink);}
select:has(option[value=""]:checked){color:var(--ink-soft);}
select option{color:var(--ink);background:var(--paper);}
/* The house-style list for the two choices (site.js draws it on a mouse or
   trackpad; the real <select> stays in the form, hidden). */
/* The phone bar (templates.phone_bar): phones only. */
.phone-bar{display:none;}
@media (max-width:47.99rem){
  .phone-bar{
    display:grid;grid-template-columns:1fr 1.4fr;gap:.5rem;position:fixed;z-index:30;left:0;right:0;bottom:0;
    padding:.6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom));
    background:color-mix(in srgb,var(--paper) 94%,transparent);backdrop-filter:blur(8px);
    border-top:1px solid var(--gold);box-shadow:0 -6px 20px rgb(43 38 34 / .08);
  }
  .phone-bar a{display:flex;align-items:center;justify-content:center;min-height:48px;
    font-size:var(--t-s);font-weight:500;text-decoration:none;border:1px solid var(--gold-deep);}
  .phone-bar__call{color:var(--ink);background:var(--paper);}
  .phone-bar__book{color:var(--paper);background:var(--accent,#1F2A44);border-color:var(--accent,#1F2A44) !important;}
  body:has(.phone-bar) .colophon{padding-bottom:calc(5rem + env(safe-area-inset-bottom));}
}
.pick{position:relative;}
html.js .pick__native{position:absolute;inset:auto auto 0 0;width:1px;height:1px;opacity:0;pointer-events:none;}
.pick__button{
  display:flex;align-items:center;width:100%;min-height:48px;padding:.6rem 2.75rem .6rem .8rem;
  font:inherit;color:var(--ink);text-align:left;cursor:pointer;
  background:var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1.5l6 6 6-6' fill='none' stroke='%2386672B' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right 1rem center / 14px 9px;
  border:0;border-bottom:1px solid var(--gold-deep);border-radius:0;transition:background-color .2s,border-color .2s;
}
.pick__button:hover{background-color:#fff;border-bottom-color:var(--ink);}
.pick__button:focus-visible{outline:2px solid var(--gold-deep);outline-offset:3px;}
.pick__button.is-blank{color:var(--ink-soft);}
.pick__button[aria-invalid="true"]{border-bottom:2px solid var(--error,#9B2C1F);}
.pick.is-open .pick__button{background-position:right 1rem center;background-color:#fff;}
.pick__list{
  position:absolute;z-index:20;left:0;right:0;top:calc(100% + 6px);margin:0;padding:.4rem;list-style:none;
  max-height:min(22rem,60vh);overflow:auto;background:var(--paper);
  border:1px solid var(--gold);box-shadow:0 0 0 4px var(--paper),0 0 0 5px var(--rule-gold),0 1rem 2.5rem rgb(43 38 34 / .18);
}
.pick__list:focus{outline:none;}
.pick__list li{position:relative;padding:.6rem .8rem .6rem 2.2rem;cursor:pointer;color:var(--ink);}
.pick__list li.is-blank{color:var(--ink-soft);}
.pick__list li.is-active{background:var(--linen);}
.pick__list li[aria-selected="true"]::before{
  content:"";position:absolute;left:.85rem;top:50%;width:.45rem;height:.8rem;margin-top:-.5rem;
  border:solid var(--gold-deep);border-width:0 2px 2px 0;transform:rotate(45deg);
}
.pick__list li + li{border-top:1px solid color-mix(in srgb,var(--rule-gold) 45%,transparent);}
input,textarea{color-scheme:light;}
input[type=date]::-webkit-calendar-picker-indicator{cursor:pointer;opacity:.55;}
/* iPhone Safari gives a date box its own minimum width, so it ran past the
   form's edge (Ben's phone, 14 Oct), and shows an empty one as a blank
   strip. Held to the column, text kept left, and on iOS a gold calendar
   icon so it reads as something to tap. */
input[type=date]{display:block;min-width:0;max-width:100%;box-sizing:border-box;}
input[type=date]::-webkit-date-and-time-value{text-align:left;margin:0;}
@supports (-webkit-touch-callout:none){
  input[type=date]{
    -webkit-appearance:none;appearance:none;padding-right:2.75rem;
    background:var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none' stroke='%2386672B' stroke-width='1.4'%3E%3Crect x='1.5' y='3' width='15' height='13.5' rx='1'/%3E%3Cpath d='M1.5 7h15M5.5 1v4M12.5 1v4'/%3E%3C/svg%3E") no-repeat right 1rem center / 18px 18px;
  }
}
input[type=date]::-webkit-calendar-picker-indicator:hover{opacity:.9;}
textarea{resize:vertical;}
/* Enquiry answers and problems (site.js). The honeypot is moved off the
   page rather than hidden, so a form-filling bot still finds a box to fill.
   The error red is 6.3:1 on cream, and never the only signal: every problem
   is also written out, and listed in the summary above the form. */
.book{--error:#9B2C1F;}
.enquiry__trap{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden;}
.enquiry[hidden]{display:none;}
.book .card > .enquiry__status:empty{margin-top:0;}
.enquiry__status:focus{outline:none;}
.enquiry__status:focus-visible{outline:2px solid var(--gold-deep);outline-offset:3px;}
.enquiry__status.is-error{border-left:4px solid var(--error);padding:1rem 1.25rem;background:var(--paper);}
.enquiry__status h2{font-size:var(--t-h3);}
.enquiry__status > * + *{margin-top:.75rem;}
.enquiry__status ul{padding-left:1.1rem;}
.enquiry__status.is-error a{color:var(--error);font-weight:500;}
.enquiry__error{display:block;font-size:var(--t-s);font-weight:600;color:var(--error);margin-bottom:.35rem;}
.enquiry [aria-invalid="true"]{border-bottom:2px solid var(--error);}

/* Reading pages: one left-set column on paper. */
.reading{max-width:min(100% - 2 * var(--gutter),62ch);}
.reading > * + *{margin-top:1.2rem;}
.reading h1{margin-bottom:.6rem;}
/* The small print (legal.py): many short sections, so the heads step down. */
.legal section > * + *{margin-top:1rem;}
.legal h2{font-size:var(--t-h3);line-height:1.2;margin-top:2.75rem;}
.legal ul,.legal ol{padding-left:1.25rem;}
.legal li + li{margin-top:.5rem;}
.legal__contents h2{margin-top:1.5rem;}
/* Room for "19." inside the column: at 1.25rem the two-figure numbers
   stuck out past the text edge. */
.legal__contents ol{margin:.75rem 0 0;padding-left:2rem;}
.legal__contents li + li{margin-top:.25rem;}
.legal__updated{font-size:var(--t-s);color:var(--ink-soft);margin-top:2.75rem !important;}
.plates{list-style:none;padding:0;}
.plates li{border-top:1px solid var(--rule-gold);}
.plates li:last-child{border-bottom:1px solid var(--rule-gold);}
.plates a{display:flex;justify-content:space-between;align-items:baseline;gap:1rem;padding:1rem 0;text-decoration:none;font-family:var(--display);font-size:var(--t-h3);}
/* The label never wraps ("Front / page" at 390px); the name wraps instead. */
.plates span{font-family:var(--ui);font-size:var(--t-s);color:var(--ink-soft);flex:none;}

/* ---------------------------------------------------------- gallery */

.gallery-head > * + *{margin-top:1.2rem;}
.strip{margin-top:clamp(2.5rem,5vw,4rem) !important;}
/* By occasion (Ben, 12 Nov): jump links, then one set per kind of event. */
.gallery-nav ul{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:.5rem;}
.gallery-nav a{display:inline-block;padding:.45rem .95rem;border:1px solid var(--rule-gold);border-radius:999px;
  font-size:var(--t-s);color:var(--ink);text-decoration:none;background:var(--paper);}
.gallery-nav a:hover,.gallery-nav a:focus-visible{background:var(--cream);border-color:var(--gold);}
.gset,.strip,.laid,#g-garden{scroll-margin-top:1.5rem;}
.gset{margin-top:clamp(3rem,6vw,4.5rem);}
.gset__head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:.5rem 1.5rem;
  border-top:1px solid var(--rule-gold);padding-top:1.1rem;margin-bottom:1.25rem;}
.gset__head a{font-size:var(--t-s);color:var(--ink-soft);}
.gset__grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,17rem),1fr));gap:clamp(.75rem,2vw,1.25rem);align-items:start;}
.strip__stage{
  overflow-x:auto;scroll-snap-type:x mandatory;
  scrollbar-color:var(--gold) transparent;
  padding-block:.5rem 1.25rem;
}
.strip__row{display:flex;gap:2rem;width:max-content;padding-inline:var(--gutter);}
.strip__pic{flex:none;scroll-snap-align:start;scroll-margin-inline:var(--gutter);}
.strip__pic .window__pane img{height:min(62svh,36rem);width:auto;max-width:none;}
/* Desktop without the pinned pan (Firefox, older Safari, reduced motion):
   a sideways-scrolling row hid six of eight pictures from a mouse. Lay them
   out as a justified wall instead, aligned to the page's text edge. */
@media (min-width:56rem){
  .strip__stage{overflow:visible;scroll-snap-type:none;padding-block:0;}
  .strip__row{
    flex-wrap:wrap;width:auto;gap:var(--colgap);
    padding-inline:max(var(--gutter),(100% - 76rem) / 2);
  }
  .strip__row::after{content:"";flex:999 1 0;}
  .strip__pic{flex:1 1 auto;}
  .strip__pic .window__pane img{height:clamp(14rem,24vw,22rem);width:100%;object-fit:cover;}
}
@media (max-width:40rem){
  .strip__row{gap:1rem;}
  .strip__pic{width:78vw;}
  .strip__pic .window__pane img{width:100%;height:auto;max-width:100%;}
}

.laid > h2{margin-bottom:clamp(2rem,5vw,4rem);}
.laid__grid{row-gap:clamp(2.5rem,6vw,5rem);align-items:start;}
/* Every figure gets a width on phones: an even one is pushed right with
   justify-self:end, and a landscape one there had none, so Chrome on Android
   shrank it to an empty frame (the candles and the car, QA 3 Nov). */
.laid__pic{width:100%;}
.laid__pic[data-shape="portrait"]{width:72%;}
.laid__pic:nth-child(even){justify-self:end;}
@media (min-width:48rem){
  .laid__pic[data-shape="portrait"]{width:auto;}
  .laid__pic--1{grid-column:2 / 9;grid-row:1;}
  .laid__pic--2{grid-column:10 / 14;grid-row:1;margin-top:6rem;}
  .laid__pic--3{grid-column:3 / 7;grid-row:2;}
  .laid__pic--4{grid-column:8 / 14;grid-row:2;margin-top:5rem;}
  .laid__pic--5{grid-column:2 / 6;grid-row:3;}
  .laid__pic--6{grid-column:7 / 14;grid-row:3;margin-top:7rem;}
  .laid__pic--7{grid-column:3 / 9;grid-row:4;}
  .laid__pic--8{grid-column:10 / 14;grid-row:4;margin-top:4rem;}
  .laid__pic:nth-child(even){justify-self:stretch;}
}
.garden > h2{margin-bottom:2rem;}
.garden .pic{max-width:56rem;}

/* ---------------------------------------------------------- footer */

.colophon{background:var(--accent);color:var(--on-accent);padding-block:clamp(4rem,9vw,7rem) 1.5rem;font-size:var(--t-s);margin-top:var(--stack);}
.colophon :focus-visible{outline-color:var(--gold-pale);}
.colophon a{text-decoration-color:rgba(214,184,119,.5);}
.colophon a:hover{color:var(--gold-pale);}
.colophon .lozenge{--lz-bg:var(--accent);margin:0 auto 1.5rem;background-image:linear-gradient(var(--gold-pale),var(--gold-pale));}
.colophon .lozenge::after{border-color:var(--gold-pale);}
.colophon__cta{text-align:center;font-size:var(--t-body);}
.colophon__cta h2{color:var(--on-accent);margin-bottom:1rem;}
.colophon__ask > p + p{margin-top:.5rem;}
.colophon__phone{font-family:var(--display);font-size:1.6rem;margin-top:1.25rem !important;}
/* The three steps beside it (Ben, 19 Oct): gold-ruled cells, as on the home page. */
.colophon__cta--steps{display:grid;gap:3rem;align-items:center;}
.colophon__steps{list-style:none;margin:0;padding:0;display:grid;gap:1px;text-align:left;
  background:rgba(214,184,119,.4);border:1px solid var(--gold-pale);}
.colophon__steps li{background:var(--accent);padding:1.15rem 1.3rem;display:grid;grid-template-columns:auto 1fr;column-gap:1.1rem;align-items:baseline;}
.colophon__n{grid-row:1 / 3;font-family:var(--display);font-size:2.1rem;line-height:1;color:var(--gold-pale);}
.colophon__step{font-family:var(--display);font-size:1.3rem;line-height:1.2;color:var(--paper);}
.colophon__steps li p + p{margin-top:.3rem;font-size:var(--t-s);color:var(--on-accent);}
@media (min-width:56rem){
  .colophon__cta--steps{grid-template-columns:5fr 6fr;column-gap:clamp(3rem,7vw,7rem);}
  .colophon__cta--steps .colophon__ask{text-align:left;}
  .colophon__cta--steps .lozenge{margin-left:0;}
}
.colophon__phone a{text-decoration:none;}
.colophon__cta .action{margin-top:1.5rem;}
.colophon__cta .action:hover{color:var(--accent);}
.colophon__inner{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr));
  gap:2rem 3rem;margin-top:clamp(3.5rem,7vw,5.5rem);padding-top:2.5rem;
  border-top:1px solid rgba(214,184,119,.35);
}
.colophon__inner p + p{margin-top:.6rem;}
.colophon__name{font-family:var(--display);font-size:1.2rem;letter-spacing:.06em;color:var(--gold-pale);}
.colophon__label{color:var(--gold-pale);margin-bottom:.5rem;}
.colophon .query{color:#E2C48A;}
.colophon__legal{margin-top:2.5rem;padding-top:1.25rem;border-top:1px solid rgba(243,234,220,.16);color:rgba(243,234,220,.72);font-size:var(--t-xs);}

/* ?standins - outlines every stand-in so Ben can see what still needs a
   real photograph. Nothing shows by default. */
html.show-standins [data-stand-in]{outline:2px dashed var(--query);outline-offset:4px;}

/* ==========================================================================
   MOTION
   The home hero opening and the gallery strip, plus one unveil per
   picture. Which unveil is decided in templates.reveal_role(), from what
   the photograph shows and where it sits, and arrives as data-reveal:
     curtain  a room spread parts from the centre, like doors onto the room
     frame    the double gold rule draws itself, then the photo fades up
     arch     The Glass House only: its photo opens from a glasshouse arch
     drift    the full-width band: the photo moves slowly inside its frame
     focus    close-ups: soft and warm, then sharp
     rise     a pair's bleed rises into place...
     drop     ...and its window drops into place, a beat later
   Only transform-family properties, opacity, clip-path and filter animate,
   so nothing reflows. MOTION.md is the tour for Ben.
   ========================================================================== */

@keyframes reveal-curtain{
  from{clip-path:inset(0 50% 0 50%);scale:1.06;}
  to{clip-path:inset(0 0 0 0);scale:1;}
}
/* An arch standing on the sill, Palm House glass and iron, opening out to
   the whole picture. Radii are % of the picture, so it is a true round
   arch on a 3:2 picture and a taller one on a portrait. */
@keyframes reveal-arch{
  from{clip-path:inset(26% 31% 0 31% round 19% 19% 0 0 / 28% 28% 0 0);scale:1.08;}
  to{clip-path:inset(0 0 0 0 round 0 0 0 0 / 0 0 0 0);scale:1;}
}
/* The rule is drawn by two hands from the top centre, down both sides, to
   meet at the foot: a fan from the middle (C) whose two tips (L, R) walk
   the edge. Points: C, R, R-bottom corner, R-top corner, top centre,
   L-top corner, L-bottom corner, L. */
@keyframes rule-draw{
  0%{clip-path:polygon(50% 50%,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0);}
  25%{clip-path:polygon(50% 50%,100% 0,100% 0,100% 0,50% 0,0 0,0 0,0 0);}
  75%{clip-path:polygon(50% 50%,100% 100%,100% 100%,100% 0,50% 0,0 0,0 100%,0 100%);}
  100%{clip-path:polygon(50% 50%,50% 100%,100% 100%,100% 0,50% 0,0 0,0 100%,50% 100%);}
}
@keyframes reveal-fade{
  from{opacity:0;scale:1.03;}
  to{opacity:1;scale:1;}
}
@keyframes reveal-focus{
  from{filter:blur(12px) sepia(.45) saturate(.8);opacity:.2;scale:1.05;}
  40%{opacity:1;}
  to{filter:none;opacity:1;scale:1;}
}
@keyframes reveal-rise{
  from{translate:0 12%;opacity:0;}
  to{translate:0 0;opacity:1;}
}
@keyframes reveal-drop{
  from{translate:0 -12%;opacity:0;}
  to{translate:0 0;opacity:1;}
}
/* The photo is 14% larger than its frame and travels 12% of its height
   through it, top to bottom, as the band crosses the screen. */
@keyframes reveal-drift{
  from{translate:0 -6%;scale:1.14;}
  to{translate:0 6%;scale:1.14;}
}
/* Without a scroll timeline drift cannot follow the scroll: it settles. */
@keyframes reveal-drift-settle{
  from{translate:0 5%;scale:1.14;}
  to{translate:0 0;scale:1.04;}
}
@keyframes slide{to{translate:calc(-100% + 100vw) 0;}}

@media screen{

  /* ---- the unveils, scroll-driven (Chrome, Edge, Safari 26) ----
     Each picture is its own view timeline (--pic), so the frame, the photo
     and the rule inside one figure all run off the same scroll. A second
     picture in a group (.pic--second) starts a little later (--lag). If a
     timeline is inactive the animation does nothing and the picture is
     simply shown, frame and all. */
  @supports (animation-timeline:view()) and (animation-range:entry){
    html.js.motion.sda .pic[data-reveal]{view-timeline:--pic block;--lag:0%;}
    html.js.motion.sda .pic--second[data-reveal]{--lag:6%;}

    html.js.motion.sda .pic[data-reveal="curtain"] img{
      animation:reveal-curtain linear both;
      animation-timeline:--pic;
      animation-range:entry 5% cover 45%;
    }
    html.js.motion.sda .pic[data-reveal="arch"] img{
      animation:reveal-arch linear both;
      animation-timeline:--pic;
      animation-range:entry 0% cover 38%;
    }
    html.js.motion.sda .pic[data-reveal="frame"] .window{position:relative;border-color:transparent;}
    html.js.motion.sda .pic[data-reveal="frame"] .window__pane{box-shadow:none;}
    html.js.motion.sda .pic[data-reveal="frame"] .window::before{
      content:"";position:absolute;inset:-1px;z-index:1;pointer-events:none;
      border:1px solid var(--gold);outline:1px solid var(--gold);outline-offset:-12px;
      animation:rule-draw linear both;
      animation-timeline:--pic;
      animation-range:entry calc(5% + var(--lag)) entry calc(95% + var(--lag));
    }
    html.js.motion.sda .pic[data-reveal="frame"] img{
      animation:reveal-fade linear both;
      animation-timeline:--pic;
      animation-range:entry calc(75% + var(--lag)) cover calc(38% + var(--lag));
    }
    html.js.motion.sda .pic[data-reveal="focus"] img{
      animation:reveal-focus linear both;
      animation-timeline:--pic;
      animation-range:cover calc(4% + var(--lag)) cover calc(38% + var(--lag));
    }
    html.js.motion.sda .pic[data-reveal="rise"] :is(.pic__crop,.window){
      animation:reveal-rise linear both;
      animation-timeline:--pic;
      animation-range:entry 0% cover 40%;
    }
    html.js.motion.sda .pic[data-reveal="drop"] .window{
      animation:reveal-drop linear both;
      animation-timeline:--pic;
      animation-range:cover calc(4% + var(--lag)) cover calc(38% + var(--lag));
    }
    html.js.motion.sda .pic[data-reveal="drift"] img{
      animation:reveal-drift linear both;
      animation-timeline:--pic;
      animation-range:cover 0% cover 100%;
    }
  }

  /* ---- the unveils, IntersectionObserver path (Firefox) ----
     The same keyframes on a clock, once, when the picture comes into view. */
  html.js.motion.io .pic[data-reveal]{--lag:0ms;}
  html.js.motion.io .pic--second[data-reveal]{--lag:140ms;}
  html.js.motion.io .pic[data-reveal="curtain"].is-in img{animation:reveal-curtain 1.3s var(--ease) var(--lag) both;}
  html.js.motion.io .pic[data-reveal="arch"].is-in img{animation:reveal-arch 1.6s var(--ease) var(--lag) both;}
  html.js.motion.io .pic[data-reveal="frame"] .window{position:relative;border-color:transparent;}
  html.js.motion.io .pic[data-reveal="frame"] .window__pane{box-shadow:none;}
  html.js.motion.io .pic[data-reveal="frame"] .window::before{
    content:"";position:absolute;inset:-1px;z-index:1;pointer-events:none;
    border:1px solid var(--gold);outline:1px solid var(--gold);outline-offset:-12px;
  }
  html.js.motion.io .pic[data-reveal="frame"].is-in .window::before{animation:rule-draw 1.1s var(--ease) var(--lag) both;}
  html.js.motion.io .pic[data-reveal="frame"].is-in img{animation:reveal-fade .9s var(--ease) calc(var(--lag) + .7s) both;}
  html.js.motion.io .pic[data-reveal="focus"].is-in img{animation:reveal-focus 1.3s var(--ease) var(--lag) both;}
  html.js.motion.io .pic[data-reveal="rise"].is-in :is(.pic__crop,.window){animation:reveal-rise 1.3s var(--ease) both;}
  html.js.motion.io .pic[data-reveal="drop"].is-in .window{animation:reveal-drop 1.3s var(--ease) calc(var(--lag) + 100ms) both;}
  html.js.motion.io .pic[data-reveal="drift"].is-in img{animation:reveal-drift-settle 2.4s var(--ease) both;}
  /* Waiting to be seen. Hidden only here, under html.js.motion.io. */
  html.js.motion.io .pic[data-reveal="curtain"]:not(.is-in) img{clip-path:inset(0 50% 0 50%);scale:1.06;}
  html.js.motion.io .pic[data-reveal="arch"]:not(.is-in) img{clip-path:inset(26% 31% 0 31% round 19% 19% 0 0 / 28% 28% 0 0);scale:1.08;}
  html.js.motion.io .pic[data-reveal="frame"]:not(.is-in) .window::before{clip-path:polygon(50% 50%,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0,50% 0);}
  html.js.motion.io .pic[data-reveal="frame"]:not(.is-in) img{opacity:0;}
  html.js.motion.io .pic[data-reveal="focus"]:not(.is-in) img{filter:blur(12px) sepia(.45) saturate(.8);opacity:.2;scale:1.05;}
  html.js.motion.io .pic[data-reveal="rise"]:not(.is-in) :is(.pic__crop,.window){translate:0 12%;opacity:0;}
  html.js.motion.io .pic[data-reveal="drop"]:not(.is-in) .window{translate:0 -12%;opacity:0;}
  html.js.motion.io .pic[data-reveal="drift"]:not(.is-in) img{translate:0 5%;scale:1.14;}

  /* ---- the gallery strip: vertical scroll pans the rooms sideways ---- */
  @media (min-width:56rem){
    @supports (animation-timeline:view()) and (animation-range:entry){
      html.js.motion.sda .strip{height:calc(100svh + 260svh);view-timeline:--strip block;}
      html.js.motion.sda .strip__stage{
        position:sticky;top:0;height:100svh;overflow:clip;
        display:flex;align-items:center;padding:0;
      }
      html.js.motion.sda .strip__row{
        flex-wrap:nowrap;width:max-content;
        animation:slide linear both;
        animation-timeline:--strip;
        animation-range:contain 8% contain 100%;
      }
      html.js.motion.sda .strip__row::after{content:none;}
      html.js.motion.sda .strip__pic{flex:none;}
      html.js.motion.sda .strip__pic .window__pane img{height:min(62svh,36rem);width:auto;}
    }
  }
}

/* ---- the opening (Mark, 6 Nov meeting; replaces the 19 Oct window that grew) ----
   "Start with the full screen, and as you scroll the book a room appears
   without the picture changing size." With JS and motion allowed, on every
   screen size and in every browser: the photo fills the screen under the
   masthead from the first frame and never changes size or zooms; his seal
   drops in once on load; the welcome card with Book now rises in on the
   first scroll (site.js adds html.opening-go). The headline and the styles
   follow below the photo. Everyone else (JS off, Reduce Motion, ?static,
   print) keeps the framed static layout above. */
@media screen{
  html.js.motion{--mh-now:11.5rem;}
  html.js.motion main > .opening{margin-top:0;}
  html.js.motion .opening__stage{position:relative;row-gap:clamp(2rem,4vw,3.5rem);}
  html.js.motion .opening__photo{
    grid-column:1 / -1;grid-row:1;padding:0;border:0;background:var(--linen);
    height:max(24rem,calc(100svh - var(--mh-now)));overflow:hidden;
  }
  html.js.motion .opening__photo .pic,
  html.js.motion .opening__photo picture{display:block;height:100%;}
  html.js.motion .opening__photo .pic img{height:100%;aspect-ratio:auto;box-shadow:none;object-fit:cover;}
  html.js.motion .opening__photo figcaption{display:none;}
  html.js.motion .opening__brand{
    display:grid;place-items:center;grid-column:1 / -1;grid-row:1;
    justify-self:center;align-self:start;margin-top:clamp(1.1rem,4svh,2.5rem);z-index:2;pointer-events:none;
    width:clamp(5.75rem,15svh,9rem);aspect-ratio:1;border-radius:50%;
    background:var(--paper);border:1px solid var(--gold);
    box-shadow:0 0 0 4px var(--paper),0 0 0 5px var(--gold),0 .6rem 1.5rem rgb(0 0 0 / .28);
    animation:phone-brand .8s .35s cubic-bezier(.2,.7,.2,1) both;
  }
  html.js.motion .opening__brand img{width:84%;height:auto;}
  html.js.motion .opening__welcome{
    display:grid;justify-items:center;gap:.45rem;text-align:center;
    grid-column:2 / 14;grid-row:1;align-self:end;justify-self:center;width:100%;max-width:36rem;
    margin-bottom:clamp(1.25rem,6svh,4rem);z-index:2;
    padding:clamp(1.35rem,3vw,2rem) clamp(1.25rem,3vw,2.5rem) clamp(1.5rem,3vw,2.25rem);
    background:color-mix(in srgb,var(--accent) 90%,transparent);color:var(--on-accent);
    border:1px solid var(--gold);outline:1px solid var(--gold-pale);outline-offset:-8px;
    box-shadow:0 1.25rem 3rem rgb(0 0 0 / .3);
    opacity:0;translate:0 1.75rem;pointer-events:none;
    transition:opacity .7s cubic-bezier(.2,.7,.2,1),translate .7s cubic-bezier(.2,.7,.2,1);
  }
  html.js.motion.opening-go .opening__welcome{opacity:1;translate:none;pointer-events:auto;}
  html.js.motion .opening__welcome-hello{font-size:var(--t-xs);letter-spacing:.16em;text-transform:uppercase;color:var(--gold-pale);}
  html.js.motion .opening__welcome-line{font-family:var(--display);font-size:clamp(1.7rem,4.2vw,3.1rem);line-height:1.08;color:var(--paper);}
  html.js.motion .opening__welcome-go{margin-top:.6rem;}
  html.js.motion .opening__hello{display:none;}
  html.js.motion .opening__copy{grid-column:2 / 14;grid-row:2;}
}
@media screen and (min-width:56rem){
  html.js.motion{--mh-now:124px;}
  html.js.motion .opening__copy{grid-column:2 / 11;}
}
@keyframes phone-brand{from{opacity:0;translate:0 -1rem;}to{opacity:1;translate:none;}}

/* Focus safety: a picture holding focus is never clipped, faded or moved. */
.pic:focus-within :is(img,.window,.window__pane,.pic__crop){clip-path:none !important;animation:none !important;opacity:1 !important;filter:none !important;translate:none !important;}
.pic:focus-within .window::before{animation:none !important;clip-path:none !important;}
/* Wakes: pictures are simply there. */
[data-quiet] .pic :is(img,.window,.pic__crop){animation:none !important;clip-path:none !important;scale:none !important;translate:none !important;opacity:1 !important;filter:none !important;}
[data-quiet] .pic .window::before{content:none !important;}

/* Belt and braces. */
html.static *,html.static *::before,html.static *::after{animation:none !important;transition:none !important;}
/* Reduced motion, unless Ben's ?motion preview switch overrides it. */
@media (prefers-reduced-motion:reduce){
  html:not(.motion) :is(.pic img,.pic .window__pane,.pic .window,.pic .pic__crop,
  .opening,.opening__stage,.opening__photo,.opening__photo img,.opening__frame,.opening__copy,.opening__welcome,
  .strip,.strip__stage,.strip__row){
    clip-path:none !important;scale:none !important;translate:none !important;animation:none !important;
  }
  html:not(.motion) .pic :is(img,.window,.pic__crop){opacity:1 !important;filter:none !important;}
  html:not(.motion) .pic .window::before{content:none !important;}
  html:not(.motion) .contents__window img{transition:none;}
  html:not(.motion) :is(a,.action){transition:none;}
}
@media print{
  *{clip-path:none !important;scale:none !important;translate:none !important;animation:none !important;transform:none !important;}
  .masthead__nav,.action,.opening__frame{display:none;}
  .colophon{background:none;color:var(--ink);}
  .band-photo{height:auto;}
}

.guide__aside .lozenge{margin-inline:0;}
.legal__contents ol.guide__toc{padding-left:0;margin-left:0;}
.opening__photo figcaption{color:var(--ink);}

/* ---------------------------------------------------------- gallery lightbox */
.has-lightbox .pic{position:relative;}
.pic__open{position:absolute;inset:0;z-index:2;width:100%;height:100%;padding:0;border:0;background:transparent;cursor:zoom-in;}
.pic__open:focus-visible{outline:2px solid var(--gold-deep);outline-offset:4px;}
html.lightbox-open{overflow:hidden;}
.lightbox{
  width:100vw;height:100dvh;max-width:none;max-height:none;margin:0;padding:clamp(3.5rem,6vw,4.5rem) clamp(1rem,5vw,5rem);
  border:0;background:var(--paper);color:var(--ink);
}
.lightbox::backdrop{background:rgb(43 38 34 / .55);}
.lightbox[open]{display:grid;place-items:center;}
.lightbox__fig{margin:0;display:grid;justify-items:center;gap:.9rem;max-height:100%;}
.lightbox__fig img{
  display:block;max-width:100%;max-height:calc(100dvh - 11rem);width:auto;height:auto;
  padding:10px;background:var(--linen);border:1px solid var(--gold);box-shadow:0 1.5rem 3rem rgb(43 38 34 / .2);
}
.lightbox__cap{font-family:var(--display);font-size:var(--t-h3);text-align:center;max-width:40ch;}
.lightbox__count{position:absolute;top:1.4rem;left:50%;translate:-50% 0;font-size:var(--t-s);color:var(--ink-soft);letter-spacing:.08em;}
.lightbox button{
  position:absolute;display:grid;place-items:center;width:3rem;height:3rem;padding:0;cursor:pointer;
  font:300 2rem/1 var(--display);color:var(--gold-deep);background:var(--paper);
  border:1px solid var(--gold);border-radius:50%;transition:background-color .2s,color .2s;
}
.lightbox button:hover{background:var(--gold-deep);color:var(--paper);}
.lightbox button:focus-visible{outline:2px solid var(--gold-deep);outline-offset:3px;}
.lightbox__close{top:1rem;right:1rem;}
.lightbox__prev,.lightbox__next{top:50%;translate:0 -50%;}
.lightbox__prev{left:clamp(.5rem,2vw,1.5rem);}
.lightbox__next{right:clamp(.5rem,2vw,1.5rem);}
@media (max-width:40rem){
  .lightbox__prev,.lightbox__next{top:auto;bottom:1rem;translate:none;}
  .lightbox__fig img{max-height:calc(100dvh - 13rem);}
}

/* ---------------------------------------------------------- Christmas strip (home) */
.xmas-band{background:var(--accent);color:var(--on-accent);padding-block:clamp(1.5rem,3.5vw,2.25rem);
  border-block:1px solid var(--gold);margin-block:0 !important;position:relative;}
.xmas-band::before,.xmas-band::after{content:"";position:absolute;left:0;right:0;height:1px;background:var(--gold);opacity:.55;}
.xmas-band::before{top:5px;}
.xmas-band::after{bottom:5px;}
.xmas-band__in{display:grid;gap:1.1rem;align-items:center;}
.xmas-band__line{font-family:var(--display);font-size:clamp(1.45rem,2.6vw,2rem);line-height:1.15;color:var(--paper);}
.xmas-band__sub{margin-top:.4rem;font-size:var(--t-s);max-width:52ch;}
.xmas-band__go{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem 1.5rem;}
.xmas-band__date{color:var(--on-accent);font-size:var(--t-s);}
@media (min-width:48rem){.xmas-band__in{grid-template-columns:1fr auto;}}

/* ---------------------------------------------------------- page not found */
.lost{row-gap:2.5rem;align-items:center;}
.lost__text > * + *{margin-top:1rem;}
.lost .plates{margin-top:1.5rem !important;}
@media (min-width:48rem){
  .lost__pic{grid-column:2 / 7;}
  .lost__text{grid-column:8 / 14;}
}

/* ---------------------------------------------------------- leave a review (home) */
/* Ben, 19 Oct: ask past guests for a Google review. A slim strip at the
   foot of the home page, set like the Christmas strip but on cream, just
   above the navy footer. No stars: there is no rating to show yet. */
.review-strip{background:var(--cream);border-block:1px solid var(--gold);position:relative;
  padding-block:clamp(1.5rem,3.5vw,2.25rem);margin-top:var(--stack);}
.review-strip::before,.review-strip::after{content:"";position:absolute;left:0;right:0;height:1px;background:var(--gold);opacity:.45;}
.review-strip::before{top:5px;}
.review-strip::after{bottom:5px;}
.review-strip__in{display:grid;gap:1.1rem;align-items:center;}
.review-strip__eyebrow{font-size:var(--t-xs);letter-spacing:.16em;text-transform:uppercase;color:var(--gold-deep);}
.review-strip__line{font-size:clamp(1.6rem,2.8vw,2.2rem);line-height:1.15;margin-top:.35rem;}
@media (min-width:48rem){.review-strip__in{grid-template-columns:1fr auto;}}
body:has(.review-strip) .colophon{margin-top:0;}
