:root {
  --bg: #eef1f2;
  --bg-raise: #f8f9f8;
  --surface: #ffffff;
  --ink: #202226;
  --ink-soft: #4a4d52;
  --muted: #6c6a63;
  --line: #d8d6cd;
  --rust: #c1502e;
  --rust-ink: #9c3d21;
  --slate: #2f4d64;
  --slate-soft: #4a6b85;
  --gold: #b9832a;
  --divider-a: rgba(32,34,38,0.06);
  --divider-b: rgba(32,34,38,0.11);
  --shadow: 0 18px 40px -22px rgba(32,34,38,0.35);
  --focus: #1c6fae;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1a1c1f;
    --bg-raise: #212327;
    --surface: #26282c;
    --ink: #ece9e1;
    --ink-soft: #c7c3b8;
    --muted: #a29d90;
    --line: #3a3c3f;
    --rust: #e07a4d;
    --rust-ink: #f2a37c;
    --slate: #8fb4d1;
    --slate-soft: #6f9ab8;
    --gold: #e0ac4c;
    --divider-a: rgba(236,233,225,0.05);
    --divider-b: rgba(236,233,225,0.1);
    --shadow: 0 18px 40px -18px rgba(0,0,0,0.55);
    --focus: #7fc4ff;
  }
}

:root[data-theme="dark"] {
  --bg: #1a1c1f;
  --bg-raise: #212327;
  --surface: #26282c;
  --ink: #ece9e1;
  --ink-soft: #c7c3b8;
  --muted: #a29d90;
  --line: #3a3c3f;
  --rust: #e07a4d;
  --rust-ink: #f2a37c;
  --slate: #8fb4d1;
  --slate-soft: #6f9ab8;
  --gold: #e0ac4c;
  --divider-a: rgba(236,233,225,0.05);
  --divider-b: rgba(236,233,225,0.1);
  --shadow: 0 18px 40px -18px rgba(0,0,0,0.55);
  --focus: #7fc4ff;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Libre Franklin", "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: "Fjalla One", "Arial Narrow", sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-wrap: balance;
  margin: 0;
  color: var(--ink);
}

a { color: var(--slate-soft); }
a:focus-visible, button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

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

.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust);
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 clamp(24px, 6vw, 96px);
}

/* ---------- shingle divider ---------- */
.shingles {
  height: 26px;
  background-image: repeating-linear-gradient(
    -18deg,
    var(--divider-a) 0 16px,
    var(--divider-b) 16px 32px
  );
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

/* ---------- nav ---------- */
header.site {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg-raise);
  border-bottom: 1px solid var(--line);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(24px, 6vw, 96px);
  max-width: 1120px;
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font: inherit;
}
.brand .word1 { font-family: "Fjalla One", sans-serif; font-size: 1.5rem; color: var(--slate); }
.brand .word2 { font-family: "Fjalla One", sans-serif; font-size: 1.5rem; color: var(--rust); }
.brand .tag {
  display: none;
}
@media (min-width: 640px) {
  .brand .tag {
    display: inline-block;
    font-family: "Libre Franklin", sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
    border-left: 1px solid var(--line);
    padding-left: 10px;
    margin-left: 2px;
  }
}

nav.links {
  display: flex;
  align-items: center;
  gap: 4px;
}
nav.links .nav-link {
  font-family: "Libre Franklin", sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  background: none;
  border: none;
  color: var(--ink-soft);
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
}
nav.links .nav-link:hover { color: var(--ink); background: var(--bg); }
nav.links .nav-link.active {
  color: var(--rust-ink);
  background: color-mix(in srgb, var(--rust) 12%, transparent);
}

.call-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Libre Franklin", sans-serif;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  color: #fff;
  background: var(--rust);
  padding: 10px 16px;
  border-radius: 7px;
  white-space: nowrap;
  box-shadow: var(--shadow);
}
.call-btn:hover { background: var(--rust-ink); }
.call-btn .num { display: none; }
@media (min-width: 480px) { .call-btn .num { display: inline; } }

/* mobile nav collapse */
@media (max-width: 640px) {
  nav.links .nav-link { padding: 8px 9px; font-size: 0.82rem; }
}

/* ---------- hero ---------- */
.hero {
  padding-top: clamp(40px, 7vw, 84px);
  padding-bottom: clamp(32px, 5vw, 56px);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.5rem);
  line-height: 1.04;
  margin-top: 10px;
}
.hero h1 em {
  font-style: normal;
  color: var(--rust);
}
.hero p.lede {
  margin-top: 18px;
  max-width: 54ch;
  color: var(--ink-soft);
  font-size: 1.08rem;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}
.btn-primary, .btn-ghost {
  font-family: "Libre Franklin", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  padding: 13px 22px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-primary { background: var(--rust); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--rust-ink); }
.btn-ghost { background: transparent; color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { border-color: var(--slate-soft); color: var(--slate-soft); }

.trust-strip {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
}
.trust-strip span {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.trust-strip span::before {
  content: "";
  width: 9px;
  height: 9px;
  clip-path: polygon(20% 0, 100% 0, 80% 100%, 0% 100%);
  background: var(--gold);
  flex: none;
}

.mascot-card {
  background: #fdfdfb;
  border-radius: 14px;
  padding: 18px 18px 22px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  transform: rotate(1.2deg);
}
.mascot-card img {
  border-radius: 6px;
  width: 100%;
}
.mascot-card figcaption {
  margin-top: 12px;
  text-align: center;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #6c6a63;
  font-weight: 700;
}

.block { padding-top: clamp(48px, 7vw, 76px); padding-bottom: clamp(48px, 7vw, 76px); }
.block-head { max-width: 62ch; margin-bottom: clamp(28px, 4vw, 40px); }
.block-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.35rem); margin-top: 8px; }
.block-head p { color: var(--ink-soft); margin-top: 12px; }

/* ---------- services / spec list ---------- */
.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.spec-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px;
}
.spec-card .tab {
  width: 30px;
  height: 18px;
  clip-path: polygon(15% 0, 100% 0, 85% 100%, 0% 100%);
  background: var(--slate);
  margin-bottom: 14px;
}
.spec-card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.spec-card p { color: var(--ink-soft); font-size: 0.95rem; margin: 0; }

/* ---------- value props ---------- */
.value-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
}
.value-item h3 {
  font-size: 1.05rem;
  color: var(--slate);
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.value-item h3 .mark { color: var(--rust); font-size: 1.3rem; }
.value-item p { color: var(--ink-soft); font-size: 0.95rem; margin-top: 8px; }

/* ---------- band (contrast section) ---------- */
.band {
  background: var(--slate);
  color: #f3f1ea;
}
.band h2, .band h3 { color: #fff; }
.band p { color: #d7e2ea; }
.band .eyebrow { color: var(--gold); }
.band .btn-primary { background: var(--rust); }
.band .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.4); }
.band .btn-ghost:hover { border-color: #fff; color: #fff; }

/* ---------- badges / license strip ---------- */
.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 8px;
}
.badge {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
}

/* ---------- about page ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }
.about-grid .mascot-card { transform: rotate(-1deg); }
.prose p { color: var(--ink-soft); margin: 0 0 16px; max-width: 62ch; }
.prose p:last-child { margin-bottom: 0; }

.list-plain {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.list-plain li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.98rem;
  color: var(--ink-soft);
}
.list-plain li .tab {
  width: 22px; height: 14px; flex: none; margin-top: 5px;
  clip-path: polygon(15% 0, 100% 0, 85% 100%, 0% 100%);
  background: var(--gold);
}
.list-plain li strong { color: var(--ink); }

.area-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px;
  margin-top: 8px;
}

/* ---------- reviews page ---------- */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.review-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.review-card .stars {
  color: var(--gold);
  font-size: 0.95rem;
  letter-spacing: 3px;
}
.review-card blockquote {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.6;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}
.trust-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 24px;
  text-align: left;
}
.trust-card .num {
  font-family: "Fjalla One", sans-serif;
  font-size: 1.9rem;
  color: var(--rust);
  display: block;
  margin-bottom: 6px;
}
.trust-card h3 { font-size: 1.02rem; margin-bottom: 6px; }
.trust-card p { color: var(--muted); font-size: 0.9rem; margin: 0; }

.ask-card {
  background: var(--bg-raise);
  border: 1px dashed var(--line);
  border-radius: 12px;
  padding: 26px 28px;
}
.ask-card h3 { font-size: 1.1rem; margin-bottom: 12px; color: var(--slate); }
.ask-card ul { margin: 0; padding-left: 20px; color: var(--ink-soft); display: grid; gap: 8px; }

/* ---------- footer ---------- */
footer.site {
  background: var(--bg-raise);
  border-top: 1px solid var(--line);
  padding: 40px 0 30px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 30px;
}
@media (max-width: 700px) { .foot-grid { grid-template-columns: 1fr; } }
.foot-grid h4 {
  font-family: "Libre Franklin", sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
}
.foot-grid p, .foot-grid a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.92rem;
  margin: 0 0 6px;
  display: block;
}
.foot-grid a:hover { color: var(--rust); }
.foot-bottom {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px;
}

@media (prefers-reduced-motion: no-preference) {
  .btn-primary, .btn-ghost, .call-btn, nav.links .nav-link, a { transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
}
