/* Chalet Nulkka — design system.
 *
 * Sibling of hiihtogreeni.fi ("Arctic calm, timber warmth"): the same
 * palette (fjord teal, ember orange, pine), the same type pairing
 * (Montserrat display, Fira Sans body) and the same section rhythm, written
 * as plain CSS so the site ships without a build step or npm.
 *
 * Rules: five text sizes + display, two weights per family, one radius per
 * role, soft shadows only on overlays, no gradients except the hero scrim.
 */

/* ---------- fonts (self-hosted, latin subset) ---------- */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400 800; font-display: swap; src: url("/static/fonts/montserrat-400-800-latin.woff2") format("woff2"); }
@font-face { font-family: "Fira Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/static/fonts/firasans-400-latin.woff2") format("woff2"); }
@font-face { font-family: "Fira Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/static/fonts/firasans-500-latin.woff2") format("woff2"); }
@font-face { font-family: "Fira Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/static/fonts/firasans-600-latin.woff2") format("woff2"); }

/* ---------- tokens ---------- */
:root {
  --font-display: "Montserrat", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Fira Sans", ui-sans-serif, system-ui, sans-serif;

  --snow: #f7f8f6;
  --white: #ffffff;
  --ink: #172126;
  --slate: #46545a;
  --frost: #dde5e7;
  --fjord: #486c7a;
  --fjord-dark: #294955;
  --pine: #203b34;
  --timber: #8a5c3d;
  --ember: #e47d33;
  --ember-dark: #9c481a;
  --mist: #eef2f1;
  --error: #a33131;
  --success: #2e684c;

  --text-display: clamp(2.5rem, 6vw, 5.25rem);
  --text-h1: clamp(2.125rem, 4.5vw, 4rem);
  --text-h2: clamp(1.625rem, 2.8vw, 2.625rem);
  --text-h3: clamp(1.2rem, 1.8vw, 1.5rem);
  --text-lead: clamp(1.1rem, 1.4vw, 1.3rem);
  --text-body: clamp(1rem, 0.4vw + 0.9rem, 1.0625rem);
  --text-small: 0.875rem;
  --text-tiny: 0.75rem;

  --radius-tag: 0.25rem;
  --radius-control: 0.375rem;
  --radius-card: 0.75rem;

  --shadow-soft: 0 18px 50px rgb(23 33 38 / 0.10);
  --shadow-overlay: 0 24px 70px rgb(23 33 38 / 0.18);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --container-page: 75rem;
  --container-reading: 45rem;
  --container-form: 40rem;
  --section-space: clamp(3.5rem, 8vw, 7rem);
  --gutter: 1rem;

  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--snow);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.08; margin: 0 0 0.5em; text-wrap: balance; }
h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); line-height: 1.2; }
h4 { font-size: 1.05rem; line-height: 1.3; }
p { margin: 0 0 1em; text-wrap: pretty; }
a { color: var(--fjord-dark); text-decoration-thickness: 1px; text-underline-offset: 0.15em; }
a:hover { color: var(--pine); }
img, picture, svg, video { display: block; max-width: 100%; height: auto; }
ul, ol { padding-left: 1.25rem; margin: 0 0 1em; }
address { font-style: normal; }
table { border-collapse: collapse; width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--fjord); outline-offset: 2px; }
::selection { background: rgb(228 125 51 / 0.35); }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: .5rem 1rem; background: var(--pine); color: #fff; border-radius: var(--radius-control); }
.skip:focus { top: 1rem; }

.container { width: min(100% - 2 * var(--gutter), var(--container-page)); margin-inline: auto; }
.container-reading { width: min(100% - 2 * var(--gutter), var(--container-reading)); margin-inline: auto; }
.container-form { width: min(100% - 2 * var(--gutter), var(--container-form)); margin-inline: auto; }

.eyebrow { font-family: var(--font-display); font-weight: 600; font-size: var(--text-tiny); letter-spacing: 0.1em; text-transform: uppercase; color: var(--fjord-dark); margin: 0 0 0.75rem; }
.lead { font-size: var(--text-lead); line-height: 1.55; color: var(--slate); }
.muted { color: var(--slate); }
.small { font-size: var(--text-small); }
.tiny { font-size: var(--text-tiny); }
.center { text-align: center; }
.mt-1 { margin-top: .5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; } .mt-4 { margin-top: 2rem; } .mt-6 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }

/* ---------- sections ---------- */
.section { padding-block: var(--section-space); }
.section--snow { background: var(--snow); }
.section--white { background: var(--white); }
.section--mist { background: var(--mist); }
.section--pine { background: var(--pine); color: #fff; }
.section--pine .eyebrow { color: rgb(255 255 255 / 0.75); }
.section--pine a { color: #fff; }
.section--pine .lead, .section--pine .muted { color: rgb(255 255 255 / 0.82); }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }

.grid { display: grid; gap: 1.5rem; }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 13rem), 1fr)); }
.split { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 48rem) { .split { grid-template-columns: 5fr 7fr; gap: 3rem; } .split--reverse > :first-child { order: 2; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 3rem; padding: 0 1.25rem;
  border-radius: var(--radius-control); border: 1px solid transparent;
  font-family: var(--font-display); font-weight: 600; font-size: var(--text-small); letter-spacing: 0.02em;
  text-decoration: none; cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn--primary { background: var(--fjord-dark); color: #fff; }
.btn--primary:hover { background: var(--pine); color: #fff; }
.btn--ember { background: var(--ember); color: var(--ink); }
.btn--ember:hover { background: var(--ember-dark); color: #fff; }
.btn--light { background: #fff; color: var(--fjord-dark); }
.btn--light:hover { background: var(--mist); color: var(--pine); }
.btn--ghost { border-color: var(--fjord); color: var(--fjord-dark); background: transparent; }
.btn--ghost:hover { background: rgb(72 108 122 / 0.10); }
.section--pine .btn--ghost { border-color: rgb(255 255 255 / 0.6); color: #fff; }
.btn--sm { min-height: 2.5rem; padding: 0 1rem; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgb(255 255 255 / 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid rgb(221 229 231 / 0.7); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 4rem; }
@media (min-width: 64rem) { .header__inner { height: 5rem; } }
.brand { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.02em; color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: .5rem; }
.brand svg { width: 1.75rem; height: 1.75rem; }
.brand:hover { color: var(--fjord-dark); }
.nav { display: none; }
@media (min-width: 64rem) { .nav { display: flex; align-items: center; gap: 1.5rem; } }
.nav a { font-family: var(--font-display); font-weight: 600; font-size: var(--text-small); color: var(--slate); text-decoration: none; position: relative; padding-block: .25rem; }
.nav a:hover { color: var(--fjord-dark); }
.nav a[aria-current="page"] { color: var(--fjord-dark); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -0.3rem; height: 2px; background: var(--ember-dark); }
.nav .btn { margin-left: .5rem; }
.lang { display: inline-flex; gap: .25rem; }
.lang a { font-family: var(--font-display); font-weight: 600; font-size: var(--text-tiny); text-transform: uppercase; letter-spacing: .08em; padding: .35rem .5rem; border-radius: var(--radius-tag); text-decoration: none; color: var(--slate); }
.lang a[aria-current="true"] { background: var(--mist); color: var(--fjord-dark); }
.menu-btn { display: inline-flex; align-items: center; gap: .5rem; background: none; border: 1px solid var(--frost); border-radius: var(--radius-control); padding: .5rem .75rem; font-family: var(--font-display); font-weight: 600; font-size: var(--text-small); cursor: pointer; }
@media (min-width: 64rem) { .menu-btn { display: none; } }
.mobile-nav { position: fixed; inset: 0; z-index: 60; background: var(--white); padding: 1.5rem var(--gutter); overflow-y: auto; }
.mobile-nav[hidden] { display: none; }
.mobile-nav__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 2rem; }
.mobile-nav ul { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; gap: .25rem; }
.mobile-nav ul a { display: block; padding: .85rem 0; font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; text-decoration: none; border-bottom: 1px solid var(--frost); color: var(--ink); }
.mobile-nav ul a[aria-current="page"] { color: var(--fjord-dark); }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; color: #fff; background: var(--pine); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__scrim { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(17 29 33 / 0.85) 0%, rgb(17 29 33 / 0.35) 55%, rgb(17 29 33 / 0.05) 100%); }
@media (min-width: 40rem) { .hero__scrim { background: linear-gradient(90deg, rgb(17 29 33 / 0.80) 0%, rgb(17 29 33 / 0.38) 52%, rgb(17 29 33 / 0.05) 82%); } }
.hero__inner { display: flex; flex-direction: column; justify-content: flex-end; min-height: 26rem; padding-block: 3.5rem; }
@media (min-width: 40rem) { .hero__inner { min-height: 34rem; } }
@media (min-width: 64rem) { .hero__inner { min-height: 40rem; padding-block: 4.5rem; } }
.hero--tall .hero__inner { min-height: 30rem; }
@media (min-width: 64rem) { .hero--tall .hero__inner { min-height: min(46rem, 88vh); } }
.hero .eyebrow { color: rgb(255 255 255 / 0.8); }
.hero h1 { color: #fff; max-width: 22ch; font-size: var(--text-display); }
.hero--sub h1 { font-size: var(--text-h1); }
.hero .lead { color: rgb(255 255 255 / 0.9); max-width: 46ch; font-weight: 500; }
.hero .btn-row { margin-top: 1.75rem; }
.hero__price { align-self: flex-start; display: inline-flex; align-items: baseline; gap: .4rem; background: rgb(255 255 255 / 0.12); border: 1px solid rgb(255 255 255 / 0.25); backdrop-filter: blur(6px); padding: .5rem .85rem; border-radius: var(--radius-control); font-family: var(--font-display); font-weight: 600; font-size: var(--text-small); margin-top: 1.25rem; }
.hero__price strong { font-size: 1.25rem; font-weight: 800; }

/* ---------- fact strip ---------- */
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--frost); border: 1px solid var(--frost); border-radius: var(--radius-card); overflow: hidden; margin: 0; }
@media (min-width: 40rem) { .facts { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 64rem) { .facts { grid-template-columns: repeat(6, 1fr); } }
.facts > div { background: var(--white); padding: 1.25rem 1rem; }
.facts dt svg { width: 1.75rem; height: 1.75rem; }
.facts dt { font-family: var(--font-display); font-weight: 800; font-size: 1.75rem; color: var(--fjord-dark); line-height: 1; }
.facts dd { margin: .35rem 0 0; font-size: var(--text-small); color: var(--slate); }

/* ---------- cards ---------- */
.card { background: var(--white); border: 1px solid var(--frost); border-radius: var(--radius-card); padding: 1.5rem; }
.card h3 { margin-top: 0; }
.card--mist { background: var(--mist); border-color: transparent; }
.card__icon { width: 2.5rem; height: 2.5rem; border-radius: 50%; background: var(--mist); color: var(--fjord-dark); display: grid; place-items: center; margin-bottom: 1rem; }
.card__icon svg { width: 1.25rem; height: 1.25rem; }
.img-card { display: block; overflow: hidden; border-radius: var(--radius-card); border: 1px solid var(--frost); background: var(--mist); }
.img-card img { aspect-ratio: 3 / 2; width: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.img-card--portrait img { aspect-ratio: 3 / 4; }
.img-card:hover img { transform: scale(1.025); }
.figure { margin: 0; }
.figure img { border-radius: var(--radius-card); border: 1px solid var(--frost); width: 100%; object-fit: cover; }
.figure--43 img { aspect-ratio: 4 / 3; }
.figure--34 img { aspect-ratio: 3 / 4; }
.figure figcaption { font-size: var(--text-small); color: var(--slate); margin-top: .5rem; }

.list-dot { list-style: none; padding: 0; margin: 0 0 1em; }
.list-dot li { position: relative; padding-left: 1.1rem; margin-bottom: .4rem; }
.list-dot li::before { content: ""; position: absolute; left: 0; top: .65em; width: .4rem; height: .4rem; border-radius: 50%; background: var(--ember); }

.amenities { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 14rem), 1fr)); gap: .5rem 1.5rem; }
.amenities li { display: flex; align-items: center; gap: .6rem; padding: .45rem 0; border-bottom: 1px solid var(--frost); font-size: var(--text-small); }
.amenities svg { width: 1rem; height: 1rem; color: var(--fjord); flex: none; }

.distances { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; border: 1px solid var(--frost); border-radius: var(--radius-card); overflow: hidden; background: var(--white); }
.distances li { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 1rem; border-bottom: 1px solid var(--frost); }
.distances li:last-child { border-bottom: 0; }
.distances strong { font-family: var(--font-display); color: var(--fjord-dark); white-space: nowrap; }

/* ---------- prices table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--frost); border-radius: var(--radius-card); background: var(--white); }
.table th, .table td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--frost); vertical-align: top; }
.table th { font-family: var(--font-display); font-size: var(--text-tiny); letter-spacing: .08em; text-transform: uppercase; color: var(--slate); background: var(--mist); }
.table tr:last-child td { border-bottom: 0; }
.table td.num { font-family: var(--font-display); font-weight: 700; color: var(--fjord-dark); white-space: nowrap; }
.table tr.is-current td { background: rgb(228 125 51 / 0.08); }
.tag { display: inline-block; font-family: var(--font-display); font-size: var(--text-tiny); font-weight: 600; letter-spacing: .05em; text-transform: uppercase; background: var(--mist); color: var(--fjord-dark); padding: .2rem .5rem; border-radius: var(--radius-tag); }
.tag--ember { background: rgb(228 125 51 / 0.18); color: var(--ember-dark); }

.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; counter-reset: step; }
@media (min-width: 48rem) { .steps { grid-template-columns: repeat(3, 1fr); } }
.steps li { counter-increment: step; background: var(--white); border: 1px solid var(--frost); border-radius: var(--radius-card); padding: 1.5rem; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 50%; background: var(--fjord-dark); color: #fff; font-family: var(--font-display); font-weight: 700; margin-bottom: .85rem; }

/* ---------- booking widget ---------- */
.booking { display: grid; gap: 2rem; }
@media (min-width: 64rem) { .booking { grid-template-columns: 7fr 5fr; align-items: start; } .booking__aside { position: sticky; top: 6rem; } }
.cal { background: var(--white); border: 1px solid var(--frost); border-radius: var(--radius-card); padding: 1rem; }
@media (min-width: 40rem) { .cal { padding: 1.5rem; } }
.cal__months { display: grid; gap: 1.5rem; }
@media (min-width: 48rem) { .cal__months { grid-template-columns: 1fr 1fr; } }
.cal__nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; gap: 1rem; }
.cal__nav a, .cal__nav span { font-family: var(--font-display); font-weight: 600; font-size: var(--text-small); text-decoration: none; }
.cal__title { font-family: var(--font-display); font-weight: 700; margin: 0 0 .5rem; font-size: 1rem; }
.cal__grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal__wd { font-size: var(--text-tiny); text-transform: uppercase; letter-spacing: .05em; color: var(--slate); text-align: center; padding-bottom: .25rem; }
.day { display: flex; flex-direction: column; align-items: center; justify-content: center; aspect-ratio: 1; border-radius: var(--radius-control); font-size: var(--text-small); text-decoration: none; color: var(--ink); background: var(--mist); line-height: 1.1; border: 1px solid transparent; }
.day small { font-size: 0.65rem; color: var(--slate); margin-top: .15rem; }
.day--empty { background: transparent; }
.day--available { background: #eaf3ee; color: var(--pine); }
.day--available:hover { border-color: var(--fjord); background: #dcebe2; }
.day--booked, .day--blocked { background: repeating-linear-gradient(135deg, #e6e9e8 0 4px, #f2f4f3 4px 8px); color: #9aa5a8; text-decoration: line-through; }
.day--past, .day--outside { background: transparent; color: #b5bec1; }
.day--checkin, .day--checkout { background: var(--fjord-dark); color: #fff; }
.day--checkin small, .day--checkout small { color: rgb(255 255 255 / 0.8); }
.day--range { background: #c9dde3; color: var(--pine); }
.day--checkout-only { background: #eaf3ee; color: var(--pine); border-style: dashed; border-color: var(--fjord); }
.cal__legend { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1rem; font-size: var(--text-tiny); color: var(--slate); }
.cal__legend span::before { content: ""; display: inline-block; width: .8rem; height: .8rem; border-radius: 3px; margin-right: .35rem; vertical-align: -1px; }
.cal__legend .l-av::before { background: #eaf3ee; border: 1px solid #c9dde3; }
.cal__legend .l-bk::before { background: repeating-linear-gradient(135deg, #e6e9e8 0 3px, #f2f4f3 3px 6px); }
.cal__legend .l-sel::before { background: var(--fjord-dark); }
.cal__status { margin: .75rem 0 0; font-size: var(--text-small); color: var(--fjord-dark); font-weight: 500; }

.quote { background: var(--white); border: 1px solid var(--frost); border-radius: var(--radius-card); padding: 1.5rem; }
.quote h2, .quote h3 { margin-top: 0; }
.quote__rows { list-style: none; padding: 0; margin: 1rem 0; }
.quote__rows li { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px solid var(--frost); font-size: var(--text-small); }
.quote__rows li.total { border-bottom: 0; font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--fjord-dark); padding-top: .75rem; }
.quote__note { font-size: var(--text-tiny); color: var(--slate); }
.quote__breakdown summary { cursor: pointer; font-size: var(--text-small); color: var(--fjord-dark); }
.quote__breakdown table td { padding: .2rem 0; font-size: var(--text-small); }
.quote__breakdown table td:last-child { text-align: right; }

/* ---------- forms ---------- */
.field { display: grid; gap: .35rem; margin-bottom: 1rem; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: var(--text-small); }
.field input, .field select, .field textarea { width: 100%; padding: .7rem .85rem; border: 1px solid var(--frost); border-radius: var(--radius-control); background: #fff; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--fjord); outline: none; box-shadow: 0 0 0 3px rgb(72 108 122 / 0.18); }
.field textarea { min-height: 7rem; resize: vertical; }
.field--inline { display: flex; align-items: flex-start; gap: .6rem; }
.field--inline input { width: 1.1rem; height: 1.1rem; margin-top: .2rem; flex: none; }
.field--inline label { font-family: var(--font-body); font-weight: 400; }
.field-row { display: grid; gap: 1rem; }
@media (min-width: 40rem) { .field-row { grid-template-columns: 1fr 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { border-radius: var(--radius-control); padding: .85rem 1rem; font-size: var(--text-small); margin-bottom: 1rem; border: 1px solid; }
.alert--error { background: #fbeeee; color: var(--error); border-color: #efc9c9; }
.alert--success { background: #e9f3ee; color: var(--success); border-color: #c5dfd1; }
.alert--info { background: var(--mist); color: var(--fjord-dark); border-color: var(--frost); }

/* ---------- gallery ---------- */
.gallery { display: grid; gap: .75rem; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 48rem) { .gallery { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
@media (min-width: 64rem) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery a { display: block; border-radius: var(--radius-card); overflow: hidden; background: var(--mist); border: 1px solid var(--frost); }
.gallery img { aspect-ratio: 1; object-fit: cover; width: 100%; transition: transform .6s var(--ease); }
.gallery a:hover img { transform: scale(1.03); }
.gallery--wide a:first-child { grid-column: span 2; }
.gallery--wide a:first-child img { aspect-ratio: 2 / 1; }
.lightbox { position: fixed; inset: 0; z-index: 80; background: rgb(17 29 33 / 0.94); display: grid; grid-template-rows: auto 1fr auto; color: #fff; }
.lightbox[hidden] { display: none; }
.lightbox__bar { display: flex; justify-content: space-between; align-items: center; padding: 1rem var(--gutter); font-size: var(--text-small); }
.lightbox__stage { display: grid; place-items: center; padding: 0 var(--gutter); min-height: 0; }
.lightbox__stage img { max-height: calc(100vh - 9rem); max-width: 100%; width: auto; object-fit: contain; border-radius: var(--radius-control); }
.lightbox__caption { padding: 1rem var(--gutter); text-align: center; font-size: var(--text-small); color: rgb(255 255 255 / 0.85); }
.lightbox button { background: rgb(255 255 255 / 0.12); border: 1px solid rgb(255 255 255 / 0.3); color: #fff; border-radius: var(--radius-control); padding: .5rem .8rem; cursor: pointer; }
.lightbox button:hover { background: rgb(255 255 255 / 0.22); }

/* ---------- FAQ ---------- */
.faq details { border-bottom: 1px solid var(--frost); }
.faq summary { cursor: pointer; padding: 1rem 0; font-family: var(--font-display); font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--fjord); font-weight: 400; flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq details > div { padding: 0 0 1.25rem; color: var(--slate); }

/* ---------- map ---------- */
.map { position: relative; border-radius: var(--radius-card); overflow: hidden; border: 1px solid var(--frost); background: var(--mist); aspect-ratio: 16 / 9; display: grid; place-items: center; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__placeholder { text-align: center; padding: 1.5rem; }

/* ---------- CTA band + footer ---------- */
.cta-band { background: var(--pine); color: #fff; padding-block: var(--section-space); }
.cta-band h2 { color: #fff; }
.cta-band .eyebrow { color: rgb(255 255 255 / 0.75); }
.cta-band p { color: rgb(255 255 255 / 0.85); max-width: 46rem; }
.footer { background: var(--pine); color: rgb(255 255 255 / 0.85); padding-block: 3rem 2rem; font-size: var(--text-small); }
.footer a { color: #fff; }
.footer__grid { display: grid; gap: 2rem; }
@media (min-width: 48rem) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer h3 { color: #fff; font-size: 1rem; margin-bottom: .75rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .35rem; }
.footer__bottom { border-top: 1px solid rgb(255 255 255 / 0.12); margin-top: 2.5rem; padding-top: 1.25rem; font-size: var(--text-tiny); color: rgb(255 255 255 / 0.6); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; }
.footer .brand { color: #fff; }

/* ---------- prose ---------- */
.prose h2 { margin-top: 2rem; }
.prose h3 { margin-top: 1.5rem; }
.prose p { color: var(--slate); }

/* ---------- htmx ---------- */
.htmx-request .htmx-indicator { display: inline; }
.htmx-indicator { display: none; }
.htmx-request.btn { opacity: .7; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .header, .footer, .cta-band, .btn, .cal, .lightbox { display: none !important; }
}
