/*
Theme Name: Night Queen Restaurant
Author: Growbytee
Description: Restaurant and private events website concept. Owner approval required for all demo content.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: night-queen
*/
:root {
  color-scheme: light;
  --ink: #11151b;
  --ink-deep: #0c1015;
  --panel: #191e26;
  --paper: #f6f1e8;
  --cream: #f8f2e8;
  --gold: #d8b98d;
  --gold-light: #ebd1ac;
  --bronze: #825c39;
  --muted-dark: #c6beb3;
  --muted-light: #56514c;
  --line-dark: #ffffff26;
  --line-light: #cfc3b2;
  --serif: Baskerville, Georgia, "Times New Roman", serif;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --section: clamp(72px, 10vw, 145px);
  --gutter: clamp(22px, 6vw, 100px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); font: 400 15px/1.72 var(--sans); }
body:has(dialog[open]) { overflow: hidden; }
img { display: block; max-width: 100%; }
figure, p, h1, h2, h3, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, summary { cursor: pointer; }
button { color: inherit; }
address { font-style: normal; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid #b47f43; outline-offset: 4px; }
section[id] { scroll-margin-top: 12px; }
.symbols { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 19px; height: 19px; flex: 0 0 auto; vertical-align: middle; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.visually-hidden, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; top: 10px; left: 10px; z-index: 20; color: var(--ink); background: var(--paper); padding: 10px 14px; }
.wrap { width: min(calc(100% - 2 * var(--gutter)), 1280px); margin-inline: auto; }
.section-pad { padding-block: var(--section); }
.dark { background: var(--ink); color: var(--cream); }
.light { background: var(--paper); color: var(--ink); }
.dark p:not(.eyebrow) { color: var(--muted-dark); }
.light p:not(.eyebrow) { color: var(--muted-light); }

h1, h2, h3, .brand-text { font-family: var(--serif); font-weight: 400; }
h1, h2 { letter-spacing: -.048em; }
h2 { font-size: clamp(49px, 7vw, 108px); line-height: .94; }
h3 { font-size: clamp(29px, 3.8vw, 52px); letter-spacing: -.027em; line-height: 1.04; }
h1 em, h2 em, h3 em { font-weight: 400; }
.dark h1 em, .dark h2 em { color: var(--gold-light); }
.light h2 em, .light h3 em { color: var(--bronze); }
.eyebrow { font-size: 10px; font-weight: 700; line-height: 1.45; letter-spacing: .23em; text-transform: uppercase; }
.dark .eyebrow { color: var(--gold); }
.light .eyebrow { color: var(--bronze); }
.index-label { display: flex; align-items: center; gap: 13px; margin-bottom: clamp(22px, 4vw, 38px); }
.index-label span { display: inline-flex; align-items: center; gap: 11px; }
.index-label span::after { width: 25px; height: 1px; background: currentColor; opacity: .42; content: ""; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 13px; }
.button { display: inline-flex; gap: 13px; align-items: center; justify-content: center; min-height: 50px; padding: 12px 20px; border: 1px solid transparent; font-size: 12px; font-weight: 700; letter-spacing: .025em; line-height: 1.4; transition: background .2s, color .2s, border-color .2s; }
.button .icon { width: 16px; height: 16px; }
.button-gold { background: var(--gold); color: #18130f; border-color: var(--gold); }
.button-gold:hover { background: #f0d8b5; border-color: #f0d8b5; }
.button-outline { color: var(--cream); border-color: #f9f0e67a; background: #0f11151a; }
.button-outline:hover { color: var(--ink); border-color: var(--cream); background: var(--cream); }
.button-ink { color: var(--cream); background: var(--ink); }
.button-ink:hover { background: #3b3028; }
.text-link { display: inline-flex; align-items: center; gap: 10px; width: fit-content; max-width: 100%; min-height: 34px; border-bottom: 1px solid currentColor; font-size: 12px; font-weight: 700; line-height: 1.4; transition: color .2s; }
.light .text-link { color: #674524; }
.light .text-link:hover { color: var(--ink); }
.dark .text-link { color: var(--gold-light); }
.dark .text-link:hover { color: #fff; }
.text-link .icon { width: 15px; height: 15px; }
.round-icon, .icon-button { display: inline-grid; place-items: center; width: 44px; height: 44px; flex: 0 0 auto; border: 1px solid currentColor; border-radius: 50%; background: transparent; }
.icon-button:hover { background: #ffffff1c; }

.masthead { position: absolute; z-index: 4; inset: 0 0 auto; color: var(--cream); }
.nav-frame { width: min(calc(100% - 2 * var(--gutter)), 1450px); margin-inline: auto; min-height: 88px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 25px; border-bottom: 1px solid #fff3; }
.brand { display: inline-flex; align-items: center; gap: 10px; justify-self: start; width: fit-content; }
.brand img { width: 37px; height: auto; }
.brand-text { font-size: 25px; line-height: .95; white-space: nowrap; letter-spacing: -.018em; }
.brand-text small { display: block; color: var(--gold-light); margin-top: 7px; font: 600 8px/1 var(--sans); letter-spacing: .31em; text-transform: uppercase; }
.site-nav { display: flex; align-items: center; gap: clamp(17px, 3vw, 43px); font-size: 12px; font-weight: 600; white-space: nowrap; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; transition: color .2s; }
.site-nav a:hover { color: var(--gold-light); }
.nav-visit { min-height: 42px; justify-self: end; }
.menu-toggle, .site-nav .mobile-visit { display: none; }

.hero { position: relative; isolation: isolate; min-height: max(680px, 100svh); display: grid; place-items: center; text-align: center; padding: 135px var(--gutter) 118px; overflow: clip; }
.hero-picture, .hero-shade, .story > img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; }
.hero-picture img, .story > img { width: 100%; height: 100%; object-fit: cover; object-position: center 54%; }
.hero-shade { z-index: -1; background: linear-gradient(180deg, #0d1017de 0%, #0d101767 26%, #0a0d1478 61%, #0d1017e8 100%), radial-gradient(ellipse at center, #100f13aa 2%, #0d101717 76%); }
.hero-content { display: grid; justify-items: center; }
.hero-kicker { display: flex; gap: 11px; align-items: center; margin-bottom: 24px; }
.hero-kicker .icon { width: 10px; height: 10px; }
.hero-kicker span { opacity: .8; }
.hero h1 { font-size: clamp(70px, 9.5vw, 148px); line-height: .86; text-shadow: 0 2px 28px #09090c80; }
.hero h1 em { display: inline-block; margin-top: .045em; }
.hero-content > p:not(.eyebrow) { margin-top: 24px; color: #f4ecdf; max-width: 470px; font-size: clamp(13px, 1.4vw, 16px); text-wrap: balance; }
.hero-actions { justify-content: center; margin-top: 27px; }
.hero-bottom { position: absolute; bottom: 23px; left: var(--gutter); right: var(--gutter); display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; color: #eee4d5; font-size: 10px; letter-spacing: .11em; text-transform: uppercase; }
.image-tag { display: inline-flex; align-items: center; width: fit-content; padding: 5px 8px; color: #faf1e4; background: #11151bea; border: 1px solid #e2c5a257; text-transform: uppercase; font: 600 8px/1.35 var(--sans); letter-spacing: .12em; }
.scroll-link { display: grid; justify-items: center; gap: 8px; }
.scroll-link span { display: block; width: 1px; height: 24px; background: var(--gold); transition: transform .2s; }
.scroll-link:hover span { transform: translateY(4px); }
.hero-location { justify-self: end; display: inline-flex; align-items: center; gap: 6px; }
.hero-location .icon { width: 15px; height: 15px; color: var(--gold); }

.venue { overflow: hidden; }
.venue-grid { position: relative; display: grid; grid-template-columns: 1.06fr .94fr; gap: clamp(45px, 8vw, 116px); align-items: center; }
.venue h2 { max-width: 710px; }
.venue-copy > p:not(.eyebrow), .event-intro > p:not(.eyebrow), .enquiry-copy > p:not(.eyebrow) { margin-top: 26px; max-width: 390px; }
.venue-copy .text-link { margin-top: 21px; }
.venue-photo { position: relative; width: min(100%, 485px); justify-self: end; }
.venue-photo::before { content: ""; position: absolute; inset: 14px -14px -14px 14px; border: 1px solid #b18d63; pointer-events: none; }
.venue-photo img { width: 100%; height: auto; aspect-ratio: 4 / 4.8; object-fit: cover; }
.venue-photo .image-tag { position: absolute; left: 11px; bottom: 11px; }
.venue-marker { position: absolute; z-index: 1; right: -24px; bottom: -25px; display: grid; place-items: center; width: 49px; height: 49px; border-radius: 50%; color: var(--bronze); background: var(--paper); border: 1px solid #b18d63; }
.venue-marker .icon { width: 22px; height: 22px; }

.gallery { background: var(--ink-deep); }
.menu-section { background: #ece3d4; }
.menu-layout { display: grid; grid-template-columns: 1fr .8fr; gap: clamp(30px,8vw,110px); align-items: center; }
.menu-layout > div:first-child > p:not(.eyebrow) { max-width: 430px; margin: 24px 0 18px; }
.menu-preview { border: 1px solid var(--line-light); padding: clamp(28px,5vw,66px); min-height: 260px; display: flex; flex-direction: column; justify-content: center; align-items: start; }
.menu-preview h3 { margin: 18px 0 9px; }
.menu-item { width: 100%; padding: 14px 0; border-bottom: 1px solid var(--line-light); }
.menu-item h3 { margin: 0 0 6px; font-size: clamp(24px, 2.5vw, 33px); }
.menu-item p { font-size: 13px; }
.menu-preview .demo-label { margin-top: 20px; font-size: 10px; color: var(--bronze); text-transform: uppercase; letter-spacing: .08em; }
.section-lead { display: flex; align-items: end; justify-content: space-between; gap: 25px; margin-bottom: clamp(25px, 4.7vw, 56px); }
.section-lead p { max-width: 330px; padding-bottom: 3px; }
.gallery-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr; gap: clamp(10px, 1.5vw, 24px); }
.gallery-card { position: relative; isolation: isolate; overflow: hidden; min-width: 0; min-height: 325px; height: clamp(330px, 34vw, 510px); background: #251c18; }
.gallery-card::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg, #0e0c0be8, #0e0c0b17 60%); }
.gallery-card img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-card:hover img { transform: scale(1.055); }
.gallery-info { position: absolute; inset: auto 0 0; display: flex; gap: 6px; align-items: end; justify-content: space-between; padding: clamp(10px, 2vw, 27px); }
.gallery-info small { display: block; margin-bottom: 5px; color: var(--gold-light); font-size: 8px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.gallery-info strong { display: block; font: 400 clamp(22px, 3vw, 42px)/.96 var(--serif); letter-spacing: -.025em; }
.gallery-info .round-icon { width: 34px; height: 34px; border-color: #fff9; transition: background .2s; }
.gallery-card:hover .round-icon { background: #ffffff26; }
.gallery-info .icon { width: 15px; height: 15px; }

.event-grid { display: grid; grid-template-columns: .9fr 1.1fr; align-items: start; gap: clamp(28px, 8vw, 112px); }
.event-intro h2, .enquiry-copy h2 { max-width: 600px; }
.event-list { border-top: 1px solid var(--line-light); }
.event-list details { border-bottom: 1px solid var(--line-light); }
.event-list summary { display: grid; grid-template-columns: 25px 1fr auto; gap: 12px; align-items: center; padding-block: clamp(15px, 2.15vw, 27px); font: 400 clamp(24px, 3vw, 39px)/1.04 var(--serif); letter-spacing: -.02em; list-style: none; }
.event-list summary::-webkit-details-marker { display: none; }
.event-list summary span { color: var(--bronze); font: 700 9px/1 var(--sans); letter-spacing: .11em; }
.event-list summary .icon { color: var(--bronze); transition: transform .2s; }
.event-list details[open] summary .icon { transform: rotate(45deg); }
.event-list details > div { padding: 0 10px 19px 37px; }
.event-list .text-link { margin-top: 4px; }
.venue-details { margin-top: clamp(58px, 9vw, 112px); padding: clamp(23px, 4vw, 49px); border: 1px solid var(--line-light); }
.details-heading { display: grid; justify-items: start; gap: 11px; }
.details-heading .demo-label { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border: 1px solid var(--line-light); font-size: 10px; }
.demo-label .icon { width: 11px; height: 11px; color: var(--bronze); }
.detail-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-block: 27px 18px; }
.detail-grid > div { padding: 15px 0; border-top: 1px solid var(--line-light); }
.detail-grid dt { font: 400 clamp(20px, 2.5vw, 33px)/1 var(--serif); }
.detail-grid dd { margin-top: 7px; color: var(--muted-light); font-size: 11px; }

.story { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(480px, 57vw, 700px); display: grid; place-items: center; text-align: center; padding: 64px var(--gutter); }
.story::after { content: ""; position: absolute; z-index: -1; inset: 0; background: radial-gradient(ellipse at center, #100e13dc 3%, #100e13b8 48%, #100e136b 100%); }
.story > img { object-position: center 52%; }
.story-inner { display: grid; justify-items: center; }
.story-inner > .icon { width: 22px; height: 22px; margin-bottom: 15px; color: var(--gold); }
.story h2 { margin-top: 15px; }
.story p:not(.eyebrow) { margin: 17px auto 21px; max-width: 380px; color: var(--cream); text-wrap: balance; }
.story > .image-tag { position: absolute; bottom: 15px; right: var(--gutter); }

.enquiry { background: radial-gradient(ellipse at 18% 43%, #22242a, var(--ink) 63%); }
.enquiry-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(30px, 7vw, 104px); align-items: start; }
.enquiry-copy { padding-top: clamp(0px, 2vw, 28px); }
.contact-links { display: grid; gap: 15px; margin-top: 32px; }
.contact-links a { display: flex; align-items: center; gap: 12px; width: fit-content; font-size: 15px; }
.contact-links .round-icon { color: var(--gold); border-color: #d8b98d69; }
.contact-links a:hover .round-icon { background: #d8b98d25; }
.contact-links a small { display: block; margin-bottom: 2px; color: var(--muted-dark); font-size: 10px; }
.contact-links a > span:last-child .icon { width: 13px; height: 13px; }
.enquiry-panel { padding: clamp(20px, 3.5vw, 41px); border: 1px solid #d8b98d43; background: var(--panel); box-shadow: 0 22px 60px #0b0c1028; }
.form-heading { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 21px; }
.form-heading h3 { font-size: clamp(31px, 3.4vw, 46px); }
.form-heading > span { color: var(--gold-light); font-size: 10px; letter-spacing: .07em; }
.intent { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0 0 18px; }
.intent legend { margin-bottom: 7px; padding: 0; }
.intent legend, .form-grid label { font-size: 12px; font-weight: 600; }
.intent label { display: flex; position: relative; font-size: 12px; }
.intent input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.intent span { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid #e6dfd34d; }
.intent span::before { width: 9px; height: 9px; border: 1px solid currentColor; border-radius: 50%; content: ""; }
.intent input:checked + span { color: var(--gold-light); border-color: #d8b98d91; background: #d8b98d15; }
.intent input:checked + span::before { background: var(--gold); }
.intent input:focus-visible + span { outline: 2px solid var(--gold); outline-offset: 3px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; }
.form-grid label { display: block; min-width: 0; }
.form-grid .full-field { grid-column: 1 / -1; }
.required { color: var(--gold-light); }
.form-grid input, .form-grid select, .form-grid textarea { display: block; width: 100%; min-width: 0; min-height: 44px; margin-top: 4px; padding: 9px 10px; border: 1px solid #e6dfd34d; border-radius: 0; background: #11151b; color: var(--cream); color-scheme: dark; font-size: 16px; font-weight: 400; }
.form-grid input::placeholder, .form-grid textarea::placeholder { color: #aaa39a; opacity: 1; }
.form-grid textarea { min-height: 76px; resize: vertical; }
.submit-button { width: 100%; margin-top: 16px; cursor: pointer; }
.submit-button .last-icon { margin-left: auto; }
.form-note, .config-note { margin-top: 9px; font-size: 11px; }
.config-note { color: var(--gold-light); }
.config-note p { margin-top: 3px; }

.location { background: #eee6d8; }
.location-grid { display: grid; grid-template-columns: .88fr 1.12fr; align-items: center; gap: clamp(28px, 7vw, 100px); }
.location h2 { max-width: 580px; }
.location address { color: var(--muted-light); max-width: 390px; margin-top: 22px; }
.location .actions { margin-top: 23px; column-gap: 19px; }
.location-art { min-height: 330px; position: relative; isolation: isolate; display: grid; place-items: center; overflow: hidden; border: 1px solid #b8a488; background: #ddd3c3 url("./assets/location.svg") center / cover no-repeat; text-align: center; }
.location-center { display: grid; justify-items: center; gap: 6px; padding: 17px 22px; background: #f6f1e8f5; border: 1px solid #b59c7e; box-shadow: 0 7px 28px #4e392a2b; transition: transform .2s; }
.location-art:hover .location-center { transform: translateY(-4px); }
.location-center .round-icon { width: 38px; height: 38px; border-color: #a8845a; color: #674524; }
.location-center strong { font: 400 32px/.94 var(--serif); letter-spacing: -.035em; }
.location-center small, .location-caption { font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.location-caption, .location-arrow { position: absolute; background: var(--paper); border: 1px solid #baab95; }
.location-caption { left: 10px; bottom: 10px; padding: 3px 6px; }
.location-arrow { top: 10px; right: 10px; display: grid; place-items: center; width: 37px; height: 37px; }

.footer { background: var(--ink-deep); padding: clamp(46px, 7vw, 86px) 0 23px; }
.footer-grid { display: grid; grid-template-columns: 1.45fr 1fr .95fr; gap: 20px; padding-bottom: 37px; }
.footer address { margin-top: 15px; max-width: 300px; color: var(--muted-dark); font-size: 12px; }
.footer nav, .footer-contact { display: grid; justify-items: start; align-content: start; gap: 8px; }
.footer nav a, .footer-contact a { font-size: 12px; }
.footer nav a:hover, .footer-contact a:hover { color: var(--gold-light); }
.footer .eyebrow { margin-bottom: 4px; }
.footer-end { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 13px; padding-top: 15px; border-top: 1px solid var(--line-dark); color: var(--muted-dark); font-size: 10px; }
.mobile-bar { display: none; }

.lightbox { max-width: min(910px, calc(100% - 24px)); width: 100%; max-height: calc(100% - 24px); padding: 0; border: 1px solid #d8b98d6e; color: var(--cream); background: var(--ink); }
.lightbox::backdrop { background: #07090ded; }
.lightbox-shell { position: relative; display: grid; }
.lightbox-image { display: block; width: 100%; height: min(66vh, 620px); object-fit: contain; background: #080b0e; }
.lightbox-close { position: absolute; right: 10px; top: 10px; z-index: 2; background: #11151bea; }
.lightbox-caption { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 11px; text-align: center; }
.lightbox-caption .eyebrow { color: var(--gold); }
.lightbox-caption h2 { margin-top: 5px; font-size: clamp(25px, 5vw, 43px); }
.lightbox-caption .previous .icon { transform: rotate(180deg); }
#lightbox-count::before { content: " · "; }
@media (prefers-reduced-motion: no-preference) {
  .hero-content { animation: arrive .9s both; }
  @keyframes arrive { from { opacity: 0; transform: translateY(11px); } to { opacity: 1; transform: translateY(0); } }
  @supports (animation-timeline: view()) {
    .venue-photo, .gallery-grid, .location-art { animation: ease-out both rise; animation-timeline: view(); animation-range: entry 0% cover 23%; }
    @keyframes rise { from { opacity: .66; translate: 0 14px; } to { opacity: 1; translate: 0 0; } }
  }
}

@media (max-width: 900px) {
  .nav-frame { min-height: 74px; }
  .gallery-card { height: 360px; }
  .hero h1 { font-size: clamp(62px, 10.4vw, 108px); }
}
@media (max-width: 760px) {
  :root { --gutter: clamp(19px, 5.5vw, 42px); }
  .nav-frame { display: flex; justify-content: space-between; gap: 13px; min-height: 69px; }
  .brand img { width: 32px; }
  .brand-text { font-size: 22px; }
  .brand-text small { font-size: 7px; }
  .nav-visit { display: none; }
  .js .menu-toggle { display: inline-grid; width: 41px; height: 41px; border-color: #ffffff69; }
  .site-nav { gap: 10px; flex-wrap: wrap; }
  .js .site-nav { display: none; position: absolute; inset: 68px var(--gutter) auto; flex-direction: column; align-items: stretch; gap: 0; background: #12171eef; border: 1px solid #d8b98d6e; padding: 7px 15px; }
  .js .site-nav[data-open] { display: flex; }
  .site-nav a { justify-content: space-between; }
  .js .site-nav a + a { border-top: 1px solid var(--line-dark); }
  .site-nav .mobile-visit { display: inline-flex; color: var(--gold-light); }
  .hero { min-height: max(630px, calc(100svh - 56px)); padding-block: 106px 91px; }
  .hero h1 { font-size: clamp(49px, 11.2vw, 79px); }
  .hero-bottom { bottom: 17px; }
  .venue-grid, .event-grid, .enquiry-grid, .location-grid, .menu-layout { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .venue-photo { justify-self: start; width: min(100% - 13px, 490px); }
  .venue-photo img { aspect-ratio: 4 / 4.05; }
  .venue-marker { right: auto; left: min(calc(100% - 37px), 465px); }
  .detail-grid { grid-template-columns: repeat(2, 1fr); }
  .story { min-height: 470px; }
  .location-art { min-height: 290px; }
  .footer { padding-bottom: calc(85px + env(safe-area-inset-bottom)); }
  .mobile-bar { position: fixed; z-index: 5; inset: auto 0 0; display: grid; grid-template-columns: .85fr 1.15fr; gap: 7px; padding: 7px var(--gutter) calc(7px + env(safe-area-inset-bottom)); background: #11151bf5; border-top: 1px solid #d8b98d5c; }
  .mobile-bar a { min-height: 41px; display: flex; align-items: center; justify-content: center; gap: 7px; color: var(--cream); border: 1px solid #d8b98d75; font-size: 12px; font-weight: 700; }
  .mobile-bar a:last-child { background: var(--gold); color: #18130f; }
  .mobile-bar .icon { width: 17px; height: 17px; }
  html { scroll-padding-bottom: 66px; }
}
@media (max-width: 640px) {
  .hero-picture img { object-position: center 50%; }
  .hero-bottom { grid-template-columns: 1fr 1fr; align-items: center; }
  .scroll-link { display: none; }
  .section-lead { display: grid; gap: 16px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-card { min-height: 0; height: clamp(190px, 51vw, 300px); }
  .gallery-wide { grid-column: 1 / -1; height: clamp(230px, 63vw, 350px); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 27px 12px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 400px) {
  .hero h1 { font-size: clamp(40px, 11.75vw, 48px); }
  .hero-actions { display: grid; width: min(100%, 270px); gap: 8px; }
  .hero-actions .button { min-height: 45px; }
  .hero-content > p:not(.eyebrow) { margin-top: 18px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); }
  .form-heading { flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: 0s !important; animation: none !important; }
}
