/*
Theme Name: Annville Homes
Theme URI: https://annvillehomes.com/
Author: AK3 Media
Author URI: https://ak3media.com/
Description: Lightweight custom classic theme for annvillehomes.com. Built for Team Sechman at Keller Williams Realty. Brand matched to the Michael Sechman logo and the Welcome to Annville billboard, with a light and a dark color scheme. Local SEO and GEO focused, no page builder, no build step.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: annvillehomes
*/

/* style.css */

:root {
  --red:      #B40202;
  --red-deep: #8E0101;
  --red-lift: #E85D50;
  --black:    #111111;

  --bg:     #FFFFFF;
  --bg2:    #F4F4F2;
  --panel:  #FFFFFF;
  --line:   #E3E3DF;
  --ink:    #1A1A1A;
  --muted:  #5A5A5A;
  --accent:  var(--red);
  --accent2: var(--red-deep);

  --bg-rgb: 255, 255, 255;
  --ink-rgb: 26, 26, 26;

  --accent-grad: var(--red);
  --btn-ink: #FFFFFF;

  --band-bg:     var(--black);
  --band-ink:    #FFFFFF;
  --band-muted:  rgba(255, 255, 255, 0.72);
  --band-line:   rgba(255, 255, 255, 0.4);
  --band-accent: #FFFFFF;

  --footer-bg:     var(--black);
  --footer-ink:    rgba(255, 255, 255, 0.68);
  --footer-strong: #FFFFFF;
  --footer-muted:  rgba(255, 255, 255, 0.55);
  --footer-accent: #FFFFFF;
  --footer-line:   rgba(255, 255, 255, 0.18);

  --logo-plate:     transparent;
  --logo-plate-pad: 0;
  --media-vignette: none;

  --font-display: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step-1: 4px;
  --step-2: 8px;
  --step-3: 12px;
  --step-4: 16px;
  --step-5: 24px;
  --step-6: 32px;
  --step-7: 48px;
  --step-8: 64px;
  --step-9: 96px;
  --step-10: 128px;

  --radius: 3px;
  --shadow-card: 0 1px 2px rgba(17, 17, 17, 0.05), 0 10px 30px rgba(17, 17, 17, 0.07);

  --maxw: 1240px;
  --measure: 68ch;

  --section-y: clamp(64px, 10vw, 128px);
}

body.scheme-dark {
  --bg:     #121212;
  --bg2:    #1A1A1A;
  --panel:  #1E1E1E;
  --line:   rgba(255, 255, 255, 0.13);
  --ink:    #F5F5F3;
  --muted:  #A9A9A6;
  --accent:  var(--red-lift);
  --accent2: var(--red-lift);

  --bg-rgb: 18, 18, 18;
  --ink-rgb: 245, 245, 243;

  --band-bg:     #FFFFFF;
  --band-ink:    #111111;
  --band-muted:  #4A4A4A;
  --band-line:   #111111;
  --band-accent: var(--red);

  --footer-bg:     var(--bg2);
  --footer-ink:    var(--muted);
  --footer-strong: var(--ink);
  --footer-muted:  var(--muted);
  --footer-accent: var(--red-lift);
  --footer-line:   var(--line);

  --logo-plate:     #FFFFFF;
  --logo-plate-pad: 8px 10px;
  --media-vignette: inset 0 0 90px rgba(0, 0, 0, 0.5);

  --shadow-card: 0 1px 2px rgba(0, 0, 0, 0.4), 0 12px 32px rgba(0, 0, 0, 0.45);
}

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

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

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

::selection {
  background: var(--accent);
  color: var(--btn-ink);
}

img,
picture,
video,
svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

a:hover {
  color: var(--accent2);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.05;
  margin: 0 0 var(--step-4);
  letter-spacing: -0.015em;
}

h1,
h2 {
  text-transform: uppercase;
  font-weight: 800;
  line-height: 0.98;
}

h1 {
  font-size: clamp(2.5rem, 6.4vw, 4.9rem);
}

h2 {
  font-size: clamp(1.75rem, 3.4vw, 2.7rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: 0;
}

h1 em,
h2 em {
  font-style: normal;
  color: var(--accent);
}

p {
  margin: 0 0 var(--step-5);
  max-width: var(--measure);
}

ul,
ol {
  margin: 0 0 var(--step-5);
  padding-left: 1.25em;
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 1000;
  background: var(--red);
  color: #FFFFFF;
  padding: var(--step-3) var(--step-5);
  border-radius: 0 0 var(--radius) 0;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
}

.skip-link:focus {
  left: 0;
  color: #FFFFFF;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

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

.section--stone {
  background: var(--bg2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section--brand {
  background: var(--band-bg);
  border: 0;
  color: var(--band-ink);
}

.section--brand h1,
.section--brand h2,
.section--brand h3 {
  color: var(--band-ink);
}

.section--brand h1 em,
.section--brand h2 em {
  color: var(--band-accent);
}

.section--brand a {
  color: var(--band-ink);
}

.section--brand p {
  color: var(--band-muted);
}

.measure {
  max-width: var(--measure);
}

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

.keystone {
  display: inline-block;
  width: 0.7em;
  height: 0.7em;
  flex: 0 0 auto;
  fill: var(--accent);
  vertical-align: middle;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--step-2);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent);
  margin: 0 0 var(--step-4);
}

.section--brand .eyebrow {
  color: var(--band-accent);
}

.section--brand .keystone {
  fill: var(--band-accent);
}

.section-head h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 3px;
  background: var(--accent);
  margin-top: var(--step-4);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--step-2);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  line-height: 1;
  padding: var(--step-4) calc(var(--step-5) + 6px);
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, filter 0.18s ease, transform 0.18s ease;
}

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

.btn--primary {
  background: var(--accent-grad);
  color: var(--btn-ink);
  border-color: transparent;
}

.btn--primary:hover {
  background: var(--accent2);
  color: var(--btn-ink);
}

.btn--secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}

.btn--secondary:hover {
  border-color: var(--ink);
  color: var(--bg);
  background: var(--ink);
}

.section--brand .btn--primary {
  background: var(--red);
  color: #FFFFFF;
}

.section--brand .btn--primary:hover {
  background: var(--red-deep);
}

.section--brand .btn--secondary {
  color: var(--band-ink);
  border-color: var(--band-line);
}

.section--brand .btn--secondary:hover {
  border-color: var(--band-ink);
  color: var(--band-ink);
  background: transparent;
}

.btn--text {
  background: transparent;
  border-color: transparent;
  color: var(--accent);
  padding-inline: var(--step-3);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 4px;
}

.btn--text:hover {
  color: var(--accent2);
  filter: brightness(1.08);
}

.section--brand .btn--text {
  color: var(--band-accent);
  text-decoration-color: var(--band-accent);
}

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

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--step-4);
  margin: 0;
  border: 0;
  height: 1px;
}

.divider::before,
.divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.divider .keystone {
  width: 14px;
  height: 14px;
}

.section-head {
  margin-bottom: var(--step-7);
}

.section-head p:not(.eyebrow) {
  font-size: 1.125rem;
  color: var(--muted);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(var(--bg-rgb), 0.72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}

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

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: var(--step-3);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.2rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.01em;
}

.site-brand img {
  height: 54px;
  width: auto;
  background: var(--logo-plate);
  padding: var(--logo-plate-pad);
  border-radius: var(--radius);
}

.site-brand .keystone {
  width: 18px;
  height: 18px;
}

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

.primary-nav ul {
  display: flex;
  align-items: center;
  gap: var(--step-6);
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
}

.primary-nav a:hover {
  color: var(--accent2);
}

.header-ctas {
  display: flex;
  align-items: center;
  gap: var(--step-3);
}

.header-ctas .btn {
  padding: var(--step-3) var(--step-4);
  font-size: 0.9rem;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--step-2) var(--step-3);
  cursor: pointer;
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero {
  position: relative;
  isolation: isolate;
  color: var(--ink);
  background: var(--bg);
  overflow: hidden;
}

.hero__media,
.hero__media img,
.hero__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(var(--bg-rgb), 0.96) 0%, rgba(var(--bg-rgb), 0.82) 42%, rgba(var(--bg-rgb), 0.35) 100%);
}

.hero__overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(var(--bg-rgb), 0.9), transparent 55%);
}

.hero__inner {
  padding-block: clamp(96px, 15vw, 180px);
  max-width: none;
}

.hero h1 {
  color: var(--ink);
  margin-bottom: var(--step-5);
  max-width: 14ch;
}

.hero .eyebrow {
  color: var(--accent);
}

.hero__subhead {
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  color: var(--muted);
  max-width: 46ch;
  margin-bottom: var(--step-7);
}

.hero .btn--secondary {
  color: var(--ink);
  border-color: var(--ink);
}

.hero .btn--secondary:hover {
  border-color: var(--ink);
  color: var(--bg);
  background: var(--ink);
}

.hero .btn--text {
  color: var(--accent2);
}

.hero__trust {
  display: flex;
  align-items: center;
  gap: var(--step-3);
  margin-top: var(--step-7);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero__trust img {
  height: 64px;
  width: auto;
  background: var(--logo-plate);
  padding: var(--logo-plate-pad);
  border-radius: var(--radius);
}

.snapshot {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.snapshot__tab {
  display: flex;
  align-items: center;
  gap: var(--step-2);
  background: var(--black);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  padding: var(--step-3) var(--step-5);
  border-bottom: 0;
}

.snapshot__tab .keystone {
  fill: var(--red);
  width: 14px;
  height: 14px;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-card {
  padding: var(--step-6) var(--step-5);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat-card:nth-child(4n) {
  border-right: 0;
}

.stat-card__value {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  line-height: 1;
  color: var(--accent2);
  letter-spacing: -0.01em;
  margin-bottom: var(--step-3);
}

.stat-card__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.snapshot__caption {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  padding: var(--step-4) var(--step-5);
  margin: 0;
  max-width: none;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}

.split--reverse .split__media {
  order: 2;
}

.split__media {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
}

.split__media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: var(--media-vignette);
}

.split__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 22%;
}

.split__body p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.1rem;
}

.split__body p:last-of-type {
  margin-bottom: var(--step-6);
}

.cols-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 48px);
}

.feature {
  border-top: 2px solid var(--accent);
  padding-top: var(--step-5);
}

.feature h3 {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: var(--step-3);
}

.feature p {
  margin-bottom: 0;
  color: var(--muted);
}

.faq {
  max-width: 820px;
}

.faq__item {
  border-bottom: 1px solid var(--line);
}

.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: var(--step-4);
  padding: var(--step-5) 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2vw, 1.35rem);
  font-weight: 400;
  color: var(--ink);
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__item summary .keystone {
  margin-top: 0.35em;
  transition: transform 0.2s ease;
}

.faq__item[open] summary .keystone {
  transform: rotate(180deg);
}

.faq__answer {
  padding: 0 0 var(--step-5) calc(0.7em + var(--step-4));
}

.faq__answer p {
  margin-bottom: 0;
  color: var(--muted);
}

.cta-banner {
  text-align: center;
}

.cta-banner h2 {
  font-size: clamp(2.3rem, 5vw, 4.2rem);
  max-width: 18ch;
  margin-inline: auto;
}

.cta-banner .btn-row {
  justify-content: center;
}

.cta-banner p {
  margin-inline: auto;
}

.site-footer {
  background: var(--footer-bg);
  border-top: 0;
  color: var(--footer-ink);
  padding-block: var(--step-9) var(--step-6);
  font-size: 0.95rem;
}

.site-footer a {
  color: var(--footer-strong);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--footer-strong);
  text-decoration: underline;
  text-decoration-color: var(--footer-accent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(32px, 6vw, 72px);
  margin-bottom: var(--step-8);
}

.footer-brand img {
  height: 104px;
  width: auto;
  background: #fff;
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: var(--step-4);
}

.footer-brand p {
  color: var(--footer-muted);
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--footer-accent);
  margin-bottom: var(--step-4);
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-col li {
  margin-bottom: var(--step-3);
}

.footer-social {
  display: flex;
  gap: var(--step-4);
  margin-top: var(--step-4);
}

.footer-bottom {
  border-top: 1px solid var(--footer-line);
  padding-top: var(--step-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--step-4);
  align-items: center;
  justify-content: space-between;
}

.footer-legal {
  font-size: 0.78rem;
  color: var(--footer-muted);
  max-width: none;
  margin: 0;
}

.eho {
  display: inline-flex;
  align-items: center;
  gap: var(--step-2);
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--footer-muted);
}

.eho svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding-block: var(--step-5);
  color: var(--muted);
}

.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: var(--step-2);
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumb li::after {
  content: "/";
  margin-left: var(--step-2);
  color: var(--accent);
}

.breadcrumb li:last-child::after {
  content: "";
}

.cred-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 48px);
}

.cred-item {
  text-align: center;
  padding: var(--step-6) var(--step-4);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.cred-item__value {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--accent2);
  margin-bottom: var(--step-2);
}

.cred-item__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.reasons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(32px, 5vw, 56px);
  counter-reset: reason;
}

.reason {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--step-5);
  align-items: start;
}

.reason__num {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 300;
  color: var(--accent);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.reason h3 {
  margin-bottom: var(--step-2);
}

.reason p {
  margin-bottom: 0;
  color: var(--muted);
}

.mini-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(24px, 5vw, 64px);
  margin-top: var(--step-6);
}

.mini-stat__value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 400;
  color: var(--accent2);
  line-height: 1;
}

.mini-stat__label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-top: var(--step-2);
}

.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 40px);
}

.testimonial {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: var(--step-6);
  background: var(--panel);
}

.testimonial__stars {
  color: var(--accent);
  letter-spacing: 0.15em;
  margin-bottom: var(--step-4);
}

.testimonial p {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: var(--step-4);
}

.testimonial cite {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-style: normal;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 6vw, 72px);
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-list li {
  padding: var(--step-4) 0;
  border-bottom: 1px solid var(--line);
}

.contact-list strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: var(--step-1);
}

.form-slot {
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: var(--step-6);
  background: var(--panel);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--muted);
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 4vw, 40px);
}

.post-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--panel);
}

.post-card__thumb {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
  border-bottom: 1px solid var(--line);
}

.post-card__body {
  padding: var(--step-5);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.post-card__meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: var(--step-3);
}

.post-card h3 {
  margin-bottom: var(--step-3);
}

.post-card h3 a {
  color: var(--ink);
  text-decoration: none;
}

.post-card h3 a:hover {
  color: var(--accent2);
}

.post-card__excerpt {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: var(--step-4);
}

.post-card__more {
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.article {
  max-width: var(--measure);
  margin-inline: auto;
}

.article__header {
  margin-bottom: var(--step-7);
}

.article__meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: var(--step-4);
}

.article__featured {
  width: 100%;
  border-radius: var(--radius);
  margin-bottom: var(--step-7);
}

.article-body h2 {
  margin-top: var(--step-7);
}

.article-body img {
  border-radius: var(--radius);
  margin-block: var(--step-5);
}

.pagination {
  display: flex;
  gap: var(--step-4);
  justify-content: center;
  margin-top: var(--step-8);
  font-family: var(--font-mono);
  font-size: 0.85rem;
}

.pagination .page-numbers {
  padding: var(--step-3) var(--step-4);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--ink);
}

.pagination .page-numbers.current {
  background: var(--accent-grad);
  color: var(--btn-ink);
  border-color: transparent;
}

.error-404 {
  text-align: center;
  padding-block: var(--step-10);
}

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

@media (max-width: 900px) {
  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-card:nth-child(4n) {
    border-right: 1px solid var(--line);
  }

  .stat-card:nth-child(2n) {
    border-right: 0;
  }

  .split,
  .contact-grid,
  .cols-3,
  .cred-row,
  .reasons,
  .testimonials,
  .post-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .split--reverse .split__media {
    order: 0;
  }

  .primary-nav,
  .header-ctas {
    display: none;
    width: 100%;
  }

  .nav-toggle {
    display: inline-block;
  }

  .site-header.is-open .site-header__inner {
    flex-wrap: wrap;
    padding-bottom: var(--step-4);
  }

  .site-header.is-open .primary-nav,
  .site-header.is-open .header-ctas {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--step-4);
    padding-top: var(--step-4);
    border-top: 1px solid var(--line);
  }

  .site-header.is-open .primary-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--step-4);
    width: 100%;
  }

  .site-header.is-open .header-ctas {
    border-top: 0;
    padding-top: 0;
  }
}

@media (max-width: 560px) {
  .stat-grid {
    grid-template-columns: 1fr;
  }

  .stat-card {
    border-right: 0 !important;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

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


/* Compact expandable navigation with persistent header actions */
.site-header__inner {
	flex-wrap: wrap;
}
.site-brand {
	order: 1;
}
.header-ctas {
	display: flex;
	order: 2;
	width: auto;
	margin-left: auto;
	align-items: center;
	gap: var(--step-3);
}
.nav-toggle {
	display: inline-block;
	order: 3;
	margin-left: 0;
}
.primary-nav {
	display: none;
	width: 100%;
}
.site-header.is-open .primary-nav {
	display: flex;
	order: 4;
	flex-direction: column;
	align-items: stretch;
	gap: var(--step-4);
	padding-top: var(--step-4);
	margin-top: var(--step-4);
	border-top: 1px solid var(--line);
}
.site-header.is-open .primary-nav ul {
	flex-direction: column;
	align-items: flex-start;
	gap: var(--step-4);
	width: 100%;
}
.site-header.is-open .primary-nav a {
	display: block;
	width: 100%;
	padding: var(--step-2) 0;
}
@media (max-width: 700px) {
	.site-header__inner {
		gap: var(--step-3);
		padding-block: var(--step-3);
	}
	.header-ctas {
		order: 3;
		width: 100%;
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: var(--step-2);
		margin-left: 0;
	}
	.header-ctas .btn {
		width: 100%;
		justify-content: center;
		padding: var(--step-2) var(--step-3);
		font-size: 0.78rem;
	}
	.nav-toggle {
		order: 2;
		margin-left: auto;
	}
	.site-header.is-open .primary-nav {
		order: 4;
	}
}


/* Sitewide verified credibility strip */
.site-trust {
	padding-block: clamp(44px, 6vw, 72px);
	border-top: 1px solid var(--line);
}
.site-trust .section-head {
	margin-bottom: var(--step-6);
}
.site-trust .cred-item {
	padding: var(--step-5) var(--step-4);
}
.site-trust__context,
.site-trust__sources {
	max-width: 900px;
	margin-inline: auto;
	text-align: center;
	color: var(--muted);
}
.site-trust__context {
	margin-top: var(--step-6);
	margin-bottom: var(--step-3);
}
.site-trust__sources {
	font-size: 0.88rem;
	margin-bottom: 0;
}
@media (max-width: 700px) {
	.site-trust .cred-row {
		grid-template-columns: 1fr;
		gap: var(--step-3);
	}
}
