/* Brand: bozemanhome.homes — Buy Bozeman Homes (ns: boz44) */
:root {
  --boz44-max: 1120px;
  --boz44-radius: 14px;
  --boz44-ease: 180ms ease;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .boz44-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: var(--dna-font-body, "Public Sans", system-ui, sans-serif);
  color: var(--dna-ink, #f2ebe3);
  background: var(--dna-bg, #14110f);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--dna-font-display, Lexend, system-ui, sans-serif);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.55em;
  font-weight: 700;
}
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }

.boz44-skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--dna-accent, #b8864a);
  color: #14110f;
  padding: 10px 16px;
  z-index: 1000;
}
.boz44-skip:focus { left: 12px; top: 12px; }

.boz44-shell {
  width: min(100% - 2.5rem, var(--boz44-max));
  margin-inline: auto;
}

.boz44-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font: inherit;
  font-weight: 650;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background var(--boz44-ease), border-color var(--boz44-ease), color var(--boz44-ease), transform var(--boz44-ease);
}
.boz44-btn:focus-visible,
.boz44-burger:focus-visible,
.boz44-bk-step:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--dna-accent, #b8864a);
  outline-offset: 3px;
}
.boz44-btn--solid {
  background: var(--dna-accent, #b8864a);
  color: #14110f;
}
.boz44-btn--solid:hover { filter: brightness(1.06); }
.boz44-btn--ghost {
  background: transparent;
  border-color: color-mix(in srgb, var(--dna-line, #3a342e) 80%, transparent);
  color: var(--dna-ink, #f2ebe3);
}
.boz44-btn--ghost:hover {
  border-color: var(--dna-accent, #b8864a);
  color: var(--dna-accent-ink, #e8c48a);
}

.boz44-kicker {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 750;
  color: var(--dna-accent, #b8864a);
  margin-bottom: 0.75rem;
}
.boz44-lede {
  font-size: 1.05rem;
  color: var(--dna-ink-soft, #c9beb0);
  max-width: 38rem;
}

/* Header — centered */
.boz44-top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--dna-bg, #14110f) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--dna-line, #2c2722);
}
.boz44-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  min-height: 72px;
  padding-block: 0.65rem;
}
.boz44-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  justify-self: start;
}
.boz44-brand b {
  display: block;
  font-family: var(--dna-font-display, Lexend, sans-serif);
  font-size: 0.98rem;
  letter-spacing: -0.01em;
}
.boz44-brand small {
  display: block;
  color: var(--dna-ink-soft, #c9beb0);
  font-size: 0.78rem;
}
.boz44-links {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
}
.boz44-links a {
  text-decoration: none;
  color: var(--dna-ink-soft, #c9beb0);
  font-size: 0.92rem;
  font-weight: 550;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}
.boz44-links a[aria-current="page"],
.boz44-links a:hover {
  color: var(--dna-ink, #f2ebe3);
  border-bottom-color: var(--dna-accent, #b8864a);
}
.boz44-bar-end {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.boz44-burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--dna-line, #2c2722);
  border-radius: 10px;
  background: var(--dna-surface, #1c1916);
  padding: 0;
  cursor: pointer;
}
.boz44-burger span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--dna-ink, #f2ebe3);
}
.boz44-drawer {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
  padding-bottom: 1rem;
}
.boz44-drawer a {
  text-decoration: none;
  padding: 0.75rem 0.25rem;
  border-bottom: 1px solid var(--dna-line, #2c2722);
  color: var(--dna-ink, #f2ebe3);
  min-height: 44px;
}

@media (max-width: 880px) {
  .boz44-bar { grid-template-columns: 1fr auto; }
  .boz44-links { display: none; }
  .boz44-bar-end .boz44-btn { display: none; }
  .boz44-burger { display: inline-block; }
  .boz44-drawer.is-open { display: flex; }
}

/* Hero bleed + overlay card */
.boz44-hero {
  position: relative;
  min-height: min(88vh, 720px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--dna-ink, #0d0b09);
}
.boz44-hero-photo {
  position: absolute;
  inset: 0;
}
.boz44-hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.boz44-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 11, 9, 0.82) 0%, rgba(14, 11, 9, 0.35) 52%, rgba(14, 11, 9, 0.55) 100%),
    linear-gradient(0deg, rgba(14, 11, 9, 0.75) 0%, transparent 45%);
}
.boz44-hero .hero-inner {
  position: relative;
  z-index: 2;
  width: min(100% - 2.5rem, var(--boz44-max));
  margin: 0 auto;
  padding: 4.5rem 0 3.5rem;
}
.boz44-hero-card {
  max-width: 34rem;
  background: color-mix(in srgb, var(--dna-surface, #1c1916) 92%, transparent);
  border: 1px solid color-mix(in srgb, var(--dna-accent, #b8864a) 35%, var(--dna-line, #2c2722));
  border-radius: calc(var(--boz44-radius) + 4px);
  padding: 1.75rem 1.7rem 1.85rem;
  box-shadow: 0 28px 60px -28px rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
}
.boz44-hero-card h1 {
  font-size: clamp(1.85rem, 3.4vw, 2.55rem);
  margin-bottom: 0.7rem;
}
.boz44-hero-card .sub {
  color: var(--dna-ink-soft, #c9beb0);
  margin-bottom: 1.25rem;
}
.boz44-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

/* Sections */
.boz44-sec {
  padding: 4.5rem 0;
}
.boz44-sec--soft {
  background: var(--dna-surface, #1c1916);
}
.boz44-sec--map {
  background:
    linear-gradient(180deg, transparent, color-mix(in srgb, var(--dna-accent, #b8864a) 6%, transparent)),
    var(--dna-bg, #14110f);
}
.boz44-sec-head {
  max-width: 38rem;
  margin-bottom: 2.2rem;
}
.boz44-sec h2 {
  font-size: clamp(1.55rem, 2.6vw, 2.1rem);
}

.boz44-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 420ms ease, transform 420ms ease;
}
.boz44-reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Services iconrows (stamped) */
.boz44-svc-rows {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem 2.2rem;
}
.boz44-svc-row {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.15rem 1.1rem;
  border: 1px solid var(--dna-line, #2c2722);
  border-radius: var(--boz44-radius);
  /* Override DNA dna-card-glass light frost — dark dossier cards need dark surfaces */
  background: var(--dna-surface, #1c1916) !important;
  backdrop-filter: none !important;
  color: var(--dna-ink, #f2ebe3);
}
.boz44-svc-ic {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--dna-accent, #b8864a) 14%, var(--dna-surface-2, #241f1a));
  color: var(--dna-accent, #b8864a);
  border: 1px solid color-mix(in srgb, var(--dna-accent, #b8864a) 30%, transparent);
}
.boz44-svc-row h3 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
  color: var(--dna-ink, #f2ebe3);
}
.boz44-svc-row p {
  margin: 0;
  color: #d5cbbd;
  font-size: 0.95rem;
}

@media (max-width: 760px) {
  .boz44-svc-rows { grid-template-columns: 1fr; }
}

/* About splitimage */
.boz44-about-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.4rem;
  align-items: center;
}
.boz44-about-frame {
  border-radius: calc(var(--boz44-radius) + 2px);
  overflow: hidden;
  border: 1px solid var(--dna-line, #2c2722);
  background: var(--dna-surface-2, #241f1a);
}
.boz44-about-frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.boz44-about-copy ul {
  list-style: none;
  display: grid;
  gap: 0.65rem;
  margin-top: 1.1rem;
}
.boz44-about-copy li {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 0.65rem;
  color: var(--dna-ink-soft, #c9beb0);
  font-size: 0.95rem;
}
.boz44-about-copy li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--dna-accent, #b8864a);
}

@media (max-width: 860px) {
  .boz44-about-grid { grid-template-columns: 1fr; }
}

/* Process steps */
.boz44-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.boz44-step {
  background: var(--dna-surface, #1c1916);
  border: 1px solid var(--dna-line, #2c2722);
  border-radius: var(--boz44-radius);
  padding: 1.25rem 1.15rem 1.35rem;
}
.boz44-step .n {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: color-mix(in srgb, var(--dna-accent, #b8864a) 18%, transparent);
  color: var(--dna-accent, #b8864a);
  font-weight: 750;
  font-size: 0.9rem;
  margin-bottom: 0.85rem;
}
.boz44-step h3 { font-size: 1.02rem; }
.boz44-step p {
  margin: 0;
  color: var(--dna-ink-soft, #c9beb0);
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .boz44-steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .boz44-steps { grid-template-columns: 1fr; }
}

/* Comparison / trust iconrow */
.boz44-compare {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: stretch;
}
.boz44-compare-panel {
  background: var(--dna-surface, #1c1916);
  border: 1px solid var(--dna-line, #2c2722);
  border-radius: calc(var(--boz44-radius) + 2px);
  padding: 1.5rem;
}
.boz44-compare-panel h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}
.boz44-compare-list {
  list-style: none;
  display: grid;
  gap: 0.85rem;
}
.boz44-compare-list li {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 0.75rem;
  align-items: start;
  color: var(--dna-ink-soft, #c9beb0);
  font-size: 0.95rem;
}
.boz44-compare-list .dna-ic {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: color-mix(in srgb, var(--dna-accent, #b8864a) 12%, transparent);
  color: var(--dna-accent, #b8864a);
}
.boz44-compare-visual {
  border-radius: calc(var(--boz44-radius) + 2px);
  overflow: hidden;
  border: 1px solid var(--dna-line, #2c2722);
  min-height: 280px;
}
.boz44-compare-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
}

@media (max-width: 860px) {
  .boz44-compare { grid-template-columns: 1fr; }
}

/* CTA boxed */
.boz44-cta .box {
  border: 1px solid color-mix(in srgb, var(--dna-accent, #b8864a) 40%, var(--dna-line, #2c2722));
  border-radius: calc(var(--boz44-radius) + 4px);
  padding: 2rem 1.75rem;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--dna-accent, #b8864a) 12%, transparent), transparent 55%),
    var(--dna-surface, #1c1916);
  display: grid;
  gap: 0.85rem;
  justify-items: start;
}
.boz44-cta h2 { margin-bottom: 0.15rem; }
.boz44-cta p { margin: 0; color: var(--dna-ink-soft, #c9beb0); max-width: 36rem; }

/* Gallery strip */
.boz44-gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
}
.boz44-gallery figure {
  margin: 0;
  border-radius: var(--boz44-radius);
  overflow: hidden;
  border: 1px solid var(--dna-line, #2c2722);
  background: var(--dna-surface-2, #241f1a);
}
.boz44-gallery img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.boz44-gallery figcaption {
  padding: 0.7rem 0.9rem;
  font-size: 0.85rem;
  color: var(--dna-ink-soft, #c9beb0);
}

@media (max-width: 760px) {
  .boz44-gallery { grid-template-columns: 1fr; }
}

/* Page hero */
.boz44-pagehead {
  padding: 3.2rem 0 1.5rem;
  border-bottom: 1px solid var(--dna-line, #2c2722);
}
.boz44-pagehead h1 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  max-width: 20ch;
}
.boz44-crumb {
  font-size: 0.88rem;
  color: var(--dna-ink-soft, #c9beb0);
  margin-bottom: 0.85rem;
}
.boz44-crumb a { text-decoration: none; color: var(--dna-accent, #b8864a); }

/* Services page cards */
.boz44-svc-page {
  display: grid;
  gap: 1rem;
}
.boz44-svc-card {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.25rem;
  background: var(--dna-surface, #1c1916) !important;
  border: 1px solid var(--dna-line, #2c2722);
  border-radius: var(--boz44-radius);
  overflow: hidden;
  backdrop-filter: none !important;
  color: var(--dna-ink, #f2ebe3);
}
.boz44-svc-card img {
  width: 100%;
  height: 100%;
  min-height: 140px;
  object-fit: cover;
}
.boz44-svc-card > div { padding: 1.2rem 1.2rem 1.3rem 0; }
.boz44-svc-card h2 {
  font-size: 1.2rem;
  color: var(--dna-ink, #f2ebe3);
}
.boz44-svc-card p {
  margin: 0;
  color: #d5cbbd;
}

@media (max-width: 640px) {
  .boz44-svc-card { grid-template-columns: 1fr; }
  .boz44-svc-card > div { padding: 1.1rem 1.15rem 1.25rem; }
  .boz44-svc-card img { max-height: 180px; }
}

/* Contact stacked-info-first */
.contact-page {
  display: grid;
  gap: 1.5rem;
  padding: 2rem 0 3.5rem;
}
.contact-info {
  background: var(--dna-surface, #1c1916);
  border: 1px solid var(--dna-line, #2c2722);
  border-radius: calc(var(--boz44-radius) + 2px);
  padding: 1.4rem 1.35rem;
}
.contact-info h2 {
  font-size: 1.15rem;
  margin-bottom: 1rem;
}
.contact-block { margin-bottom: 1rem; }
.contact-block:last-child { margin-bottom: 0; }
.contact-block h3 {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dna-accent, #b8864a);
  margin-bottom: 0.3rem;
}
.contact-block p,
.contact-block a {
  margin: 0;
  color: var(--dna-ink-soft, #c9beb0);
  text-decoration: none;
}
.contact-block a:hover { color: var(--dna-accent-ink, #e8c48a); }

/* Booking timeline */
.boz44-bk {
  background: var(--dna-surface, #1c1916);
  border: 1px solid var(--dna-line, #2c2722);
  border-radius: calc(var(--boz44-radius) + 2px);
  padding: 1.45rem 1.35rem 1.55rem;
}
.boz44-bk-rail {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  margin-bottom: 1.25rem;
}
.boz44-bk-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.55rem 0.65rem;
  border-radius: 12px;
  border: 1px solid var(--dna-line, #2c2722);
  background: var(--dna-surface-2, #241f1a);
  color: var(--dna-ink-soft, #c9beb0);
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
  text-align: left;
}
.boz44-bk-step[aria-selected="true"] {
  border-color: var(--dna-accent, #b8864a);
  color: var(--dna-ink, #f2ebe3);
  background: color-mix(in srgb, var(--dna-accent, #b8864a) 14%, var(--dna-surface-2, #241f1a));
}
.boz44-bk-n {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--dna-accent, #b8864a) 22%, transparent);
  color: var(--dna-accent, #b8864a);
  font-size: 0.78rem;
  font-weight: 750;
  flex-shrink: 0;
}
.boz44-bk-title {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}
.boz44-bk-hint {
  color: var(--dna-ink-soft, #c9beb0);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
.boz44-bk-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 650;
  margin-bottom: 0.35rem;
}
.boz44-bk-form input[type="tel"] {
  width: 100%;
  min-height: 48px;
  border-radius: 12px;
  border: 1px solid var(--dna-line, #2c2722);
  background: var(--dna-bg, #14110f);
  color: var(--dna-ink, #f2ebe3);
  padding: 0.7rem 0.9rem;
  font: inherit;
  margin-bottom: 0.75rem;
}
.boz44-bk-error {
  color: #e8a090;
  font-size: 0.9rem;
  margin: -0.25rem 0 0.75rem;
}
.boz44-bk-note {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: var(--dna-ink-soft, #c9beb0);
}
.boz44-bk-success {
  margin: 0;
  font-size: 1.05rem;
  color: var(--dna-ink, #f2ebe3);
}

@media (max-width: 640px) {
  .boz44-bk-rail { grid-template-columns: 1fr; }
}

/* Footer stacked */
.boz44-footer {
  border-top: 1px solid var(--dna-line, #2c2722);
  padding: 2.4rem 0 2rem;
  background: var(--dna-surface, #1c1916);
}
.boz44-footer-stack {
  display: grid;
  gap: 1.25rem;
  justify-items: center;
  text-align: center;
}
.boz44-footer-brand {
  font-family: var(--dna-font-display, Lexend, sans-serif);
  font-weight: 700;
}
.boz44-footer-meta {
  color: var(--dna-ink-soft, #c9beb0);
  font-size: 0.92rem;
}
.boz44-footer-meta a {
  color: var(--dna-accent-ink, #e8c48a);
  text-decoration: none;
}
.boz44-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.2rem;
  justify-content: center;
}
.boz44-footer-links a {
  text-decoration: none;
  color: var(--dna-ink-soft, #c9beb0);
  font-size: 0.9rem;
}
.boz44-footer-links a:hover { color: var(--dna-accent, #b8864a); }
.boz44-legal {
  font-size: 0.82rem;
  color: color-mix(in srgb, var(--dna-ink-soft, #c9beb0) 80%, transparent);
}

/* Privacy prose */
.boz44-prose {
  padding: 2rem 0 3.5rem;
  max-width: 42rem;
}
.boz44-prose h2 {
  font-size: 1.2rem;
  margin-top: 1.6rem;
}
.boz44-prose p,
.boz44-prose li {
  color: var(--dna-ink-soft, #c9beb0);
}
.boz44-prose ul {
  padding-left: 1.2rem;
  margin-bottom: 1rem;
}

.dna-ic svg { width: 1.1rem; height: 1.1rem; display: block; }
