/* ==========================================================
   Himax Dream Eyewear — site styles
   Editorial direction: navy-black ground, soft white type, large photography,
   a fashion serif (Bodoni Moda) for headlines and Manrope for everything else.
   Photos of frames always sit on white "plates" and are never cropped.
   ========================================================== */

:root {
  /* typography scale for text, forms and contact details (used across all style sheets) */
  --fs-body: 16px;            /* body and contact text */
  --lh-body: 1.6;
  --fs-meta: 15px;            /* small headings such as "Office hours" */
  --fw-meta: 600;
  --fs-label: 15px;           /* form labels: smaller than what is typed, still easy to read */
  --fw-label: 500;
  --fs-input: 16px;           /* typed text, placeholders and drop-downs (16px stops iPhones zooming in) */
  --lh-input: 1.5;
  --placeholder: #6b7686;     /* neutral grey, readable on white fields */
  --fs-title: clamp(36px, 3vw, 52px);   /* page titles such as CONTACT */
  /* colour */
  --ink: #0A0D13;          /* page */
  --ink-2: #10151F;        /* quieter panels */
  --ink-3: #172033;        /* brand navy, deep */
  --navy: #253551;         /* brand navy */
  --paper: #EEF0F3;        /* main text */
  --mute: #A3AAB8;         /* secondary text */
  --mute-2: #7F8798;       /* tertiary text */
  --line: rgba(238, 240, 243, 0.13);
  --line-2: rgba(238, 240, 243, 0.30);
  --sky: #4FA6EE;          /* blue of the DREAM wings logo — used sparingly */
  --sky-soft: #A9D2F7;
  --plate: #FFFFFF;
  --ok: #7FD6B8;
  --err: #F19A8A;

  /* type */
  --serif: 'Bodoni Moda', 'Times New Roman', Times, serif;
  --sans: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --logo-himax: 'Times New Roman', Times, 'Liberation Serif', serif;
  --logo-fever: 'Trajan Pro', 'Trajan Pro 3', 'Cinzel', 'Times New Roman', serif;

  /* space */
  --gutter: clamp(18px, 4vw, 56px);
  --wrap: 1360px;
  --sec: clamp(88px, 11vw, 168px);
  --head-h: 84px;
  --radius: 2px;

  /* older names still used by a few catalogue rules */
  --bg: var(--ink); --text: var(--paper); --muted: var(--mute); --muted-2: var(--mute-2);
  --accent: var(--sky); --accent-soft: var(--sky-soft);
  --font-display: var(--sans); --font-body: var(--sans);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 12px); }
body { margin: 0; background: var(--ink); color: var(--paper); font: 400 16px/1.65 var(--sans); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; }
h1, h2, h3 { margin: 0; color: var(--paper); font-weight: 400; }
p { margin: 0; }
.container { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }
.nowrap { white-space: nowrap; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }
::selection { background: var(--sky); color: var(--ink); }
.no-scroll { overflow: hidden; }

/* ---------- type ---------- */
.display { font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; line-height: 0.98; }
/* Bodoni Moda: a sturdier optical size than its hairline display cut, so it stays legible on every screen */
.hero h1, .h2, .h3, .lock-copy h1, .cat-hero h1, .sale-hero h1, .order-main h1, .story-text, .story-year, .lb-title, .stage-item h3, .stage-item::before,
.pl-points h3, .show .name, .frame figcaption b, .order-line .info b, .order-side h2, .lock-card h2, .sub-head h2, .foot-brand .tagline, .mobile-nav a { font-variation-settings: "opsz" 11; }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(40px, 5.2vw, 82px); line-height: 1.02; letter-spacing: -0.015em; }
.h3 { font-family: var(--serif); font-size: clamp(26px, 2.4vw, 36px); line-height: 1.1; }
.lede { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.6; color: var(--mute); max-width: 36em; }
.small { font-size: 13px; color: var(--mute-2); }
.label { font-size: 13px; font-weight: 600; letter-spacing: 0.01em; color: var(--mute); }

/* ---------- buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 28px; border-radius: var(--radius); border: 1px solid transparent;
  font: 600 14px/1 var(--sans); letter-spacing: 0.02em; text-decoration: none; cursor: pointer;
  transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.btn-light { background: var(--paper); color: var(--ink); }
.btn-light:hover { background: #fff; color: var(--ink); }
.btn-line, .btn-glass { background: transparent; color: var(--paper); border-color: var(--line-2); }
.btn-line:hover, .btn-glass:hover { border-color: var(--paper); color: #fff; }
.btn-accent { background: var(--sky); color: #04121F; }
.btn-accent:hover { background: #6BB5F2; color: #04121F; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 13px; }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.text-link {
  display: inline-flex; align-items: center; align-self: flex-start; width: fit-content; gap: 10px; padding: 6px 0; color: var(--paper); text-decoration: none;
  font-weight: 600; font-size: 15px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size .35s ease, color .2s ease;
}
.text-link:hover { background-size: 0 1px; background-position: 100% 100%; color: #fff; }
.text-link svg { transition: transform .3s ease; }
.text-link:hover svg { transform: translateX(4px); }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60; background: rgba(10, 13, 19, 0.86);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .container { width: min(1480px, 100% - 2 * var(--gutter)); display: flex; align-items: center; gap: 28px; min-height: var(--head-h); }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--paper); flex: none; }
.brand-mark { height: 48px; width: auto; }
.brand-word { display: flex; align-items: baseline; gap: 0.45em; font-size: 21px; line-height: 1; white-space: nowrap; color: var(--paper); }
.brand-word sup { font-size: 0.5em; vertical-align: 0.9em; margin-left: 0.08em; }
.bw-himax { font-family: var(--logo-himax); font-weight: 400; }
.bw-fever { font-family: var(--logo-fever); font-weight: 400; letter-spacing: 0.02em; }
.bw-slash { font-family: var(--logo-himax); opacity: .9; }
.nav { display: flex; align-items: center; gap: clamp(14px, 1.7vw, 30px); margin-left: auto; font-size: 14px; font-weight: 500; }
.nav a { position: relative; padding: 8px 0; color: var(--paper); text-decoration: none; white-space: nowrap; opacity: .82; transition: opacity .2s ease; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s ease; }
.nav a:hover, .nav a[aria-current="page"] { opacity: 1; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.header-actions { display: flex; align-items: center; gap: 18px; }
.lang { display: flex; align-items: center; gap: 2px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; }
.lang button { min-height: 34px; min-width: 34px; padding: 0 6px; border: 0; background: transparent; color: var(--mute-2); cursor: pointer; }
.lang button.is-on { color: var(--paper); }
.lang button + button { border-left: 1px solid var(--line-2); }
.order-link { position: relative; display: inline-flex; align-items: center; gap: 9px; min-height: 40px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: var(--radius); color: var(--paper); text-decoration: none; font-size: 13px; font-weight: 600; white-space: nowrap; transition: border-color .2s ease; }
.order-link:hover, .order-link[aria-current="page"] { border-color: var(--paper); }
.order-link.is-empty-home:not(.has-items) { display: none; }
.cart-count { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--sky); color: #04121F; font-size: 11px; font-weight: 800; line-height: 20px; text-align: center; }
.menu-btn { display: none; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: var(--radius); background: transparent; color: var(--paper); align-items: center; justify-content: center; cursor: pointer; }
.mobile-nav { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: clamp(620px, calc(88vh - var(--head-h)), 980px); display: grid; grid-template-columns: minmax(0, 61fr) minmax(0, 39fr); border-bottom: 1px solid var(--line); overflow: hidden; }
.hero-copy { position: relative; z-index: 2; display: flex; flex-direction: column; justify-content: center; gap: clamp(26px, 3vw, 40px); padding: clamp(48px, 7vh, 96px) clamp(24px, 3vw, 56px) clamp(36px, 5vh, 64px) max(var(--gutter), calc((100vw - var(--wrap)) / 2)); }
.hero-for { font-size: 14px; color: var(--mute); }
.hero h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(50px, 6.5vw, 126px); line-height: 0.98; letter-spacing: -0.02em; }
.hero h1 .ln { display: block; white-space: nowrap; }
.hero h1 .ln-2 { padding-left: 0.9em; }
.hero .lede { max-width: 33em; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 36px; margin: 0; padding: 22px 0 0; border-top: 1px solid var(--line); list-style: none; font-size: 13px; color: var(--mute); }
.hero-facts li { white-space: nowrap; }
.hero-visual { position: relative; min-height: 100%; background: var(--ink-3); }
.hero-photo { position: absolute; inset: 0; overflow: hidden; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,13,19,0.55) 0%, rgba(10,13,19,0) 32%); pointer-events: none; }
/* page-load: one orchestrated moment */
@media (prefers-reduced-motion: no-preference) {
  .hero h1 .ln { animation: rise .9s cubic-bezier(.2, .7, .2, 1) both; }
  .hero h1 .ln-2 { animation-delay: .08s; }
  .hero h1 .ln-3 { animation-delay: .16s; }
  .hero-photo img { animation: settle 1.6s cubic-bezier(.2, .7, .2, 1) both; }
  }
@keyframes rise { from { opacity: 0; transform: translateY(0.35em); } to { opacity: 1; transform: none; } }
@keyframes settle { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

/* ---------- product plates (frames on white, never cropped) ---------- */
.plate { position: relative; aspect-ratio: 4 / 3; background: var(--plate); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.plate img { width: 100%; height: 100%; object-fit: contain; padding: 4%; }

/* ---------- sections ---------- */
.sec { padding-block: var(--sec); }
.sec + .sec { border-top: 1px solid var(--line); }
.sec-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: end; gap: 24px 48px; margin-bottom: clamp(44px, 5vw, 76px); }
.sec-head .lede { justify-self: end; }
.sec-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; margin-top: clamp(40px, 4vw, 60px); padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; color: var(--mute); }

/* selected frames */
.frame-filter { display: flex; gap: 24px; justify-self: end; font-size: 14px; font-weight: 600; }
.frame-filter button { padding: 6px 0; border: 0; background: none; color: var(--mute-2); cursor: pointer; border-bottom: 1px solid transparent; transition: color .2s ease, border-color .2s ease; }
.frame-filter button:hover { color: var(--paper); }
.frame-filter button.is-on { color: var(--paper); border-bottom-color: var(--paper); }
.frames { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(16px, 1.8vw, 26px); }
.frame { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.frame.is-lead { grid-column: span 2; grid-row: span 2; }
.frame .plate { cursor: zoom-in; }
.frame .plate img { transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.frame:hover .plate img { transform: scale(1.025); }
.frame figcaption { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--mute); }
.frame figcaption b { font-family: var(--serif); font-size: 22px; font-weight: 400; color: var(--paper); letter-spacing: 0; }
.frame.is-lead figcaption b { font-size: 30px; }

/* gallery (natural shapes, nothing cropped) */
.sec-gallery { background: var(--ink-2); }
.masonry { columns: 3 300px; column-gap: clamp(14px, 1.6vw, 24px); }
.masonry .shot { break-inside: avoid; margin: 0 0 clamp(14px, 1.6vw, 24px); }
.shot { position: relative; overflow: hidden; background: var(--ink-3); cursor: zoom-in; }
.shot img { width: 100%; height: auto; transition: transform .9s cubic-bezier(.2, .7, .2, 1), filter .4s ease; }
.shot::before { content: ""; position: absolute; inset: 0; z-index: 1; background: rgba(10, 13, 19, 0.28); opacity: 0; transition: opacity .35s ease; pointer-events: none; }
.shot::after {
  content: ""; position: absolute; z-index: 2; left: 50%; top: 50%; width: 58px; height: 58px; margin: -29px 0 0 -29px; border-radius: 50%;
  background: rgba(238, 240, 243, 0.94) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%230A0D13' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5L21 21M10.5 7.5v6M7.5 10.5h6'/%3E%3C/svg%3E") center / 24px no-repeat;
  opacity: 0; transform: scale(.85); transition: opacity .35s ease, transform .35s ease; pointer-events: none;
}
.shot:hover img { transform: scale(1.02); }
.shot:hover::before, .shot:focus-within::before { opacity: 1; }
.shot:hover::after, .shot:focus-within::after { opacity: 1; transform: none; }
.shot button.shot-open { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; border: 0; padding: 0; background: transparent; cursor: zoom-in; }
.shot figcaption { position: absolute; left: 14px; bottom: 12px; z-index: 2; font-size: 12px; font-weight: 600; color: #fff; text-shadow: 0 1px 8px rgba(0,0,0,.6); }

/* production teaser + production page */
.prod-split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 5vw, 88px); align-items: center; }
.prod-photo { margin: 0; background: var(--ink-3); }
.prod-photo img { width: 100%; height: auto; }
.prod-copy { display: flex; flex-direction: column; gap: 26px; }

.page-head { padding: clamp(64px, 9vw, 132px) 0 clamp(40px, 5vw, 72px); border-bottom: 1px solid var(--line); }
.page-head .h2 { font-size: clamp(52px, 7vw, 112px); }
.page-head .lede { margin-top: 26px; }
.stages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(40px, 5vw, 72px) clamp(32px, 5vw, 88px); counter-reset: stage; }
.stage-item { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 4px 20px; padding-top: 22px; border-top: 1px solid var(--line-2); }
.stage-item::before { counter-increment: stage; content: counter(stage, decimal-leading-zero); grid-row: span 2; font-family: var(--serif); font-size: 30px; line-height: 1; color: var(--sky-soft); }
.stage-item h3 { font-family: var(--serif); font-size: clamp(26px, 2.3vw, 34px); line-height: 1.1; }
.stage-item p { color: var(--mute); max-width: 36em; margin-top: 10px; }

/* private label */
.sec-private { background: radial-gradient(1100px 600px at 100% 0%, rgba(37, 53, 81, 0.55) 0%, rgba(37, 53, 81, 0) 70%), var(--ink); }
.pl-top { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px 64px; align-items: end; margin-bottom: clamp(56px, 6vw, 96px); }
.pl-top .h2 { font-size: clamp(48px, 6.4vw, 104px); }
.pl-top .side { display: flex; flex-direction: column; gap: 26px; align-items: flex-start; }
.pl-points { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px clamp(24px, 3vw, 48px); }
.pl-points div { padding-top: 20px; border-top: 1px solid var(--line-2); }
.pl-points h3 { font-family: var(--serif); font-size: clamp(24px, 2vw, 30px); line-height: 1.15; }
.pl-points p { margin-top: 12px; color: var(--mute); font-size: 15px; }

/* heritage */
.story { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 32px 64px; }
.story-year { font-family: var(--serif); font-size: clamp(88px, 13vw, 210px); line-height: .8; color: transparent; -webkit-text-stroke: 1px var(--line-2); letter-spacing: -0.03em; }
.story-text { font-family: var(--serif); font-size: clamp(28px, 3.1vw, 50px); line-height: 1.18; letter-spacing: -0.01em; }
.story-brands { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 48px; margin-top: clamp(40px, 4vw, 64px); }
.story-brands div { padding-top: 18px; border-top: 1px solid var(--line); }
.story-brands strong { display: block; font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.story-brands p { color: var(--mute); font-size: 15px; max-width: 30em; }

/* trade shows */
.shows { border-top: 1px solid var(--line-2); }
.show { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 3fr) auto; gap: 8px 28px; align-items: baseline; padding: 26px 0; border-bottom: 1px solid var(--line); }
.show .name { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 34px); line-height: 1.1; }
.show span { color: var(--mute); }
.show .booth { color: var(--paper); font-weight: 600; font-size: 14px; white-space: nowrap; }
.next-show { font-size: 14px; color: var(--mute); justify-self: end; }
.next-show b { color: var(--paper); font-weight: 600; }

/* catalogue band */
.band { padding-block: clamp(80px, 9vw, 140px); background: var(--ink-3); border-top: 1px solid var(--line); }
.band .container { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 32px; align-items: end; }
.band .h2 { font-size: clamp(38px, 4.6vw, 72px); }
.band .acts { display: flex; flex-wrap: wrap; gap: 14px; justify-content: flex-end; }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 104px); align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 30px; }
.contact-info dl { display: grid; grid-template-columns: 1fr; gap: 20px; margin: 0; }
.contact-info dt { font-size: var(--fs-meta); font-weight: var(--fw-meta); line-height: 1.4; color: var(--mute-2); margin-bottom: 4px; }
.contact-info dd { margin: 0; font-size: var(--fs-body); line-height: var(--lh-body); }
.contact-info dd a { text-decoration: none; display: block; }
.contact-info dd a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }

/* forms (underline fields) */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 28px; align-content: start; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: var(--fs-label); font-weight: var(--fw-label); line-height: 1.4; color: var(--mute); }
.field.full, .form-grid .full { grid-column: 1 / -1; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 2px; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0;
  background: transparent; color: var(--paper); font: 400 var(--fs-input)/var(--lh-input) var(--sans); transition: border-color .2s ease;
}
.field input::placeholder, .field textarea::placeholder { font: inherit; color: var(--placeholder); opacity: 1; }
.field select { cursor: pointer; }
.field select option { background: var(--ink-2); color: var(--paper); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-bottom-color: var(--paper); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { box-shadow: 0 1px 0 0 var(--sky); }
.form-foot { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.form-foot small { font-size: 13px; color: var(--mute-2); }
.form-msg { grid-column: 1 / -1; padding: 14px 16px; border-left: 2px solid var(--ok); background: rgba(127, 214, 184, 0.08); font-size: 15px; }
.form-msg.err { border-left-color: var(--err); background: rgba(241, 154, 138, 0.08); }

/* ---------- footer ---------- */
.site-footer { background: var(--ink-2); border-top: 1px solid var(--line); padding: clamp(64px, 7vw, 104px) 0 36px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 6fr) repeat(2, minmax(0, 3fr)); gap: 40px; margin-bottom: 64px; }
.foot-brand { display: flex; flex-direction: column; gap: 26px; }
.foot-brand .brand-word { font-size: 19px; }
.foot-brand .tagline { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 38px); line-height: 1.15; max-width: 18em; }
.foot-nav { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.foot-nav .small { margin-bottom: 6px; }
.foot-nav a { text-decoration: none; color: var(--mute); width: fit-content; }
.foot-nav a:hover { color: var(--paper); }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--mute-2); }

/* ---------- gallery page ---------- */
.gallery-page .masonry { columns: 3 320px; }
.gallery-page .sec { padding-top: clamp(48px, 5vw, 80px); }
.sub-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin: clamp(72px, 8vw, 120px) 0 clamp(28px, 3vw, 44px); padding-top: 22px; border-top: 1px solid var(--line-2); }
.sub-head h2 { font-family: var(--serif); font-size: clamp(30px, 3vw, 46px); }

/* ---------- order request page ---------- */
.order-page { padding: clamp(40px, 5vw, 72px) 0 var(--sec); }
.order-wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(320px, 4fr); gap: clamp(32px, 5vw, 88px); align-items: start; }
.order-back { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--mute); text-decoration: none; margin-bottom: 28px; }
.order-back:hover { color: var(--paper); }
.order-main h1 { font-family: var(--serif); font-size: clamp(48px, 6vw, 96px); line-height: 1; letter-spacing: -0.015em; }
.order-sum { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 24px; margin: 22px 0 0; padding-bottom: 22px; border-bottom: 1px solid var(--line-2); color: var(--mute); }
.order-sum b { color: var(--paper); font-weight: 600; }
.order-clear { border: 0; background: none; padding: 4px 0; color: var(--mute); font-size: 14px; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.order-clear:hover { color: var(--paper); }
.order-lines { display: flex; flex-direction: column; }
.order-line { display: grid; grid-template-columns: 168px minmax(0, 1fr) auto auto; gap: 20px 28px; align-items: center; padding: 22px 0; border-bottom: 1px solid var(--line); }
.order-line .plate { width: 168px; }
.order-line .plate img { padding: 6%; }
.order-line .info b { display: block; font-family: var(--serif); font-size: 28px; font-weight: 400; line-height: 1.1; }
.order-line .info span { display: block; margin-top: 4px; color: var(--mute); font-size: 15px; }
.order-rm { border: 0; background: none; color: var(--mute-2); font-size: 14px; cursor: pointer; padding: 8px 0; text-decoration: underline; text-underline-offset: 4px; }
.order-rm:hover { color: var(--paper); }
.order-empty { padding: 56px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
.order-empty p { color: var(--mute); max-width: 32em; font-size: 17px; }
.order-side { position: sticky; top: calc(var(--head-h) + 28px); padding: clamp(26px, 3vw, 40px); background: var(--ink-2); border: 1px solid var(--line); }
.order-side h2 { font-family: var(--serif); font-size: 32px; line-height: 1.1; margin-bottom: 10px; }
.order-side .note { color: var(--mute); font-size: 14px; margin-bottom: 26px; }
.order-form { display: flex; flex-direction: column; gap: 22px; }
.order-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.order-form .btn { width: 100%; }
.order-form .wa.is-disabled { opacity: .4; pointer-events: none; }

/* quantity stepper */
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: var(--radius); }
.qty button { width: 40px; height: 40px; border: 0; background: transparent; color: var(--paper); font-size: 18px; cursor: pointer; }
.qty button:hover { background: rgba(238, 240, 243, 0.08); }
.qty input { width: 46px; height: 40px; border: 0; background: transparent; color: var(--paper); text-align: center; font: 700 15px var(--sans); -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ---------- catalogue: password lock ---------- */
.lock { min-height: calc(100vh - var(--head-h)); display: grid; align-items: center; padding: clamp(56px, 7vw, 110px) 0; background: radial-gradient(1000px 640px at 0% 100%, rgba(37, 53, 81, 0.6) 0%, rgba(37, 53, 81, 0) 70%), var(--ink); }
.lock .container { display: grid; grid-template-columns: minmax(0, 7fr) minmax(320px, 5fr); gap: clamp(40px, 6vw, 104px); align-items: center; }
.lock-copy { display: flex; flex-direction: column; gap: 26px; }
.lock-copy h1 { font-family: var(--serif); font-size: clamp(48px, 6.4vw, 104px); line-height: .98; letter-spacing: -0.015em; }
.lock-copy .lede { max-width: 30em; }
.lock-card form { display: flex; flex-direction: column; gap: 24px; padding: clamp(28px, 3vw, 44px); background: var(--ink-2); border: 1px solid var(--line); }
.lock-card h2 { font-family: var(--serif); font-size: 34px; line-height: 1.1; }
.lock-err { padding: 12px 14px; border-left: 2px solid var(--err); background: rgba(241, 154, 138, 0.08); font-size: 14px; }
.lock-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; }
.lock-foot b { display: block; font-weight: 600; }
.lock-foot span { color: var(--mute); }
.lock-foot .btn { white-space: nowrap; flex: none; }

/* ---------- catalogue: page head, quick links, tools ---------- */
.cat-hero { padding: clamp(48px, 6vw, 88px) 0 clamp(28px, 3vw, 40px); }
.cat-hero h1 { font-family: var(--serif); font-size: clamp(44px, 5.6vw, 88px); line-height: 1; letter-spacing: -0.015em; }
.cat-hero p { max-width: 40em; margin-top: 18px; font-size: 17px; color: var(--mute); }
.shop-pills { display: flex; flex-wrap: wrap; gap: 6px 26px; margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--line); }
.shop-pill { padding: 6px 0; color: var(--mute); font-size: 15px; font-weight: 500; text-decoration: none; border-bottom: 1px solid transparent; transition: color .2s ease, border-color .2s ease; }
.shop-pill:hover { color: var(--paper); }
.shop-pill.is-on { color: var(--paper); border-bottom-color: var(--paper); font-weight: 600; }
.shop-pill.is-salepill:not(.is-on) { color: #F3B2A6; }
.shop { display: grid; grid-template-columns: 1fr; gap: 40px; align-items: start; padding-bottom: var(--sec); }
.shop-side { display: none; position: sticky; top: calc(var(--head-h) + 20px); max-height: calc(100vh - var(--head-h) - 40px); overflow: auto; padding-right: 8px; }
body.filters-open .shop { grid-template-columns: 250px minmax(0, 1fr); }
body.filters-open .shop-side { display: block; }
.shop-tools { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; margin-bottom: 28px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.shop-tools input[type="search"], .shop-tools select, .sb-end input[type="search"], .sb-end select {
  min-height: 44px; padding: 0 4px; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0; background: transparent; color: var(--paper); font: 400 15px var(--sans);
}
.shop-tools select option, .sb-end select option { background: var(--ink-2); }
.shop-tools input[type="search"] { flex: 1 1 260px; }
.shop-tools input:focus, .shop-tools select:focus, .sb-end input:focus, .sb-end select:focus { outline: none; border-bottom-color: var(--paper); }
.shop-count { font-size: 14px; color: var(--mute-2); margin-left: auto; }
#shop-ftoggle { display: inline-flex; align-items: center; gap: 8px; order: -1; }
body.filters-open #shop-ftoggle { border-color: var(--paper); }
.shop-fcount { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--sky); color: #04121F; font-size: 11px; font-weight: 800; line-height: 20px; text-align: center; }
.sf-group { border: 0; padding: 0; margin: 0 0 26px; }
.sf-group legend { font-size: 14px; font-weight: 700; margin-bottom: 10px; padding: 0; }
.sf-check { display: flex; align-items: center; gap: 10px; min-height: 34px; font-size: 14px; color: var(--mute); cursor: pointer; }
.sf-check:hover { color: var(--paper); }
.sf-check input { accent-color: var(--sky); width: 16px; height: 16px; }
.sf-check span { flex: 1; }
.sf-check i { font-style: normal; font-size: 12px; color: var(--mute-2); }
.sf-sizes { display: flex; flex-wrap: wrap; gap: 6px; }
.sf-sizebtn { min-width: 40px; min-height: 34px; padding: 0 8px; border-radius: var(--radius); border: 1px solid var(--line-2); background: transparent; color: var(--paper); cursor: pointer; font-size: 13px; }
.sf-sizebtn.is-on { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* ---------- catalogue: product cards ---------- */
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 40px 22px; }
@media (min-width: 1280px) { .shop-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 44px 22px; } body.filters-open .shop-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1000px) and (max-width: 1279px) { .shop-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } body.filters-open .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sp-card { display: flex; flex-direction: column; }
.sp-img { position: relative; aspect-ratio: 4 / 3; background: var(--plate); display: flex; align-items: center; justify-content: center; overflow: hidden; cursor: zoom-in; }
.sp-img img { width: 100%; height: 100%; object-fit: contain; }
.sp-img img.sp-front, .sp-img img.sp-side { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; padding: 4%; transition: opacity .4s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.sp-img img.sp-side { opacity: 0; }
.sp-img.has-side:hover img.sp-side { opacity: 1; }
.sp-img.has-side:hover img.sp-front { opacity: 0; }
.sp-img:not(.has-side):hover img.sp-front { transform: scale(1.03); }
.sp-img img.sp-side:not([src]) { display: none; }
.sp-card.no-img .sp-img img { display: none; }
.sp-card.no-img .sp-img::after { content: "No photo"; color: #8B90A0; font-size: 13px; }
.sp-stock { position: absolute; left: 10px; bottom: 10px; padding: 3px 8px; background: rgba(10, 13, 19, 0.82); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .02em; }
.is-oos .sp-stock { background: #A8331A; }
.sp-stickers { position: absolute; right: 10px; top: 10px; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; z-index: 1; }
.sp-stickers .sp-sticker { position: static; }
.sp-sticker { position: absolute; right: 10px; top: 10px; padding: 3px 8px; background: var(--ink); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .02em; }
.sp-sticker.is-best { background: linear-gradient(135deg, #FF6F00, #FF5722); color: #fff; }
.sp-sticker.is-sale { background: #C8432F; color: #fff; }
.sp-body { padding: 12px 0 0; display: flex; flex-direction: column; gap: 4px; }
.sp-body h3 { font-size: 16px; font-weight: 700; line-height: 1.2; font-family: var(--sans); }
.sp-title { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.sp-title span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sp-size { flex: none; font-size: 12px; font-weight: 600; color: var(--mute); letter-spacing: .02em; }
.sp-meta { display: none !important; }
.sp-swatches { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin-top: 2px; }
.sp-dot { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid transparent; cursor: pointer; padding: 0; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.28); }
.sp-dot.is-on { border-color: var(--paper); box-shadow: 0 0 0 1px var(--paper); }
.sp-cname { font-size: 12px; color: var(--mute); margin-left: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; flex: 1 1 60px; }
.sp-buy { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
.sp-buy .qty { height: 30px; }
.sp-buy .qty button { width: 28px; height: 28px; font-size: 15px; }
.sp-buy .qty input { width: 32px; height: 28px; font-size: 13px; }
.sp-add { min-height: 30px; height: 30px; padding: 0 14px; font-size: 12px; }
.sp-add.is-done { background: var(--ok); color: #062018; }
.sp-add:disabled { opacity: .4; cursor: not-allowed; }
#shop-none { padding: 48px 0; color: var(--mute); }
.shop-lockbar { display: flex; justify-content: flex-end; margin-top: 40px; }

/* pagination: quiet, the products stay in front */
.shop-pages { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2px 4px; margin: 56px 0 8px; padding-top: 24px; border-top: 1px solid var(--line); }
.shop-page { min-width: 36px; height: 36px; padding: 0 8px; border: 0; border-bottom: 1px solid transparent; background: transparent; color: var(--mute); font: 600 14px var(--sans); cursor: pointer; transition: color .2s ease; }
.shop-page:hover:not(:disabled) { color: var(--paper); }
.shop-page.is-on { color: var(--paper); border-bottom-color: var(--paper); }
.shop-page:first-child, .shop-page:nth-last-child(2) { font-size: 20px; font-weight: 400; }
.shop-page:disabled { opacity: .3; cursor: default; }
.shop-pageinfo { flex-basis: 100%; text-align: center; margin-top: 10px; font-size: 13px; color: var(--mute-2); }

/* ---------- Glasses on Sale page ---------- */
.sale-hero { padding: clamp(40px, 5vw, 72px) 0 24px; }
.sale-crumbs { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--mute); margin-bottom: 18px; }
.sale-crumbs a { color: var(--mute); text-decoration: underline; text-underline-offset: 4px; }
.sale-hero h1 { font-family: var(--serif); font-size: clamp(40px, 5vw, 76px); line-height: 1.02; letter-spacing: -0.015em; }
.sale-hero h1 small { font-family: var(--sans); font-size: 16px; color: var(--mute); white-space: nowrap; vertical-align: middle; }
.shop.shop-full, body.filters-open .shop.shop-full { grid-template-columns: 1fr; }
.shop-bar { position: relative; z-index: 20; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-bottom: 30px; padding: 0 0 18px; border-bottom: 1px solid var(--line); }
.sb-dd { position: relative; }
.sb-btn { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0; border: 0; background: transparent; color: var(--paper); font: 600 15px var(--sans); cursor: pointer; }
.sb-btn:hover { color: #fff; }
.sb-btn.is-on span { border-bottom: 1px solid var(--paper); }
.sb-btn b { min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--sky); color: #04121F; font-size: 11px; line-height: 18px; text-align: center; }
.sb-btn svg { transition: transform .2s ease; }
.sb-dd.is-open .sb-btn svg { transform: rotate(180deg); }
.sb-menu { display: none; position: absolute; left: 0; top: calc(100% + 8px); min-width: 240px; max-height: 360px; overflow: auto; padding: 8px; background: var(--paper); color: var(--ink); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5); }
.sb-dd.is-open .sb-menu { display: block; }
.sb-menu.is-sizes { min-width: 300px; }
.sb-dd.is-open .sb-menu.is-sizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.sb-opt { display: flex; align-items: center; gap: 10px; padding: 9px 10px; cursor: pointer; font-size: 14.5px; }
.sb-opt:hover { background: #E2E5EA; }
.sb-opt input { width: 16px; height: 16px; accent-color: #24508F; margin: 0; }
.sb-opt span { flex: 1; white-space: nowrap; }
.sb-menu.is-sizes .sb-opt { gap: 7px; padding: 9px 6px; }
.sb-opt i { font-style: normal; font-size: 12px; color: #6E7585; }
.sb-dot { width: 15px; height: 15px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, 0.18); flex: none; }
.sb-dot-black { background: #111; } .sb-dot-tortoise { background: radial-gradient(circle at 30% 30%, #C88A3A 0 25%, #5A2E12 45%, #A2622A 70%); }
.sb-dot-brown { background: #7A4A25; } .sb-dot-gold { background: linear-gradient(135deg, #F3D98B, #B8892E); } .sb-dot-silver { background: linear-gradient(135deg, #F2F3F5, #9AA0A8); }
.sb-dot-grey { background: #8A8F98; } .sb-dot-blue { background: #2F6BD8; } .sb-dot-green { background: #2E8B57; } .sb-dot-red { background: #D23B3B; }
.sb-dot-pink { background: #F08CB2; } .sb-dot-purple { background: #8452C7; } .sb-dot-clear { background: linear-gradient(135deg, #fff, #E3ECF4); } .sb-dot-white { background: #fff; }
.sb-dot-yelloworange { background: linear-gradient(135deg, #F5C542, #F08A24); }
.sb-end { margin-left: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.sb-end input[type="search"] { width: 240px; }
.sb-clear { border: 0; background: none; color: var(--mute); font: 600 14px var(--sans); cursor: pointer; padding: 0; text-decoration: underline; text-underline-offset: 4px; }

/* ---------- lightbox: gallery photos and the catalogue product popup ---------- */
.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(6, 8, 12, 0.94); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); display: grid; place-items: center; padding: 16px; }
.lb-dialog { position: relative; width: min(1180px, 100%); max-height: calc(100vh - 32px); display: grid; grid-template-columns: minmax(0, 1fr) 340px; overflow: hidden; background: var(--ink-2); border: 1px solid var(--line); }
.lightbox:not(.is-product) .lb-dialog { grid-template-columns: 1fr; width: min(1400px, 100%); height: calc(100vh - 32px); background: transparent; border: 0; overflow: visible; }
.lightbox:not(.is-product) .lb-info { display: none; }
.lb-media { position: relative; background: var(--plate); display: flex; align-items: center; justify-content: center; min-height: 320px; }
.lb-media img { width: 100%; height: 100%; max-height: calc(100vh - 32px); object-fit: contain; display: block; }
.lightbox:not(.is-product) .lb-media { background: transparent; height: 100%; }
.lightbox:not(.is-product) .lb-media img { width: auto; height: auto; max-width: 100%; max-height: calc(100vh - 32px); }
.lightbox.is-product .lb-media img { width: 100%; height: auto; aspect-ratio: 4 / 3; transition: transform .2s ease; cursor: zoom-in; }
.lb-info { padding: 28px 22px 22px; display: flex; flex-direction: column; gap: 14px; overflow: auto; }
.lb-title { font-family: var(--serif); font-size: 34px; font-weight: 400; line-height: 1.05; padding-right: 48px; }
.lb-meta { display: none !important; }
.lb-shades { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; overflow: auto; border-top: 1px solid var(--line); }
.lb-shade { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.lb-shade.is-on .lb-name { color: #fff; font-weight: 700; }
.lb-pick { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 0 4px; border: 0; background: transparent; color: var(--mute); font: 500 14px var(--sans); text-align: left; cursor: pointer; }
.lb-pick:hover { color: var(--paper); }
.lb-name { line-height: 1.25; overflow-wrap: anywhere; }
.lb-swatch { width: 20px; height: 20px; border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3); }
.lb-shade.is-on .lb-swatch { box-shadow: 0 0 0 2px var(--ink-2), 0 0 0 3px var(--paper); }
.lb-qty { flex: 0 0 auto; display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--mute-2); }
.lb-qty select { min-width: 60px; min-height: 36px; padding: 0 6px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--ink); color: var(--paper); font: 700 14px var(--sans); }
.lb-add { width: 100%; min-height: 52px; }
.lb-add.is-done { background: var(--ok); color: #062018; }
.lb-note { font-size: 12px; color: var(--mute-2); }
.lb-review { font-size: 13px; font-weight: 600; color: var(--paper); text-decoration: underline; text-underline-offset: 4px; }
.lb-close { position: absolute; top: 14px; right: 14px; z-index: 6; width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--paper); color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 22px rgba(0, 0, 0, 0.45); }
.lb-close:hover { background: #fff; }
.lightbox:not(.is-product) .lb-close { position: fixed; top: 18px; right: 18px; }
.lb-prev, .lb-next { position: fixed; top: 50%; z-index: 6; width: 52px; height: 52px; margin-top: -26px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(10, 13, 19, 0.6); color: var(--paper); cursor: pointer; display: none; align-items: center; justify-content: center; }
.lb-prev { left: 18px; } .lb-next { right: 18px; }
.lb-prev:hover, .lb-next:hover { border-color: var(--paper); }
.lightbox.has-nav:not(.is-product) .lb-prev, .lightbox.has-nav:not(.is-product) .lb-next { display: flex; }
.lb-count { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 6; font-size: 13px; color: var(--mute); display: none; }
.lightbox.has-nav:not(.is-product) .lb-count { display: block; }
.lb-views { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 8px; z-index: 3; pointer-events: none; }
.lb-views:empty { display: none; }
.lb-view { pointer-events: auto; width: 64px; height: 48px; border: 1px solid #D9DCE2; background: #fff center/contain no-repeat; cursor: pointer; padding: 0; }
.lb-view.is-on { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.lb-lens { position: absolute; width: 210px; height: 210px; border-radius: 50%; border: 3px solid #fff; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); background: #fff no-repeat; pointer-events: none; z-index: 4; display: none; }
.lb-zoomhint { display: none !important; }
.lb-media.is-zoomed img { cursor: zoom-out; }
.lb-grab { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1240px) {
  .brand-word { font-size: 18px; }
  .nav { gap: 18px; font-size: 13.5px; }
}
@media (max-width: 1100px) {
  /* tablets: the menu folds into the menu button so the full logo always has room */
  :root { --head-h: 70px; }
  .nav, .header-actions .lang { display: none; }
  .header-actions { margin-left: auto; gap: 10px; }
  .brand-word { font-size: 17px; }
  .brand-mark { height: 40px; }
  .menu-btn { display: flex; }
  .mobile-nav { display: none; flex-direction: column; padding: 8px var(--gutter) 22px; border-top: 1px solid var(--line); background: var(--ink); }
  .mobile-nav.is-open { display: flex; }
  .mobile-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--serif); font-size: 26px; }
  .mobile-nav .lang { display: flex; margin-top: 16px; font-size: 13px; }
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); }
  .hero h1 { font-size: 5.9vw; }
  .frames { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .frame.is-lead { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero h1 { font-size: 8.4vw; }
  .hero-copy { padding: 44px var(--gutter) 36px; }
  .hero-visual { min-height: 0; height: clamp(360px, 92vw, 620px); }
  .hero-photo::after { background: linear-gradient(180deg, rgba(10,13,19,0.35) 0%, rgba(10,13,19,0) 30%); }
      .sec-head, .prod-split, .pl-top, .story, .band .container, .contact-grid, .order-wrap, .lock .container { grid-template-columns: 1fr; }
  .sec-head .lede, .frame-filter, .next-show { justify-self: start; }
  .band .acts { justify-content: flex-start; }
  .pl-points { grid-template-columns: 1fr; }
  .stages { grid-template-columns: 1fr; }
  .story-year { font-size: 96px; }
  .show { grid-template-columns: 1fr; gap: 4px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
  .order-side { position: static; }
  .lightbox { padding: 0; align-items: end; }
  .lb-dialog { grid-template-columns: 1fr; width: 100%; max-height: calc(100dvh - 68px); overflow: auto; }
  .lightbox:not(.is-product) .lb-dialog { height: calc(100dvh - 68px); align-self: center; }
  .lightbox.is-product .lb-media img { max-height: 42vh; }
  .lb-close, .lightbox:not(.is-product) .lb-close { position: fixed; top: 10px; right: 12px; }
  .lb-prev, .lb-next { top: auto; bottom: 12px; margin-top: 0; width: 46px; height: 46px; }
  .lb-count { bottom: 26px; }
  .lb-info { padding: 18px 16px 24px; }
  .lb-title { font-size: 28px; }
}
@media (max-width: 760px) {
  .frames { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 12px; }
  .frame figcaption { flex-direction: column; gap: 2px; }
  .frame figcaption b { font-size: 19px; }
  .frame.is-lead figcaption b { font-size: 24px; }
  .masonry { columns: 2 150px; }
  .form-grid { grid-template-columns: 1fr; }
  .order-line { grid-template-columns: 112px minmax(0, 1fr); gap: 12px 16px; }
  .order-line .plate { width: 112px; grid-row: span 2; }
  .order-line .info b { font-size: 22px; }
  .order-line .qty, .order-line .order-rm { grid-column: 2; justify-self: start; }
  .order-line .order-rm { margin-top: -6px; }
  .order-form .two { grid-template-columns: 1fr; }
  .shop-grid, body.filters-open .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 12px; }
  body.filters-open .shop { grid-template-columns: 1fr; }
  .shop-side { position: static; max-height: none; }
  .sp-buy { flex-wrap: wrap; }
  .shop-pills { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .shop-pill { flex: none; }
  .sb-end { margin-left: 0; width: 100%; }
  .sb-end input[type="search"] { order: -1; flex: 1 1 100%; width: auto; min-width: 0; }
  .sb-end select { flex: 1; }
  .sb-menu, .sb-menu.is-sizes { position: fixed; left: 12px; right: 12px; top: auto; bottom: 12px; min-width: 0; max-height: 60vh; }
  .lock-foot { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .brand-word { font-size: 14px; gap: 0.35em; }
  .brand-mark { height: 34px; }
  .brand { gap: 10px; }
  .site-header .container { gap: 12px; }
  .header-actions { gap: 8px; }
  .menu-btn { width: 42px; height: 42px; }
  .order-link { padding: 0 10px; }
  .order-link .ol-text { display: none; }
  .order-link:not(.has-items) { display: none; }   /* on phones the button is just the count, so it appears once something is added */
  .hero h1 { font-size: clamp(34px, 10.9vw, 60px); }   /* sized so each of the three lines stays on one line */
  .hero h1 .ln-2 { padding-left: 0.5em; }
  .hero-facts { gap: 8px 20px; }
  .hero-facts li { white-space: normal; }
  .foot-grid { grid-template-columns: 1fr; }
}
@media (max-width: 400px) {
  .brand-word { font-size: 13px; }
  .brand-mark { height: 30px; }
  .brand { gap: 8px; }
}
@media (max-width: 374px) {
  .brand-word { font-size: 12px; }
  .site-header .container { gap: 8px; }
  .header-actions { gap: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
.sec-foot-end { justify-content: flex-end; border-top: 0; padding-top: 0; }
