:root {
  --navy: #295541;
  --navy-deep: #295541;
  --navy-panel: #295541;
  --gold: #c1913f;
  --gold-dark: #a87e33;
  --gold-light: #d9b96a;
  --teal: #295541;
  --ink: #24332b;
  --paper: #f7f5ef;
  --paper-warm: #fbfaf6;
  --line: #e2ded2;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper-warm);
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

.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;
}

/* ---------- Disclaimer bar ---------- */
.disclaimer {
  background: var(--navy-deep);
  color: #edf3ef;
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  padding: 0.5rem 0.75rem;
  text-wrap: balance;
}

/* ---------- Header ---------- */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  /* Same width and left inset as .hero / .hero-content so the logo lines up with the hero text. */
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0.8rem 2rem 0.8rem 3.5rem;
}

.header-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.brand {
  display: block;
  width: 275px;
  aspect-ratio: 2681 / 594;
  flex-shrink: 1;
  min-width: 0;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.9rem;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: 0;
  margin-right: auto;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.brand:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.main-nav {
  display: flex;
  gap: 2.4rem;
}

.main-nav a {
  text-decoration: none;
  font-size: 1rem;
  color: var(--navy);
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a[aria-current="page"] {
  color: var(--navy);
  border-bottom-color: var(--gold);
}

.nav-toggle {
  flex-shrink: 0;
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
  padding: 0 9px;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 3px;
  padding: 0.65rem 1.6rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.btn-gold {
  background: var(--gold);
  color: #ffffff;
}

.btn-gold:hover,
.btn-gold:focus-visible {
  background: var(--gold-dark);
  box-shadow: 0 2px 8px rgba(36, 51, 43, 0.18);
}

.btn-outline-gold {
  background: #ffffff;
  color: var(--gold-dark);
  border-color: var(--gold);
}

.btn-outline-gold:hover,
.btn-outline-gold:focus-visible {
  background: #fdf6e7;
}

.btn-lg {
  font-size: 1.15rem;
  padding: 0.9rem 2rem;
}

.arrow { font-weight: 400; }

.text-link {
  color: var(--teal);
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.15s ease;
}

.text-link:hover,
.text-link:focus-visible {
  border-bottom-color: var(--teal);
}

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  max-width: 1600px;
  margin: 0 auto;
  background: url("hero-clean-v2.webp") center 38% / cover no-repeat;
}

.hero-photo {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: transparent;
}

.hero-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

/* Soft wash so headline text stays readable over the photo */
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(247, 245, 239, 0.88) 0%, rgba(247, 245, 239, 0.55) 34%, rgba(247, 245, 239, 0.05) 62%, rgba(247, 245, 239, 0) 100%);
  pointer-events: none;
}

.hero-photo--placeholder::before {
  content: "Photo: Miramar, 121 Parks Street";
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  font-size: 0.8rem;
  color: rgba(36, 51, 43, 0.55);
  letter-spacing: 0.02em;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 740px;
  padding: 3.5rem 3rem 4rem 3.5rem;
}

.eyebrow {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.eyebrow::after {
  content: "";
  flex: 0 0 120px;
  height: 1px;
  background: var(--navy);
  opacity: 0.5;
}

.hero h1 {
  font-family: var(--serif);
  font-weight: 800;
  font-size: clamp(2.4rem, 4.2vw, 4.1rem);
  line-height: 1.06;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0 0 1.4rem;
}

.lede {
  font-size: 1.3rem;
  line-height: 1.45;
  color: var(--ink);
  margin: 0 0 2rem;
  max-width: 34rem;
}

/* ---------- Hero side panel ---------- */
.hero-panel {
  background: rgba(41, 85, 65, 0.78);
  color: #ffffff;
  padding: 3rem 2.75rem;
  display: flex;
  flex-direction: column;
}

.hero-panel h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 2.3rem;
  margin: 0;
  color: #ffffff;
}

.hero-panel .rule {
  width: 72px;
  height: 2px;
  background: var(--gold-light);
  margin: 1.1rem 0 1.4rem;
}

.panel-lede {
  font-size: 1.2rem;
  line-height: 1.5;
  margin: 0 0 2.2rem;
  color: #ffffff;
}

.panel-list {
  list-style: none;
  margin: 0 0 2.4rem;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.panel-list li {
  display: flex;
  align-items: center;
  gap: 1.3rem;
  font-size: 1.15rem;
  color: #ffffff;
}

.panel-list svg {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  color: #dce8df;
}

.panel-footer {
  margin-top: auto;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: #fffaf0;
}

/* ---------- Campaign sharing ---------- */
.mobile-share-region {
  display: none;
}

.share-block {
  color: var(--navy);
  margin-top: 1.5rem;
}

.hero-panel .share-block {
  color: #ffffff;
  margin-top: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.share-heading {
  margin: 0 0 0.65rem;
  font-size: 1rem;
  font-weight: 600;
}

.share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.share-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  color: #ffffff;
  background: var(--share-color, #526156);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
}

.share-button[hidden],
.share-fallback[hidden] { display: none; }

.share-button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.share-button[href^="https://www.facebook.com/"] { --share-color: #1877f2; }
.share-button[href^="mailto:"] { --share-color: #946719; }
.share-button[data-share-copy] { --share-color: #295541; }
.share-button[data-share-sms] { --share-color: #247343; }
.share-button[href^="https://twitter.com/"] { --share-color: #151515; }
.share-button.share-brand svg { fill: currentColor; stroke: none; }
.share-button[data-share-native] { --share-color: #526156; }
.share-button[href^="https://www.facebook.com/"] svg { fill: currentColor; stroke: none; }
.share-button:hover { background: color-mix(in srgb, var(--share-color, #526156) 85%, #000000); }
.share-button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.share-button::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  padding: 0.3rem 0.5rem;
  border-radius: 3px;
  background: #ffffff;
  color: #295541;
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.18);
  font: 0.8rem var(--sans);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  z-index: 3;
}

.share-button:hover::after,
.share-button:focus-visible::after { opacity: 1; }

.share-button.share-brand::after,
.share-button[data-share-native]::after,
.share-button[data-share-sms]::after {
  left: auto;
  right: 0;
}

.share-status {
  margin: 0.5rem 0 0;
  min-height: 1.4em;
  font-size: 0.85rem;
  line-height: 1.4;
}

.share-fallback {
  width: 100%;
  max-width: 22rem;
  padding: 0.65rem;
  border: 1px solid currentColor;
  border-radius: 3px;
  color: #295541;
  background: #ffffff;
  font: 1rem var(--sans);
}

/* ---------- Action cards ---------- */
.actions {
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.actions-inner {
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.action-card {
  padding: 2.2rem 1.8rem 2.4rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
}

.action-card + .action-card {
  border-left: 1px solid var(--line);
}

.action-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.action-head svg {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  color: var(--gold);
}

.action-card h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1.15;
  color: var(--navy);
  margin: 0;
}

.action-card p {
  font-size: 1rem;
  line-height: 1.4;
  margin: 0;
  color: var(--ink);
}

.action-card .btn {
  margin-top: auto;
  min-height: 40px;
  padding: 0.45rem 1rem;
  font-size: 0.9rem;
}

.actions .btn-gold {
  background: var(--gold);
  border-color: transparent;
  border-radius: 2px;
  box-shadow: none;
}

.actions .btn-gold:hover {
  background: var(--gold-dark);
  box-shadow: none;
}

.actions .btn-gold:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
  box-shadow: none;
}

.actions .btn-gold:active {
  background: #996b25;
}

.actions .btn-gold:disabled {
  background: var(--gold);
  opacity: 0.65;
  cursor: not-allowed;
}

.action-card > .btn,
.sign-actions,
.fundraiser-action {
  align-self: center;
}

.action-card .text-link {
  margin-top: auto;
}

.sign-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  margin-top: auto;
}

.fundraiser-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  margin-top: auto;
  max-width: 100%;
}

.fundraiser-action .btn {
  max-width: 100%;
  flex-wrap: wrap;
  white-space: normal;
  text-align: center;
}

.gofundme-logo {
  display: block;
  width: 125px;
  height: 40px;
  object-fit: contain;
}

.tag {
  display: inline-block;
  background: #e4e0d3;
  color: #6b6653;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 2px;
}

/* ---------- Signup form ---------- */
.signup {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 0.5rem;
  width: 100%;
  margin-top: auto;
}

.signup input[type="email"] {
  min-width: 0;
  width: 100%;
  font-family: var(--sans);
  font-size: 1rem;
  min-height: 40px;
  padding: 0.4rem 0.65rem;
  border: 1px solid #c9c4b4;
  border-radius: 3px;
  background: #ffffff;
  color: var(--ink);
}

.signup input[type="email"]:focus {
  outline: 2px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--gold);
}

.signup .btn {
  margin-top: 0;
  padding-inline: 0.8rem;
}

.signup .form-note {
  grid-column: 1 / -1;
  min-height: 0;
}

.signup .form-note:not(:empty) {
  margin-top: 0.5rem;
}

.form-note {
  font-size: 0.9rem;
  margin: 0;
  min-height: 1.2em;
}

.form-note.is-error { color: #a03a2a; }
.form-note.is-success { color: #2e6e3f; }

.signup-confirmation {
  width: min(440px, calc(100% - 32px));
  max-height: calc(100% - 32px);
  padding: 0;
  margin: auto;
  border: 0;
  border-bottom: 4px solid var(--gold);
  border-radius: 6px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 12px 48px #0003;
}
.signup-confirmation::backdrop { background: rgb(20 40 30 / 40%); }
.signup-confirmation-content { position: relative; padding: 40px 30px 30px; }
.signup-confirmation p { margin: 0; font-size: 20px; line-height: 1.5; text-align: center; }
.signup-confirmation-close {
  position: absolute;
  top: 0;
  right: 0;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 28px;
  cursor: pointer;
}
.signup-confirmation-close:focus-visible { outline: 2px solid var(--gold); outline-offset: -4px; }

/* ---------- Project update ---------- */
.project-update {
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.project-update-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 2.5rem 3.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 3.5rem;
}

.project-update h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.3;
  margin: 0.5rem 0 1rem;
  color: var(--navy);
}

.project-update p {
  margin: 0 0 1rem;
  line-height: 1.6;
}

.project-update .btn {
  white-space: normal;
  text-align: center;
  margin-bottom: 1rem;
}

.project-update p a,
.project-status p a {
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.project-status > p,
.project-status > ul,
.project-comments {
  max-width: 850px;
  line-height: 1.65;
}

.project-status h3 {
  margin: 1.5rem 0 0.6rem;
  font-size: 1.1rem;
  color: var(--navy);
}

.project-status li + li {
  margin-top: 0.5rem;
}

.project-comments {
  padding-left: 1.25rem;
  border-left: 3px solid var(--navy);
  scroll-margin-top: 8rem;
}

.project-comments .btn {
  white-space: normal;
}

@media (max-width: 900px) {
  .project-update-inner { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .project-update-inner { padding: 2rem 1.25rem; }
}

/* ---------- About ---------- */
.about {
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.about-inner {
  max-width: 892px;
  margin: 0 auto;
  padding: 3rem 3.5rem;
}

.about-lead,
.about-copy,
.about-donate,
.about-actions,
.about-inner > .share-block {
  max-width: 780px;
}

.about h1 {
  margin: 0 0 1.5rem;
  color: var(--navy);
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1.2;
}

.about-lead {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.6;
}

.about-donate,
.about-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
}

.about-intro-divider,
.about-donate {
  margin: 1rem 0 2rem;
  padding: 0 0 1.5rem;
  border-bottom: 1px solid var(--line);
}

.about-donate h2,
.about-donate p {
  flex-basis: 100%;
  margin: 0;
}

.about-donate-button {
  max-width: 100%;
  margin-inline: auto;
  gap: 1rem;
  padding: 0.65rem 1rem;
  border-color: var(--gold);
  background: var(--gold);
  color: #193b2c;
}

.about-donate-button img {
  width: 110px;
  height: 36px;
  object-fit: contain;
  flex-shrink: 0;
  filter: brightness(0.5);
}

.about-donate-button:hover,
.about-donate-button:focus-visible {
  background: #d3a653;
  box-shadow: 0 2px 8px rgba(36, 51, 43, 0.12);
}

.about-donate h2 {
  font-family: var(--serif);
  font-size: 1.35rem;
  color: var(--navy);
}

.about-donate p {
  font-size: 1rem;
  line-height: 1.6;
  color: #526156;
}

.about-copy {
  font-size: 1.125rem;
  line-height: 1.65;
}

.about-copy h2 {
  margin: 2.5rem 0 1rem;
  font-family: var(--serif);
  font-size: 1.5rem;
  line-height: 1.3;
  color: var(--navy);
}

.about-copy > h2:first-child {
  margin-top: 0;
}

.about-principle {
  margin: 2.5rem 0;
  padding: 0.25rem 0 0.25rem 1.5rem;
  border-left: 3px solid var(--navy);
}

.about-principle h2 {
  margin-top: 0;
}

.about-principle p:last-child {
  margin-bottom: 0;
}

@media (min-width: 701px) {
  .about-copy .about-concerns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem 2.5rem;
  }

  .about-copy .about-concerns li + li {
    margin-top: 0;
  }
}

.about-copy p {
  margin: 0 0 1.4rem;
}

.about-copy ul {
  margin: 0 0 1.4rem;
  padding-left: 1.4rem;
}

.about-copy li + li {
  margin-top: 0.5rem;
}

.about-copy li::marker {
  color: var(--teal);
}

.about-signature {
  font-weight: 700;
  color: var(--navy);
}

.about-actions {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

@media (max-width: 640px) {
  .about h1 {
    font-size: 1.75rem;
  }
}

/* ---------- Documents and sources ---------- */
.sources {
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.sources,
.source-group {
  scroll-margin-top: 8rem;
}

.sources-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 3rem 1.8rem;
}

.sources-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  flex-wrap: wrap;
  margin-bottom: 1.8rem;
}

.sources-heading h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1.2;
  color: var(--navy);
}

.sources-heading p,
.source-meta {
  margin: 0;
  color: #526156;
  font-size: 0.9rem;
  line-height: 1.4;
}

.sources-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 3.5rem;
}

.source-group {
  min-width: 0;
  border-top: 2px solid var(--teal);
  padding-top: 1.1rem;
}

.source-group h2 {
  margin: 0 0 1.2rem;
  font-family: var(--serif);
  font-size: 1.4rem;
  line-height: 1.25;
  color: var(--navy);
}

.source-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.source-list li + li {
  border-top: 1px solid var(--line);
  margin-top: 1.2rem;
  padding-top: 1.2rem;
}

.source-link {
  display: inline-block;
  margin: 0.4rem 0;
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.source-link:hover {
  color: var(--navy);
}

.source-link:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 4px;
}

.source-list li > p:not(.source-meta) {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}

.source-list li > p:not(.source-meta) + p {
  margin-top: 0.75rem;
}

@media (max-width: 700px) {
  .about-inner {
    padding: 2rem 3.5rem;
  }
  .sources-inner {
    padding: 2rem 1.8rem;
  }

  .sources-heading h1 {
    font-size: 1.65rem;
  }

  .sources-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: #edf3ef;
  text-align: center;
  padding: 2rem 1.5rem;
}

.site-footer p {
  margin: 0.2rem 0;
  font-size: 0.95rem;
}

.footer-sub {
  font-size: 0.85rem;
  color: #bdcfc4;
}

/* ---------- Responsive ---------- */
@media (min-width: 901px) {
  .site-header {
    border-bottom: 1px solid #eeeeee;
  }
  .about,
  .sources {
    border-top: 0;
  }
  .hero h1,
  .hero-content .lede {
    text-shadow: 0 0 8px rgb(255 255 255 / 65%), 0 0 24px rgb(255 255 255 / 40%);
  }
  .header-inner {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

@media (min-width: 1181px) {
  .hero {
    --hero-gutter: max(0px, calc((100vw - 1600px) / 2));
    max-width: none;
    grid-template-columns: minmax(0, 1fr) calc(420px + var(--hero-gutter));
    background-position: center 25%;
  }
  .action-card {
    padding-inline: 1rem;
  }
  .action-head {
    gap: 0.5rem;
  }
  .action-card h2 {
    font-size: 1.25rem;
    white-space: nowrap;
  }
  .hero-photo {
    display: flex;
    align-items: center;
  }
  .hero-content {
    margin-left: var(--hero-gutter);
    max-width: 900px;
    padding-left: 2rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  .hero-panel {
    padding-right: calc(2rem + var(--hero-gutter));
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  .hero-photo img {
    visibility: hidden;
  }
}

@media (min-width: 1181px) and (max-width: 1279px) {
  .action-card {
    padding-inline: 0.4rem;
  }
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: 1fr;
    background: none;
  }
  .hero-panel {
    background: linear-gradient(rgba(41, 85, 65, 0.78), rgba(41, 85, 65, 0.78)),
      url("hero-bay-farm.webp") center / cover no-repeat;
  }
  .hero-photo {
    min-height: 560px;
  }
  .actions-inner {
    grid-template-columns: repeat(3, 1fr);
  }
  .action-card:nth-child(4) {
    border-left: none;
    border-top: 1px solid var(--line);
  }
  .action-card:nth-child(5) {
    border-top: 1px solid var(--line);
  }
  .action-card:nth-child(3n + 2) {
    border-left: 1px solid var(--line);
  }
}

@media (max-width: 900px) {
  .header-actions .btn-gold {
    display: none;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    gap: 0;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 16px rgba(36, 51, 43, 0.08);
  }
  .main-nav.is-open {
    display: flex;
  }
  .main-nav a:first-child {
    border-top: 1px solid var(--line);
  }
  .main-nav a {
    padding: 0.9rem 2rem;
    border-bottom: 1px solid var(--line);
  }
  .nav-toggle {
    display: flex;
  }
  .header-actions {
    margin-left: auto;
  }
  .brand {
    margin-right: 0;
  }
  .actions-inner {
    grid-template-columns: 1fr 1fr;
  }
  .action-card {
    border-top: 1px solid var(--line);
  }
  .action-card:nth-child(-n + 2) {
    border-top: none;
  }
  .action-card + .action-card {
    border-left: none;
  }
  .action-card:nth-child(even) {
    border-left: 1px solid var(--line);
  }
}

@media (max-width: 640px) {
  .disclaimer {
    font-size: 10px;
    letter-spacing: 0;
    padding-inline: 0.5rem;
  }
  .header-inner {
    padding: 0.65rem 0.9rem 0.65rem 1.25rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 42px;
    gap: 0.5rem;
  }
  .header-inner .nav-toggle {
    grid-column: 3;
    grid-row: 1;
  }
  .header-actions {
    grid-column: 2;
    grid-row: 1;
    margin-left: 0;
  }
  .about-inner {
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }
  .brand {
    width: 200px;
    max-width: 100%;
  }
  .header-actions > .btn {
    flex: 1;
    flex-shrink: 0;
    padding: 0.65rem 0.8rem;
    font-size: 0.85rem;
  }
  .hero-photo {
    min-height: 0;
    background: var(--paper);
  }
  .hero-photo img {
    position: relative;
    height: 240px;
  }
  .hero-photo::after {
    /* Fade only the lower half of the photo, behind the overlapping text. */
    inset: 120px 0 auto;
    height: 120px;
    background: linear-gradient(180deg, rgba(247, 245, 239, 0) 0%, rgba(247, 245, 239, 0.9) 65%, var(--paper) 100%);
  }
  .hero-content {
    padding: 1.5rem 1.25rem 2.5rem;
    margin-top: -5.5rem;
  }
  .eyebrow {
    font-size: 0.8rem;
    letter-spacing: 0;
    white-space: nowrap;
    gap: 0.6rem;
  }
  .eyebrow::after {
    flex: 0 1 48px;
    min-width: 0;
  }
  .hero h1 {
    font-size: 2.3rem;
  }
  .lede {
    font-size: 1.1rem;
  }
  .hero-panel {
    padding: 2.2rem 1.5rem;
    background-image: linear-gradient(rgba(41, 85, 65, 0.78), rgba(41, 85, 65, 0.78)),
      url("hero-bay-farm.webp");
  }
  .hero-panel:has(.panel-list:last-child) {
    padding-bottom: 1.5rem;
  }
  .hero-panel .panel-list:last-child {
    margin-bottom: 0;
  }
  .actions-inner {
    grid-template-columns: 1fr;
  }
  .action-card {
    padding: 1.25rem;
    gap: 0.65rem;
    border-top: 1px solid var(--line) !important;
    border-left: none !important;
  }
  .action-card:first-child {
    border-top: none !important;
  }
  .action-head {
    gap: 0.65rem;
  }
  .action-card h2 {
    font-size: 1.2rem;
  }
  .action-card .btn,
  .signup input[type="email"] {
    min-height: 44px;
  }
  .site-footer {
    padding: 1rem 1.25rem;
  }
  .site-footer p {
    font-size: 0.85rem;
    line-height: 1.4;
  }
  .mobile-share-region:not([hidden]) {
    display: block;
    padding: 1.25rem;
    background: #e4ece7;
    border-top: 1px solid #cbd9cf;
  }
  .mobile-share-region .share-block {
    margin: 0;
  }
  .mobile-share-region .share-heading {
    text-align: center;
    margin-bottom: 1rem;
  }
  .mobile-share-region .share-actions {
    justify-content: space-between;
    gap: 0.4rem;
  }
  .mobile-share-region .share-status:empty {
    display: none;
  }
  .mobile-share-region [data-share-copy]::after {
    left: auto;
    right: 0;
  }
}
