/* ==========================================================================
   Cheemo Lodge - Tazin Lake, Saskatchewan
   Shared stylesheet for the whole site (all pages, relative paths only).
   ========================================================================== */

/* --------------------------------------------------------------- tokens -- */
:root {
  --pine-900: #0c2c1d;
  --pine-800: #0f3624;
  --pine-700: #14452f;
  --pine-600: #1c5c3f;
  --pine-500: #2a7752;
  --lake-700: #175a79;
  --lake-600: #1f6f95;
  --lake-500: #2f8ab4;
  --sand-50: #fbf9f4;
  --sand-100: #f6f2e8;
  --sand-200: #ece5d6;
  --sand-300: #ddd4bf;
  --line: #e2dbc9;
  --ink: #1b2723;
  --ink-soft: #55655d;
  --ink-mute: #7a8a82;
  --red: #a92a20;
  --white: #ffffff;

  --radius-lg: 18px;
  --radius: 13px;
  --radius-sm: 8px;

  --shadow-sm: 0 1px 2px rgba(16, 44, 29, .06);
  --shadow: 0 2px 4px rgba(16, 44, 29, .05), 0 14px 34px -18px rgba(16, 44, 29, .28);
  --shadow-lg: 0 4px 8px rgba(16, 44, 29, .06), 0 30px 60px -28px rgba(16, 44, 29, .38);

  --wrap: 1120px;
  --wrap-narrow: 760px;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Noto Sans", sans-serif;
  --font-head: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia,
    "Times New Roman", serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--sand-100);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; border: 0; }

a { color: var(--lake-700); text-underline-offset: 3px; }
a:hover { color: var(--pine-600); }

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.2;
  color: var(--pine-700);
  margin: 0 0 .6em;
  font-weight: 700;
  letter-spacing: -.01em;
}

h1 { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 2.85rem); }
h2 { font-size: clamp(1.45rem, 1.15rem + 1.2vw, 2rem); }
h3 { font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem); }
h4 { font-size: 1.06rem; }

p { margin: 0 0 1.05em; }
ul, ol { margin: 0 0 1.05em; padding-left: 1.25em; }
li { margin-bottom: .4em; }

strong, b { color: var(--pine-800); }

hr { border: 0; border-top: 1px solid var(--line); margin: 2.4rem 0; }

:focus-visible {
  outline: 3px solid var(--lake-500);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ------------------------------------------------------------- utilities -- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.wrap-narrow { max-width: var(--wrap-narrow); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 50%;
  transform: translate(-50%, -140%);
  z-index: 999;
  background: var(--pine-700);
  color: #fff;
  padding: .7rem 1.2rem;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  text-decoration: none;
  font-weight: 600;
  transition: transform .18s ease;
}
.skip-link:focus { transform: translate(-50%, 0); color: #fff; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--lake-600);
  margin-bottom: .5rem;
}

.lead { font-size: 1.1rem; color: var(--ink-soft); }

.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }

/* ------------------------------------------------------------- top strip -- */
.topbar {
  background: var(--pine-900);
  color: #d8e6de;
  font-size: .82rem;
}
.topbar .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1.4rem;
  align-items: center;
  justify-content: space-between;
  min-height: 40px;
  padding-block: .3rem;
}
.topbar a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.35); }
.topbar a:hover { border-bottom-color: #fff; color: #fff; }
.topbar-info { display: flex; flex-wrap: wrap; gap: .3rem 1.3rem; }
.topbar-flag { color: #ffd9a8; }

/* ---------------------------------------------------------------- header -- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 60;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 78px;
  padding-block: .6rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: .85rem;
  text-decoration: none;
  flex: 0 0 auto;
}
.brand img { height: 50px; width: auto; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.16rem;
  color: var(--pine-700);
  letter-spacing: .01em;
}
.brand-sub {
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.nav-toggle {
  display: none;
  background: var(--sand-100);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .5rem .7rem;
  cursor: pointer;
  color: var(--pine-700);
  font: inherit;
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--pine-700);
  border-radius: 2px;
}

.site-nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .1rem;
  margin: 0;
  padding: 0;
}
.site-nav li { margin: 0; }
.site-nav a {
  display: block;
  padding: .5rem .68rem;
  border-radius: var(--radius-sm);
  color: var(--pine-700);
  text-decoration: none;
  font-size: .875rem;
  font-weight: 600;
  letter-spacing: .01em;
  white-space: nowrap;
}
.site-nav a:hover { background: var(--sand-100); color: var(--pine-600); }
.site-nav a[aria-current="page"] {
  background: var(--pine-700);
  color: #fff;
}
.site-nav a.nav-cta {
  background: var(--sand-200);
  color: var(--pine-800);
  margin-left: .35rem;
}
.site-nav a.nav-cta:hover { background: var(--pine-700); color: #fff; }

/* ------------------------------------------------------------------ hero -- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1100px 460px at 12% -10%, rgba(47,138,180,.30), transparent 65%),
    radial-gradient(900px 420px at 96% 8%, rgba(42,119,82,.42), transparent 62%),
    linear-gradient(160deg, #0e3323 0%, #16513a 52%, #123f4d 100%);
  color: #eef5f1;
  border-bottom: 4px solid var(--sand-300);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: .5;
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(1.6rem, 4vw, 3.4rem);
  align-items: center;
  padding-block: clamp(2.4rem, 6vw, 4.4rem);
}
.hero h1 { color: #fff; margin-bottom: .5rem; }
.hero p { color: #d5e6dd; font-size: 1.1rem; }
.hero .eyebrow { color: #8fd0ea; }
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  list-style: none;
  padding: 0;
  margin: 1.35rem 0 1.6rem;
}
.hero-badges li {
  margin: 0;
  font-size: .82rem;
  font-weight: 600;
  padding: .35rem .8rem;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #eaf4ef;
}
.hero-figure {
  margin: 0;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: var(--shadow-lg);
  transform: rotate(-1.1deg);
}
.hero-figure img { border-radius: var(--radius-sm); display: block; margin-inline: auto; }
.hero-figure figcaption {
  font-size: .78rem;
  color: var(--ink-mute);
  text-align: center;
  padding-top: .6rem;
}

/* ---------------------------------------------------------------- buttons -- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .78rem 1.4rem;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: .93rem;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: #f0e3c6; color: var(--pine-900); }
.btn-primary:hover { background: #fff; color: var(--pine-800); }
.btn-outline {
  border-color: rgba(255,255,255,.6);
  color: #fff;
  background: transparent;
}
.btn-outline:hover { background: rgba(255,255,255,.14); color: #fff; }
.btn-solid { background: var(--pine-700); color: #fff; }
.btn-solid:hover { background: var(--pine-600); color: #fff; }
.btn-ghost-dark {
  border-color: var(--pine-700);
  color: var(--pine-700);
  background: transparent;
}
.btn-ghost-dark:hover { background: var(--pine-700); color: #fff; }

.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }

/* --------------------------------------------------------------- sections -- */
.section { padding-block: clamp(2.6rem, 6vw, 4.2rem); }
.section-tight { padding-block: clamp(1.8rem, 4vw, 2.6rem); }
.section-sand { background: var(--sand-50); border-block: 1px solid var(--line); }
.section-white { background: var(--white); border-block: 1px solid var(--line); }
.section-head { max-width: 62ch; margin-bottom: 2rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------------ grid -- */
.grid { display: grid; gap: 1.35rem; }
.grid > figure { align-self: start; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

/* ------------------------------------------------------------------ card -- */
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.card h3 { margin-bottom: .45rem; }
.card > :last-child { margin-bottom: 0; }
.card-lift { transition: transform .18s ease, box-shadow .18s ease; }
.card-lift:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.card-icon {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: linear-gradient(140deg, var(--pine-700), var(--lake-600));
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: .9rem;
}
.card-icon svg { width: 22px; height: 22px; display: block; }

/* ------------------------------------------------------------- stats bar -- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.stats li {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1rem;
  text-align: center;
}
.stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--pine-700);
  line-height: 1.1;
}
.stat-label {
  display: block;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-top: .3rem;
}

/* ---------------------------------------------------------------- figures -- */
.media {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.media img { display: block; width: 100%; }
.media figcaption {
  padding: .8rem 1rem;
  font-size: .86rem;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
  background: var(--sand-50);
}

.split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.split.reverse .split-media { order: -1; }

.floating-photo {
  float: right;
  width: min(320px, 45%);
  margin: 0 0 1rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.floating-photo.left { float: left; margin: 0 1.5rem 1rem 0; }
.floating-photo figcaption {
  font-size: .8rem;
  color: var(--ink-mute);
  padding: .5rem .7rem 0;
  background: none;
  border: 0;
}

/* -------------------------------------------------------------- prose ----- */
.prose { max-width: 72ch; }
.prose h2 { margin-top: 2rem; }
.prose h3 { margin-top: 1.6rem; }
.prose img { border-radius: var(--radius); }
.prose blockquote {
  margin: 1.5rem 0;
  padding: 1rem 1.3rem;
  border-left: 4px solid var(--pine-500);
  background: var(--sand-100);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--ink-soft);
}

.checklist { list-style: none; padding-left: 0; }
.checklist li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: .55rem;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .45em;
  width: 1.05rem;
  height: .58rem;
  border-left: 2.5px solid var(--pine-500);
  border-bottom: 2.5px solid var(--pine-500);
  transform: rotate(-45deg);
}

.tag-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.tag-list li {
  margin: 0;
  font-size: .82rem;
  font-weight: 600;
  padding: .3rem .75rem;
  border-radius: 999px;
  background: var(--sand-200);
  color: var(--pine-800);
}

/* ----------------------------------------------------------------- table -- */
.table-scroll { overflow-x: auto; margin-bottom: 1.4rem; }
table.data {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: .95rem;
}
table.data caption {
  caption-side: top;
  text-align: left;
  font-size: .85rem;
  color: var(--ink-mute);
  padding-bottom: .6rem;
}
table.data th,
table.data td {
  padding: .8rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
table.data thead th {
  background: var(--pine-700);
  color: #fff;
  font-family: var(--font-sans);
  font-size: .8rem;
  letter-spacing: .07em;
  text-transform: uppercase;
}
table.data tbody tr:nth-child(even) { background: var(--sand-50); }
table.data tbody tr:last-child td { border-bottom: 0; }

/* ------------------------------------------------------------------ faq ---- */
.faq { display: grid; gap: .75rem; }
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 1.2rem;
  box-shadow: var(--shadow-sm);
}
.faq details[open] { border-color: var(--pine-500); }
.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-family: var(--font-head);
  font-size: 1.06rem;
  color: var(--pine-700);
  padding: 1rem 0;
  list-style: none;
  display: flex;
  align-items: flex-start;
  gap: .8rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--font-sans);
  font-size: 1.3rem;
  line-height: 1;
  color: var(--pine-500);
  flex: 0 0 auto;
}
.faq details[open] summary::after { content: "\2013"; }
.faq .faq-body { padding-bottom: 1.1rem; color: var(--ink-soft); }
.faq .faq-body > :last-child { margin-bottom: 0; }

/* --------------------------------------------------------------- notice ---- */
.notice {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .6rem 1.2rem;
  background: #fdf3e2;
  border: 1px solid #e8cf9f;
  border-left: 5px solid #d79b32;
  border-radius: var(--radius-sm);
  padding: .95rem 1.2rem;
  font-size: .94rem;
  color: #6b4a12;
}
.notice strong { color: #53380a; }
.notice a { color: #8a5a08; font-weight: 700; }
.notice-alert {
  background: #fdeceb;
  border-color: #edb9b4;
  border-left-color: var(--red);
  color: #6d1c15;
}
.notice-alert strong { color: #56130e; }

/* --------------------------------------------------------------- gallery --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
  gap: 1rem;
}
.gallery-item {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.gallery-item a { display: block; overflow: hidden; background: var(--sand-200); }
.gallery-item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .35s ease;
}
.gallery-item a:hover img { transform: scale(1.045); }
.gallery-item figcaption {
  padding: .7rem .9rem;
  font-size: .84rem;
  color: var(--ink-soft);
}
.gallery-group { margin-bottom: 2.6rem; }
.gallery-group:last-child { margin-bottom: 0; }
.gallery-group h3 {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--sand-300);
}

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  background: rgba(9, 26, 18, .92);
  padding: clamp(1rem, 4vw, 3rem);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: .8rem;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: min(1000px, 100%);
  max-height: 78vh;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.lightbox-caption { color: #dbe9e2; font-size: .92rem; text-align: center; max-width: 70ch; }
.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1.1rem;
  background: rgba(255,255,255,.14);
  color: #fff;
  border: 1px solid rgba(255,255,255,.4);
  border-radius: 999px;
  width: 44px; height: 44px;
  font-size: 1.3rem;
  cursor: pointer;
  line-height: 1;
}
.lightbox-close:hover { background: rgba(255,255,255,.3); }

/* --------------------------------------------------------------- photo pages */
.photo-page { background: var(--sand-100); }
.photo-stage {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1rem, 3vw, 2rem);
  box-shadow: var(--shadow);
  text-align: center;
}
.photo-stage img {
  border-radius: var(--radius-sm);
  margin-inline: auto;
  display: block;
}
.photo-nav {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  justify-content: center;
  margin-top: 1.5rem;
}

/* ----------------------------------------------------------- breadcrumbs --- */
.breadcrumbs {
  font-size: .84rem;
  color: var(--ink-mute);
  padding-top: 1.1rem;
}
.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem .5rem;
  padding: 0;
  margin: 0;
}
.breadcrumbs li { margin: 0; }
.breadcrumbs a { color: var(--lake-700); text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: var(--ink-soft); }
.breadcrumbs .sep { color: var(--sand-300); }

/* ------------------------------------------------------------ page header -- */
.page-head {
  background: linear-gradient(155deg, #123f2c 0%, #1a5b41 60%, #1b5468 100%);
  color: #eef5f1;
  padding-block: clamp(1.6rem, 4vw, 2.6rem);
  border-bottom: 4px solid var(--sand-300);
}
.page-head h1 { color: #fff; margin-bottom: .35rem; }
.page-head p { color: #cfe3da; margin-bottom: 0; max-width: 68ch; }
.page-head .breadcrumbs { color: #a9c9ba; padding-top: 0; margin-bottom: .8rem; }
.page-head .breadcrumbs a { color: #e2f0e9; }
.page-head .breadcrumbs [aria-current="page"] { color: #b9d5c8; }
.page-head .breadcrumbs .sep { color: #6b8f7e; }

/* ---------------------------------------------------------------- footer --- */
.site-footer {
  background: var(--pine-900);
  color: #c3d6cb;
  margin-top: 3rem;
  font-size: .92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 2rem;
  padding-block: 3rem 2rem;
}
.site-footer h2,
.site-footer h3 {
  color: #fff;
  font-size: 1rem;
  font-family: var(--font-sans);
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-bottom: .9rem;
}
.site-footer a { color: #d7e7de; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .45rem; }
.footer-brand img { height: 52px; width: auto; background: #fff; padding: .4rem .6rem; border-radius: var(--radius-sm); }
.footer-brand p { margin-top: .9rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.14);
  padding-block: 1.1rem 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  justify-content: space-between;
  font-size: .82rem;
  color: #9ab3a7;
}
.footer-bottom p { margin: 0; }

/* ------------------------------------------------------------ responsive --- */
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

/* Collapse the navigation into a menu button. The "js" flag on <html> means
   the menu is only hidden when JavaScript is available to reopen it. */
@media (max-width: 1120px) {
  html.js .nav-toggle { display: block; }
  html.js .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: .6rem clamp(1rem, 4vw, 2rem) 1rem;
  }
  html.js .site-nav.is-open { display: block; }
  html.js .site-nav ul { flex-direction: column; align-items: stretch; gap: .15rem; }
  html.js .site-nav a { padding: .72rem .8rem; font-size: .98rem; white-space: normal; }
  html.js .site-nav a.nav-cta { margin-left: 0; }
  .header-inner { position: relative; }
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-figure { transform: none; max-width: 520px; }
  .split { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  body { font-size: 16.5px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .floating-photo,
  .floating-photo.left {
    float: none;
    width: 100%;
    margin: 0 0 1.2rem;
  }
  .brand img { height: 42px; }
  .brand-sub { display: none; }
  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .gallery-item img { aspect-ratio: 3 / 2; }
}

@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

@media print {
  .site-header, .topbar, .site-footer, .nav-toggle, .lightbox, .btn-row { display: none !important; }
  body { background: #fff; font-size: 12pt; }
  .hero, .page-head { background: #fff !important; color: #000 !important; }
  .hero h1, .page-head h1 { color: #000 !important; }
}
