/* 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; }
.cue.opening img { width: clamp(150px, min(22vw, 34vh), 340px); height: auto; filter: drop-shadow(0 4px 40px rgba(0,0,0,.45)); margin-bottom: 2.4em; }
.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); }
.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: 34px; }
  .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; }
#continueTour { position: fixed; z-index: 30; right: var(--pad); bottom: 6vh; opacity: 0; visibility: hidden; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease), visibility .6s; }
body.exploring #continueTour { opacity: 1; visibility: visible; transform: none; }
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: 88vw; 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(110px, 18vh, 192px); }
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; }
body.opening header .logo { opacity: 0; pointer-events: none; }
@media (max-width: 860px), (orientation: portrait) {
  :root { --logoH: clamp(100px, 17vh, 152px); }
  header .logo img { height: var(--logoH); }
}

/* Explore: its title flies past the way the film's titles do (film.js plays it on a clock, not the scroll) */
#exploreTitle { position: fixed; z-index: 25; pointer-events: 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(40px, 12vw, 56px); }
  .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; }
}
