/* ==========================================================================
   Legareville Reach — site styles
   Coastal-chart palette from the Reach logo: deep navy ink, palmetto red,
   chart-paper ivory, sand. Photos stay full color (it's a photo venue).
   ========================================================================== */
:root {
  --ink: #16243f;
  --ink-2: #2b3a57;
  --ink-soft: #55607a;
  --red: #a5283c;
  --red-2: #c23a4f;
  --paper: #f7f4ed;
  --paper-2: #efe9dd;
  --sand: #d9c9a8;
  --line: rgba(22, 36, 63, .14);
  --line-strong: rgba(22, 36, 63, .3);
  --white: #fff;
  --ok: #2f7a55;
  --danger: #b0303f;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Jost", "Helvetica Neue", Arial, sans-serif;
  --script: "Allura", "Snell Roundhand", cursive;
  --max: 1220px;
  --gutter: clamp(16px, 4vw, 40px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink-2); background: var(--paper);
  font: 400 clamp(17px, 1.1vw, 19px)/1.65 var(--serif);
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
/* faint nautical-chart grid behind light sections */
.chart { background-color: var(--paper);
  background-image: radial-gradient(rgba(22,36,63,.08) 1px, transparent 1.2px), linear-gradient(rgba(22,36,63,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(22,36,63,.035) 1px, transparent 1px);
  background-size: 22px 22px, 110px 110px, 110px 110px; }
img, video { display: block; max-width: 100%; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--ink); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.hidden { display: none !important; }

/* ---------- type ---------- */
h1, h2, h3, h4 { font-family: var(--serif); color: var(--ink); font-weight: 500; margin: 0; line-height: 1.05; letter-spacing: -.005em; }
h1 { font-size: clamp(44px, 7.4vw, 104px); font-weight: 400; }
h2 { font-size: clamp(34px, 4.6vw, 62px); }
h3 { font-size: clamp(24px, 2.1vw, 30px); }
h4 { font: 600 12px/1 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--ink); }
.script { font-family: var(--script); font-weight: 400; letter-spacing: 0; line-height: 1; }
.kicker { font: 500 12px/1 var(--sans); letter-spacing: .32em; text-transform: uppercase; color: var(--red); margin: 0 0 18px; }
.lede { font-size: clamp(19px, 1.45vw, 23px); color: var(--ink-2); max-width: 60ch; }
.sub { font-style: italic; font-size: clamp(20px, 2vw, 28px); line-height: 1.35; margin: .5em 0 0; }
.center { text-align: center; } .center .lede { margin-inline: auto; }
.rule { width: 64px; height: 2px; background: var(--red); margin: 24px 0; border: 0; }
.center .rule { margin-inline: auto; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 30px;
  font: 500 13px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; border-radius: 999px; cursor: pointer;
  border: 1px solid transparent; transition: background .25s, color .25s, border-color .25s, transform .25s; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-2); color: #fff; transform: translateY(-1px); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-2); color: #fff; }
.btn-line { border-color: currentColor; color: var(--ink); background: transparent; }
.btn-line:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--paper); color: var(--ink); }
.btn-ghost-light { border-color: rgba(255,255,255,.7); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--ink); }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row { justify-content: center; }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background .35s, box-shadow .35s; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 84px; gap: 20px; }
.brand { display: flex; flex-direction: column; color: #fff; line-height: 1; }
.brand .script { font-size: 40px; }
.brand small { font: 500 10px/1 var(--sans); letter-spacing: .3em; text-transform: uppercase; margin-top: 4px; opacity: .85; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font: 500 12px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: #fff; white-space: nowrap; }
.nav-links a:hover { opacity: .75; }
.nav-links a.btn { min-height: 44px; padding: 0 22px; color: #fff; }
.nav.solid, .nav[data-solid] { background: rgba(247,244,237,.96); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.nav.solid .brand, .nav[data-solid] .brand, .nav.solid .nav-links a:not(.btn), .nav[data-solid] .nav-links a:not(.btn) { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 1px solid currentColor; color: #fff; width: 46px; height: 42px; border-radius: 999px; font-size: 18px; cursor: pointer; }
.nav.solid .nav-toggle, .nav[data-solid] .nav-toggle { color: var(--ink); }
@media (max-width: 980px) {
  .nav-toggle { display: block; }
  .nav-links { position: fixed; inset: 84px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper);
    padding: 8px var(--gutter) 24px; box-shadow: 0 12px 30px rgba(22,36,63,.12); transform: translateY(-130%); transition: transform .35s; }
  .nav-links.open { transform: none; }
  .nav-links a, .nav.solid .nav-links a:not(.btn) { color: var(--ink); padding: 16px 0; border-bottom: 1px solid var(--line); }
  .nav-links a.btn { margin-top: 16px; border-bottom: 0; }
  .brand .script { font-size: 34px; }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; align-items: end; overflow: hidden; color: #fff; }
.hero .bg { position: absolute; inset: 0; }
.hero .bg img { width: 100%; height: 100%; object-fit: cover; animation: drift 24s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1.04); } to { transform: scale(1.12) translateY(-1.5%); } }
.hero .bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,18,34,.45) 0%, rgba(10,18,34,.05) 35%, rgba(10,18,34,.65) 100%); }
.hero .inner { position: relative; z-index: 2; padding: 160px var(--gutter) clamp(60px, 9vh, 110px); max-width: var(--max); margin: 0 auto; width: 100%; }
.hero h1 { color: #fff; max-width: 13ch; text-shadow: 0 2px 30px rgba(0,0,0,.35); }
.hero h1 .script { display: block; font-size: .78em; color: #fff; margin-bottom: .05em; }
.hero .sub { color: rgba(255,255,255,.92); max-width: 34ch; }
.hero .kicker { color: #fff; opacity: .9; }
.hero .btn-row { margin-top: 34px; }
.sunline { margin-top: 26px; font: 500 12px/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: rgba(255,255,255,.85); }
@media (prefers-reduced-motion: reduce) { .hero .bg img { animation: none; } }
.page-hero { min-height: 46svh; }
.page-hero .inner { padding-top: 150px; padding-bottom: 50px; }

/* ---------- sections ---------- */
.pad { padding: clamp(84px, 10vw, 150px) 0; }
.pad-sm { padding: clamp(56px, 7vw, 90px) 0; }
.section-head { margin-bottom: clamp(36px, 5vw, 64px); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 40px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 34px); }
@media (max-width: 900px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.dark { background: var(--ink); color: rgba(255,255,255,.86); }
.dark h2, .dark h3 { color: #fff; } .dark .lede { color: rgba(255,255,255,.86); } .dark .kicker { color: var(--sand); }

/* intro stats */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); margin-top: 50px; }
.facts div { padding: 22px 18px; border-left: 1px solid var(--line); }
.facts div:first-child { border-left: 0; }
.facts b { display: block; font: 500 clamp(28px, 3vw, 40px)/1 var(--serif); color: var(--ink); }
.facts span { font: 500 11px/1.4 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }
@media (max-width: 700px) { .facts { grid-template-columns: 1fr 1fr; } .facts div:nth-child(3) { border-left: 0; } .facts div:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* photo frames — full color, gentle zoom on hover */
.ph { position: relative; overflow: hidden; border-radius: 4px; background: var(--paper-2); }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.ph:hover img { transform: scale(1.04); }
.stack { position: relative; padding: 0 10% 12% 0; }
.stack .ph.main { aspect-ratio: 4/5; }
.stack .ph.over { position: absolute; right: 0; bottom: 0; width: 46%; aspect-ratio: 3/4; border: 8px solid var(--paper); box-shadow: 0 20px 50px rgba(22,36,63,.2); }

/* spots */
.spots { display: grid; grid-template-columns: repeat(12, 1fr); gap: clamp(14px, 1.8vw, 22px); }
.spot { position: relative; overflow: hidden; border-radius: 4px; color: #fff; min-height: 320px; display: flex; align-items: flex-end; isolation: isolate; }
.spot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.spot::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 45%, rgba(10,18,34,.78) 100%); }
.spot:hover img { transform: scale(1.05); }
.spot .cap { padding: 22px 24px; }
.spot h3 { color: #fff; font-size: clamp(24px, 2vw, 30px); }
.spot p { margin: 4px 0 0; font: 400 15px/1.5 var(--sans); color: rgba(255,255,255,.85); }
.spot.w7 { grid-column: span 7; } .spot.w5 { grid-column: span 5; } .spot.w4 { grid-column: span 4; } .spot.w8 { grid-column: span 8; }
.spot.tall { min-height: 520px; }
@media (max-width: 900px) { .spot.w7, .spot.w5, .spot.w4, .spot.w8 { grid-column: span 12; } .spot.tall { min-height: 420px; } }

/* parallax */
.parallax { position: relative; min-height: clamp(440px, 78vh, 760px); display: grid; place-items: center; text-align: center; overflow: hidden; color: #fff; }
.parallax .px { position: absolute; inset: -16% 0; will-change: transform; }
.parallax .px img { width: 100%; height: 100%; object-fit: cover; }
.parallax::after { content: ""; position: absolute; inset: 0; background: rgba(10,18,34,.32); }
.parallax .inner { position: relative; z-index: 2; padding: 80px var(--gutter); max-width: 900px; }
.parallax h2 { color: #fff; text-shadow: 0 2px 26px rgba(0,0,0,.35); }
.parallax .script { font-size: clamp(56px, 8vw, 110px); color: #fff; text-shadow: 0 2px 26px rgba(0,0,0,.35); }
.parallax .sub { color: rgba(255,255,255,.92); }

/* rate cards */
.rate { background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: clamp(26px, 3vw, 40px); display: flex; flex-direction: column; gap: 16px; position: relative; }
.rate.feature { border-color: var(--ink); box-shadow: 0 24px 60px rgba(22,36,63,.12); }
.rate .flag { position: absolute; top: -12px; left: 28px; background: var(--red); color: #fff; font: 500 10px/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; padding: 7px 12px; border-radius: 999px; }
.rate .amt { font: 500 clamp(46px, 4.4vw, 60px)/1 var(--serif); color: var(--ink); }
.rate .amt small { font: 500 13px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); margin-left: 6px; }
.rate .meta { font: 500 12px/1.5 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.rate p { margin: 0; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 17px; }
.ticks li { position: relative; padding-left: 26px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 12px; height: 2px; background: var(--red); }
.rate .btn-row { margin-top: auto; padding-top: 6px; }
.example { margin-top: clamp(30px, 4vw, 50px); background: var(--paper-2); border-left: 3px solid var(--red); padding: 24px 28px; border-radius: 0 6px 6px 0; }
.example h3 { font-size: 24px; margin-bottom: 6px; }
.example p { margin: 0; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.step { padding: 0 26px 0 0; position: relative; }
.step::before { counter-increment: s; content: "0" counter(s); display: block; font: 400 clamp(48px, 5vw, 70px)/1 var(--serif); color: var(--red); margin-bottom: 14px; }
.step h3 { font-size: 26px; margin-bottom: 8px; }
.step p { margin: 0; font-size: 17px; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 36px; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* gallery */
.gallery { columns: 3 280px; column-gap: 16px; }
.gallery .ph { margin: 0 0 16px; break-inside: avoid; }
.gallery .ph img { height: auto; }

/* faq */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { border-top: 1px solid var(--line-strong); padding: 6px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line-strong); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; padding: 18px 0; font: 500 clamp(21px, 1.8vw, 25px)/1.3 var(--serif); color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 28px/1 var(--sans); color: var(--red); transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0 0 20px; max-width: 70ch; }

/* forms */
.panel { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: clamp(24px, 4vw, 48px); box-shadow: 0 20px 60px rgba(22,36,63,.07); }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label, .lab { font: 500 11px/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field select, .field textarea { font: 400 18px/1.4 var(--serif); color: var(--ink); background: var(--paper); border: 1px solid var(--line-strong); border-radius: 4px; padding: 13px 14px; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; background: #fff; }
.field.err input, .field.err select, .field.err textarea { border-color: var(--danger); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
@media (max-width: 640px) { .row-2 { grid-template-columns: 1fr; } }
.notice { padding: 14px 18px; border-radius: 4px; font-size: 17px; margin-bottom: 18px; }
.notice.ok { background: rgba(47,122,85,.1); color: var(--ok); }
.notice.err { background: rgba(176,48,63,.1); color: var(--danger); }
.notice.info { background: var(--paper-2); color: var(--ink-2); }

/* ---------- booking flow ---------- */
.progress { display: flex; gap: 6px; margin: 0 0 30px; }
.progress span { flex: 1; height: 4px; border-radius: 4px; background: var(--line); }
.progress span.on { background: var(--red); }
.stepname { font: 500 11px var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--red); margin: 0 0 8px; }
.choices { display: grid; gap: 14px; }
.choice { display: flex; gap: 16px; align-items: flex-start; border: 1px solid var(--line-strong); border-radius: 6px; padding: 20px; cursor: pointer; background: var(--paper); transition: border-color .2s, background .2s; }
.choice:hover { border-color: var(--ink); }
.choice input { margin-top: 6px; accent-color: var(--red); width: 18px; height: 18px; }
.choice.on { border-color: var(--red); background: #fff; box-shadow: 0 0 0 1px var(--red); }
.choice b { display: block; font: 500 24px/1.2 var(--serif); color: var(--ink); }
.choice small { display: block; font-size: 16px; color: var(--ink-soft); }
.choice .p { margin-left: auto; text-align: right; font: 500 26px/1 var(--serif); color: var(--ink); white-space: nowrap; }
.choice .p em { display: block; font: 500 10px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); font-style: normal; margin-top: 6px; }
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--line-strong); border-radius: 999px; overflow: hidden; background: var(--paper); }
.stepper button { width: 46px; height: 46px; border: 0; background: none; font: 400 22px var(--sans); color: var(--ink); cursor: pointer; }
.stepper button:hover { background: var(--paper-2); }
.stepper output { min-width: 60px; text-align: center; font: 500 22px var(--serif); color: var(--ink); }
.estimate { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-top: 26px; padding-top: 20px; }
.estimate .total { font: 500 40px/1 var(--serif); color: var(--ink); }
.estimate .calc { font: 400 15px var(--sans); color: var(--ink-soft); }
.flow-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 30px; flex-wrap: wrap; }

.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.cal-head b { font: 500 26px var(--serif); color: var(--ink); }
.cal-head button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--paper); cursor: pointer; font-size: 18px; color: var(--ink); }
.cal-head button[disabled] { opacity: .35; cursor: default; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal-dow { font: 500 10px var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); text-align: center; padding: 6px 0; }
.cal-day { aspect-ratio: 1; border-radius: 6px; border: 1px solid transparent; display: grid; place-items: center; font: 500 18px var(--serif); color: rgba(22,36,63,.28); background: none; }
.cal-day.open { color: var(--ink); background: var(--paper); border-color: var(--line); cursor: pointer; }
.cal-day.open:hover { border-color: var(--ink); }
.cal-day.sel { background: var(--red); border-color: var(--red); color: #fff; }
.cal-day.blank { visibility: hidden; }
.daysun { margin-top: 16px; font: 400 15px/1.5 var(--sans); color: var(--ink-soft); }
.daysun b { color: var(--ink); font-weight: 500; }
.times { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.times button { border: 1px solid var(--line-strong); background: var(--paper); border-radius: 999px; padding: 9px 14px; font: 500 14px var(--sans); color: var(--ink); cursor: pointer; }
.times button.golden { border-color: #c79a3a; background: #fbf3df; }
.times button.sel { background: var(--ink); border-color: var(--ink); color: #fff; }
.legend { font: 400 13px var(--sans); color: var(--ink-soft); margin-top: 10px; }
.legend i { display: inline-block; width: 12px; height: 12px; border-radius: 50%; background: #fbf3df; border: 1px solid #c79a3a; vertical-align: -1px; margin-right: 6px; }

.doc { max-height: 320px; overflow: auto; background: var(--paper); border: 1px solid var(--line); border-radius: 4px; padding: 20px 22px; font-size: 16px; margin: 10px 0 14px; }
.doc h4 { margin: 16px 0 6px; } .doc h4:first-child { margin-top: 0; } .doc p, .doc ul { margin: 0 0 8px; }
.agree { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; cursor: pointer; margin: 6px 0 22px; }
.agree input { margin-top: 5px; width: 18px; height: 18px; accent-color: var(--red); flex: none; }
.sig-pad { width: 100%; height: 160px; background: var(--paper); border: 1px dashed var(--line-strong); border-radius: 4px; touch-action: none; cursor: crosshair; display: block; }
.sig-tools { display: flex; justify-content: space-between; margin-top: 6px; font: 400 13px var(--sans); color: var(--ink-soft); }
.sig-tools button { background: none; border: 0; color: var(--red); font: 500 12px var(--sans); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; }
.review { display: grid; grid-template-columns: auto 1fr; gap: 10px 24px; font-size: 18px; }
.review dt { font: 500 11px/2 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-soft); }
.review dd { margin: 0; color: var(--ink); }

/* ---------- footer ---------- */
footer { background: var(--ink); color: rgba(255,255,255,.78); padding: 76px 0 34px; }
footer .top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 40px; }
footer .foot-mark { font-size: 54px; color: #fff; margin-bottom: 14px; }
footer .foot-tag { max-width: 40ch; margin: 0 0 12px; }
footer h4 { color: #fff; margin-bottom: 18px; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
footer a { color: rgba(255,255,255,.9); }
footer a:hover { color: var(--sand); }
footer .legal { margin-top: 54px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.15); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font: 400 14px var(--sans); color: rgba(255,255,255,.6); }
@media (max-width: 800px) { footer .top { grid-template-columns: 1fr; } }

/* reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* phones: stack price under the session text; keep the brand subline on one line */
@media (max-width: 600px) {
  .choice { flex-wrap: wrap; }
  .choice > span:not(.p) { flex: 1; min-width: 0; }
  .choice .p { margin-left: 34px; width: 100%; text-align: left; }
  .choice .p em { display: inline; margin-left: 8px; }
  .brand small { font-size: 8.5px; letter-spacing: .2em; white-space: nowrap; }
}

.spot.w12 { grid-column: span 12; min-height: 380px; }

/* ---------- lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 200; background: rgba(8,14,26,.94); display: none; align-items: center; justify-content: center; }
.lb.on { display: flex; animation: lbIn .25s ease; }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
.lb figure { margin: 0; max-width: 92vw; max-height: 88vh; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.lb img { max-width: 92vw; max-height: 82vh; object-fit: contain; border-radius: 3px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lb figcaption { font: 400 14px/1.4 var(--sans); letter-spacing: .06em; color: rgba(255,255,255,.75); text-align: center; }
.lb button { position: absolute; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.25); color: #fff; cursor: pointer; border-radius: 50%; display: grid; place-items: center; transition: background .2s; }
.lb button:hover { background: rgba(255,255,255,.22); }
.lb-x { top: 18px; right: 18px; width: 46px; height: 46px; font: 300 30px/1 var(--sans); }
.lb-nav { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; font: 300 34px/1 var(--sans); }
.lb-prev { left: 18px; } .lb-next { right: 18px; }
@media (max-width: 640px) { .lb-nav { top: auto; bottom: 18px; transform: none; } .lb-prev { left: calc(50% - 64px); } .lb-next { right: calc(50% - 64px); } }
