:root {
  --bg: #ffffff;
  --bg-deep: #f2f3f1;
  --ink: #141414;
  --muted: #5b605a;
  --line: #d9dcd7;
  --green: #2f8235;
  --green-deep: #1e4d22;
  --max: 1180px;
  --pad: 1.4rem;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --text: "Source Sans 3", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.125rem;
  line-height: 1.5;
  color-scheme: light;
}

img { max-width: 100%; }

picture { display: block; }

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -3rem;
  background: var(--ink);
  color: var(--bg);
  padding: 0.5rem 0.75rem;
  z-index: 30;
}

.skip:focus { top: 0.5rem; }

.topbar {
  height: 6px;
  background: var(--green);
}

.site-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  min-height: 4.6rem;
  padding: 0.75rem var(--pad);
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand img { height: 44px; width: auto; display: block; }

.site-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.45rem;
}

.site-nav a { text-decoration: none; font-weight: 600; }

.site-nav a[aria-current="page"] {
  color: var(--green-deep);
  box-shadow: inset 0 -2px 0 var(--green);
}

.site-nav a.portal-link {
  border: 1px solid var(--ink);
  padding: 0.28rem 0.65rem;
  box-shadow: none;
}

.site-nav a.nav-cta {
  background: var(--green);
  color: #fff;
  padding: 0.35rem 0.7rem;
  box-shadow: none;
}

.nav-toggle,
.nav-mail { display: none; }

.nav-toggle {
  margin-left: auto;
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
  font: inherit;
  font-weight: 600;
  padding: 0.45rem 0.75rem;
  cursor: pointer;
}

.wrap {
  width: min(var(--max), calc(100% - (var(--pad) * 2)));
  margin: 0 auto;
}

.hero {
  position: relative;
  margin: 0;
  background: #101410;
}

.hero img {
  display: block;
  width: 100%;
  height: min(78vh, 760px);
  object-fit: cover;
  object-position: center 62%;
}

.hero-card {
  position: absolute;
  left: max(var(--pad), calc((100% - var(--max)) / 2));
  bottom: 1.5rem;
  width: min(38rem, calc(100% - (var(--pad) * 2)));
  background: rgba(16, 18, 16, 0.92);
  color: #f6f3ec;
  padding: 1.35rem 1.5rem 1.45rem;
  border-left: 6px solid var(--green);
}

.kicker {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.tri { width: 12px; height: 10px; color: var(--green); flex: none; }

h1, h2, .facts strong, .phone-xl, .stat {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.01em;
}

h1 {
  margin: 0 0 0.45rem;
  font-size: clamp(3rem, 6.4vw, 4.8rem);
  line-height: 0.9;
}

h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 0.95;
}

.lede { margin: 0; font-size: 1.18rem; line-height: 1.4; }

.hero-card .lede { color: #f6f3ec; font-size: 1.35rem; font-weight: 600; }

.hero-sub { margin: 0.35rem 0 0; color: #cfc9bc; }

.hero-card .button { margin-top: 1rem; }

.facts {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--ink);
  color: #f6f3ec;
}

.facts li {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 1.15rem 1rem 1.2rem;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.facts li:first-child { border-left: 0; }

.facts span {
  display: block;
  margin: 0;
  color: #c8c2b6;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.facts strong {
  font-size: clamp(1.7rem, 2.4vw, 2.35rem);
  line-height: 1.05;
  color: #b6e38a;
}

.section { padding: 4rem 0; }

.section.alt { background: var(--bg-deep); }

.split-media {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 2.5rem;
  align-items: center;
}

.split-media.reverse { grid-template-columns: 0.9fr 1fr; }

.split-media p:last-child { margin-bottom: 0; }

.frame { margin: 0; }

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

.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

.features article {
  padding: 1.5rem 1.35rem 1.7rem;
  border-left: 1px solid var(--line);
}

.features article:first-child { border-left: 0; }

.features h2 { font-size: 2rem; }

.features p { margin: 0; }

.gallery {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 0.7rem;
  margin: 2.75rem 0;
}

.gallery img {
  display: block;
  width: 100%;
  height: min(34vw, 480px);
  object-fit: cover;
}

.pull {
  margin: 0 0 1.35rem;
  max-width: 16ch;
  font-family: var(--display);
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 600;
  line-height: 1.05;
}

.closer {
  background: var(--green);
  color: #fff;
}

.closer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  padding: 3.2rem 0;
}

.closer p { margin: 0.4rem 0 0; max-width: 36rem; }

.closer a { color: inherit; }

.closer-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.phone-xl {
  font-size: 2.4rem;
  line-height: 1;
  text-decoration: none;
}

.button {
  display: inline-block;
  background: var(--green);
  color: #fff;
  border: 0;
  text-decoration: none;
  font: inherit;
  font-weight: 700;
  padding: 0.8rem 1.15rem;
  cursor: pointer;
}

.button.light {
  background: #f6f3ec;
  color: var(--green-deep);
}

.button.dark {
  background: var(--ink);
  color: #f6f3ec;
}

.button:hover,
.button:focus-visible,
.nav-cta:hover,
.nav-cta:focus-visible {
  filter: brightness(0.9);
}

.text-link {
  font-weight: 700;
  text-underline-offset: 0.2em;
}

.site-footer {
  display: grid;
  grid-template-columns: 1.3fr 1.2fr auto;
  gap: 2rem;
  width: min(var(--max), calc(100% - (var(--pad) * 2)));
  margin: 0 auto;
  padding: 2.2rem 0 2.6rem;
  color: var(--muted);
  font-size: 1rem;
}

.site-footer img { height: 36px; width: auto; margin-bottom: 0.75rem; }

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

.site-footer a { color: var(--ink); font-weight: 600; }

.site-footer nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.site-footer nav a { text-decoration: none; }

.page { padding-bottom: 3.5rem; }

.page-intro { padding: 2.6rem 0 0.4rem; }

.page-intro h1 { max-width: 16ch; }

.page-intro h1.single-line {
  max-width: none;
  white-space: nowrap;
  font-size: clamp(1.25rem, 6vw, 4.6rem);
}

.atlas-mark { height: 52px; width: auto; margin-bottom: 0.8rem; }

.steps {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  max-width: 46rem;
}

.steps li {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0.85rem;
  align-items: start;
  padding: 1rem 0;
  border-top: 1px solid var(--line);
}

.steps li:last-child { border-bottom: 1px solid var(--line); }

.steps span {
  font-family: var(--display);
  font-size: 1.8rem;
  line-height: 1.1;
  color: var(--green-deep);
  padding-top: 0.15rem;
}

.steps li > div {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.steps strong {
  display: block;
  margin: 0;
}

.sheet-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.5rem;
  align-items: start;
  padding-top: 2.4rem;
}

.sheet {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
}

.sheet caption {
  caption-side: top;
  text-align: left;
  font-family: var(--display);
  font-size: 1.7rem;
  letter-spacing: 0.04em;
  padding: 0 0 0.6rem;
}

.sheet th,
.sheet td {
  border-top: 1px solid var(--line);
  padding: 0.8rem 0.9rem;
  text-align: left;
  vertical-align: baseline;
  font-weight: 400;
}

.sheet tr:last-child th,
.sheet tr:last-child td { border-bottom: 1px solid var(--line); }

.sheet th {
  width: 38%;
  color: var(--muted);
  font-weight: 600;
}

.note { max-width: 42rem; color: var(--muted); }

.story { max-width: 42rem; }

.story p { margin: 0 0 1rem; }

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3rem;
  align-items: start;
}

.contact-grid .phone-xl { display: inline-block; margin: 0.4rem 0; }

form { display: grid; gap: 0.9rem; background: #ffffff; padding: 1.2rem; border: 1px solid var(--line); }

label { display: grid; gap: 0.3rem; font-weight: 600; font-size: 0.95rem; }

input, textarea, select {
  font: inherit;
  font-weight: 400;
  color: inherit;
  background: var(--bg);
  border: 1px solid #c3c8c1;
  padding: 0.7rem 0.75rem;
  width: 100%;
}

textarea { min-height: 8rem; resize: vertical; }

.optional { color: var(--muted); font-weight: 400; }

.form-privacy {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

#form-status { min-height: 1.3rem; margin: 0; color: var(--muted); font-weight: 400; }

.form-actions { display: flex; align-items: center; gap: 1rem; }

.tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tiles li {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-top: 4px solid var(--green);
  padding: 1.1rem 1.15rem 1.2rem;
}

.tiles b {
  display: block;
  font-family: var(--display);
  font-size: 1.9rem;
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
}

.tiles span {
  display: block;
  color: var(--muted);
  line-height: 1.4;
}

.eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--green-deep);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0 0 1.3rem;
  padding: 0;
}

.chips li {
  background: var(--ink);
  color: #f6f3ec;
  padding: 0.4rem 0.8rem;
  font-weight: 600;
}

.chips.outline li {
  background: transparent;
  color: var(--ink);
  border: 1px dashed var(--ink);
}

.ticks {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
}

.ticks li {
  position: relative;
  padding: 0.85rem 0 0.85rem 1.6rem;
  border-top: 1px solid var(--line);
  font-weight: 600;
  line-height: 1.35;
}

.ticks li:last-child { border-bottom: 1px solid var(--line); }

.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.05rem;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 10px solid var(--green);
}

.timeline {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  max-width: 46rem;
}

.timeline li {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}

.timeline li:last-child { border-bottom: 1px solid var(--line); }

.timeline time {
  font-family: var(--display);
  font-size: 1.8rem;
  line-height: 1;
  color: var(--green-deep);
}

.timeline li > div {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.timeline strong {
  display: block;
  line-height: 1.3;
  margin: 0;
}

.timeline span {
  display: block;
  color: var(--muted);
  line-height: 1.4;
}

.stat-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
  margin-top: 1.4rem;
}

.stat-pair div {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  border: 1px solid var(--ink);
  padding: 0.9rem 1rem 1rem;
}

.stat-pair b {
  display: block;
  font-family: var(--display);
  font-size: 1.6rem;
  line-height: 1.15;
  margin: 0;
}

.stat-pair span {
  display: block;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.4;
}

.result {
  width: min(760px, calc(100% - (var(--pad) * 2)));
  margin: 2.5rem auto 3.5rem;
}

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

.bleed { margin: 2.5rem 0 0; }

.bleed img { display: block; width: 100%; height: auto; max-height: 78vh; object-fit: cover; }

.proof { background: var(--bg-deep); }

.proof-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: center;
}

.proof-grid .frame img {
  max-height: 38rem;
  object-fit: cover;
}

.buyer-details { padding-bottom: 1.5rem; }

.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  margin-top: 1.2rem;
}

.detail-grid article {
  padding: 1.2rem;
  border-left: 1px solid var(--line);
}

.detail-grid article:first-child { border-left: 0; }

.detail-grid h3 {
  margin: 0 0 0.5rem;
  font-family: var(--display);
  font-size: 1.5rem;
  line-height: 1.1;
}

.detail-grid p { margin: 0; color: var(--muted); }

.cta-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.3rem;
  margin-top: 1.3rem;
}

.company-story {
  max-width: 48rem;
  margin: 3.5rem 0 0;
  padding: 2rem;
  background: var(--bg-deep);
  border-left: 5px solid var(--green);
}

.company-story p { max-width: 42rem; }

.legal { max-width: 52rem; }

.legal h2 { margin-top: 2.2rem; }

.legal p { max-width: 46rem; }

@media (max-width: 980px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .facts li:nth-child(odd) { border-left: 0; }
  .facts li:nth-child(n + 3) { border-top: 1px solid rgba(255, 255, 255, 0.14); }
  .split-media,
  .split-media.reverse,
  .features,
  .gallery,
  .stat-pair,
  .sheet-layout,
  .contact-grid,
  .proof-grid,
  .detail-grid,
  .site-footer,
  .closer-inner {
    grid-template-columns: 1fr;
    display: grid;
  }
  .tiles { grid-template-columns: 1fr 1fr; }
  .timeline li { grid-template-columns: 5rem 1fr; }
  .features article { border-left: 0; border-top: 1px solid var(--line); }
  .features article:first-child { border-top: 0; }
  .detail-grid article { border-left: 0; border-top: 1px solid var(--line); }
  .detail-grid article:first-child { border-top: 0; }
  .gallery { margin: 2rem 0; }
  .gallery img { height: 16rem; }
  .closer-inner { align-items: start; }
  .site-footer nav { flex-direction: row; flex-wrap: wrap; gap: 0.8rem 1.2rem; }
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    margin: 0;
    padding: 0.5rem var(--pad) 1rem;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }
  .site-nav.is-open { display: flex; }
  .nav-mail { display: inline; }
  .hero img { height: 68vh; }
  .hero-card { position: static; width: auto; left: auto; bottom: auto; }
  h1 { max-width: none; }
}

@media (max-width: 520px) {
  :root { --pad: 1rem; }
  body { font-size: 1rem; }
  .tiles { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .phone-xl { font-size: 2rem; }
  .timeline li { grid-template-columns: 4rem 1fr; }
  .company-story { padding: 1.35rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
