/*
Theme Name:        Lucky's
Description:       Custom theme for Lucky's Windsor, built on ACF blocks (one block per row of the design). Requires Advanced Custom Fields Pro.
Author:            Morris Hospitality Group
Version:           1.0.0
Requires at least: 6.4
Requires PHP:      8.0
License:           GNU General Public License v2 or later
License URI:       http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:       luckys
*/

/*
 * Ported from the static prototype (site/dist/styles.css). Sizes on the inner-page
 * artboards use --u, one design point: the desktop artboard is 1440pt wide, mobile 585pt.
 *
 * Typefaces were extracted from the design PDFs as glyph subsets and are not
 * licensed for web use. Replace them with licensed webfonts before launch.
 */

/* Fonts
 * ------------------------------------------------------------------------- */

@font-face { font-family: LuckyType; src: url('assets/typewriter.woff2') format('woff2'); font-display: swap; }
/* footer-type and marquee-type: CFF fonts re-saved with the 'OTTO' header (they were labelled TrueType, which Safari rejects). */
@font-face { font-family: LuckyFooter; src: url('assets/footer-type.woff2?v=2') format('woff2'); font-display: swap; }
@font-face { font-family: LuckyMarquee; src: url('assets/marquee-type.woff2?v=2') format('woff2'); font-display: swap; }
/* LuckyNav: the full Normal TM (headings, buttons, nav). Licence not stated in the file: confirm web use before launch. */
@font-face { font-family: LuckyNav; src: url('assets/nav-type.woff2') format('woff2'); font-display: block; }
/* LuckyMenu / LuckyText: the full F25 Typewriter Condensed Bold (Volker Busse). Free for private use only:
   needs a commercial web licence from MyFonts before launch. Both names point at the same file. */
@font-face { font-family: LuckyMenu; src: url('assets/menu-type.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: LuckyText; src: url('assets/menu-type.woff2') format('woff2'); font-display: swap; }

/* Base
 * ------------------------------------------------------------------------- */

:root { --orange: #ff5b00; --wine: #4f0000; --cream: #f2ebd8; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body { margin: 0; background: var(--wine); color: var(--orange); font-family: LuckyType, 'Courier New', monospace; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:hover, footer button:hover { text-decoration: underline; text-underline-offset: 5px; }
button:focus-visible, a:focus-visible { outline: 3px solid currentColor; outline-offset: 7px; }
img { max-width: 100%; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 10; padding: 12px; background: var(--orange); color: var(--wine); }
.skip-link:focus { top: 20px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
body.modal-open { overflow: hidden; }
.paused * { animation-play-state: paused !important; }

@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes clover { 0%, 15%, 85%, 100% { opacity: 1; transform: rotate(-4deg); } 45%, 65% { opacity: 0; transform: rotate(9deg); } }

/* Page stage and inner-page head
 * ------------------------------------------------------------------------- */

.page-stage { position: relative; container-type: inline-size; background: var(--wine); }

.site-head { --u: calc(100cqw / 1440); position: absolute; z-index: 3; top: 0; left: 0; width: 100%; height: calc(170 * var(--u)); pointer-events: none; }
.site-head > * { position: absolute; margin: 0; pointer-events: auto; }
.page-wordmark { left: calc(69 * var(--u)); top: calc(52 * var(--u)); width: calc(557 * var(--u)); }
.page-wordmark:hover { text-decoration: none; }
.page-wordmark img { display: block; width: 100%; height: auto; }
.site-head .menu-toggle { left: calc(1334 * var(--u)); top: calc(36 * var(--u)); right: auto; width: calc(77 * var(--u)); min-width: 0; }
/* Rows other than a Page Intro artboard start below the head. */
.site-head + *:not(.page-layout) { margin-top: calc(170 * 100cqw / 1440); }

/* Hero
 * ------------------------------------------------------------------------- */

.hero { height: 60vw; max-height: 1100px; min-height: 480px; position: relative; overflow: hidden; background: #130805; }
.hero-photo, #distortion { position: absolute; width: 100%; height: 100%; inset: 0; object-fit: cover; object-position: center; }
#distortion { opacity: 0; }
#distortion.ready { opacity: 1; }
.hero h1 { position: absolute; inset: 0; margin: 0; display: grid; place-items: center; pointer-events: none; }
.hero picture { width: 72%; }
.wordmark { display: block; width: 100%; height: auto; }
.menu-toggle, .booking-sticker, .motion-toggle { position: absolute; padding: 0; border: 0; background: transparent; }
.menu-toggle { right: 2%; top: 3.1%; width: 6%; min-width: 62px; z-index: 2; transition: transform .3s; }
.menu-toggle:hover { transform: rotate(18deg); }
.menu-toggle img, .booking-sticker img, .intro-sticker img { width: 100%; height: auto; display: block; }
.booking-sticker { left: 3.5%; bottom: 6%; width: 7.3%; min-width: 72px; transition: transform .25s; }
.booking-sticker:hover { transform: rotate(-6deg) scale(1.06); }
.motion-toggle { right: 22px; bottom: 18px; width: 32px; height: 32px; border: 1px solid #ff5b0080; border-radius: 50%; color: var(--orange); background: #4f000055; font: 16px Arial; }

/* Ticker
 * ------------------------------------------------------------------------- */

.marquee { height: 4.05vw; min-height: 44px; overflow: hidden; background: var(--orange); color: var(--wine); display: flex; align-items: center; }
.marquee--wine { background: var(--wine); color: var(--orange); }
.marquee--cream { background: var(--cream); color: var(--wine); }
.marquee-track, .marquee-group { display: flex; flex: none; align-items: center; }
.marquee-track { animation: marquee var(--marquee-speed, 26s) linear infinite; }
.marquee-group { gap: 5.4vw; padding-right: 5.4vw; }
.marquee span { white-space: nowrap; text-transform: uppercase; font-family: LuckyMarquee, Impact, 'Arial Narrow', sans-serif; font-stretch: condensed; font-size: clamp(23px, 2.25vw, 40px); letter-spacing: 0; }

/* About
 * ------------------------------------------------------------------------- */

.about { min-height: 42.2vw; padding: 4.6vw 6.8vw 8.1vw 8.05vw; display: grid; grid-template-columns: 1fr 1fr; gap: 13.5vw; position: relative; align-items: start; }
@media (min-width: 861px) {
    .about { padding-bottom: 4.05vw; } /* desktop: half the design's 8.1vw under the About block */
}
.about-copy { font-size: clamp(18px, 1.39vw, 26px); line-height: 1.15; letter-spacing: .035em; padding-top: 1.7vw; }
.about-copy p { margin: 0 0 1.2em; }
.about-copy a { text-decoration: underline; text-underline-offset: 5px; }
/* About CTA: same underlined LuckyNav button as the inner pages, sized to the About copy */
.about-copy .about-cta-wrap { margin: 2.2em 0 0; }
.about-copy .about-cta { font-size: clamp(26px, 2.4vw, 46px); border-bottom-width: max(2px, .17vw); text-decoration: none; }
.about-photo-wrap { display: block; width: 100%; }
.about-photo { width: 100%; height: auto; display: block; border-radius: 40px; } /* photo corners are a fixed 40px everywhere: percentages stretched into ovals */
/* Orange frame option (About block): matches the frame drawn into the original artwork, ~1.7% of the photo width. */
.about-photo-wrap--framed .about-photo { border: max(3px, .6vw) solid var(--orange); }
/* Animated GIF icons (luckys_icon adds .is-animated) play their own loop: no fade on top. */
img.is-animated { animation: none !important; }
.about-icon { position: absolute; width: 6%; height: auto; left: 47.5%; top: 35%; animation: clover 9s ease-in-out infinite; }

/* Inner-page artboard (Page Intro)
 * ------------------------------------------------------------------------- */

.page-layout { --u: calc(100cqw / 1440); position: relative; height: calc(1823 * var(--u)); }
.page-layout > * { position: absolute; margin: 0; }
.page-layout img { display: block; width: 100%; height: auto; }
.page-title { left: calc(827 * var(--u)); top: calc(258.7 * var(--u)); width: calc(560 * var(--u)); font: normal calc(60 * var(--u)) / calc(55 * var(--u)) LuckyNav, Impact, sans-serif; letter-spacing: -.013em; text-transform: uppercase; }
.page-copy { left: calc(834 * var(--u)); top: calc(453.5 * var(--u)); width: calc(500 * var(--u)); font: calc(20 * var(--u)) / calc(20 * var(--u)) LuckyMenu, LuckyType, monospace; }
.intro-sticker { left: calc(898 * var(--u)); top: calc(776 * var(--u)); width: calc(87 * var(--u)); padding: 0; border: 0; background: none; transition: transform .25s; }
.intro-sticker:hover { transform: rotate(-6deg) scale(1.06); }
.intro-ladybug { left: calc(1168.3 * var(--u)); top: calc(883.7 * var(--u)); width: calc(113.3 * var(--u)) !important; animation: clover 9s ease-in-out infinite; }
.page-photo { border: calc(10 * var(--u)) solid var(--orange); border-radius: 40px; overflow: hidden; }
.page-photo.page-photo--plain, .event-photo.event-photo--plain { border: 0; }
.page-layout .page-photo img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; }
.page-photo--a { left: calc(96 * var(--u)); top: calc(250 * var(--u)); width: calc(528 * var(--u)); height: calc(651 * var(--u)); }
.page-photo--b { left: calc(829 * var(--u)); top: calc(1057 * var(--u)); width: calc(528 * var(--u)); height: calc(625 * var(--u)); }
.page-link { padding: 0; border: 0; border-bottom: calc(2.5 * var(--u, 1px)) solid; background: none; color: var(--orange); font: normal calc(49.9 * var(--u, 1px)) / 1 LuckyNav, Impact, sans-serif; text-transform: uppercase; }
.page-link:hover { color: var(--cream); text-decoration: none; }
.page-layout .page-link--1 { left: calc(172 * var(--u)); top: calc(1073.24 * var(--u)); }
.page-layout .page-link--2 { left: calc(343 * var(--u)); top: calc(1181.24 * var(--u)); }
.page-layout .page-link--3 { left: calc(514 * var(--u)); top: calc(1289.24 * var(--u)); } /* third button continues the stagger */
.intro-outline { left: calc(132.3 * var(--u)); top: calc(1417 * var(--u)); width: calc(312.7 * var(--u)) !important; }
.intro-wishbone { left: calc(572.7 * var(--u)); top: calc(1422.3 * var(--u)); width: calc(86.3 * var(--u)) !important; }

/* Events layout */
/* Desktop: when Two photos follows another block (not the inner-page header, which needs the room),
   the 250px of space above its first photo is halved: everything moves up 125px. */
@media (min-width: 861px) {
    :not(.site-head) + .page-layout--restaurant { height: calc(1698 * var(--u)); }
    :not(.site-head) + .page-layout--restaurant > * { translate: 0 calc(-125 * var(--u)); }
}
.page-layout--events { height: calc(1022 * var(--u)); }
.page-layout--events .page-copy { left: calc(827 * var(--u)); top: calc(364.5 * var(--u)); }
.intro-stars { left: calc(810.7 * var(--u)); top: calc(636 * var(--u)); width: calc(216.3 * var(--u)) !important; animation: clover 9s ease-in-out infinite; }
.page-layout--events .page-link--1 { left: calc(1056 * var(--u)); top: calc(760.24 * var(--u)); }
.page-layout--events .page-link--3 { display: none; }

/* Content rows: heading in the photo column (x96), content in the copy column (x827)
 * ------------------------------------------------------------------------- */

.page-row { --u: calc(100cqw / 1440); display: grid; grid-template-columns: calc(731 * var(--u)) 1fr; align-items: start; padding: 0 calc(83 * var(--u)) calc(141 * var(--u)) calc(96 * var(--u)); }
.page-row--intro { padding-bottom: calc(56 * var(--u)); }
.page-row-title { margin: 0; font: normal calc(60 * var(--u)) / calc(55 * var(--u)) LuckyNav, Impact, sans-serif; letter-spacing: -.013em; text-transform: uppercase; }
.page-row-content { max-width: calc(560 * var(--u)); font: max(15px, calc(20 * var(--u))) / 1.25 LuckyText, Cousine, monospace; }
.page-row-content > :first-child { margin-top: 0; }
.page-row-content p, .page-row-content ul, .page-row-content ol { margin: 0 0 1em; }
.page-row-content a:not(.page-link) { text-decoration: underline; text-underline-offset: 4px; }
.page-row-buttons { display: flex; flex-wrap: wrap; gap: calc(26 * var(--u)) calc(60 * var(--u)); margin-top: calc(30 * var(--u)); }
.page-row-buttons .page-link, .page-row-content > p > .page-link { font-size: max(22px, calc(34 * var(--u))); }
.plain-list { list-style: none; margin: 0; padding: 0; }
.plain-list li + li { margin-top: .6em; }

/* Tables: Table block and night times (Cousine: the PDF subsets have missing digit glyphs) */
.hours-table { width: 100%; border-collapse: collapse; font: max(14px, calc(17 * var(--u))) / 1.3 Cousine, 'Courier New', monospace; }
.hours-table th, .hours-table td { padding: .6em 1em .6em 0; border-bottom: 1px solid #ff5b0066; text-align: left; font-weight: normal; vertical-align: top; white-space: nowrap; }
.hours-table th:last-child, .hours-table td:last-child { padding-right: 0; }
.hours-table thead th { padding-top: 0; border-bottom: calc(2.5 * var(--u)) solid; text-transform: uppercase; font-size: .8em; letter-spacing: .09em; }
.hours-table tbody th { width: 36%; }

/* Table block: same look as the hours table, but cells can wrap for longer text */
.table-row-body { min-width: 0; }
.data-table th, .data-table td { white-space: normal; }
.data-table--cols-4 tbody th { width: auto; }
.table-footer { margin: 1.2em 0 0; font: max(14px, calc(17 * var(--u))) / 1.3 Cousine, 'Courier New', monospace; }

/* Table block, centred layout (opening hours): centred title over a borderless uppercase table, with
   decorations at the left (bottom) and right. Positions follow the "When we're open" design at 1440px. */
.table-row--centred { position: relative; display: block; padding: calc(44 * var(--u)) calc(96 * var(--u)) calc(141 * var(--u)); text-align: center; }
.table-row--centred .table-row-body { display: flex; flex-direction: column; align-items: center; margin-top: calc(44 * var(--u)); }
.table-row--centred .hours-table { width: auto; font: max(13px, calc(18 * var(--u))) / max(18px, calc(24.4 * var(--u))) LuckyText, Cousine, monospace; letter-spacing: .14em; text-transform: uppercase; }
.table-row--centred .hours-table th, .table-row--centred .hours-table td { padding: 0 calc(40 * var(--u)) 0 0; border: 0; white-space: nowrap; }
.table-row--centred .hours-table th:last-child, .table-row--centred .hours-table td:last-child { padding-right: 0; }
.table-row--centred .hours-table tbody th { width: auto; min-width: calc(183 * var(--u)); }
.table-row--centred .hours-table td:nth-child(2) { min-width: calc(222 * var(--u)); }
.table-row--centred .hours-table thead th { padding-bottom: .5em; border: 0; font-size: .8em; }
.table-row--centred .table-footer { font: max(13px, calc(18 * var(--u))) / max(18px, calc(24.4 * var(--u))) LuckyText, Cousine, monospace; letter-spacing: .14em; text-transform: uppercase; }
.table-decor { position: absolute; height: auto; pointer-events: none; }
.table-decor--left { left: calc(167 * var(--u)); bottom: calc(40 * var(--u)); width: calc(100 * var(--u)) !important; }
.table-decor--right { left: calc(1155 * var(--u)); top: calc(144 * var(--u)); width: calc(220 * var(--u)) !important; }

/* Section Title with a link: small text link right-aligned on the title's row (phones too) */
.page-row--intro-link { display: flex; align-items: baseline; justify-content: space-between; gap: 1em; }
.section-title-link { flex: none; font: max(13px, calc(17 * var(--u))) / 1.3 Cousine, 'Courier New', monospace; text-transform: uppercase; letter-spacing: .09em; text-decoration: underline; text-underline-offset: 4px; }
.section-title-link:hover { color: var(--cream); }

/* Divider and Spacer blocks */
.divider { --u: calc(100cqw / 1440); display: block; height: 2px; margin: 50px calc(83 * var(--u)) 50px calc(96 * var(--u)); border: 0; background: var(--orange); }
.spacer { height: 100px; }

/* Form block: title + text in the photo column, Gravity Form in the copy column.
   Gravity Forms (Orbital theme) is recoloured through its CSS variables; !important is needed
   because it also writes per-form variables under an ID selector. */
.form-row-intro { display: grid; gap: calc(30 * var(--u)); align-content: start; padding-right: calc(80 * var(--u)); }
.form-row-intro .page-row-content { max-width: none; }
.form-row-form { min-width: 0; }
.form-row .gform_wrapper { max-width: 700px; } /* forms never wider than 700px, in either layout */
.form-row-note { margin: 0; padding: 1.5em; border: 1px dashed #ff5b0099; font: 14px/1.4 Cousine, 'Courier New', monospace; }
.form-row .gform-theme--framework {
    --gf-font-family-base: Cousine, 'Courier New', monospace !important;
    --gf-color-primary: var(--orange) !important;
    --gf-color-primary-contrast: var(--wine) !important;
    --gf-color-primary-darker: var(--cream) !important;
    --gf-ctrl-bg-color: transparent !important;
    --gf-ctrl-color: var(--cream) !important;
    --gf-ctrl-border-color: #ff5b0099 !important;
    --gf-ctrl-label-color-primary: var(--orange) !important;
    --gf-ctrl-label-color-secondary: var(--orange) !important;
    --gf-ctrl-desc-color: #ff5b00cc !important;
    --gf-ctrl-placeholder-color: #f2ebd880 !important;
    --gf-ctrl-radius: 0 !important;
    --gf-ctrl-btn-radius: 0 !important;
    /* Validation: Gravity Forms' dark red is unreadable on wine, so errors use cream. */
    --gf-color-danger: var(--cream) !important;
    --gf-color-danger-rgb: 242, 235, 216 !important;
    --gf-color-danger-contrast: var(--wine) !important;
    --gf-color-danger-contrast-rgb: 79, 0, 0 !important;
    /* Focus ring: white, not Gravity Forms' blue. Other primary tints (checkbox/radio ticks) in orange. */
    --gf-ctrl-outline-color-focus: rgba(255, 255, 255, .85) !important;
    --gf-color-primary-rgb: 255, 91, 0 !important;
    --gf-color-primary-lighter: var(--orange) !important;
    --gf-color-in-ctrl-primary: var(--orange) !important;
    --gf-color-in-ctrl-primary-rgb: 255, 91, 0 !important;
    --gf-color-in-ctrl-primary-contrast: var(--wine) !important;
    --gf-color-in-ctrl-primary-darker: var(--cream) !important;
    --gf-color-in-ctrl-primary-lighter: var(--orange) !important;
}
.form-row .gform-theme--framework .gfield_label,
.form-row .gform-theme--framework .gform-field-label { text-transform: uppercase; letter-spacing: .06em; }
.form-row .gform-theme--framework select option { color: #1e1e1e; }
.form-row .gform-theme--framework .gform_button,
.form-row .gform-theme--framework input[type="submit"] { font-family: LuckyNav, Impact, sans-serif !important; font-size: 30px !important; text-transform: uppercase !important; letter-spacing: -.01em !important; }
/* Controls in every Form block, at a fixed size (from the sign-up mock-up): single-line fields 50px tall,
   buttons 41px tall with 30px lettering. */
.form-row .gform-theme--framework input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
.form-row .gform-theme--framework select { height: 50px !important; min-height: 0 !important; padding-block: 0 !important; font-size: 17px !important; line-height: 1.2 !important; }
.form-row .gform-theme--framework .gform_button,
.form-row .gform-theme--framework input[type="submit"] { height: 41px !important; min-height: 0 !important; padding: 0 1em !important; line-height: 1 !important; }
.form-row .gform-theme--framework .gform-footer, .form-row .gform-theme--framework .gform_footer { margin-top: 25px !important; padding-top: 0 !important; }
/* LuckyNav (from the design PDF) only has capitals, so the button must stay uppercase; Gravity Forms resets text-transform. */
.form-row .gform-theme--framework .gfield_required { color: var(--orange); }

/* Form block, centred layout (newsletter sign-up): centred title over a 750px form with black fields,
   orange borders and a rounded button, plus decorations. Positions follow the design at 1440px. */
.form-row--centred { position: relative; display: block; padding: 0 calc(96 * var(--u)) calc(141 * var(--u)); text-align: center; }
.form-row--centred .form-row-intro { justify-items: center; padding-right: 0; }
.form-row--centred .form-row-intro .page-row-content { max-width: calc(750 * var(--u)); }
.form-row--centred .form-row-form { width: calc(750 * var(--u)); max-width: min(100%, 700px); margin: calc(82 * var(--u)) auto 0; text-align: left; }
.form-row--centred .gform-theme--framework {
    --gf-font-family-base: LuckyText, Cousine, monospace !important;
    --gf-ctrl-bg-color: #000 !important;
    --gf-ctrl-border-color: var(--orange) !important;
    --gf-ctrl-radius: 10px !important;
    --gf-ctrl-btn-radius: 16px !important;
}
/* Labels large and widely spaced; the required note small. Sizes and gaps from the sign-up mock-up. */
.form-row--centred .gform-theme--framework .gfield_label,
.form-row--centred .gform-theme--framework .gform-field-label { margin-bottom: 19px !important; font-family: LuckyText, Cousine, monospace !important; font-size: 25px !important; line-height: 1 !important; letter-spacing: .14em !important; text-transform: uppercase; }
.form-row--centred .gform-theme--framework .gfield_label .gfield_required { font-size: .5em; vertical-align: .1em; margin-inline-start: .3em !important; }
.form-row--centred .gform-theme--framework .gform_required_legend { margin-bottom: 33px !important; font-family: LuckyText, Cousine, monospace !important; font-size: 12px !important; letter-spacing: .22em !important; text-transform: uppercase; }
.form-row--centred .gform-theme--framework .gform_required_legend .gfield_required { color: var(--cream); font-size: 1.4em; letter-spacing: 0; }
.form-row--centred .gform-theme--framework input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not([type="radio"]),
.form-row--centred .gform-theme--framework textarea,
.form-row--centred .gform-theme--framework select { border-width: 2px !important; border-radius: 8px !important; background-color: #000 !important; }
.form-row--centred .gform-theme--framework .gform_button,
.form-row--centred .gform-theme--framework input[type="submit"] { border-radius: 10px !important; }
.form-decor { position: absolute; height: auto; pointer-events: none; }
.form-decor--left { left: calc(167 * var(--u)); bottom: calc(40 * var(--u)); width: calc(100 * var(--u)) !important; }
.form-decor--right { left: calc(1233 * var(--u)); top: calc(155 * var(--u)); width: calc(100 * var(--u)) !important; }


/* What's On Stack: nights in one centred 535px column (photo, title, when, blurb) with lucky charms
   in the margins on desktop. Sizes follow the mock-up on the 1440 design grid. */
.nights-stack { --u: calc(100cqw / 1440); position: relative; padding: calc(40 * var(--u)) 0 calc(141 * var(--u)); }
.stack-night { position: relative; width: calc(535 * var(--u)); margin: 0 auto; }
.stack-night + .stack-night { margin-top: calc(80 * var(--u)); }
.stack-night-photo { display: block; overflow: hidden; border: calc(8 * var(--u)) solid var(--orange); border-radius: 40px; }
.stack-night-photo.stack-night-photo--plain { border: 0; border-radius: 0; }
.stack-night-photo img { display: block; width: 100%; height: auto; max-height: calc(535 * var(--u)); object-fit: cover; } /* portrait photos crop to square around their focal point */
.stack-night-title { margin: calc(35 * var(--u)) 0 0; font: normal calc(66 * var(--u)) / .95 LuckyNav, Impact, sans-serif; letter-spacing: -.013em; text-transform: uppercase; }
.stack-night-title a:hover { color: var(--cream); text-decoration: none; }
.stack-night-when { display: flex; flex-wrap: wrap; gap: 0 2.2em; margin: calc(34 * var(--u)) 0 0; font: max(13px, calc(19 * var(--u))) / 1.4 LuckyText, Cousine, monospace; letter-spacing: .1em; text-transform: uppercase; }
.stack-night-blurb { margin: calc(27 * var(--u)) 0 0; font: max(13px, calc(19 * var(--u))) / calc(27 * var(--u)) LuckyText, Cousine, monospace; letter-spacing: .06em; }
.stack-decor { position: absolute; pointer-events: none; }
.stack-decor img { display: block; width: 100%; height: auto; }
.stack-decor--left { right: calc(100% + 187 * var(--u)); }
.stack-decor--right { left: calc(100% + 170 * var(--u)); }
.stack-decor--wishbone { width: calc(83 * var(--u)); }
.stack-decor--horseshoe { width: calc(95 * var(--u)); }
.stack-decor--ladybug { width: calc(113 * var(--u)); }
.stack-decor--dice { width: calc(128 * var(--u)); }
.stack-decor--clover { width: calc(90 * var(--u)); }
.stack-decor--stars { width: calc(190 * var(--u)); }
.stack-decor--lucky-cat { width: calc(95 * var(--u)); }
.stack-decor--8-ball { width: calc(90 * var(--u)); }
.stack-sticker { position: absolute; left: calc(100% + 232 * var(--u)); top: 73%; width: calc(101 * var(--u)); padding: 0; border: 0; background: none; transition: transform .25s; }
.stack-sticker img { display: block; width: 100%; height: auto; }
.stack-sticker:hover { transform: rotate(-6deg) scale(1.06); }

/* What's On list and night pages
 * ------------------------------------------------------------------------- */

.nights, .event-hero, .event-nav { --u: calc(100cqw / 1440); }
.nights { list-style: none; margin: 0; padding: 0 calc(83 * var(--u)) calc(141 * var(--u)) calc(96 * var(--u)); }
.night { display: grid; grid-template-columns: calc(731 * var(--u)) 1fr; align-items: start; padding: calc(40 * var(--u)) 0; border-top: calc(2.5 * var(--u)) solid; color: inherit; }
.nights li:last-child .night { border-bottom: calc(2.5 * var(--u)) solid; }
a.night:hover { text-decoration: none; }
.night-day { font: normal calc(60 * var(--u)) / calc(55 * var(--u)) LuckyNav, Impact, sans-serif; letter-spacing: -.013em; text-transform: uppercase; }
.night-body { display: grid; gap: calc(14 * var(--u)); }
.night-title { font: max(16px, calc(26 * var(--u))) / 1.1 LuckyText, Cousine, monospace; text-transform: uppercase; letter-spacing: .02em; }
.night-blurb { font: max(14px, calc(20 * var(--u))) / 1.2 LuckyText, Cousine, monospace; }
.night-hours { font: max(13px, calc(17 * var(--u))) / 1.3 Cousine, monospace; }
.night-more { justify-self: start; margin-top: calc(6 * var(--u)); border-bottom: calc(2.5 * var(--u)) solid; font: normal calc(34 * var(--u)) / 1 LuckyNav, Impact, sans-serif; text-transform: uppercase; }
.night:hover .night-day, .night:hover .night-more, .night:focus-visible .night-day { color: var(--cream); }

.event-hero { display: grid; grid-template-columns: calc(731 * var(--u)) 1fr; align-items: start; padding: calc(80 * var(--u)) calc(83 * var(--u)) calc(100 * var(--u)) calc(96 * var(--u)); }
.event-photo { width: calc(528 * var(--u)); aspect-ratio: 528 / 651; border: calc(10 * var(--u)) solid var(--orange); border-radius: 40px; overflow: hidden; }
.event-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.event-info { display: grid; gap: calc(26 * var(--u)); justify-items: start; }
.event-info > * { margin: 0; }
.event-when { font: normal calc(34 * var(--u)) / 1 LuckyNav, Impact, sans-serif; text-transform: uppercase; }
.event-title { font: normal max(24px, calc(44 * var(--u))) / 1.05 LuckyText, Cousine, monospace; text-transform: uppercase; letter-spacing: .01em; }
.event-blurb { max-width: calc(500 * var(--u)); font: max(15px, calc(20 * var(--u))) / 1.25 LuckyText, Cousine, monospace; }
.event-times { max-width: calc(500 * var(--u)); }
.event-rsvp { margin-top: calc(10 * var(--u)); }
.event-icon { width: calc(110 * var(--u)); height: auto; justify-self: end; animation: clover 9s ease-in-out infinite; }
.event-nav { padding: 0 calc(83 * var(--u)) calc(141 * var(--u)) calc(96 * var(--u)); }
.event-nav .page-link { font-size: calc(34 * var(--u)); }

/* Footer
 * ------------------------------------------------------------------------- */

.footer-main { background: var(--orange); color: var(--wine); display: grid; grid-template-columns: 1fr 1fr 1fr; padding: 2.8vw 8% 2.7vw; min-height: 14.5vw; font-family: LuckyFooter, monospace; font-size: clamp(16px, 1.25vw, 23px); line-height: 1.15; letter-spacing: .09em; text-transform: uppercase; }
.footer-nav { justify-self: center; display: flex; flex-direction: column; align-items: start; gap: .65em; }
.footer-main button { border: 0; background: none; padding: 0; text-transform: uppercase; letter-spacing: inherit; text-align: left; }
.footer-brand { justify-self: center; align-self: center; width: 7.5vw; }
.footer-brand img { width: 100%; height: auto; display: block; }
address { font-style: normal; justify-self: end; display: flex; flex-direction: column; align-items: start; overflow-wrap: anywhere; }
.social { display: flex; flex-direction: column; gap: .65em; margin-top: 1.1em; }
.mobile-social { display: none; }
.footer-bottom { background: #000; color: #fff; display: flex; align-items: center; justify-content: space-between; padding: 15px 8%; font: 12px Arial, sans-serif; text-transform: uppercase; }
.footer-bottom img { width: 185px; height: auto; }

/* Dialogs: enquiry and full-screen menu
 * ------------------------------------------------------------------------- */

dialog { color: var(--orange); background: var(--wine); border: 0; }
dialog::backdrop { background: #150000a6; backdrop-filter: blur(5px); }
.close { position: absolute; right: 30px; top: 20px; border: 0; background: none; font: 50px Arial; line-height: 1; }
.enquiry { padding: 65px 45px 45px; width: min(90%, 560px); border: 2px solid var(--orange); }
.enquiry h2 { font-size: 36px; text-transform: uppercase; margin: 0 0 24px; }
.enquiry p { font-size: 20px; }
.enquiry > a { display: block; margin-top: 18px; font-size: 22px; text-decoration: underline; }
/* The typewriter subset has no 0, 4, 6 or + glyphs, so phone numbers use Cousine. */
.enquiry a[href^="tel:"] { font-family: Cousine, 'Courier New', monospace; }

/* Full-screen menu (desktop PDF page 2): 60px type on 80px rows at 1440px; hovered row becomes a wine band. */
.navigation { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; background: var(--orange); color: var(--wine); overflow: auto; }
.navigation::backdrop { background: var(--orange); backdrop-filter: none; }
.navigation nav { min-height: 100%; display: flex; flex-direction: column; justify-content: center; font-size: clamp(40px, 4.1667vw, 80px); padding: .5em 0 .65em; }
.navigation nav a, .navigation nav button { display: block; width: 100%; height: 1.3333em; padding: 0; border: 0; border-radius: 0; background: none; color: var(--wine); font: 1em / 1.3333 LuckyNav, Impact, 'Arial Narrow', sans-serif; letter-spacing: -.013em; text-transform: uppercase; text-align: center; text-decoration: none; }
.navigation nav a:hover, .navigation nav button:hover, .navigation nav a:focus-visible, .navigation nav button:focus-visible { background: var(--wine); color: var(--orange); box-shadow: 0 .022em 0 var(--wine); text-decoration: none; outline: none; }
.navigation nav:focus { outline: none; }
.navigation .close { z-index: 1; color: var(--wine); padding: 0 10px; transition: transform .2s; }
.navigation .close:hover { transform: rotate(90deg); }
.navigation .close:focus-visible { outline-color: var(--wine); outline-offset: 2px; }

/* Food and drinks menus (desktop PDF p4, p5): 672px sheets 85px from the top over a 50% black scrim
 * ------------------------------------------------------------------------- */

.sheet-dialog { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 85px 16px; background: transparent; overflow-y: auto; overscroll-behavior: contain; }
.sheet-dialog::backdrop { background: #00000080; backdrop-filter: none; }
.sheet-dialog--food { --sheet: #ff5c00; --bar: #bc4400; } /* colours from the food menu PDF */
.sheet-dialog--food .sheet { color: #000; }
.sheet-dialog--drinks { --sheet: #fff; --bar: #bcbdc0; } /* colours from the drinks menu PDF */
.sheet-dialog--drinks .sheet { color: #231f20; }
.sheet-dialog--late { --sheet: #fff; --bar: #bcbdc0; } /* colours from the late night menu PDF */
.sheet-dialog--late .sheet { color: #231f20; }
.sheet { position: relative; width: 672px; max-width: 100%; margin: 0 auto; border-radius: 30px; background: var(--sheet); color: #231f20; text-transform: uppercase; }
.sheet + .sheet { margin-top: 18px; }
.sheet:focus { outline: none; }
.sheet h2, .sheet h3 { margin: 0; font-weight: normal; }
.sheet-bar { background: var(--bar); }
.sheet-close { right: 20px; top: 17px; width: 23px; height: 23px; border-radius: 50%; background: #000; color: var(--sheet); font: 0/0 a; transition: transform .2s; }
.sheet-close:hover { transform: rotate(90deg); }
.sheet-close::before, .sheet-close::after { content: ''; position: absolute; left: 5px; top: 10.5px; width: 13px; height: 2px; background: currentColor; transform: rotate(45deg); }
.sheet-close::after { transform: rotate(-45deg); }
.sheet-close:focus-visible { outline-color: #000; outline-offset: 3px; }
.sheet-pdf { position: absolute; left: 55px; top: 27px; display: flex; flex-wrap: wrap; gap: 8px; }
.sheet.sheet:has(> .sheet-pdf) { padding-top: 72px; } /* room for the PDF buttons, which sit 10px lower than the close button */
.sheet-pdf-link { display: inline-flex; align-items: center; gap: 7px; height: 23px; padding: 0 11px 0 9px; border: 1.5px solid #000; border-radius: 12px; background: #000; color: var(--sheet); font: 13px / 1 LuckyMenu, 'Courier New', monospace; letter-spacing: .04em; text-decoration: none; transition: transform .2s; }
.sheet-pdf-link--view { background: transparent; color: #000; }
.sheet-pdf-link svg { width: 10px; height: 11px; flex: none; }
.sheet-pdf-link--view svg { width: 13px; height: 9px; }
.sheet-pdf-link:hover { text-decoration: none; transform: translateY(1px); }
.sheet-pdf-link--download:hover { color: var(--sheet); }
.sheet-pdf-link--view:hover { color: #000; }
.sheet-pdf-link:focus-visible { outline: 2px solid #000; outline-offset: 3px; }
.sheet-runout { height: 0; }

/* Food sheet */
.sheet--food { padding: 62px 54px 90px 55px; font: 17.1px / 17px LuckyMenu, 'Courier New', monospace; letter-spacing: -.02em; }
.sheet--food .sheet-bar { display: flex; justify-content: space-between; width: 260px; height: 28px; padding: 0 4px; font: 18.6px / 26px LuckyMenu, 'Courier New', monospace; }
.food-list { list-style: none; margin: 20px 0 0; padding: 0; }
.food-list li + li { margin-top: 11px; } /* 14px gap minus the 3px of extra line height, so only wrapped lines open up */
.food-section + .food-section { margin-top: 47px; }
.food-section--banquet + .food-section { margin-top: 55px; }
.food-list sup { font-size: 10px; line-height: 0; vertical-align: 6px; }
.pill { display: inline-block; min-width: 16px; height: 11px; margin-left: 14px; padding: 0 3px; border: .75px solid; border-radius: 3px; font: normal 6.5px / 9.5px Arial, sans-serif; text-align: center; vertical-align: 2.5px; }
.pill + .pill { margin-left: 5px; }
.sheet-bar-subtitle { margin: 0 auto 0 2.2em; font-size: 10.5px; letter-spacing: .04em; }
.food-detail { display: block; margin-top: 3px; font-size: .68em; line-height: 1.2; }
.food-footnote { margin: 22px 0 0; font-size: .68em; line-height: 1.2; }
.food-section--boxed { margin: 0 -10px; padding: 9px 9px 14px; border: 1.5px dotted; }
.food-section + .food-section--boxed, .food-section--boxed + .food-section { margin-top: 55px; }
.food-footer { margin: 70px 0 0; font-size: 10.5px; line-height: 15px; letter-spacing: .03em; text-align: center; }
.food-list--priced li { display: flex; align-items: baseline; }
.food-list--priced li > :first-child { flex: 0 1 auto; }
.leader { flex: 1 1 1em; min-width: 1em; overflow: hidden; white-space: nowrap; margin: 0 .45em; }
.leader::before { content: '........................................................................................................................................................'; }

/* Drinks: cover and price list sheets (sizes are the drinks PDF's x1.6).
   Cousine only covers the few glyphs the typewriter font lacks (· • °). */
.sheet--cover, .sheet--prices { padding: 62px 64px 70px; font: 16px / 18px LuckyText, Cousine, 'Courier New', monospace; letter-spacing: .01em; }
.sheet--cover .sheet-bar, .sheet--prices .sheet-bar { width: max-content; min-width: 272px; max-width: 100%; min-height: 23px; padding: 0 6px; font: 19.2px / 24px LuckyText, Cousine, 'Courier New', monospace; letter-spacing: .03em; }
.sheet--cover { display: flex; flex-direction: column; align-items: center; min-height: 952px; text-align: center; }
.sheet--cover .sheet-bar { text-align: center; }
.cover-text { margin: 36px 0 0; line-height: 29px; }
.cover-footer { margin-top: auto; padding-top: 60px; }
.cover-footer p { margin: 0; line-height: 29px; }
.cover-footer .cover-note { margin-top: 40px; font-size: 12.8px; }
.sheet-dialog--drinks .sheet-pdf { left: 64px; }
.price-group + .price-group { margin-top: 56px; }
.price-table { width: 100%; margin-top: 32px; border-collapse: collapse; table-layout: fixed; border-bottom: 1px solid; }
.price-table td { padding: 11px 10px 10px 0; border-top: 1px solid; vertical-align: top; overflow-wrap: anywhere; }
.price-table td:last-child { padding-right: 0; }
.price-table td.c-origin { padding-top: 12px; font-size: 12.8px; line-height: 16px; }
.price-table .c-vintage { width: 54px; }
.price-table--described .c-name { width: 150px; }
.price-table .c-abv { width: 94px; }
.price-table .c-origin { width: 160px; }
.price-table .c-glass { width: 52px; }
.price-table .c-price { width: 44px; }

/* List (cocktails) and wine sheets */
.sheet--list, .sheet--wine { min-height: 950px; font: 11.2px / 14.4px Cousine, 'Courier New', monospace; }
.sheet--list .sheet-bar, .sheet--wine .sheet-bar { height: 23px; padding: 0 4px; font: 16px / 25px Cousine, 'Courier New', monospace; }
.sheet--list { padding: 43px 44px 40px; }
.sheet--list .sheet-bar { width: 268px; }
.sheet--wine { padding: 44px 45px 40px 90px; }
.sheet--wine .sheet-bar { width: 269px; }
.cocktail-list { width: 536px; max-width: 100%; margin: 43px 0 0; }
.cocktail-list > div { display: grid; grid-template-columns: 136px 386px 1fr; padding: 1.8px 0 14.05px; border-top: 1px solid #231f20; }
.cocktail-list dt, .cocktail-list dd { margin: 0; }
.wine-group h3 { margin-top: 58.8px; font-size: inherit; }
.wine-group + .wine-group h3 { margin-top: 71.3px; }
.wine-group:last-child h3 { margin-top: 84px; }
.wine-list { width: 536.5px; max-width: 100%; margin-top: 13.3px; border-collapse: collapse; }
.wine-list td { padding: 2.3px 0 13.3px; border-top: 1px solid #231f20; vertical-align: top; }
.wine-list td:nth-child(1) { width: 64px; }
.wine-list td:nth-child(3) { width: 55px; }
.wine-list td:nth-child(4) { width: 26.5px; }

/* Wide screens
 * ------------------------------------------------------------------------- */

@media (min-width: 1800px) {
    .about { gap: 12vw; }
    .about-copy { max-width: 680px; }
}

/* Tablet and below: inner pages switch to the 585pt mobile artboard
 * ------------------------------------------------------------------------- */

@media (max-width: 860px) {
    .site-head { --u: calc(min(100cqw, 585px) / 585); width: calc(585 * var(--u)); left: 50%; transform: translateX(-50%); height: calc(135 * var(--u)); }
    .page-wordmark { left: calc(39 * var(--u)); top: calc(49 * var(--u)); width: calc(357 * var(--u)); }
    .site-head .menu-toggle { left: calc(483 * var(--u)); top: calc(30 * var(--u)); width: calc(73 * var(--u)); }
    .site-head + *:not(.page-layout) { margin-top: calc(135 * min(100cqw, 585px) / 585); }

    /* Phones: the collage stacks in a one-column grid instead of fixed positions, so longer
       copy, titles or button labels push everything below down rather than overlapping it.
       x positions and the gaps between rows follow the 585px mobile design. */
    .page-layout { --u: calc(min(100cqw, 585px) / 585); width: calc(585 * var(--u)); height: auto; margin: 0 auto; display: grid; grid-template-columns: 100%; align-items: start; justify-items: start; padding: calc(211 * var(--u)) 0 calc(75 * var(--u)); }
    .page-layout.page-layout > * { position: relative; left: auto; top: auto; grid-column: 1; }
    .page-title { grid-row: 1; margin-left: calc(35 * var(--u)) !important; width: calc(500 * var(--u)); font-size: calc(55.8 * var(--u)); line-height: calc(51 * var(--u)); }
    .page-copy { grid-row: 2; margin: calc(58 * var(--u)) 0 0 calc(42 * var(--u)) !important; width: calc(480 * var(--u)); font-size: calc(25 * var(--u)); line-height: calc(25 * var(--u)); }
    .page-copy-more { display: none; }
    .intro-sticker { grid-row: 3; margin: calc(40 * var(--u)) 0 0 calc(408 * var(--u)) !important; width: calc(83 * var(--u)); }
    .intro-ladybug { grid-row: 3; margin: calc(85 * var(--u)) 0 0 calc(58 * var(--u)) !important; width: calc(111 * var(--u)) !important; }
    .page-photo--a { grid-row: 4; margin: calc(33 * var(--u)) 0 0 calc(40 * var(--u)) !important; width: calc(505 * var(--u)); height: calc(622 * var(--u)); }
    .page-layout .page-link--1 { grid-row: 5; margin: calc(71 * var(--u)) 0 0 calc(115 * var(--u)); }
    .page-layout .page-link--2 { grid-row: 6; margin: calc(56 * var(--u)) 0 0 calc(286 * var(--u)); }
    .page-layout .page-link--3 { grid-row: 7; margin: calc(56 * var(--u)) 0 0 calc(200 * var(--u)); }
    .intro-outline { grid-row: 8; margin: calc(21 * var(--u)) 0 0 calc(53 * var(--u)) !important; width: calc(310 * var(--u)) !important; }
    .intro-wishbone { grid-row: 8; margin: calc(100 * var(--u)) 0 0 calc(435 * var(--u)) !important; width: calc(83 * var(--u)) !important; }
    .page-photo--b { grid-row: 9; margin: calc(79 * var(--u)) 0 0 calc(40 * var(--u)) !important; width: calc(505 * var(--u)); height: calc(598 * var(--u)); }

    /* Events: title, copy, button, photo, stars. */
    .page-layout--events { padding-bottom: calc(32 * var(--u)); }
    .page-layout--events .page-title { font-size: calc(55 * var(--u)); }
    .page-layout--events .page-copy { margin-top: calc(52 * var(--u)) !important; }
    .page-layout--events .page-link--1 { grid-row: 3; margin: calc(40 * var(--u)) 0 0 calc(239 * var(--u)); }
    .page-layout--events .page-link--2 { grid-row: 4; margin: calc(24 * var(--u)) 0 0 calc(239 * var(--u)); }
    .page-layout--events .page-photo--a { grid-row: 5; margin-top: calc(49 * var(--u)) !important; }
    .intro-stars { grid-row: 6; margin: calc(24 * var(--u)) 0 0 calc(302 * var(--u)) !important; width: calc(210 * var(--u)) !important; }

    .page-row { --u: calc(min(100cqw, 585px) / 585); width: calc(585 * var(--u)); margin-left: auto; margin-right: auto; grid-template-columns: 1fr; gap: calc(34 * var(--u)); padding: 0 calc(40 * var(--u)) calc(110 * var(--u)); }
    .page-row--intro { padding-bottom: calc(56 * var(--u)); }
    .page-row-title { font-size: calc(55.8 * var(--u)); line-height: calc(51 * var(--u)); }
    .page-row-spacer { display: none; }
    .page-row-content { max-width: none; font-size: max(15px, calc(25 * var(--u))); }
    .hours-table { font-size: max(13px, calc(21 * var(--u))); }
    .hours-table tbody th { width: auto; }
    .hours-table thead th { border-bottom-width: calc(3 * var(--u)); }
    .table-footer { font-size: max(13px, calc(21 * var(--u))); }
    .table-row--centred { padding: calc(10 * var(--u)) calc(20 * var(--u)) calc(240 * var(--u)); } /* room for the decorations under the table */
    .table-row--centred .table-row-body { margin-top: calc(34 * var(--u)); }
    .table-row--centred .hours-table, .table-row--centred .table-footer { font-size: max(12px, calc(22 * var(--u))); }
    .table-row--centred .hours-table th, .table-row--centred .hours-table td { padding-right: calc(28 * var(--u)); }
    .table-row--centred .hours-table, .table-row--centred .table-footer { letter-spacing: .06em; line-height: 1.5; }
    .table-row--centred .hours-table tbody th, .table-row--centred .hours-table td:nth-child(2) { min-width: 0; }
    .table-decor--left { left: calc(40 * var(--u)); bottom: calc(30 * var(--u)); width: calc(100 * var(--u)) !important; }
    .table-decor--right { left: auto; right: calc(40 * var(--u)); top: auto; bottom: calc(50 * var(--u)); width: calc(190 * var(--u)) !important; }
    .form-row-intro { padding-right: 0; }
    .nights-stack { --u: calc(min(100cqw, 585px) / 585); width: calc(585 * var(--u)); margin: 0 auto; padding: calc(20 * var(--u)) calc(40 * var(--u)) calc(110 * var(--u)); }
    .stack-night { width: 100%; }
    .stack-night + .stack-night { margin-top: calc(90 * var(--u)); }
    .stack-night-title { font-size: calc(55.8 * var(--u)); margin-top: calc(30 * var(--u)); }
    .stack-night-when, .stack-night-blurb { font-size: max(13px, calc(22 * var(--u))); }
    .stack-night-blurb { line-height: 1.45; }
    .stack-decor, .stack-sticker { display: none; }
    .stack-night-photo img { max-height: none; aspect-ratio: 1; }
    .form-row--centred { padding: 0 calc(20 * var(--u)) calc(190 * var(--u)); } /* room for the decorations under the form */
    .form-row--centred .form-row-form { width: 100%; margin-top: calc(50 * var(--u)); }
    .form-decor--left { left: calc(40 * var(--u)); bottom: calc(30 * var(--u)); }
    .form-decor--right { left: auto; right: calc(40 * var(--u)); top: auto; bottom: calc(40 * var(--u)); width: calc(90 * var(--u)) !important; }
    .divider { --u: calc(min(100cqw, 585px) / 585); width: calc(505 * var(--u)); margin: 50px auto; }

    .nights, .event-hero, .event-nav { --u: calc(min(100cqw, 585px) / 585); width: calc(585 * var(--u)); margin-left: auto; margin-right: auto; }
    .nights { padding: 0 calc(40 * var(--u)) calc(110 * var(--u)); }
    .night { grid-template-columns: 1fr; gap: calc(22 * var(--u)); padding: calc(34 * var(--u)) 0; }
    .night-day { font-size: calc(55.8 * var(--u)); line-height: calc(51 * var(--u)); }
    .night-more { font-size: calc(40 * var(--u)); }
    .event-hero { grid-template-columns: 1fr; gap: calc(44 * var(--u)); padding: calc(40 * var(--u)) calc(40 * var(--u)) calc(70 * var(--u)); }
    .event-photo { width: 100%; }
    .event-when { font-size: calc(40 * var(--u)); }
    .event-blurb, .event-times { max-width: none; }
    .event-icon { width: calc(120 * var(--u)); }
    .event-nav { padding: 0 calc(40 * var(--u)) calc(110 * var(--u)); }
    .event-nav .page-link { font-size: calc(44 * var(--u)); }
}

@media (max-width: 720px) {
    .sheet-dialog { padding: 60px 10px; }
    .sheet-runout { height: 100vh; }
    .sheet { border-radius: 22px; }
    .sheet-pdf { left: 18px; }
    .sheet.sheet:has(> .sheet-pdf) { padding-top: 66px; }
    .sheet--food { padding: 56px 18px 44px; font-size: 14px; line-height: 16px; }
    .food-list li + li { margin-top: 12px; }
    .pill { margin-left: 6px; }
    .food-section--boxed { margin: 0 -8px; padding: 8px 7px 12px; }
    .food-footer { margin-top: 44px; font-size: 9px; line-height: 13px; }
    .sheet--cover, .sheet--prices { padding: 56px 18px 40px; font-size: 13px; line-height: 15px; }
    .sheet--cover .sheet-bar, .sheet--prices .sheet-bar { min-width: 230px; font-size: 16px; }
    .sheet--cover { min-height: 560px; }
    .cover-text, .cover-footer p { line-height: 22px; }
    .sheet-dialog--drinks .sheet-pdf { left: 18px; }
    .price-group + .price-group { margin-top: 40px; }
    .price-table { margin-top: 20px; }
    .price-table td { padding: 8px 6px 7px 0; }
    .price-table td.c-origin { padding-top: 9px; font-size: 10px; line-height: 13px; }
    .price-table .c-vintage { width: 44px; }
    .price-table--described .c-name { width: 34%; }
    .price-table .c-abv { width: 44px; }
    .price-table .c-origin { width: 27%; }
    .price-table .c-glass, .price-table .c-price { width: 38px; }
    .sheet--list, .sheet--wine { min-height: 0; padding: 50px 18px 36px; font-size: 10px; line-height: 13px; }
    .cocktail-list > div { grid-template-columns: 30% 1fr 2.2em; column-gap: 8px; }
    .cocktail-list dd br { display: none; }
    .cocktail-list .price { text-align: right; }
    .wine-list td:nth-child(1) { width: 3.6em; }
    .wine-list td:nth-child(3) { width: 3.4em; }
    .wine-list td:nth-child(4) { width: 2.6em; text-align: right; }
}

/* Phones
 * ------------------------------------------------------------------------- */

@media (max-width: 640px) {
    .hero { height: 145vw; min-height: 540px; max-height: none; }
    .hero picture { width: 29%; height: 65%; display: flex; align-items: center; }
    .wordmark { width: 100%; height: auto; max-height: 100%; object-fit: contain; }
    .menu-toggle { width: 13%; min-width: 52px; right: 5.5%; top: 5.5%; }
    .booking-sticker { left: 7.5%; bottom: 4%; width: 15%; min-width: 0; }
    .motion-toggle { right: 14px; bottom: 14px; width: 28px; height: 28px; }

    .marquee { height: 10vw; min-height: 42px; }
    .marquee-group { gap: 13vw; padding-right: 13vw; }
    .marquee span { font-size: clamp(23px, 5.2vw, 34px); }

    .about { display: flex; flex-direction: column; gap: 0; min-height: 0; padding: 11.5vw 7% 11.5vw; }
    .about-copy { font-size: clamp(18px, 3.75vw, 24px); line-height: 1.14; padding: 0 .7vw; letter-spacing: .035em; }
    .about-icon { position: relative; left: auto; top: auto; align-self: flex-end; width: 15%; margin: -.5vw 3% 5vw; }
    .about-photo { width: 100%; border: 0; border-radius: 40px; }
    .about-photo-wrap--framed .about-photo { border: max(3px, 1.5vw) solid var(--orange); }

    .footer-main { position: relative; grid-template-columns: 1fr 1fr; padding: 7vw 12% 8vw; gap: 9vw 8vw; font-size: clamp(16px, 3.5vw, 22px); line-height: 1.2; }
    .footer-brand { grid-column: 1; grid-row: 1; width: 24vw; justify-self: start; align-self: start; margin-top: 3vw; }
    .footer-nav { grid-column: 2; grid-row: 1; justify-self: start; gap: .65em; padding-bottom: 0; }
    .footer-main address { grid-column: 1 / -1; justify-self: center; align-items: center; text-align: center; }
    .footer-main address .social { display: none; }
    .mobile-social { display: flex; flex-direction: column; gap: .65em; }
    .footer-bottom { flex-direction: column; gap: 25px; padding: 26px 10% 22px; font-size: 14px; }
    .footer-bottom img { width: 235px; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* Full-screen menu: Normal TM's capitals rise above its stated ascent, so text sat high in the hover bar.
   0.2em of top padding with 0.2em less line height moves it down 0.1em; the bar stays 1.3333em tall. */
.navigation nav a, .navigation nav button { padding-top: .2em; line-height: 1.1333; }

/* Two photos: with the title at the shared heading size, the text sits 70 units higher (half the gap). */
@media (min-width: 861px) {
    .page-layout--restaurant .page-copy { top: calc(383.5 * var(--u)); }
}

/* One size for LuckyNav everywhere: the homepage Page Intro links' size (49.9 on the 1440 design grid,
   49.9 on the 585 grid on phones). Titles, buttons, links, night days and the full-screen menu all use it. */
.page-title, .page-layout--events .page-title, .page-link, .page-row-title,
.page-row-buttons .page-link, .page-row-content > p > .page-link, .about-copy .about-cta,
.stack-night-title, .night-day, .night-more, .event-when, .event-nav .page-link,
.navigation nav { font-size: calc(49.9 * 100cqw / 1440); }
.form-row .gform-theme--framework .gform_button,
.form-row .gform-theme--framework input[type="submit"] { height: auto !important; padding: .27em .55em 0 !important; font-size: calc(24.95 * 100cqw / 1440) !important; } /* half the heading size; Normal TM's caps sit high, so more top padding centres "SUBMIT" */
/* No required-field note or asterisks in Form blocks (fields stay required, and are announced as such). */
.form-row .gform-theme--framework .gform_required_legend,
.form-row .gform-theme--framework .gfield_required { display: none !important; }
@media (max-width: 860px) {
    .page-title, .page-layout--events .page-title, .page-link, .page-row-title,
    .page-row-buttons .page-link, .page-row-content > p > .page-link, .about-copy .about-cta,
    .stack-night-title, .night-day, .night-more, .event-when, .event-nav .page-link,
    .navigation nav { font-size: calc(49.9 * min(100cqw, 585px) / 585); }
    .form-row .gform-theme--framework .gform_button,
    .form-row .gform-theme--framework input[type="submit"] { font-size: calc(24.95 * min(100cqw, 585px) / 585) !important; }
}

/* reCAPTCHA v3 badge: hidden from the first paint (the Gravity Forms add-on's "Disable badge" setting
   only hides it once its script runs). visibility, not display:none, which can stop v3 working.
   Google asks sites that hide the badge to show its "protected by reCAPTCHA" notice near forms. */
.grecaptcha-badge { visibility: hidden !important; }
