/* ==========================================================================
   Defensible Property Systems — Marketing Site
   Brand: Forest Green #193A27 / Slate Navy #2F4251 / White
   ========================================================================== */

:root{
  --forest: #193A27;
  --forest-light: #23503670;
  --navy: #2F4251;
  --navy-dark: #202f3a;
  --white: #ffffff;
  --stone: #f4f1ea;
  --stone-dark: #e7e2d6;
  --accent: #3f8f5f;
  --accent-light: #5cae7a;
  --ink: #1c1f1e;
  --muted: #5b6660;

  --font-head: 'Montserrat', 'Gotham', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;

  --container: 1180px;
  --radius: 6px;
  --shadow-sm: 0 2px 10px rgba(20,25,22,0.08);
  --shadow-md: 0 10px 30px rgba(20,25,22,0.16);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ margin: 0; padding: 0; list-style: none; }
section{ position: relative; }

h1, h2, h3, h4{
  font-family: var(--font-head);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 .6em;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: .5em;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1em;
}
.eyebrow::before{
  content: "";
  width: 28px;
  height: 2px;
  background: var(--accent);
  display: inline-block;
}

.container{
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section-pad{ padding: 96px 0; }
@media (max-width: 720px){ .section-pad{ padding: 64px 0; } }

.bg-stone{ background: var(--stone); }
.bg-forest{ background: var(--forest); color: var(--white); }
.bg-forest h2, .bg-forest h3, .bg-forest .eyebrow{ color: var(--white); }
.bg-navy{ background: var(--navy); color: var(--white); }
.bg-navy h2, .bg-navy h3{ color: var(--white); }

.center{ text-align: center; }

.section-head{ max-width: 680px; margin: 0 auto 3.2rem; }
.section-head.left{ margin: 0 0 3rem; }
.section-head p{ font-size: 1.08rem; color: var(--muted); }
.bg-forest .section-head p, .bg-navy .section-head p{ color: #cfd8d3; }

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: .92rem;
  letter-spacing: .03em;
  text-transform: uppercase;
  padding: 15px 30px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover{ transform: translateY(-2px); }

.btn-accent{ background: var(--accent); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-accent:hover{ background: var(--accent-light); box-shadow: var(--shadow-md); }

.btn-outline{ background: transparent; border-color: currentColor; color: inherit; }
.btn-outline:hover{ background: rgba(255,255,255,0.1); }

.btn-forest{ background: var(--forest); color: var(--white); }
.btn-forest:hover{ background: #21492f; box-shadow: var(--shadow-md); }

.btn-white{ background: var(--white); color: var(--navy); }
.btn-white:hover{ box-shadow: var(--shadow-md); }

/* ---------- Header ---------- */
.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 500;
  padding: 18px 0;
  transition: background .3s ease, padding .3s ease, box-shadow .3s ease;
}
.site-header .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.site-header.scrolled{
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  padding: 10px 0;
}

.brand{ display: flex; align-items: center; gap: 14px; }
.brand-logo-img{ height: 64px; width: auto; display: block; flex: none; transition: height .3s ease; }
.site-header.scrolled .brand-logo-img{ height: 54px; }
.brand-name{
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1.15;
  color: var(--white);
  transition: color .3s ease;
}
.brand-name span{ display: block; font-weight: 600; font-size: .74rem; letter-spacing: .1em; color: var(--accent); text-transform: uppercase; margin-top: 3px; }
.site-header.scrolled .brand-name{ color: var(--navy); }

.main-nav{ display: flex; align-items: center; gap: 2.2rem; }
.main-nav a{
  font-family: var(--font-head);
  font-weight: 600;
  font-size: .88rem;
  letter-spacing: .02em;
  color: var(--white);
  transition: color .3s ease;
  position: relative;
  padding: 4px 0;
}
.site-header.scrolled .main-nav a{ color: var(--navy-dark); }
.main-nav a:hover{ color: var(--accent); }

.nav-phone, .nav-cta{ display: none; }

.header-actions{ display: flex; align-items: center; gap: 1.4rem; }
.header-phone{
  display: flex; align-items: center; gap: .5em;
  font-family: var(--font-head); font-weight: 700; font-size: .92rem;
  color: var(--white);
  transition: color .3s ease;
}
.site-header.scrolled .header-phone{ color: var(--navy); }
.header-phone svg{ width: 16px; height: 16px; flex-shrink: 0; }

.nav-toggle{
  display: none;
  background: none; border: none; cursor: pointer;
  width: 32px; height: 24px; position: relative;
}
.nav-toggle span{
  position: absolute; left: 0; right: 0; height: 2px; background: var(--white);
  transition: transform .3s ease, top .3s ease, opacity .3s ease, background .3s ease;
}
.site-header.scrolled .nav-toggle span{ background: var(--navy); }
.nav-toggle span:nth-child(1){ top: 2px; }
.nav-toggle span:nth-child(2){ top: 11px; }
.nav-toggle span:nth-child(3){ top: 20px; }
.nav-open .nav-toggle span:nth-child(1){ top: 11px; transform: rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2){ opacity: 0; }
.nav-open .nav-toggle span:nth-child(3){ top: 11px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero{
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
@media (max-width: 700px){
  .hero{ min-height: 92dvh; }
}
.hero-media{ position: absolute; inset: 0; z-index: 0; }
.hero-media img{
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(35%) brightness(0.55);
  transform: scale(1.04);
}
.hero-media::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,32,26,.55) 0%, rgba(20,32,26,.35) 40%, rgba(15,20,17,.85) 100%),
              linear-gradient(90deg, rgba(25,58,39,.55) 0%, rgba(25,58,39,.05) 55%);
}

.hero-content{ position: relative; z-index: 2; padding-top: 115px; max-width: 760px; }
@media (max-width: 700px){ .hero-content{ padding-top: 130px; } }
.hero .eyebrow{ color: var(--accent-light); }
.hero h1{
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--white);
  margin-bottom: .45em;
}
.hero h1 em{ font-style: normal; color: var(--accent-light); }
.hero .lede{
  font-size: 1.18rem;
  color: #e7ece9;
  max-width: 600px;
  margin-bottom: 2.2rem;
}
.hero-ctas{ display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem; }

.hero-stats{
  display: flex; gap: 2.6rem; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.25);
  padding-top: 1.8rem;
}
.hero-stat b{
  display: block; font-family: var(--font-head); font-weight: 800;
  font-size: 1.7rem; color: var(--white);
}
.hero-stat span{ font-size: .82rem; color: #cfd8d3; letter-spacing: .02em; }

/* ---------- Marquee strip ---------- */
.trust-strip{
  background: var(--navy);
  color: #cfd8d3;
  padding: 16px 0;
  font-family: var(--font-head);
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-align: center;
}
.trust-strip strong{ color: var(--white); }
.trust-strip .container{ display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem 2.4rem; }

/* ---------- Intro / About ---------- */
.about-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}
@media (max-width: 860px){ .about-grid{ grid-template-columns: 1fr; gap: 2.5rem; } }

.about-media{ position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.about-media img{ width: 100%; height: 520px; object-fit: cover; }
.about-media-tag{
  position: absolute; bottom: 20px; left: 20px;
  background: rgba(20,32,26,.85);
  color: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius);
  font-family: var(--font-head); font-size: .78rem; letter-spacing: .04em;
  display: flex; align-items: center; gap: .5em;
}
.about-media-tag i{ width: 8px; height: 8px; border-radius: 50%; background: var(--accent); display: inline-block; }

.about-copy p{ color: var(--muted); font-size: 1.05rem; margin-bottom: 1.2rem; }
.about-copy p.lede{ font-size: 1.2rem; color: var(--ink); font-weight: 500; }

.uniques{ margin-top: 2rem; display: grid; gap: 1.1rem; }
.unique-item{ display: flex; gap: 1rem; align-items: flex-start; }
.unique-num{
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: var(--stone-dark); color: var(--forest);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; font-size: .9rem;
}
.unique-item h4{ margin: 0 0 .2em; font-size: 1.02rem; color: var(--navy); }
.unique-item p{ margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Zones (NFPA) ---------- */
.zones-wrap{
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
@media (max-width: 900px){ .zones-wrap{ grid-template-columns: 1fr; gap: 3rem; } }

.zone-photo{
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1589 / 898;
  box-shadow: var(--shadow-md);
}
.zone-photo > img{
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(20%) brightness(0.92) contrast(1.05);
}
.zone-photo-svg{ position: absolute; inset: 0; width: 100%; height: 100%; }

.pfill{ stroke: none; }
.pfill.f3{ fill: rgba(255,255,255,0.05); }
.pfill.f2{ fill: rgba(255,255,255,0.08); }
.pfill.f1{ fill: rgba(255,255,255,0.12); }
.pfill.f0{ fill: rgba(63,143,95,0.28); }

.pline{ fill: none; stroke: rgba(255,255,255,0.75); stroke-width: 3; stroke-dasharray: 10 8; }
.pline.p0{ stroke: var(--accent-light); stroke-dasharray: none; }

.pcenter{ fill: var(--white); stroke: var(--accent); stroke-width: 3; }

.zone-legend{
  position: absolute; top: 16px; left: 16px;
  background: rgba(15,20,17,.72);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  padding: .8rem 1rem;
  display: grid; gap: .45rem;
}
.zl-item{
  display: flex; align-items: center; gap: .55em;
  font-family: var(--font-head); font-weight: 700; font-size: .72rem;
  letter-spacing: .03em; text-transform: uppercase; color: #eef2ef;
}
.zl-dot{ width: 10px; height: 10px; border-radius: 50%; flex: none; border: 1.5px solid rgba(255,255,255,.6); }
.zl-dot.d0{ background: var(--accent); border-color: var(--accent); }
.zl-dot.d1{ background: rgba(255,255,255,0.3); }
.zl-dot.d2{ background: rgba(255,255,255,0.2); }
.zl-dot.d3{ background: rgba(255,255,255,0.1); }

.zone-photo-note{
  position: absolute; bottom: 0; left: 0; right: 0;
  margin: 0; padding: .7rem 1rem;
  background: linear-gradient(0deg, rgba(10,14,12,.8), transparent);
  color: #dfe6e2; font-size: .74rem; font-style: italic;
}

.zone-list{ display: grid; gap: 1.4rem; }
.zone-card{
  display: grid; grid-template-columns: 72px 1fr; gap: 1.1rem;
  padding: 1.3rem 1.4rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  align-items: start;
}
.zone-chip{
  width: 72px; height: 72px; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800;
  border: 2px solid rgba(255,255,255,.35);
  color: var(--white);
}
.zone-chip small{ font-size: .58rem; letter-spacing: .04em; font-weight: 700; text-transform: uppercase; opacity: .8; margin-top: 2px; }
.zone-chip.c0{ background: var(--accent); border-color: var(--accent); }
.zone-card h4{ color: var(--white); margin-bottom: .35em; font-size: 1.05rem; }
.zone-card p{ color: #d3dbd7; margin: 0; font-size: .93rem; }
.zone-card .zone-range{ color: var(--accent-light); font-family: var(--font-head); font-weight: 700; font-size: .78rem; letter-spacing: .05em; text-transform: uppercase; display:block; margin-bottom: .3em; }

/* ---------- Process ---------- */
.process-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
}
@media (max-width: 980px){ .process-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px){ .process-grid{ grid-template-columns: 1fr; } }

.process-card{
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.2rem 1.7rem;
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--forest);
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.process-card:hover{ transform: translateY(-6px); box-shadow: var(--shadow-md); }
.process-card .pstep{
  font-family: var(--font-head); font-weight: 800; font-size: .78rem;
  color: var(--accent); letter-spacing: .1em; margin-bottom: .8em; display:block;
}
.process-card h3{ font-size: 1.25rem; margin-bottom: .5em; }
.process-card ul{ margin-top: 1rem; display: grid; gap: .5rem; }
.process-card ul li{
  font-size: .9rem; color: var(--muted); padding-left: 1.2em; position: relative;
}
.process-card ul li::before{
  content: ""; position: absolute; left: 0; top: .55em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}

/* ---------- Who we serve ---------- */
.serve-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
}
@media (max-width: 980px){ .serve-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .serve-grid{ grid-template-columns: 1fr; } }

.serve-card{
  background: var(--stone);
  border-radius: var(--radius);
  padding: 2rem 1.6rem;
  text-align: left;
  border: 1px solid var(--stone-dark);
}
.serve-card .icon{
  width: 46px; height: 46px; color: var(--forest); margin-bottom: 1rem;
}
.serve-card h4{ font-size: 1.02rem; margin-bottom: .4em; }
.serve-card p{ font-size: .9rem; color: var(--muted); margin: 0; }

/* ---------- Values ---------- */
.values-grid{
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2rem;
}
@media (max-width: 980px){ .values-grid{ grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .values-grid{ grid-template-columns: 1fr; } }
.value-card{
  padding: 1.6rem 1.3rem;
  border-radius: var(--radius);
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.12);
}
.value-card b{ display:block; font-family: var(--font-head); color: var(--white); font-size: .98rem; margin-bottom: .35em; }
.value-card p{ margin:0; font-size: .86rem; color: #c9d2cd; }
.value-card .vnum{ font-family: var(--font-head); font-weight: 800; color: var(--accent-light); font-size: 1.4rem; display:block; margin-bottom:.4em; }

/* ---------- Gallery / proof ---------- */
.proof-grid{
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 1.2rem;
  height: 560px;
}
@media (max-width: 860px){ .proof-grid{ grid-template-columns: 1fr; grid-template-rows: auto; height: auto; } }
.proof-item{ position: relative; border-radius: var(--radius); overflow: hidden; }
.proof-item img{ width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.proof-item:hover img{ transform: scale(1.06); }
.proof-item.span-2{ grid-row: span 2; }
.proof-item .cap{
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.4rem;
  background: linear-gradient(0deg, rgba(15,20,17,.85), transparent);
  color: var(--white);
}
.proof-item .cap span{ font-family: var(--font-head); font-weight: 700; font-size: .82rem; letter-spacing: .03em; }

/* ---------- CTA band ---------- */
.cta-band{
  background: linear-gradient(120deg, var(--forest), #0e2419);
  color: var(--white);
  padding: 5rem 0;
  text-align: center;
}
.cta-band h2{ color: var(--white); font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.cta-band p{ color: #d3dbd7; max-width: 560px; margin: 0 auto 2rem; font-size: 1.05rem; }
.cta-actions{ display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
@media (max-width: 900px){ .contact-grid{ grid-template-columns: 1fr; gap: 2.5rem; } }

.contact-info-list{ display: grid; gap: 1.6rem; margin-top: 2rem; }
.contact-info-item{ display: flex; gap: 1rem; align-items: flex-start; }
.contact-info-item .icon{
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  background: var(--stone); color: var(--forest);
  display: flex; align-items: center; justify-content: center;
}
.contact-info-item .icon svg{ width: 20px; height: 20px; }
.contact-info-item h4{ margin: 0 0 .2em; font-size: .98rem; color: var(--navy); }
.contact-info-item p{ margin: 0; color: var(--muted); font-size: .92rem; }

.contact-form{
  background: var(--stone);
  border-radius: var(--radius);
  padding: 2.4rem;
  border: 1px solid var(--stone-dark);
}
.form-row{ display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 520px){ .form-row{ grid-template-columns: 1fr; } }
.field{ margin-bottom: 1.1rem; }
.field label{
  display: block; font-family: var(--font-head); font-weight: 700; font-size: .78rem;
  letter-spacing: .04em; text-transform: uppercase; color: var(--navy); margin-bottom: .5em;
}
.field input, .field select, .field textarea{
  width: 100%; padding: 12px 14px; border-radius: 4px;
  border: 1px solid #d5cfbf; font-family: var(--font-body); font-size: .95rem;
  background: var(--white); color: var(--ink);
}
.field textarea{ resize: vertical; min-height: 100px; }
.field input:focus, .field select:focus, .field textarea:focus{ outline: 2px solid var(--forest); outline-offset: 1px; }
.form-note{ font-size: .8rem; color: var(--muted); margin-top: .8rem; }
.form-success{
  display: none; background: var(--forest); color: var(--white);
  padding: 1rem 1.2rem; border-radius: 4px; font-size: .92rem; margin-top: 1rem;
}
.form-success.show{ display: block; }
.form-error{
  display: none; background: #3a2323; color: #f0dcdc; border: 1px solid #6b3a3a;
  padding: 1rem 1.2rem; border-radius: 4px; font-size: .92rem; margin-top: 1rem;
}
.form-error.show{ display: block; }
.btn[disabled]{ opacity: .65; cursor: not-allowed; transform: none; }

/* ---------- Footer ---------- */
.site-footer{ background: var(--navy-dark); color: #c3cdc8; padding: 4rem 0 1.6rem; }
.footer-grid{
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem;
  padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,.1);
}
@media (max-width: 860px){ .footer-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .footer-grid{ grid-template-columns: 1fr; } }
.footer-brand img{ height: 42px; margin-bottom: 1rem; }
.footer-brand p{ font-size: .88rem; color: #9fada6; max-width: 280px; }
.footer-col h5{
  font-family: var(--font-head); color: var(--white); font-size: .82rem;
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1.1rem;
}
.footer-col ul{ display: grid; gap: .7rem; }
.footer-col a{ font-size: .9rem; color: #b7c2bc; transition: color .2s; }
.footer-col a:hover{ color: var(--accent-light); }
.footer-bottom{
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1.6rem; font-size: .8rem; color: #8b988f; flex-wrap: wrap; gap: 1rem;
}

/* ---------- Reveal animation ---------- */
.reveal{ opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in{ opacity: 1; transform: translateY(0); }

/* ---------- Mobile nav ---------- */
@media (max-width: 940px){
  .main-nav{
    position: fixed; top: 0; right: -100%; height: 100vh; height: 100dvh; width: min(340px, 84%);
    background: var(--white); flex-direction: column; align-items: flex-start;
    padding: 100px 32px 32px; gap: 1.6rem; transition: right .35s ease;
    box-shadow: -8px 0 30px rgba(0,0,0,0.15); z-index: 400;
    overflow-y: auto;
  }
  .main-nav a{ color: var(--navy-dark); font-size: 1.05rem; }
  .nav-open .main-nav{ right: 0; }
  .nav-toggle{ display: block; z-index: 600; min-width: 44px; min-height: 44px; }
  .header-phone span{ display: none; }

  .nav-phone{
    display: flex; align-items: center; gap: .6em; width: 100%;
    font-family: var(--font-head); font-weight: 700; font-size: 1rem; color: var(--navy-dark);
    padding-top: 1.2rem; margin-top: .4rem; border-top: 1px solid var(--stone-dark);
  }
  .nav-phone svg{ width: 18px; height: 18px; flex-shrink: 0; }
  .nav-cta{ display: inline-flex; width: 100%; justify-content: center; }
}

/* Header actions crowd the bar on phones — collapse to logo + menu only */
@media (max-width: 700px){
  .header-phone, .header-cta{ display: none; }
  .header-actions{ gap: .8rem; }
}

/* Drop the tagline on phones so the wordmark can't wrap and inflate header height */
@media (max-width: 560px){
  .brand-name span{ display: none; }
}

@media (max-width: 560px){
  .hero-stats{ gap: 1.6rem; }
  .about-media img{ height: 340px; }
}

@media (max-width: 400px){
  .brand{ gap: 10px; }
  .brand-logo-img{ height: 50px; }
  .site-header.scrolled .brand-logo-img{ height: 42px; }
  .brand-name{ font-size: 1.02rem; }
  .brand-name span{ font-size: .64rem; }
}

/* ==========================================================================
   AI Inspection App page
   ========================================================================== */

.app-hero{
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 900px){ .app-hero{ grid-template-columns: 1fr; gap: 3rem; text-align: center; } }
.app-hero .hero-ctas{ justify-content: flex-start; }
@media (max-width: 900px){ .app-hero .hero-ctas{ justify-content: center; } }

.app-hero-phones{ display: flex; align-items: flex-end; justify-content: center; }
.app-hero-phones .phone-frame{ width: 240px; flex: none; }
.app-hero-phones .phone-frame.p2{ margin-left: -78px; margin-bottom: -30px; z-index: 0; filter: brightness(.82); }
.app-hero-phones .phone-frame.p1{ z-index: 1; }
@media (max-width: 520px){
  .app-hero-phones .phone-frame{ width: 190px; }
  .app-hero-phones .phone-frame.p2{ margin-left: -60px; }
}

.phone-frame{
  position: relative;
  background: #0b0e0c;
  border-radius: 34px;
  padding: 9px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255,255,255,.1);
}
.phone-frame img{ border-radius: 25px; width: 100%; display: block; }
.phone-frame::before{
  content: "";
  position: absolute; top: 17px; left: 50%; transform: translateX(-50%);
  width: 60px; height: 7px; border-radius: 6px; background: rgba(255,255,255,.18); z-index: 2;
}

.feature-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.feature-row + .feature-row{ margin-top: 5rem; }
.feature-row.reverse .feature-media{ order: -1; }
@media (max-width: 860px){
  .feature-row{ grid-template-columns: 1fr; gap: 2.2rem; }
  .feature-row.reverse .feature-media{ order: 0; }
  .feature-row + .feature-row{ margin-top: 3.5rem; }
}

.feature-media{ display: flex; justify-content: center; }
.feature-media .phone-frame{ width: 250px; }

.feature-copy h3{ font-size: 1.55rem; margin-bottom: .6rem; }
.feature-copy p{ color: var(--muted); font-size: 1.02rem; margin-bottom: 1rem; }
.feature-list{ display: grid; gap: .65rem; margin-top: 1.1rem; }
.feature-list li{ padding-left: 1.3em; position: relative; color: var(--muted); font-size: .94rem; }
.feature-list li::before{
  content: ""; position: absolute; left: 0; top: .55em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
}

.app-gallery{
  display: flex; gap: 1.6rem; overflow-x: auto; padding: .5rem .2rem 1.6rem;
  scroll-snap-type: x mandatory;
}
.app-gallery::-webkit-scrollbar{ height: 6px; }
.app-gallery::-webkit-scrollbar-thumb{ background: rgba(255,255,255,.2); border-radius: 6px; }
.app-gallery-item{ flex: none; scroll-snap-align: start; text-align: center; }
.app-gallery .phone-frame{ width: 200px; }
.app-gallery-cap{
  margin-top: .8rem; font-size: .76rem; color: #cfd8d3;
  font-family: var(--font-head); font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
}

.risk-legend{ display: flex; gap: 1.6rem; flex-wrap: wrap; margin-top: 1.6rem; }
.risk-legend .rl-item{ display: flex; align-items: center; gap: .55em; font-family: var(--font-head); font-weight: 700; font-size: .82rem; }
.risk-legend .rl-dot{ width: 12px; height: 12px; border-radius: 50%; flex: none; }
.risk-legend .rl-dot.low{ background: #4caf6f; }
.risk-legend .rl-dot.mod{ background: #d69a3c; }
.risk-legend .rl-dot.sev{ background: #c1493f; }
