/* St Anne's Winery — their logo in place of the Glass Estate wordmark */
.loaderLogo { width: 92px; height: auto; display: block; margin: 0 auto; }
header .logo img { height: 48px; width: auto; display: block; }
.cue.opening { left: 0; right: 0; top: 0; bottom: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.doors { margin: 0; }
.footLogo { width: clamp(120px, 14vw, 220px); height: auto; display: block; opacity: .9; }
@media (max-width: 860px), (orientation: portrait) {
  header .logo img { height: 40px; }
}
.cue.opening::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse 50% 45% at 50% 50%, rgba(8,7,6,.5), rgba(8,7,6,0)); }

/* ---------- second pass, 26 Nov 2026 ---------- */
/* the header stays white (it mixed with the sky and turned gold) */
header { mix-blend-mode: normal; color: #fff; text-shadow: 0 1px 14px rgba(0,0,0,.45); }
header::before { content: ""; position: absolute; inset: 0 0 -40px 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,.38), rgba(0,0,0,0)); }
header nav a { opacity: .9; }

/* pills: see-through glass, white edge; one spot of colour on Shop wines */
.pill, .pill.solid { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.75); -webkit-backdrop-filter: blur(12px) saturate(1.2); backdrop-filter: blur(12px) saturate(1.2); }
.pill:hover, .pill.solid:hover { background: rgba(255,255,255,.24); color: #fff; }
header .pill { background: var(--wine); border-color: var(--wine); }
header .pill:hover { background: #7f322e; }

/* the website's own sections: glass over the 3D, not solid */
.page, .after { background: transparent; border-top: 0; }
.interval { min-height: 210vh; display: flex; flex-direction: column; justify-content: center; }
.after { min-height: 230vh; padding-top: 30vh; }
.glass.panel { padding: clamp(28px, 3.4vw, 56px); }
.grid3.glass.panel { margin-bottom: 24px; }
.news.glass.panel { margin-top: 0; border-top: 1px solid rgba(255,255,255,.3); }
/* the footer is the one solid band */
.after footer { margin: clamp(90px, 14vh, 160px) calc(-1 * var(--pad)) -40px; padding: 50px var(--pad) 40px; background: var(--ink); }
.after { display: flex; flex-direction: column; }
.after footer { margin-top: auto; }
.grid3.glass.panel { margin-top: auto; }

/* ---------- version 2: words straight over the picture, no glass slides ---------- */
.side.bare { top: auto; bottom: 10vh; margin: 0; padding: 0; background: none; border: 0; text-shadow: 0 2px 30px rgba(0,0,0,.6), 0 0 10px rgba(0,0,0,.25); }
.side.bare.left { left: var(--pad); right: auto; width: min(38vw, 32em); }
.side.bare.right { right: var(--pad); left: auto; width: min(36vw, 30em); }
.side.bare p { color: rgba(255,255,255,.88); font-size: .9em; }
.side.bare .pill { font-size: .58em; }
.grid3.bare { text-shadow: 0 2px 30px rgba(0,0,0,.65); margin-top: auto; }
.grid3.bare .list span { color: rgba(255,255,255,.75); }
#window .grade { background: radial-gradient(ellipse at 50% 45%, rgba(0,0,0,0) 45%, rgba(0,0,0,.4) 100%), linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,0) 30%, rgba(0,0,0,0) 55%, rgba(0,0,0,.45)); }
@media (max-width: 860px), (orientation: portrait) {
  .side.bare.left, .side.bare.right { left: var(--pad); right: var(--pad); width: auto; bottom: 6vh; }
  .side.bare .big { font-size: 31px; }
  .side.bare p { font-size: .9em; }
}

/* the header link for the part of the flight you are in: a fine white line drawn in under it */
header nav a { position: relative; transition: opacity .5s var(--ease); }
header nav a::after { content: ""; position: absolute; left: 0; right: .3em; bottom: -9px; height: 1px; background: #fff; box-shadow: 0 0 10px rgba(255,255,255,.6); transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease); }
header nav a.on { opacity: 1; }
header nav a.on::after { transform: scaleX(1); }

/* Explore the area: the button beside each slide's own; when pressed the slide goes and the button
   becomes Continue the tour in the corner */
.pills { display: flex; gap: 12px; flex-wrap: wrap; }
body.exploring main { pointer-events: none; }
body.exploring main .cue { opacity: 0 !important; transition: opacity .5s var(--ease); }
body.exploring #gl { cursor: grab; }
/* Mobile: a long title (Mount Alexander, among the vines) breaks onto two lines instead of running off the sides */
@media (max-width: 860px), (orientation: portrait) {
  .cue.fly { width: 72vw; white-space: normal; }
}

/* ---------- 27 Nov 2026: the logo, the Explore title, the end slide ---------- */
/* the logo in the header, four times its old size (his); the links sit on its top line. While the opening's own big
   logo is on screen the header's waits, so there is only ever one logo: it fades in as the opening logo leaves */
:root { --logoH: clamp(80px, 12.5vh, 132px); }
header { align-items: flex-start; }
header .logo { transition: opacity 1.2s var(--ease); }
header .logo img { height: var(--logoH); }
header nav, header .pill, #menuBtn { margin-top: 12px; }
@media (max-width: 860px), (orientation: portrait) {
  :root { --logoH: clamp(76px, 12.5vh, 112px); }
  header .logo img { height: var(--logoH); }
}

/* Explore: its words in the film's title look, held still in the middle (film.js fades them up and away on a clock).
   Nothing on the page can be selected while exploring: a click or double-click on the scan never turns words blue */
#exploreTitle { position: fixed; z-index: 25; pointer-events: none; transform: translate(-50%, -50%); }
#exploreTitle, body.exploring, header, #continueTour, .pill { -webkit-user-select: none; user-select: none; }
header img, .cue img { -webkit-user-drag: none; user-drag: none; }

/* the end: one full-screen glass slide over the last view, the page resting on it */
.endSlide { inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: clamp(28px, 4.5vh, 60px); padding: calc(var(--logoH) + 70px) var(--pad) clamp(22px, 3vh, 34px); border-top: 0; background: rgba(14, 17, 22, .38); }
.endSlide .giant { margin: .12em 0 0; }
.endSlide .grid3 { align-items: start; }
.endSlide .grid3 p { max-width: 22em; }
.endSlide .list { margin: 0; }
.endPills { flex-direction: column; align-items: flex-start; }
.endSlide .legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-top: 18px; border-top: 1px solid var(--line); font-size: .75em; color: rgba(239, 233, 223, .5); }
@media (max-width: 860px), (orientation: portrait) {
  .endSlide { gap: 18px; padding: calc(var(--logoH) + 30px) var(--pad) 16px; }
  .endSlide .giant { font-size: clamp(36px, 10.5vw, 50px); }
  .endSlide .grid3 { gap: 14px; }
  .endSlide .grid3 h3 { margin: 0 0 .6em; }
  .endSlide .grid3 p { margin: 0; font-size: .9em; }
  .endSlide .list li { padding: .42em 0; }
  .endPills { flex-direction: row; gap: 8px; }
  .endPills .pill { padding: .95em 1.3em; }
  .endSlide .legal { padding-top: 12px; font-size: .68em; }
}

/* Mobile: the menu is a header across the top (4 Dec 2026, his), no Menu button. The logo sits under it */
@media (max-width: 860px), (orientation: portrait) {
  #menuBtn { display: none; }
  header { flex-wrap: wrap; padding: calc(env(safe-area-inset-top, 0px) + 4px) var(--pad) 0; gap: 0; }
  header nav { display: flex; order: -1; flex: 1 0 100%; justify-content: space-between; gap: 0; margin: 0; }
  header nav a { font-size: clamp(8.5px, 2.5vw, 14px); letter-spacing: .14em; padding: 15px 0; white-space: nowrap; opacity: .95; }
  header nav a::after { bottom: 9px; right: .14em; }
  header .logo { margin-top: 6px; }
  .endSlide { padding-top: calc(var(--logoH) + 66px); }
}
@media (max-width: 860px) and (orientation: landscape) {
  header { flex-wrap: nowrap; align-items: flex-start; gap: 30px; }
  header nav { order: 0; flex: 1; justify-content: flex-end; gap: 28px; }
  header .logo img { height: 58px; }
}


/* ---------- 5 Dec 2026 (his markup): one editorial piece. Small words from the header over every title; Previous · Explore · Next at the
   bottom centre for the whole tour; play / pause in the corner; the pills in three styles (Outline, Glass, Frosted: the test panel selects) ---------- */
:root { --navB: clamp(20px, 4vh, 44px); --navF: clamp(28px, min(2.7vw, 5vh), 50px); --ppS: clamp(42px, min(3.4vw, 6vh), 58px); --navTop: calc(var(--navB) + var(--navF) * 1.2 + 26px); }

/* the pills: Outline (no fill), Glass (clear, like the latest iPhone), Frosted (smoked glass) */
.pill, .pill.solid, header .pill { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.78); -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; transition: background .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease); }
@media (hover: hover) { .pill:hover, .pill.solid:hover, header .pill:hover { background: rgba(255,255,255,.13); color: #fff; border-color: #fff; } }

/* the slides: the small words (the header's names) close over the title, the paragraph under */
.side.bare { bottom: calc(var(--navTop) + clamp(22px, 4.5vh, 54px)); max-width: none; }
.side.bare.left { left: var(--pad); right: auto; width: min(38vw, 31em); }
.side.bare.right { right: var(--pad); left: auto; width: min(36vw, 30em); }
.kicker { display: block; font-size: .74em; letter-spacing: .32em; color: var(--bone); opacity: .68; margin: 0 0 .95em; }
.side.bare > .big { margin: 0; line-height: .95; }
.side.bare > p { margin: clamp(14px, 2.2vh, 24px) 0 0; font-size: .95em; color: rgba(255,255,255,.9); }
.side.bare > .kicker, .side.bare > p, .endSlide p, .endSlide .kicker, .endSlide li, #tourNav span { text-shadow: 0 0 3px rgba(0,0,0,.5), 0 1px 14px rgba(0,0,0,.8); }
.side.bare > .big { text-shadow: 0 0 4px rgba(0,0,0,.3), 0 2px 26px rgba(0,0,0,.7); }

/* Previous · Explore · Next: one group, in the middle at the bottom; it never moves (the stop names sit above, outward) */
#tourNav { position: fixed; z-index: 18; left: 50%; bottom: var(--navB); transform: translateX(-50%); display: flex; align-items: center; gap: clamp(26px, 3vw, 56px); transition: opacity .6s var(--ease), visibility .6s; }
body:not(.ready) #tourNav, body.opening #tourNav { opacity: 0; visibility: hidden; }
#prevStop, #nextStop { position: relative; width: calc(var(--navF) * 5.2); display: flex; padding: 0; margin: 0; border: 0; background: none; color: #fff; font: inherit; cursor: pointer; text-shadow: 0 2px 26px rgba(0,0,0,.65), 0 0 8px rgba(0,0,0,.3); transition: opacity .6s var(--ease), visibility .6s; -webkit-user-select: none; user-select: none; touch-action: none; -webkit-tap-highlight-color: transparent; }
#prevStop { justify-content: flex-end; }
#nextStop { justify-content: flex-start; }
#prevStop::after, #nextStop::after { content: ""; position: absolute; inset: -16px -14px; }
#tourNav b { display: flex; align-items: center; gap: .4em; font-size: var(--navF); font-weight: 200; line-height: 1; letter-spacing: -.015em; white-space: nowrap; }
#tourNav button > span.caps-sm { position: absolute; bottom: calc(100% + 10px); font-size: .6em; line-height: 1; opacity: .85; white-space: nowrap; }
#prevStop > span { right: 0; margin-right: -.34em; }
#nextStop > span { left: 0; }
#tourNav svg { width: 1.2em; height: .32em; margin-top: .14em; overflow: visible; filter: drop-shadow(0 1px 8px rgba(0,0,0,.5)); transition: transform .5s var(--ease); }
#tourNav path, #playPause path { fill: none; stroke: #fff; stroke-width: 1.2; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
@media (hover: hover) { #nextStop:hover svg { transform: translateX(.18em); } #prevStop:hover svg { transform: translateX(-.18em); } }
#tourNav button.off { opacity: 0; visibility: hidden; pointer-events: none; }
#exploreStop { flex: none; padding: 1.15em 2.3em 1.15em 2.6em; font: inherit; font-size: .64em; font-weight: 500; letter-spacing: .34em; text-transform: uppercase; line-height: 1; cursor: pointer; text-shadow: 0 1px 12px rgba(0,0,0,.6); -webkit-tap-highlight-color: transparent; touch-action: none; }
body.moving #tourNav, body.moving #playPause { pointer-events: none; }

/* play / pause, in the corner for the whole tour */
#playPause { position: fixed; z-index: 18; right: var(--pad); bottom: calc(var(--navB) + var(--navF) * .5 - var(--ppS) / 2); width: var(--ppS); height: var(--ppS); padding: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer; transition: opacity .6s var(--ease), visibility .6s, background .4s var(--ease); -webkit-tap-highlight-color: transparent; touch-action: none; }
#playPause svg { width: 42%; height: 42%; overflow: visible; filter: drop-shadow(0 1px 6px rgba(0,0,0,.5)); }
#playPause .pl { display: none; } #playPause.paused .pl { display: block; } #playPause.paused .pz { display: none; }
body:not(.ready) #playPause, body.opening #playPause, body.exploring #playPause { opacity: 0; visibility: hidden; pointer-events: none; }

/* the end slide: the same small words over its title; the details of every cellar door */
.endHero { display: block; }
.endSlide .giant { font-size: clamp(44px, min(6.6vw, 11.5vh), 124px); margin: 0; }
.endSlide .kicker { font-size: .74em; }
.endSlide .grid3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr) auto; align-items: start; }
.endSlide .grid3 h3.kicker { margin: 0 0 1.2em; }
.endSlide .find h3 a { border-bottom: 1px solid rgba(239,233,223,.5); padding-bottom: .35em; }
.endSlide .plan p { margin: 0 0 .9em; max-width: 24em; color: rgba(255,255,255,.88); }
.endSlide .doors li { display: grid; grid-template-columns: 6.4em minmax(0, 1fr) auto; gap: 14px; align-items: baseline; }
.endSlide .doors li a { color: #fff; white-space: nowrap; }
.endSlide .doors span { color: rgba(255,255,255,.72); }
.endPills { flex-direction: column; align-items: stretch; }
.endPills .pill { justify-content: center; }
.endSlide { padding-bottom: calc(var(--navTop) + 14px); }

/* the words read over light ground: the foot of the picture darkens softly; nothing behind any one slide */
#window .grade { background: radial-gradient(ellipse at 50% 45%, rgba(0,0,0,0) 45%, rgba(0,0,0,.4) 100%), linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,0) 30%, rgba(0,0,0,0) 48%, rgba(0,0,0,.34) 68%, rgba(0,0,0,.62)); }
.cue.fly .caps-sm { text-shadow: 0 0 4px rgba(0,0,0,.6), 0 1px 18px rgba(0,0,0,.85); }
/* the drag hint sits low, over the vines, clear of the restaurant as it arrives */
.cue.fly.hint { top: 68%; }
.cue.fly.hint::before { content: ""; position: absolute; inset: -60% -35%; z-index: -1; background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(8,7,6,.62), rgba(8,7,6,0)); }

/* ---------- Mobile ---------- */
@media (max-width: 860px), (orientation: portrait) {
  :root { --navB: calc(env(safe-area-inset-bottom, 0px) + 20px); --navF: clamp(22px, 6.6vw, 38px); --ppS: clamp(40px, 11vw, 54px); --navTop: calc(var(--navB) + var(--navF) * 1.15 + 22px); }
  .side.bare.left, .side.bare.right { left: var(--pad); right: var(--pad); width: auto; bottom: calc(var(--navTop) + 26px); }
  .side.bare > .big, .side.left.bare > .big, .side.right.bare > .big { font-size: clamp(32px, 10vw, 60px); text-wrap: balance; }
  .side.bare > p { font-size: .95em; line-height: 1.5; margin-top: 12px; }
  #tourNav { left: var(--pad); right: calc(var(--pad) + var(--ppS) + 14px); transform: none; justify-content: space-between; gap: 8px; }
  #prevStop, #nextStop { width: auto; }
  #prevStop > span { left: 0; right: auto; margin: 0; }
  #nextStop > span { left: auto; right: 0; margin-right: -.24em; }
  #tourNav button > span.caps-sm { font-size: max(8.5px, .6em); letter-spacing: .24em; bottom: calc(100% + 8px); }
  #tourNav svg { width: .9em; }
  #exploreStop { font-size: max(9px, .6em); padding: 1.05em 1.5em 1.05em 1.8em; letter-spacing: .3em; }
  .endSlide { gap: 14px; padding-top: calc(var(--logoH) + 50px); padding-bottom: calc(var(--navTop) + 8px); }
  .endSlide .giant { font-size: clamp(32px, 10vw, 60px); white-space: nowrap; }
  .endSlide .grid3 { grid-template-columns: 1fr; gap: 12px; }
  .endSlide .grid3 h3.kicker { margin: 0 0 .7em; }
  .endSlide .plan p { margin: 0 0 .3em; font-size: .86em; line-height: 1.45; max-width: none; }
  .endSlide .doors li { grid-template-columns: 5.4em minmax(0, 1fr) auto; gap: 8px; padding: .38em 0; font-size: .8em; }
  .endSlide .doors span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .endPills { flex-direction: row; gap: 8px; }
  .endPills .pill { flex: 1; padding: 1em 0; font-size: clamp(7.5px, 2.15vw, 11px); letter-spacing: .14em; white-space: nowrap; }
  .endSlide .legal { border-top: 0; padding-top: 0; font-size: .62em; }
}
@media (max-width: 400px) and (orientation: portrait) { #tourNav svg { display: none; } }
@media (max-width: 860px) and (max-height: 700px) and (orientation: portrait) {
  :root { --logoH: 64px; }
  .endSlide { gap: 9px; }
  .endSlide .plan p + p { display: none; }
  .endSlide .doors li { padding: .26em 0; }
  .endSlide .legal { display: none; }
}
@media (max-height: 480px) and (orientation: landscape) {
  :root { --navB: 12px; --navF: 24px; --ppS: 38px; --navTop: calc(var(--navB) + 44px); }
  #tourNav { left: 50%; right: auto; transform: translateX(-50%); justify-content: center; gap: 22px; }
  #prevStop, #nextStop { width: 125px; }
  #prevStop > span { left: auto; right: 0; } #nextStop > span { right: auto; left: 0; }
  .side.bare.left, .side.bare.right { width: 46vw; bottom: calc(var(--navTop) + 14px); }
  .side.bare.right { left: auto; } .side.bare.left { right: auto; }
  .side.bare > .big, .side.left.bare > .big, .side.right.bare > .big { font-size: 30px; }
  .side.bare > .kicker { margin-bottom: .6em; }
  .side.bare > p { font-size: 13px; margin-top: 6px; line-height: 1.4; }
  .endSlide { padding-top: 72px; padding-bottom: calc(var(--navTop) + 6px); gap: 10px; }
  .endSlide .giant { font-size: 32px; }
  .endHero > .kicker { display: none; }
  .endSlide .grid3 { grid-template-columns: 1fr 1.7fr .8fr; gap: 22px; }
  .endSlide .plan p + p, .endSlide .legal { display: none; }
  .endSlide .doors li { padding: .1em 0; font-size: 11px; }
  .endPills { flex-direction: column; }
  .endPills .pill { width: 100%; flex: none; padding: .9em 0; font-size: 8px; }
}
@media (min-width: 861px) and (max-height: 760px) and (orientation: landscape) {
  .endSlide { gap: 16px; padding-top: calc(var(--logoH) + 40px); }
  .endSlide .giant { font-size: clamp(40px, 9vh, 76px); }
  .endSlide .doors li { padding: .3em 0; }
  .endSlide .legal { border-top: 0; padding: 0; }
}
#chapterName { visibility: hidden; }
@media (min-width: 861px) and (orientation: landscape) { .endSlide { padding-top: calc(var(--logoH) + 96px); } }
@media (min-width: 861px) and (max-height: 760px) and (orientation: landscape) { .endSlide { padding-top: calc(var(--logoH) + 56px); } }

/* ---------- 5 Dec 2026, his second look: the buttons on the slides (and play / pause) are St Anne's Begin tour button: the glass pill.
   Previous · EXPLORE · Next is type only, like his drawing: no small words over it, no arrows, Explore the hero ---------- */
.pill, .pill.solid, header .pill, body .pill { padding: 1.15em 2.2em 1.15em 2.5em; border: 0; border-radius: 999px; color: #fff; font-family: 'Jost', system-ui, sans-serif; font-weight: 500; font-size: 13px; letter-spacing: .3em; text-transform: uppercase; line-height: 1; text-shadow: none;
  background: rgba(255,255,255,.07); -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: inset 1px 1px 0 rgba(255,255,255,.28), inset -1px -1px 0 rgba(255,255,255,.08), 0 0 0 .5px rgba(255,255,255,.16), 0 4px 14px rgba(0,0,0,.18); }
@media (hover: hover) { .pill:hover, .pill.solid:hover, header .pill:hover { background: rgba(255,255,255,.16); border: 0; } }
header .pill { font-size: 11px; padding: 1.1em 2em 1.1em 2.3em; }

:root { --navF: clamp(30px, min(3vw, 5.4vh), 54px); --exF: clamp(32px, min(3.3vw, 6vh), 60px); --navTop: calc(var(--navB) + var(--exF) + 30px); }
#tourNav { display: grid; grid-template-columns: calc(var(--navF) * 4) auto calc(var(--navF) * 4); align-items: center; gap: clamp(28px, 3.4vw, 64px); }
#prevStop, #nextStop, #exploreStop { width: auto; display: block; padding: 0; margin: 0; border: 0; background: none; color: #fff; font: inherit; cursor: pointer; text-shadow: 0 2px 26px rgba(0,0,0,.65), 0 0 8px rgba(0,0,0,.3); -webkit-user-select: none; user-select: none; touch-action: none; -webkit-tap-highlight-color: transparent; box-shadow: none; }
#prevStop { justify-self: end; } #nextStop { justify-self: start; }
#tourNav b { display: block; font-size: var(--navF); font-weight: 200; line-height: 1; letter-spacing: -.015em; }
#exploreStop b { font-size: var(--exF); font-weight: 300; letter-spacing: .24em; margin-right: -.24em; text-transform: uppercase; }
#exploreStop { position: relative; }
#exploreStop::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.5em; height: 1px; background: #fff; transform: scaleX(0); transform-origin: 0 50%; transition: transform .55s cubic-bezier(.2,.7,.2,1); }
@media (hover: hover) { #exploreStop:hover::after { transform: scaleX(1); } #prevStop:hover b, #nextStop:hover b { opacity: .8; } }

#playPause { width: auto; height: auto; display: inline-flex; bottom: calc(var(--navB) + var(--exF) * .5 - 21px); }
#playPause span { display: block; min-width: 4.4em; text-align: center; }

@media (max-width: 860px), (orientation: portrait) {
  :root { --navF: clamp(21px, 6.2vw, 34px); --exF: clamp(22px, 6.6vw, 36px); --navTop: calc(var(--navB) + var(--exF) + 20px); }
  #tourNav { left: var(--pad); right: var(--pad); transform: none; grid-template-columns: 1fr auto 1fr; gap: 10px; }
  #prevStop { justify-self: start; } #nextStop { justify-self: end; }
  #exploreStop b { letter-spacing: .2em; margin-right: -.2em; }
  #playPause { top: calc(env(safe-area-inset-top, 0px) + 54px); bottom: auto; right: var(--pad); font-size: 10.5px; padding: 1.1em 1.5em 1.1em 1.8em; }
  .pill, .pill.solid, body .pill { font-size: 11.5px; }
  .endPills .pill { font-size: clamp(9px, 2.6vw, 11.5px); letter-spacing: .2em; padding: 1.1em 0; }
}
@media (max-height: 480px) and (orientation: landscape) {
  :root { --navF: 24px; --exF: 26px; --navTop: calc(var(--navB) + 44px); }
  #tourNav { left: 50%; right: auto; transform: translateX(-50%); grid-template-columns: 110px auto 110px; gap: 26px; }
  #prevStop { justify-self: end; } #nextStop { justify-self: start; }
  #playPause { top: auto; bottom: 8px; font-size: 10px; padding: 1em 1.6em; }
}
#playPause { z-index: 26; }

/* ---------- 5 Dec 2026, his third look: header and footer one system. Small capitals for every link (the header's menu, Book your event,
   Pause), the big type for Previous · EXPLORE · Next. Glass pills only on the slides. The last slide darkened, not blurred ---------- */
header nav a, header .pill, #playPause { font-family: 'Jost', system-ui, sans-serif; font-size: 12px; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; line-height: 1; }
header .pill, header .pill:hover { padding: 0 0 .7em; margin-right: -.3em; border: 0; border-radius: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; position: relative; text-shadow: 0 1px 14px rgba(0,0,0,.45); }
header .pill::after { content: ""; position: absolute; left: 0; right: .3em; bottom: 0; height: 1px; background: rgba(255,255,255,.7); transform-origin: left; transition: transform .6s var(--ease), background .4s; }
@media (hover: hover) { header .pill:hover::after { background: #fff; } }
header nav, header .pill { margin-top: 18px; }
header nav a::after { bottom: -.75em; }

#playPause { position: fixed; z-index: 26; right: var(--pad); left: auto; top: auto; bottom: calc(var(--navB) + var(--exF) * .5 - 6px); width: auto; height: auto; padding: 0 0 .7em; margin: 0 -.3em 0 0; border: 0; border-radius: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; color: #fff; display: inline-flex; align-items: center; gap: .9em; cursor: pointer; text-shadow: 0 1px 14px rgba(0,0,0,.6); }
#playPause::after { content: ""; position: absolute; left: 0; right: .3em; bottom: 0; height: 1px; background: #fff; transform: scaleX(0); transform-origin: left; transition: transform .55s cubic-bezier(.2,.7,.2,1); }
@media (hover: hover) { #playPause:hover::after { transform: scaleX(1); } #playPause:hover { background: none; } }
#playPause svg { width: .78em; height: .95em; overflow: visible; filter: drop-shadow(0 1px 6px rgba(0,0,0,.5)); }
#playPause path { fill: none; stroke: #fff; stroke-width: 1.3; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
#playPause .pl { fill: none; }
#playPause span { min-width: 0; text-align: left; }

/* the last slide: no out-of-focus, the picture darkened (it all goes when Explore is pressed, as every slide does) */
.endSlide, .endSlide.glass { -webkit-backdrop-filter: blur(1.5px) saturate(1.05); backdrop-filter: blur(1.5px) saturate(1.05); background: linear-gradient(180deg, rgba(10,9,8,.42), rgba(10,9,8,.6) 40%, rgba(10,9,8,.74)); border-top: 0; }

@media (max-width: 860px), (orientation: portrait) {
  :root { --navTop: calc(var(--navB) + var(--exF) + 44px); }
  #playPause { top: auto; bottom: var(--navB); right: var(--pad); font-size: 10.5px; padding-bottom: .6em; }
  #tourNav { bottom: calc(var(--navB) + 30px); }
  header nav a { font-size: clamp(8.5px, 2.5vw, 14px); }
}
@media (max-height: 480px) and (orientation: landscape) {
  :root { --navTop: calc(var(--navB) + 44px); }
  #tourNav { bottom: var(--navB); }
  #playPause { bottom: calc(var(--navB) + 4px); font-size: 10px; }
}
header .pill::after { display: none; }
header .pill { margin-left: clamp(8px, 1.4vw, 26px); }
#playPause path { stroke-width: 1.6; }
@media (max-width: 860px) and (max-height: 620px) and (orientation: portrait) { .endHero > .kicker { display: none; } }

/* ---------- 5 Dec 2026, round four (his): two sizes only. EXPLORE is the hero; every other word in the header and footer is the same
   small capital (Previous, Next, Pause, the menu, Book your event). The footer's glass and the pause button's layout are options in the test panel ---------- */
:root { --sc: 13.5px; }
header nav a, header .pill, #playPause, #prevStop b, #nextStop b { font-family: 'Jost', system-ui, sans-serif; font-size: var(--sc); font-weight: 500; letter-spacing: .3em; text-transform: uppercase; line-height: 1; }
#prevStop b, #nextStop b { margin-right: -.3em; }
#tourNav { grid-template-columns: 10em auto 10em; gap: clamp(30px, 3.2vw, 60px); }
#tourNav b { text-shadow: 0 1px 14px rgba(0,0,0,.6); }
#playPause { bottom: calc(var(--navB) + var(--exF) * .5 - var(--sc) * .5 - .7em); }
#playPause svg { width: 1em; height: 1em; }
#playPause .ag { display: none; } #playPause.again .ag { display: block; } #playPause.again .pz, #playPause.again .pl { display: none; }
#playPause.paused .pl { display: block; } #playPause.paused .pz { display: none; }
/* Pause button: the symbol above the word */
body[data-pause="above"] #playPause { flex-direction: column; gap: .85em; padding-bottom: .7em; bottom: calc(var(--navB) + var(--exF) * .5 - var(--sc) * 1.6 - .7em); }
body[data-pause="above"] #playPause svg { width: 1.9em; height: 1.9em; }
body[data-pause="above"] #playPause path { stroke-width: 1.2; }

/* the footer's glass, four ways (none is the default) */
#footGlass { display: none; position: fixed; z-index: 17; left: 0; right: 0; bottom: 0; height: calc(var(--navTop) + 90px); pointer-events: none;
  -webkit-backdrop-filter: blur(18px) saturate(1.25); backdrop-filter: blur(18px) saturate(1.25); background: linear-gradient(0deg, rgba(10,9,8,.42), rgba(10,9,8,0));
  -webkit-mask-image: linear-gradient(0deg, #000 30%, transparent); mask-image: linear-gradient(0deg, #000 30%, transparent); transition: opacity .6s var(--ease); }
body[data-footer="fade"] #footGlass { display: block; }
body:not(.ready) #footGlass, body.opening #footGlass { opacity: 0; }
body[data-footer="capsule"] #tourNav { padding: 20px 50px; border-radius: 999px; background: rgba(255,255,255,.07); -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: inset 1px 1px 0 rgba(255,255,255,.28), inset -1px -1px 0 rgba(255,255,255,.08), 0 0 0 .5px rgba(255,255,255,.16), 0 10px 30px rgba(0,0,0,.22); bottom: calc(var(--navB) - 20px); }
body[data-footer="lozenge"] #exploreStop { padding: .5em 1.1em .5em 1.35em; font-size: var(--exF); border-radius: 999px; background: rgba(255,255,255,.07); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: inset 1px 1px 0 rgba(255,255,255,.28), inset -1px -1px 0 rgba(255,255,255,.08), 0 0 0 .5px rgba(255,255,255,.16), 0 8px 24px rgba(0,0,0,.2); }
body[data-footer="lozenge"] #exploreStop b { font-size: 1em; }
body[data-footer="lozenge"] #exploreStop::after { left: 1.35em; right: 1.1em; bottom: .3em; }
body[data-footer="lens"] #exploreStop::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; width: 190%; height: 480%; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); background: radial-gradient(closest-side, rgba(10,9,8,.38), rgba(10,9,8,0));
  -webkit-mask-image: radial-gradient(closest-side, #000 25%, transparent); mask-image: radial-gradient(closest-side, #000 25%, transparent); }

/* the last slide: Shop wines beside Find a cellar door; every cellar door its own column, the town big, the address and phone small under it */
.endSlide .endBody { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr); gap: clamp(30px, 4vw, 80px); align-items: start; }
.endSlide .findHead { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: clamp(18px, 3vh, 34px); }
.endSlide .findHead h3.kicker { margin: 0; }
.endSlide .findHead .pill { flex: none; }
.endSlide .doors { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0 clamp(16px, 2vw, 34px); }
.endSlide .doors li { display: flex; flex-direction: column; gap: .5em; padding: 1.1em 0 0; border-top: 1px solid rgba(255,255,255,.28); border-bottom: 0; font-size: 1em; }
.endSlide .doors .town { font-size: clamp(24px, min(2.3vw, 4.2vh), 42px); font-weight: 200; line-height: 1; letter-spacing: -.015em; color: #fff; margin-bottom: .35em; position: relative; width: max-content; max-width: 100%; }
.endSlide .doors .town::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.18em; height: 1px; background: #fff; transform: scaleX(0); transform-origin: left; transition: transform .55s cubic-bezier(.2,.7,.2,1); }
@media (hover: hover) { .endSlide .doors .town:hover::after { transform: scaleX(1); } }
.endSlide .doors span { font-size: .82em; line-height: 1.4; color: rgba(255,255,255,.72); white-space: normal; overflow: visible; }
.endSlide .doors .tel { font-size: .74em; font-weight: 500; letter-spacing: .14em; color: #fff; white-space: nowrap; }

@media (max-width: 860px), (orientation: portrait) {
  :root { --sc: 10.5px; }
  header nav a { font-size: var(--sc); letter-spacing: .16em; }
  #tourNav { grid-template-columns: 1fr auto 1fr; gap: 10px; }
  body[data-footer="capsule"] #tourNav { left: 12px; right: 12px; padding: 14px 20px; bottom: calc(var(--navB) + 36px - 14px); }
  body[data-footer="lozenge"] #exploreStop { padding: .45em .8em .45em 1em; }
  body[data-pause="above"] #playPause { flex-direction: row; gap: .9em; bottom: var(--navB); }
  body[data-pause="above"] #playPause svg { width: 1em; height: 1em; }
  .endSlide .endBody { grid-template-columns: 1fr; gap: 14px; }
  .endSlide .findHead { margin-bottom: 12px; }
  .endSlide .findHead .pill { padding: 1em 1.6em 1em 1.9em; font-size: 10px; }
  .endSlide .doors { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
  .endSlide .doors li { padding-top: .6em; gap: .25em; font-size: .82em; }
  .endSlide .doors .town { font-size: clamp(19px, 5.6vw, 28px); margin-bottom: .2em; }
  .endSlide .doors span { font-size: .86em; line-height: 1.3; }
}
@media (max-width: 860px) and (max-height: 620px) and (orientation: portrait) {
  .endSlide .doors span { display: none; }
}
@media (max-height: 480px) and (orientation: landscape) {
  :root { --sc: 10px; }
  .endSlide .endBody { grid-template-columns: 1fr 2.6fr; gap: 24px; }
  .endSlide .doors li { padding-top: .4em; gap: .15em; font-size: 11px; }
  .endSlide .doors .town { font-size: 18px; }
  .endSlide .doors span { display: none; }
  .endSlide .findHead { margin-bottom: 8px; }
  .endSlide .findHead .pill { padding: .9em 1.4em; font-size: 9px; }
  body[data-pause="above"] #playPause { flex-direction: row; bottom: calc(var(--navB) + 4px); }
  body[data-pause="above"] #playPause svg { width: 1em; height: 1em; }
}
@media (max-width: 860px), (orientation: portrait) { .endSlide { padding-top: calc(var(--logoH) + 26px); gap: 12px; } .endSlide .giant { margin: 0; } }
@media (max-width: 860px) and (max-height: 620px) and (orientation: portrait) { .endSlide .plan { display: none; } }
@media (max-height: 480px) and (orientation: landscape) { .endSlide .plan { display: none; } .endSlide .endBody { grid-template-columns: 1fr; } .endSlide .giant { font-size: 28px; } .endSlide { padding-top: 64px; } }
@media (max-width: 860px) and (orientation: portrait) { .endSlide .plan p + p { display: none; } .endSlide .doors span { line-height: 1.25; } }
@media (max-height: 340px) and (orientation: landscape) { .endHero { display: none; } }

/* ---------- 5 Dec 2026, his "finally solved it" brief: Stop and Explore is the one glass button (bottom right); the middle of the footer says
   where the tour is (the header's names); the footer comes up with the restaurant and goes while exploring; a new loading screen with Begin tour ---------- */

/* the footer: Previous · where we are · Next, the middle the hero; it never moves (the middle is as wide as its longest name) */
#tourNav { grid-template-columns: 10em var(--nameW, 11.5em) 10em; }
#stopName { justify-self: center; text-align: center; white-space: nowrap; pointer-events: none; }
#stopName b { display: inline-block; font-size: var(--exF); font-weight: 300; letter-spacing: .24em; margin-right: -.24em; text-transform: uppercase; line-height: 1; color: #fff; text-shadow: 0 2px 26px rgba(0,0,0,.65), 0 0 8px rgba(0,0,0,.3); }
:root { --nameW: calc(var(--exF) * 7.6); }

/* Stop and Explore: St Anne's Begin tour glass, a small square of two lines, Stop and half the size of Explore */
#stopExplore { position: fixed; z-index: 26; right: var(--pad); bottom: var(--navB); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .55em;
  min-width: 9.6em; padding: 1.25em 1.5em 1.2em; border-radius: 16px; font-size: 13px; letter-spacing: 0; text-align: center; cursor: pointer; transition: opacity .6s var(--ease), visibility .6s, background .4s var(--ease); -webkit-tap-highlight-color: transparent; touch-action: none; }
#stopExplore .a { font-size: .78em; font-weight: 500; letter-spacing: .32em; margin-right: -.32em; text-transform: uppercase; line-height: 1; opacity: .9; }
#stopExplore .b { font-size: 1.56em; font-weight: 400; letter-spacing: .2em; margin-right: -.2em; text-transform: uppercase; line-height: 1; }
#stopExplore.back .b { font-size: 1.3em; letter-spacing: .16em; margin-right: -.16em; }
#playPause { display: none !important; }

/* before the restaurant, and while exploring: no footer. In Explore the button stays, as Continue the tour */
body.early #tourNav, body.early #stopExplore, body.exploring #tourNav { opacity: 0; visibility: hidden; pointer-events: none; }
body:not(.ready) #stopExplore, body.opening #stopExplore, body.moving #stopExplore { opacity: 0; visibility: hidden; pointer-events: none; }
body.exploring #stopExplore { opacity: 1; visibility: visible; }

/* the end slide's two pills side by side */
.endSlide .headPills { display: flex; gap: 10px; flex-wrap: wrap; }

@media (max-width: 860px), (orientation: portrait) {
  /* Mobile: the square on the right; to its left the footer in two lines, where we are on top, Previous and Next under it */
  #stopExplore { right: var(--pad); bottom: var(--navB); min-width: 0; width: 6.6em; padding: 1em .6em .95em; font-size: 11px; border-radius: 13px; gap: .5em; }
  #stopExplore .b { font-size: 1.42em; letter-spacing: .14em; margin-right: -.14em; }
  #stopExplore.back .b { font-size: 1.15em; }
  #tourNav { left: var(--pad); right: calc(var(--pad) + 6.6 * 11px + 14px); bottom: var(--navB); transform: none; grid-template-columns: 1fr 1fr; grid-template-areas: "nm nm" "pv nx"; row-gap: 12px; gap: 12px 8px; }
  #stopName { grid-area: nm; } #prevStop { grid-area: pv; justify-self: start; } #nextStop { grid-area: nx; justify-self: end; }
  #stopName b { font-size: clamp(18px, 6vw, 30px); letter-spacing: .18em; margin-right: -.18em; }
  :root { --navTop: calc(var(--navB) + 76px); }
  .endSlide .findHead { flex-wrap: wrap; gap: 10px; }
  .endSlide .headPills .pill { padding: 1em 1.4em 1em 1.7em; font-size: 9.5px; }
}
@media (max-height: 480px) and (orientation: landscape) {
  #tourNav { left: 50%; right: auto; transform: translateX(-50%); grid-template-columns: 100px auto 100px; grid-template-areas: none; }
  #stopName, #prevStop, #nextStop { grid-area: auto; }
  #prevStop { justify-self: end; } #nextStop { justify-self: start; }
  #stopName b { font-size: 22px; }
  #stopExplore { bottom: 8px; width: auto; padding: .8em 1.1em; font-size: 10px; }
  :root { --navTop: calc(var(--navB) + 44px); }
}
:root { --nameW: calc(var(--exF) * 9.8); }
@media (max-width: 860px) and (orientation: portrait) { .endHero > .kicker { display: none; } }
@media (max-height: 480px) and (orientation: landscape) { #tourNav { grid-template-columns: 100px 216px 100px; } }

/* ---------- 5 Dec 2026, his: "the next and previous buttons, just increase them in size a little bit and make sure stop and explore is designed to fit
   accordingly to the rest of the navigation footer, and it looks the same too. You can get rid of that stupid glass slide." No glass square: Stop and
   Explore is two lines in the footer's own small capitals, the same size as Previous and Next, sitting on the footer's line. --fw is that size. ---------- */
:root { --fw: 16px; }
#prevStop b, #nextStop b { font-size: var(--fw); }
#tourNav { grid-template-columns: 9em var(--nameW) 9em; }
#prevStop b, #nextStop b { font-size: var(--fw); }
#stopExplore, #stopExplore:hover { position: fixed; z-index: 26; left: auto; right: calc(var(--pad) - 10px); top: auto; bottom: calc(var(--navB) + var(--exF) * .5 - var(--fw) * 1.3 - 10px);
  width: auto; min-width: 0; padding: 10px; margin: 0; border: 0; border-radius: 0; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none;
  display: flex; flex-direction: column; align-items: flex-end; gap: calc(var(--fw) * .6); color: #fff; font-family: 'Jost', system-ui, sans-serif; font-size: var(--fw); text-align: right; cursor: pointer;
  text-shadow: 0 1px 14px rgba(0,0,0,.6); transition: opacity .6s var(--ease), visibility .6s; }
#stopExplore .a, #stopExplore .b, #stopExplore.back .b { font-size: 1em; font-weight: 500; letter-spacing: .3em; margin-right: -.3em; text-transform: uppercase; line-height: 1; opacity: 1; white-space: nowrap; }
@media (hover: hover) { #stopExplore:hover span { opacity: .8; } }
#footGlass { display: none !important; }

@media (max-width: 860px), (orientation: portrait) {
  /* Mobile: where we are on line one; Previous · Stop and Explore · Next on line two, the button in the middle (it stays there, as Continue the tour, in Explore) */
  :root { --fw: 12.5px; --navTop: calc(var(--navB) + 84px); }
  #tourNav { left: var(--pad); right: var(--pad); grid-template-columns: 1fr 9.5em 1fr; grid-template-areas: "nm nm nm" "pv . nx"; gap: 16px 8px; }
  #stopExplore, #stopExplore:hover { right: auto; left: 50%; transform: translateX(-50%); align-items: center; text-align: center; bottom: calc(var(--navB) + var(--fw) * .5 - var(--fw) * 1.3 - 10px); }
  #stopExplore .a, #stopExplore .b, #stopExplore.back .b { margin-right: -.3em; letter-spacing: .3em; }
}
@media (max-width: 360px) and (orientation: portrait) { :root { --fw: 11.5px; } #stopExplore .a, #stopExplore .b, #stopExplore.back .b { letter-spacing: .22em; margin-right: -.22em; } }
@media (max-height: 480px) and (orientation: landscape) {
  :root { --fw: 12px; }
  #tourNav { left: 50%; right: auto; transform: translateX(-50%); grid-template-columns: 100px 216px 100px; grid-template-areas: none; }
  #stopExplore, #stopExplore:hover { left: auto; right: calc(var(--pad) - 10px); transform: none; align-items: flex-end; text-align: right; bottom: calc(var(--navB) + 13px - var(--fw) * 1.3 - 10px); }
}
@media (max-width: 860px) and (orientation: portrait) {
  /* the two-line button is taller than Previous and Next: the footer's second line rises so the button's last line sits on the footer's base */
  :root { --navTop: calc(var(--navB) + var(--fw) * .8 + 106px); }
  #tourNav { bottom: calc(var(--navB) + var(--fw) * .8); row-gap: 26px; }
  #stopExplore, #stopExplore:hover { bottom: calc(var(--navB) - 10px); }
}
/* Mobile header in two lines (his, 5 Dec 2026: "as long as on mobile, it's not too squished along the top, we can go to 2 different lines"):
   the menu across the top, then the logo on the left and Book your event on the right */
@media (max-width: 860px) and (orientation: portrait) {
  header .pill, header .pill:hover { display: inline-block; margin: 20px -.3em 0 auto; font-size: var(--sc); letter-spacing: .3em; padding: 0 0 .7em; }
  header .pill::after { display: block; }
}
@media (max-width: 860px) and (max-height: 760px) and (orientation: portrait) { .endSlide .plan { display: none; } }
@media (max-height: 480px) and (orientation: landscape) { :root { --navTop: calc(var(--navB) + 44px); } }

/* ---------- Book your event, a page inside the tour (his, 5 Dec 2026). The darkened picture of the last slide, the slides' type, St Anne's fields ---------- */
#book { position: fixed; inset: 0; z-index: 40; overflow-y: auto; -webkit-overflow-scrolling: touch; color: #fff; opacity: 0; transition: opacity .6s var(--ease);
  background: linear-gradient(180deg, rgba(10,12,15,.62), rgba(10,12,15,.82)); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
body.booking #book { opacity: 1; }
body.booking #tourNav, body.booking #stopExplore { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; }
#book[hidden] { display: none; }
#bookClose { position: fixed; z-index: 41; top: calc(env(safe-area-inset-top, 0px) + 30px); right: var(--pad); padding: 10px 0; margin-right: -.3em; border: 0; background: none; color: #fff; cursor: pointer; font-family: 'Jost', system-ui, sans-serif; font-size: var(--sc); font-weight: 500; letter-spacing: .3em; text-transform: uppercase; }
@media (hover: hover) { #bookClose:hover { opacity: .75; } }
#book .bkIn { box-sizing: border-box; width: min(760px, 100%); margin: 0 auto; padding: clamp(90px, 14vh, 150px) var(--pad) 60px; transform: translateY(14px); transition: transform .8s var(--ease); }
body.booking #book .bkIn { transform: none; }
#book .bkTitle { margin: 0; font-size: clamp(44px, min(6vw, 10vh), 96px); font-weight: 200; line-height: 1; letter-spacing: -.015em; }
#book .bkLede { margin: 1.1em 0 2.4em; max-width: 34em; font-size: clamp(15px, 1.25vw, 18px); font-weight: 300; line-height: 1.55; opacity: .88; }
#bookForm { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 40px; }
#bookForm .wide { grid-column: 1 / -1; }
#bookForm label { display: flex; flex-direction: column; gap: 12px; }
#bookForm label > span { font-size: 11px; letter-spacing: .3em; opacity: .7; }
#bookForm input, #bookForm textarea { box-sizing: border-box; width: 100%; padding: 4px 0 12px; border: 0; border-bottom: 1px solid rgba(255,255,255,.4); border-radius: 0; background: none; color: #fff; color-scheme: dark;
  font-family: 'Jost', system-ui, sans-serif; font-size: 18px; font-weight: 300; outline: none; transition: border-color .4s var(--ease); resize: vertical; }
#bookForm input:focus, #bookForm textarea:focus { border-bottom-color: #fff; }
#bookForm label.bad > span { opacity: 1; color: #f0c8b8; } #bookForm label.bad input, #bookForm label.bad textarea { border-bottom-color: #f0c8b8; }
#bookForm input[type=number]::-webkit-inner-spin-button { opacity: .4; }
#book .bkFoot { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 10px; }
#bookSays { font-size: 14px; font-weight: 300; opacity: .85; }
@media (max-width: 860px), (orientation: portrait) {
  #bookForm { grid-template-columns: 1fr; gap: 24px; }
  #book .bkIn { padding-top: calc(env(safe-area-inset-top, 0px) + 96px); }
  #bookForm input, #bookForm textarea { font-size: 16px; }
  #bookClose { top: calc(env(safe-area-inset-top, 0px) + 24px); }
}
/* the blur sits on a layer of its own: on the page itself it made Close scroll away with the form */
#book { background: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
#book::before { content: ""; position: fixed; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,12,15,.62), rgba(10,12,15,.82)); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
#book .bkIn { padding-top: clamp(70px, 10vh, 130px); }
#bookForm { gap: 26px 40px; }
#book .bkLede { margin-bottom: 2em; }

/* ---------- 5 Dec 2026, his: Stop and Explore small and big ("I thought we were going to have small and big"): the small line is the footer's
   small capitals, the big line the footer's name (light, wide). On the last slide the same button is Take the tour again. Shop wines is a heading link
   like Find a cellar door ---------- */
#stopExplore, #stopExplore:hover { gap: calc(var(--fw) * .55); bottom: calc(var(--navB) + var(--exF) * .5 - var(--fw) * 1.775 - 10px); }
#stopExplore .b, #stopExplore.back .b { font-size: 2em; font-weight: 300; letter-spacing: .2em; margin-right: -.2em; }
.endSlide .findHead { justify-content: flex-start; gap: clamp(24px, 3vw, 48px); flex-wrap: wrap; }
@media (max-width: 860px) and (orientation: portrait) {
  #stopExplore .b, #stopExplore.back .b { font-size: 1.7em; letter-spacing: .14em; margin-right: -.14em; }
  #stopExplore, #stopExplore:hover { bottom: calc(var(--navB) - 10px); }
  #tourNav { bottom: calc(var(--navB) + var(--fw) * 1.05); }
  :root { --navTop: calc(var(--navB) + var(--fw) * 1.05 + 106px); }
}
@media (max-height: 480px) and (orientation: landscape) {
  #stopExplore .b, #stopExplore.back .b { font-size: 1.6em; }
  #stopExplore, #stopExplore:hover { bottom: calc(var(--navB) + 13px - var(--fw) * 1.575 - 10px); }
}

/* ---------- 6 Dec 2026, his: "I want it to be St. Anne's Vineyards logo at the start. And then when it fades out, it's the same one that we sort of
   begin with. We don't double up with two instances of it" · "that begin button ... an editorial style button with no glass on it".
   ONE LOGO: the header's own. While the page loads and the tour opens (body.opening) it sits in the middle of the screen, big (film.js works out
   --brand: the move from its corner to the loader's #logoSlot); when the opening is over it glides to its corner and the menu fades in beside it.
   Under it, on the loader: the bar, Loading, then Begin tour in the tour's own small capitals with a line under it. No glass ---------- */
:root { --bigLogo: clamp(130px, min(18vw, 28vh), 280px); --bigLogoH: calc(var(--bigLogo) * 1.0386); }
/* its place in the header is a box of its small size; the picture is drawn big and scaled down into it (--dock), so it is sharp in the middle too.
   The move is in two parts with different eases (across on the link, up and smaller on the picture), so it sweeps to its corner on a curve */
header .logo { position: relative; display: block; flex: none; width: calc(var(--logoH) * .9628); height: var(--logoH); transition: transform 1.7s cubic-bezier(.45, 0, .15, 1), opacity .9s var(--ease); }
header .logo img { position: absolute; left: 0; top: 0; width: var(--bigLogo); height: var(--bigLogoH); max-width: none; transform-origin: 0 0; transform: scale(var(--dock, .45)); transition: transform 1.7s cubic-bezier(.8, 0, .2, 1); will-change: transform; }
header .logo.snap, header .logo.snap img { transition: none; }
body.opening header { z-index: 95; }      /* over the loader (90): the logo shows on it */
body.opening header .logo { transform: translateX(var(--bx, 0px)); pointer-events: none; }
body.opening header .logo img { transform: translateY(var(--by, 0px)) scale(1); filter: drop-shadow(0 4px 40px rgba(0,0,0,.45)); }
header > :not(.logo) { transition: opacity .9s var(--ease) .5s; }
body.opening header > :not(.logo) { opacity: 0; pointer-events: none; transition-delay: 0s; }
header::before { transition: opacity .9s var(--ease); } body.opening header::before { opacity: 0; }
#loader { flex-direction: column; }
#loader .ldIn, .cue.opening { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
#logoSlot, .cue.opening .slot { display: block; width: var(--bigLogo); height: var(--bigLogoH); flex: none; }
#loader .track { width: min(220px, 50vw); height: 1px; margin: 34px auto 0; transition: opacity .7s var(--ease); }
.cue.opening .gap { display: block; height: 35px; flex: none; }
#loader .ldLine { position: relative; display: grid; place-items: center; height: 3.4em; margin-top: 4px; font-size: var(--sc); }
.cue.opening > span { display: grid; place-items: center; height: 3.4em; margin-top: 4px; font-size: var(--sc); letter-spacing: .34em; margin-right: -.34em; line-height: 1; opacity: .85; }
#loader .ldLine > * { grid-area: 1 / 1; }
#loader .ldWord { font-size: 1em; letter-spacing: .34em; margin-right: -.34em; line-height: 1; opacity: .6; transition: opacity .6s var(--ease); }
#beginTour { position: relative; padding: 1.05em .2em .95em; margin-right: -.3em; border: 0; border-radius: 0; background: none; box-shadow: none; color: #fff; cursor: pointer; white-space: nowrap;
  font-family: 'Jost', system-ui, sans-serif; font-size: 1.08em; font-weight: 500; letter-spacing: .3em; text-transform: uppercase; line-height: 1;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .9s var(--ease), transform .9s var(--ease), visibility .9s; -webkit-tap-highlight-color: transparent; }
#beginTour::after { content: ""; position: absolute; left: .2em; right: .5em; bottom: .35em; height: 1px; background: #fff; opacity: .75; transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease) .35s, opacity .4s; }
#loader.loaded .ldWord { opacity: 0; }
#loader.loaded .track { opacity: 0; }
#loader.loaded:not(.curtain) #beginTour { opacity: 1; visibility: visible; transform: none; }
#loader.loaded:not(.curtain) #beginTour::after { transform: scaleX(1); }
#loader.curtain .track { opacity: 0; }
@media (hover: hover) { #beginTour:hover::after { opacity: 1; height: 2px; } }
@media (max-height: 480px) and (orientation: landscape) { :root { --bigLogo: clamp(96px, 30vh, 150px); } #loader .track { margin-top: 18px; } .cue.opening .gap { height: 19px; } }

/* ---------- 6 Dec 2026, his: "For the last slide, we can ditch the navigation user interface and then make the most of the space to design Take the
   Tour again to be center and all across the bottom." No footer on the last slide; Take the tour again is the whole bottom of it, in the
   footer's big light type, one line under the slide ---------- */
body.atEnd:not(.exploring) #tourNav, body.atEnd:not(.exploring) #stopExplore { opacity: 0 !important; visibility: hidden !important; pointer-events: none !important; }
.endSlide { padding-bottom: 0 !important; }
.endSlide .legal { border-top: 0; padding-top: 0; }
#tourAgain { flex: none; display: block; width: auto; margin: 0 calc(var(--pad) * -1); padding: clamp(20px, 3.4vh, 34px) var(--pad) calc(env(safe-area-inset-bottom, 0px) + clamp(20px, 3.4vh, 34px)); border: 0; border-top: 1px solid var(--line); border-radius: 0;
  background: linear-gradient(180deg, rgba(8,9,11,0), rgba(8,9,11,.35)); color: #fff; cursor: pointer; text-align: center; -webkit-tap-highlight-color: transparent; transition: background .6s var(--ease), border-color .6s var(--ease); }
#tourAgain b { display: inline-block; font-family: 'Jost', system-ui, sans-serif; font-size: var(--exF); font-weight: 300; letter-spacing: .24em; margin-right: -.24em; text-transform: uppercase; line-height: 1; white-space: nowrap;
  text-shadow: 0 2px 26px rgba(0,0,0,.65); transition: letter-spacing .9s var(--ease), margin .9s var(--ease); }
@media (hover: hover) { #tourAgain:hover { border-top-color: rgba(255,255,255,.7); background: linear-gradient(180deg, rgba(8,9,11,0), rgba(8,9,11,.55)); } #tourAgain:hover b { letter-spacing: .3em; margin-right: -.3em; } }
@media (max-width: 860px), (orientation: portrait) { #tourAgain b { font-size: clamp(15px, 4.9vw, 26px); letter-spacing: .2em; margin-right: -.2em; } #tourAgain { padding-top: 18px; padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 18px); } }
@media (max-height: 480px) and (orientation: landscape) { #tourAgain { padding-top: 10px; padding-bottom: 10px; } #tourAgain b { font-size: 18px; } }
