/* Drift Bar: shared styles. Mobile first, desktop at 900px.
   The look: sunlit paper (cream with grain), torn paper panels laid over big photography,
   hand-written accents, palm fronds drifting at the edges, and gentle motion everywhere. */
:root {
  --navy: #0A3848; --navy-deep: #072a37; --cream: #F2F1EB; --paper: #F5F1E6; --white: #fff; --sand: #B09D88; --terra: #8F5F56; --sky: #B3E3F2;
  --ink: var(--navy);
  --font-display: "Sailors", "Arial Narrow", Impact, sans-serif;
  --font-slant: "Sailors Slant", "Sailors", "Arial Narrow", sans-serif;
  --font-body: "Mukta Mahee", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-script: "Mr Dafoe", "Brush Script MT", cursive;
  --gutter: 20px; --max: 1280px; --nav-h: 68px; --radius: 4px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --grain: url(/img/edge/grain.webp);
  --paper-bg: radial-gradient(120% 80% at 20% 0%, rgba(255, 255, 255, .7), rgba(255, 255, 255, 0) 60%), var(--grain), var(--paper);
}
@media (min-width: 900px) { :root { --gutter: 48px; --nav-h: 86px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 12px); }
body { margin: 0; background: var(--paper-bg); background-size: auto, 200px 200px, auto; color: var(--ink); font: 400 1.0625rem/1.6 var(--font-body); overflow-x: clip; padding-top: var(--nav-h); }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 400; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--terra); outline-offset: 3px; border-radius: 2px; }
.section--navy :focus-visible, .foot :focus-visible, .on-dark :focus-visible { outline-color: var(--sky); }
::selection { background: var(--sky); color: var(--navy); }

.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: var(--white); padding: 10px 16px; border-radius: var(--radius); }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

/* ---------- type ---------- */
.h1, .h2, .h3 { font-family: var(--font-display); text-transform: uppercase; letter-spacing: .015em; line-height: .9; }
.h1 { font-size: clamp(3.1rem, 12.5vw, 8.2rem); }
.h2 { font-size: clamp(2.7rem, 8.5vw, 5.6rem); }
.h3 { font-size: clamp(1.6rem, 4vw, 2.3rem); line-height: 1; }
.label { font: 800 .76rem/1.3 var(--font-body); letter-spacing: .26em; text-transform: uppercase; }
.lede { font-size: 1.15rem; max-width: 34em; }
@media (min-width: 900px) { .lede { font-size: 1.28rem; } }
.line { display: block; overflow: hidden; padding-bottom: .04em; }
.line > span { display: block; }
.eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; color: var(--terra); margin-bottom: 16px; }
.eyebrow i { font-style: normal; opacity: .55; }
.section--navy .eyebrow, .on-dark .eyebrow { color: var(--sky); }

/* hand-written accent with a drawn swoosh underneath; writes itself on when it scrolls in */
.script { font: 400 clamp(2rem, 5.4vw, 3.4rem)/.95 var(--font-script); color: var(--navy); transform: rotate(-6deg); display: inline-block; letter-spacing: 0; text-transform: none; }
.script--light { color: var(--white); text-shadow: 0 2px 18px rgba(7, 42, 55, .35); }
.script--terra { color: var(--terra); }
.script svg { width: 70%; height: 18px; margin: 4px 0 0 18%; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; overflow: visible; }
.script .script__t { display: block; }
.js .script[data-write] { clip-path: inset(-20% 100% -20% -10%); }
.js .script[data-write].is-written { clip-path: inset(-20% -10% -20% -10%); transition: clip-path 1.6s cubic-bezier(.6, .1, .3, 1) .2s; }
@media (prefers-reduced-motion: reduce) { .js .script[data-write] { clip-path: none; } }

/* anchor bullet: the brand's "anchor in the headline" device */
.anchor { display: inline-block; width: 1.3em; aspect-ratio: 328 / 355; background: currentColor; vertical-align: -.3em;
  -webkit-mask: url(/logo/drift-icon-logo.svg) center / contain no-repeat; mask: url(/logo/drift-icon-logo.svg) center / contain no-repeat; }

/* arrow line: fine rule ending in an arrowhead */
.arrowline { display: inline-flex; align-items: center; gap: 14px; font: 800 .76rem/1 var(--font-body); letter-spacing: .22em; text-transform: uppercase; text-decoration: none; padding: 12px 0; }
.arrowline::after { content: ""; width: 72px; height: 10px; background:
  linear-gradient(currentColor, currentColor) left center / calc(100% - 2px) 1.5px no-repeat,
  conic-gradient(from -135deg at 100% 50%, currentColor 90deg, transparent 0) right center / 10px 10px no-repeat; transition: width .35s var(--ease); }
.arrowline:hover::after { width: 100px; }

/* band that runs off the screen edge */
.band { display: inline-block; background: var(--navy); color: var(--cream); font: 400 1.05rem/1 var(--font-display); letter-spacing: .06em; text-transform: uppercase;
  padding: .5em .9em .45em calc(var(--gutter) + 6px); margin-left: calc(-1 * var(--gutter) - 6px); }
.band--sky { background: var(--sky); color: var(--navy); }

/* ---------- logos (single-colour SVG masks take currentColor) ---------- */
.logo { display: block; background: currentColor; -webkit-mask: var(--src) center / contain no-repeat; mask: var(--src) center / contain no-repeat; }
.logo--stacked { --src: url(/logo/drift-stacked-logo.svg); aspect-ratio: 834 / 609; }
.logo--primary { --src: url(/logo/drift-primary-logo.svg); aspect-ratio: 834 / 697; }
.logo--wordmark { --src: url(/logo/drift-wordmark-logo.svg); aspect-ratio: 834 / 332; }
.logo--icon { --src: url(/logo/drift-icon-logo.svg); aspect-ratio: 328 / 355; }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .7em; min-height: 50px; padding: .8em 1.5em .7em; border: 1.5px solid var(--navy);
  background: var(--navy); color: var(--cream); font: 800 .78rem/1 var(--font-body); letter-spacing: .2em; text-transform: uppercase; text-decoration: none; border-radius: 2px;
  cursor: pointer; overflow: hidden; isolation: isolate; transition: color .3s, border-color .3s, transform .2s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--navy-deep); transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn:active { transform: translateY(1px); }
.btn .arr { width: 16px; height: 10px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn--line { background: rgba(255, 255, 255, .55); color: var(--navy); }
.btn--line::before { background: var(--navy); }
.btn--line:hover { color: var(--cream); }
.btn--light { background: var(--cream); color: var(--navy); border-color: var(--cream); }
.btn--light::before { background: var(--white); }
.btn--ghost-light { background: transparent; color: var(--cream); border-color: currentColor; }
.btn--ghost-light::before { background: var(--cream); }
.btn--ghost-light:hover { color: var(--navy); }
.btn--sm { min-height: 44px; padding: .65em 1.15em .55em; font-size: .7rem; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h); display: flex; align-items: center; gap: 24px; padding: 0 var(--gutter);
  color: var(--navy); background: rgba(245, 241, 230, .96); box-shadow: 0 1px 0 rgba(10, 56, 72, .08); transition: background .35s, color .35s, box-shadow .35s, transform .4s var(--ease); }
.nav__brand { display: block; width: 64px; color: inherit; }
@media (min-width: 900px) { .nav__brand { width: 84px; } }
.nav__links { display: none; }
.nav__cta { display: none; margin-left: auto; }
.nav__toggle { margin-left: auto; width: 48px; height: 48px; display: grid; place-items: center; background: none; border: 0; cursor: pointer; }
.nav__bars { display: grid; gap: 7px; width: 26px; }
.nav__bars i { display: block; height: 2px; background: currentColor; transition: transform .3s var(--ease); }
.nav__toggle[aria-expanded="true"] .nav__bars i:first-child { transform: translateY(4.5px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] .nav__bars i:last-child { transform: translateY(-4.5px) rotate(-45deg); }
@media (min-width: 900px) {
  .nav { gap: 40px; }
  .nav__links { display: flex; gap: 38px; margin: 0 auto; }
  .nav__links a { position: relative; font: 800 .74rem/1 var(--font-body); letter-spacing: .22em; text-transform: uppercase; text-decoration: none; padding: 12px 0; }
  .nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
  .nav__links a:hover::after, .nav__links a[aria-current]::after { transform: scaleX(1); transform-origin: left; }
  .nav__cta { display: inline-flex; margin-left: 0; }
  .nav__toggle { display: none; }
}
@media (min-width: 900px) and (max-width: 1339px) { .nav__cta-num { display: none; } }
/* pages that open on a full-bleed image: nav floats over it until scrolled */
.has-hero { padding-top: 0; }
.has-hero .nav:not(.is-solid) { background: transparent; box-shadow: none; }
.has-hero.hero-dark .nav:not(.is-solid) { color: var(--white); }
.has-hero.hero-dark .nav:not(.is-solid) .btn--line { color: var(--white); border-color: rgba(255, 255, 255, .85); background: transparent; }
.has-hero.hero-dark .nav:not(.is-solid) .btn--line::before { background: var(--white); }
.has-hero.hero-dark .nav:not(.is-solid) .btn--line:hover { color: var(--navy); }
.has-hero.hero-dark .nav:not(.is-solid)::before { content: ""; position: absolute; inset: 0 0 -50px; z-index: -1; pointer-events: none; background: linear-gradient(rgba(7, 42, 55, .5), rgba(7, 42, 55, 0)); }
.nav.is-hidden { transform: translateY(-100%); }
.mnav-open .nav { background: var(--paper) !important; color: var(--navy) !important; transform: none; }
.mnav-open .nav::before { display: none; }

.mnav { position: fixed; z-index: 49; top: var(--nav-h); left: 12px; right: 12px; background: var(--paper-bg); background-size: auto, 200px 200px, auto; color: var(--navy); border-radius: 0 0 6px 6px;
  box-shadow: 0 30px 50px -14px rgba(7, 42, 55, .5); padding: 8px 22px 22px; }
.mnav[hidden] { display: none; }
.mnav nav { display: grid; }
.mnav nav a { font: 400 2rem/1 var(--font-display); text-transform: uppercase; letter-spacing: .03em; text-decoration: none; padding: 14px 0 10px; border-bottom: 1px solid rgba(10, 56, 72, .15); }
.mnav nav a[aria-current] { color: var(--terra); }
.mnav__meta { display: grid; gap: 6px; margin-top: 18px; font-size: .95rem; }
@media (prefers-reduced-motion: no-preference) {
  .mnav:not([hidden]) nav a { animation: mnavIn .5s var(--ease) both; }
  .mnav:not([hidden]) nav a:nth-child(2) { animation-delay: .04s; } .mnav:not([hidden]) nav a:nth-child(3) { animation-delay: .08s; }
  .mnav:not([hidden]) nav a:nth-child(4) { animation-delay: .12s; } .mnav:not([hidden]) nav a:nth-child(5) { animation-delay: .16s; }
}
@keyframes mnavIn { from { opacity: 0; transform: translateY(14px); } }
@media (min-width: 900px) { .mnav { display: none !important; } }

/* ---------- paper panels with torn edges ---------- */
/* .tear wraps a .paper so the drop shadow follows the torn outline */
.tear { position: relative; z-index: 2; }
.tear::before { content: ""; position: absolute; inset: 30px 3px; z-index: -1; border-radius: 3px; box-shadow: 0 0 0 1px rgba(7, 42, 55, .03), 0 14px 36px rgba(7, 42, 55, .2); }
.phead__tear.tear::before, .tear--flat::before { display: none; }
.paper { background: var(--paper-bg); background-size: auto, 200px 200px, auto; }
.paper--top { -webkit-mask: url(/img/edge/torn-a-top.svg) top left / 800px 32px repeat-x, linear-gradient(#000 0 0) bottom / 100% calc(100% - 31px) no-repeat;
  mask: url(/img/edge/torn-a-top.svg) top left / 800px 32px repeat-x, linear-gradient(#000 0 0) bottom / 100% calc(100% - 31px) no-repeat; }
.paper--both { -webkit-mask: url(/img/edge/torn-a-top.svg) top left / 800px 32px repeat-x, linear-gradient(#000 0 0) center / 100% calc(100% - 62px) no-repeat, url(/img/edge/torn-b-bottom.svg) bottom left / 800px 32px repeat-x;
  mask: url(/img/edge/torn-a-top.svg) top left / 800px 32px repeat-x, linear-gradient(#000 0 0) center / 100% calc(100% - 62px) no-repeat, url(/img/edge/torn-b-bottom.svg) bottom left / 800px 32px repeat-x; }
.paper--bottom { -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 31px) no-repeat, url(/img/edge/torn-b-bottom.svg) bottom left / 800px 32px repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% calc(100% - 31px) no-repeat, url(/img/edge/torn-b-bottom.svg) bottom left / 800px 32px repeat-x; }
.paper--sky { background: radial-gradient(120% 80% at 20% 0%, rgba(255, 255, 255, .55), rgba(255, 255, 255, 0) 60%), var(--grain), var(--sky); background-size: auto, 200px 200px, auto; }
.paper--sky .eyebrow { color: var(--navy); }
.paper--white { background: radial-gradient(120% 80% at 30% 0%, #fff, rgba(255, 255, 255, 0) 70%), var(--grain), #fbf9f3; background-size: auto, 200px 200px, auto; }

/* soft wave edge for navy and photo sections */
.wave { position: absolute; left: 0; width: 100%; height: clamp(26px, 4vw, 64px); pointer-events: none; color: inherit; }
.wave path { fill: currentColor; }
.wave--top { bottom: calc(100% - 1px); }
.wave--bottom { top: calc(100% - 1px); }

/* palm fronds drifting in from the edges (decorative) */
.palm { position: absolute; z-index: 3; pointer-events: none; width: clamp(160px, 26vw, 420px); }
.palm img { width: 100%; height: auto; }
@media (prefers-reduced-motion: no-preference) {
  .palm img { animation: sway 9s ease-in-out infinite alternate; transform-origin: var(--origin, 0% 0%); }
  .palm:nth-of-type(2n) img { animation-duration: 11s; animation-delay: -3s; }
}
@keyframes sway { from { transform: rotate(-1.6deg); } to { transform: rotate(1.8deg); } }
@media (max-width: 899px) { .palm--desk { display: none; } }

/* ---------- marquee ticker ---------- */
.ticker { position: relative; z-index: 4; overflow: hidden; background: var(--navy); color: var(--cream); transform: rotate(-1.5deg); margin: 0 -10px; padding: 16px 0 13px; box-shadow: 0 14px 30px -14px rgba(7, 42, 55, .6); }
.ticker--sky { background: var(--sky); color: var(--navy); transform: rotate(1.2deg); }
.ticker__track { display: flex; width: max-content; }
.ticker__set { display: flex; flex: none; align-items: center; }
.ticker__set span { font: 400 clamp(1.4rem, 3.2vw, 2.2rem)/1 var(--font-display); text-transform: uppercase; letter-spacing: .04em; white-space: nowrap; padding: 0 22px; }
.ticker__set .anchor { width: .9em; margin: 0; vertical-align: -.1em; color: var(--sky); padding: 0; }
.ticker--sky .ticker__set .anchor { color: var(--terra); }
@media (prefers-reduced-motion: no-preference) { .ticker__track { animation: tick 38s linear infinite; } .ticker--sky .ticker__track { animation-direction: reverse; animation-duration: 44s; } }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- photo frames ---------- */
.ph { position: relative; overflow: hidden; background: var(--sand); }
.ph img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.ph--zoom img { transition: transform 1.2s var(--ease); }
.ph--zoom:hover img { transform: scale(1.05); }
.polaroid { --tilt: -2deg; background: var(--white); padding: 10px 10px 0; box-shadow: 0 1px 2px rgba(7, 42, 55, .12), 0 16px 32px -12px rgba(7, 42, 55, .4); transform: rotate(var(--tilt)); }
.polaroid__img { aspect-ratio: 1; overflow: hidden; background: var(--sand); }
.polaroid__img img { width: 100%; height: 100%; object-fit: cover; }
.polaroid__name { font: 400 1.25rem/1.05 var(--font-display); text-transform: uppercase; letter-spacing: .03em; color: var(--navy); padding: 12px 4px 14px; text-align: center; }

/* ---------- hours ---------- */
.hours { border-collapse: collapse; width: 100%; max-width: 340px; }
.hours th, .hours td { text-align: left; padding: 5px 0; border-bottom: 1px solid rgba(10, 56, 72, .14); font-weight: 400; }
.hours td { text-align: right; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 800; }

/* ---------- footer ---------- */
.foot { position: relative; background: var(--navy); color: var(--cream); margin-top: 90px; padding: 60px 0 calc(110px + env(safe-area-inset-bottom)); }
.foot > .wave { color: var(--navy); }
.foot__grid { width: min(100% - 2 * var(--gutter), var(--max)); margin: 0 auto; display: grid; gap: 40px; position: relative; z-index: 1; }
.foot__brand .logo { width: 150px; color: var(--white); margin-bottom: 14px; }
.foot__line { font: 800 .76rem/1.6 var(--font-body); letter-spacing: .22em; text-transform: uppercase; max-width: 18em; color: var(--cream); }
.foot__squiggle { width: 54px; height: 10px; margin-top: 14px; fill: none; stroke: var(--sky); stroke-width: 2; }
.foot .label { color: var(--sky); margin-bottom: 14px; }
.foot address { font-style: normal; }
.foot a:where(:not(.btn)) { color: var(--white); }
.foot .hours th, .foot .hours td { border-color: rgba(242, 241, 235, .14); padding: 4px 0; font-size: .95rem; }
.foot .hours tr.is-today { color: var(--sky); }
.foot__small { font-size: .85rem; opacity: .8; margin-top: 10px; }
.foot__rows { display: grid; gap: 14px; }
.foot__row { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.foot__row svg { width: 20px; height: 20px; fill: none; stroke: var(--sky); stroke-width: 1.6; margin-top: 3px; }
.foot__soc { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.foot__soc a { width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid rgba(242, 241, 235, .45); border-radius: 50%; transition: background .3s, color .3s; }
.foot__soc a:hover { background: var(--cream); color: var(--navy); }
.foot__soc svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.foot__soc .dot, .foot__soc .fill { fill: currentColor; stroke: none; }
.foot .btn--line { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, .8); }
.foot .btn--line::before { background: var(--white); }
.foot .btn--line:hover { color: var(--navy); }
.foot__nav { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 20px; }
.foot__nav a { text-decoration: none; padding: 6px 0; }
.foot__map { position: relative; border-radius: 6px; overflow: hidden; min-height: 260px; background: #0d4558; }
.foot__map > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.foot__pin { position: absolute; left: 46%; top: 44%; display: flex; align-items: center; gap: 10px; background: var(--white); color: var(--navy); padding: 9px 14px 8px 10px; border-radius: 4px;
  box-shadow: 0 10px 24px -6px rgba(0, 0, 0, .45); font-size: .78rem; line-height: 1.2; text-decoration: none; transform: translateY(-100%); }
.foot .foot__pin { color: var(--navy); }
.foot__pin b { display: block; font: 400 1.1rem/1 var(--font-display); letter-spacing: .04em; }
.foot__pin svg { width: 20px; height: 24px; flex: none; fill: var(--navy); }
.foot__pin::after { content: ""; position: absolute; left: 18px; bottom: -7px; border: 7px solid transparent; border-bottom: 0; border-top-color: var(--white); }
.foot__base { width: min(100% - 2 * var(--gutter), var(--max)); margin: 50px auto 0; padding-top: 22px; border-top: 1px solid rgba(242, 241, 235, .16); font-size: .85rem; color: rgba(242, 241, 235, .8); position: relative; z-index: 1; }
.foot__base p { margin-bottom: .5em; }
.foot__legal { display: flex; flex-wrap: wrap; gap: 4px 20px; margin-top: 14px; }
.foot__legal a { padding: 6px 0; }
@media (min-width: 900px) {
  .foot { padding-bottom: 48px; }
  .foot__grid { grid-template-columns: 1fr 1.05fr 1.1fr .95fr 1.5fr; gap: 36px; align-items: start; }
  .foot__map { margin: -30px calc(-1 * var(--gutter)) 0 0; min-height: 320px; border-radius: 8px 0 0 8px; }
}

/* ---------- mobile action bar ---------- */
.actbar { position: fixed; z-index: 45; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); display: grid; grid-template-columns: 1fr 1.25fr 1fr;
  background: var(--navy); color: var(--cream); border-radius: 8px; box-shadow: 0 12px 30px -8px rgba(7, 42, 55, .55); overflow: hidden; transition: transform .4s var(--ease); }
.actbar__a { display: grid; justify-items: center; gap: 3px; padding: 10px 4px 9px; font: 800 .64rem/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; min-height: 56px; align-content: center; }
.actbar__a svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.actbar__a--main { background: var(--sky); color: var(--navy); }
.actbar.is-away { transform: translateY(calc(100% + 30px)); }
@media (min-width: 900px) { .actbar { display: none; } }

/* ---------- motion hooks (content stays visible without JS and with reduced motion) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
  .js .rv.in { opacity: 1; transform: none; }
  .js .rv-img { clip-path: inset(14% 0 0 0); transition: clip-path 1.3s cubic-bezier(.6, .1, .2, 1); transition-delay: var(--d, 0s); }
  .js .rv-img img { transform: scale(1.08); transition: transform 1.8s var(--ease); transition-delay: var(--d, 0s); }
  .js .rv-img.in { clip-path: inset(0 0 0 0); }
  .js .rv-img.in img { transform: none; }
  .js .rv-line .line > span { transform: translateY(105%); transition: transform 1s cubic-bezier(.2, .8, .2, 1); }
  .js .rv-line .line:nth-child(2) > span { transition-delay: .1s; } .js .rv-line .line:nth-child(3) > span { transition-delay: .2s; }
  .js .rv-line.in .line > span { transform: none; }
}

/* ---------- shared bits ---------- */
.section { position: relative; padding: 80px 0; }
@media (min-width: 900px) { .section { padding: 120px 0; } }
.section--navy { background: var(--navy); color: var(--cream); }
.section--navy > .wave { color: var(--navy); }
.note { font-size: .9rem; opacity: .85; }
.surcharge { font-weight: 800; font-size: 1.05rem; margin-top: 10px; }
.status { display: inline-flex; align-items: center; gap: 8px; font: 800 .72rem/1 var(--font-body); letter-spacing: .16em; text-transform: uppercase; }
.status::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #4fd07a; box-shadow: 0 0 0 0 rgba(79, 208, 122, .6); }
@media (prefers-reduced-motion: no-preference) { .status--live::before { animation: pulse 2s infinite; } }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(79, 208, 122, 0); } 100% { box-shadow: 0 0 0 0 rgba(79, 208, 122, 0); } }
.status--closed::before { background: var(--sand); }

/* ---------- inner page header: photo with a torn paper edge ---------- */
.phead { position: relative; min-height: clamp(440px, 64svh, 660px); display: grid; align-content: end; color: var(--white); isolation: isolate; }
.phead__media { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--navy); }
.phead__media picture, .phead__media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.phead__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 42, 55, .5), rgba(7, 42, 55, .12) 35%, rgba(7, 42, 55, .72)); }
.phead__in { padding: calc(var(--nav-h) + 70px) 0 100px; }
.phead .eyebrow { color: var(--sky); }
.phead .lede { margin-top: 16px; text-shadow: 0 1px 14px rgba(7, 42, 55, .5); }
.phead > .script { position: absolute; right: calc(var(--gutter) + 2vw); top: calc(var(--nav-h) + 40px); }
@media (max-width: 899px) { .phead > .script { display: none; } }
.phead__tear { position: absolute; left: 0; right: 0; bottom: -2px; height: 64px; z-index: 2; }
.phead__tear .paper { height: 100%; }
.phead .palm { left: -30px; bottom: -40px; width: clamp(150px, 20vw, 300px); }

/* ================= v3 polish (2026-11-11): island nav, pill buttons, soft reveals ================= */
/* pill buttons with the arrow in its own circle */
.btn { border-radius: 999px; padding: .55em .7em .5em 1.6em; min-height: 54px; }
.btn:not(:has(.arr)) { padding: .8em 1.6em .7em; }
.btn::before { border-radius: inherit; }
.btn .arr { width: 36px; height: 36px; padding: 13px 10px; border-radius: 50%; background: rgba(255, 255, 255, .14); stroke-width: 1.8; flex: none;
  transition: transform .5s cubic-bezier(.32, .72, 0, 1), background .3s; }
.btn:hover .arr { transform: translate(3px, -1px) scale(1.06); background: rgba(255, 255, 255, .24); }
.btn--line .arr, .btn--light .arr { background: rgba(10, 56, 72, .08); }
.btn--line:hover .arr { background: rgba(255, 255, 255, .18); }
.btn:active { transform: scale(.98); }
.btn--sm { min-height: 44px; }
.btn--sm .arr { width: 30px; height: 30px; padding: 10px 8px; }

/* eyebrow as a small pill tag */
.eyebrow--pill { display: inline-flex; padding: 7px 14px 6px; border: 1px solid currentColor; border-radius: 999px; font-size: .68rem; }
.eyebrow--pill .anchor { width: 1.2em; vertical-align: -.2em; }

/* floating island nav on desktop */
@media (min-width: 900px) {
  .nav { inset: 16px var(--gutter) auto; height: 72px; border-radius: 999px; padding: 0 12px 0 30px;
    background: rgba(245, 241, 230, .97);
    box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 18px 40px -22px rgba(7, 42, 55, .45); }
  .nav__brand { width: 62px; }
  .nav .nav__cta { min-height: 50px; }
  .has-hero .nav:not(.is-solid) { box-shadow: none; }
  /* the nav is an inset pill here, so stretch its dark fade to the full width of the page (it showed as a box on the photo) */
  .has-hero.hero-dark .nav:not(.is-solid)::before { inset: -16px calc(-1 * var(--gutter)) -70px; }
  .nav.is-hidden { transform: translateY(calc(-100% - 24px)); }
  body { padding-top: calc(var(--nav-h) + 16px); }
  .has-hero { padding-top: 0; }
}

/* softer, heavier entrance (blur resolves as it rises) */
@media (prefers-reduced-motion: no-preference) {
  .js .rv { opacity: 0; transform: translateY(36px); transition: opacity .9s cubic-bezier(.32, .72, 0, 1), transform 1s cubic-bezier(.32, .72, 0, 1); transition-delay: var(--d, 0s); }
  .js .rv.in { opacity: 1; transform: none; }
}

/* mobile menu: full screen, staggered */
@media (max-width: 899px) {
  .mnav { top: 0; left: 0; right: 0; bottom: 0; border-radius: 0; padding: calc(var(--nav-h) + 20px) 26px 120px; display: grid; align-content: start; overflow-y: auto; }
  .mnav nav a { font-size: 2.6rem; padding: 16px 0 12px; }
  .mnav-open .nav { z-index: 60; }
}

/* footer: the real shopfront with a directions pin (replaces the illustrated map, 2026-11-11) */
.foot__map { background: var(--navy-deep); }
.foot__map > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.foot__map::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7, 42, 55, .55), rgba(7, 42, 55, 0) 55%); pointer-events: none; }
.foot__pin { left: 18px; top: auto; bottom: 18px; transform: none; z-index: 1; transition: transform .5s cubic-bezier(.32, .72, 0, 1); }
.foot__pin:hover { transform: translateY(-3px); }
.foot__pin::after { display: none; }
/* inner page headers: keep the headline readable over busy photos */
.phead__media::after { background: linear-gradient(90deg, rgba(7, 42, 55, .72), rgba(7, 42, 55, .25) 62%, rgba(7, 42, 55, .1)), linear-gradient(180deg, rgba(7, 42, 55, .45), rgba(7, 42, 55, 0) 30%, rgba(7, 42, 55, .55)); }
@media (max-width: 899px) { .phead .h1 { font-size: clamp(2.6rem, 10.4vw, 4rem); } .phead__in { padding-bottom: 86px; } }

/* scroll performance (2026-11-11): parallax layers get their own compositor layer */
[data-parallax] { will-change: transform; }

/* ---------- seasonal mode (src/season.json). html.xmas is set in <head> between the season dates, Brisbane time. ---------- */
html:not(.xmas) .xmas-only { display: none !important; }
html.xmas .xmas-off { display: none !important; }
:root { --xred: #A92F28; --xgreen: #17503B; --xgold: #F0CF7A; }
.ticker--xmas { background: var(--xred); color: var(--white); transform: rotate(1.2deg); }
.ticker--xmas .ticker__set .anchor { color: var(--xgold); }
.btn--xmas { background: var(--xred); border-color: var(--xred); color: var(--white); }
.btn--xmas::before { background: #8c231d; }
/* Christmas panel: the real fairy-light photo under a deep navy wash, warm glows that drift, a script headline and taped polaroids */
.xband { position: relative; isolation: isolate; color: var(--cream); padding: 110px 0 100px; margin: -24px 0; overflow: hidden; background: var(--navy-deep); z-index: 3; }
.xband__bg { position: absolute; inset: 0; z-index: -3; }
.xband__bg picture, .xband__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.xband__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(7, 42, 55, .94) 0%, rgba(7, 42, 55, .86) 45%, rgba(40, 20, 26, .62) 100%); }
.xband__glow { position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background: radial-gradient(circle at 12% 18%, rgba(240, 207, 122, .30) 0, rgba(240, 207, 122, 0) 9%), radial-gradient(circle at 34% 8%, rgba(240, 207, 122, .22) 0, rgba(240, 207, 122, 0) 6%),
    radial-gradient(circle at 58% 14%, rgba(255, 255, 255, .20) 0, rgba(255, 255, 255, 0) 5%), radial-gradient(circle at 82% 10%, rgba(240, 207, 122, .30) 0, rgba(240, 207, 122, 0) 8%),
    radial-gradient(circle at 92% 62%, rgba(226, 87, 76, .22) 0, rgba(226, 87, 76, 0) 12%), radial-gradient(circle at 6% 84%, rgba(226, 87, 76, .18) 0, rgba(226, 87, 76, 0) 12%),
    radial-gradient(circle at 46% 92%, rgba(240, 207, 122, .18) 0, rgba(240, 207, 122, 0) 8%); }
@media (prefers-reduced-motion: no-preference) { .xband__glow { animation: xglow 5s ease-in-out infinite alternate; } }
@keyframes xglow { from { opacity: .55; transform: translateY(0); } to { opacity: 1; transform: translateY(-10px); } }
.xband__in { display: grid; gap: 54px; align-items: center; }
.xband__kicker { margin: 0 0 6px; font: 800 .74rem/1 var(--font-body); letter-spacing: .24em; text-transform: uppercase; color: var(--cream); display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.xband__kicker span { background: var(--xred); color: var(--white); padding: 8px 12px 7px; border-radius: 999px; rotate: -2deg; }
.xband__h { margin: 0 0 18px; font: 400 clamp(3rem, 11vw, 6.2rem)/.92 var(--font-display); text-transform: uppercase; letter-spacing: .02em; color: var(--white); }
.xband__script { display: block; transform: rotate(-5deg); transform-origin: 0 100%; color: var(--xgold); font-size: 1.15em; line-height: 1; margin: 0 0 -.08em -.04em; text-shadow: 0 6px 30px rgba(240, 207, 122, .35); }
.xband .lede { max-width: 30em; margin: 0 0 22px; }
.xband__tags { list-style: none; margin: 0 0 30px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.xband__tags li { padding: 9px 14px 8px; border: 1.5px solid rgba(240, 207, 122, .7); border-radius: 999px; font: 800 .7rem/1.2 var(--font-body); letter-spacing: .14em; text-transform: uppercase; color: var(--white); background: rgba(7, 42, 55, .45); }
.xband__pols { position: relative; height: 300px; max-width: 420px; margin: 0 auto; width: 100%; }
.xpol { position: absolute; margin: 0; width: 62%; background: #fbf9f3; padding: 10px 10px 0; border-radius: 3px; box-shadow: 0 26px 46px -18px rgba(0, 0, 0, .8); }
.xpol picture, .xpol img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.xpol figcaption { font: 400 1.5rem/1 var(--font-script); color: var(--navy); text-align: center; padding: 12px 4px 14px; }
.xpol::before { content: ""; position: absolute; left: 50%; top: -12px; width: 86px; height: 26px; translate: -50% 0; rotate: -3deg; background: rgba(240, 207, 122, .85); box-shadow: 0 2px 6px rgba(0, 0, 0, .2); }
.xpol--a { left: 0; top: 0; rotate: -7deg; z-index: 2; }
.xpol--b { right: 0; top: 54px; rotate: 6deg; z-index: 1; }
.xpol--b::before { background: rgba(226, 87, 76, .85); rotate: 4deg; }
.xpol--c { display: none; }
@media (min-width: 900px) {
  .xband { padding: 150px 0 140px; }
  .xband__in { grid-template-columns: 1.02fr .98fr; gap: 60px; }
  .xband__pols { height: 640px; max-width: none; }
  .xpol { width: 50%; padding: 14px 14px 0; transition: rotate .6s cubic-bezier(.32, .72, 0, 1), translate .6s cubic-bezier(.32, .72, 0, 1); }
  .xpol:hover { rotate: 0deg; translate: 0 -8px; z-index: 4; }
  .xpol figcaption { font-size: 1.9rem; padding: 16px 4px 18px; }
  .xpol--a { left: 0; top: 0; }
  .xpol--b { right: 0; top: 70px; }
  .xpol--c { display: block; left: 4%; top: 350px; rotate: 3deg; z-index: 3; }
  .xpol--c::before { background: rgba(179, 227, 242, .9); }
}

/* ---------- 2026-11-14: footer rebuilt. One brand row, four columns that start on the same line, one quiet base line. No photo. ---------- */
.foot { padding: 54px 0 calc(110px + env(safe-area-inset-bottom)); }
.foot__in { width: min(100% - 2 * var(--gutter), var(--max)); margin: 0 auto; position: relative; z-index: 1; }
.foot__top { display: grid; gap: 18px; justify-items: start; padding-bottom: 30px; border-bottom: 1px solid rgba(242, 241, 235, .16); }
.foot__logo { display: block; width: 118px; color: var(--white); }
.foot__logo .logo { width: 100%; margin: 0; color: inherit; }
.foot__line { margin: 0; max-width: none; font-size: .72rem; letter-spacing: .2em; color: rgba(242, 241, 235, .85); }
.foot__soc { margin: 0; gap: 10px; }
.foot__soc a { width: 44px; height: 44px; }
.foot__grid { width: auto; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 34px 24px; padding: 34px 0 36px; }
.foot .label { margin: 0 0 14px; font-size: .7rem; }
.foot__col address, .foot__list, .foot__hours { font-size: 1rem; line-height: 1.55; }
.foot__hours { margin: 0; display: grid; gap: 8px; }
.foot__hours div { display: grid; gap: 0; }
.foot__hours dt { font-weight: 700; color: var(--white); }
.foot__hours dd { margin: 0; color: rgba(242, 241, 235, .82); }
.foot__small { margin: 12px 0 0; font-size: .85rem; opacity: .75; }
.foot__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.foot__list a, .foot__go { display: inline-block; padding: 5px 0; text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .25s, color .25s; }
.foot__list a:hover, .foot__go:hover { border-bottom-color: var(--sky); color: var(--sky); }
.foot__go { margin-top: 12px; display: inline-flex; align-items: center; gap: .6em; font: 800 .72rem/1 var(--font-body); letter-spacing: .18em; text-transform: uppercase; color: var(--sky) !important; }
.foot__go .arr { width: 16px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .3s; }
.foot__go:hover .arr { transform: translateX(4px); }
.foot__base { width: auto; margin: 0; padding-top: 22px; border-top: 1px solid rgba(242, 241, 235, .16); font-size: .82rem; line-height: 1.6; color: rgba(242, 241, 235, .68); }
.foot__base p { margin: 0 0 12px; max-width: 78em; }
.foot__legal { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 22px; margin: 0 !important; }
@media (min-width: 900px) {
  .foot { padding: 64px 0 40px; }
  .foot__top { grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; padding-bottom: 32px; }
  .foot__grid { grid-template-columns: 1.25fr 1fr 1.15fr .8fr; gap: 48px; padding: 40px 0 44px; align-items: start; }
  .foot__hours div { grid-template-columns: 1fr auto; gap: 16px; align-items: baseline; }
  .foot__hours dd { text-align: right; white-space: nowrap; }
  .foot__by { margin-left: auto; }
}

/* ---------- 2026-11-14 QA pass: no orphaned last words in headings and intros ---------- */
h1, h2, .h1, .h2, .lede, .hero__lede, .live__lede, .mp__intro, .week__intro { text-wrap: balance; }

/* phone menu (2026-11-14): current page marked with a bar, call and directions buttons, social icons */
.mnav:focus { outline: none; }
.mnav nav a { position: relative; }
.mnav nav a[aria-current] { padding-left: 22px; }
.mnav nav a[aria-current]::before { content: ""; position: absolute; left: 0; top: 50%; width: 10px; height: 10px; margin-top: -4px; border-radius: 50%; background: var(--terra); }
.mnav__meta { gap: 0; margin-top: 26px; }
.mnav__btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mnav__btns .btn { width: 100%; padding-left: 1em; padding-right: 1em; font-size: .72rem; white-space: nowrap; }
.mnav__where { margin: 20px 0 0; font-size: .95rem; line-height: 1.55; color: rgba(10, 56, 72, .8); }
.mnav__foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(10, 56, 72, .15); }
.mnav__soc { display: flex; gap: 10px; margin: 0; }
.mnav__soc a { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: var(--cream); }
.mnav__soc svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.mnav__soc .dot, .mnav__soc .fill { fill: currentColor; stroke: none; }
.mnav__mail { font-size: .95rem; }
@media (max-width: 899px) { .mnav { padding-bottom: 40px; } }
@media (max-width: 359px) { .mnav__btns { grid-template-columns: 1fr; } }

/* Christmas buttons wear a santa hat on the corner (2026-11-14). Drawn in code, in season only, gone with the season. */
.btn--xmas { overflow: visible; box-shadow: 0 10px 24px -12px rgba(169, 47, 40, .9); }
.btn--xmas::after { content: ""; position: absolute; left: -5px; top: -25px; width: 46px; height: 40px; background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 64 56%22%3E%3Cpath d=%22M11 41C12 22 26 6 42 8c10 1.5 15 11 13.5 23-4-8-10-10-15-6.5 4 5 6 11 6 16.5z%22 fill=%22%23C4342C%22/%3E%3Cpath d=%22M40.5 24.5c4 5 6 11 6 16.5H34c4-5 6.5-10 6.5-16.5z%22 fill=%22%239E2620%22/%3E%3Cpath d=%22M20 22c5-8 13-12.5 21-12%22 fill=%22none%22 stroke=%22%23DD5248%22 stroke-width=%222.2%22 stroke-linecap=%22round%22/%3E%3Crect x=%225%22 y=%2236%22 width=%2247%22 height=%2214%22 rx=%227%22 fill=%22%23FBF7EE%22/%3E%3Cpath d=%22M12 47h33%22 stroke=%22%23DDD5C3%22 stroke-width=%222.4%22 stroke-linecap=%22round%22/%3E%3Ccircle cx=%2255%22 cy=%2233%22 r=%227.5%22 fill=%22%23FBF7EE%22/%3E%3Cpath d=%22M51 37.5a6 6 0 0 0 8 0%22 fill=%22none%22 stroke=%22%23DDD5C3%22 stroke-width=%221.8%22 stroke-linecap=%22round%22/%3E%3C/svg%3E") center / contain no-repeat;
  transform: rotate(-17deg); transform-origin: 50% 100%; filter: drop-shadow(0 3px 3px rgba(0, 0, 0, .28)); pointer-events: none; }
@media (prefers-reduced-motion: no-preference) {
  .btn--xmas::after { transition: transform .5s cubic-bezier(.3, 1.6, .5, 1); }
  .btn--xmas:hover::after { transform: rotate(-27deg) translateY(-2px); }
}
.xband .btn--xmas { margin-top: 8px; }
@media (max-width: 599px) { .btn--xmas::after { width: 36px; height: 31px; top: -18px; left: -3px; } }

/* ---------- long paper sheets without a mask (2026-11-14) ----------
   A mask makes the browser paint the whole panel as one picture. The menu sheets run past 6,000px on a phone, which is more than an iPhone can hold
   in one picture, so parts of the sheet came up blank while scrolling. .paper--long draws the same torn edges as coloured strips (no mask):
   the fill sits on ::before between the two strips. Use it on any paper panel that can grow past about 2,000px. */
.paper.paper--long { position: relative; isolation: isolate; -webkit-mask: none; mask: none;
  background: url(/img/edge/torn-a-top-white.svg) top left / 800px 32px repeat-x, url(/img/edge/torn-b-bottom-white.svg) bottom left / 800px 32px repeat-x; }
.paper.paper--long::before { content: ""; position: absolute; inset: 31px 0; z-index: -1; pointer-events: none;
  background: radial-gradient(120% 80% at 30% 0%, #fff, rgba(255, 255, 255, 0) 70%), var(--grain), #fbf9f3; background-size: auto, 200px 200px, auto; }

/* desktop nav: links sit in the true centre of the bar, not centred in the gap between the logo and the button (2026-11-14) */
@media (min-width: 1100px) {
  .nav__links { position: absolute; left: 50%; translate: -50% 0; margin: 0; }
  .nav .nav__cta { margin-left: auto; }
}

/* ---------- footer alignment (2026-11-14): every column starts on the same line, Explore sits on the right edge, small print runs the full width ---------- */
.foot__base p { max-width: none; }
@media (min-width: 900px) {
  .foot__grid { grid-template-columns: 1.3fr 1fr 1.1fr auto; column-gap: 64px; }
  .foot__list { gap: 8px; }
  .foot__list a { padding: 0; }
  .foot__col address { line-height: 1.55; }
  .foot__hours { gap: 8px; }
}
/* footer top row: tagline and social icons sit on the logo's bottom line, not floating beside its middle */
@media (min-width: 900px) {
  .foot__top { align-items: end; }
  .foot__line { line-height: 1; padding-bottom: 3px; }
  .foot__soc { align-self: end; }
}
