/* ==============================
   CANOPYMETRICS — THEME CSS
   ============================== */

:root {
  --forest: #1B3A2D;
  --forest-mid: #2D5A42;
  --forest-light: #3D7A58;
  --ivory: #F5F0E8;
  --ivory-mid: #EDE8DC;
  --brass: #C9A84C;
  --brass-light: #D4BA72;
  --charcoal: #1A1A18;
  --muted: #6B6B63;
  --border: #D8D3C8;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Jost', system-ui, sans-serif;

  --max-w: 1140px;
  --pad-x: clamp(24px, 5vw, 80px);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--charcoal);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; font-weight: 600; }

/* ---- HEADER ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ivory);
  border-bottom: 1px solid var(--border);
  padding: 0 var(--pad-x);
}
.header-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.wordmark {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--forest);
  letter-spacing: -0.01em;
}
.header-tagline {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 400;
}

/* ---- HERO ---- */
.hero {
  position: relative;
  background: var(--forest);
  color: var(--ivory);
  padding: clamp(80px, 14vw, 140px) var(--pad-x);
  overflow: hidden;
}
.hero-bg-texture {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 2px,
      rgba(255,255,255,0.015) 2px,
      rgba(255,255,255,0.015) 4px
    ),
    radial-gradient(ellipse at 80% 50%, rgba(61,122,88,0.3) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(201,168,76,0.08) 0%, transparent 50%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
}
.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-light);
  margin-bottom: 28px;
  font-weight: 400;
}
.hero-headline {
  font-size: clamp(2.8rem, 7vw, 5.2rem);
  color: var(--ivory);
  margin-bottom: 28px;
  max-width: 760px;
  font-weight: 700;
}
.hero-headline em {
  color: var(--brass-light);
  font-style: italic;
}
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(245,240,232,0.75);
  max-width: 540px;
  margin-bottom: 40px;
  font-weight: 300;
  line-height: 1.7;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.hero-badge {
  display: inline-block;
  border: 1px solid rgba(245,240,232,0.25);
  padding: 6px 16px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(245,240,232,0.8);
}

/* ---- SERVICES ---- */
.services {
  background: var(--ivory);
  padding: clamp(80px, 12vw, 120px) var(--pad-x);
}
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.services-label, .process-label, .principles-label, .coverage-label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 500;
  margin-bottom: 20px;
}
.services-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--forest);
  margin-bottom: 64px;
  font-weight: 600;
  max-width: 480px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2px;
}
.service-card {
  background: var(--ivory);
  border: 1px solid var(--border);
  padding: 40px 36px;
  position: relative;
  transition: border-color 0.2s;
}
.service-card:hover {
  border-color: var(--forest-light);
}
.service-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--brass);
  margin-bottom: 20px;
  font-weight: 400;
}
.service-card h3 {
  font-size: 1.15rem;
  color: var(--forest);
  margin-bottom: 12px;
  font-weight: 600;
}
.service-card p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.7;
}

/* Featured 3-column services (ISA TRAQ, Construction, Litigation) */
.services-grid--featured {
  grid-template-columns: repeat(3, 1fr);
}
.service-card--featured {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.service-icon {
  margin-bottom: 28px;
  flex-shrink: 0;
}
.service-icon svg {
  display: block;
}
.service-card--featured h3 {
  font-size: 1.2rem;
  margin-bottom: 16px;
}
.service-card--featured p {
  flex: 1;
  margin-bottom: 24px;
}
.service-tag {
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 500;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: auto;
}

/* Service card as a link */
a.service-card--link {
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
a.service-card--link:hover {
  border-color: var(--brass);
  box-shadow: 0 4px 16px rgba(27, 58, 45, 0.08);
}
.service-learn-more {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brass);
  margin-top: 12px;
  letter-spacing: 0.02em;
}

/* ---- INDEPENDENCE ---- */
.independence {
  background: var(--forest);
  padding: clamp(80px, 10vw, 110px) var(--pad-x);
}
.independence-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.independence-icon {
  padding-top: 8px;
}
.independence-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--ivory);
  margin-bottom: 28px;
  font-weight: 700;
}
.independence-text p {
  font-size: 1rem;
  color: rgba(245,240,232,0.75);
  line-height: 1.8;
  max-width: 600px;
  margin-bottom: 20px;
  font-weight: 300;
}

/* ---- PROCESS ---- */
.process {
  background: var(--ivory-mid);
  padding: clamp(80px, 10vw, 110px) var(--pad-x);
}
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.step {
  padding: 48px 40px;
  border-left: 2px solid var(--border);
  position: relative;
}
.step:first-child { border-left: none; }
.step-marker {
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--brass);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 24px;
}
.step-body h3 {
  font-size: 1.2rem;
  color: var(--forest);
  margin-bottom: 12px;
  font-weight: 600;
}
.step-body p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ---- PRINCIPLES ---- */
.principles {
  background: var(--ivory);
  padding: clamp(80px, 10vw, 110px) var(--pad-x);
}
.principles-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.principles-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.principle {
  display: flex;
  align-items: stretch;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}
.principle:nth-child(odd) { padding-right: 60px; border-right: 1px solid var(--border); }
.principle:nth-child(even) { padding-left: 60px; }
.principle-line {
  width: 3px;
  background: var(--brass);
  margin-right: 28px;
  flex-shrink: 0;
  border-radius: 2px;
}
.principle-body h3 {
  font-size: 1.1rem;
  color: var(--forest);
  margin-bottom: 8px;
  font-weight: 600;
}
.principle-body p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ---- COVERAGE ---- */
.coverage {
  background: var(--forest);
  padding: clamp(80px, 10vw, 110px) var(--pad-x);
}
.coverage-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.coverage-label { color: var(--brass-light); }
.coverage-heading {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--ivory);
  margin-bottom: 56px;
  font-weight: 700;
}
.coverage-counties {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.county {
  padding: 40px 36px;
  border-left: 1px solid rgba(245,240,232,0.15);
}
.county:first-child { border-left: none; }
.county-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--ivory);
  font-weight: 600;
  margin-bottom: 12px;
}
.county-towns {
  display: block;
  font-size: 0.85rem;
  color: rgba(245,240,232,0.55);
  line-height: 1.6;
  font-weight: 300;
}
.coverage-note {
  font-size: 0.85rem;
  color: rgba(245,240,232,0.4);
  margin-top: 40px;
  font-style: italic;
}

/* ---- CLOSING ---- */
.closing {
  background: var(--ivory);
  padding: clamp(80px, 10vw, 110px) var(--pad-x);
}
.closing-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}
.closing-rule {
  width: 40px;
  height: 2px;
  background: var(--brass);
  margin: 0 auto 48px;
}
.closing h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--forest);
  margin-bottom: 28px;
  font-weight: 700;
  line-height: 1.25;
}
.closing p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
  font-weight: 300;
}

/* ---- FOOTER ---- */
.site-footer {
  background: var(--charcoal);
  color: rgba(245,240,232,0.6);
  padding: 64px var(--pad-x) 40px;
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(245,240,232,0.1);
}
.footer-wordmark {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--ivory);
  display: block;
  margin-bottom: 12px;
}
.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.6;
  font-weight: 300;
}
.footer-email {
  display: block;
  font-size: 0.9rem;
  color: var(--brass-light);
  margin-bottom: 8px;
}
.footer-note {
  display: block;
  font-size: 0.8rem;
  font-weight: 300;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-certs {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  font-weight: 400;
}
.dot { color: rgba(245,240,232,0.25); }
.footer-copy {
  font-size: 0.75rem;
  color: rgba(245,240,232,0.3);
}

/* ---- INQUIRY FORM ---- */
.inquiry-wrap {
  max-width: 680px;
  margin: 56px auto 0;
}
.inquiry-form {
  background: var(--ivory-mid);
  border: 1px solid var(--border);
  padding: 48px;
}
.inquiry-header {
  margin-bottom: 32px;
}
.inquiry-eyebrow {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 500;
  margin-bottom: 10px;
}
.inquiry-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--forest);
  font-weight: 600;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group--full { margin-bottom: 16px; }
.form-group label {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--forest);
  letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--ivory);
  border: 1px solid var(--border);
  padding: 10px 14px;
  border-radius: 2px;
  outline: none;
  transition: border-color 0.2s;
  -webkit-appearance: none;
  appearance: none;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B6B63' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--forest-light);
}
.form-group textarea { resize: vertical; }
.form-footer {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
}
.btn-inquiry {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--ivory);
  background: var(--forest);
  border: 1px solid var(--forest);
  padding: 12px 28px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  flex-shrink: 0;
}
.btn-inquiry:hover:not(:disabled) {
  background: var(--forest-mid);
  border-color: var(--forest-mid);
}
.btn-inquiry:disabled { opacity: 0.55; cursor: not-allowed; }
.form-note {
  font-size: 0.8rem;
  color: var(--muted);
  font-style: italic;
}
.form-success {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-top: 24px;
  padding: 20px 24px;
  background: var(--ivory);
  border: 1px solid var(--forest-light);
}
.form-success-icon {
  color: var(--forest-light);
  flex-shrink: 0;
  margin-top: 2px;
}
.form-success p { font-size: 0.9rem; color: var(--forest); }
.form-error {
  margin-top: 16px;
  padding: 14px 18px;
  background: #fff5f5;
  border: 1px solid #e8a0a0;
  font-size: 0.85rem;
  color: #8b2020;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .services-grid--featured { grid-template-columns: 1fr; }
  .independence-inner { grid-template-columns: 1fr; }
  .independence-icon { display: none; }
  .process-steps { grid-template-columns: 1fr; }
  .step { border-left: none; border-top: 1px solid var(--border); padding: 32px 0; }
  .step:first-child { border-top: none; }
  .principles-list { grid-template-columns: 1fr; }
  .principle:nth-child(odd) { padding-right: 0; border-right: none; }
  .principle:nth-child(even) { padding-left: 0; }
  .coverage-counties { grid-template-columns: 1fr; }
  .county { border-left: none; border-top: 1px solid rgba(245,240,232,0.15); padding: 32px 0; }
  .county:first-child { border-top: none; }
  .footer-top { flex-direction: column; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .hero-meta { gap: 8px; }
}

/* ---- HEADER NAV (resources link) ---- */
.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.header-nav-link {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--forest);
  text-decoration: none;
  letter-spacing: 0.03em;
  transition: color 0.15s;
}
.header-nav-link:hover { color: var(--brass); }
.header-nav-link--active { color: var(--brass); }

/* ---- RESOURCE HERO ---- */
.resource-hero {
  background: var(--forest);
  color: var(--ivory);
  padding: clamp(60px, 10vw, 100px) var(--pad-x);
}
.resource-hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.resource-eyebrow {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass-light);
  font-weight: 400;
  margin-bottom: 20px;
}
.resource-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: var(--ivory);
  margin-bottom: 20px;
  font-weight: 700;
  max-width: 720px;
}
.resource-hero p {
  font-size: 1rem;
  color: rgba(245,240,232,0.75);
  max-width: 560px;
  font-weight: 300;
  line-height: 1.75;
}

/* ---- RESOURCE INDEX ---- */
.resource-index-section {
  background: var(--ivory);
  padding: clamp(60px, 10vw, 100px) var(--pad-x);
}
.resource-index-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}
.resource-card-link {
  text-decoration: none;
  display: block;
  max-width: 640px;
}
.resource-index-card {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  border: 1px solid var(--border);
  padding: 40px 36px;
  background: var(--ivory);
  transition: border-color 0.2s;
}
.resource-card-link:hover .resource-index-card { border-color: var(--forest-light); }
.resource-index-card-icon { flex-shrink: 0; padding-top: 4px; }
.resource-index-tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 500;
  margin-bottom: 10px;
}
.resource-index-card h2 {
  font-size: 1.3rem;
  color: var(--forest);
  margin-bottom: 12px;
  font-weight: 600;
}
.resource-index-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 16px;
}
.resource-index-cta {
  font-size: 0.85rem;
  color: var(--forest);
  font-weight: 500;
}

/* ---- ORDINANCE DISCLAIMER ---- */
.ord-disclaimer {
  background: var(--ivory-mid);
  border-bottom: 1px solid var(--border);
  padding: 14px var(--pad-x);
}
.ord-disclaimer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.ord-disclaimer-inner svg { flex-shrink: 0; margin-top: 2px; }
.ord-disclaimer-inner p { font-size: 0.85rem; color: var(--muted); line-height: 1.6; }
.ord-disclaimer-inner strong { color: var(--charcoal); }
.ord-disclaimer-inner a { color: var(--forest); }

/* ---- ORDINANCE PAGE LAYOUT ---- */
.ord-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  gap: 48px;
  align-items: start;
  padding-top: 56px;
  padding-bottom: 80px;
}

/* ---- ORDINANCE SIDE NAV ---- */
.ord-sidenav {
  position: sticky;
  top: 80px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}
.ord-sidenav-label {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 500;
  margin-bottom: 14px;
}
.ord-sidenav ul {
  list-style: none;
  margin-bottom: 28px;
}
.ord-sidenav li { margin-bottom: 2px; }
.ord-sidenav a {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: none;
  padding: 5px 10px 5px 0;
  border-left: 2px solid transparent;
  padding-left: 12px;
  transition: color 0.15s, border-color 0.15s;
  line-height: 1.4;
}
.ord-sidenav a:hover,
.ord-sidenav a.is-active {
  color: var(--forest);
  border-left-color: var(--brass);
}
.ord-sidenav-cta { margin-top: 8px; }

/* ---- ORDINANCE CTA BUTTONS ---- */
.btn-ord-cta {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ivory);
  background: var(--forest);
  border: 1px solid var(--forest);
  padding: 10px 20px;
  text-decoration: none;
  transition: background 0.2s;
}
.btn-ord-cta:hover { background: var(--forest-mid); }
.btn-ord-cta--large {
  font-size: 1rem;
  padding: 14px 32px;
}

/* ---- ORDINANCE MAIN CONTENT ---- */
.ord-main { min-width: 0; }

/* ---- ORDINANCE CARD ---- */
.ord-card {
  border: 1px solid var(--border);
  margin-bottom: 32px;
  scroll-margin-top: 88px;
}
.ord-card-header {
  background: var(--forest);
  padding: 28px 36px;
}
.ord-card-header h2 {
  font-size: 1.5rem;
  color: var(--ivory);
  margin-bottom: 6px;
  font-weight: 700;
}
.ord-card-citation {
  display: block;
  font-size: 0.8rem;
  color: rgba(245,240,232,0.6);
  font-weight: 300;
  font-style: italic;
}
.ord-card-body {
  background: var(--ivory);
  padding: 0;
}

/* ---- ORDINANCE FIELD ---- */
.ord-field {
  padding: 24px 36px;
  border-bottom: 1px solid var(--border);
}
.ord-field:last-child { border-bottom: none; }
.ord-field-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 500;
  margin-bottom: 12px;
}
.ord-list {
  list-style: none;
  padding: 0;
}
.ord-list li {
  font-size: 0.9rem;
  color: var(--charcoal);
  line-height: 1.6;
  padding-left: 16px;
  position: relative;
  margin-bottom: 6px;
}
.ord-list li:last-child { margin-bottom: 0; }
.ord-list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--brass);
}
.ord-text {
  font-size: 0.9rem;
  color: var(--charcoal);
  line-height: 1.7;
}
.ord-field--source .ord-source-link {
  font-size: 0.82rem;
  color: var(--forest);
  word-break: break-all;
}
.ord-field--source .ord-source-link:hover { color: var(--brass); }

/* ---- INLINE CTA (midpage) ---- */
.ord-inline-cta {
  background: var(--forest);
  margin-bottom: 32px;
}
.ord-inline-cta-inner {
  padding: 36px;
}
.ord-inline-cta-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-light);
  font-weight: 500;
  margin-bottom: 12px;
}
.ord-inline-cta p {
  font-size: 0.92rem;
  color: rgba(245,240,232,0.8);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 480px;
}

/* ---- BOTTOM CTA ---- */
.ord-bottom-cta {
  background: var(--ivory-mid);
  border: 1px solid var(--border);
  margin-top: 16px;
}
.ord-bottom-cta-inner {
  padding: 48px;
}
.ord-bottom-cta h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--forest);
  margin-bottom: 16px;
  font-weight: 700;
}
.ord-bottom-cta p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 560px;
  margin-bottom: 28px;
}

/* ---- ABOUT PAGE ---- */
.about-hero { padding-bottom: clamp(60px, 10vw, 100px); }

.about-section {
  background: var(--ivory);
  padding: clamp(64px, 10vw, 100px) var(--pad-x);
}
.about-section--alt { background: var(--ivory-mid); }
.about-section--forest {
  background: var(--forest);
}

.about-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.about-block { max-width: 880px; }

.about-eyebrow {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 500;
  margin-bottom: 20px;
}
.about-eyebrow--light { color: var(--brass-light); }

.about-block h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--forest);
  font-weight: 700;
  margin-bottom: 40px;
}
.about-h2--light { color: var(--ivory) !important; }

.about-body p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.85;
  max-width: 720px;
  margin-bottom: 20px;
  font-weight: 300;
}
.about-body p:last-child { margin-bottom: 0; }

/* Credentials grid */
.about-creds-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.about-cred-card {
  background: var(--ivory);
  border: 1px solid var(--border);
  padding: 40px 36px;
  position: relative;
}
.about-cred-card--progress { background: var(--ivory-mid); }

.about-cred-status {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--forest);
  background: rgba(27,58,45,0.08);
  padding: 3px 10px;
  margin-bottom: 16px;
}
.about-cred-status--progress {
  color: var(--muted);
  background: rgba(107,107,99,0.1);
}

.about-cred-card h3 {
  font-size: 1.1rem;
  color: var(--forest);
  font-weight: 600;
  margin-bottom: 14px;
}
.about-cred-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 20px;
  font-weight: 300;
}
.about-cred-detail {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.about-cred-label {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 500;
}
.about-cred-value {
  font-size: 0.85rem;
  color: var(--charcoal);
  font-style: italic;
}

/* Methodology steps */
.about-method-steps {
  margin-top: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.about-method-step {
  padding: 40px 36px;
  border: 1px solid var(--border);
  margin: -1px 0 0 -1px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.about-method-marker {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--brass);
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
  padding-top: 4px;
}
.about-method-body h3 {
  font-size: 1.05rem;
  color: var(--forest);
  font-weight: 600;
  margin-bottom: 10px;
}
.about-method-body p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
  font-weight: 300;
}

/* Service areas */
.about-areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-bottom: 32px;
}
.about-area {
  padding: 32px 36px;
  border-left: 1px solid rgba(245,240,232,0.15);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.about-area:first-child { border-left: none; }
.about-area-county {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--ivory);
  font-weight: 600;
}
.about-area-towns {
  font-size: 0.85rem;
  color: rgba(245,240,232,0.55);
  line-height: 1.6;
  font-weight: 300;
}
.about-areas-note {
  font-size: 0.88rem;
  color: rgba(245,240,232,0.5);
  font-style: italic;
  font-weight: 300;
  padding-top: 24px;
  border-top: 1px solid rgba(245,240,232,0.12);
}

/* Standards grid */
.about-standards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}
.about-standard {
  padding: 36px 40px;
  border: 1px solid var(--border);
  margin: -1px 0 0 -1px;
}
.about-standard h3 {
  font-size: 1.05rem;
  color: var(--forest);
  font-weight: 600;
  margin-bottom: 12px;
}
.about-standard p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
  font-weight: 300;
}
.about-standard a {
  color: var(--forest);
  font-weight: 500;
}
.about-standard a:hover { color: var(--brass); }

/* CTA section */
.about-cta-section {
  background: var(--ivory);
  padding: clamp(64px, 10vw, 100px) var(--pad-x);
}
.about-cta-box {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.about-cta-rule {
  width: 40px;
  height: 2px;
  background: var(--brass);
  margin: 0 auto 48px;
}
.about-cta-box h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  color: var(--forest);
  font-weight: 700;
  margin-bottom: 20px;
}
.about-cta-box p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 36px;
}

/* About responsive */
@media (max-width: 768px) {
  .about-creds-grid { grid-template-columns: 1fr; }
  .about-method-steps { grid-template-columns: 1fr; }
  .about-method-step { margin: 0; border-top: 1px solid var(--border); padding: 32px 0; }
  .about-method-step:first-child { border-top: none; border: 1px solid var(--border); padding: 32px 24px; }
  .about-standards-grid { grid-template-columns: 1fr; }
  .about-standard { margin: 0; border-top: 1px solid var(--border); padding: 28px 0; }
  .about-areas-grid { grid-template-columns: 1fr; }
  .about-area { border-left: none; border-top: 1px solid rgba(245,240,232,0.15); padding: 28px 0; }
  .about-area:first-child { border-top: none; }
}
@media (max-width: 600px) {
  .about-cred-card { padding: 28px 20px; }
  .about-method-step { gap: 16px; }
}

/* ---- FOOTER RESOURCES LINK ---- */
.footer-resources-link {
  display: block;
  font-size: 0.85rem;
  color: rgba(245,240,232,0.6);
  text-decoration: none;
  margin-top: 8px;
  transition: color 0.15s;
}
.footer-resources-link:hover { color: var(--brass-light); }

/* ---- RESPONSIVE: resource pages ---- */
@media (max-width: 900px) {
  .ord-layout {
    grid-template-columns: 1fr;
    gap: 0;
    padding-top: 32px;
  }
  .ord-sidenav {
    position: static;
    max-height: none;
    overflow: visible;
    border-bottom: 1px solid var(--border);
    padding-bottom: 24px;
    margin-bottom: 32px;
  }
  .ord-sidenav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 16px;
  }
  .ord-sidenav li { margin-bottom: 0; }
  .ord-sidenav a {
    border-left: none;
    border: 1px solid var(--border);
    padding: 4px 12px;
    font-size: 0.8rem;
  }
  .ord-sidenav a:hover,
  .ord-sidenav a.is-active {
    border-color: var(--forest);
    background: var(--forest);
    color: var(--ivory);
  }
}
@media (max-width: 600px) {
  .ord-card-header { padding: 20px 20px; }
  .ord-card-body .ord-field { padding: 18px 20px; }
  .ord-inline-cta-inner { padding: 24px 20px; }
  .ord-bottom-cta-inner { padding: 32px 20px; }
  .resource-index-card { flex-direction: column; gap: 16px; padding: 28px 24px; }
  .form-row { grid-template-columns: 1fr; }
}

/* ---- TPZ ARTICLE ---- */

/* Breadcrumb */
.article-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.78rem;
  color: rgba(245,240,232,0.5);
  font-weight: 400;
}
.article-breadcrumb a {
  color: rgba(245,240,232,0.6);
  text-decoration: none;
  transition: color 0.15s;
}
.article-breadcrumb a:hover { color: var(--brass-light); }
.breadcrumb-sep { color: rgba(245,240,232,0.3); }

/* TPZ sections */
.tpz-section {
  margin-bottom: 64px;
}
.tpz-section h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--forest);
  font-weight: 700;
  margin-bottom: 28px;
  font-family: var(--font-display);
  line-height: 1.2;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}
.tpz-section p {
  font-size: 0.96rem;
  color: var(--muted);
  line-height: 1.85;
  font-weight: 300;
  margin-bottom: 20px;
}
.tpz-section ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}
.tpz-section ul li {
  font-size: 0.9rem;
  color: var(--charcoal);
  line-height: 1.7;
  padding-left: 20px;
  position: relative;
  margin-bottom: 10px;
}
.tpz-section ul li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--brass);
  font-weight: 400;
}

/* Formula block */
.tpz-formula-block {
  background: var(--forest);
  border: 1px solid rgba(245,240,232,0.1);
  padding: 28px 32px;
  margin: 28px 0;
}
.tpz-formula-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass-light);
  font-weight: 500;
  margin-bottom: 12px;
}
.tpz-formula {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--ivory);
  line-height: 1.4;
}
.tpz-formula-note {
  display: block;
  font-size: 0.8rem;
  color: rgba(245,240,232,0.5);
  font-family: var(--font-body);
  font-weight: 300;
  margin-top: 6px;
}

/* Prohibited list */
.tpz-prohibited-list {
  margin-top: 16px;
}
.tpz-prohibited-list li {
  background: var(--ivory-mid);
  border-left: 2px solid var(--brass);
  padding: 8px 14px 8px 18px;
  font-size: 0.88rem;
}

/* Jurisdiction table */
.tpz-jurisdiction-table {
  border: 1px solid var(--border);
  margin: 24px 0 28px;
  overflow-x: auto;
}
.tpz-table-header {
  display: grid;
  grid-template-columns: 180px 1fr 1fr 1.4fr;
  background: var(--forest);
  padding: 0;
  gap: 0;
}
.tpz-table-row {
  display: grid;
  grid-template-columns: 180px 1fr 1fr 1.4fr;
  border-top: 1px solid var(--border);
  gap: 0;
}
.tpz-table-row:nth-child(even) { background: var(--ivory-mid); }
.tpz-table-col {
  padding: 14px 16px;
  font-size: 0.82rem;
  color: var(--charcoal);
  line-height: 1.5;
  border-left: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.tpz-table-col:first-child { border-left: none; }
.tpz-table-col--jur { background: rgba(27,58,45,0.04); }
.tpz-table-header .tpz-table-col {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brass-light);
  font-weight: 500;
  background: var(--forest) !important;
  padding-top: 12px;
  padding-bottom: 12px;
}
.tpz-table-cite {
  font-size: 0.72rem;
  color: var(--muted);
  font-style: italic;
  font-weight: 300;
  margin-top: 4px;
  display: block;
}
.tpz-table-note {
  font-size: 0.82rem;
  color: var(--muted);
  font-style: italic;
  line-height: 1.6;
}
.tpz-table-note a { color: var(--forest); }

/* Failure list */
.tpz-failure-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 24px 0;
  border: 1px solid var(--border);
}
.tpz-failure-item {
  padding: 28px 32px;
  border-bottom: 1px solid var(--border);
}
.tpz-failure-item:last-child { border-bottom: none; }
.tpz-failure-title {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--forest);
  font-weight: 600;
  margin-bottom: 10px;
}
.tpz-failure-item p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 0;
}
.tpz-failure-item:nth-child(odd) { background: var(--ivory); }
.tpz-failure-item:nth-child(even) { background: var(--ivory-mid); }

/* TPZ Plan Components grid */
.tpz-components-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 24px 0;
  border: 1px solid var(--border);
}
.tpz-component {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 32px 28px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
}
.tpz-components-grid .tpz-component:nth-child(even) { border-right: none; }
.tpz-components-grid .tpz-component:nth-last-child(-n+2) { border-bottom: none; }
.tpz-component-marker {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--brass);
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
  padding-top: 2px;
}
.tpz-component-body h3 {
  font-size: 0.95rem;
  color: var(--forest);
  font-weight: 600;
  margin-bottom: 10px;
}
.tpz-component-body p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 0;
}
.tpz-component-body em { color: var(--forest); font-style: italic; }

/* Arborist comparison */
.tpz-comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 24px 0 28px;
  border: 1px solid var(--border);
}
.tpz-comparison-col {
  padding: 32px 28px;
  border-right: 1px solid var(--border);
}
.tpz-comparison-col:last-child { border-right: none; }
.tpz-comparison-header {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brass);
  font-weight: 500;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}
.tpz-comparison-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.tpz-comparison-col li {
  font-size: 0.85rem;
  color: var(--charcoal);
  line-height: 1.6;
  padding-left: 16px;
  position: relative;
  margin-bottom: 8px;
}
.tpz-comparison-col li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--muted);
}
.tpz-comparison-col--active {
  background: rgba(27,58,45,0.04);
}
.tpz-comparison-col--active li::before { color: var(--brass); }

/* TPZ article responsive */
@media (max-width: 900px) {
  .tpz-jurisdiction-table { font-size: 0.8rem; }
  .tpz-components-grid { grid-template-columns: 1fr; }
  .tpz-components-grid .tpz-component { border-right: none; }
  .tpz-components-grid .tpz-component:nth-last-child(-n+2) { border-bottom: 1px solid var(--border); }
  .tpz-components-grid .tpz-component:last-child { border-bottom: none; }
  .tpz-comparison { grid-template-columns: 1fr; }
  .tpz-comparison-col { border-right: none; border-bottom: 1px solid var(--border); }
  .tpz-comparison-col:last-child { border-bottom: none; }
}
@media (max-width: 600px) {
  .tpz-section { margin-bottom: 48px; }
  .tpz-formula-block { padding: 20px 20px; }
  .tpz-formula { font-size: 1.1rem; }
  .tpz-failure-item { padding: 20px 20px; }
  .tpz-component { padding: 24px 20px; gap: 16px; }
  .tpz-comparison-col { padding: 24px 20px; }
  .article-breadcrumb { font-size: 0.72rem; }
}

/* ==============================
   FAQ PAGE
   ============================== */

.faq-hero p a.faq-hero-link {
  color: var(--brass-light);
  text-decoration: underline;
}
.faq-hero p a.faq-hero-link:hover { color: #fff; }

/* Two-column layout: sticky nav + main content */
.faq-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  align-items: start;
}

/* Sticky side nav */
.faq-nav {
  position: sticky;
  top: 84px;
  padding: 40px 0 40px 0;
  border-right: 1px solid var(--border);
  min-height: 200px;
  align-self: start;
}
.faq-nav-heading {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.faq-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.faq-nav-list li { margin-bottom: 2px; }
.faq-nav-category {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brass);
  margin-top: 16px;
  margin-bottom: 6px;
  padding-left: 0;
}
.faq-nav-link {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--muted);
  text-decoration: none;
  display: block;
  padding: 3px 0;
  line-height: 1.4;
  transition: color 0.15s;
}
.faq-nav-link:hover { color: var(--forest); }

/* Main FAQ content column */
.faq-main {
  padding: 48px 0 80px 48px;
}

.faq-category-section {
  margin-bottom: 56px;
}
.faq-category-section:last-of-type { margin-bottom: 0; }

.faq-category-heading {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 24px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

/* Individual Q&A item */
.faq-item {
  margin-bottom: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 84px;
}
.faq-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.faq-question {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--forest);
  margin-bottom: 14px;
  line-height: 1.3;
}

.faq-answer {
  font-size: 0.92rem;
  color: var(--charcoal);
  line-height: 1.7;
}
.faq-answer p { margin-bottom: 12px; }
.faq-answer p:last-child { margin-bottom: 0; }
.faq-answer strong { color: var(--forest); font-weight: 600; }
.faq-answer a {
  color: var(--forest);
  text-decoration: underline;
  text-decoration-color: var(--brass);
}
.faq-answer a:hover { color: var(--brass); }

.faq-list {
  list-style: none;
  padding: 0;
  margin: 8px 0 14px 0;
}
.faq-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  font-size: 0.92rem;
  line-height: 1.6;
}
.faq-list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--brass);
}

/* Bottom CTA */
.faq-cta-section {
  margin-top: 56px;
  padding-top: 0;
}
.faq-cta-box {
  background: var(--forest);
  border-radius: 4px;
  padding: 48px;
  text-align: center;
}
.faq-cta-rule {
  width: 40px;
  height: 2px;
  background: var(--brass);
  margin: 0 auto 24px;
}
.faq-cta-box h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  color: var(--ivory);
  margin-bottom: 12px;
}
.faq-cta-box p {
  font-size: 0.95rem;
  color: rgba(245,240,232,0.8);
  margin-bottom: 28px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive FAQ layout */
@media (max-width: 900px) {
  .faq-layout {
    grid-template-columns: 1fr;
  }
  .faq-nav {
    position: static;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 28px 0;
  }
  .faq-nav-list { display: flex; flex-wrap: wrap; gap: 4px 0; }
  .faq-nav-list li { margin-right: 12px; }
  .faq-nav-category { display: none; }
  .faq-main { padding: 36px 0 60px; }
}
@media (max-width: 600px) {
  .faq-question { font-size: 1rem; }
  .faq-cta-box { padding: 32px 24px; }
}

/* ==============================
   TREE DISPUTES ARTICLE
   ============================== */

.resource-hero--disputes {
  background: var(--forest);
  background-image: linear-gradient(160deg, #1c4a2e 0%, #0d2e1a 100%);
}

/* Intro text */
.disputes-intro {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--forest-dark);
  border-left: 3px solid var(--brass);
  padding-left: 20px;
  margin-bottom: 32px;
}

/* Scenarios */
.dispute-scenario {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 32px;
  margin-bottom: 28px;
}
.dispute-scenario-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}
.dispute-scenario-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--forest);
  color: var(--ivory);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  margin-top: 2px;
}
.dispute-scenario-header h3 {
  font-size: 1.15rem;
  margin: 0;
  line-height: 1.3;
}
.dispute-scenario p { font-size: 0.92rem; }

/* Cite blocks */
.dispute-cite {
  background: var(--ivory);
  border: 1px solid var(--border);
  border-left: 3px solid var(--brass);
  border-radius: 6px;
  padding: 12px 16px;
  margin-top: 16px;
  font-size: 0.85rem;
  line-height: 1.6;
}
.dispute-cite-label {
  display: block;
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--forest);
  margin-bottom: 4px;
}
.dispute-cite em { font-style: italic; }

/* Lists */
.disputes-list {
  padding-left: 0;
  list-style: none;
  margin: 12px 0;
}
.disputes-list li {
  padding-left: 20px;
  position: relative;
  font-size: 0.9rem;
  margin-bottom: 8px;
  line-height: 1.6;
}
.disputes-list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--brass);
  font-weight: 600;
}
.disputes-list--ordered {
  counter-reset: disputes-counter;
}
.disputes-list--ordered li {
  counter-increment: disputes-counter;
  padding-left: 28px;
}
.disputes-list--ordered li::before {
  content: counter(disputes-counter) '.';
  color: var(--brass);
  font-weight: 700;
  left: 0;
}

/* TRAQ steps */
.traq-steps {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 28px 0;
}
.traq-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px;
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: 6px;
}
.traq-step-marker {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--forest);
  color: var(--ivory);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
}
.traq-step-body h3 {
  font-size: 0.95rem;
  margin: 0 0 4px;
}
.traq-step-body p {
  font-size: 0.88rem;
  margin: 0;
}

/* Independence block */
.dispute-independence-block {
  background: var(--ivory);
  border: 1px solid var(--brass-light);
  border-radius: 8px;
  padding: 28px;
  margin-top: 24px;
}
.dispute-independence-block h3 {
  font-size: 1rem;
  margin-bottom: 12px;
}

/* Attorney criteria */
.attorney-criteria {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 28px 0;
}
.attorney-criterion {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 20px;
  background: var(--ivory);
  border: 1px solid var(--border);
  border-radius: 6px;
}
.attorney-criterion-marker {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--forest);
  color: var(--ivory);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
}
.attorney-criterion-body h3 {
  font-size: 0.95rem;
  margin: 0 0 4px;
}
.attorney-criterion-body p {
  font-size: 0.88rem;
  margin: 0;
}

/* Independence note */
.independence-note {
  font-size: 1rem;
  font-weight: 600;
  color: var(--forest);
}

/* Service area note */
.service-area-note {
  font-size: 0.85rem;
  color: var(--forest-mid);
  margin-top: 8px;
}

/* CTA bottom */
.ord-bottom-cta-inner p a {
  color: var(--forest);
  font-weight: 600;
}
.ord-bottom-cta-inner p a:hover {
  color: var(--brass);
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px) {
  .dispute-scenario { padding: 20px; }
  .dispute-scenario-header { flex-direction: column; gap: 8px; }
  .traq-step { flex-direction: column; gap: 12px; }
  .attorney-criterion { flex-direction: column; gap: 12px; }
}

/* ==============================
   LITIGATION SUPPORT PAGE
   ============================== */

/* Hero */
.litigation-hero .litigation-hero-cta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
  flex-wrap: wrap;
}
.litigation-hero-note {
  font-size: 0.85rem;
  color: var(--forest-mid);
  font-style: italic;
}

/* Independence bar */
.litigation-independence-bar {
  background: var(--forest);
  padding: 14px var(--pad-x);
}
.litigation-independence-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.litigation-independence-inner svg {
  flex-shrink: 0;
  margin-top: 2px;
}
.litigation-independence-inner p {
  color: var(--ivory);
  font-size: 0.9rem;
  line-height: 1.5;
}
.litigation-independence-inner strong {
  color: var(--brass-light);
}

/* Services grid */
.litigation-services-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 28px;
}
.litigation-service-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 24px;
}
.litigation-service-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--ivory-mid);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.litigation-service-item h3 {
  font-size: 1rem;
  color: var(--forest);
  margin-bottom: 8px;
  line-height: 1.3;
}
.litigation-service-item p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Matter tags */
.litigation-matters-box {
  margin-top: 32px;
  padding: 20px 24px;
  background: var(--ivory-mid);
  border-radius: 6px;
  border-left: 3px solid var(--brass);
}
.litigation-matters-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 12px;
}
.litigation-matters-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.litigation-tag {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 0.82rem;
  color: var(--forest);
  font-weight: 500;
}

/* Credentials */
.litigation-cv-note {
  margin-top: 20px;
  font-size: 0.88rem;
  color: var(--muted);
  font-style: italic;
}

/* Standards grid */
.litigation-standards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}
.litigation-standard-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 20px;
}
.litigation-standard-label {
  display: inline-block;
  background: var(--forest);
  color: var(--ivory);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  margin-bottom: 10px;
}
.litigation-standard-card h3 {
  font-size: 0.95rem;
  color: var(--forest);
  margin-bottom: 10px;
  line-height: 1.3;
}
.litigation-standard-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Methodology framing note */
.litigation-framing-note {
  margin-top: 28px;
  padding: 20px 24px;
  background: var(--ivory-mid);
  border-left: 3px solid var(--brass);
  border-radius: 0 6px 6px 0;
}
.litigation-framing-note p {
  font-size: 0.9rem;
  color: var(--forest);
  line-height: 1.65;
}
.litigation-framing-note strong {
  font-weight: 700;
}

/* Courts grid */
.litigation-courts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 24px;
}
.litigation-court-block {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 20px 24px;
}
.litigation-court-block h3 {
  font-size: 0.95rem;
  color: var(--forest);
  margin-bottom: 12px;
}
.litigation-court-block p {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.6;
}

/* Ordinance note */
.litigation-ordinance-note {
  margin-top: 20px;
  padding: 16px 20px;
  background: var(--ivory-mid);
  border-radius: 6px;
  font-size: 0.88rem;
  color: var(--forest);
}
.litigation-ordinance-note a {
  color: var(--forest);
  font-weight: 600;
  text-decoration: underline;
}

/* Inquiry wrap override on litigation page */
.litigation-inquiry-wrap {
  margin-top: 24px;
}

/* Responsive */
@media (max-width: 800px) {
  .litigation-standards-grid,
  .litigation-courts-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .litigation-hero .litigation-hero-cta {
    flex-direction: column;
    align-items: flex-start;
  }
  .litigation-service-item {
    flex-direction: column;
    gap: 14px;
  }
}