/* ==========================================================================
   Seal The Deal Consulting — sealthedeals.ca
   Brand: #16a34a green · black · white
   Type:  Poppins (display) / Inter (text)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand */
  --green:        #16a34a;
  --green-deep:   #12883c;
  --green-tint:   rgba(22, 163, 74, 0.12);
  --ink:          #000000;   /* secondary */
  --ink-soft:     #0c0d0e;
  --ink-raise:    #141618;
  --white:        #ffffff;   /* tertiary */

  /* Text */
  --text:         #101314;
  --text-muted:   #4b5563;
  --text-on-dark: #ffffff;
  --text-on-dark-muted: #a6adb8;
  --btn-fg-on-green: #052e16;   /* 4.5:1 on #16a34a */

  /* Lines & surfaces */
  --line:         rgba(0, 0, 0, 0.12);
  --line-strong:  rgba(0, 0, 0, 0.22);
  --line-dark:    rgba(255, 255, 255, 0.14);
  --surface:      #ffffff;
  --surface-2:    #f6f7f8;

  /* Type */
  --font-display: "Poppins", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body:    "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Space — 8px base with a 4px half-step */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px;
  --s-9: 88px; --s-10: 120px;

  --section-y: clamp(56px, 9vw, 120px);

  /* Radius — concentric: outer = inner + padding */
  --r-sm: 8px;
  --r:    14px;
  --r-lg: 22px;
  --r-pill: 999px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(16, 19, 20, .06), 0 1px 1px rgba(16, 19, 20, .04);
  --shadow-md: 0 8px 24px -12px rgba(16, 19, 20, .18), 0 2px 6px rgba(16, 19, 20, .05);
  --shadow-lg: 0 24px 56px -28px rgba(16, 19, 20, .30), 0 4px 12px rgba(16, 19, 20, .06);

  /* Motion */
  --ease-out: cubic-bezier(0.2, 0, 0, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --header-h: 76px;
}

/* --------------------------------------------------------------------------
   2. Reset
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg, video { max-width: 100%; height: auto; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 var(--s-4); }
p:last-child { margin-bottom: 0; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: inherit;
  margin: 0 0 var(--s-4);
  text-wrap: balance;
}

h1 { font-size: clamp(2.25rem, 5.6vw, 4rem); line-height: 1.04; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.75rem); line-height: 1.12; letter-spacing: -0.025em; }
h3 { font-size: clamp(1.125rem, 1.8vw, 1.4rem); line-height: 1.3; letter-spacing: -0.012em; }
h4 { font-size: 1.0625rem; line-height: 1.35; letter-spacing: -0.01em; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 3px; }

strong { font-weight: 600; }
em { font-style: italic; }

::selection { background: var(--green); color: var(--btn-fg-on-green); }

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: clamp(20px, 4vw, 32px);
}

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(40px, 6vw, 72px); }
.section--dark { background: var(--ink); color: var(--text-on-dark); }
.section--paper { background: var(--surface-2); }

.section__head { max-width: 62ch; margin-bottom: var(--s-7); }
.section__head p { font-size: 1.0625rem; color: var(--text-muted); }
.section--dark .section__head p { color: var(--text-on-dark-muted); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 var(--s-4);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--green);
  border-radius: 2px;
}

.lede { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); line-height: 1.6; color: var(--text-muted); }
.section--dark .lede { color: var(--text-on-dark-muted); }

.prose { max-width: 68ch; }
.prose p { color: var(--text-muted); }
.prose h2 { margin-top: var(--s-8); font-size: clamp(1.375rem, 2.2vw, 1.75rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: var(--s-6); }
.prose a { color: var(--green-deep); text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--ink); }
.prose ul { margin: 0 0 var(--s-4); }

.stack > * + * { margin-top: var(--s-5); }

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--green);
  color: var(--btn-fg-on-green);
  padding: 12px 18px;
  font-weight: 600;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

/* --------------------------------------------------------------------------
   4. Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-y: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 48px;
  padding: var(--btn-y) 26px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.005em;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  cursor: pointer;
  transition: background-color 140ms var(--ease-out),
              border-color 140ms var(--ease-out),
              color 140ms var(--ease-out),
              transform 100ms var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn--sm { --btn-y: 11px; min-height: 44px; padding-inline: 20px; font-size: 0.9375rem; }
.btn--lg { --btn-y: 18px; padding-inline: 32px; font-size: 1.0625rem; }

.btn--primary { background: var(--green); color: var(--btn-fg-on-green); }
.btn--primary:hover { background: var(--green-deep); color: var(--white); }

.btn--ghost { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--white); }

.section--dark .btn--ghost,
.site-footer .btn--ghost,
.hero .btn--ghost { border-color: var(--line-dark); color: var(--white); }
.section--dark .btn--ghost:hover,
.hero .btn--ghost:hover { background: var(--white); border-color: var(--white); color: var(--ink); }

.btn--link {
  min-height: 44px;
  padding: 0;
  background: none;
  border: 0;
  color: var(--green);
  border-radius: 4px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.btn--link:hover { color: var(--green-deep); }

.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }

.text-link {
  color: var(--green);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.text-link::after {
  content: "";
  width: 7px; height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg) translateY(-1px);
  transition: transform 140ms var(--ease-out);
}
.text-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.text-link:hover::after { transform: rotate(-45deg) translate(2px, 1px); }

/* --------------------------------------------------------------------------
   5. Logo
   -------------------------------------------------------------------------- */
.logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }

/* The official mark is 438x620 — a slender 0.71 ratio, so size it by height. */
.logo__mark {
  width: 30px;
  height: 42px;
  flex: none;
  color: var(--white);
}

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

.logo__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--white);
  white-space: nowrap;
}
.logo__space { display: inline-block; width: 0.32em; }

.logo__sub {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.5625rem;
  letter-spacing: 0.44em;
  text-transform: uppercase;
  color: var(--green);
  margin-top: 4px;
  padding-left: 1px;
}

/* The official lockup artwork — used where there is room for the full mark. */
.logo-lockup {
  display: block;
  width: auto;
  height: 84px;
}

/* --------------------------------------------------------------------------
   6. Header & navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ink);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.site-header.is-scrolled {
  border-bottom-color: var(--line-dark);
  box-shadow: 0 8px 24px -18px rgba(0, 0, 0, .9);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  min-height: var(--header-h);
}

.site-header__brand { flex: none; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line-dark);
  border-radius: var(--r-sm);
  color: var(--white);
  cursor: pointer;
}
.nav-toggle__bars { display: grid; gap: 4px; width: 18px; }
.nav-toggle__bars i { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform 180ms var(--ease-out), opacity 120ms linear; }
.nav-toggle[aria-expanded="true"] i:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] i:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.primary-nav { display: flex; align-items: center; gap: var(--s-5); }
.primary-nav__list { display: flex; align-items: center; gap: var(--s-1); }

.primary-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 14px;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--white);
  text-decoration: none;
  background: none;
  border: 0;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: color 140ms var(--ease-out), background-color 140ms var(--ease-out);
}
.primary-nav__link:hover { color: var(--green); background: rgba(255, 255, 255, .05); }
.primary-nav__link[aria-current="page"] { color: var(--green); }

.chev { width: 12px; height: 12px; transition: transform 180ms var(--ease-out); }
.primary-nav__trigger[aria-expanded="true"] .chev { transform: rotate(180deg); }

.primary-nav__item--has-children { position: relative; }

.subnav {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  translate: -50% 0;
  width: min(340px, 84vw);
  padding: var(--s-2);
  background: var(--ink-raise);
  border: 1px solid var(--line-dark);
  border-radius: var(--r);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 160ms var(--ease-out), transform 160ms var(--ease-out), visibility 160ms;
}
.primary-nav__trigger[aria-expanded="true"] + .subnav,
.subnav.is-open { opacity: 1; visibility: visible; transform: none; }

.subnav__link { display: block; padding: 10px 12px; border-radius: var(--r-sm); text-decoration: none; transition: background-color 140ms var(--ease-out); }
.subnav__link:hover { background: rgba(255, 255, 255, .06); }
.subnav__label { display: block; font-weight: 600; font-size: 0.9375rem; color: var(--white); }
.subnav__desc { display: block; font-size: 0.8125rem; color: var(--text-on-dark-muted); line-height: 1.45; }
.subnav__link[aria-current="page"] .subnav__label { color: var(--green); }

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--text-on-dark);
  padding-block: clamp(56px, 9vw, 116px) clamp(64px, 10vw, 132px);
  isolation: isolate;
}

/* Signature element: the beacon. One restrained radial glow, hero only. */
.hero__beacon {
  position: absolute;
  inset: -30% -20% auto 30%;
  height: 130%;
  width: 90%;
  background: radial-gradient(ellipse at 34% 42%,
              rgba(22, 163, 74, 0.42) 0%,
              rgba(22, 163, 74, 0.12) 34%,
              rgba(22, 163, 74, 0) 66%);
  pointer-events: none;
  z-index: -1;
}

.hero__inner { max-width: 48ch; }
.hero h1 { margin-bottom: var(--s-4); }
.hero h1 em { font-style: normal; color: var(--green); }

/* The brand line. Keeps the voice while the H1 carries the keyword. */
.hero__statement {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.1875rem, 2.4vw, 1.75rem);
  line-height: 1.28;
  letter-spacing: -0.02em;
  color: var(--white);
  margin: 0 0 var(--s-5);
  text-wrap: balance;
}

.hero .lede { color: var(--text-on-dark-muted); max-width: 54ch; margin-bottom: var(--s-7); }

.hero__proof {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-6);
  margin-top: var(--s-8);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line-dark);
  font-size: 0.875rem;
  color: var(--text-on-dark-muted);
}
.hero__proof li { display: flex; align-items: center; gap: var(--s-2); }
.hero__proof li::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--green);
  flex: none;
}

/* Interior pages: same hero, tighter vertical rhythm */
.hero--sub { padding-block: clamp(44px, 6.5vw, 80px) clamp(52px, 8vw, 100px); }
.hero--sub .hero__inner { max-width: 52ch; }
.hero--sub h1 { margin-bottom: var(--s-5); }
.hero--sub .lede { margin-bottom: var(--s-6); }

/* --------------------------------------------------------------------------
   8. Cards & grids
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: var(--s-5); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }

.card {
  display: flex;
  flex-direction: column;
  padding: var(--s-6);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  transition: border-color 160ms var(--ease-out), box-shadow 200ms var(--ease-out), transform 200ms var(--ease-out);
}
.card h3 { margin-bottom: var(--s-3); }
.card p { color: var(--text-muted); font-size: 0.9375rem; }
.card__foot { margin-top: auto; padding-top: var(--s-5); }

a.card { text-decoration: none; }
a.card:hover { border-color: var(--green); box-shadow: var(--shadow-md); transform: translateY(-3px); }
a.card:hover .card__foot .text-link { text-decoration: underline; }

.section--dark .card {
  background: var(--ink-soft);
  border-color: var(--line-dark);
  box-shadow: none;
}
.section--dark .card p { color: var(--text-on-dark-muted); }
.section--dark a.card:hover { border-color: var(--green); }

.card__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  color: var(--green);
  margin-bottom: var(--s-4);
}

.card__icon {
  width: 46px; height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: var(--s-4);
  border-radius: var(--r-sm);
  background: var(--green-tint);
  color: var(--green-deep);
}
.section--dark .card__icon { background: rgba(22, 163, 74, .16); color: var(--green); }
.card__icon svg { width: 24px; height: 24px; }

/* Feature list with green ticks */
.ticks { display: grid; gap: var(--s-3); }
.ticks li {
  position: relative;
  padding-left: 30px;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.55;
}
.section--dark .ticks li { color: var(--text-on-dark-muted); }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.42em;
  width: 16px; height: 9px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}

/* Split layout */
.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

/* --------------------------------------------------------------------------
   9. Process steps
   -------------------------------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.step { position: relative; padding-top: var(--s-5); border-top: 2px solid var(--line); }
.section--dark .step { border-top-color: var(--line-dark); }
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  color: var(--green);
  margin-bottom: var(--s-3);
}
.step h3 { font-size: 1.125rem; margin-bottom: var(--s-2); }
.step p { font-size: 0.9375rem; color: var(--text-muted); }
.section--dark .step p { color: var(--text-on-dark-muted); }

/* --------------------------------------------------------------------------
   10. Case studies & pricing (data-driven)
   -------------------------------------------------------------------------- */
.case { display: grid; gap: var(--s-5); padding: var(--s-7); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.case__meta { display: flex; flex-wrap: wrap; gap: var(--s-2); }
.tag {
  display: inline-block;
  padding: 5px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: var(--r-pill);
  background: var(--green-tint);
  color: var(--green-deep);
}
.case__metrics { display: flex; flex-wrap: wrap; gap: var(--s-6); padding-top: var(--s-5); border-top: 1px solid var(--line); }
.case__metric .value { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.75rem; letter-spacing: -0.02em; color: var(--text); font-variant-numeric: tabular-nums; }
.case__metric .label { display: block; font-size: 0.8125rem; color: var(--text-muted); }
.case blockquote { margin: 0; padding-left: var(--s-5); border-left: 3px solid var(--green); }
.case blockquote p { font-size: 1.0625rem; color: var(--text); }
.case blockquote cite { display: block; margin-top: var(--s-2); font-size: 0.8125rem; font-style: normal; color: var(--text-muted); }

.placeholder {
  padding: var(--s-6);
  border: 1px dashed var(--line-strong);
  border-radius: var(--r-lg);
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.9375rem;
}
.placeholder strong { display: block; color: var(--text); font-family: var(--font-display); font-size: 1rem; margin-bottom: var(--s-2); }

.price-grid { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); align-items: start; }
.price { display: flex; flex-direction: column; padding: var(--s-6); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }
.price--featured { border-color: var(--green); border-width: 2px; box-shadow: var(--shadow-md); }
.price__name { font-family: var(--font-display); font-weight: 600; font-size: 1.0625rem; margin-bottom: var(--s-3); }
.price__amount { font-family: var(--font-display); font-weight: 700; font-size: 2.25rem; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.price__period { font-size: 0.875rem; color: var(--text-muted); font-weight: 500; }
.price__summary { margin: var(--s-4) 0 0; font-size: 0.9375rem; color: var(--text-muted); }
.price .ticks { margin: var(--s-5) 0 0; }
.price__foot { margin-top: auto; padding-top: var(--s-6); }

/* --------------------------------------------------------------------------
   11. FAQ
   -------------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); max-width: 78ch; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s-5);
  min-height: 44px;
  padding: var(--s-5) 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q::after {
  content: "";
  flex: none;
  width: 10px; height: 10px;
  margin-top: 7px;
  border-right: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(45deg);
  transition: transform 180ms var(--ease-out);
}
.faq__item[open] .faq__q::after { transform: rotate(-135deg); }
.faq__a { padding-bottom: var(--s-5); max-width: 68ch; }
.faq__a p { color: var(--text-muted); font-size: 0.9375rem; }

/* --------------------------------------------------------------------------
   12. CTA band
   -------------------------------------------------------------------------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--text-on-dark);
  border-radius: var(--r-lg);
  padding: clamp(40px, 6vw, 72px);
}
.cta-band__inner { position: relative; max-width: 60ch; }
.cta-band h2 { margin-bottom: var(--s-4); }
.cta-band p { color: var(--text-on-dark-muted); margin-bottom: var(--s-6); }

.signoff {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem);
  letter-spacing: -0.02em;
  color: var(--green);
  margin: 0;
}

/* --------------------------------------------------------------------------
   13. Forms
   -------------------------------------------------------------------------- */
.form { display: grid; gap: var(--s-5); }
.form__row { display: grid; gap: var(--s-2); }
.form__row--split { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: var(--s-5); }

.field__label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text);
}
.field__hint { display: block; font-size: 0.8125rem; font-weight: 400; color: var(--text-muted); margin-top: 2px; }
.field__req { color: var(--green-deep); margin-left: 2px; }

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  transition: border-color 140ms var(--ease-out), box-shadow 140ms var(--ease-out);
}
.field textarea { min-height: 132px; resize: vertical; line-height: 1.6; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%234b5563' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
  padding-right: 38px;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--text-muted); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px var(--green-tint);
}
.field--error input,
.field--error select,
.field--error textarea { border-color: #b42318; }

.field__error {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #b42318;
}
.field__error::before { content: "!"; display: grid; place-items: center; width: 15px; height: 15px; flex: none; border-radius: 50%; background: #b42318; color: #fff; font-size: 0.6875rem; font-weight: 700; }

.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.choice { display: grid; gap: var(--s-2); }
.choice__opt {
  display: flex;
  align-items: flex-start;
  gap: var(--s-3);
  min-height: 44px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: border-color 140ms var(--ease-out), background-color 140ms var(--ease-out);
}
.choice__opt:hover { border-color: var(--line-strong); background: var(--surface-2); }
.choice__opt:has(input:checked) { border-color: var(--green); background: var(--green-tint); }
.choice__opt input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--green); flex: none; }
.choice__text { font-size: 0.9375rem; line-height: 1.45; }

.form__note { font-size: 0.8125rem; color: var(--text-muted); }

.notice {
  padding: var(--s-4) var(--s-5);
  border-radius: var(--r-sm);
  border-left: 4px solid var(--green);
  background: var(--green-tint);
  font-size: 0.9375rem;
}
.notice--error { border-left-color: #b42318; background: rgba(180, 35, 24, .08); }
.notice strong { display: block; margin-bottom: 4px; font-family: var(--font-display); }

/* Contact details list */
.contact-list { display: grid; gap: var(--s-5); }
.contact-list__item { display: flex; gap: var(--s-4); align-items: flex-start; }
.contact-list__icon {
  flex: none;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: var(--r-sm);
  background: var(--green-tint);
  color: var(--green-deep);
}
.contact-list__icon svg { width: 20px; height: 20px; }
.contact-list__label { display: block; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.contact-list__value { display: block; font-size: 1.0625rem; font-weight: 600; }
.contact-list__value a { text-decoration: none; }
.contact-list__value a:hover { color: var(--green-deep); text-decoration: underline; text-underline-offset: 4px; }

/* --------------------------------------------------------------------------
   14. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--ink);
  color: var(--text-on-dark);
  padding-block: var(--s-9) var(--s-6);
}
.site-footer__grid {
  display: grid;
  gap: var(--s-7);
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  padding-bottom: var(--s-8);
  border-bottom: 1px solid var(--line-dark);
}
.site-footer__tagline {
  margin: var(--s-5) 0 var(--s-3);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: 0.01em;
  color: var(--green);
  text-transform: lowercase;
}
.site-footer__blurb { font-size: 0.875rem; color: var(--text-on-dark-muted); max-width: 40ch; line-height: 1.6; }

.social-row { display: flex; gap: var(--s-2); margin-top: var(--s-5); }
.social-link {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid var(--line-dark);
  border-radius: var(--r-sm);
  color: var(--text-on-dark);
  transition: background-color 140ms var(--ease-out), border-color 140ms var(--ease-out), color 140ms var(--ease-out);
}
.social-link:hover { background: var(--green); border-color: var(--green); color: var(--btn-fg-on-green); }
.social-link .icon { width: 20px; height: 20px; }

.site-footer__heading {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-on-dark-muted);
  margin: 0 0 var(--s-4);
}
.site-footer__links { display: grid; gap: var(--s-1); }
.site-footer__links a {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  min-height: 44px;
  min-width: 44px;
  font-size: 0.9375rem;
  color: var(--text-on-dark);
  text-decoration: none;
  transition: color 140ms var(--ease-out);
}
.site-footer__links a:hover { color: var(--green); text-decoration: underline; text-underline-offset: 4px; }
.site-footer__links .icon { width: 16px; height: 16px; color: var(--green); flex: none; }
.site-footer__area { font-size: 0.875rem; color: var(--text-on-dark-muted); line-height: 1.6; padding-top: var(--s-2); }

.site-footer__base {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  padding-top: var(--s-6);
  font-size: 0.8125rem;
  color: var(--text-on-dark-muted);
}
.site-footer__base p { margin: 0; }
.site-footer__legal a { color: var(--text-on-dark-muted); text-decoration: none; }
.site-footer__legal a:hover { color: var(--green); text-decoration: underline; text-underline-offset: 3px; }
.site-footer__signoff { font-family: var(--font-display); font-weight: 600; color: var(--green); }

/* --------------------------------------------------------------------------
   15. Reveal on scroll
   -------------------------------------------------------------------------- */
/* Entrance motion is CSS-only and runs on load, so content is never hidden
   pending JavaScript or scroll position (crawlers, no-JS, print all safe). */
@keyframes rise-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .hero__inner > * { animation: rise-in 560ms var(--ease-out) both; }
  .hero__inner > *:nth-child(2) { animation-delay: 70ms; }
  .hero__inner > *:nth-child(3) { animation-delay: 140ms; }
  .hero__inner > *:nth-child(4) { animation-delay: 210ms; }
  .hero__inner > *:nth-child(5) { animation-delay: 280ms; }
  .hero__inner > *:nth-child(6) { animation-delay: 350ms; }
  .hero__inner > *:nth-child(7) { animation-delay: 420ms; }
}

/* --------------------------------------------------------------------------
   16. Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }

  .primary-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    display: block;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    padding: var(--s-5) clamp(20px, 4vw, 32px) var(--s-7);
    background: var(--ink);
    border-top: 1px solid var(--line-dark);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out), visibility 180ms;
  }
  .primary-nav.is-open { opacity: 1; visibility: visible; transform: none; }

  .primary-nav__list { display: block; }
  .primary-nav__item { border-bottom: 1px solid var(--line-dark); }
  .primary-nav__link { width: 100%; justify-content: space-between; padding: 14px 0; font-size: 1.0625rem; }
  .primary-nav__link:hover { background: none; }

  .subnav {
    position: static;
    translate: none;
    width: auto;
    padding: 0 0 var(--s-4);
    background: none;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }
  .subnav.is-open { display: block; }
  .subnav__link { padding: 10px 0; }
  .primary-nav__cta { margin-top: var(--s-5); width: 100%; }

  .hero__beacon { inset: -20% -40% auto 10%; width: 120%; }
}

@media (max-width: 560px) {
  .site-footer__grid { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; align-items: stretch; }
  .hero__proof { gap: var(--s-3); }
  .site-footer__base { justify-content: flex-start; }
}

/* --------------------------------------------------------------------------
   17. Reduced motion & print
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .btn:active { transform: none; }
  a.card:hover { transform: none; }
}

@media print {
  .site-header, .site-footer, .cta-band, .nav-toggle, .btn-row { display: none !important; }
  body { color: #000; background: #fff; }
}

/* --------------------------------------------------------------------------
   18. Blog  (appended — earlier section line numbers are unchanged)
   -------------------------------------------------------------------------- */
.post-grid {
  display: grid;
  gap: var(--s-6);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}

.post-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  transition: border-color 160ms var(--ease-out), box-shadow 200ms var(--ease-out), transform 200ms var(--ease-out);
}
.post-card:hover { border-color: var(--green); box-shadow: var(--shadow-md); transform: translateY(-3px); }

.post-card__media { display: block; aspect-ratio: 16 / 10; background: var(--surface-2); overflow: hidden; }
.post-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease-out); }
.post-card:hover .post-card__media img { transform: scale(1.035); }

.post-card__body { display: flex; flex: 1 1 auto; flex-direction: column; gap: var(--s-3); padding: var(--s-6); }
.post-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.32;
  color: var(--ink);
  text-wrap: balance;
}
.post-card__excerpt { color: var(--text-muted); font-size: 0.9375rem; line-height: 1.6; }
.post-card__foot { margin-top: auto; padding-top: var(--s-4); }
.post-card:hover .post-card__foot .text-link { text-decoration: underline; }

.post-meta {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hero--sub .post-meta { color: var(--text-on-dark-muted); }

/* Article body — sits on top of the shared .prose rules -------------------- */
.post-body { max-width: 68ch; }
.post-body > * + * { margin-top: var(--s-5); }
.post-body > :first-child { margin-top: 0; }
.post-body h2 { margin-top: var(--s-8); }
.post-body h3 { margin-top: var(--s-7); }
.post-body h2 strong, .post-body h3 strong, .post-body h4 strong { font-weight: inherit; }
.post-body p { color: var(--text-muted); }
.post-body strong { color: var(--ink); }
.post-body figure { margin: var(--s-7) 0; }
.post-body img { display: block; width: 100%; height: auto; border-radius: var(--r); }
.post-body ul, .post-body ol { margin: 0 0 var(--s-5); padding-left: 1.35em; color: var(--text-muted); }
.post-body li { margin-bottom: var(--s-2); }
.post-body li::marker { color: var(--green); font-weight: 700; }
.post-body blockquote {
  margin: var(--s-7) 0;
  padding: var(--s-2) 0 var(--s-2) var(--s-5);
  border-left: 3px solid var(--green);
  font-size: 1.0625rem;
  font-style: italic;
}
.post-body a { color: var(--green-deep); text-decoration: underline; text-underline-offset: 3px; }
.post-body a:hover { color: var(--ink); }

/* End-of-article panel ---------------------------------------------------- */
.post-foot {
  max-width: 68ch;
  margin-top: var(--s-9);
  padding: var(--s-7);
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
}
.post-foot__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--ink);
  margin-bottom: var(--s-3);
}
.post-foot__note { color: var(--text-muted); font-size: 0.9375rem; margin-bottom: var(--s-5); }

/* Breadcrumb eyebrow link ------------------------------------------------- */
.eyebrow a { color: inherit; text-decoration: none; }
.eyebrow a:hover { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 560px) {
  .post-card__body { padding: var(--s-5); }
}
