/* ============================================================
   leightonlake.ca — main stylesheet
   Palette drawn from the lake itself: dusk navy, lake blue,
   forest green, sunset amber, warm sand.
   ============================================================ */

:root {
  --c-dusk: #14384f;
  --c-dusk-deep: #0e2a3c;
  --c-lake: #3d7ea6;
  --c-lake-deep: #1d4e6b;
  --c-forest: #2c5f4f;
  --c-amber: #f2b134;
  --c-amber-deep: #c97f1f;
  --c-cream: #faf6ef;
  --c-sand: #f1e8d9;
  --c-ink: #22333f;
  --c-muted: #56676f;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 18px;
  --shadow-soft: 0 10px 30px rgba(14, 42, 60, 0.12);
  --shadow-card: 0 6px 18px rgba(14, 42, 60, 0.10);
  --maxw: 1100px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--c-ink);
  background: var(--c-cream);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

/* <picture> wrappers act as plain boxes the img fills — display:contents
   is avoided because some browsers give the hidden <source> elements
   layout boxes inside grids. */
picture { display: block; width: 100%; height: 100%; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--c-dusk);
  margin: 0 0 0.5em;
}

p { margin: 0 0 1.1em; }
a { color: var(--c-lake-deep); }
a:hover { color: var(--c-amber-deep); }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--c-dusk);
  color: #fff;
  padding: 0.6em 1.2em;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--c-dusk);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header--overlay {
  position: fixed;
  left: 0;
  right: 0;
  background: linear-gradient(to bottom, rgba(14, 42, 60, 0.55), rgba(14, 42, 60, 0));
}

.site-header--overlay.is-scrolled,
.site-header.is-scrolled {
  background: rgba(14, 42, 60, 0.96);
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.25);
}

.site-header__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand__mark { width: 44px; height: 44px; flex: none; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.25); }

.brand__text { display: flex; flex-direction: column; line-height: 1.15; }

.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
  letter-spacing: 0.01em;
}

.brand__sub {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 0.35rem;
  margin: 0;
  padding: 0;
}

.site-nav a {
  display: block;
  padding: 0.5rem 0.85rem;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  font-weight: 400;
  font-size: 0.98rem;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.site-nav a:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }

.site-nav a.is-active {
  background: var(--c-amber);
  color: var(--c-dusk-deep);
  font-weight: 500;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0.6rem;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--c-dusk);
}

.hero--tall { min-height: min(92vh, 900px); }

.hero__media,
.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__media img { object-fit: cover; }

.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(14, 42, 60, 0.28) 0%, rgba(14, 42, 60, 0) 35%, rgba(14, 42, 60, 0.55) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  width: 100%;
  margin: 0 auto;
  padding: 9rem 1.5rem 6.5rem;
  color: #fff;
}

.hero__kicker {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--c-amber);
  margin-bottom: 0.8rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

.hero__title {
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 4.3rem);
  font-weight: 700;
  margin: 0 0 0.35em;
  max-width: 16em;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
}

.hero__sub {
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  font-weight: 300;
  max-width: 34em;
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.45);
}

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }

.hero__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 70px;
  z-index: 3;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  padding: 0.78rem 1.7rem;
  border-radius: 999px;
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.2s ease;
}

.btn--solid {
  background: var(--c-amber);
  color: var(--c-dusk-deep);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.btn--solid:hover { background: #ffc14d; color: var(--c-dusk-deep); transform: translateY(-2px); }

.btn--ghost {
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  color: #fff;
}

.btn--ghost:hover { background: rgba(255, 255, 255, 0.15); color: #fff; transform: translateY(-2px); }

.btn--outline {
  border: 1.5px solid var(--c-lake-deep);
  color: var(--c-lake-deep);
}

.btn--outline:hover { background: var(--c-lake-deep); color: #fff; transform: translateY(-2px); }

/* ---------- Sections ---------- */

.section { padding: 4.5rem 1.5rem; }
.section--tint { background: var(--c-sand); }
.section--dusk { background: var(--c-dusk); color: rgba(255, 255, 255, 0.92); }
.section--dusk h2, .section--dusk h3 { color: #fff; }

.section__inner { max-width: var(--maxw); margin: 0 auto; }
.section__inner--narrow { max-width: 780px; }

.section-head { max-width: 700px; margin-bottom: 2.5rem; }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }

.kicker {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--c-amber-deep);
  margin-bottom: 0.5rem;
}

.section--dusk .kicker { color: var(--c-amber); }

.section-head h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }

.lead { font-size: 1.2rem; color: var(--c-muted); }
.section--dusk .lead { color: rgba(255, 255, 255, 0.8); }

/* ---------- Cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); color: inherit; }

.card__media { aspect-ratio: 4 / 3; overflow: hidden; }

.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.card:hover .card__media img { transform: scale(1.05); }

.card__body { padding: 1.3rem 1.4rem 1.5rem; flex: 1; }
.card__body h3 { font-size: 1.3rem; margin-bottom: 0.35em; }
.card__body p { margin: 0; color: var(--c-muted); font-size: 0.98rem; }

.card__more {
  display: inline-block;
  margin-top: 0.8rem;
  font-weight: 500;
  color: var(--c-amber-deep);
  font-size: 0.95rem;
}

/* ---------- At-a-glance strip ---------- */

.glance {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.25rem;
  text-align: center;
}

.glance__item {
  padding: 1.4rem 1rem;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.glance__num {
  font-family: var(--font-display);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--c-amber);
  display: block;
  margin-bottom: 0.2rem;
}

.glance__label { font-size: 0.92rem; color: rgba(255, 255, 255, 0.85); }

/* ---------- Split feature rows ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

.split:last-child { margin-bottom: 0; }

.split__media img { border-radius: var(--radius); box-shadow: var(--shadow-soft); }

.split--flip .split__media { order: 2; }

.split h2, .split h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

/* ---------- Lists ---------- */

.checklist, .amenities {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2em;
}

.checklist li, .amenities li {
  padding-left: 2rem;
  position: relative;
  margin-bottom: 0.7em;
}

.checklist li::before, .amenities li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.32em;
  width: 1.05em;
  height: 1.05em;
  border-radius: 50%;
  background: var(--c-forest) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat;
}

.amenities {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 0.2rem 2rem;
}

/* ---------- Notice / info boxes ---------- */

.notice {
  border-radius: var(--radius);
  padding: 1.4rem 1.6rem;
  margin: 2rem 0;
  background: #fff;
  border-left: 5px solid var(--c-amber);
  box-shadow: var(--shadow-card);
}

.notice--green { border-left-color: var(--c-forest); }
.notice--blue { border-left-color: var(--c-lake); }
.notice h3 { font-size: 1.15rem; margin-bottom: 0.4em; }
.notice p:last-child { margin-bottom: 0; }

/* ---------- Conditions widget ---------- */

.section--conditions { padding: 0 1.5rem; margin-top: -1.2rem; position: relative; z-index: 5; }

.conditions {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 1.4rem 1.8rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.4rem 2.5rem;
}

.conditions__now { display: flex; align-items: center; gap: 1rem; }

.wx-icon { width: 34px; height: 34px; flex: none; }
.wx-icon--big { width: 54px; height: 54px; }

.conditions__temp {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--c-dusk);
  line-height: 1.1;
  display: block;
}

.conditions__label { display: block; font-weight: 500; color: var(--c-ink); }
.conditions__meta { display: block; font-size: 0.88rem; color: var(--c-muted); }

.conditions__days { display: flex; gap: 1.6rem; }

.conditions__day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  font-size: 0.88rem;
  color: var(--c-muted);
}

.conditions__dayname { font-weight: 500; color: var(--c-ink); }

.conditions__facts { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-left: auto; }

.chip {
  display: inline-block;
  padding: 0.42rem 1rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  background: var(--c-sand);
  color: var(--c-ink);
  text-decoration: none;
}

.chip--green { background: #e2efe4; color: var(--c-forest); }
.chip--blue { background: #e2edf5; color: var(--c-lake-deep); }
.chip--link { border: 1.5px solid var(--c-amber); background: #fff; color: var(--c-amber-deep); }
.chip--link:hover { background: var(--c-amber); color: var(--c-dusk-deep); }

@media (max-width: 700px) {
  .section--conditions { padding: 0 1.25rem; }
  .conditions { gap: 1rem 1.6rem; }
  .conditions__facts { margin-left: 0; }
}

/* ---------- Photo band ---------- */

.photo-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.photo-band picture { aspect-ratio: 1; }
.photo-band img { border-radius: var(--radius); aspect-ratio: 1; object-fit: cover; width: 100%; height: 100%; }

/* ---------- Gallery ---------- */

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 2.2rem;
}

.filter-btn {
  border: 1.5px solid var(--c-lake-deep);
  background: transparent;
  color: var(--c-lake-deep);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.5rem 1.3rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.filter-btn:hover { background: rgba(61, 126, 166, 0.12); }

.filter-btn.is-active {
  background: var(--c-lake-deep);
  color: #fff;
}

.gallery-grid {
  columns: 3;
  column-gap: 1.1rem;
}

.gallery-item {
  break-inside: avoid;
  margin: 0 0 1.1rem;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  cursor: zoom-in;
  display: block;
}

.gallery-item img { width: 100%; transition: transform 0.35s ease; }
.gallery-item:hover img { transform: scale(1.04); }

.gallery-item figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 2.2rem 1rem 0.9rem;
  background: linear-gradient(to top, rgba(14, 42, 60, 0.82), transparent);
  color: #fff;
  font-size: 0.88rem;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.gallery-item:hover figcaption { opacity: 1; }

.gallery-item.is-hidden { display: none; }

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(10, 26, 36, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1rem 4.5rem;
}

.lightbox.is-open { display: flex; }

.lightbox__img {
  max-width: min(1200px, 94vw);
  max-height: 82vh;
  width: auto;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox__caption {
  position: absolute;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  text-align: center;
  max-width: 80vw;
}

.lightbox__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.12);
  border: 0;
  color: #fff;
  font-size: 1.9rem;
  line-height: 1;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease;
}

.lightbox__btn:hover { background: rgba(255, 255, 255, 0.28); }
.lightbox__btn--prev { left: 1rem; }
.lightbox__btn--next { right: 1rem; }

.lightbox__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  transform: none;
  font-size: 1.5rem;
  width: 46px;
  height: 46px;
}

/* ---------- Stocking table ---------- */

.stock-report { margin-top: 2.5rem; }
.stock-report h3 { font-size: 1.4rem; }

.stock-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  background: #fff;
}

.stock-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  min-width: 560px;
}

.stock-table th, .stock-table td {
  padding: 0.75rem 1.1rem;
  text-align: left;
  white-space: nowrap;
}

.stock-table th {
  background: var(--c-dusk);
  color: #fff;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.stock-table tbody tr:nth-child(even) { background: var(--c-cream); }
.stock-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.stock-table tbody .num { font-weight: 500; color: var(--c-lake-deep); }

.stock-report__source {
  font-size: 0.85rem;
  color: var(--c-muted);
  margin-top: 0.8rem;
}

/* ---------- History timeline ---------- */

.timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 2.2rem;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 8px;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(to bottom, var(--c-amber), var(--c-lake) 55%, var(--c-forest));
}

.timeline__item {
  position: relative;
  padding: 0 0 2.4rem 1.2rem;
}

.timeline__item:last-child { padding-bottom: 0.4rem; }

.timeline__item::before {
  content: "";
  position: absolute;
  left: -2.2rem;
  top: 0.42rem;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--c-cream);
  border: 3.5px solid var(--c-amber-deep);
  box-shadow: 0 0 0 3px var(--c-sand);
}

.timeline__year {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--c-amber-deep);
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 0.15rem;
}

.timeline__item h3 { font-size: 1.35rem; margin-bottom: 0.35em; }
.timeline__item p { margin-bottom: 0; color: var(--c-ink); }

.timeline__photo { margin: 1.2rem 0 0; }
.timeline__photo img { border-radius: var(--radius); box-shadow: var(--shadow-card); }
.timeline__photo figcaption { font-size: 0.88rem; color: var(--c-muted); margin-top: 0.6rem; }

/* ---------- FAQ accordion ---------- */

.faq {
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  margin-bottom: 0.9rem;
  overflow: hidden;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1.15rem 3.2rem 1.15rem 1.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.12rem;
  color: var(--c-dusk);
  position: relative;
  transition: background 0.2s ease;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  position: absolute;
  right: 1.3rem;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 1.7rem;
  color: var(--c-amber-deep);
  transition: transform 0.25s ease;
}

.faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq summary:hover { background: var(--c-cream); }

.faq__answer { padding: 0 1.4rem 1.25rem; color: var(--c-ink); }
.faq__answer p:last-child { margin-bottom: 0; }

/* ---------- Map / visit ---------- */

.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  margin: 2rem 0;
}

.map-embed iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

.route-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.route-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow-card);
}

.route-card h3 { font-size: 1.2rem; }
.route-card .dist {
  font-family: var(--font-display);
  color: var(--c-amber-deep);
  font-size: 1.5rem;
  font-weight: 700;
  display: block;
  margin-bottom: 0.3rem;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--c-dusk-deep);
  color: rgba(255, 255, 255, 0.82);
  margin-top: 0;
}

.site-footer a { color: rgba(255, 255, 255, 0.82); text-decoration: none; }
.site-footer a:hover { color: var(--c-amber); }

.site-footer__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 3.5rem 1.5rem 2.5rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.4fr;
  gap: 2.5rem;
}

.site-footer__col h3 {
  color: #fff;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 1rem;
}

.site-footer__col ul { list-style: none; margin: 0; padding: 0; }
.site-footer__col li { margin-bottom: 0.55em; }

.site-footer__about p { font-size: 0.95rem; margin-top: 1.1rem; }

.brand--footer { margin-bottom: 0.2rem; }

.site-footer__bar {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.3rem 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.6);
}

.site-footer__bar p { margin: 0.2em 0; }
.site-footer__bar a { text-decoration: underline; }

/* ---------- Reveal animation ---------- */

/* Reveal animation only applies when JS is available (html.js). */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .gallery-grid { columns: 2; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 1150px) {
  .site-nav a { padding: 0.5rem 0.6rem; font-size: 0.92rem; }
}

@media (max-width: 990px) {
  .nav-toggle { display: block; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(14, 42, 60, 0.98);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
  }

  .site-nav.is-open { max-height: 520px; }

  .site-nav ul { flex-direction: column; padding: 0.8rem 1.2rem 1.4rem; gap: 0.2rem; }
  .site-nav a { padding: 0.75rem 1rem; font-size: 1.05rem; }
}

@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; gap: 1.6rem; }
  .split--flip .split__media { order: 0; }

  .hero__content { padding: 7rem 1.25rem 5rem; }
  .section { padding: 3.2rem 1.25rem; }
}

@media (max-width: 560px) {
  .gallery-grid { columns: 1; }
  .site-footer__inner { grid-template-columns: 1fr; gap: 1.8rem; }
  .brand__sub { display: none; }
  .hero { min-height: 70vh; }
  .hero--tall { min-height: 88vh; }
}
