/* ==========================================================================
   PPM Enterprise
   Industrial, measured, plain-spoken. The visual language borrows from shop
   drawings: monospaced field labels, hairline rules, dimension ticks and a
   high-visibility accent that reads like safety marking on a yard.
   ========================================================================== */

/* --- Tokens --------------------------------------------------------------- */

:root {
  /* Brand */
  --forest: #17402b;
  --forest-lift: #1e5236;
  --forest-deep: #0e2419;
  --ink: #101d16;
  --lime: #cfe14b;
  --lime-dim: #aebe30;
  --rust: #a04f27;
  --rust-bright: #c1652f;
  --cream: #f1eee4;
  --paper: #faf8f2;
  --paper-sunk: #f4f1e7;

  /* Text */
  --text: #16241c;
  --muted: #4a5a4f;
  --line: #ddd8c8;
  --line-strong: #c6c0ab;

  /* Contextual, flipped by .on-dark */
  --bg: var(--paper);
  --fg: var(--text);
  --fg-muted: var(--muted);
  --rule: var(--line);
  --accent: var(--rust);
  --ghost-fg: var(--text);
  --ghost-bd: var(--line-strong);
  --ghost-hover: rgba(22, 36, 28, 0.06);

  /* Type */
  --sans: 'Archivo', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial,
    sans-serif;
  --mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
  --serif: Georgia, 'Iowan Old Style', 'Times New Roman', serif;

  /* Rhythm */
  --shell: 76rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4rem, 9vw, 7.5rem);
  --radius: 4px;
  --radius-lg: 8px;

  --shadow-sm: 0 1px 2px rgba(16, 29, 22, 0.06);
  --shadow-md: 0 12px 32px -16px rgba(16, 29, 22, 0.3);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

.on-dark {
  --bg: var(--forest);
  --fg: var(--paper);
  --fg-muted: rgba(241, 238, 228, 0.72);
  --rule: rgba(241, 238, 228, 0.18);
  --accent: var(--lime);
  --ghost-fg: var(--cream);
  --ghost-bd: rgba(241, 238, 228, 0.32);
  --ghost-hover: rgba(241, 238, 228, 0.09);
  color: var(--fg);
  background-color: var(--bg);
}

/* --- Reset ---------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

ul,
ol {
  list-style: none;
  padding: 0;
}

:target {
  scroll-margin-top: 7rem;
}

/* --- Focus and skip link -------------------------------------------------- */

:focus-visible {
  outline: 3px solid var(--lime-dim);
  outline-offset: 3px;
  border-radius: 2px;
}

.on-dark :focus-visible {
  outline-color: var(--lime);
}

.skiplink {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--forest);
  color: var(--paper);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius);
}

.skiplink:focus {
  top: 1rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --- Layout --------------------------------------------------------------- */

.shell {
  width: min(100% - (var(--gutter) * 2), var(--shell));
  margin-inline: auto;
}

.section {
  padding-block: var(--section);
}

.section--tight {
  padding-block: clamp(3rem, 6vw, 4.5rem);
}

.section--sunk {
  background: var(--paper-sunk);
  border-block: 1px solid var(--line);
}

/* --- Typography ----------------------------------------------------------- */

h1,
h2,
h3,
h4 {
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.kicker {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.1rem;
}

.kicker__index {
  padding-right: 0.6rem;
  border-right: 1px solid currentColor;
  opacity: 0.65;
}

/* On narrow screens a two-part kicker wraps mid-phrase and the divider is left
   floating, so stack the two halves instead. */
@media (max-width: 30rem) {
  .kicker {
    display: block;
  }

  .kicker__index {
    display: block;
    padding-right: 0;
    border-right: 0;
    margin-bottom: 0.15rem;
  }
}

.sectionhead {
  max-width: 46rem;
  margin-bottom: clamp(2.25rem, 4vw, 3.25rem);
}

.sectionhead--center {
  margin-inline: auto;
  text-align: center;
}

.sectionhead--center .kicker {
  justify-content: center;
}

.sectionhead__title {
  font-size: clamp(1.95rem, 4vw, 3.1rem);
}

.sectionhead__lead {
  margin-top: 1.15rem;
  font-size: clamp(1.03rem, 1.5vw, 1.18rem);
  color: var(--fg-muted);
  max-width: 40rem;
}

.sectionhead--center .sectionhead__lead {
  margin-inline: auto;
}

.lede {
  font-size: clamp(1.06rem, 1.6vw, 1.25rem);
  color: var(--fg-muted);
}

.prose p + p {
  margin-top: 1.05em;
}

.prose h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.prose > h2:first-child {
  margin-top: 0;
}

.prose h3 {
  font-size: 1.1rem;
  margin-top: 1.75rem;
  margin-bottom: 0.4rem;
}

.prose ul {
  list-style: disc;
  padding-left: 1.2rem;
  margin-top: 0.75rem;
  display: grid;
  gap: 0.4rem;
}

.prose a {
  color: var(--rust);
  text-underline-offset: 3px;
}

/* --- Buttons -------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.72rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  white-space: nowrap;
  transition:
    background-color 0.18s var(--ease),
    border-color 0.18s var(--ease),
    transform 0.18s var(--ease);
}

.btn .icon {
  flex: none;
}

.btn--lg {
  padding: 0.95rem 1.6rem;
  font-size: 1.02rem;
}

.btn--primary {
  background: var(--lime);
  color: var(--ink);
  border-color: var(--lime);
}

.btn--primary:hover {
  background: #dcee5e;
  border-color: #dcee5e;
}

.btn--ghost {
  color: var(--ghost-fg);
  border-color: var(--ghost-bd);
}

.btn--ghost:hover {
  background: var(--ghost-hover);
}

.btn--solid {
  background: var(--forest);
  color: var(--paper);
  border-color: var(--forest);
}

.btn--solid:hover {
  background: var(--forest-lift);
  border-color: var(--forest-lift);
}

.btn:active {
  transform: translateY(1px);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* Action rows sit tighter inside a product block or a panel than under a hero. */
.product .actions,
.panel .actions {
  margin-top: 1.6rem;
}

.panel .callout + .checklist {
  margin-top: 1.5rem;
}

.shell--narrow {
  max-width: 44rem;
}

/* --- Utility bar ---------------------------------------------------------- */

.utilitybar {
  background: var(--forest-deep);
  color: rgba(241, 238, 228, 0.8);
  font-size: 0.8rem;
}

.utilitybar__inner {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  min-height: 2.4rem;
}

.utilitybar__item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
}

.utilitybar__item .icon {
  opacity: 0.6;
  stroke-width: 1.7;
}

.utilitybar__phone {
  margin-left: auto;
  color: var(--lime);
  font-weight: 600;
  font-family: var(--mono);
  letter-spacing: 0.02em;
}

.utilitybar__phone .icon {
  opacity: 1;
}

@media (max-width: 62rem) {
  .utilitybar {
    display: none;
  }
}

/* --- Masthead ------------------------------------------------------------- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 248, 242, 0.92);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}

.masthead__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: 4.5rem;
}

.masthead__brand {
  text-decoration: none;
  color: var(--forest);
  flex: none;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}

.wordmark__mark {
  color: var(--forest);
  flex: none;
}

.wordmark__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.wordmark__name {
  font-size: 1.32rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--forest);
}

.wordmark__sub {
  font-family: var(--mono);
  font-size: 0.63rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.28rem;
}

.masthead__nav {
  display: flex;
  align-items: center;
  gap: 1.9rem;
  margin-left: auto;
}

.masthead__link {
  position: relative;
  white-space: nowrap;
  font-size: 0.94rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--text);
  padding-block: 0.4rem;
}

.masthead__link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.15rem;
  height: 2px;
  background: var(--rust);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s var(--ease);
}

.masthead__link:hover::after,
.masthead__link--current::after {
  transform: scaleX(1);
}

.masthead__actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex: none;
}

.masthead__call {
  font-family: var(--mono);
  font-size: 0.86rem;
}

@media (min-width: 62.0625rem) {
  .masthead__call {
    display: none;
  }
}

.masthead__toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.9rem;
  height: 2.9rem;
  background: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  cursor: pointer;
}

.masthead__toggle-close {
  display: none;
}

.masthead__toggle[aria-expanded='true'] .masthead__toggle-open {
  display: none;
}

.masthead__toggle[aria-expanded='true'] .masthead__toggle-close {
  display: block;
}

@media (max-width: 62rem) {
  .masthead__nav {
    display: none;
  }

  .masthead__toggle {
    display: inline-flex;
  }

  .masthead__actions {
    margin-left: auto;
  }
}

@media (max-width: 30rem) {
  .masthead__quote {
    display: none;
  }

  .masthead__call span {
    display: none;
  }
}

/* --- Mobile navigation ---------------------------------------------------- */

.mobilenav {
  border-top: 1px solid var(--line);
  background: var(--paper);
  max-height: calc(100dvh - 4.5rem);
  overflow-y: auto;
}

.mobilenav[hidden] {
  display: none;
}

.mobilenav__inner {
  display: grid;
  gap: 0.25rem;
  padding-block: 1rem 1.75rem;
}

.mobilenav__link {
  display: block;
  padding: 0.9rem 0;
  font-size: 1.12rem;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.mobilenav__link--current {
  color: var(--rust);
}

.mobilenav__cta {
  margin-top: 1.25rem;
}

.mobilenav__call {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  padding: 0.85rem;
  font-family: var(--mono);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}

.mobilenav__meta {
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.35rem;
}

/* --- Hero ----------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  background-color: var(--forest);
  background-image:
    radial-gradient(120% 90% at 78% 8%, rgba(30, 82, 54, 0.85) 0%, rgba(23, 64, 43, 0) 60%),
    repeating-linear-gradient(90deg, rgba(241, 238, 228, 0.05) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(0deg, rgba(241, 238, 228, 0.05) 0 1px, transparent 1px 72px);
  border-bottom: 1px solid rgba(241, 238, 228, 0.12);
}

.hero::before {
  content: '';
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 4px;
  background: var(--lime);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

.hero__title {
  font-size: clamp(2.7rem, 6.4vw, 4.9rem);
  letter-spacing: -0.038em;
  line-height: 0.99;
}

.hero__lead {
  margin-top: 1.5rem;
  max-width: 34rem;
  font-size: clamp(1.06rem, 1.7vw, 1.28rem);
  color: rgba(241, 238, 228, 0.78);
}

.hero__figure {
  position: relative;
  margin: 0;
}

.hero__figure svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 26px 46px rgba(8, 22, 15, 0.45));
}

.hero__caption {
  margin-top: 0.9rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(241, 238, 228, 0.62);
  text-align: right;
}

@media (max-width: 60rem) {
  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__figure {
    order: -1;
    max-width: 34rem;
  }

  .hero__caption {
    text-align: left;
  }
}

/* --- Interior page hero -------------------------------------------------- */

.pagehero {
  position: relative;
  background-color: var(--forest);
  background-image:
    radial-gradient(120% 150% at 85% 0%, rgba(30, 82, 54, 0.8) 0%, rgba(23, 64, 43, 0) 62%),
    repeating-linear-gradient(90deg, rgba(241, 238, 228, 0.05) 0 1px, transparent 1px 72px),
    repeating-linear-gradient(0deg, rgba(241, 238, 228, 0.05) 0 1px, transparent 1px 72px);
  border-bottom: 1px solid rgba(241, 238, 228, 0.12);
}

.pagehero::before {
  content: '';
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 4px;
  background: var(--lime);
}

.pagehero__inner {
  max-width: 52rem;
  padding-block: clamp(3rem, 6.5vw, 5rem);
}

.pagehero__title {
  font-size: clamp(2.2rem, 5.2vw, 3.7rem);
  letter-spacing: -0.035em;
}

.pagehero__lead {
  margin-top: 1.3rem;
  max-width: 40rem;
  font-size: clamp(1.04rem, 1.7vw, 1.24rem);
  color: var(--fg-muted);
}

.pagehero__note {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 2rem;
  color: var(--fg-muted);
}

.pagehero__note a {
  color: var(--accent);
  font-weight: 600;
}

/* --- Stats strip ---------------------------------------------------------- */

.stats {
  background: var(--forest-deep);
  color: var(--cream);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(241, 238, 228, 0.14);
  border-inline: 1px solid rgba(241, 238, 228, 0.14);
}

.stat {
  background: var(--forest-deep);
  padding: clamp(1.4rem, 3vw, 2.1rem) clamp(1rem, 2vw, 1.6rem);
}

.stat__value {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--lime);
}

.stat__unit {
  font-size: 0.5em;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(241, 238, 228, 0.65);
}

.stat__label {
  margin-top: 0.55rem;
  font-size: 0.83rem;
  line-height: 1.35;
  color: rgba(241, 238, 228, 0.68);
}

@media (max-width: 48rem) {
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Cards ---------------------------------------------------------------- */

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

/* Four items: go 1 → 2 → 4 so a row is never left with an orphan. */
@media (min-width: 34rem) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 72rem) {
  .cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.6rem 1.5rem 1.5rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-decoration: none;
  overflow: hidden;
  transition:
    border-color 0.2s var(--ease),
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.card::before {
  content: '';
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 3px;
  background: var(--rust);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.card:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.card:hover::before {
  transform: scaleX(1);
}

.card__index {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--muted);
}

.card__icon {
  display: block;
  margin: 1.1rem 0 1.25rem;
  color: var(--forest);
}

.card__title {
  font-size: 1.08rem;
  letter-spacing: -0.015em;
}

.card__body {
  margin-top: 0.6rem;
  font-size: 0.93rem;
  color: var(--muted);
  flex: 1;
}

.card__more {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--rust);
}

.card:hover .card__more .icon {
  transform: translateX(3px);
}

.card__more .icon {
  transition: transform 0.2s var(--ease);
}

/* --- Anchor navigation --------------------------------------------------- */

.anchornav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 0.6rem;
}

.anchornav a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.9rem;
  font-size: 0.92rem;
  text-decoration: none;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  transition:
    border-color 0.16s var(--ease),
    background-color 0.16s var(--ease);
}

.anchornav a:hover {
  border-color: var(--forest);
  background: rgba(207, 225, 75, 0.18);
}

.anchornav__index {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--rust);
}

/* --- Product detail sections ---------------------------------------------- */

.product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.75rem, 5vw, 4rem);
  padding-block: clamp(2.75rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
  align-items: start;
}

.product:first-of-type {
  border-top: 0;
}

.product__icon {
  color: var(--forest);
  margin-bottom: 1.25rem;
}

.product__title {
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
}

.product__body {
  margin-top: 1rem;
  color: var(--muted);
}

.product__note {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.4rem;
  padding: 0.4rem 0.75rem;
  font-family: var(--mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--forest);
  background: rgba(207, 225, 75, 0.28);
  border-radius: 999px;
}

@media (max-width: 54rem) {
  .product {
    grid-template-columns: 1fr;
  }
}

/* --- Spec list ------------------------------------------------------------ */

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

.speclist__row {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr);
  gap: 1rem;
  padding-block: 0.85rem;
  border-bottom: 1px solid var(--line);
}

.speclist__term {
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--forest);
  padding-top: 0.15rem;
}

.speclist__detail {
  font-size: 0.95rem;
  color: var(--muted);
}

@media (max-width: 34rem) {
  .speclist__row {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }
}

/* --- Pull quote ----------------------------------------------------------- */

.pullquote {
  max-width: 44rem;
  margin-inline: auto;
  text-align: center;
  padding-inline: 1rem;
}

.pullquote__text {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.5rem, 3.4vw, 2.35rem);
  line-height: 1.28;
  letter-spacing: -0.015em;
  color: var(--fg);
}

.pullquote__note {
  margin-top: 1.5rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}

/* --- Steps ---------------------------------------------------------------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.step {
  background: var(--bg);
  padding: clamp(1.5rem, 3vw, 2.1rem);
}

.step__index {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--accent);
  padding-bottom: 0.9rem;
}

.step__title {
  font-size: 1.14rem;
}

.step__body {
  margin-top: 0.6rem;
  font-size: 0.94rem;
  color: var(--fg-muted);
}

/* --- Check list ----------------------------------------------------------- */

.checklist {
  display: grid;
  gap: 0.7rem;
}

.sectionhead__lead + .checklist,
.lede + .checklist {
  margin-top: 1.75rem;
}

.checklist li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.7rem;
  align-items: start;
  font-size: 0.96rem;
  color: var(--fg-muted);
}

.checklist .icon {
  color: var(--accent);
  margin-top: 0.22rem;
  stroke-width: 2.1;
}

.checklist--cols {
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 0.7rem 2rem;
}

/* --- Split panel ---------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

@media (max-width: 54rem) {
  .split {
    grid-template-columns: 1fr;
  }
}

.panel {
  padding: clamp(1.6rem, 3.5vw, 2.4rem);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.panel--accent {
  border-left: 3px solid var(--rust);
}

/* --- Linked list panel --------------------------------------------------- */

.linklist {
  display: grid;
  gap: 1.25rem;
}

.linklist a {
  display: block;
  text-decoration: none;
}

.linklist__name {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.linklist__desc {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.92rem;
  color: var(--muted);
}

.linklist a:hover .linklist__name {
  color: var(--rust);
}

/* --- Location ------------------------------------------------------------- */

.location__title {
  font-size: 1.3rem;
  margin-bottom: 1.4rem;
}

.location__list {
  display: grid;
  gap: 1.15rem;
}

.location__list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem;
  align-items: start;
}

.location__list .icon {
  color: var(--accent);
  margin-top: 0.15rem;
}

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

.location__list a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.location__label {
  display: block;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-muted);
  margin-bottom: 0.2rem;
}

.location__hint {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.15rem;
  font-size: 0.8rem;
  color: var(--fg-muted);
}

/* --- CTA band ------------------------------------------------------------- */

.ctaband {
  background: var(--forest);
  background-image: repeating-linear-gradient(
    -45deg,
    rgba(241, 238, 228, 0.028) 0 12px,
    transparent 12px 24px
  );
  border-top: 4px solid var(--lime);
}

.ctaband__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  padding-block: clamp(3rem, 6vw, 4.5rem);
}

.ctaband__title {
  font-size: clamp(1.85rem, 3.6vw, 2.7rem);
}

.ctaband__lead {
  margin-top: 1.1rem;
  color: var(--fg-muted);
  max-width: 34rem;
}

.ctaband__actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
}

.ctaband__meta {
  margin-top: 0.4rem;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(241, 238, 228, 0.68);
  text-align: center;
}

@media (max-width: 54rem) {
  .ctaband__inner {
    grid-template-columns: 1fr;
  }
}

/* --- Footer --------------------------------------------------------------- */

.footer {
  background: var(--forest-deep);
  color: var(--cream);
  padding-block: clamp(3rem, 6vw, 4.5rem) 2rem;
}

.footer .wordmark__mark,
.footer .wordmark__name {
  color: var(--lime);
}

.footer .wordmark__sub {
  color: rgba(241, 238, 228, 0.6);
}

.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 0.8fr)) minmax(0, 1.2fr);
  gap: clamp(2rem, 4vw, 3rem);
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(241, 238, 228, 0.16);
}

.footer__blurb {
  margin: 1.2rem 0 1.6rem;
  font-size: 0.93rem;
  color: rgba(241, 238, 228, 0.68);
  max-width: 22rem;
}

.footer__heading {
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 1rem;
}

.footer__heading--spaced {
  margin-top: 2rem;
}

.footer__list {
  display: grid;
  gap: 0.6rem;
  font-size: 0.92rem;
}

.footer__list a {
  color: rgba(241, 238, 228, 0.78);
  text-decoration: none;
}

.footer__list a:hover {
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer__list--contact li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.7rem;
  align-items: start;
  color: rgba(241, 238, 228, 0.78);
}

.footer__list--contact .icon {
  color: var(--lime);
  margin-top: 0.15rem;
  opacity: 0.85;
}

.footer__hint {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.2rem;
  font-size: 0.78rem;
  color: rgba(241, 238, 228, 0.6);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.75rem;
  font-size: 0.83rem;
  color: rgba(241, 238, 228, 0.55);
}

@media (max-width: 62rem) {
  .footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 38rem) {
  .footer__top {
    grid-template-columns: 1fr;
  }
}

/* --- Forms ---------------------------------------------------------------- */

.quotelayout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}

@media (max-width: 62rem) {
  .quotelayout {
    grid-template-columns: 1fr;
  }
}

.aside {
  position: sticky;
  top: 6rem;
  display: grid;
  gap: 1.25rem;
}

@media (max-width: 62rem) {
  .aside {
    position: static;
  }
}

.form {
  display: grid;
  gap: 2.25rem;
}

.fieldset {
  border: 0;
  padding: 0;
}

.fieldset__legend {
  display: flex;
  align-items: baseline;
  gap: 0.7rem;
  width: 100%;
  padding: 0 0 1.15rem;
  margin-bottom: 1.4rem;
  border-bottom: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--forest);
}

.fieldset__legend span {
  color: var(--rust);
}

.fieldgrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.field--wide {
  grid-column: 1 / -1;
}

@media (max-width: 42rem) {
  .fieldgrid {
    grid-template-columns: 1fr;
  }
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field__label {
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: -0.005em;
}

.field__req {
  color: var(--rust);
}

.field__hint {
  font-size: 0.8rem;
  color: var(--muted);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  transition:
    border-color 0.16s var(--ease),
    box-shadow 0.16s var(--ease);
}

.field textarea {
  min-height: 7rem;
  resize: vertical;
}

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position:
    calc(100% - 1.15rem) 1.15rem,
    calc(100% - 0.8rem) 1.15rem;
  background-size:
    6px 6px,
    6px 6px;
  background-repeat: no-repeat;
  padding-right: 2.5rem;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--muted);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(207, 225, 75, 0.45);
}

.field input:user-invalid,
.field textarea:user-invalid {
  border-color: var(--rust);
}

.field--group {
  border: 0;
  padding: 0;
}

.field--group > legend {
  padding: 0;
}

.field--group .radios {
  margin-top: 0.5rem;
}

.callpanel__number {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.callpanel__number a {
  color: var(--forest);
  text-decoration: none;
}

.callpanel__number a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.callpanel__meta {
  font-size: 0.9rem;
  color: var(--muted);
}

.radios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 0.6rem;
}

.radio {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.92rem;
  transition:
    border-color 0.16s var(--ease),
    background-color 0.16s var(--ease);
}

.radio:hover {
  border-color: var(--muted);
}

.radio input {
  accent-color: var(--forest);
  width: 1.05rem;
  height: 1.05rem;
  flex: none;
}

.radio:has(input:checked) {
  border-color: var(--forest);
  background: rgba(207, 225, 75, 0.18);
}

.radio:has(input:focus-visible) {
  outline: 3px solid var(--lime-dim);
  outline-offset: 2px;
}

/* Spam trap: visually hidden but not display:none, so bots still fill it. */
.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__submit {
  display: grid;
  gap: 0.9rem;
  padding-top: 0.5rem;
}

.form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.form__fineprint {
  font-size: 0.83rem;
  color: var(--muted);
  max-width: 34rem;
}

.formstatus {
  padding: 0.9rem 1.05rem;
  border-radius: var(--radius);
  font-size: 0.92rem;
  border: 1px solid transparent;
}

.formstatus[hidden] {
  display: none;
}

.formstatus--ok {
  background: rgba(207, 225, 75, 0.22);
  border-color: var(--lime-dim);
  color: var(--forest);
}

.formstatus--err {
  background: rgba(160, 79, 39, 0.1);
  border-color: var(--rust);
  color: var(--rust);
}

.formstatus--busy {
  background: var(--paper-sunk);
  border-color: var(--line-strong);
  color: var(--muted);
}

/* --- Callout -------------------------------------------------------------- */

.callout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem;
  padding: 1.05rem 1.2rem;
  background: var(--paper-sunk);
  border: 1px solid var(--line);
  border-left: 3px solid var(--forest);
  border-radius: var(--radius);
  font-size: 0.91rem;
  color: var(--muted);
}

.callout .icon {
  color: var(--forest);
  margin-top: 0.12rem;
}

.callout a {
  color: var(--forest);
  font-weight: 600;
}

/* --- Ruler rule ----------------------------------------------------------- */

.ruler {
  height: 10px;
  border: 0;
  background-image:
    linear-gradient(var(--line-strong), var(--line-strong)),
    repeating-linear-gradient(90deg, var(--line-strong) 0 1px, transparent 1px 16px);
  background-size:
    100% 1px,
    100% 7px;
  background-position:
    0 0,
    0 0;
  background-repeat: no-repeat, repeat-x;
  opacity: 0.9;
}

/* --- Motion --------------------------------------------------------------- */

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

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* --- Print ---------------------------------------------------------------- */

@media print {
  .utilitybar,
  .masthead__actions,
  .mobilenav,
  .ctaband,
  .skiplink {
    display: none !important;
  }

  body {
    background: #fff;
  }

  .hero,
  .stats,
  .footer {
    background: #fff !important;
    color: #000 !important;
  }
}
