/*
Theme Name: Birdwood
Theme URI: https://www.bwhoa.co.za/
Author: BWHOA rebuild
Author URI: https://www.bwhoa.co.za/
Description: Modern green and blue HOA theme for Birdwood Estate.
Version: 1.5.3
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: birdwood
*/

:root {
  --bw-green: #1c5c3a;
  --bw-green-dark: #123f28;
  --bw-water: #2a7aa8;
  --bw-sky: #e8f4fb;
  --bw-cream: #f6f4ef;
  --bw-paper: #ffffff;
  --bw-ink: #1b2a24;
  --bw-muted: #5b6a64;
  --bw-gold: #d4a017;
  --bw-line: rgba(28, 92, 58, 0.12);
  --bw-shadow: 0 16px 40px rgba(18, 63, 40, 0.1);
  --bw-radius: 20px;
  --bw-max: 1140px;
  --bw-wood: var(--bw-green);
  --bw-wood-dark: var(--bw-green-dark);
  --bw-wood-mid: var(--bw-water);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--bw-ink);
  background: var(--bw-cream);
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  line-height: 1.65;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--bw-green); }

a:hover { color: var(--bw-water); }

.bw-wrap {
  width: min(var(--bw-max), calc(100% - 2rem));
  margin: 0 auto;
}

.bw-skip {
  position: absolute;
  left: -999px;
  top: 0;
}

.bw-skip:focus {
  left: 1rem;
  top: 1rem;
  z-index: 20;
  background: #fff;
  padding: 0.5rem 0.8rem;
}

.bw-topbar {
  background: var(--bw-green-dark);
  color: #e8f4ee;
  font-size: 0.9rem;
}

.bw-topbar a { color: inherit; text-decoration: none; }

.bw-topbar .bw-wrap,
.bw-header .bw-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.bw-header .bw-wrap {
  height: 76px;
  min-height: 76px;
  align-items: stretch;
}

.bw-topbar .bw-wrap { min-height: 40px; }

.bw-shortcuts,
.bw-menu,
.bw-footer-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
}

.bw-shortcuts a,
.bw-footer-nav a {
  color: inherit;
  text-decoration: none;
}

.bw-shortcuts a:hover { color: #fff; }

.bw-header {
  background: #fff;
  border-bottom: 1px solid var(--bw-line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.bw-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--bw-green-dark);
  text-decoration: none;
  padding: 0;
  align-self: stretch;
}

.bw-brand img {
  height: 100%;
  width: auto;
  display: block;
}

.bw-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.bw-brand-text strong {
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}

.bw-brand-text span {
  color: var(--bw-water);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
}

.bw-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.65rem 1.1rem;
  min-width: 0;
  flex: 1 1 auto;
}

.bw-menu {
  justify-content: flex-end;
  min-width: 0;
  align-self: stretch;
  align-items: stretch;
}

.bw-menu > li {
  display: flex;
  align-items: center;
}

.bw-menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
}

.bw-menu a {
  color: var(--bw-green-dark);
  text-decoration: none;
  padding: 0.4rem 0;
  font-weight: 600;
}

.bw-menu > li > a {
  display: flex;
  align-items: center;
  align-self: stretch;
}

.bw-menu .current-menu-item > a,
.bw-menu a:hover {
  color: var(--bw-water);
}

.bw-menu .sub-menu {
  list-style: none;
  margin: 0;
  padding: 0.75rem 0.9rem;
  background: #fff;
  color: var(--bw-ink);
  border-radius: 12px;
  box-shadow: var(--bw-shadow);
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 30;
  min-width: 220px;
  display: none;
}

.bw-menu .sub-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -14px;
  height: 14px;
}

.bw-menu .menu-item-has-children { position: relative; }

.bw-menu .menu-item-has-children:hover > .sub-menu,
.bw-menu .menu-item-has-children:focus-within > .sub-menu {
  display: grid;
  gap: 0.35rem;
}

.bw-menu .sub-menu a { color: var(--bw-ink); font-weight: 500; }

.bw-call {
  background: var(--bw-green);
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.55rem 0.95rem;
  white-space: nowrap;
  flex: 0 0 auto;
}

.bw-call:hover { background: var(--bw-green-dark); }

.bw-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--bw-line);
  color: var(--bw-green-dark);
  border-radius: 10px;
  padding: 0.4rem 0.65rem;
}

.bw-main {
  background: var(--bw-cream);
  min-height: 60vh;
}

.bw-hero {
  position: relative;
  height: min(62vh, 500px);
  min-height: 340px;
  overflow: hidden;
}

.bw-hero-img {
  position: absolute;
  left: 0;
  top: -22%;
  width: 100%;
  height: 144%;
  object-fit: cover;
  object-position: center;
  will-change: transform;
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .bw-hero-img {
    top: 0;
    height: 100%;
    will-change: auto;
    transform: none !important;
  }
}

.bw-hero-copy {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-content: center;
  text-align: center;
  color: #fff;
  padding: 2rem 1.2rem;
  background: linear-gradient(180deg, rgba(18, 63, 40, 0.18), rgba(18, 63, 40, 0.55));
}

.bw-hero-copy h1 {
  color: #fff;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  margin: 0 0 0.7rem;
  max-width: 16ch;
  justify-self: center;
}

.bw-hero-copy p {
  max-width: 46ch;
  margin: 0 auto 1.2rem;
  font-size: 1.08rem;
}

.bw-kicker {
  color: var(--bw-water);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.76rem;
  font-weight: 700;
  margin: 0 0 0.6rem;
}

.bw-kicker-light { color: #c8ead8; }

h1, h2, h3, .bw-display {
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  line-height: 1.2;
  color: var(--bw-green-dark);
  font-weight: 700;
}

.bw-lead {
  max-width: 62ch;
  color: var(--bw-muted);
  font-size: 1.08rem;
}

.bw-section { padding: 3.2rem 0; }

.bw-section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  max-width: 20ch;
  margin: 0 0 0.8rem;
}

.bw-feature-row {
  display: grid;
  grid-template-columns: 1.7fr 0.9fr;
  gap: 1.4rem;
  align-items: start;
}

.bw-photo-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
}

.bw-photo-card {
  background: var(--bw-paper);
  border-radius: var(--bw-radius);
  overflow: hidden;
  box-shadow: var(--bw-shadow);
  text-decoration: none;
  color: inherit;
  display: grid;
}

.bw-photo-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.bw-photo-card-body { padding: 1.1rem 1.2rem 1.3rem; }

.bw-photo-card h2 {
  margin: 0 0 0.45rem;
  font-size: 1.2rem;
}

.bw-help {
  background: var(--bw-sky);
  border-radius: var(--bw-radius);
  padding: 1.6rem 1.4rem;
}

.bw-help h2 { margin-top: 0; }

.bw-grid-3,
.bw-grid-2,
.bw-gallery,
.bw-docs,
.bw-agents,
.bw-directors {
  display: grid;
  gap: 1rem;
}

.bw-grid-3 { grid-template-columns: repeat(3, 1fr); }
.bw-grid-2 { grid-template-columns: 1.5fr 1fr; }
.bw-gallery { grid-template-columns: repeat(5, 1fr); }
.bw-docs { grid-template-columns: repeat(3, 1fr); }
.bw-agents,
.bw-directors { grid-template-columns: repeat(3, 1fr); }

.bw-card {
  background: var(--bw-paper);
  border: 0;
  border-radius: var(--bw-radius);
  padding: 1.2rem 1.3rem;
  box-shadow: var(--bw-shadow);
}

.bw-card h2,
.bw-card h3 { margin-top: 0; }

.bw-gallery img {
  border-radius: 14px;
  aspect-ratio: 1;
  object-fit: cover;
}

.bw-gallery-item {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  border-radius: 14px;
}

.bw-gallery-item:focus-visible {
  outline: 3px solid var(--bw-water);
  outline-offset: 3px;
}

.bw-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(18, 63, 40, 0.88);
  padding: 2.5rem 3.5rem;
}

.bw-lightbox[hidden] { display: none; }

.bw-lightbox img {
  width: min(92vw, 1400px);
  height: min(86vh, 900px);
  max-width: 92vw;
  max-height: 86vh;
  object-fit: contain;
  border-radius: 16px;
  box-shadow: var(--bw-shadow);
}

.bw-lightbox-close,
.bw-lightbox-prev,
.bw-lightbox-next {
  position: absolute;
  background: #fff;
  color: var(--bw-green-dark);
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.bw-lightbox-close {
  top: 1rem;
  right: 1rem;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  font-size: 1.6rem;
  line-height: 1;
}

.bw-lightbox-prev,
.bw-lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 999px;
  font-size: 1.2rem;
}

.bw-lightbox-prev { left: 0.8rem; }
.bw-lightbox-next { right: 0.8rem; }

body.bw-lightbox-open { overflow: hidden; }

.bw-notices,
.bw-stack { display: grid; gap: 0.85rem; }

.bw-notices time {
  color: var(--bw-muted);
  font-size: 0.88rem;
}

.bw-band {
  background: #fff;
  margin: 0 calc(50% - 50vw);
  padding-left: calc(50vw - 50%);
  padding-right: calc(50vw - 50%);
}

.bw-button,
.wp-block-button__link {
  display: inline-block;
  background: var(--bw-green);
  color: #fff !important;
  text-decoration: none;
  border: 2px solid var(--bw-green);
  border-radius: 999px;
  padding: 0.7rem 1.2rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.bw-button:hover { background: var(--bw-green-dark); border-color: var(--bw-green-dark); }

.bw-button-ghost {
  background: transparent;
  border-color: #fff;
  color: #fff !important;
}

.bw-button-ghost:hover {
  background: #fff;
  color: var(--bw-green-dark) !important;
  border-color: #fff;
}

.bw-button-outline {
  background: transparent;
  color: var(--bw-green) !important;
}

.bw-button-outline:hover {
  background: var(--bw-green);
  color: #fff !important;
}

.bw-home-content > .alignfull {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.bw-home-content .bw-band {
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

.bw-hero-block.wp-block-cover {
  min-height: min(62vh, 500px);
}

.bw-hero-block .wp-block-cover__inner-container {
  color: #fff;
}

.bw-hero-block h1,
.bw-hero-block p {
  color: #fff;
}

.bw-hero-block h1 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  max-width: 16ch;
  margin-left: auto;
  margin-right: auto;
}

.bw-home-content .bw-photo-card .wp-block-image,
.bw-home-content .bw-photo-card .wp-block-image img {
  margin: 0;
}

.bw-home-content .bw-photo-card .wp-block-image img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.bw-home-content .bw-photo-card .wp-block-heading,
.bw-home-content .bw-photo-card p {
  padding: 0 1.2rem;
}

.bw-home-content .bw-photo-card p:last-child {
  padding-bottom: 1.2rem;
}

.bw-home-content .wp-block-columns {
  margin-bottom: 0;
}

.bw-home-content .wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent;
  border: 2px solid currentColor;
}

.bw-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 1.5rem;
  align-items: start;
}

.bw-content :where(h2, h3) { margin-top: 1.6rem; }

.bw-phone-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bw-phone-list li {
  display: flex;
  flex-direction: column;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--bw-line);
}

.bw-phone-list span {
  color: var(--bw-muted);
  font-size: 0.86rem;
}

.bw-hours { margin-top: 1rem; }

.bw-faq details {
  background: var(--bw-paper);
  border: 0;
  border-radius: 12px;
  padding: 0.85rem 1rem;
  margin: 0 0 0.65rem;
  box-shadow: var(--bw-shadow);
}

.bw-faq summary {
  cursor: pointer;
  font-weight: 600;
}

.bw-contact-form {
  display: grid;
  gap: 0.75rem;
  max-width: 36rem;
}

.bw-contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.bw-contact-form input,
.bw-contact-form textarea {
  width: 100%;
  border: 1px solid var(--bw-line);
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  font: inherit;
  background: #fff;
}

.bw-hp { position: absolute; left: -9999px; }

.bw-alert { padding: 0.8rem 1rem; border-radius: 10px; }

.bw-alert-ok { background: #e6f3e4; }
.bw-alert-error { background: #f8e4e0; }

.bw-map {
  width: 100%;
  min-height: 320px;
  border: 0;
  border-radius: var(--bw-radius);
}

.bw-footer {
  background: var(--bw-green-dark);
  color: #d7ebe0;
  padding: 2.4rem 0 1.2rem;
}

.bw-footer a { color: #c8ead8; }

.bw-footer a:hover { color: #fff; }

.bw-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.bw-footer h2 {
  color: #fff;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.bw-footer-brand {
  display: block;
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 0.4rem;
}

.bw-footer-nav { flex-direction: column; gap: 0.35rem; }

.bw-copy {
  color: #9bb8aa;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1rem;
}

@media (max-width: 900px) {
  .bw-grid-3,
  .bw-grid-2,
  .bw-docs,
  .bw-agents,
  .bw-directors,
  .bw-page,
  .bw-feature-row,
  .bw-photo-cards,
  .bw-footer-grid { grid-template-columns: 1fr; }

  .bw-gallery { grid-template-columns: repeat(3, 1fr); }

  .bw-toggle { display: inline-flex; }

  .bw-nav {
    display: none;
    position: absolute;
    inset: 100% 0 auto;
    background: #fff;
    padding: 1rem;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    box-shadow: var(--bw-shadow);
  }

  .bw-call {
    align-self: flex-start;
  }

  .bw-header.is-open .bw-nav { display: flex; }

  .bw-menu,
  .bw-menu ul { flex-direction: column; }

  .bw-menu .sub-menu {
    position: static;
    display: grid;
    background: var(--bw-cream);
    box-shadow: none;
    padding: 0.4rem 0.6rem;
  }

  .bw-menu .sub-menu::before { display: none; }

  .bw-shortcuts { display: none; }
}

@media (max-width: 600px) {
  .bw-gallery { grid-template-columns: repeat(2, 1fr); }
  .bw-brand-text strong { font-size: 1.05rem; }
  .bw-hero { height: 320px; min-height: 280px; }
}

/* Full-screen hero and floating menu. */
body { background: #f6f6f4; }

.bw-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.bw-home .bw-header {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
}

.bw-pill {
  width: min(1120px, calc(100% - 1.5rem));
  height: 64px;
  margin: 0.85rem auto;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.8rem;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 999px;
  padding: 0 0.4rem 0 0.85rem;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.16);
}

.bw-header .bw-brand {
  flex: 0 0 auto;
  height: 44px;
  flex-direction: row;
  align-self: center;
  align-items: center;
  gap: 0.45rem;
  padding: 0;
}

.bw-header .bw-brand img,
.bw-mark {
  height: 44px;
  max-height: 44px;
  width: auto;
  max-width: 72px;
  margin: 0;
  object-fit: contain;
}

.bw-word {
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: #1b2a24;
}

.bw-nav {
  width: auto;
  flex: 1;
  justify-content: flex-start;
}

.bw-menu { justify-content: flex-start; flex-wrap: nowrap; gap: 0.15rem 0.85rem; }

.bw-menu > li > a,
.bw-menu a {
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: #24312c;
  padding: 0.45rem 0.15rem;
}

.bw-menu .current-menu-item > a,
.bw-menu a:hover { color: #1c5c3a; }

.bw-pillbtn {
  background: #1b2430;
  color: #fff !important;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.7rem 1.05rem;
  font-weight: 600;
  white-space: nowrap;
}

.bw-pillbtn:hover { background: #111820; color: #fff !important; }

.bw-main { background: #f6f6f4; }

.bw-hero {
  height: 100vh;
  min-height: 640px;
}

.bw-hero-copy {
  place-content: center start;
  text-align: left;
  padding: 7rem 8vw 4rem;
  background: linear-gradient(90deg, rgba(8, 14, 12, 0.62), rgba(8, 14, 12, 0.18) 58%, rgba(8, 14, 12, 0.28));
}

.bw-hero-copy h1 {
  justify-self: start;
  max-width: 9ch;
  margin: 0 0 0.8rem;
  font-size: clamp(3.2rem, 7vw, 6.2rem);
  font-weight: 650;
  letter-spacing: -0.04em;
  text-transform: none;
  line-height: 0.95;
  text-shadow: none;
}

.bw-hero-copy p {
  margin: 0;
  max-width: 34ch;
  text-align: left;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
}

.bw-footer-name {
  color: #fff;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}

@media (max-width: 900px) {
  .bw-pill { border-radius: 22px; flex-wrap: wrap; }

  .bw-nav {
    display: none;
    position: absolute;
    left: 0.75rem;
    right: 0.75rem;
    top: calc(100% - 0.4rem);
    width: auto;
    background: #fff;
    border-radius: 16px;
    padding: 0.8rem 1rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.16);
  }

  .bw-header.is-open .bw-nav { display: flex; }

  .bw-hero { height: 100vh; min-height: 560px; }

  .bw-hero-copy h1 { font-size: clamp(2.6rem, 12vw, 4rem); }
}

.bw-panel { background: #f3f3f3; padding: 4.2rem 0; }

.bw-panel-muted { background: #fff; }

.bw-panel-inner,
.bw-darkband .bw-wrap { text-align: center; }

.bw-panel-inner { max-width: 820px; }

.bw-panel-inner p,
.bw-panel-title {
  color: #444;
  font-size: 1.05rem;
  line-height: 1.7;
}

.bw-panel-title {
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  color: #222;
  margin: 0.4rem 0 1rem;
}

.bw-rule {
  display: inline-block;
  margin: 0 0 0.8rem;
  color: #111;
  font-size: 1.55rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.bw-rule::after,
.bw-content > h1::after {
  content: "";
  display: block;
  width: 74px;
  height: 2px;
  margin: 0.65rem auto 0;
  background: #222;
}

.bw-rule-light { color: #fff; }
.bw-rule-light::after { background: #fff; }

.bw-darkband {
  background: #2b2b2b;
  color: #f3f3f3;
  padding: 3.6rem 0 4rem;
}

.bw-splash-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 1.6rem;
  text-align: left;
}

.bw-splash-photo {
  color: inherit;
  text-decoration: none;
}

.bw-splash-photo img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.bw-splash-photo span {
  display: block;
  margin-top: 0.7rem;
  color: #eee;
}

.bw-splash-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.bw-splash-gallery img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.bw-splash-lower {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  text-align: left;
}

.bw-textlink {
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  text-decoration: none;
}

.bw-help-line { color: #555; }

.bw-content > h1 {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.bw-footer { text-align: center; background: #2b2b2b; }

.bw-footer-splash { display: grid; justify-items: center; gap: 0.35rem; }

.bw-footer-nav { justify-content: center; }

.bw-footer .bw-copy { border-top: 0; }

@media (max-width: 900px) {
  .bw-splash-split,
  .bw-splash-gallery,
  .bw-splash-lower { grid-template-columns: 1fr; }

  .bw-splash-photo img,
  .bw-splash-gallery img,
  .bw-shot img { height: 220px; }

  .bw-shots,
  .bw-shots-3,
  .bw-shots-2 { grid-template-columns: 1fr; }

  .bw-feature .bw-shot img { height: 52vh; }

  .bw-toggle {
    display: inline-flex;
    position: static;
    margin-left: auto;
  }

  .bw-pill { position: relative; }

  .bw-hero { height: 100vh; min-height: 560px; }
}

.bw-shots { display: grid; gap: 1.1rem; margin-top: 1.2rem; }
.bw-shots-3 { grid-template-columns: repeat(3, 1fr); }
.bw-shots-2 { grid-template-columns: 1fr 1fr; }

.bw-shot {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  color: #24312c;
  text-align: left;
  cursor: zoom-in;
}

.bw-shot img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.bw-shot span {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.95rem;
}

.bw-feature { background: #111; }

.bw-feature .bw-shot { position: relative; }

.bw-feature .bw-shot img { height: min(72vh, 680px); }

.bw-feature .bw-shot span {
  position: absolute;
  left: 1.6rem;
  bottom: 1.3rem;
  margin: 0;
  color: #fff;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 700;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
}

@media (max-width: 900px) {
  .bw-shots,
  .bw-shots-3,
  .bw-shots-2 { grid-template-columns: 1fr; }

  .bw-shot img { height: 240px; }

  .bw-feature .bw-shot img { height: 52vh; }
}

