/* Hilo Glass Shop v1.2.2 - one stylesheet, no external requests. Light and dark. Palette: sea glass, deep ocean, lava. */
@font-face { font-family: "Fraunces"; src: url("/assets/fonts/fraunces-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  color-scheme: light dark;
  --bg: #f2f8f7; --surface: #ffffff; --surface-2: #e4f0ef; --ink: #0b2a32; --muted: #44606a; --line: #c9dddb; --control-edge: #6b8a90;
  --accent: #b83a0c; --accent-2: #9a2f08; --on-accent: #ffffff; --aqua: #0b6f84; --aqua-soft: #7fd0d6; --lava: #ff6a2b; --lava-deep: #b3200f;
  --focus: #0b6f84; --shadow: 0 1px 2px rgba(11,42,50,.08), 0 8px 28px rgba(11,42,50,.08);
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Hiragino Sans", "Yu Gothic", "Noto Sans JP", sans-serif;
  --serif: "Fraunces", Georgia, "Times New Roman", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --max: 70rem; --r: 14px; --r-lg: 22px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #061318; --surface: #0c2128; --surface-2: #11303a; --ink: #e8f4f3; --muted: #a2bcc0; --line: #1f4049; --control-edge: #6f9aa3;
    --accent: #ff8a57; --accent-2: #ffa57d; --on-accent: #1d0a03; --aqua: #5ed3db; --aqua-soft: #1d6b78; --focus: #5ed3db;
    --shadow: 0 1px 2px rgba(0,0,0,.4), 0 10px 32px rgba(0,0,0,.35);
  }
}
:root[data-theme="dark"] {
  --bg: #061318; --surface: #0c2128; --surface-2: #11303a; --ink: #e8f4f3; --muted: #a2bcc0; --line: #1f4049; --control-edge: #6f9aa3;
  --accent: #ff8a57; --accent-2: #ffa57d; --on-accent: #1d0a03; --aqua: #5ed3db; --aqua-soft: #1d6b78; --focus: #5ed3db;
  --shadow: 0 1px 2px rgba(0,0,0,.4), 0 10px 32px rgba(0,0,0,.35);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.65 var(--sans);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  /* Quiet copy deterrent: no text selection outside form fields, no image dragging. */
  -webkit-user-select: none; user-select: none; -webkit-touch-callout: none;
}
input, textarea, select, button { font: inherit; color: inherit; -webkit-user-select: text; user-select: text; }
img, svg { -webkit-user-drag: none; user-drag: none; max-width: 100%; }
img { height: auto; }
a { color: var(--aqua); text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.skip-link { position: absolute; left: 1rem; top: -4rem; padding: .6rem 1rem; background: var(--ink); color: var(--bg); border-radius: 8px; z-index: 50; }
.skip-link:focus { top: 1rem; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
main:focus { outline: none; }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 .6em; text-wrap: balance; }
h1 { font-size: clamp(2.2rem, 1.4rem + 3.6vw, 3.9rem); }
h2 { font-size: clamp(1.55rem, 1.1rem + 1.6vw, 2.3rem); }
h3 { font-size: 1.3rem; }
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3 { font-family: var(--sans); font-weight: 700; letter-spacing: 0; line-height: 1.35; }
:lang(ja) body, :lang(ja) { line-height: 1.85; }
p { margin: 0 0 1em; text-wrap: pretty; }
.lede { font-size: clamp(1.1rem, 1rem + .5vw, 1.3rem); color: var(--muted); max-width: 42rem; }
.eyebrow { font: 600 .8rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin: 0 0 1rem; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 1rem; min-height: 4.25rem; }
.brand-row { display: flex; align-items: center; gap: 1rem; margin-right: auto; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); font: 600 1.2rem/1 var(--serif); }
.brand svg { width: 2.1rem; height: 2.1rem; flex: none; }
.nav { display: none; gap: .25rem; }
.nav a, .menu-panel nav a { display: inline-block; padding: .55rem .8rem; border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .98rem; }
.nav a:hover, .menu-panel nav a:hover { background: var(--surface-2); color: var(--ink); }
.nav a[aria-current="page"], .menu-panel nav a[aria-current="page"] { background: var(--surface-2); box-shadow: inset 0 -2px 0 var(--accent); }
.langs { display: none; gap: .15rem; font-size: .88rem; }
.langs a { padding: .3rem .55rem; border-radius: 6px; text-decoration: none; color: var(--muted); }
.langs a[aria-current="true"] { color: var(--ink); font-weight: 600; background: var(--surface-2); }
.theme-btn { border: 1px solid var(--line); background: var(--surface); border-radius: 999px; padding: .45rem .9rem; cursor: pointer; font-size: .88rem; min-height: 2.5rem; }
.theme-btn:hover { background: var(--surface-2); }
.tools { display: none; }
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; padding: .55rem 1rem; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); min-height: 2.75rem; display: inline-flex; align-items: center; font-weight: 500; }
.menu summary::-webkit-details-marker { display: none; }
.menu-panel { position: absolute; right: 0; top: calc(100% + .5rem); width: min(86vw, 20rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); padding: .75rem; }
.menu-panel nav { display: grid; gap: .15rem; }
.menu-panel nav a { display: block; }
.menu-tools { margin-top: .75rem; padding-top: .75rem; border-top: 1px solid var(--line); display: grid; gap: .6rem; }
.menu-langs { display: flex; flex-wrap: wrap; gap: .25rem; }
.menu-langs a { padding: .4rem .7rem; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-size: .9rem; }
.menu-langs a[aria-current="true"] { background: var(--surface-2); font-weight: 600; }
@media (min-width: 62em) {
  .nav, .tools, .langs { display: flex; }
  .menu { display: none; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 3rem; padding: .7rem 1.4rem; border-radius: 999px; font-weight: 600; text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .18s, border-color .18s, transform .18s; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-2); color: var(--on-accent); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--surface-2); color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }

/* Sections */
.section { padding-block: clamp(2.5rem, 2rem + 4vw, 5rem); }
.section-alt { background: var(--surface-2); }
.hero { padding-block: clamp(2rem, 1rem + 5vw, 5rem) clamp(2.5rem, 2rem + 4vw, 5rem); background:
  radial-gradient(60rem 30rem at 85% -10%, color-mix(in srgb, var(--lava) 16%, transparent), transparent 60%),
  radial-gradient(50rem 28rem at 0% 0%, color-mix(in srgb, var(--aqua) 16%, transparent), transparent 60%); }
.hero-grid { display: grid; gap: 2rem; align-items: center; }
.hero-art { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--surface); }
.hero-art svg { display: block; width: 100%; height: auto; }
@media (min-width: 52em) { .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 3rem; } }
.page-head { padding-block: clamp(2rem, 1rem + 4vw, 4rem) 1rem; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: 1rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0; }
.crumbs li + li::before { content: "/"; margin-right: .4rem; color: var(--line); }
.crumbs a { color: var(--muted); }

.grid { display: grid; gap: 1.1rem; }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.4rem; box-shadow: var(--shadow); }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.icon { width: 5rem; height: 5rem; margin-bottom: 1rem; display: block; }
.step-num { display: inline-grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--accent); color: var(--on-accent); font: 700 1rem/1 var(--sans); margin-bottom: .8rem; }
.band { border-radius: var(--r-lg); padding: clamp(1.5rem, 1rem + 3vw, 3rem); color: #fff; background: linear-gradient(135deg, #073b4a, #0b6f84 55%, #b83a0c); position: relative; overflow: hidden; }
.band h2, .band p { color: #fff; }
.band .btn-primary { background: #fff; color: #7a2205; }
.band .btn-primary:hover { background: #ffe9dd; color: #7a2205; }
.band .btn-ghost { color: #fff; border-color: #fff; }
.band .btn-ghost:hover { background: rgba(255,255,255,.14); color: #fff; }
.split { display: grid; gap: 2rem; }
@media (min-width: 52em) { .split { grid-template-columns: 1fr 1fr; } }
.shop-item { display: grid; gap: 1.2rem; align-items: start; }
@media (min-width: 44em) { .shop-item { grid-template-columns: 7rem 1fr; } }
.shop-item .icon { width: 6rem; height: 6rem; margin: 0; }
.shop-item h2 { font-size: 1.6rem; }
.ticks { list-style: none; padding: 0; margin: .5rem 0 0; display: grid; gap: .45rem; }
.ticks li { padding-left: 1.6rem; position: relative; }
.ticks li::before { content: ""; position: absolute; left: .15rem; top: .62em; width: .6rem; height: .6rem; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #fff, var(--aqua)); box-shadow: 0 0 0 2px color-mix(in srgb, var(--aqua) 30%, transparent); }
.label-sm { font: 600 .8rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 1rem 0 .3rem; }
.prose { max-width: 44rem; }
.prose h2 { margin-top: 2rem; font-size: 1.5rem; }
.prose ul { padding-left: 1.2rem; }
.prose li { margin-bottom: .5rem; }
code.ck { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; background: var(--surface-2); padding: .1em .35em; border-radius: 5px; font-size: .92em; }

/* Form */
.form { display: grid; gap: 1.1rem; }
.field label { display: block; font-weight: 600; margin-bottom: .35rem; }
.field input, .field select, .field textarea { width: 100%; padding: .8rem .95rem; border-radius: 12px; border: 1.5px solid var(--control-edge); background: var(--surface); min-height: 3rem; }
.field textarea { min-height: 9rem; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
.hint { color: var(--muted); font-size: .92rem; margin: .3rem 0 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.status { min-height: 1.5rem; font-weight: 500; }
.status.ok { color: #0a7a3f; }
.status.bad { color: #b3200f; }
:root[data-theme="dark"] .status.ok { color: #6ee7a0; } :root[data-theme="dark"] .status.bad { color: #ff9b8c; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .status.ok { color: #6ee7a0; } :root:not([data-theme="light"]) .status.bad { color: #ff9b8c; } }

/* Footer */
.site-footer { margin-top: 3rem; border-top: 1px solid var(--line); background: var(--surface); padding-block: 2.5rem 7rem; }
.cols { display: grid; gap: 2rem; }
@media (min-width: 46em) { .cols { grid-template-columns: 1.4fr 1fr 1fr; } }
.foot-name { font: 600 1.25rem/1.2 var(--serif); margin: 0 0 .4rem; }
.site-footer h2 { font: 600 .8rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 .8rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.site-footer a { color: var(--ink); }
.foot-legal { margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: .75rem 1.5rem; align-items: center; justify-content: space-between; color: var(--muted); font-size: .92rem; }
.foot-legal p { margin: 0; }
.link-btn { background: none; border: 0; padding: .4rem 0; color: var(--aqua); text-decoration: underline; cursor: pointer; font-size: .92rem; }

/* Visit bar */
.visit-bar { margin-top: 2rem; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.1rem 1.25rem; background: linear-gradient(160deg, var(--surface-2), var(--surface)); position: relative; overflow: hidden; }
.visit-bar::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--lava), var(--aqua)); }
.vb-head { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin-bottom: .9rem; }
.vb-live { display: inline-flex; align-items: center; gap: .5rem; padding: .25rem .65rem; border: 1px solid var(--accent); border-radius: 999px; font: 700 .75rem/1 var(--sans); letter-spacing: .12em; }
.vb-dot { width: .6rem; height: .6rem; border-radius: 50%; background: #1fae63; animation: vb-pulse 2s ease-out infinite; }
@keyframes vb-pulse { 0% { box-shadow: 0 0 0 0 rgba(31,174,99,.5); } 100% { box-shadow: 0 0 0 .6rem rgba(31,174,99,0); } }
.vb-title { font-weight: 600; } .vb-host { color: var(--muted); font-size: .9rem; margin-left: auto; }
.vb-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr)); gap: .75rem; margin: 0; }
.vb-tile { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: .6rem .8rem; }
.vb-label { font-size: .78rem; color: var(--muted); } .vb-num { margin: 0; font: 600 1.5rem/1.2 var(--serif); }
.vb-sub { font-weight: 600; margin: 1rem 0 .4rem; font-size: .9rem; }
.vb-recent { list-style: none; padding: 0; margin: 0; display: grid; gap: .25rem; font-size: .92rem; }
.vb-row { display: flex; justify-content: space-between; gap: 1rem; border-bottom: 1px dashed var(--line); padding-block: .2rem; }
.vb-when, .vb-none { color: var(--muted); }

/* Consent bar: a bar at the bottom, never a wall. The page stays fully usable underneath. */
.consent { position: fixed; left: .75rem; right: .75rem; bottom: .75rem; z-index: 40; max-width: 40rem; margin-inline: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow), 0 0 0 1px color-mix(in srgb, var(--ink) 6%, transparent); padding: 1rem 1.1rem; }
.consent h2 { font: 600 1.05rem/1.3 var(--sans); margin: 0 0 .35rem; }
.consent p { margin: 0 0 .6rem; font-size: .8rem; line-height: 1.3; color: var(--muted); }
.consent .row { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.consent .btn { min-height: 2.75rem; padding: .5rem 1.1rem; }

.nf { text-align: center; padding-block: clamp(3rem, 2rem + 6vw, 7rem); }
.nf .big { font: 700 clamp(5rem, 3rem + 12vw, 10rem)/1 var(--serif); background: linear-gradient(135deg, var(--aqua), var(--lava)); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 0; }

/* SVG colour classes (inline style attributes are blocked by the CSP, so colours live here) */
.sg-a { stop-color: #d7f4f5; } .sg-b { stop-color: #5fc3cd; } .sg-c { stop-color: #0b6f84; }
.sl-a { stop-color: #ffd36b; } .sl-b { stop-color: #ff6a2b; } .sl-c { stop-color: #b3200f; }
.ss-a { stop-color: #cfeff0; } .ss-b { stop-color: #f6d9c4; }
.so-a { stop-color: #ffffff; } .so-b { stop-color: #8fdde3; } .so-c { stop-color: #0b6f84; }
.sw-a { stop-color: #0b6f84; } .sw-b { stop-color: #073b4a; }
.glass-line { stroke: var(--aqua); stroke-width: 2; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.glass-edge { stroke: var(--aqua); stroke-width: 2; }
.shine { fill: #ffffff; opacity: .55; }
:root[data-theme="dark"] .ss-a { stop-color: #0d3a46; } :root[data-theme="dark"] .ss-b { stop-color: #3a1a12; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .ss-a { stop-color: #0d3a46; } :root:not([data-theme="light"]) .ss-b { stop-color: #3a1a12; } }

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

/* Friendly toast from guard.js: appears only after someone tries to copy, select or drag, never on load. No darkening, no blocking. */
.cp-toast { position: fixed; left: 50%; top: 5rem; z-index: 200; transform: translateX(-50%); max-width: calc(100vw - 2rem); padding: .6rem 1.1rem; border-radius: 999px; background: #1c1c1c; color: #fff; font-size: .95rem; line-height: 1.3; box-shadow: 0 6px 22px rgba(0, 0, 0, .35); opacity: 0; pointer-events: none; transition: opacity .2s; }
.cp-toast.on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .cp-toast { transition: none; } }

/* Image lightbox (assets/js/lightbox.js): a native <dialog>, created on first click, so nothing moves on the page. */
.lb-src { cursor: zoom-in; }
.lb-src:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.lb { border: 0; padding: 0; margin: auto; width: min(94vw, 60rem); max-height: 92vh; background: transparent; overflow: visible; color: #fff; }
.lb::backdrop { background: rgba(0, 0, 0, .78); }
.lb-stage { display: flex; align-items: center; justify-content: center; max-height: 86vh; }
.lb-art { display: block; width: 100%; height: auto; max-height: 86vh; border-radius: 12px; background: var(--surface, #fff); box-shadow: 0 10px 40px rgba(0, 0, 0, .5); }
.lb-x, .lb-n { position: absolute; z-index: 2; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .6); background: rgba(20, 20, 20, .75); color: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.lb-x { top: -3.25rem; right: 0; font-size: 1.1rem; }
.lb-n { top: 50%; transform: translateY(-50%); }
.lb-prev { left: .4rem; } .lb-next { right: .4rem; }
.lb-x:focus-visible, .lb-n:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.lb [hidden] { display: none; }

/* Contact icon in the header: a lit 3D envelope that links to this site's own contact form. */
.contact-ico { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: radial-gradient(circle at 30% 22%, #ffc9a3, #e0501f 78%); box-shadow: inset 0 1.5px 1px rgba(255,255,255,.65), inset 0 -4px 6px rgba(0,0,0,.22), 0 3px 8px rgba(0,0,0,.28); transition: transform .15s; }
.contact-ico svg { width: 1.9rem; height: 1.9rem; display: block; filter: drop-shadow(0 1px 1px rgba(0,0,0,.25)); }
.contact-ico:hover { transform: translateY(-1px); }
.contact-ico[aria-current="page"] { box-shadow: inset 0 1.5px 1px rgba(255,255,255,.65), inset 0 -4px 6px rgba(0,0,0,.22), 0 0 0 3px var(--focus); }
@media (prefers-reduced-motion: reduce) { .contact-ico { transition: none; } }

/* Headings that were h3 and now follow the h1 as h2 (heading order) keep the h3 look. */
.h3 { font-size: 1.3rem; }
.card .h3 { margin-bottom: .4em; }

/* Visitor globe (assets/js/globe.js): a fixed square box, so nothing shifts when the globe loads. */
.vb-globe-wrap { display: flex; justify-content: center; margin: 1rem 0; }
.vb-globe { position: relative; display: block; width: min(100%, 18rem); aspect-ratio: 1; padding: 0; border: 0; border-radius: 50%; background: none; cursor: zoom-in; color: inherit; }
.vb-globe img, .vbg-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.vb-globe.vbg-live img { visibility: hidden; }
.vbg-canvas { touch-action: pan-y; cursor: grab; }
.vb-globe:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.vb-globe-on .vb-sub, .vb-globe-on .vb-recent { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.vbg-dlg { border: 0; padding: 0; margin: auto; background: transparent; overflow: visible; width: min(90vw, 80vh, 44rem); }
.vbg-dlg::backdrop { background: rgba(0, 0, 0, .78); }
.vbg-host { position: relative; width: 100%; aspect-ratio: 1; }
.vbg-still { width: 100%; height: 100%; display: block; }
.vbg-x { position: absolute; top: -3.25rem; right: 0; z-index: 2; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .6); background: rgba(20, 20, 20, .75); color: #fff; font-size: 1.1rem; line-height: 1; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.vbg-x:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }

/* Pictures (Blender renders): real <picture> with WebP and a JPG fallback. The box is reserved with aspect-ratio, so nothing moves while it loads. */
.photo { margin: 0; }
.photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; box-shadow: 0 8px 28px rgba(0, 0, 0, .18); -webkit-user-drag: none; user-select: none; }
.photo-wrap { padding-block: clamp(1rem, 2vw, 2rem) 0; }
@media (min-width: 52rem) { .photo-wide img { aspect-ratio: 16 / 9; } .photo-wide { max-width: 60rem; margin-inline: auto; } }
.hero-art .photo { max-width: 34rem; margin-inline: auto; }
.hero-grid > .photo { max-width: 30rem; margin-inline: auto; }
img.lb-src { cursor: zoom-in; }
img.lb-src:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
img.lb-art { width: auto; max-width: 100%; height: auto; max-height: 86vh; margin: auto; object-fit: contain; -webkit-user-drag: none; user-select: none; }

/* Header on wide screens: keep nav, language and theme labels on one line now that the contact icon sits in the row. */
.nav a, .langs a, .lang-switch a, .theme-btn, .seg { white-space: nowrap; }
@media (min-width: 62rem) { .header-row { gap: .6rem; } }

/* Reserve the picture box before the file arrives so the hero cannot move the page. */
.photo picture { display: block; }
.photo { aspect-ratio: 4 / 3; }
@media (min-width: 52rem) { .photo-wide { aspect-ratio: 16 / 9; } }
.hero-grid > .photo, .hero-art .photo { width: 100%; }
