/* ==========================================================================
   Killian Community Management — 2026 facelift layer
   Loaded LAST, after styles.css and kcm-extras.css, on every page.
   It refines the existing brand rather than replacing it: same forest greens,
   same clover, warmer ivory ground, a restrained muted-gold accent, and an
   elegant serif for the large headlines. Delete the <link> to this file and
   the site falls back to its previous look.
   ========================================================================== */

:root {
  --ivory:      #faf7f0;
  --ivory-deep: #f2eee3;
  --gold:       #b08d57;   /* ornament / rules only */
  --gold-text:  #82652f;   /* gold that passes contrast on ivory */
  --ink:        #13291f;
  --serif: 'Cormorant Garamond', 'Georgia', 'Times New Roman', serif;
}

body { background: var(--ivory); color: var(--ink); }

/* Large headings in the serif; small headings stay in Poppins for legibility. */
h1, h2, .hero h1, .page-banner h1, .section-heading h2, .cta-band h2 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.005em;
}
.section-heading h2, .two-col h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.15; }
.page-banner h1 { font-size: clamp(2.3rem, 4.6vw, 3.2rem); }

/* Gold kicker with a short rule — replaces the green uppercase label. */
.kicker, .section-heading .kicker {
  color: var(--gold-text);
  font-weight: 600;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.kicker::before { content: ""; width: 28px; height: 1px; background: var(--gold); }

.section-alt { background: var(--ivory-deep); }

/* ---------- Buttons: one consistent family ---------- */
.btn { padding: 14px 26px; font-size: 0.95rem; letter-spacing: 0.01em; }
.btn-primary {
  background: var(--forest-800);
  color: #fff;
  box-shadow: 0 6px 18px rgba(8, 28, 21, 0.18);
}
.btn-primary:hover { background: var(--forest-900); color: #fff; }
.btn-gold {
  background: var(--gold);
  color: #1d1408;
  box-shadow: 0 6px 18px rgba(8, 28, 21, 0.25);
}
.btn-gold:hover { background: #c19e66; color: #1d1408; }
.btn-ghost {
  background: transparent;
  border-color: var(--forest-800);
  color: var(--forest-800);
}
.btn-ghost:hover { background: var(--forest-800); color: #fff; }
.btn:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, .nav-toggle-btn:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* Header CTA */
.nav-cta { background: var(--forest-800); }
.nav-cta:hover { background: var(--forest-900); }
/* Mobile-only CTA inside the menu (the header pill is hidden below 560px). */
.nav-links .nav-mobile-cta { display: none; }
@media (max-width: 1180px) {
  .nav-links .nav-mobile-cta {
    display: block;
    margin-top: 10px;
    text-align: center;
    background: var(--forest-800);
    color: #fff !important;
    border-radius: 999px;
    border-bottom: 0 !important;
    font-weight: 600;
  }
  .nav-toggle-checkbox:checked ~ .nav-links { max-height: 560px; }
}

/* ---------- Topbar ---------- */
.topbar { font-size: 0.82rem; }
.topbar a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Home hero ---------- */
.hero.hero-brand { padding: 104px 24px 120px; }
.hero .hero-eyebrow {
  background: transparent;
  border: 0;
  padding: 0;
  border-radius: 0;
  color: #e6d3ad;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  backdrop-filter: none;
}
.hero h1 { font-size: clamp(2.5rem, 5.2vw, 4rem); line-height: 1.06; max-width: 15ch; }
.hero .lead { font-size: 1.08rem; color: #e4efe7; max-width: 560px; margin-bottom: 14px; }
.hero .lead + .lead { margin-bottom: 32px; }
.hero .btn-outline { border-color: rgba(255,255,255,0.65); }

/* ---------- Credibility strip (replaces the old stats bar) ---------- */
.cred-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--forest-900);
  border-radius: var(--radius);
  margin-top: -64px;
  position: relative;
  z-index: 5;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.cred-strip > div {
  padding: 28px 20px;
  text-align: center;
  border-left: 1px solid rgba(216,243,220,0.12);
}
.cred-strip > div:first-child { border-left: 0; }
.cred-strip strong {
  display: block;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.9rem;
  line-height: 1.1;
  color: #e6d3ad;
}
.cred-strip span {
  display: block;
  margin-top: 6px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-200);
}
@media (max-width: 860px) {
  .cred-strip { grid-template-columns: 1fr 1fr; margin-top: -48px; }
  .cred-strip > div:nth-child(3) { border-left: 0; }
  .cred-strip > div:nth-child(n+3) { border-top: 1px solid rgba(216,243,220,0.12); }
}

/* ---------- Pillars (Why Killian) ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(176,141,87,0.45);
}
.pillar { padding: 34px 26px 10px; border-left: 1px solid rgba(19,41,31,0.08); }
.pillar:first-child { border-left: 0; padding-left: 0; }
.pillar svg { width: 34px; height: 34px; stroke: var(--forest-700); fill: none; stroke-width: 1.5; margin-bottom: 18px; }
.pillar h3 { font-size: 1.08rem; margin-bottom: 10px; color: var(--forest-900); }
.pillar p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }
@media (max-width: 960px) {
  .pillars { grid-template-columns: 1fr 1fr; }
  .pillar:nth-child(3) { border-left: 0; padding-left: 0; }
}
@media (max-width: 560px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-left: 0; padding-left: 0; padding-right: 0; border-bottom: 1px solid rgba(19,41,31,0.08); padding-bottom: 26px; }
}

.lede-center { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.lede-center p { color: var(--text-muted); font-size: 1.05rem; }

/* ---------- Founder ---------- */
.founder {
  display: grid;
  grid-template-columns: minmax(260px, 5fr) 7fr;
  gap: 64px;
  align-items: center;
}
.founder-photo { position: relative; margin: 0; }
.founder-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: 50% 22%;
  border-radius: 6px;
  box-shadow: var(--shadow-md);
}
/* thin offset gold frame */
.founder-photo::before {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--gold);
  border-radius: 6px;
  z-index: -1;
}
.founder-photo { z-index: 0; }
.founder .role { font-weight: 600; color: var(--forest-800); margin: 0 0 4px; }
.founder .creds {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gold-text);
  margin: 0 0 22px;
}
.founder h3.subhead {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  font-style: italic;
  color: var(--forest-800);
  margin: 0 0 16px;
}
.founder p { color: #2f4339; }
@media (max-width: 860px) {
  .founder { grid-template-columns: 1fr; gap: 40px; }
  .founder-photo { max-width: 420px; margin: 0 18px 0 0; }
}

/* ---------- Services tiles ---------- */
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.svc-tile {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: #fff;
  border: 1px solid rgba(19,41,31,0.09);
  border-radius: var(--radius);
  padding: 28px 26px;
  color: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.svc-tile:hover { color: inherit; border-color: var(--gold); box-shadow: var(--shadow-sm); }
.svc-tile svg { width: 30px; height: 30px; stroke: var(--forest-700); fill: none; stroke-width: 1.5; }
.svc-tile h3 { font-size: 1.04rem; margin: 6px 0 0; line-height: 1.35; }
.svc-tile p { font-size: 0.93rem; color: var(--text-muted); margin: 0; }
.svc-tile .more { margin-top: auto; padding-top: 8px; font-size: 0.86rem; font-weight: 600; color: var(--forest-700); }
@media (max-width: 960px) { .svc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } }

.center-actions { text-align: center; margin-top: 40px; }

/* ---------- Board frustrations panel ---------- */
.board-panel {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 56px;
  align-items: center;
  background: var(--forest-900);
  color: var(--green-100);
  border-radius: var(--radius);
  padding: 60px 56px;
  position: relative;
  overflow: hidden;
}
.board-panel::after {
  content: "";
  position: absolute;
  right: -60px; bottom: -60px;
  width: 260px; height: 260px;
  background: url("clover-logo.png") center / contain no-repeat;
  opacity: 0.07;
  pointer-events: none;
}
.board-panel h2 { color: #fff; font-size: clamp(1.8rem, 3.2vw, 2.4rem); line-height: 1.15; }
.board-panel .kicker { color: #e6d3ad; }
.board-panel .kicker::before { background: #e6d3ad; }
.board-panel p { color: #d6e6dc; }
.board-panel ul { list-style: none; padding: 0; margin: 0; }
.board-panel li {
  padding: 14px 0 14px 30px;
  border-bottom: 1px solid rgba(216,243,220,0.14);
  position: relative;
  color: #fff;
}
.board-panel li::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 14px; height: 1px;
  background: var(--gold);
}
@media (max-width: 860px) {
  .board-panel { grid-template-columns: 1fr; padding: 44px 28px; gap: 28px; }
}

/* ---------- Service area ---------- */
.area {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 56px;
  align-items: start;
}
.county-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 28px;
}
.county-list li {
  padding: 13px 0;
  border-bottom: 1px solid rgba(19,41,31,0.10);
  font-weight: 500;
  color: var(--forest-900);
  display: flex;
  align-items: center;
  gap: 10px;
}
.county-list img { width: 16px; height: 16px; }
@media (max-width: 860px) { .area { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 420px) { .county-list { grid-template-columns: 1fr; } }

/* ---------- Closing band ---------- */
.cta-band {
  background:
    linear-gradient(120deg, rgba(8,28,21,0.96), rgba(27,67,50,0.92)),
    url("clover-band.jpg") center / cover no-repeat;
  border-radius: var(--radius);
  padding: 64px 40px;
}
.cta-band .tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  color: #e6d3ad;
  margin: 0 0 8px;
}
.cta-band .cta-pair { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Interior page banner: quieter, less gradient ---------- */
.page-banner {
  background:
    linear-gradient(180deg, rgba(8,28,21,0.90), rgba(27,67,50,0.92)),
    url("hero-banner.jpg") center / cover no-repeat,
    var(--forest-900);
}
.page-banner p { color: #dfeae2; }

/* ---------- Cards on ivory ---------- */
.card { border-color: rgba(19,41,31,0.09); }
.card-icon { background: var(--forest-800); }
.service-row { border-bottom-color: rgba(19,41,31,0.10); }
.service-row .service-media { background: linear-gradient(135deg, #e9efe6, #cfe3d4); }
.service-row .tag { background: transparent; border: 1px solid var(--gold); color: var(--gold-text); }
.list-check li::before { background: var(--forest-700); }

/* ---------- Forms ---------- */
.form-row input, .form-row textarea, .form-row select { background: #fff; border-color: #cfd9d1; }
.form-row .hint { display: block; font-weight: 400; color: var(--text-muted); font-size: 0.8rem; margin-top: 2px; }
.form-privacy { font-size: 0.82rem; color: var(--text-muted); margin: 4px 0 18px; }
.form-privacy a { text-decoration: underline; text-underline-offset: 2px; }
.req { color: #9b2c2c; }

/* ---------- Landing page ---------- */
.lp-hero { padding: 84px 24px 96px; }
.lp-hero .hero-inner { align-items: center; }
.lp-hero .lp-card {
  flex: 1 1 340px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(230,211,173,0.35);
  border-radius: var(--radius);
  padding: 28px;
  color: #fff;
}
.lp-hero .lp-card img {
  width: 92px; height: 92px; border-radius: 50%;
  object-fit: cover; object-position: 50% 22%;
  border: 2px solid #e6d3ad;
  margin-bottom: 14px;
}
.lp-hero .lp-card strong { display: block; font-size: 1.05rem; }
.lp-hero .lp-card span { color: #e6d3ad; font-size: 0.9rem; letter-spacing: 0.06em; }
.lp-hero .lp-card p { color: #d6e6dc; font-size: 0.94rem; margin: 12px 0 0; }

.challenge-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; }
.challenge {
  display: grid;
  grid-template-columns: 1fr;
  padding: 26px 0;
  border-top: 1px solid rgba(19,41,31,0.10);
}
.challenge h3 { font-size: 1.05rem; margin: 0 0 6px; color: var(--forest-900); }
.challenge p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }
.challenge .ours { margin-top: 10px; color: var(--forest-800); font-size: 0.95rem; }
.challenge .ours b { color: var(--gold-text); font-weight: 600; }
@media (max-width: 760px) { .challenge-grid { grid-template-columns: 1fr; } }

.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; }
.steps li { counter-increment: s; position: relative; padding: 0 0 22px 52px; }
.steps li::before {
  content: counter(s);
  position: absolute; left: 0; top: -2px;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold-text);
  font-family: var(--serif); font-weight: 600; font-size: 1.15rem;
  display: flex; align-items: center; justify-content: center;
}
.steps h4 { margin: 0 0 4px; font-size: 1rem; }
.steps p { margin: 0; color: var(--text-muted); font-size: 0.94rem; }

.lp-form-wrap { display: grid; grid-template-columns: 7fr 5fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .lp-form-wrap { grid-template-columns: 1fr; } }

/* ---------- Prose (privacy) ---------- */
.prose { max-width: 72ch; margin: 0 auto; }
.prose h2 { font-size: 1.7rem; margin-top: 1.8em; }
.prose p, .prose li { line-height: 1.75; }
.prose ul { padding-left: 1.2em; }
.draft-note {
  border: 1px dashed var(--gold);
  background: #fffaf0;
  padding: 16px 20px;
  border-radius: 10px;
  font-size: 0.9rem;
  color: #5a4a2a;
  margin-bottom: 30px;
}

/* ---------- Footer ---------- */
.site-footer { background: #06150f; }
.footer-bottom a { color: var(--green-200); }
.footer-bottom a:hover { color: #fff; }
.footer-tagline { font-family: var(--serif); font-style: italic; font-size: 1.02rem; color: #e6d3ad; }

/* Keep long words / emails from forcing horizontal scroll on phones. */
.footer-links li, .contact-info-card { overflow-wrap: anywhere; }

@media (max-width: 560px) {
  .hero.hero-brand, .lp-hero { padding: 72px 20px 92px; }
  .hero-actions .btn, .cta-band .btn { width: 100%; justify-content: center; }
  .cta-band { padding: 44px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .btn, .card, .svc-tile { transition: none; }
  .btn:hover, .card:hover { transform: none; }
}

/* ---------- Fixes after test renders (Oct 2026) ---------- */
/* The longer header button ("Request a Consultation" replaced "Get a Quote") made the
   menu collide with the brand. Give the header a little more room on wide screens and
   switch to the menu button below 1320px; these repeat kcm-extras.css's collapse rules. */
.nav { max-width: 1340px; }
.brand { margin-right: 20px; }
@media (max-width: 1320px) {
  .nav-toggle-btn { display: flex; }
  .nav-links {
    flex-direction: column; gap: 4px; align-items: stretch;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); box-shadow: var(--shadow-md);
    max-height: 0; opacity: 0; overflow: hidden; padding: 0 24px;
    transition: max-height 0.3s ease, opacity 0.25s ease, padding 0.3s ease;
  }
  .nav-links a { display: block; padding: 12px 2px; border-bottom: 1px solid var(--green-200); font-size: 0.95rem; }
  .nav-login { border: 0; padding: 12px 2px; border-radius: 0; color: var(--green-700) !important; border-bottom: 1px solid var(--green-200) !important; }
  .nav-login:hover { background: transparent; color: var(--forest-800) !important; }
  .nav-toggle-checkbox:checked ~ .nav-links { max-height: 600px; opacity: 1; padding: 12px 24px 20px; }
  .nav-links .nav-mobile-cta {
    display: block; margin-top: 10px; text-align: center;
    background: var(--forest-800); color: #fff !important;
    border-radius: 999px; border-bottom: 0 !important; font-weight: 600;
  }
}

/* Consistent serif section headings everywhere, not only inside .section-heading */
main h2 { font-size: clamp(1.85rem, 3.4vw, 2.6rem); line-height: 1.15; }
.cta-band .tagline { margin: 0 auto 8px; }
.hero h1 { max-width: 17ch; }

@media (max-width: 860px) {
  .founder-photo { max-width: 360px; }
  .founder-photo img { aspect-ratio: 1 / 1; object-position: 50% 30%; }
}
@media (max-width: 560px) {
  .topbar .topbar-long { display: none; }
  .hero-brand .hero-figure { display: none; }
}
.footer-tagline { display: inline-flex; align-items: center; gap: 6px; }
