/*
Theme Name: Threshold Estate Services
Theme URI: https://thresholdestateservices.ca
Author: Threshold Estate Services
Author URI: https://thresholdestateservices.ca
Description: Custom classic theme for Threshold Estate Services — compassionate estate cleanouts across Greater Edmonton, Greater Calgary, and Alberta. Includes an editorial video hero, local visual assets, a custom icon system, editable homepage content, executor guides, and a Contact Form 7 lead form.
Version: 1.1.1
Requires at least: 6.4
Tested up to: 6.9
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: threshold-estate
Tags: one-column, custom-menu, sticky-post
*/

/* ============================================================
   Threshold visual system — warm editorial typography, documentary
   imagery, and restrained line icons for a calm, trustworthy experience.
   ============================================================ */

:root {
  --bg: #F5F0E4;
  --bg-alt: #EDE6D5;
  --paper: #FAF6EC;
  --ink: #1B1B19;
  --ink-soft: #3A382F;
  --muted: #8B8378;
  --rule: #C9C0AA;
  --forest: #1F3A2E;
  --forest-deep: #16291F;
  --amber: #B05A2F;
  --amber-dark: #8E4624;
  --max: 1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'Instrument Sans', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  font-feature-settings: "ss01", "ss02";
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

img, video { max-width: 100%; }

.threshold-icon {
  width: 1.25em;
  height: 1.25em;
  display: block;
  flex: 0 0 auto;
  overflow: visible;
}

/* ─────── Typography ─────── */
.display, h1, h2, h3 {
  font-family: 'Fraunces', Georgia, serif;
  font-variation-settings: "opsz" 144, "SOFT" 50;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.05;
  color: var(--ink);
}

h1 { font-size: clamp(2.6rem, 6vw, 5.2rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); }
h3 { font-size: clamp(1.4rem, 2vw, 1.75rem); line-height: 1.2; }

.eyebrow {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--amber);
}

.lead {
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 14, "SOFT" 80;
  font-weight: 350;
  font-size: clamp(1.15rem, 1.6vw, 1.35rem);
  line-height: 1.5;
  color: var(--ink-soft);
}

/* ─────── Container ─────── */
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .wrap { padding: 0 22px; } }

/* ─────── Header ─────── */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 240, 228, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid var(--rule);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  max-width: var(--max);
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.brand-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--forest);
}
.brand-icon .threshold-icon { width: 34px; height: 34px; }
.brand-copy {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.logo .mark {
  font-size: 1.6rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--forest-deep);
}
.logo .sub {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  border-left: 1px solid var(--rule);
  padding-left: 10px;
  margin-left: 4px;
}
nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
  align-items: center;
}
nav a {
  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--ink-soft);
  transition: color 0.2s;
}
nav a:hover { color: var(--amber); }
.cta-mini {
  display: inline-block;
  padding: 9px 18px;
  background: var(--forest);
  color: var(--paper) !important;
  border-radius: 2px;
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background 0.2s;
}
.cta-mini:hover { background: var(--forest-deep); color: var(--paper) !important; }
@media (max-width: 800px) {
  nav ul li:not(:last-child) { display: none; }
  .logo .sub { display: none; }
  .brand-copy { gap: 0; }
}
@media (max-width: 430px) {
  .nav { padding: 14px 18px; }
  .logo { gap: 7px; min-width: 0; }
  .logo .mark { font-size: 1.28rem; white-space: nowrap; }
  .brand-icon, .brand-icon .threshold-icon { width: 28px; height: 28px; }
  .cta-mini { max-width: 138px; padding: 9px 11px; font-size: 0.72rem; line-height: 1.25; text-align: center; }
}

/* ─────── Hero ─────── */
.hero {
  padding: 92px 0 88px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  width: 720px;
  height: 720px;
  right: -260px;
  top: -300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(176, 90, 47, 0.1), rgba(176, 90, 47, 0) 68%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
  gap: clamp(48px, 6vw, 86px);
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 58px; }
  .hero { padding: 70px 0 76px; }
}
.hero-copy { position: relative; z-index: 2; }
.hero h1 {
  margin-top: 24px;
  margin-bottom: 28px;
  font-size: clamp(2.75rem, 5.15vw, 4.75rem);
  text-wrap: balance;
}
.hero h1 em {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  color: var(--forest);
}
.hero-visual {
  position: relative;
  z-index: 1;
  min-width: 0;
  aspect-ratio: 16 / 10;
  margin-bottom: 118px;
  isolation: isolate;
}
.hero-visual::before {
  content: "";
  position: absolute;
  inset: -13px 13px 13px -13px;
  border: 1px solid var(--amber);
  opacity: 0.5;
  z-index: -1;
}
.hero-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--bg-alt);
  filter: saturate(0.86) contrast(0.96);
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 46%, rgba(22, 41, 31, 0.24));
  pointer-events: none;
}
.hero-video-label {
  position: absolute;
  right: -16px;
  top: 20px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 14px;
  background: var(--forest-deep);
  color: var(--paper);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(22, 41, 31, 0.18);
}
.hero-video-label .threshold-icon { color: #D4A574; font-size: 1.2rem; }
.hero-meta {
  position: absolute;
  left: -38px;
  right: 24px;
  bottom: -118px;
  z-index: 3;
  min-height: 142px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--amber);
  padding: 24px 28px;
  box-shadow: 0 18px 50px rgba(22, 41, 31, 0.1);
}
.hero-meta .label {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 8px;
}
.hero-meta p {
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 14, "SOFT" 80;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink-soft);
}
.hero-ctas {
  margin-top: 38px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.hero-assurance {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.76rem;
}
.hero-assurance span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.hero-assurance .threshold-icon { color: var(--amber); font-size: 1.05rem; }
@media (max-width: 900px) {
  .hero-visual { max-width: 680px; width: 100%; margin: 0 auto 112px; }
}
@media (max-width: 600px) {
  .hero-visual { aspect-ratio: 16 / 11; margin-bottom: 0; }
  .hero-visual::before { inset: -8px 8px 8px -8px; }
  .hero-video-label { right: -6px; top: 12px; font-size: 0.62rem; }
  .hero-meta { position: relative; left: auto; right: auto; bottom: auto; margin: -2px 12px 0; }
  .hero h1 { font-size: clamp(2.65rem, 13vw, 3.8rem); }
}
.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 16px 28px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
  font-family: 'Instrument Sans', sans-serif;
}
.btn-primary {
  background: var(--forest);
  color: var(--paper) !important;
}
.btn-primary:hover { background: var(--forest-deep); transform: translateY(-1px); }
.btn-secondary {
  background: transparent;
  color: var(--ink) !important;
  border: 1px solid var(--ink);
}
.btn-secondary:hover { background: var(--ink); color: var(--paper) !important; }

/* Decorative threshold mark */
.threshold-mark {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 36px;
  margin-bottom: 0;
}
.threshold-mark::before, .threshold-mark::after {
  content: "";
  position: absolute;
  background: var(--forest);
}
.threshold-mark::before {
  left: 0; top: 0; width: 2px; height: 36px;
}
.threshold-mark::after {
  left: 0; top: 0; width: 48px; height: 2px;
}
.threshold-mark span {
  position: absolute;
  right: 0; top: 0;
  width: 2px;
  height: 36px;
  background: var(--forest);
}

/* ─────── Trust Strip ─────── */
.trust {
  background: var(--bg-alt);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 22px 0;
}
.trust-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px 40px;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 0.84rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
}
.trust-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(176, 90, 47, 0.38);
  border-radius: 50%;
  color: var(--amber);
}
.trust-icon .threshold-icon {
  width: 15px;
  height: 15px;
}
@media (max-width: 680px) {
  .trust-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .trust-item { font-size: 0.76rem; }
}
@media (max-width: 430px) {
  .trust-row { grid-template-columns: 1fr; }
}

/* ─────── Section base ─────── */
section { padding: 110px 0; }
@media (max-width: 900px) { section { padding: 70px 0; } }

.section-head {
  max-width: 720px;
  margin-bottom: 70px;
}
.section-head .eyebrow { display: block; margin-bottom: 18px; }
.section-head h2 { margin-bottom: 22px; }

/* ─────── Alberta service coverage ─────── */
.coverage {
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.coverage::before {
  content: "";
  position: absolute;
  left: -220px;
  bottom: -320px;
  width: 620px;
  height: 620px;
  border-radius: 50%;
  border: 1px solid rgba(176, 90, 47, 0.15);
  box-shadow: 0 0 0 70px rgba(176, 90, 47, 0.025), 0 0 0 140px rgba(176, 90, 47, 0.02);
  pointer-events: none;
}
.coverage-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(560px, 1.14fr);
  gap: clamp(54px, 7vw, 96px);
  align-items: center;
  position: relative;
}
.coverage-copy .eyebrow { display: block; margin-bottom: 18px; }
.coverage-copy h2 { margin-bottom: 22px; text-wrap: balance; }
.coverage-note {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 16px;
  margin-top: 34px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-left: 3px solid var(--amber);
}
.coverage-note-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--forest);
}
.coverage-note-icon .threshold-icon { width: 23px; height: 23px; }
.coverage-note strong {
  display: block;
  margin-bottom: 7px;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--forest);
}
.coverage-note p { color: var(--ink-soft); font-size: 0.87rem; line-height: 1.55; }
.coverage-visual {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(300px, 1.28fr);
  gap: 18px;
  align-items: stretch;
}
.alberta-map {
  position: relative;
  min-height: 500px;
  background: var(--forest);
  border: 1px solid rgba(245, 240, 228, 0.12);
  overflow: hidden;
}
.alberta-map::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(212, 165, 116, 0.15);
}
.alberta-map svg { width: 100%; height: calc(100% - 54px); display: block; padding: 22px 6px 0; }
.alberta-outline { fill: rgba(245, 240, 228, 0.035); stroke: rgba(232, 224, 205, 0.52); stroke-width: 1.5; }
.alberta-route { fill: none; stroke: #D4A574; stroke-width: 2; stroke-dasharray: 5 7; opacity: 0.65; }
.alberta-town { fill: #D4A574; opacity: 0.58; }
.alberta-marker > circle:first-child { fill: var(--forest-deep); stroke: #D4A574; stroke-width: 2; }
.alberta-marker > circle:nth-child(2) { fill: #D4A574; }
.alberta-marker text {
  fill: var(--paper);
  font-family: 'Instrument Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.03em;
}
.map-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 20px;
  color: #D4A574;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-align: center;
  text-transform: uppercase;
}
.coverage-list { display: grid; gap: 12px; }
.coverage-area {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 24px 22px;
  background: var(--paper);
  border: 1px solid var(--rule);
}
.coverage-area--primary { border-left: 3px solid var(--forest); }
.coverage-area--province { border-left: 3px solid var(--amber); }
.coverage-area-icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--amber);
}
.coverage-area-icon .threshold-icon { width: 20px; height: 20px; }
.coverage-area h3 { margin-bottom: 8px; color: var(--forest); font-size: 1.18rem; }
.coverage-area p { color: var(--ink-soft); font-size: 0.83rem; line-height: 1.5; }
@media (max-width: 1050px) {
  .coverage-grid { grid-template-columns: 1fr; }
  .coverage-copy { max-width: 760px; }
  .coverage-visual { grid-template-columns: minmax(240px, 0.8fr) minmax(360px, 1.2fr); }
}
@media (max-width: 700px) {
  .coverage-visual { grid-template-columns: 1fr; }
  .alberta-map { min-height: 390px; }
  .alberta-map svg { max-width: 330px; margin: 0 auto; }
}
@media (max-width: 430px) {
  .coverage-note { grid-template-columns: 1fr; }
  .coverage-note-icon { width: 42px; height: 42px; }
  .alberta-map { min-height: 350px; }
}

/* ─────── What We Do ─────── */
.services {
  background: var(--paper);
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
@media (max-width: 900px) {
  .service-grid { grid-template-columns: 1fr; }
}
.service {
  padding: 40px 32px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  position: relative;
  transition: background 0.25s ease, transform 0.25s ease;
}
.service:hover { background: var(--bg); }
@media (max-width: 900px) {
  .service { border-right: none; }
}
.service:nth-child(3n) { border-right: none; }
.service-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 24px;
}
.service-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--forest);
}
.service-icon .threshold-icon { width: 24px; height: 24px; }
.service-num {
  font-family: 'Fraunces', serif;
  font-size: 0.85rem;
  color: var(--amber);
  letter-spacing: 0.05em;
  margin-bottom: 0;
  display: block;
}
.service h3 {
  margin-bottom: 16px;
  font-variation-settings: "opsz" 30, "SOFT" 60;
}
.service p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}
.service--quote {
  background: var(--forest);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.service--quote:hover { background: var(--forest-deep); }
.service--quote .service-icon { background: rgba(245, 240, 228, 0.1); color: #D4A574; }
.service--quote h3, .service--quote p { color: var(--paper); }
.service--quote p { color: #E8E0CD; }
.service--quote .service-num { color: #D4A574; }

.outcome-gallery {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 22px;
  margin-top: 54px;
}
.outcome-card {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  background: var(--forest-deep);
}
.outcome-card img {
  width: 100%;
  height: 100%;
  min-height: 390px;
  object-fit: cover;
  display: block;
  filter: saturate(0.78) contrast(0.96);
  transition: transform 0.7s ease, filter 0.4s ease;
}
.outcome-card:hover img { transform: scale(1.025); filter: saturate(0.95) contrast(0.98); }
.outcome-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(22, 41, 31, 0.02) 32%, rgba(22, 41, 31, 0.9) 100%);
  pointer-events: none;
}
.outcome-card figcaption {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 32px;
  color: var(--paper);
}
.outcome-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: #E4B88D;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.outcome-kicker .threshold-icon { width: 18px; height: 18px; }
.outcome-card strong {
  display: block;
  max-width: 520px;
  font-family: 'Fraunces', Georgia, serif;
  font-size: clamp(1.25rem, 2.4vw, 1.8rem);
  font-weight: 400;
  line-height: 1.2;
}
.photo-credit {
  display: inline-block;
  margin-top: 14px;
  color: rgba(250, 246, 236, 0.64);
  font-size: 0.68rem;
}
.photo-credit:hover { color: var(--paper); }
@media (max-width: 760px) {
  .outcome-gallery { grid-template-columns: 1fr; }
  .outcome-card, .outcome-card img { min-height: 330px; }
}

/* ─────── The 30% Difference ─────── */
.difference {
  background: var(--forest);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}
.difference .eyebrow { color: #D4A574; }
.difference h2 { color: var(--paper); }
.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 900px) {
  .diff-grid { grid-template-columns: 1fr; gap: 40px; }
}
.diff-text p {
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 14, "SOFT" 80;
  font-size: 1.15rem;
  line-height: 1.6;
  color: #E8E0CD;
  margin-bottom: 22px;
}
.diff-stat {
  text-align: center;
  padding: 60px 40px;
  border: 1px solid rgba(245, 240, 228, 0.18);
  background: rgba(22, 41, 31, 0.34);
  position: relative;
}
.diff-stat::before,
.diff-stat::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-color: #D4A574;
  opacity: 0.8;
}
.diff-stat::before {
  left: -1px;
  top: -1px;
  border-left: 2px solid #D4A574;
  border-top: 2px solid #D4A574;
}
.diff-stat::after {
  right: -1px;
  bottom: -1px;
  border-right: 2px solid #D4A574;
  border-bottom: 2px solid #D4A574;
}
.diff-stat .number {
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 144, "SOFT" 30;
  font-weight: 300;
  font-size: clamp(6rem, 12vw, 9rem);
  line-height: 0.9;
  color: #D4A574;
  letter-spacing: -0.04em;
}
.diff-stat .number .pct {
  font-size: 0.4em;
  vertical-align: super;
  color: #D4A574;
  margin-left: 6px;
}
.diff-stat .caption {
  margin-top: 18px;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #E8E0CD;
  font-weight: 500;
}
.diff-note {
  font-size: 0.85rem !important;
  color: #B8B09A !important;
  font-family: 'Instrument Sans', sans-serif !important;
  font-style: italic;
  margin-top: 18px !important;
}
.value-route {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.4vw, 18px);
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(245, 240, 228, 0.16);
}
.value-route > span {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-width: 66px;
  color: #D4A574;
}
.value-route > span .threshold-icon { width: 25px; height: 25px; }
.value-route small {
  color: #E8E0CD;
  font-size: 0.64rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.value-route > .route-arrow {
  width: 22px;
  height: 22px;
  color: rgba(212, 165, 116, 0.52);
}
@media (max-width: 480px) {
  .diff-stat { padding: 48px 18px; }
  .value-route { gap: 4px; }
  .value-route > span { min-width: 58px; }
}

/* ─────── Process ─────── */
.process {
  background: var(--bg);
}
.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 40px;
  border-top: 1px solid var(--rule);
}
@media (max-width: 900px) {
  .process-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .process-list { grid-template-columns: 1fr; }
}
.process-step {
  padding: 36px 28px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  transition: background 0.25s ease;
}
.process-step:hover { background: var(--paper); }
@media (max-width: 900px) {
  .process-step:nth-child(2n) { border-right: none; }
}
@media (max-width: 600px) {
  .process-step { border-right: none !important; }
}
.process-step:last-child { border-right: none; }
.process-step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}
.process-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: var(--forest);
  border: 1px solid var(--rule);
  border-radius: 50%;
}
.process-icon .threshold-icon { width: 23px; height: 23px; }
.step-num {
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 144, "SOFT" 60;
  font-size: 3rem;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 0;
  display: block;
  font-weight: 300;
}
.process-step h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}
.process-step p {
  font-size: 0.92rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ─────── Pricing ─────── */
.pricing {
  background: var(--paper);
}
.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
}
.price-table tr {
  border-bottom: 1px solid var(--rule);
}
.price-table tr:first-child { border-top: 1px solid var(--rule); }
.price-table td {
  padding: 26px 8px;
  vertical-align: top;
}
.price-table td:first-child {
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 30, "SOFT" 60;
  font-size: 1.35rem;
  width: 40%;
  color: var(--ink);
}
.price-table td:nth-child(2) {
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.5;
  width: 40%;
}
.price-table td:last-child {
  text-align: right;
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 30, "SOFT" 30;
  font-size: 1.25rem;
  color: var(--forest);
  white-space: nowrap;
  font-weight: 500;
}
@media (max-width: 700px) {
  .price-table td { display: block; width: 100% !important; padding: 8px 0; }
  .price-table td:first-child { padding-top: 20px; }
  .price-table td:last-child { padding-bottom: 20px; text-align: left; }
  .price-table tr { padding: 14px 0; }
}
.price-note {
  margin-top: 36px;
  padding: 24px 28px;
  background: var(--bg);
  border-left: 3px solid var(--amber);
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 14, "SOFT" 80;
  font-size: 0.98rem;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* ─────── For Professionals ─────── */
.professionals {
  background: var(--bg-alt);
}
.prof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 50px;
}
@media (max-width: 900px) {
  .prof-grid { grid-template-columns: 1fr; gap: 24px; }
}
.prof-card {
  background: var(--paper);
  padding: 36px 32px;
  border: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.prof-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.prof-card:hover { transform: translateY(-4px); box-shadow: 0 18px 42px rgba(22, 41, 31, 0.08); }
.prof-card:hover::after { transform: scaleX(1); }
.prof-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 26px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--amber);
}
.prof-icon .threshold-icon { width: 27px; height: 27px; }
.prof-card h3 {
  font-size: 1.4rem;
  margin-bottom: 14px;
  color: var(--forest);
}
.prof-card p {
  font-size: 0.95rem;
  color: var(--ink-soft);
  line-height: 1.6;
}

/* ─────── Resources teaser ─────── */
.resources {
  background: var(--bg);
}
.resource-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  margin-top: 40px;
  border-top: 1px solid var(--rule);
}
@media (max-width: 700px) {
  .resource-list { grid-template-columns: 1fr; }
}
.resource-item {
  padding: 34px 0;
  padding-right: 40px;
  border-bottom: 1px solid var(--rule);
  display: flex;
  gap: 22px;
  align-items: flex-start;
}
.resource-item:nth-child(odd) { padding-right: 40px; }
.resource-item:nth-child(even) { padding-left: 40px; padding-right: 0; border-left: 1px solid var(--rule); }
@media (max-width: 700px) {
  .resource-item, .resource-item:nth-child(even) {
    padding: 28px 0 !important;
    border-left: none !important;
  }
}
.resource-num {
  font-family: 'Fraunces', serif;
  font-size: 0.85rem;
  color: var(--amber);
  flex-shrink: 0;
  padding-top: 4px;
  min-width: 48px;
  display: grid;
  justify-items: start;
  gap: 10px;
}
.resource-num .threshold-icon { width: 24px; height: 24px; color: var(--forest); }
.resource-title {
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 30, "SOFT" 80;
  font-size: 1.25rem;
  color: var(--ink);
  line-height: 1.3;
  margin-bottom: 6px;
}
.resource-desc {
  font-size: 0.88rem;
  color: var(--muted);
}

/* ─────── Contact ─────── */
.contact {
  background: var(--forest);
  color: var(--paper);
}
.contact .eyebrow { color: #D4A574; }
.contact h2 { color: var(--paper); margin-bottom: 22px; }
.contact .lead { color: #E8E0CD; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  margin-top: 60px;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
.contact-info p {
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 14, "SOFT" 80;
  color: #E8E0CD;
  margin-bottom: 18px;
  font-size: 1.05rem;
}
.contact-detail {
  margin-top: 36px;
  padding-top: 30px;
  border-top: 1px solid rgba(245, 240, 228, 0.18);
  display: grid;
  gap: 24px;
}
.contact-detail-item {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: start;
  gap: 15px;
}
.contact-detail-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(212, 165, 116, 0.38);
  border-radius: 50%;
  color: #D4A574;
}
.contact-detail-icon .threshold-icon { width: 20px; height: 20px; }
.contact-detail-item > div { min-width: 0; }
.contact-detail .service-area {
  color: #E8E0CD;
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  margin: 0;
}
.contact-detail .label {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #D4A574;
  margin-bottom: 8px;
  font-weight: 500;
}
.contact-detail .value {
  font-family: 'Fraunces', serif;
  font-variation-settings: "opsz" 30, "SOFT" 60;
  font-size: 1.4rem;
  color: var(--paper);
  margin-bottom: 0;
  display: block;
  transition: color 0.2s ease;
}
.contact-detail a.value:hover { color: #D4A574; }
.contact-detail .value--email { font-size: clamp(1rem, 1.8vw, 1.3rem); overflow-wrap: anywhere; }

/* Form */
form {
  background: var(--paper);
  padding: 44px 40px;
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(10, 24, 17, 0.18);
}
@media (max-width: 600px) {
  form { padding: 30px 24px; }
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}
.field { display: flex; flex-direction: column; }
.field label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 500;
}
.field input, .field select, .field textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--rule);
  padding: 10px 0;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 1rem;
  color: var(--ink);
  outline: none;
  border-radius: 0;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-bottom-color: var(--forest);
}
.field textarea {
  resize: vertical;
  min-height: 90px;
  font-family: 'Instrument Sans', sans-serif;
}
.field-full { grid-column: 1 / -1; }
form button {
  margin-top: 14px;
  padding: 18px 36px;
  background: var(--forest);
  color: var(--paper);
  border: none;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  width: 100%;
}
form button:hover { background: var(--forest-deep); }
.form-note {
  margin-top: 18px;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
}
.success-msg {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.success-msg.show { display: block; }
.success-msg h3 {
  color: var(--forest);
  margin-bottom: 12px;
  font-size: 1.6rem;
}
.success-msg p {
  color: var(--ink-soft);
  font-family: 'Fraunces', serif;
}

/* ─────── Footer ─────── */
footer {
  background: var(--forest-deep);
  color: #B8B09A;
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
@media (max-width: 800px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
.footer-brand .logo .mark { color: var(--paper); font-size: 1.5rem; }
.footer-brand .logo .sub { color: #B8B09A; border-color: rgba(212, 165, 116, 0.3); }
.footer-brand .brand-icon { color: #D4A574; }
.footer-brand p {
  margin-top: 18px;
  font-size: 0.88rem;
  color: #9A9078;
  line-height: 1.6;
  max-width: 320px;
}
.footer-col h4 {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #D4A574;
  margin-bottom: 18px;
  font-weight: 500;
}
.footer-col ul { list-style: none; }
.footer-col li {
  font-size: 0.88rem;
  margin-bottom: 10px;
  color: #B8B09A;
  line-height: 1.5;
}
.footer-col a:hover { color: var(--paper); }
.footer-bottom {
  border-top: 1px solid rgba(245, 240, 228, 0.12);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  color: #7A7160;
}

/* ─────── Animations ─────── */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0s !important;
    transition-duration: 0s !important;
  }
  .fade-in { opacity: 1; transform: none; }
}


/* ============================================================
   WordPress integration styles
   Everything below exists only to make WordPress output match
   the approved design. Nothing here alters the design itself.
   ============================================================ */

/* ─────── Logged-in admin bar offset for the sticky header ─────── */
body.admin-bar header { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar header { top: 46px; }
}

/* ─────── Core accessibility / utility classes ─────── */
.screen-reader-text {
  border: 0;
  clip-path: inset(50%);
  height: 1px;
  width: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  word-wrap: normal !important;
}
.screen-reader-text:focus {
  clip-path: none;
  background: var(--paper);
  color: var(--ink);
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  height: auto;
  width: auto;
  left: 8px;
  top: 8px;
  padding: 14px 22px;
  z-index: 100000;
}
.skip-link { position: absolute; }

.alignleft { float: left; margin: 6px 28px 18px 0; }
.alignright { float: right; margin: 6px 0 18px 28px; }
.aligncenter { display: block; margin: 24px auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 8px;
}

/* ─────── Primary nav (WordPress menu output) ─────── */
nav ul li { margin: 0; }
nav .current-menu-item > a { color: var(--amber); }

/* ─────── Contact Form 7 integration ───────
   CF7 wraps each control in span.wpcf7-form-control-wrap; these rules
   make that wrapper transparent so the underline-only fields render
   exactly as designed. */
.field .wpcf7-form-control-wrap {
  display: flex;
  flex-direction: column;
  width: 100%;
}
/* CF7 prints size/cols attributes on inputs; without these rules the
   controls' intrinsic width inflates the grid columns and breaks the
   two-column contact layout. */
.contact-grid > * { min-width: 0; }
.form-row .field { min-width: 0; }
.field input, .field select, .field textarea { width: 100%; max-width: 100%; }
.wpcf7 form { margin: 0; }
.wpcf7 form input[type="submit"] {
  margin-top: 14px;
  padding: 18px 36px;
  background: var(--forest);
  color: var(--paper);
  border: none;
  border-radius: 0;
  font-family: 'Instrument Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
  width: 100%;
}
.wpcf7 form input[type="submit"]:hover { background: var(--forest-deep); }
.wpcf7 form.sent input[type="submit"] { display: none; }
.wpcf7-not-valid-tip {
  font-family: 'Instrument Sans', sans-serif;
  font-size: 0.74rem;
  letter-spacing: 0.02em;
  color: var(--amber-dark);
  margin-top: 7px;
}
.wpcf7-response-output {
  border: none !important;
  margin: 20px 0 0 !important;
  padding: 14px 0 0 !important;
  border-top: 1px solid var(--rule) !important;
  font-size: 0.85rem;
  color: var(--amber-dark);
  line-height: 1.5;
}
.wpcf7 form.init .wpcf7-response-output,
.wpcf7 form.sent .wpcf7-response-output { display: none; }
.wpcf7 form .hidden-fields-container { display: none; border: 0; margin: 0; padding: 0; }
.wpcf7 form:not(.submitting) .wpcf7-spinner { display: none; }
.wpcf7 form.sent .form-row,
.wpcf7 form.sent button,
.wpcf7 form.sent .form-note,
.wpcf7 form.sent .wpcf7-spinner { display: none; }
.wpcf7 form.sent .success-msg { display: block; }

/* ─────── Interior pages (page.php) ─────── */
.page-plain { background: var(--bg); padding: 90px 0 110px; }
@media (max-width: 900px) { .page-plain { padding: 60px 0 70px; } }
.page-plain .section-head { margin-bottom: 50px; }
.entry-content { max-width: 680px; }
.entry-content > * + * { margin-top: 1.35em; }
.entry-content p { color: var(--ink-soft); }
.entry-content a {
  color: var(--amber-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.entry-content a:hover { color: var(--amber); }
.entry-content h2, .entry-content h3 { margin-top: 1.9em; }
.entry-content h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.entry-content h3 { font-size: 1.3rem; }
.entry-content ul, .entry-content ol { padding-left: 1.3em; color: var(--ink-soft); }
.entry-content li { margin-bottom: 0.5em; }
.entry-content li::marker { color: var(--amber); }
.entry-content blockquote {
  padding: 22px 28px;
  background: var(--paper);
  border-left: 3px solid var(--amber);
  font-family: 'Fraunces', Georgia, serif;
  font-variation-settings: "opsz" 14, "SOFT" 80;
  color: var(--ink-soft);
}
.entry-content img { max-width: 100%; height: auto; }
.entry-content .wp-block-image figcaption {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 8px;
}

/* ─────── Executor guide single (single.php) ─────── */
.guide-single { background: var(--bg); padding: 90px 0 110px; }
@media (max-width: 900px) { .guide-single { padding: 60px 0 70px; } }
.guide-head {
  max-width: 680px;
  margin: 0 auto 54px;
}
.guide-head .eyebrow { display: block; margin-bottom: 18px; }
.guide-head h1 {
  font-size: clamp(2.1rem, 4.4vw, 3.2rem);
  line-height: 1.1;
  margin-bottom: 22px;
}
.guide-meta {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.guide-thumb { max-width: 680px; margin: 0 auto 44px; }
.guide-thumb img { width: 100%; height: auto; display: block; }
.guide-body {
  max-width: 680px;
  margin: 0 auto;
  font-size: 1.02rem;
  line-height: 1.75;
}
.guide-foot {
  max-width: 680px;
  margin: 70px auto 0;
  padding-top: 36px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.guide-foot .back-link {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--ink-soft);
  transition: color 0.2s;
}
.guide-foot .back-link:hover { color: var(--amber); }

/* ─────── Executor guide archive / resources page ─────── */
.guide-archive { background: var(--bg); padding: 90px 0 110px; }
@media (max-width: 900px) { .guide-archive { padding: 60px 0 70px; } }
.resource-item a.resource-link { display: block; }
.resource-item a.resource-link:hover .resource-title { color: var(--amber-dark); }
.resource-title { transition: color 0.2s; }
.archive-pagination {
  margin-top: 50px;
  display: flex;
  gap: 18px;
  font-size: 0.86rem;
  font-weight: 500;
}
.archive-pagination .page-numbers {
  padding: 8px 14px;
  border: 1px solid var(--rule);
  color: var(--ink-soft);
  transition: all 0.2s;
}
.archive-pagination .page-numbers.current,
.archive-pagination .page-numbers:hover {
  background: var(--forest);
  color: var(--paper);
  border-color: var(--forest);
}

/* ─────── Footer menu (optional slot) ─────── */
.footer-menu { margin-bottom: 26px; }
.footer-menu ul {
  list-style: none;
  display: flex;
  gap: 10px 28px;
  flex-wrap: wrap;
}
.footer-menu a {
  font-size: 0.85rem;
  color: #B8B09A;
}
.footer-menu a:hover { color: var(--paper); }
