:root {
  --paper: #fff;
  --ink: #111;
  --muted: #73736f;
  --line: #deded9;
  --pad: clamp(1.25rem, 4vw, 4.75rem);
  --serif: "Times New Roman", Times, serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); }
body.is-locked, body.museum-screen { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
::selection { background: var(--ink); color: white; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -5rem; left: 1rem; z-index: 100; padding: .8rem 1rem; background: var(--ink); color: white; }
.skip-link:focus { top: 1rem; }

/* Centered navigation */
.site-header { position: fixed; inset: 0 0 auto; z-index: 40; height: 66px; display: flex; align-items: center; justify-content: center; padding: 0 var(--pad); border-bottom: 1px solid transparent; background: rgba(255,255,255,.96); transition: border-color .25s, height .25s; }
.site-header.is-scrolled { height: 58px; border-color: var(--line); backdrop-filter: blur(16px); }
.site-mark { position: absolute; left: var(--pad); display: grid; place-items: center; width: 38px; height: 48px; text-decoration: none; }
.site-mark img { width: auto; height: 42px; }
.mobile-page-title { display: none; }
.site-nav { display: flex; align-items: center; justify-content: center; gap: clamp(1.8rem, 4.5vw, 5rem); }
.site-nav a { position: relative; padding: .8rem 0; font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-decoration: none; text-transform: uppercase; }
.site-nav a::after { content: ""; position: absolute; inset: auto 0 .35rem; height: 1px; background: currentColor; transform: scaleX(0); transition: transform .25s; }
.site-nav a:hover::after, .site-nav a:focus-visible::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.menu-button { position: absolute; right: var(--pad); display: none; width: 42px; height: 42px; padding: 10px; border: 0; background: none; }
.menu-button > span:not(.sr-only) { display: block; width: 22px; height: 1px; margin: 6px auto; background: currentColor; transition: transform .25s; }
.mobile-quick-nav { display: none; }

/* Minimal Bando storefront */
.store-home { min-height: 100svh; padding: calc(66px + clamp(2rem, 5vw, 5rem)) var(--pad) clamp(3rem, 6vw, 6rem); }
.store-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(1.25rem, 3vw, 3.5rem); width: min(100%, 1500px); margin: 0 auto; }
.store-item { display: grid; grid-template-columns: 1fr auto; gap: .35rem 1rem; width: 100%; padding: 0; border: 0; border-radius: 0; -webkit-appearance: none; appearance: none; box-shadow: none; background: #fff; color: var(--ink); text-align: left; text-decoration: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.store-item img { grid-column: 1 / -1; width: 100%; height: min(21vw, 360px); margin-bottom: .55rem; object-fit: contain; background: transparent; transition: opacity .25s ease; }
.store-item:hover img, .store-item:focus-visible img { opacity: .78; }
.store-item:focus-visible { outline: 1px solid var(--ink); outline-offset: .45rem; }
.store-item span { font-size: .76rem; line-height: 1.35; }
.store-item small { font-size: .76rem; white-space: nowrap; }

/* Shopify product checkout */
.product-dialog { width: min(920px, calc(100% - 2rem)); max-width: none; max-height: calc(100svh - 2rem); padding: 0; border: 0; background: white; color: var(--ink); }
.product-dialog::backdrop { background: rgba(255,255,255,.92); backdrop-filter: blur(8px); }
.product-dialog-shell { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(290px, .82fr); min-height: min(660px, calc(100svh - 2rem)); border: 1px solid var(--ink); background: white; }
.product-dialog-close { position: absolute; z-index: 2; top: 1rem; right: 1rem; padding: .65rem .8rem; border: 1px solid var(--ink); background: white; color: var(--ink); cursor: pointer; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.product-dialog-close:hover { background: var(--ink); color: white; }
.product-dialog-image { width: 100%; height: 100%; min-height: 520px; object-fit: contain; padding: clamp(1.5rem, 4vw, 4rem); border-right: 1px solid var(--ink); }
.product-dialog shopify-context { display: grid; align-content: center; padding: clamp(2rem, 4vw, 4rem); }
.product-dialog-content { display: grid; gap: 1.25rem; }
.product-dialog-content p { margin: 0; font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.product-dialog-content h2 { margin: 0; font-family: var(--sans); font-size: clamp(1.8rem, 4vw, 3.4rem); font-weight: 700; line-height: .95; letter-spacing: -.05em; }
.product-dialog-content > strong { font-size: 1rem; }
.product-dialog shopify-variant-selector::part(form) { gap: 1rem; }
.product-dialog shopify-variant-selector::part(label) { font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.product-dialog shopify-variant-selector::part(select) { min-height: 46px; border: 1px solid var(--ink); border-radius: 0; background: white; font-family: var(--sans); }
.shopify-checkout-button { width: 100%; padding: 1.05rem 1.25rem; border: 1px solid var(--ink); background: var(--ink); color: white; cursor: pointer; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.shopify-checkout-button:hover { background: white; color: var(--ink); }
.shopify-checkout-button:disabled { cursor: not-allowed; opacity: .45; }

/* Fixed Wax Museum canvas */
.museum-fixed { position: fixed; inset: 66px 0 0; display: grid; place-items: center; overflow: hidden; background: white; }
.museum-wall { position: relative; width: min(94vw, calc((100svh - 80px) * 1.42)); aspect-ratio: 1.42; max-height: calc(100svh - 78px); }
.museum-piece { position: absolute; left: var(--x); top: var(--y); width: var(--w); margin: 0; }
.museum-piece img { width: 100%; height: auto; background: #f1f1ed; transition: transform .35s ease, filter .35s ease; }
.museum-photo:hover img { transform: scale(1.035); }
.film-button { display: block; width: 100%; padding: 0; border: 0; background: transparent; cursor: pointer; }
.film-button img { filter: saturate(.82); }
.film-button:hover img, .film-button:focus-visible img { transform: scale(1.055); filter: saturate(1); }
.film-button:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; }

/* Video viewer */
.video-dialog { width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: #000; color: white; }
.video-dialog::backdrop { background: #000; }
.video-dialog[open] { display: grid; place-items: center; }
.dialog-shell { display: grid; grid-template-rows: auto minmax(0, 1fr); width: 100%; height: 100%; padding: clamp(.75rem, 2vw, 1.5rem); }
.dialog-shell > header { position: relative; display: flex; justify-content: center; align-items: center; min-height: 3.5rem; margin-bottom: 1rem; padding-inline: 5rem; text-align: center; }
.dialog-shell header p { margin: 0 0 .35rem; color: var(--muted); font-family: var(--sans); font-size: .72rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.dialog-shell h2 { margin: 0; font-family: var(--sans); font-size: clamp(1.35rem, 3.5vw, 2.8rem); font-weight: 700; line-height: 1; letter-spacing: .12em; text-transform: uppercase; }
.dialog-close { position: absolute; right: 0; top: 50%; transform: translateY(-50%); padding: .7rem 1rem; border: 1px solid white; background: #000; color: white; cursor: pointer; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.dialog-close:hover { background: white; color: #000; }
.video-frame { display: grid; width: 100%; min-height: 0; background: #000; place-items: center; }
.video-frame video { width: 100%; height: 100%; object-fit: contain; background: #000; }

/* Streamlined booking */
.book-page { padding-top: 66px; }
.consultation-first { display: grid; grid-template-columns: minmax(330px, .82fr) minmax(0, 1.18fr); gap: clamp(3rem, 8vw, 8rem); width: min(calc(100% - (var(--pad) * 2)), 1380px); min-height: calc(100svh - 66px); margin: 0 auto; padding: clamp(4rem, 7vw, 7rem) 0; }
.consultation-copy { position: sticky; top: calc(66px + 4rem); display: grid; align-self: start; min-height: min(520px, calc(100svh - 150px)); background: white; }
.consultation-price { position: relative; display: flex; flex-direction: column; justify-content: space-between; min-height: 100%; padding: clamp(1.5rem, 3vw, 2.75rem) 0; border-block: 1px solid var(--ink); }
.consultation-price::after { content: ""; position: absolute; right: 0; bottom: -1px; width: 18%; height: 7px; background: var(--ink); }
.consultation-price strong { font-family: var(--sans); font-size: clamp(6rem, 11vw, 10rem); font-weight: 700; line-height: .76; letter-spacing: -.085em; }
.consultation-price span { align-self: flex-end; font-size: .76rem; font-weight: 700; line-height: 1.55; letter-spacing: .18em; text-align: right; text-transform: uppercase; }
.booking-form { display: grid; align-self: start; gap: 1.45rem; font-family: var(--sans); }
.consultation-form { padding: clamp(.5rem, 1.5vw, 1.5rem) 0; background: white; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.booking-form label:not(.check-field):not(.addon-card) { display: grid; gap: .5rem; font-size: .875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.booking-form input, .booking-form select, .booking-form textarea { width: 100%; padding: .72rem 0; border: 0; border-bottom: 1px solid #aaa; border-radius: 0; background: transparent; color: var(--ink); outline: none; }
.booking-form input:focus, .booking-form select:focus, .booking-form textarea:focus { border-color: var(--ink); box-shadow: 0 1px 0 var(--ink); }
.booking-form textarea { resize: vertical; line-height: 1.5; }
.addon-card { display: flex; align-items: center; gap: .8rem; padding: 1.25rem; border: 1px solid var(--ink); cursor: pointer; transition: background .2s, color .2s; }
.addon-card:has(input:checked) { background: var(--ink); color: white; }
.addon-card input, .check-field input { flex: 0 0 auto; width: 18px; height: 18px; }
.addon-card > span { flex: 1; }
.addon-card strong { font-family: var(--sans); font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.addon-card > b { font-family: var(--sans); font-size: .9rem; font-weight: 700; }
.booking-total { display: flex; justify-content: space-between; align-items: baseline; padding: 1rem 0; border-block: 1px solid var(--ink); }
.booking-total span { font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.booking-total strong { font-family: var(--sans); font-size: 2.25rem; font-weight: 700; letter-spacing: -.04em; }
.submit-button { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 1.05rem 1.25rem; border: 1px solid var(--ink); background: var(--ink); color: white; cursor: pointer; font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.submit-button:hover { background: white; color: var(--ink); }
.submit-button:disabled { opacity: .55; cursor: wait; }
.form-status { min-height: 1.4em; margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.5; }
.form-honey { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; opacity: 0 !important; pointer-events: none !important; }
.project-mini { width: min(calc(100% - (var(--pad) * 2)), 1380px); margin: 0 auto; padding: 0 0 clamp(5rem, 9vw, 9rem); }
.project-mini details { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.project-mini summary { display: flex; align-items: center; justify-content: space-between; padding: 1.6rem 0; cursor: pointer; list-style: none; }
.project-mini summary::-webkit-details-marker { display: none; }
.project-mini summary span { display: grid; gap: .35rem; }
.project-mini summary small { color: var(--muted); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; }
.project-mini summary strong { font-family: var(--sans); font-size: clamp(1.35rem, 2.5vw, 2.25rem); font-weight: 700; letter-spacing: -.035em; }
.project-mini summary > b { font-size: 1.5rem; font-weight: 400; transition: transform .2s; }
.project-mini details[open] summary > b { transform: rotate(45deg); }
.project-form { width: min(760px, 100%); margin: 2rem 0 3rem auto; }
.file-field { min-height: 110px; align-content: center; padding: 1.2rem; border: 1px dashed #999; cursor: pointer; text-align: center; }
.file-field input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.file-field small { color: var(--muted); font-size: .8rem; font-weight: 400; letter-spacing: 0; text-transform: none; }
.check-field { display: flex; align-items: flex-start; gap: .75rem; cursor: pointer; }
.check-field span { color: var(--muted); font-size: .875rem; line-height: 1.4; }

@media (max-width: 820px) {
  .site-header { height: 58px; }
  .mobile-page-title { position: absolute; left: 50%; display: block; transform: translateX(-50%); font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-decoration: none; text-transform: uppercase; white-space: nowrap; }
  .menu-button { display: block; z-index: 2; }
  .menu-button[aria-expanded="true"] > span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
  .menu-button[aria-expanded="true"] > span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }
  .site-nav { position: fixed; inset: 0; display: grid; place-content: center; gap: 1.5rem; background: white; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
  .site-nav.is-open { opacity: 1; visibility: visible; }
  .site-nav a { font-family: var(--sans); font-size: clamp(.95rem, 4.2vw, 1.2rem); font-weight: 700; letter-spacing: .22em; text-align: center; text-transform: uppercase; }
  .site-nav a::after { display: none; }
  .mobile-quick-nav { position: fixed; inset: 58px 0 auto; z-index: 35; display: flex; justify-content: center; gap: 2.25rem; height: 42px; align-items: center; background: white; }
  .mobile-quick-nav a { font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-decoration: none; text-transform: uppercase; }
  .store-home { padding-top: calc(100px + 1.5rem); }
  .store-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.6rem .8rem; }
  .store-item { grid-template-columns: 1fr; gap: .2rem; }
  .store-item, .store-item:hover, .store-item:active, .store-item:visited { border: 0; border-radius: 0; box-shadow: none; background: #fff; color: var(--ink); }
  .store-item img { height: calc((100vw - 3.3rem) / 2); }
  .store-item span, .store-item small { font-size: .7rem; }
  .product-dialog { width: calc(100% - 1rem); max-height: calc(100svh - 1rem); }
  .product-dialog-shell { grid-template-columns: 1fr; min-height: 0; }
  .product-dialog-image { height: min(44svh, 390px); min-height: 0; padding: 1.25rem; border-right: 0; border-bottom: 1px solid var(--ink); }
  .product-dialog shopify-context { padding: 1.5rem; }
  .product-dialog-content { gap: 1rem; }
  .product-dialog-content h2 { font-size: 1.8rem; }
  .museum-fixed { inset: 58px 0 0; }
  .museum-wall { width: min(96vw, calc((100svh - 70px) * 1.42)); max-height: calc(100svh - 68px); }
  .book-page { padding-top: 58px; }
  .consultation-first { grid-template-columns: 1fr; min-height: 0; gap: 3rem; padding-block: 3rem 5rem; }
  .consultation-copy { position: relative; top: auto; min-height: 260px; }
}

@media (max-width: 560px) {
  .site-mark { left: 1.1rem; }
  .menu-button { right: .7rem; }
  .field-pair { grid-template-columns: 1fr; }
  .dialog-shell { width: calc(100% - 1.5rem); }
  .dialog-shell > header { min-height: 4rem; padding-inline: 3.5rem; }
  .dialog-shell h2 { font-size: 2rem; }
  .consultation-first { width: calc(100% - 2.4rem); padding-inline: 0; }
  .consultation-copy { min-height: 220px; }
  .consultation-price { padding-block: 1.5rem; }
  .consultation-price strong { font-size: clamp(5.8rem, 28vw, 8rem); }
  .consultation-form { padding: 0; }
  .project-mini { width: calc(100% - 2.4rem); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
