/* Hoya Hut — public site styles.
   Dark "collector's gallery" look: deep greens, cream text, brass accents,
   Playfair Display headings and Poppins text (carried over from the original site). */

@font-face { font-family: "Playfair Display"; src: url("../fonts/playfair-display-latin.woff2") format("woff2"); font-weight: 400 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --bg: #0b130f;          /* page */
  --bg-band: #101b15;     /* alternate section */
  --surface: #15231c;     /* cards */
  --surface-2: #1b2c23;   /* inputs, raised */
  --line: rgb(236 230 214 / 12%);
  --line-strong: rgb(236 230 214 / 22%);
  --text: #ece6d6;        /* cream */
  --muted: #a7b2a6;
  --brass: #c8a96b;
  --brass-bright: #dcc08a;
  --leaf: #3d9b74;
  --leaf-dark: #2c7a5a;
  --blush: #e0a3b0;
  --radius: 12px;
  --radius-lg: 18px;
  --shadow: 0 20px 50px rgb(0 0 0 / 35%);
  --wrap: 1200px;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); color-scheme: dark; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.7 var(--sans); }
img { max-width: 100%; display: block; }
a { color: var(--brass-bright); text-underline-offset: 3px; }
a:hover { color: #fff; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; margin: 0 0 .5em; color: #f6f1e4; letter-spacing: -.005em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 3.8vw, 2.9rem); }
h3 { font-size: 1.3rem; }
h1 em, h2 em { font-style: italic; color: var(--brass-bright); }
p { margin: 0 0 1em; }
strong { color: #f6f1e4; font-weight: 600; }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tight { padding: clamp(44px, 6vw, 80px) 0; }
.bg-sage { background: var(--bg-band); border-block: 1px solid var(--line); }
.bg-forest { background: radial-gradient(1200px 500px at 80% 0%, rgb(61 155 116 / 14%), transparent 60%), #08100c; border-block: 1px solid var(--line); }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 500 .74rem/1 var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--brass); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .8; }
.center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .8; }
.lede { font-size: 1.1rem; color: var(--muted); max-width: 60ch; }
.center { text-align: center; }
.center .lede { margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--surface); color: var(--text); padding: 10px 14px; border-radius: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 26px; border-radius: 999px; font: 500 .9rem/1 var(--sans); letter-spacing: .04em; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.btn-primary, .btn-light { background: var(--brass); color: #16110a; }
.btn-primary:hover, .btn-light:hover { background: var(--brass-bright); color: #16110a; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--brass); color: var(--brass-bright); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.topbar { background: #070d0a; color: var(--muted); font-size: .76rem; letter-spacing: .08em; border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; justify-content: center; gap: 28px; padding: 8px 0; flex-wrap: wrap; text-align: center; }
@media (max-width: 560px) { .topbar span + span { display: none; } }
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(11 19 15 / 86%); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #f6f1e4; }
.brand img { width: 50px; height: 50px; }
.brand span { font: 500 1.45rem/1 var(--serif); }
.brand small { display: block; font: 500 .66rem/1.2 var(--sans); color: var(--brass); letter-spacing: .2em; text-transform: uppercase; margin-top: 6px; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { padding: 10px 14px; border-radius: 999px; text-decoration: none; color: var(--muted); font-weight: 500; font-size: .92rem; }
.nav a:hover { color: var(--text); }
.nav a[aria-current="page"] { color: var(--brass-bright); }
.nav .btn { margin-left: 10px; min-height: 42px; padding: 0 22px; color: #16110a; }
.nav .btn[aria-current="page"], .nav .btn:hover { background: var(--brass-bright); color: #16110a; }
.menu-toggle { display: none; background: none; border: 0; width: 48px; height: 48px; border-radius: 12px; cursor: pointer; color: var(--text); }
.menu-toggle svg { width: 26px; height: 26px; }
@media (max-width: 860px) {
  .menu-toggle { display: inline-grid; place-items: center; }
  .nav { position: absolute; inset: 100% 0 auto; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px 16px 18px; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 12px; border-radius: 10px; }
  .nav .btn { margin: 8px 0 0; }
  .brand small { display: none; }
}

/* Hero */
.hero { position: relative; isolation: isolate; min-height: min(86vh, 780px); display: grid; align-items: center; overflow: hidden; background: #050907; }
.hero picture, .hero picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgb(5 9 7 / 96%) 0%, rgb(5 9 7 / 82%) 34%, rgb(5 9 7 / 25%) 64%, rgb(5 9 7 / 10%) 100%),
  linear-gradient(0deg, rgb(11 19 15 / 100%) 0%, rgb(11 19 15 / 0%) 22%); }
.hero .wrap { padding: 110px 0 120px; }
.hero h1 { max-width: 13ch; }
.hero p { font-size: clamp(1.02rem, 1.8vw, 1.18rem); max-width: 46ch; color: #cfd3c6; margin-bottom: 1.8em; }
@media (max-width: 700px) {
  .hero { align-items: end; min-height: 88vh; }
  .hero picture img { object-position: 60% 30%; }
  .hero::after { background: linear-gradient(180deg, rgb(5 9 7 / 20%) 0%, rgb(5 9 7 / 55%) 40%, rgb(5 9 7 / 96%) 78%, var(--bg) 100%); }
  .hero .wrap { padding: 160px 0 56px; }
}

/* Split hero: headline left, mosaic of Jenniffer's plants right */
.hero-split { min-height: auto; display: block; background: radial-gradient(1000px 600px at 75% 30%, rgb(61 155 116 / 16%), transparent 60%), #070d0a; }
.hero-split::after { content: none; }
.hero-split .wrap { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; padding: clamp(56px, 7vw, 96px) 0 clamp(64px, 8vw, 110px); }
.hero-mosaic { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: min(78vh, 680px); }
.hero-mosaic figure { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #0d1712; }
.hero-mosaic .tall { grid-row: span 2; }
.hero-mosaic img { width: 100%; height: 100%; object-fit: cover; }
.hero-mosaic figcaption, .gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 16px 14px; background: linear-gradient(0deg, rgb(5 9 7 / 88%), transparent); font: italic 400 1rem/1.2 var(--serif); color: #f6f1e4; }
@media (max-width: 900px) {
  .hero-split .wrap { grid-template-columns: 1fr; padding-top: 40px; }
  .hero-mosaic { height: 112vw; max-height: 620px; }
}

/* Collection gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 300px; gap: 14px; }
.gallery figure { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #0d1712; }
.gallery .g-wide { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { font: 500 .72rem/1.3 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--brass-bright); padding: 40px 18px 16px; }
.gallery figcaption span { display: block; font: italic 400 1.3rem/1.15 var(--serif); letter-spacing: 0; text-transform: none; color: #f6f1e4; margin-bottom: 4px; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; } }
@media (max-width: 520px) { .gallery { grid-auto-rows: 200px; gap: 10px; } .gallery figcaption span { font-size: 1.05rem; } }
.photo-stack.single { padding: 0; }
.photo-stack.single img { aspect-ratio: 3 / 4; }

/* "WYSIWYG · Real photos · No AI · No color adjustments" seal */
.seal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 0; margin: 26px 0 0; font: 500 .7rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--brass-bright); }
.seal span { padding: 0 12px; border-left: 1px solid rgb(200 169 107 / 45%); }
.seal span:first-child { padding: 8px 12px; margin-right: 12px; border: 1px solid var(--brass); border-radius: 999px; color: #16110a; background: var(--brass); }
.seal span:nth-child(2) { border-left: 0; padding-left: 0; }
.page-head .seal { margin-top: 22px; }
@media (max-width: 560px) {
  .seal { gap: 10px 14px; letter-spacing: .14em; }
  .seal span, .seal span:nth-child(2) { border-left: 0; padding: 0; }
  .seal span:first-child { padding: 8px 12px; margin-right: 0; flex-basis: auto; }
  .seal span:not(:first-child)::before { content: "✓ "; color: var(--brass); }
  .topbar { font-size: .68rem; letter-spacing: .03em; }
}
.topbar strong { color: var(--brass-bright); font-weight: 600; letter-spacing: .14em; }

.promise { border-bottom: 1px solid var(--line); }
.promise ul { list-style: none; margin: 0; padding: 28px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px 32px; }
.promise li { display: flex; gap: 14px; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.promise strong { display: block; font-weight: 500; letter-spacing: .02em; }
.icon { flex: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgb(200 169 107 / 40%); color: var(--brass); display: grid; place-items: center; }
.icon svg { width: 20px; height: 20px; }

/* Split layouts */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.reverse > :first-child { order: 0; } }
.photo-stack { position: relative; padding: 0 12% 14% 0; }
.photo-stack img { border-radius: var(--radius-lg); box-shadow: var(--shadow); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; }
.photo-stack img + img { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 3 / 4; border: 6px solid var(--bg); }
.bg-sage .photo-stack img + img { border-color: var(--bg-band); }
.ticks { list-style: none; padding: 0; margin: 0 0 1.8em; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 14px; color: var(--muted); }
.ticks li::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 10px; transform: rotate(45deg); background: var(--brass); }

/* Plant cards */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 36px; }
.section-head h2 { margin: 0; }
.plant-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 26px; }
.plant { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: border-color .2s, transform .2s; }
.plant:hover { border-color: rgb(200 169 107 / 45%); transform: translateY(-2px); }
.plant-photo { position: relative; aspect-ratio: 4 / 5; background: #0d1712; }
.plant-photo img { width: 100%; height: 100%; object-fit: cover; }
.plant-photo .nophoto { position: absolute; inset: 0; display: grid; place-items: center; }
.plant-photo .nophoto img { width: 42%; height: auto; opacity: .22; }
.badge { position: absolute; top: 14px; left: 14px; padding: 7px 12px; border-radius: 999px; font: 500 .68rem/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; background: rgb(5 9 7 / 72%); color: var(--brass-bright); border: 1px solid rgb(200 169 107 / 45%); backdrop-filter: blur(6px); }
.badge.soon { color: var(--blush); border-color: rgb(224 163 176 / 45%); }
.plant-body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.plant-body h3 { margin: 0; font-size: 1.25rem; }
.plant-meta { margin: 0; color: var(--muted); font-size: .85rem; }
.plant-meta .code { white-space: nowrap; letter-spacing: .06em; color: #7f8b80; }
.plant-tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.plant-tags li { font-size: .74rem; padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--muted); }
.plant-foot { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price { font: 500 1.4rem/1 var(--serif); color: var(--brass-bright); }
.plant-foot .btn { min-height: 40px; padding: 0 18px; font-size: .84rem; }
.empty { grid-column: 1 / -1; border: 1px solid var(--line); background: var(--surface); border-radius: var(--radius-lg); padding: 48px 24px; text-align: center; color: var(--muted); }
.empty h3 { font-size: 1.6rem; }

.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { min-height: 42px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; font: 500 .86rem/1 var(--sans); color: var(--muted); cursor: pointer; }
.chip:hover { color: var(--text); }
.chip[aria-pressed="true"] { background: var(--brass); color: #16110a; border-color: var(--brass); }

/* Series */
.series { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.series article { background: #0c1510; padding: 34px 28px; }
.series .mark { font: 400 2.2rem/1 var(--serif); color: var(--brass); margin-bottom: 18px; }
.series h3 { margin-bottom: 4px; }
.series .alt { font-style: italic; font-family: var(--serif); color: var(--blush); font-size: .95rem; margin-bottom: 12px; }
.series p:last-child { margin: 0; color: var(--muted); }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 22px; }
.review { background: var(--surface); border-radius: var(--radius-lg); padding: 30px; border: 1px solid var(--line); margin: 0; display: flex; flex-direction: column; }
.review .stars { color: var(--brass); letter-spacing: 4px; font-size: .85rem; margin-bottom: 14px; }
.review blockquote { margin: 0 0 18px; color: #d9d6c8; font: italic 400 1.06rem/1.6 var(--serif); }
.review figcaption { margin-top: auto; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }

/* Facts / cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 22px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; }
.card .icon { margin-bottom: 18px; }
.card p:last-child { margin: 0; color: var(--muted); }

/* CTA band */
.cta { background: linear-gradient(120deg, #13241b, #0d1813); border: 1px solid rgb(200 169 107 / 30%); border-radius: var(--radius-lg); padding: clamp(34px, 5vw, 60px); display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; position: relative; overflow: hidden; }
.cta h2 { margin-bottom: .3em; }
.cta p { margin: 0; color: var(--muted); max-width: 56ch; }
.cta .art { position: absolute; right: -30px; bottom: -70px; width: 260px; opacity: .1; pointer-events: none; }
@media (max-width: 700px) { .cta { grid-template-columns: 1fr; } }

/* Page header */
.page-head { position: relative; padding: clamp(64px, 9vw, 120px) 0 clamp(40px, 6vw, 64px); border-bottom: 1px solid var(--line); background: radial-gradient(900px 380px at 85% 0%, rgb(61 155 116 / 16%), transparent 65%), #08100c; overflow: hidden; }
.page-head h1 { font-size: clamp(2.3rem, 5vw, 3.8rem); }
.page-head .lede { margin: 0; }

/* Policy pages */
.policy { display: grid; grid-template-columns: 240px 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.policy nav { position: sticky; top: 104px; display: grid; gap: 2px; border-left: 1px solid var(--line); }
.policy nav a { padding: 8px 16px; text-decoration: none; color: var(--muted); font-size: .9rem; margin-left: -1px; border-left: 1px solid transparent; }
.policy nav a:hover { color: var(--brass-bright); border-left-color: var(--brass); }
.policy section { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 38px); margin-bottom: 20px; scroll-margin-top: 104px; color: #d6d3c5; }
.policy section h2 { font-size: 1.7rem; }
.policy ul { margin: 0 0 1em; padding-left: 1.2em; }
.policy li { margin-bottom: .5em; }
.policy li::marker { color: var(--brass); }
.policy section > :last-child { margin-bottom: 0; }
.note { background: rgb(200 169 107 / 8%); border-left: 3px solid var(--brass); padding: 14px 18px; border-radius: 0 10px 10px 0; }
@media (max-width: 860px) { .policy { grid-template-columns: 1fr; } .policy nav { position: static; display: flex; flex-wrap: wrap; border-left: 0; } .policy nav a { border-left: 0; padding: 8px 12px; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-photo { border-radius: var(--radius-lg); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; max-width: 420px; }
@media (max-width: 860px) { .contact-photo { display: none; } }
.contact-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 20px; color: var(--muted); }
.contact-list li { display: flex; gap: 16px; }
.contact-list strong { display: block; font-weight: 500; }
.form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 38px); display: grid; gap: 18px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.form label { display: grid; gap: 8px; font-weight: 500; font-size: .86rem; letter-spacing: .03em; color: var(--muted); }
.form input, .form textarea, .form select { font: inherit; font-size: 1rem; letter-spacing: 0; color: var(--text); background: var(--surface-2); border: 1px solid var(--line-strong); border-radius: 10px; padding: 12px 14px; min-height: 50px; width: 100%; }
.form textarea { min-height: 150px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { outline: 1px solid var(--brass); border-color: var(--brass); }
.form .hint { font-size: .82rem; color: #7f8b80; margin: 0; }

/* Footer */
.site-footer { background: #070d0a; color: var(--muted); padding: 64px 0 28px; font-size: .92rem; border-top: 1px solid var(--line); }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr; } }
.site-footer h3 { font: 500 .74rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--brass); margin-bottom: 18px; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--brass-bright); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.site-footer .logo { width: 76px; margin-bottom: 16px; }
.site-footer .legal { border-top: 1px solid var(--line); margin-top: 44px; padding-top: 22px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .8rem; color: #6f7b71; letter-spacing: .04em; }

/* Full-screen photo viewer */
.gallery img, .hero-mosaic img, .photo-stack img, .plant-photo > img, .contact-photo { cursor: zoom-in; }
html.lb-open { overflow: hidden; }
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(3 6 4 / 96%); color: var(--text); }
.lightbox::backdrop { background: rgb(3 6 4 / 90%); }
.lightbox[open] { display: grid; grid-template-columns: 64px 1fr 64px; grid-template-rows: 1fr auto; align-items: center; }
.lb-stage { grid-column: 2; grid-row: 1; height: 100%; min-height: 0; display: grid; place-items: center; overflow: hidden; padding: 56px 0 8px; touch-action: pinch-zoom; }
.lb-frame { position: relative; display: inline-block; max-width: 100%; overflow: hidden; border-radius: 8px; line-height: 0; }
.lb-img { display: block; max-width: 100%; max-height: calc(100dvh - 130px); object-fit: contain; cursor: zoom-in; transition: transform .25s ease; user-select: none; }
.lb-mark { position: absolute; right: 4.5%; bottom: 4.5%; width: 15%; min-width: 48px; pointer-events: none; opacity: 0; transition: opacity .2s; }
.lb-frame.zoomed .lb-mark { opacity: 1; }
.lb-img.zoomed { transform: scale(2.4); cursor: zoom-out; transition: transform .25s ease, transform-origin 0s; }
.lb-caption { grid-column: 1 / -1; grid-row: 2; margin: 0; padding: 10px 16px 22px; text-align: center; font: italic 400 1.15rem/1.3 var(--serif); color: #f6f1e4; }
.lb-close, .lb-prev, .lb-next { background: rgb(255 255 255 / 8%); color: #f6f1e4; border: 1px solid var(--line-strong); border-radius: 50%; width: 48px; height: 48px; font: 300 1.9rem/1 var(--sans); cursor: pointer; display: grid; place-items: center; padding: 0 0 4px; }
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: var(--brass); color: #16110a; border-color: var(--brass); }
.lb-close { position: absolute; top: 14px; right: 14px; z-index: 2; }
.lb-prev { grid-column: 1; grid-row: 1; justify-self: center; }
.lb-next { grid-column: 3; grid-row: 1; justify-self: center; }
.lightbox.single .lb-prev, .lightbox.single .lb-next { visibility: hidden; }
@media (max-width: 700px) {
  .lightbox[open] { grid-template-columns: 0 1fr 0; }
  .lb-prev, .lb-next { position: absolute; bottom: 16px; width: 44px; height: 44px; }
  .lb-prev { left: 16px; } .lb-next { right: 16px; }
  .lb-caption { padding: 10px 72px 26px; font-size: 1rem; }
  .lb-img { max-height: calc(100dvh - 150px); }
  .lb-frame { border-radius: 0; }
}

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