/* VanEngelandt.NET: black and gold theme shared by every page */

/* One typeface everywhere: Archivo (SIL OFL, self-hosted). Its width axis gives
   wide, heavy headlines like stage and touring branding, and a neutral body. */
@font-face {
    font-family: 'Archivo'; font-style: normal; font-display: swap;
    font-weight: 100 900; font-stretch: 62% 125%;
    src: url(../fonts/archivo-latin-ext-wdth-normal.woff2) format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: 'Archivo'; font-style: normal; font-display: swap;
    font-weight: 100 900; font-stretch: 62% 125%;
    src: url(../fonts/archivo-latin-wdth-normal.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Archivo'; font-style: normal; font-display: swap;
    font-weight: 100 900; font-stretch: 62% 125%;
    src: url(../fonts/archivo-vietnamese-wdth-normal.woff2) format('woff2');
    unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* Thai has no Archivo glyphs: Noto Sans Thai matches its proportions and also has a width axis */
@font-face {
    font-family: 'Noto Sans Thai'; font-style: normal; font-display: swap;
    font-weight: 100 900; font-stretch: 62.5% 100%;
    src: url(../fonts/noto-sans-thai-thai-wdth-normal.woff2) format('woff2');
    unicode-range: U+02D7, U+0303, U+0331, U+0E01-0E5B, U+200C-200D, U+25CC;
}
:root {
    --black: #050505;
    --ink: #0c0b09;
    --panel: #12100c;
    --line: rgba(201, 164, 92, 0.18);
    --line-soft: rgba(255, 255, 255, 0.07);
    --ivory: #f4efe4;
    --text: #e9e3d6;
    --muted: #9d968a;
    --gold: #c9a45c;
    --gold-light: #ecd9a6;
    --gold-deep: #8a6a2c;
    --gold-grad: linear-gradient(120deg, #8a6a2c 0%, #e8cf8f 32%, #c9a45c 52%, #f3e3b3 70%, #9b7835 100%);
    --radius: 4px;
    --max: 1180px;
    --font: 'Archivo', 'Noto Sans Thai', 'Helvetica Neue', Arial, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Noto Sans CJK SC', system-ui, sans-serif;
    --display: var(--font);
    --sans: var(--font);
    --wide: 125%;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; background: var(--black); }
body {
    margin: 0; color: var(--text);   /* the page colour is on html, so the fixed light rig can sit behind the content */
    font-family: var(--sans); font-weight: 400; line-height: 1.75; letter-spacing: 0.005em;
    -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
/* 3D transforms push content sideways mid-animation; never let that widen the page */
html, body { overflow-x: clip; }
main { overflow-x: clip; }
a { color: inherit; }
img, svg, canvas { display: block; max-width: 100%; }
[hidden] { display: none !important; }
::selection { background: var(--gold); color: var(--black); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .container { padding: 0 32px; } }

/* ---------- Type ---------- */
h1, h2, h3 { font-family: var(--display); font-stretch: var(--wide); font-weight: 800; line-height: 1; margin: 0; color: var(--ivory); letter-spacing: -0.01em; }
h1, h2 { text-transform: uppercase; hyphens: manual; overflow-wrap: normal; }
h2 { font-size: clamp(1.45rem, 4.6vw, 3.3rem); }
h3 { font-weight: 700; letter-spacing: 0; }
h1 em, h2 em { font-style: normal; }
/* Long Dutch and French words must fit a phone without breaking mid-word */
@media (max-width: 520px) { h1, h2 { font-stretch: 100%; } }
.gold-text {
    background: var(--gold-grad); background-size: 220% auto;
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: sheen 9s ease-in-out infinite alternate;
}
h1 em, h2 em { background: var(--gold-grad); background-size: 220% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: sheen 9s ease-in-out infinite alternate; padding-right: .06em; }
@keyframes sheen { from { background-position: 0% center; } to { background-position: 100% center; } }

.eyebrow {
    display: inline-flex; align-items: center; gap: 14px;
    font-size: 0.72rem; font-weight: 600; font-stretch: var(--wide); letter-spacing: 0.26em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::before { content: ""; width: 40px; height: 1px; background: var(--gold); }
.lead { color: var(--muted); font-size: 1.08rem; font-weight: 300; }

.rule { height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); border: 0; margin: 0; }

/* ---------- Buttons ---------- */
.btn {
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
    padding: 16px 30px; border-radius: var(--radius); overflow: hidden;
    font-size: 0.76rem; font-weight: 700; font-stretch: var(--wide); letter-spacing: 0.16em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
    transition: transform .35s ease, box-shadow .35s ease, color .35s ease, background .35s ease, border-color .35s ease;
    cursor: pointer; border: 0; font-family: var(--sans);
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-gold { background: var(--gold-grad); background-size: 200% auto; color: #120d04; box-shadow: 0 14px 40px -18px rgba(201, 164, 92, .9); }
.btn-gold:hover { background-position: 100% center; transform: translateY(-2px); box-shadow: 0 20px 50px -18px rgba(236, 217, 166, .9); }
.btn-line { border: 1px solid var(--line); color: var(--gold-light); background: rgba(201, 164, 92, 0.04); }
.btn-line:hover { border-color: var(--gold); background: rgba(201, 164, 92, 0.1); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
    position: fixed; inset: 0 0 auto 0; z-index: 60;
    transition: background .4s ease, border-color .4s ease, backdrop-filter .4s ease;
    border-bottom: 1px solid transparent;
}
.site-header.scrolled, .site-header.solid {
    background: rgba(5, 5, 5, 0.82); border-bottom-color: var(--line);
    backdrop-filter: blur(16px) saturate(1.2); -webkit-backdrop-filter: blur(16px) saturate(1.2);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 78px; }
.site-header .container { max-width: 1400px; }
.brand-link { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand-link img { width: 42px; height: auto; flex: none; }
/* The same VANENGELANDT wordmark as the hero, next to the logo mark */
.brand-link img.brand-word { width: clamp(118px, 42vw, 220px); min-width: 0; flex: 0 1 auto; }
.nav-links { display: none; align-items: center; gap: clamp(18px, 2vw, 30px); }
.nav-links a:not(.btn) {
    position: relative; text-decoration: none; color: var(--text); font-size: 0.74rem; font-weight: 600; font-stretch: var(--wide);
    letter-spacing: 0.12em; text-transform: uppercase; padding: 6px 0; white-space: nowrap;
}
.nav-links a:not(.btn)::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold);
    transform: scaleX(0); transform-origin: right; transition: transform .35s ease;
}
.nav-links a:not(.btn):hover::after { transform: scaleX(1); transform-origin: left; }
.nav-links .btn { padding: 12px 20px; }
/* Shop: a slow gold breathe with a soft triple strobe pulse, every change faded */
.shop-link { animation: shop-pulse 6s ease-in-out infinite; }
@keyframes shop-pulse {
    0%, 100% { color: var(--gold); text-shadow: 0 0 0 transparent; }
    30% { color: var(--gold); text-shadow: 0 0 10px rgba(201, 164, 92, .55); }
    55% { color: var(--gold); text-shadow: 0 0 2px rgba(201, 164, 92, .2); }
    62%, 72%, 82% { color: #fff6e0; text-shadow: 0 0 6px #fff, 0 0 16px rgba(255, 220, 150, .9), 0 0 30px rgba(201, 164, 92, .6); }
    67%, 77%, 87% { color: var(--gold); text-shadow: 0 0 4px rgba(201, 164, 92, .3); }
}
@media (prefers-reduced-motion: reduce) { .shop-link { animation: none; color: var(--gold); } }
.nav-right { display: flex; align-items: center; gap: 14px; }
@media (min-width: 1100px) { .nav-links { display: flex; } }
/* Room is tight while the full menu shows: a smaller wordmark */
@media (min-width: 1100px) and (max-width: 1379px) { .brand-link img.brand-word { width: 140px; } .nav-links { gap: 16px; } }

/* Language picker: the current code in the header, the six languages in a drop-down */
.lang-pick { position: relative; }
.lang-current {
    display: inline-flex; align-items: center; gap: 6px; height: 44px; padding: 0 12px 0 14px; cursor: pointer;
    background: transparent; border: 1px solid var(--line); border-radius: var(--radius); color: var(--gold-light);
    font: 700 0.72rem/1 var(--sans); font-stretch: var(--wide); letter-spacing: 0.12em; transition: border-color .25s, color .25s;
}
.lang-current svg { width: 14px; height: 14px; transition: transform .25s; }
.lang-current:hover, .lang-current[aria-expanded="true"] { border-color: var(--gold); color: var(--ivory); }
.lang-current[aria-expanded="true"] svg { transform: rotate(180deg); }
.lang-menu {
    position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 196px; padding: 6px;
    display: grid; background: rgba(8, 7, 5, 0.97); border: 1px solid var(--line); border-radius: var(--radius);
    box-shadow: 0 24px 50px -20px rgba(0, 0, 0, .9), 0 0 0 1px rgba(201, 164, 92, .06);
    animation: lang-drop .2s ease-out;
}
@keyframes lang-drop { from { opacity: 0; transform: translateY(-6px); } }
.lang-menu button {
    display: flex; align-items: center; gap: 14px; width: 100%; padding: 11px 12px; text-align: left; cursor: pointer;
    background: transparent; border: 0; border-radius: 2px; color: var(--text); font: 500 0.92rem/1.2 var(--sans); white-space: nowrap;
}
.lang-menu .code { width: 22px; font-size: 0.66rem; font-weight: 700; font-stretch: var(--wide); letter-spacing: 0.1em; color: var(--muted); }
.lang-menu button:hover, .lang-menu button:focus-visible { background: rgba(201, 164, 92, .1); color: var(--ivory); outline: 0; }
.lang-menu button.active { color: var(--gold-light); }
.lang-menu button.active .code { color: var(--gold); }
.lang-menu button.active::after { content: ''; margin-left: auto; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 10px var(--gold); }

.menu-btn {
    width: 44px; height: 44px; display: grid; place-items: center; border-radius: var(--radius);
    background: transparent; border: 1px solid var(--line); color: var(--gold-light); cursor: pointer;
}
.menu-btn svg { width: 20px; height: 20px; }
@media (min-width: 1100px) { .menu-btn { display: none; } }
.mobile-menu { display: none; padding: 8px 16px 22px; background: rgba(5, 5, 5, 0.96); border-top: 1px solid var(--line); }
.mobile-menu.open { display: block; }
.mobile-menu a {
    display: block; padding: 14px 4px; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line-soft);
    font-size: 0.8rem; font-weight: 600; font-stretch: var(--wide); letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap;
}
.mobile-menu a:last-child { border-bottom: 0; }
@media (min-width: 1100px) { .mobile-menu, .mobile-menu.open { display: none; } }
@media (max-width: 420px) {
    .brand-link img { width: 34px; }
    .lang-current { padding: 0 9px 0 11px; }
    .nav-right { gap: 8px; }
}
@media (max-width: 600px) { .eyebrow { justify-content: center; text-align: center; } .eyebrow::before { display: none; } }

/* ---------- Sections ---------- */
.section { position: relative; padding: 130px 0; }
.section-head { max-width: 760px; margin: 0 auto 70px; text-align: center; }
.section-head h2 { margin: 22px 0 20px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 44px 0; color: var(--muted); font-size: 0.85rem; }
.footer-inner { display: flex; flex-wrap: wrap; gap: 18px 30px; align-items: center; justify-content: space-between; }
.footer-inner p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 24px; }
.footer-links a { color: var(--muted); text-decoration: none; font-weight: 600; font-stretch: var(--wide); letter-spacing: 0.1em; text-transform: uppercase; font-size: 0.7rem; white-space: nowrap; }
.footer-links a:hover { color: var(--gold-light); }

/* ---------- Language switch crossfade (js/i18n.js toggles .lang-out) ---------- */
main, .site-footer, .nav-links, .mobile-menu, .nav .btn-line { transition: opacity .32s ease, filter .32s ease; }
.lang-out main, .lang-out .site-footer, .lang-out .nav-links, .lang-out .mobile-menu, .lang-out .nav .btn-line { opacity: 0; filter: blur(6px); }

/* ---------- 3D scroll engine (js/scroll3d.js sets --p from 0 to 1) ---------- */
.depth { perspective: 1400px; perspective-origin: 50% 40%; }
[data-3d] { --p: 1; will-change: transform, opacity; transform-style: preserve-3d; }
.js [data-3d] { --p: 0; }
/* --q is 1 - --p: how far the element still has to travel */
[data-3d] { --q: calc(1 - var(--p)); }
[data-3d="rise"] {
    opacity: calc(var(--p) * 1.6);
    transform-origin: 50% 100%;
    transform: translate3d(0, calc(var(--q) * 220px), calc(var(--q) * -1000px)) rotateX(calc(var(--q) * 70deg));
}
[data-3d="flip-l"], [data-3d="flip-r"] { opacity: calc(var(--p) * 1.5); transform-origin: center; }
[data-3d="flip-l"] { transform: translate3d(calc(var(--q) * -220px), calc(var(--q) * 140px), calc(var(--q) * -600px)) rotateY(calc(var(--q) * 88deg)) rotateX(calc(var(--q) * 18deg)) rotateZ(calc(var(--q) * -6deg)); }
[data-3d="flip-r"] { transform: translate3d(calc(var(--q) * 220px), calc(var(--q) * 140px), calc(var(--q) * -600px)) rotateY(calc(var(--q) * -88deg)) rotateX(calc(var(--q) * 18deg)) rotateZ(calc(var(--q) * 6deg)); }
[data-3d="flip-up"] { opacity: calc(var(--p) * 1.5); transform-origin: 50% 100%; transform: translate3d(0, calc(var(--q) * 160px), calc(var(--q) * -500px)) rotateX(calc(var(--q) * -95deg)); }
[data-3d="swing"] { opacity: calc(var(--p) * 1.5); transform-origin: 0% 50%; transform: translateZ(calc(var(--q) * -420px)) rotateY(calc(var(--q) * 100deg)); }
[data-3d="zoom"] { opacity: calc(var(--p) * 1.5); transform: translate3d(0, calc(var(--q) * 120px), calc(var(--q) * -1600px)) rotateX(calc(var(--q) * 48deg)); }

/* A gold rule that draws itself under each section title */
.section-head::after {
    content: ""; display: block; width: 140px; height: 2px; margin: 34px auto 0; background: var(--gold-grad);
    transform: scaleX(var(--p, 1)); transform-origin: center; box-shadow: 0 0 18px rgba(236, 217, 166, .45);
}

/* Giant outlined words that slide past in depth behind a section */
.ghost {
    position: absolute; left: 0; top: 70px; z-index: 0; pointer-events: none; white-space: nowrap;
    font-family: var(--display); font-stretch: var(--wide); font-weight: 900; text-transform: uppercase;
    font-size: clamp(5rem, 19vw, 17rem); line-height: 1; letter-spacing: -0.02em;
    color: transparent; -webkit-text-stroke: 1px rgba(201, 164, 92, .2);
    transform: translate3d(calc(var(--g, 0) * 1px), 0, 0);
}
.ghost-host { position: relative; overflow: hidden; }
.ghost-host > .container { position: relative; z-index: 1; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
    .js [data-3d] { --p: 1; }
    [data-3d] { opacity: 1 !important; transform: none !important; }
    .ghost { transform: none; }
}

/* ---------- Scripts beyond Latin ---------- */
html:lang(vi) h1, html:lang(vi) h2 { line-height: 1.12; }
/* Tracking pulls Thai vowel and tone marks away from their letters */
html:lang(th) body * { letter-spacing: 0 !important; }
html:lang(th) h1, html:lang(th) h2, html:lang(th) h3 { line-height: 1.4; }
html:lang(th) body { line-height: 1.85; }
html:lang(zh) h1, html:lang(zh) h2, html:lang(zh) h3 { line-height: 1.2; letter-spacing: 0.04em; }
html:lang(zh) body { letter-spacing: 0.02em; }

/* ---------- Selected work: a pinned 3D gallery that travels sideways as you scroll ---------- */
.work { position: relative; padding: 120px 0; background: linear-gradient(180deg, transparent, rgba(12, 11, 9, .55) 30%, rgba(12, 11, 9, .55) 70%, transparent); }
.work-head { display: grid; gap: 18px 60px; align-items: end; margin-bottom: 44px; }
@media (min-width: 900px) { .work-head { grid-template-columns: 1fr minmax(0, 420px); } }
.work-head h2 { margin-top: 18px; }
.work-head .lead { margin: 0 0 18px; font-size: 1rem; }
.work-progress { display: flex; align-items: center; gap: 18px; font: 700 .72rem/1 var(--sans); font-stretch: var(--wide); letter-spacing: .14em; color: var(--muted); font-variant-numeric: tabular-nums; }
.work-count b { color: var(--gold-light); font-weight: 800; }
.work-bar { position: relative; flex: 1; height: 1px; background: var(--line); }
.work-bar i { position: absolute; inset: 0; background: var(--gold-grad); transform-origin: left; transform: scaleX(var(--wp, 0)); box-shadow: 0 0 12px rgba(236, 217, 166, .5); }

.work-track {
    --card: min(84vw, 980px);
    list-style: none; margin: 0; display: flex; gap: clamp(18px, 3vw, 44px);
    padding: 10px max(16px, calc((100vw - var(--card)) / 2)) 30px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.work-track::-webkit-scrollbar { display: none; }
.shot { flex: none; width: var(--card); scroll-snap-align: center; transform-style: preserve-3d; }
.shot-open {
    position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: zoom-in; background: #000;
    aspect-ratio: 16 / 10; overflow: hidden; border-radius: var(--radius);
    box-shadow: 0 0 0 1px var(--line), 0 50px 90px -40px rgba(0, 0, 0, .95), 0 30px 80px -50px rgba(201, 164, 92, var(--glow, .35));
}
.shot-open img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06) translateX(var(--px, 0)); transition: transform .9s cubic-bezier(.2, .7, .2, 1); filter: brightness(var(--b, 1)) saturate(1.05); }
.shot-open:hover img, .shot-open:focus-visible img { transform: scale(1.1) translateX(var(--px, 0)); }
/* A thin gold frame and a soft sheen, like light catching a lens */
.shot-open::after {
    content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(236, 217, 166, var(--edge, .12));
    background: linear-gradient(115deg, transparent 35%, rgba(255, 240, 205, .10) 48%, transparent 60%) no-repeat, linear-gradient(0deg, rgba(5, 5, 5, .55), transparent 40%);
    background-size: 250% 100%, 100% 100%; background-position: var(--sheen, 100%) 0, 0 0;
}
.shot-open:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
.shot figcaption { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; align-items: baseline; padding: 22px 4px 0; opacity: var(--co, 1); }
.shot-num { grid-row: span 2; font: 800 2.2rem/1 var(--display); font-stretch: var(--wide); background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.shot-cat { font-size: .68rem; font-weight: 700; font-stretch: var(--wide); letter-spacing: .24em; text-transform: uppercase; color: var(--gold); }
.shot-title { color: var(--ivory); font-size: clamp(.98rem, 1.6vw, 1.15rem); font-weight: 500; line-height: 1.4; }
.shot .credit { grid-column: 2; margin-top: 4px; color: var(--muted); font-size: .7rem; }

/* Pinned mode (js/work.js): the stage sticks and the strip travels in depth */
.work.pinned { height: calc(100svh + (var(--n) - 1) * 58svh); padding: 0; }
.work.pinned .work-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding-top: 70px; }
.work.pinned .work-head { margin-bottom: clamp(18px, 3.5vh, 40px); }
.work.pinned .work-track {
    --card: min(84vw, 1040px, calc((100svh - 330px) * 1.6));
    overflow: visible; scroll-snap-type: none; padding: 0; perspective: 1700px; perspective-origin: 50% 45%;
    transform: translate3d(var(--x, 0), 0, 0);
}
.work.pinned .shot { position: relative; z-index: var(--z, 1); transform-origin: var(--ox, 50%) 50%; transform: rotateY(var(--ry, 0deg)) translateZ(var(--tz, 0)) scale(var(--s, 1)); }
@media (max-width: 899px) {
    .work.pinned .work-head .lead { display: none; }
    .work.pinned .work-track { --card: min(84vw, calc((100svh - 300px) * 1.6)); }
}

/* Lightbox */
.lightbox { padding: 0; border: 0; max-width: none; max-height: none; width: 100%; height: 100%; background: rgba(3, 3, 3, .96); color: var(--text); }
.lightbox::backdrop { background: rgba(0, 0, 0, .8); }
.lightbox[open] { display: grid; place-items: center; animation: lb-in .35s ease-out; }
@keyframes lb-in { from { opacity: 0; } }
.lightbox figure { margin: 0; display: grid; gap: 18px; justify-items: center; padding: 64px 16px 24px; max-width: 100%; }
.lightbox img { max-width: min(92vw, 1600px); max-height: calc(100svh - 190px); width: auto; height: auto; border-radius: var(--radius); box-shadow: 0 0 0 1px var(--line), 0 40px 120px -30px rgba(201, 164, 92, .35); }
.lightbox figcaption { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: center; gap: 6px 16px; text-align: center; }
.lightbox .shot-num { font-size: 1.4rem; }
.lb-btn {
    position: absolute; width: 48px; height: 48px; display: grid; place-items: center; cursor: pointer;
    background: rgba(5, 5, 5, .6); border: 1px solid var(--line); border-radius: 50%; color: var(--gold-light); transition: border-color .25s, color .25s;
}
.lb-btn:hover { border-color: var(--gold); color: var(--ivory); }
.lb-btn svg { width: 20px; height: 20px; }
.lb-close { top: calc(16px + env(safe-area-inset-top, 0px)); right: 16px; }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
@media (max-width: 640px) { .lb-prev, .lb-next { top: auto; bottom: 20px; transform: none; } .lb-prev { left: calc(50% - 60px); } .lb-next { right: calc(50% - 60px); } }
