/* Restallis Carpentry — static bundle.
   Flat asset paths and no framework runtime: this renders inside a sandboxed
   iframe with no same-origin access, so nothing here may touch storage. */

@font-face {
  font-family: "Fraunces";
  src: url("./fraunces.woff2") format("woff2-variations");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #191713;
  --paper: #f7f4ef;
  --accent: #8a4b1f;
  --ink-soft: rgba(25, 23, 19, 0.72);
  --ink-faint: rgba(25, 23, 19, 0.62);
  --ink-line: rgba(25, 23, 19, 0.16);
  --shell: 1240px;
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --display: "Fraunces", ui-serif, Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, video { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 400; letter-spacing: -0.022em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.sr, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip:focus {
  position: fixed; left: 1rem; top: 1rem; z-index: 100; width: auto; height: auto;
  clip: auto; margin: 0; padding: .75rem 1rem; background: #fff; color: var(--ink);
  font-weight: 600; border-radius: 2px;
}

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 700px) { .shell { padding: 0 2rem; } }

/* ------------------------------------------------------------- buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .65rem;
  min-height: 3rem; padding: 0 1.5rem; border-radius: 2px; border: 1px solid transparent;
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; transition: transform .3s, background-color .3s, border-color .3s;
}
.btn::after { content: "→"; font-size: 1rem; line-height: 1; transition: transform .3s; }
.btn:hover::after { transform: translateX(4px); }
.btn--solid { background: var(--accent); color: #fff; box-shadow: 0 14px 34px -16px rgba(138, 75, 31, .55); }
.btn--solid:hover { transform: translateY(-2px); }
.btn--outline { border-color: var(--ink-line); color: var(--ink); }
.btn--outline:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn--light { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn--light:hover { background: rgba(255, 255, 255, .1); border-color: #fff; transform: translateY(-2px); }

/* -------------------------------------------------------------- header */

.hdr {
  position: fixed; inset: 0 0 auto; z-index: 50; padding: .75rem 0;
  background: rgba(247, 244, 239, .93); border-bottom: 1px solid var(--ink-line);
  backdrop-filter: blur(10px); transition: background-color .4s, padding .4s, border-color .4s;
}
.hdr--over:not(.is-stuck) { background: transparent; border-color: transparent; padding: 1.25rem 0; backdrop-filter: none; }
.hdr__in { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.wordmark { font-family: var(--display); font-size: 1.25rem; text-decoration: none; }
.hdr--over:not(.is-stuck) .wordmark, .hdr--over:not(.is-stuck) .nav a { color: #fff; }
.nav { display: none; gap: 2.25rem; }
.nav a { font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; color: var(--ink-soft); }
.nav a:hover, .nav a[aria-current] { color: var(--ink); }
.hdr--over:not(.is-stuck) .nav a:hover { color: #fff; }
.hdr__cta { display: none; }
.hdr--over:not(.is-stuck) .hdr__cta { background: transparent; border-color: rgba(255,255,255,.35); color: #fff; box-shadow: none; }
@media (min-width: 1040px) { .nav, .hdr__cta { display: inline-flex; } }

.burger { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; background: none; border: 0; cursor: pointer; color: inherit; }
.burger svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.hdr--over:not(.is-stuck) .burger { color: #fff; }
@media (min-width: 1040px) { .burger { display: none; } }

.mnav[hidden] { display: none; }
.mnav { position: fixed; inset: 0; z-index: 60; background: var(--paper); overflow-y: auto; }
.mnav__top { display: flex; align-items: center; justify-content: space-between; padding: 1.25rem 0; }
.mnav__in > a { display: block; padding: 1.25rem 0; border-bottom: 1px solid var(--ink-line); font-family: var(--display); font-size: 1.9rem; text-decoration: none; }
.mnav__cta { margin-top: 2rem; width: 100%; }

/* ---------------------------------------------------------------- hero */

.hero { position: relative; display: flex; align-items: flex-end; min-height: 92svh; overflow: hidden; background: var(--ink); isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; animation: heroIn 2.2s cubic-bezier(.16,1,.3,1) both; }
@keyframes heroIn { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__scrim, .hero__side { position: absolute; inset: 0; z-index: -1; }
.hero__scrim { background: linear-gradient(to top, rgba(20,18,15,.94) 0%, rgba(20,18,15,.82) 26%, rgba(20,18,15,.55) 52%, rgba(20,18,15,.24) 74%, rgba(20,18,15,.5) 100%); }
.hero__side { background: linear-gradient(to right, rgba(20,18,15,.58) 0%, rgba(20,18,15,.26) 44%, rgba(20,18,15,0) 74%); }
.hero__in { padding: 10rem 1.25rem 5rem; color: #fff; }
@media (min-width: 700px) { .hero__in { padding: 10rem 2rem 6rem; } }
.hero h1 { margin-top: 1.75rem; max-width: 15ch; font-size: clamp(2.6rem, 7.2vw, 5.4rem); line-height: 1.02; letter-spacing: -.03em; text-wrap: balance; }
.hero__sub { margin-top: 1.75rem; max-width: 42rem; font-size: clamp(1.05rem, 1.6vw, 1.2rem); line-height: 1.75; color: rgba(255,255,255,.8); }
.hero__cta { display: flex; flex-direction: column; gap: .75rem; margin-top: 2.5rem; }
@media (min-width: 600px) { .hero__cta { flex-direction: row; gap: 1rem; } }

.eyebrow { display: flex; align-items: center; gap: .75rem; font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-soft); }
.eyebrow span { display: block; width: 2rem; height: 1px; background: var(--ink-line); }
.eyebrow--light, .shead--light .eyebrow { color: rgba(255,255,255,.75); }
.eyebrow--light span, .shead--light .eyebrow span { background: rgba(255,255,255,.45); }

/* ------------------------------------------------------------- marquee */

.marq { overflow: hidden; background: var(--ink); padding: 1.5rem 0; }
.marq__track { display: flex; width: max-content; gap: 2.5rem; animation: marq 46s linear infinite; }
.marq__track li { display: flex; align-items: center; gap: 2.5rem; flex-shrink: 0; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.marq__track li span { width: 5px; height: 5px; background: var(--accent); transform: rotate(45deg); }
@keyframes marq { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------ sections */

.sec { padding: 6rem 0; }
@media (min-width: 700px) { .sec { padding: 8rem 0; } }
.sec--paper { background: var(--paper); }
.sec--white { background: #fff; }
.sec--ink { background: var(--ink); color: #fff; }
.sec__cta { margin-top: 3.5rem; }
.main--inner { padding-top: 6rem; }
.ptitle { padding-top: 2.5rem; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.04; }

.shead h2 { margin-top: 1.5rem; max-width: 40rem; font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.05; text-wrap: balance; }
.shead__copy { margin-top: 1.25rem; max-width: 38rem; font-size: 1.05rem; line-height: 1.8; color: var(--ink-soft); }
.shead--light h2 { color: #fff; }
.shead--light .shead__copy { color: rgba(255,255,255,.75); }

/* --------------------------------------------------------------- cards */

.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2.5rem; padding-bottom: 2rem; border-bottom: 1px solid var(--ink-line); }
.chip { padding: .65rem 1rem; border: 1px solid var(--ink-line); border-radius: 2px; background: none; font: inherit; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); cursor: pointer; transition: .25s; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-top: 3rem; }
@media (min-width: 700px) { .grid { grid-template-columns: repeat(3, 1fr); } }

.card { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 2px; overflow: hidden; background: none; cursor: pointer; text-align: left; }
.card[hidden] { display: none; }
@media (min-width: 700px) { .card--big { grid-column: span 2; grid-row: span 2; } }
.card__img { display: block; position: relative; aspect-ratio: 4 / 3.15; }
.card--big .card__img { aspect-ratio: 4 / 3.4; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s cubic-bezier(.16,1,.3,1); }
.card:hover .card__img img { transform: scale(1.045); }
.card__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.8), rgba(0,0,0,.08) 55%, transparent); }
.card__body { position: absolute; left: 0; right: 4.5rem; bottom: 0; padding: 1.25rem; color: #fff; }
@media (min-width: 700px) { .card__body { padding: 1.75rem; } }
.card__count { display: block; font-size: 10px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.65); }
.card__title { display: block; margin-top: .5rem; font-family: var(--display); font-size: 1.35rem; line-height: 1.12; }
.card--big .card__title { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.card__plus { position: absolute; right: 1.25rem; bottom: 1.25rem; display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; color: #fff; font-size: 1.1rem; transition: .4s; }
@media (min-width: 700px) { .card__plus { right: 1.75rem; bottom: 1.75rem; } }
.card:hover .card__plus { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------------------------------------------------------------- reel */

.rail { display: flex; gap: 1rem; margin: 3rem -1.25rem 0; padding: 0 1.25rem 1rem; overflow-x: auto; scroll-snap-type: x mandatory; }
@media (min-width: 700px) { .rail { margin: 3rem -2rem 0; padding: 0 2rem 1rem; } }
.rail li { flex: 0 0 auto; scroll-snap-align: center; }
.clip { position: relative; display: block; width: 71vw; max-width: 320px; aspect-ratio: 9 / 16; padding: 0; border: 0; border-radius: 2px; overflow: hidden; background: #000; cursor: pointer; }
.clip video { width: 100%; height: 100%; object-fit: cover; }
.clip__play { position: absolute; inset: 0; display: grid; place-items: center; transition: opacity .5s; }
.clip__play svg { width: 26px; height: 26px; fill: #fff; }
.clip__play::before { content: ""; position: absolute; width: 4rem; height: 4rem; border: 1px solid rgba(255,255,255,.45); border-radius: 50%; background: rgba(0,0,0,.35); }
.clip__play svg { position: relative; }
.clip.is-playing .clip__play { opacity: 0; }
.clip__cap { position: absolute; inset: auto 0 0; padding: 1.25rem; text-align: left; font-size: 15px; line-height: 1.4; color: #fff; background: linear-gradient(to top, rgba(0,0,0,.8), transparent); }
.clip__no { display: block; font-size: 10px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.65); margin-bottom: .35rem; }
.reel__note { margin-top: 1.5rem; font-size: 13px; color: rgba(255,255,255,.5); }

/* -------------------------------------------------------------- rows */

.rows { margin-top: 3.5rem; border-top: 1px solid var(--ink-line); }
.row { display: grid; gap: .75rem; padding: 2.25rem 0; border-bottom: 1px solid var(--ink-line); transition: background-color .3s; }
@media (min-width: 700px) {
  .row { grid-template-columns: 3rem minmax(0, .88fr) minmax(0, 1.12fr); align-items: baseline; gap: 2.5rem; padding: 2.25rem 1rem; }
  .row:hover { background: var(--paper); }
}
.row__no { font-family: var(--display); font-size: 15px; color: var(--ink-faint); }
.row h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.2; }
.row p { font-size: 1rem; line-height: 1.8; color: var(--ink-soft); }

.steps { display: grid; gap: 3rem 2rem; margin-top: 3.5rem; }
@media (min-width: 620px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.steps li { border-top: 1px solid var(--ink-line); padding-top: 1.5rem; }
.steps__no { display: block; font-family: var(--display); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.steps h3 { margin-top: 1rem; font-size: 1.4rem; line-height: 1.2; }
.steps p { margin-top: .85rem; font-size: .95rem; line-height: 1.7; color: var(--ink-soft); }

/* --------------------------------------------------------------- about */

.about__grid { display: grid; gap: 3.5rem; }
@media (min-width: 1000px) { .about__grid { grid-template-columns: 1.05fr .95fr; gap: 5rem; align-items: start; } }
.about__h { margin-top: 1.5rem; max-width: 16ch; font-size: clamp(2rem, 4.4vw, 3.5rem); line-height: 1.06; }
.about__lead { margin-top: 2rem; font-size: 1.2rem; line-height: 1.8; }
.about__p { margin-top: 1.5rem; font-size: 1rem; line-height: 1.8; color: var(--ink-soft); }
.about__pics { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.about__pic { display: block; overflow: hidden; border-radius: 2px; aspect-ratio: 3 / 4; }
.about__pic img { width: 100%; height: 100%; object-fit: cover; }
.about__pic--wide { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
@media (min-width: 700px) { .about__pic--drop { margin-top: 4rem; } }

/* ---------------------------------------------------------------- area */

.area__grid, .faq__grid, .contact__grid { display: grid; gap: 3rem; }
@media (min-width: 1000px) {
  .area__grid { grid-template-columns: .8fr 1.2fr; gap: 5rem; align-items: start; }
  .faq__grid { grid-template-columns: .72fr 1.28fr; gap: 5rem; }
  .contact__grid { grid-template-columns: .92fr 1.08fr; gap: 5rem; }
}
.towns { display: flex; flex-wrap: wrap; gap: .75rem .625rem; }
.towns li { padding: .625rem 1rem; border: 1px solid var(--ink-line); border-radius: 2px; font-size: 14px; color: var(--ink-soft); }
.towns li.is-home { background: var(--accent); border-color: var(--accent); color: #fff; }
.area__note { margin-top: 1.75rem; font-size: 14px; color: var(--ink-faint); }

/* --------------------------------------------------------------- panel */

.panel { display: flex; flex-direction: column; gap: 2rem; padding: 2rem; border: 1px solid var(--ink-line); border-radius: 2px; background: var(--paper); }
@media (min-width: 1000px) { .panel { flex-direction: row; align-items: center; justify-content: space-between; padding: 3rem; } }
.panel__h { margin-top: 1.25rem; max-width: 34rem; font-family: var(--display); font-size: clamp(1.4rem, 2.2vw, 1.85rem); line-height: 1.25; }
.panel__p { margin-top: 1rem; max-width: 34rem; font-size: 1rem; line-height: 1.8; color: var(--ink-soft); }
.panel .btn { flex-shrink: 0; }

.quotes { display: grid; gap: 1.5rem; margin-top: 3.5rem; }
@media (min-width: 900px) { .quotes { grid-template-columns: repeat(3, 1fr); } }
.quotes li { display: flex; flex-direction: column; justify-content: space-between; padding: 2rem; border: 1px solid var(--ink-line); border-radius: 2px; background: var(--paper); }
.quotes blockquote { margin: 0; font-family: var(--display); font-size: 1.2rem; line-height: 1.55; }
.quotes figcaption { margin-top: 2rem; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }

/* ----------------------------------------------------------------- faq */

.faq { border-top: 1px solid var(--ink-line); }
.faq details { border-bottom: 1px solid var(--ink-line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.5rem 0; font-size: 1.05rem; font-weight: 500; line-height: 1.5; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { display: grid; place-items: center; flex-shrink: 0; width: 2.25rem; height: 2.25rem; border: 1px solid var(--ink-line); border-radius: 50%; transition: transform .3s; }
.faq details[open] summary span { transform: rotate(45deg); }
.faq p { max-width: 42rem; padding: 0 2.5rem 1.75rem 0; font-size: 1rem; line-height: 1.8; color: var(--ink-soft); }

/* ------------------------------------------------------------- contact */

.contact__btn { margin-top: 2.5rem; }
.contact__where { margin-top: 1.5rem; font-size: 14px; color: rgba(255,255,255,.55); }
.hints { padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.12); }
@media (min-width: 1000px) { .hints { padding-top: 0; border-top: 0; } }
.hints__h { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.hints ul { margin-top: 1.5rem; display: grid; gap: .75rem; }
.hints li { position: relative; padding-left: 1.25rem; font-size: 1rem; line-height: 1.7; color: rgba(255,255,255,.72); }
.hints li::before { content: ""; position: absolute; left: 0; top: .7em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }

/* -------------------------------------------------------------- footer */

.ftr { background: var(--ink); color: #fff; padding: 4rem 0 3.5rem; border-top: 1px solid rgba(255,255,255,.1); }
.ftr__grid { display: grid; gap: 2.5rem; }
@media (min-width: 800px) { .ftr__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.ftr__name { font-family: var(--display); font-size: 1.35rem; }
.ftr__sub { margin-top: 1rem; max-width: 24rem; font-size: 15px; line-height: 1.7; color: rgba(255,255,255,.6); }
.ftr__fb { display: inline-block; margin-top: 1.5rem; font-size: 14px; color: rgba(255,255,255,.72); }
.ftr__h { font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.6); }
.ftr nav a { display: block; margin-top: .75rem; font-size: 15px; color: rgba(255,255,255,.72); text-decoration: none; }
.ftr nav a:first-of-type { margin-top: 1.25rem; }
.ftr__base { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; margin-top: 3.5rem; padding-top: 1.75rem; border-top: 1px solid rgba(255,255,255,.1); font-size: 13px; color: rgba(255,255,255,.6); }

/* ----------------------------------------------------------- mobile bar */

.mbar {
  position: fixed; left: 1rem; right: 1rem; bottom: 1rem; z-index: 40;
  display: none; align-items: center; justify-content: center; min-height: 3.25rem;
  border-radius: 2px; background: var(--accent); color: #fff; text-decoration: none;
  font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  box-shadow: 0 14px 34px -14px rgba(20, 18, 15, .6);
  transform: translateY(140%); transition: transform .35s cubic-bezier(.16,1,.3,1);
}
.mbar.is-on { transform: translateY(0); }
@media (max-width: 1039px) { .mbar { display: flex; } }

/* ------------------------------------------------------------ lightbox */

/* `[hidden]` only sets `display: none` from the UA stylesheet, so any author
   `display` here beats it. Without this rule the overlay sits over every page
   at full opacity and swallows every click on the site beneath it. */
.lightbox[hidden] { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 70; display: grid; background: rgba(20,18,15,.96); }
@media (min-width: 1000px) { .lightbox { grid-template-columns: 1.55fr .95fr; } }
.lb__stage { position: relative; display: grid; place-items: center; padding: 1rem; background: rgba(0,0,0,.4); min-height: 50svh; }
.lb__stage img { max-height: 82svh; width: auto; max-width: 100%; object-fit: contain; }
.lb__nav { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 3rem; height: 3rem; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: rgba(0,0,0,.45); color: #fff; font-size: 1.2rem; cursor: pointer; }
.lb__nav--prev { left: 1rem; } .lb__nav--next { right: 1rem; }
.lb__side { padding: 2rem 1.5rem; background: var(--paper); overflow-y: auto; }
@media (min-width: 700px) { .lb__side { padding: 3rem 2.5rem; } }
.lb__top { display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem; }
.lb__count { font-size: 11px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--ink-soft); }
.lb__close { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; border: 0; border-radius: 50%; background: none; font-size: 1.4rem; cursor: pointer; }
.lb__side h2 { margin-top: 1.5rem; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.1; }
.lb__summary { margin-top: 1.25rem; font-size: 1rem; line-height: 1.8; color: var(--ink-soft); }
.lb__details { margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--ink-line); display: grid; gap: .75rem; }
.lb__details li { position: relative; padding-left: 1.25rem; font-size: .95rem; line-height: 1.7; color: var(--ink-soft); }
.lb__details li::before { content: ""; position: absolute; left: 0; top: .7em; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.lb__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin-top: 2rem; }
@media (min-width: 700px) { .lb__thumbs { grid-template-columns: repeat(5, 1fr); } }
.lb__thumbs button { aspect-ratio: 1; padding: 0; border: 0; border-radius: 2px; overflow: hidden; cursor: pointer; opacity: .55; transition: opacity .25s; }
.lb__thumbs button:hover { opacity: 1; }
.lb__thumbs button[aria-current="true"] { opacity: 1; outline: 2px solid var(--accent); outline-offset: 2px; }
.lb__thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* --------------------------------------------------------------- reveal */

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .75s cubic-bezier(.16,1,.3,1), transform .75s cubic-bezier(.16,1,.3,1); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .marq__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .hero__bg img { animation: none; }
}
