/* Book Direct Lake — mobile-first static site
   Type is sized for comfortable reading on phones and tablets:
   body 19px mobile / 21px desktop, small text 16px minimum. */
:root {
  --navy: #10243a;
  --navy-deep: #0a1828;
  --ink: #15202b;
  --slate: #2e3e4c;
  --muted: #2e3e4c;
  --line: #d7ddd8;
  --paper: #f6f3ee;
  --cream: #fbf8f3;
  --white: #ffffff;
  --lake: #1d5a6e;
  --lake-bright: #24738c;
  --sand: #efe3d2;
  --copper: #a04e24;
  --copper-hover: #833f1c;
  --shadow: 0 12px 32px rgba(16, 36, 58, 0.12);
  --radius: 16px;
  --header-h: 80px;
  --font: "Source Sans 3", "Segoe UI", system-ui, -apple-system, sans-serif;
  --display: "Fraunces", "Palatino Linotype", Palatino, "Times New Roman", serif;
  --text: 1.1875rem;      /* 19px body on mobile */
  --text-lg: 1.3125rem;   /* 21px body on desktop */
  --text-sm: 1rem;        /* 16px minimum for small/eyebrow/caption/footer/table */
  --text-btn: 1.125rem;   /* 18px buttons */
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--text);
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

@media (min-width: 800px) {
  body { font-size: var(--text-lg); }
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--lake); }
a:hover { color: var(--lake-bright); }
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; color: var(--navy); line-height: 1.2; }
h1 { font-size: clamp(2.25rem, 7vw, 3.85rem); margin: 0 0 0.5rem; }
h2 { font-size: clamp(1.85rem, 4.2vw, 2.6rem); margin: 0 0 0.65rem; }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.7rem); margin: 0 0 0.4rem; }
p { margin: 0 0 1rem; }
.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--navy);
  color: #fff;
  padding: 8px 12px;
  z-index: 100;
  font-size: var(--text-sm);
}
.skip:focus { top: 12px; }

.wrap { width: min(1100px, calc(100% - 2rem)); margin-inline: auto; }
.wrap.narrow { width: min(760px, calc(100% - 2rem)); }
.eyebrow {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--copper);
  margin: 0 0 0.5rem;
}
.intro { color: var(--slate); max-width: 42rem; }
.muted { color: var(--slate); }
.small { font-size: var(--text-sm); line-height: 1.6; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 52px;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: var(--text-btn);
  line-height: 1.3;
}
.btn-small { min-height: 48px; padding: 0.5rem 1.1rem; font-size: var(--text-btn); }
.btn-primary { background: var(--copper); color: #fff; }
.btn-primary:hover { background: var(--copper-hover); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.85); }
.btn-ghost:hover { background: rgba(255,255,255,0.14); color: #fff; }


/* Top announcement banner */
.site-banner {
  background: var(--navy-deep);
  color: #fff;
  text-align: center;
  padding: max(0.85rem, env(safe-area-inset-top, 0px)) 1.1rem 0.85rem;
}
.site-banner p {
  margin: 0 auto;
  max-width: 52rem;
  font-size: 1.125rem; /* 18px mobile */
  font-weight: 600;
  line-height: 1.45;
  color: #fff;
}
.banner-domain { color: var(--sand); font-weight: 700; }
@media (min-width: 800px) {
  .site-banner p { font-size: 1.25rem; } /* 20px */
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(251, 248, 243, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  width: min(1100px, calc(100% - 1.5rem));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--navy);
  text-decoration: none;
  flex: none;
  min-width: 0;
}
.wordmark:hover { opacity: 0.88; }
.logo-emblem {
  width: 56px;
  height: 56px;
  flex: none;
}
.logo-wordmark {
  width: auto;
  height: 44px;
  flex: none;
}
@media (min-width: 860px) {
  .logo-emblem { width: 64px; height: 64px; }
  .logo-wordmark { height: 52px; }
}
.menu-btn {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 1rem;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 999px;
  font: inherit;
  font-size: var(--text-btn);
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
}
.site-nav {
  display: none;
  position: absolute;
  top: calc(var(--header-h) + 1px);
  left: 0;
  right: 0;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  padding: 0.6rem 1rem 1rem;
  flex-direction: column;
  gap: 0.25rem;
}
.site-nav.is-open { display: flex; }
.site-nav a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  font-size: var(--text-sm);
  padding: 0.7rem 0.5rem;
  border-radius: 8px;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
}
.site-nav a:hover { background: var(--paper); color: var(--lake); }
.site-nav .btn { margin-top: 0.3rem; align-self: flex-start; min-height: 48px; }

@media (min-width: 860px) {
  .menu-btn { display: none; }
  .site-nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.15rem 0.95rem;
    padding: 0;
    border: 0;
    background: transparent;
  }
  .site-nav a {
    padding: 0.3rem 0;
    min-height: 0;
    font-size: 1.0625rem; /* 17px, still above the 16px floor */
  }
  .site-nav a:hover { background: transparent; }
  .site-nav .btn { margin-top: 0; min-height: 48px; }
}


/* VRBO-style search bar — sits under the banner and header */
.search-band {
  background: transparent;
  padding: 0.85rem 1rem 0.4rem;
  scroll-margin-top: calc(var(--header-h) + 8px);
}
.search-form {
  width: min(1100px, 100%);
  margin: 0 auto;
  display: grid;
  gap: 0.65rem;
  background: var(--white);
  border-radius: 16px;
  padding: 0.85rem;
  box-shadow: var(--shadow);
}
.search-field {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}
.search-field label {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.02em;
}
.search-field input,
.search-field select {
  font-family: inherit;
  font-size: var(--text); /* 19px — avoids iOS zoom and stays readable */
  line-height: 1.4;
  color: var(--ink);
  background: var(--cream);
  border: 1.5px solid #8b9aa6;
  border-radius: 10px;
  min-height: 52px;
  padding: 0.45rem 0.75rem;
  width: 100%;
}
.search-field input:focus,
.search-field select:focus {
  outline: 3px solid var(--lake);
  outline-offset: 1px;
  border-color: var(--lake);
  background: #fff;
}
.search-submit {
  width: 100%;
  min-height: 52px;
  font-size: var(--text-btn);
}
.search-hint {
  width: min(1100px, 100%);
  margin: 0.65rem auto 0;
  color: #fff;
  font-size: var(--text-sm);
  line-height: 1.5;
  min-height: 0;
  text-shadow: 0 1px 8px rgba(0,0,0,0.55);
}
.search-hint:empty { display: none; margin: 0; }

.renter-fee-note {
  width: min(1100px, calc(100% - 2rem));
  margin: 0.55rem auto 0;
  text-align: center;
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.4;
  text-shadow: 0 1px 8px rgba(0,0,0,0.55);
}
@media (min-width: 800px) {
  .renter-fee-note { font-size: 1.25rem; }
}

.owner-pitch {
  width: min(1100px, calc(100% - 2rem));
  margin: 0.7rem auto 0;
  text-align: center;
}
.owner-pitch a {
  display: inline-block;
  color: #fff;
  font-size: 1.125rem; /* 18px */
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none;
  text-shadow: 0 1px 8px rgba(0,0,0,0.55);
  border-bottom: 2px solid var(--sand);
  padding-bottom: 0.1rem;
}
.owner-pitch a:hover { color: var(--sand); }
@media (min-width: 800px) {
  .owner-pitch a { font-size: 1.25rem; } /* 20px */
}



@media (min-width: 860px) {
  .search-form {
    grid-template-columns: 1.1fr 1.1fr 0.9fr auto;
    align-items: end;
    padding: 0.75rem 0.75rem 0.75rem 1rem;
    gap: 0.85rem;
  }
  .search-submit { width: auto; padding-inline: 1.6rem; }
  .search-field input,
  .search-field select { font-size: 1.25rem; } /* 20px desktop */
}

/* Hero — sunset banner behind search + headline */
.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: flex;
  flex-direction: column;
  color: #fff;
  overflow: hidden;
}
.hero-media, .hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 46%;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8,16,26,0.82) 0%, rgba(8,16,26,0.58) 42%, rgba(8,16,26,0.22) 72%, rgba(8,16,26,0.32) 100%),
    linear-gradient(180deg, rgba(8,16,26,0.28) 0%, rgba(8,16,26,0.12) 40%, rgba(8,16,26,0.62) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  width: 100%;
  padding-bottom: 1.1rem;
}
.hero-copy {
  width: min(1100px, calc(100% - 2rem));
  margin: auto auto 0 auto;
  padding: 1.4rem 0 0.3rem;
}
.hero .eyebrow { color: var(--sand); }
.hero h1 { color: #fff; max-width: 16ch; text-shadow: 0 2px 18px rgba(0,0,0,0.45); }
.lede {
  font-size: 1.1875rem;
  line-height: 1.55;
  max-width: 32rem;
  color: #fff;
  text-shadow: 0 1px 10px rgba(0,0,0,0.5);
}
@media (min-width: 800px) {
  .lede { font-size: 1.375rem; max-width: 36rem; }
  .hero-shade {
    background:
      linear-gradient(90deg, rgba(8,16,26,0.78) 0%, rgba(8,16,26,0.48) 36%, rgba(8,16,26,0.12) 68%, rgba(8,16,26,0.22) 100%),
      linear-gradient(180deg, rgba(8,16,26,0.18) 0%, rgba(8,16,26,0.08) 45%, rgba(8,16,26,0.5) 100%);
  }
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin: 1.2rem 0 0.6rem; }
.hero-caption {
  width: min(1100px, calc(100% - 2rem));
  margin: 0.55rem auto 0;
  font-size: var(--text-sm);
  line-height: 1.45;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}

/* Sections */
.section { padding: 3.5rem 0; scroll-margin-top: calc(var(--header-h) + 8px); }
.section-alt { background: var(--paper); }

.renter-pitch {
  background: #fff4ea;
  border: 1.5px solid #e4c8ae;
  border-radius: 14px;
  padding: 1.1rem 1.2rem;
  max-width: 46rem;
  margin: 0.2rem 0 1.6rem;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.55;
}

.benefit-list {
  list-style: none;
  margin: 1.5rem 0 1.6rem;
  padding: 0;
  display: grid;
  gap: 0.65rem;
  max-width: 42rem;
}
.benefit-list li {
  position: relative;
  padding: 0.15rem 0 0.15rem 1.7rem;
  color: var(--ink);
  font-size: inherit;
  line-height: 1.5;
}
.benefit-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0.15rem;
  color: var(--copper);
  font-weight: 700;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
#cost-analysis {
  margin: 1.5rem 0 0.2rem;
  max-width: 46rem;
}
.cost-headline {
  font-family: var(--display);
  font-size: clamp(1.45rem, 5vw, 2rem);
  line-height: 1.22;
  color: var(--navy);
  margin: 0 0 0.85rem;
  font-weight: 600;
}
.cost-compact {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  font-size: var(--text-sm);
  line-height: 1.25;
  margin: 0 0 0.8rem;
  font-variant-numeric: tabular-nums;
}
.cost-compact thead th {
  background: var(--navy);
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 700;
  text-align: right;
  padding: 0.5rem 0.35rem;
  vertical-align: bottom;
  line-height: 1.2;
}
.cost-compact thead th:first-child,
.cost-compact tbody th {
  text-align: left;
  padding-left: 0.55rem;
}
.cost-compact tbody th,
.cost-compact tbody td {
  padding: 0.48rem 0.35rem;
  border-top: 1px solid var(--line);
  color: var(--ink);
  text-align: right;
  font-weight: 600;
}
.cost-compact tbody th {
  font-weight: 700;
  color: var(--navy);
}
.cost-compact tbody td:last-child,
.cost-compact thead th:last-child {
  color: #fff;
}
.cost-compact tbody td:last-child {
  color: var(--copper);
  font-weight: 800;
  background: #fff4ea;
}
.cost-compact thead th:last-child {
  background: var(--navy);
  color: #fff;
}
.cost-compact tr.is-featured th,
.cost-compact tr.is-featured td {
  background: #fff4ea;
}
.cost-compact tr.is-featured td:last-child {
  background: #f8e6d4;
}
.cost-punch {
  margin: 0 0 0.4rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  font-size: 1.125rem; /* 18px */
}
.cost-foot {
  margin: 0.55rem 0 0;
  font-size: var(--text-sm);
  line-height: 1.45;
  color: var(--slate);
}

#list .btn { margin-top: 0.4rem; }

.steps-heading { margin: 2rem 0 0.9rem; font-size: clamp(1.4rem, 2.4vw, 1.7rem); }

/* Homes — rental listing cards */
.home-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.6rem;
}
@media (min-width: 720px) {
  .home-grid { grid-template-columns: 1fr 1fr; }
}
.listing-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.listing-media {
  position: relative;
  background: #c9d0c8;
}
.listing-media .thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
}
.listing-media .open-gallery {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  display: block;
  width: 100%;
}
.listing-media .open-gallery:focus-visible {
  outline: 3px solid var(--lake);
  outline-offset: -3px;
}
.save-btn {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.95);
  color: var(--navy);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(16,36,58,0.18);
}
.save-btn svg { width: 24px; height: 24px; display: block; }
.save-btn[aria-pressed="true"] { color: #b42318; }
.save-btn[aria-pressed="true"] svg { fill: currentColor; }
.save-btn:focus-visible { outline: 3px solid var(--lake); outline-offset: 2px; }
.photo-count {
  position: absolute;
  left: 0.7rem;
  bottom: 0.7rem;
  border: 0;
  border-radius: 999px;
  background: rgba(10,24,40,0.82);
  color: #fff;
  font: inherit;
  font-size: var(--text-sm);
  font-weight: 600;
  min-height: 36px;
  padding: 0.25rem 0.7rem;
  cursor: pointer;
}
.photo-count:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.listing-body {
  padding: 1.15rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}
.listing-place {
  margin: 0;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--lake);
  letter-spacing: 0.02em;
}
.listing-body h3 { margin: 0.1rem 0 0.15rem; }
.listing-body .home-note {
  margin: 0.25rem 0 0.9rem;
  color: var(--slate);
}
.listing-body .btn { align-self: stretch; margin-top: auto; }

/* Scenery band */
.scenery { position: relative; color: #fff; }
.scenery img {
  width: 100%;
  height: clamp(260px, 44vw, 480px);
  object-fit: cover;
  object-position: center 45%;
}
.scenery-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.4rem 1.1rem 1.5rem;
  background: linear-gradient(180deg, transparent, rgba(10,24,40,0.86));
  text-align: center;
}
.scenery-caption p { margin: 0; font-family: var(--display); font-size: clamp(1.35rem, 3vw, 1.85rem); color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,0.4); }
.scenery-caption .muted {
  font-family: var(--font);
  font-size: var(--text-sm);
  line-height: 1.5;
  margin-top: 0.45rem;
  color: #fff;
  text-shadow: 0 1px 8px rgba(0,0,0,0.45);
}

/* Fee table */
.fee-table {
  margin: 1.6rem 0 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: var(--white);
  max-width: 720px;
}
.fee-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  padding: 0.95rem 1.15rem;
  border-top: 1px solid var(--line);
  font-size: 1.0625rem; /* 17px, above the 16px floor */
  line-height: 1.45;
}
.fee-head {
  border-top: 0;
  background: var(--navy);
  color: #fff;
  font-size: var(--text-sm);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 700;
}
.fee-emphasis {
  background: #fff4ea;
  font-weight: 700;
  font-size: 1.1875rem;
  color: var(--navy);
}
.fee-emphasis span:last-child { color: var(--copper); font-size: 1.35rem; }
.fee-row > span:last-child { text-align: right; white-space: nowrap; }

@media (min-width: 800px) {
  .fee-row { font-size: 1.125rem; }
  .fee-emphasis { font-size: 1.25rem; }
  .fee-emphasis span:last-child { font-size: 1.45rem; }
}

.steps {
  list-style: none;
  margin: 0 0 1.6rem;
  padding: 0;
  display: grid;
  gap: 0.9rem;
  counter-reset: step;
}
@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}
.steps li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.15rem 1.15rem 1.2rem 1.2rem;
  counter-increment: step;
  display: grid;
  gap: 0.35rem;
}
.steps li::before {
  content: "0" counter(step);
  font-family: var(--display);
  font-weight: 700;
  color: var(--copper);
  font-size: var(--text-sm);
  letter-spacing: 0.06em;
}
.steps li strong { color: var(--navy); font-size: 1.2rem; line-height: 1.3; }
.steps li span { color: var(--slate); }

/* Services */
.service-grid {
  display: grid;
  gap: 1.2rem;
  margin-top: 1.5rem;
}
@media (min-width: 800px) {
  .service-grid { grid-template-columns: repeat(3, 1fr); }
}
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(16,36,58,0.06);
}
.service-card img,
.service-fallback {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.service-fallback {
  background:
    radial-gradient(circle at 70% 28%, rgba(255,255,255,0.14), transparent 42%),
    linear-gradient(160deg, #1d5a6e 0%, #10243a 72%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(232, 217, 196, 0.92);
}
.service-fallback svg {
  width: 38%;
  height: auto;
}
.service-card h3, .service-card p { padding-inline: 1.15rem; }
.service-card h3 { margin-top: 1rem; }
.service-card p { color: var(--slate); padding-bottom: 1.2rem; }

/* FAQ */
.faq-list { margin-top: 1.2rem; display: grid; gap: 0.7rem; }
.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.2rem 0.2rem;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.125rem; /* 18px questions */
  line-height: 1.45;
  padding: 0.95rem 1.1rem;
  color: var(--navy);
  list-style: none;
  min-height: 52px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  float: right;
  color: var(--copper);
  font-weight: 500;
  font-size: 1.25rem;
  line-height: 1;
  margin-left: 0.75rem;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { padding: 0 1.1rem 1.1rem; margin: 0; color: var(--slate); font-size: inherit; }

.ask-block { text-align: left; }
.ask-block .btn { margin: 0.2rem 0 0.7rem; }

/* Footer */
.site-footer {
  background: var(--navy-deep);
  color: #f2f4f6;
  padding: 2.5rem 0 1.5rem;
  font-size: 1.0625rem; /* 17px */
  line-height: 1.6;
}
.footer-grid {
  display: grid;
  gap: 1.4rem;
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 1.4fr 0.8fr; align-items: start; }
  .site-footer { font-size: 1.125rem; }
}
.footer-mark { color: #fff; margin: 0 0 0.5rem; font-size: 1.4rem; }
.site-footer p { margin: 0 0 0.5rem; }
.site-footer .muted { color: #e8eef2; }
.footer-nav { display: flex; flex-direction: column; gap: 0.15rem; }
.footer-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.0625rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.footer-nav a:hover { color: var(--sand); }
.footer-meta {
  margin-top: 1.8rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.18);
  font-size: var(--text-sm);
  color: #e8eef2;
}

/* Lightbox */
.lightbox[hidden] { display: none; }
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
}
.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 16, 26, 0.88);
}
.lightbox-dialog {
  position: relative;
  height: 100%;
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  padding: 0.6rem;
}
.lightbox-figure {
  grid-column: 2;
  grid-row: 2;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 0;
}
.lightbox-figure img {
  max-height: min(78vh, 900px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  border-radius: 8px;
  background: #111;
}
.lightbox-figure figcaption {
  color: #fff;
  margin-top: 0.7rem;
  text-align: center;
  font-size: var(--text-sm);
  line-height: 1.5;
  max-width: 40rem;
  padding: 0 0.75rem;
}
.lightbox-close {
  grid-column: 1 / -1;
  grid-row: 1;
  justify-self: end;
  min-height: 48px;
  padding: 0 1rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255,255,255,0.18);
  color: #fff;
  font: inherit;
  font-size: var(--text-btn);
  font-weight: 600;
  cursor: pointer;
}
.lightbox-nav {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.18);
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}
.lightbox-nav.prev { grid-column: 1; grid-row: 2; }
.lightbox-nav.next { grid-column: 3; grid-row: 2; }
.lightbox-nav:hover, .lightbox-close:hover { background: rgba(255,255,255,0.3); }

@media (max-width: 640px) {
  .lightbox-dialog { grid-template-columns: 1fr 1fr; padding: 0.5rem; }
  .lightbox-figure { grid-column: 1 / -1; grid-row: 2; }
  .lightbox-nav { grid-row: 3; justify-self: center; margin-top: 0.4rem; }
  .lightbox-nav.prev { grid-column: 1; }
  .lightbox-nav.next { grid-column: 2; }
}
