@font-face {
  font-family: "Adonis";
  src: url("/fonts/adonis-web-0.woff2") format("woff2");
  font-display: swap;
  font-weight: 400;
}

@font-face {
  font-family: "Adonis";
  src: url("/fonts/adonis-web-3.woff2") format("woff2");
  font-display: swap;
  font-style: italic;
  font-weight: 400;
}

@font-face {
  font-family: "Pontano Local";
  src: url("/fonts/pontano-0.woff2") format("woff2");
  font-display: swap;
  font-weight: 400;
}

@font-face {
  font-family: "Pontano Local";
  src: url("/fonts/pontano-1.woff2") format("woff2");
  font-display: swap;
  font-weight: 700;
}

:root {
  --paper: #f6f5f3;
  --green: #365d42;
  --green-deep: #2f533b;
  --green-soft: #7f9b63;
  --green-pale: #c8d4ad;
  --ink: #263c2e;
  --muted: #5d6b5f;
  --line: rgba(47, 83, 59, 0.18);
  --white: #ffffff;
  --radius: 10px;
}

* {
  box-sizing: border-box;
}

html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

html {
  scroll-behavior: smooth;
}

/* Mobile media safety net: nothing wider than the viewport */
img,
svg,
video,
iframe {
  max-width: 100%;
}

body.montana-capture {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  color: var(--ink);
  font-family: "Pontano Local", "Pontano Sans", Arial, sans-serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
  padding: 0 clamp(28px, 4vw, 58px);
  background: rgba(246, 245, 243, 0.97);
  transition: box-shadow 180ms ease, height 180ms ease;
}

body.is-scrolled .site-header {
  height: 82px;
  box-shadow: 0 12px 36px rgba(38, 60, 46, 0.08);
}

.brand {
  min-width: 260px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--green-soft);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 700;
  line-height: 0.92;
}

.brand-main {
  display: block;
  font-size: 27px;
  letter-spacing: 0;
}

.brand-sub {
  display: block;
  margin-top: 5px;
  color: var(--green);
  font-size: 12px;
  font-weight: 400;
}

.brand-leaf {
  width: 72px;
  height: 72px;
  border: 3px solid currentColor;
  border-left-color: transparent;
  border-radius: 50%;
  position: relative;
  flex: 0 0 auto;
}

.brand-leaf::after {
  content: "";
  position: absolute;
  right: 9px;
  bottom: 9px;
  width: 40px;
  height: 22px;
  background: currentColor;
  border-radius: 100% 0 100% 0;
  transform: rotate(-18deg);
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 2.4vw, 36px);
  flex: 1;
  font-size: 18px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 52px;
  color: var(--ink);
  text-decoration: none;
  transition: color 160ms ease;
}

.nav-link:hover {
  color: var(--green-soft);
}

.caret {
  width: 8px;
  height: 8px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.dropdown {
  position: absolute;
  top: 100%;
  left: -18px;
  min-width: 230px;
  display: grid;
  gap: 0;
  padding: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 22px 45px rgba(38, 60, 46, 0.12);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.nav-item:hover .dropdown,
.nav-item:focus-within .dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.dropdown a {
  padding: 12px 14px;
  border-radius: 6px;
  color: var(--ink);
  text-decoration: none;
}

.dropdown a:hover {
  background: rgba(127, 155, 99, 0.14);
}

.pill-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 51px;
  padding: 0 23px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--white);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.pill-button:hover {
  background: var(--green);
  transform: translateY(-1px);
}

.pill-button.light {
  background: transparent;
  color: var(--white);
}

.pill-button.light:hover {
  background: var(--white);
  color: var(--green);
}

.pill-button.dark {
  background: var(--green);
  color: var(--white);
}

.mobile-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  background: transparent;
  color: var(--green);
  cursor: pointer;
}

.mobile-toggle span,
.mobile-toggle span::before,
.mobile-toggle span::after {
  display: block;
  width: 28px;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.mobile-toggle span {
  position: relative;
  margin: auto;
}

.mobile-toggle span::before,
.mobile-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.mobile-toggle span::before {
  transform: translateY(-9px);
}

.mobile-toggle span::after {
  transform: translateY(9px);
}

body.menu-open .mobile-toggle span {
  background: transparent;
}

body.menu-open .mobile-toggle span::before {
  transform: rotate(45deg);
}

body.menu-open .mobile-toggle span::after {
  transform: rotate(-45deg);
}

.mobile-panel {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(380px, 86vw);
  z-index: 95;
  display: none;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 28px;
  background: var(--paper);
  box-shadow: -18px 0 50px rgba(38, 60, 46, 0.22);
  transform: translateX(100%);
  transition: transform 240ms ease;
}

body.menu-open .mobile-panel {
  transform: translateX(0);
}

.mobile-close {
  align-self: flex-end;
  width: 52px;
  height: 52px;
  margin: 14px 14px 6px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--green);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 160ms ease, color 160ms ease;
}

.mobile-close:hover,
.mobile-close:focus-visible {
  background: var(--green);
  color: var(--white);
}

.mobile-panel a {
  display: block;
  padding: 17px 28px;
  border-top: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-size: 21px;
  min-height: 44px;
}

.mobile-panel a:active,
.mobile-panel a:hover {
  background: rgba(127, 155, 99, 0.14);
}

.mobile-panel-phone {
  margin: 18px 20px 0;
  padding: 16px 22px;
  border-top: 0;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--white);
  text-align: center;
  text-transform: uppercase;
  font-size: 16px;
  letter-spacing: 0.02em;
}

.mobile-panel-phone:hover {
  background: var(--green);
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  background: rgba(20, 33, 24, 0.5);
  opacity: 0;
  transition: opacity 220ms ease;
}

body.menu-open .mobile-overlay {
  display: block;
  opacity: 1;
}

.main-page {
  min-height: 100vh;
}

.hero-card {
  position: relative;
  min-height: min(74vh, 738px);
  margin: 0 clamp(22px, 4vw, 58px);
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--white);
  background: var(--green);
}

.hero-card.full {
  margin: 0;
  border-radius: 0;
  min-height: 62vh;
}

.hero-card.split {
  margin: 0;
  border-radius: 0;
  min-height: 850px;
  background: var(--green);
}

.hero-card img,
.image-panel img,
.card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card > img {
  position: absolute;
  inset: 0;
  opacity: 0.72;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(33, 53, 39, 0.35);
}

.home-hero-content {
  position: absolute;
  z-index: 2;
  right: 7%;
  bottom: 10%;
  left: 4.4%;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(220px, 0.34fr);
  align-items: end;
  gap: clamp(28px, 5vw, 72px);
}

.page-hero-content {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 120px 28px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  width: max-content;
  margin-bottom: 30px;
  padding: 8px 11px;
  border-radius: 3px;
  background: var(--green-soft);
  color: var(--white);
  font-weight: 700;
}

.hero-title,
.section-title,
.detail-title,
.faq-title {
  margin: 0;
  font-family: "Adonis", Georgia, serif;
  font-weight: 400;
  letter-spacing: 0;
}

.hero-title {
  max-width: 880px;
  font-size: 94px;
  line-height: 0.92;
  text-wrap: balance;
}

.hero-title em,
.section-title em,
.detail-title em,
.faq-title em {
  font-style: italic;
}

.hero-copy {
  max-width: 820px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 26px;
  line-height: 1.25;
}

.hero-button-wrap {
  display: flex;
  justify-content: flex-end;
}

.tour-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 68px;
  padding: 0 34px;
  border: 1px solid var(--white);
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--white);
  text-decoration: none;
  font-size: 24px;
  line-height: 1.1;
  text-align: center;
  white-space: nowrap;
}

.band {
  padding: clamp(68px, 8vw, 116px) clamp(22px, 4vw, 58px);
}

.band.compact {
  padding-top: clamp(46px, 6vw, 82px);
  padding-bottom: clamp(46px, 6vw, 82px);
}

.band-green {
  background: var(--green);
  color: var(--white);
}

.band-pale {
  background: var(--green-pale);
}

.container {
  width: min(1326px, 100%);
  margin: 0 auto;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(290px, 0.44fr);
  gap: clamp(34px, 8vw, 120px);
  align-items: start;
}

.section-title {
  color: var(--green);
  font-size: 78px;
  line-height: 1.08;
}

.section-title.center {
  text-align: center;
}

.body-copy {
  color: var(--ink);
  font-size: 26px;
  line-height: 1.27;
}

.small-copy {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.45;
}

.section-heading-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 5vw, 70px);
  align-items: end;
}

.section-heading-row .small-copy {
  max-width: 720px;
  margin: 20px 0 0;
}

.split-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.68fr);
  gap: clamp(40px, 8vw, 120px);
  align-items: center;
  min-height: inherit;
  padding: clamp(72px, 9vw, 124px) clamp(22px, 4vw, 58px);
}

.hero-card.split::after {
  display: none;
}

.detail-title {
  color: var(--white);
  font-size: 92px;
  line-height: 1.02;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(300px, 0.55fr);
  gap: clamp(34px, 7vw, 110px);
  margin-top: 54px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.6);
}

.detail-grid h3 {
  margin: 0 0 18px;
  color: rgba(207, 216, 178, 0.98);
  font-size: 18px;
  font-weight: 700;
}

.detail-grid p,
.detail-grid li {
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 20px;
  line-height: 1.22;
}

.detail-grid ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.image-panel {
  height: min(660px, 62vw);
  min-height: 430px;
  border-radius: var(--radius);
  overflow: hidden;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 34px);
  margin-top: clamp(34px, 5vw, 72px);
}

.roof-card {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 12px 34px rgba(38, 60, 46, 0.07);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.roof-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 46px rgba(38, 60, 46, 0.13);
}

.card-image {
  height: 230px;
  background: var(--green-pale);
  overflow: hidden;
}

.card-body {
  padding: 28px 28px 32px;
}

.card-meta {
  margin-bottom: 14px;
  color: var(--green-soft);
  font-size: 14px;
  font-weight: 700;
}

.roof-card h3 {
  margin: 0 0 14px;
  color: var(--green);
  font-family: "Adonis", Georgia, serif;
  font-size: 32px;
  line-height: 1.05;
  font-weight: 400;
}

.roof-card p {
  margin: 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.35;
}

.story-stack {
  display: grid;
  gap: 48px;
}

.story-row {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}

.story-row:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr);
}

.story-row:nth-child(even) .image-panel {
  order: 2;
}

.faq-list {
  display: grid;
  gap: 14px;
  margin-top: 44px;
}

.faq-item {
  border-top: 1px solid var(--line);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  border: 0;
  background: transparent;
  color: var(--green);
  font-family: "Adonis", Georgia, serif;
  font-size: 30px;
  text-align: left;
  cursor: pointer;
}

.faq-question span {
  font-family: "Pontano Local", Arial, sans-serif;
  font-size: 28px;
}

.faq-answer {
  display: none;
  max-width: 780px;
  padding-bottom: 26px;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.42;
}

.rich-band {
  background:
    linear-gradient(90deg, rgba(200, 212, 173, 0.35) 0 28%, transparent 28%),
    var(--paper);
}

.rich-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(280px, 0.34fr);
  gap: clamp(34px, 6vw, 90px);
  align-items: start;
}

.rich-taxonomy-body {
  padding: clamp(28px, 4vw, 56px);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 14px 44px rgba(38, 60, 46, 0.08);
}

.rich-taxonomy-body > *:first-child {
  margin-top: 0;
}

.rich-taxonomy-body h2,
.rich-taxonomy-body h3 {
  margin: 34px 0 14px;
  color: var(--green);
  font-family: "Adonis", Georgia, serif;
  font-weight: 400;
  line-height: 1.08;
}

.rich-taxonomy-body h2 {
  font-size: clamp(34px, 4.6vw, 58px);
}

.rich-taxonomy-body h3 {
  font-size: clamp(25px, 3vw, 34px);
}

.rich-taxonomy-body p,
.rich-taxonomy-body li {
  color: var(--ink);
  font-size: 20px;
  line-height: 1.52;
}

.rich-taxonomy-body a {
  color: var(--green);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.rich-taxonomy-body ul,
.rich-taxonomy-body ol {
  display: grid;
  gap: 10px;
  padding-left: 22px;
}

.rich-faq {
  margin-top: 44px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.rich-faq details {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.rich-faq summary {
  color: var(--green);
  font-weight: 700;
  cursor: pointer;
}

.detail-side-card {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 16px;
  padding: 30px;
  border-radius: var(--radius);
  background: var(--green);
  color: var(--white);
  box-shadow: 0 16px 42px rgba(38, 60, 46, 0.16);
}

.detail-side-card .eyebrow {
  margin-bottom: 6px;
}

.detail-side-card h2 {
  margin: 0;
  font-family: "Adonis", Georgia, serif;
  font-size: 42px;
  line-height: 1.05;
  font-weight: 400;
}

.detail-side-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.4;
}

.detail-side-card .phone-link,
.detail-side-card .mail-link,
.phone-link {
  color: inherit;
  overflow-wrap: anywhere;
  text-decoration: none;
  font-weight: 700;
}

.final-cta-band {
  background: var(--green-pale);
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(250px, 0.28fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
}

.final-cta .body-copy {
  max-width: 820px;
}

.final-cta-actions {
  display: grid;
  justify-items: start;
  gap: 18px;
}

.final-cta-actions .phone-link {
  color: var(--green);
  font-size: 26px;
}

.faq-item.open .faq-answer {
  display: block;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.76fr) minmax(330px, 0.44fr);
  gap: clamp(34px, 8vw, 120px);
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 18px;
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
}

.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--green);
  font-size: 15px;
}

/* the contact form sits on the green band — keep its labels readable */
.band-green .contact-form label {
  color: var(--white);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--white);
  padding: 15px 16px;
  color: var(--ink);
  font: inherit;
  font-size: 17px;
}

.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-direct {
  display: grid;
  gap: 10px;
  margin: 26px 0 0;
}

.contact-direct a {
  width: max-content;
  max-width: 100%;
  color: var(--white);
  font-size: clamp(19px, 2vw, 27px);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-map {
  width: min(620px, 100%);
  margin-top: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
}

.contact-map iframe,
.map-embed iframe {
  display: block;
  width: 100%;
  min-height: 280px;
  border: 0;
}

.site-footer {
  background: var(--green);
  color: var(--white);
  padding: clamp(58px, 8vw, 112px) clamp(22px, 4vw, 58px) 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 54px);
  align-items: start;
}

.footer-lead {
  grid-column: span 2;
}

.footer-title {
  margin: 0 0 22px;
  font-family: "Adonis", Georgia, serif;
  font-size: 76px;
  line-height: 1.04;
  font-weight: 400;
}

.footer-copy,
.footer-column p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.4;
}

.footer-column h3 {
  margin: 0 0 18px;
  color: var(--green-pale);
  font-size: 16px;
}

.footer-column a {
  display: block;
  margin: 0 0 12px;
  color: var(--white);
  text-decoration: none;
  font-size: 17px;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.footer-column a:hover {
  color: var(--green-pale);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin-top: 72px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.74);
  font-size: 14px;
}

.reveal {
  opacity: 0.01;
  transform: translateY(26px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .site-header {
    height: 84px;
    padding: 0 22px;
  }

  .desktop-nav,
  .site-header > .pill-button {
    display: none;
  }

  .mobile-toggle {
    display: block;
  }

  .mobile-panel {
    display: flex;
  }

  .brand {
    min-width: 0;
  }

  .brand-main {
    font-size: 20px;
  }

  .brand-leaf {
    width: 48px;
    height: 48px;
  }

  .brand-leaf::after {
    right: 6px;
    bottom: 7px;
    width: 28px;
    height: 15px;
  }

  .mobile-panel {
    inset: 0 0 0 auto;
  }

  .hero-card {
    margin: 0 18px;
  }

  .home-hero-content,
  .split-hero-inner,
  .intro,
  .detail-grid,
  .section-heading-row,
  .rich-layout,
  .final-cta,
  .story-row,
  .story-row:nth-child(even),
  .contact-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .story-row:nth-child(even) .image-panel {
    order: 0;
  }

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

  .hero-button-wrap {
    justify-content: flex-start;
  }

  .section-heading-row {
    align-items: start;
  }

  .detail-side-card {
    position: static;
  }

  .final-cta-actions {
    justify-items: start;
  }
}

@media (max-width: 720px) {
  .site-header {
    height: 78px;
  }

  .brand-main {
    font-size: 18px;
  }

  .brand-sub {
    font-size: 10px;
  }

  .mobile-panel {
    width: min(340px, 90vw);
  }

  .hero-card {
    min-height: 760px;
    margin: 0 12px;
  }

  .hero-card.full {
    min-height: 530px;
  }

  .hero-card.split {
    min-height: auto;
  }

  .home-hero-content {
    right: 26px;
    bottom: 44px;
    left: 26px;
  }

  .hero-title {
    font-size: 58px;
  }

  .detail-title {
    font-size: 58px;
  }

  .hero-copy {
    font-size: 20px;
  }

  .tour-button {
    min-height: 57px;
    padding: 0 22px;
    font-size: 18px;
  }

  .section-title {
    font-size: 52px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .image-panel {
    min-height: 280px;
    height: 340px;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ---- Phone (<=768px): stack everything to 1 column, comfortable padding,
   readable type, tappable controls. Burger already shows from 1120px. ---- */
@media (max-width: 768px) {
  body.montana-capture {
    font-size: 16px;
  }

  .site-header {
    height: 72px;
    padding: 0 16px;
  }

  .mobile-panel {
    inset: 0 0 0 auto;
    width: min(330px, 92vw);
  }

  /* every multi-column layout collapses to a single column */
  .home-hero-content,
  .split-hero-inner,
  .intro,
  .detail-grid,
  .section-heading-row,
  .rich-layout,
  .final-cta,
  .story-row,
  .story-row:nth-child(even),
  .contact-panel,
  .footer-grid,
  .card-grid {
    grid-template-columns: 1fr !important;
  }

  .band {
    padding: 56px 16px;
  }

  .band.compact {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .site-footer {
    padding: 56px 16px 28px;
  }

  .hero-card {
    margin: 0 12px;
  }

  .hero-card.full {
    min-height: 460px;
  }

  .page-hero-content {
    padding: 80px 18px;
  }

  .hero-title {
    font-size: clamp(38px, 11vw, 58px);
  }

  .detail-title {
    font-size: clamp(38px, 11vw, 56px);
  }

  .section-title,
  .footer-title {
    font-size: clamp(34px, 9vw, 50px);
  }

  .hero-copy {
    font-size: 19px;
  }

  .body-copy {
    font-size: 19px;
  }

  .small-copy,
  .roof-card p,
  .rich-taxonomy-body p,
  .rich-taxonomy-body li,
  .footer-column a,
  .footer-copy,
  .footer-column p {
    font-size: 16px;
  }

  .rich-taxonomy-body {
    padding: 24px 18px;
  }

  .detail-side-card {
    padding: 24px 20px;
  }

  /* tap targets */
  .nav-link,
  .mobile-panel a,
  .pill-button,
  .tour-button,
  .footer-column a,
  .dropdown a {
    min-height: 44px;
  }

  .footer-column a {
    padding: 6px 0;
  }

  .pill-button {
    min-height: 48px;
  }

  /* keep the contact intro text readable, not edge-jammed */
  .contact-panel > div {
    margin-bottom: 4px;
  }

  /* faq headings shouldn't overflow */
  .faq-question {
    font-size: 23px;
  }

  .faq-question span {
    font-size: 22px;
  }
}

/* brand-logo-injected */.brand{min-width:0}.brand-logo{height:42px;width:auto;display:block;max-width:340px}
