/* Matt Lawer CRE — Lee & Associates brand system
   Red PMS 202 #98002E | Bright Red PMS 200 #CD1442 | Merlot PMS 1817 #4E131E
   Charcoal PMS 425 #303C42 | Dark Navy PMS 3035 #003146 | Slate PMS 424 #7E8083
   Mist PMS 7542 #A9C3CB | Fonts: Nunito Sans (Avenir Next alt) + Georgia (Minion Pro alt) */
:root {
  --red: #98002E;
  --bright: #CD1442;
  --merlot: #4E131E;
  --charcoal: #303C42;
  --navy: #003146;
  --slate: #7E8083;
  --mist: #A9C3CB;
  --paper: #F7F8F9;
  --ink: #24292D;
  --line: #E2E6E8;
  --grad: linear-gradient(145deg, #CD1442 0%, #98002E 65%, #4E131E 100%);
  --maxw: 1080px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito Sans', 'Avenir Next', -apple-system, 'Segoe UI', Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .serif { font-family: 'Fraunces', Georgia, 'Minion Pro', serif; font-weight: 600; line-height: 1.15; letter-spacing: -0.01em; }
body::after {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 200;
  border: 5px solid; border-image: linear-gradient(145deg, #CD1442 0%, #98002E 55%, #4E131E 100%) 1;
  box-shadow: inset 0 0 46px rgba(16,29,54,0.10);
}
a { color: var(--red); }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 14px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand {
  font-family: 'Fraunces', Georgia, serif; font-weight: 700; font-size: 1.6rem;
  color: var(--charcoal); text-decoration: none; letter-spacing: 0.01em; line-height: 1;
}
.brand span {
  font-style: italic; font-weight: 600;
  background: linear-gradient(145deg, #CD1442, #98002E 60%, #4E131E);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: 2px;
}
.nav-links { display: flex; gap: 26px; align-items: center; flex-wrap: wrap; }
.nav-links a { text-decoration: none; font-size: 0.92rem; font-weight: 700; color: var(--charcoal); }
.nav-links a:hover { color: var(--red); }
.nav-item { position: relative; }
.nav-item > a .chev { font-size: 0.6rem; color: var(--slate); margin-left: 2px; }
.dropdown {
  position: absolute; top: 100%; left: -16px; min-width: 260px;
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--red);
  border-radius: 0 0 8px 8px; box-shadow: 0 22px 44px -16px rgba(48,60,66,0.35);
  padding: 10px 0; display: none; z-index: 60;
}
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { display: block; }
.dropdown a {
  display: block; padding: 9px 18px; font-size: 0.88rem; font-weight: 600;
  color: var(--charcoal); white-space: nowrap;
}
.dropdown a:hover { background: var(--paper); color: var(--red); }

/* Buttons */
.btn {
  display: inline-block; background: var(--charcoal); color: #fff !important;
  padding: 12px 26px; border-radius: 4px; text-decoration: none;
  font-family: 'Nunito Sans', Arial, sans-serif;
  font-weight: 700; font-size: 0.95rem; border: none; cursor: pointer;
  transition: opacity 0.2s ease, transform 0.15s ease;
}
.btn:hover { opacity: 0.9; transform: translateY(-1px); }
.btn.red { background: var(--grad); }
.btn.ghost { background: transparent; border: 1px solid rgba(255,255,255,0.5); }
.btn.ghost:hover { background: rgba(255,255,255,0.1); }

/* Hero */
.hero { background: linear-gradient(160deg, var(--charcoal) 0%, var(--navy) 100%); color: #fff; position: relative; overflow: hidden; }
.hero::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 45% at 88% 15%, rgba(205,20,66,0.18), transparent 60%),
    radial-gradient(ellipse 40% 40% at 8% 95%, rgba(169,195,203,0.10), transparent 60%);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; padding: 104px 24px 92px; max-width: var(--maxw); margin: 0 auto; }
.kicker { text-transform: uppercase; letter-spacing: 0.22em; font-size: 0.78rem; font-weight: 800; color: var(--mist); margin-bottom: 8px; }
.kicker::before { content: ''; display: inline-block; width: 34px; height: 3px; background: var(--grad); margin-right: 12px; vertical-align: middle; }
.hero h1 { font-size: clamp(2.4rem, 5.4vw, 3.9rem); color: #fff; max-width: 820px; margin-top: 16px; }
.hero h1 em { font-style: italic; color: var(--mist); }
.hero p.lede { margin: 26px 0 38px; font-size: 1.15rem; max-width: 620px; color: rgba(255,255,255,0.82); }
.hero .cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta { margin-top: 54px; display: flex; gap: 34px; flex-wrap: wrap; font-size: 0.85rem; color: rgba(255,255,255,0.6); }
.hero-meta strong { display: block; color: #fff; font-size: 1.05rem; font-family: Georgia, serif; }

/* Sections */
section { padding: 84px 0; }
section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-kicker { text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.74rem; font-weight: 800; color: var(--red); margin-bottom: 12px; }
.sec-kicker::before { content: ''; display: inline-block; width: 28px; height: 3px; background: var(--grad); margin-right: 10px; vertical-align: middle; }
h2.sec-title { font-size: clamp(1.7rem, 3.2vw, 2.4rem); color: var(--charcoal); margin-bottom: 18px; }
.sec-intro { max-width: 640px; color: var(--slate); margin-bottom: 44px; }

/* About */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 56px; align-items: start; }
.about-grid p { margin-bottom: 16px; }
.headshot-card { background: var(--charcoal); border-radius: 8px; overflow: hidden; box-shadow: 0 24px 48px -20px rgba(48,60,66,0.45); }
.headshot-card img { width: 100%; height: 340px; object-fit: cover; }
.headshot-fallback {
  height: 340px; display: flex; align-items: center; justify-content: center;
  font-family: Georgia, serif; font-size: 5rem; color: #fff;
  background: var(--grad);
}
.headshot-card .cap { padding: 16px 20px; color: rgba(255,255,255,0.85); font-size: 0.88rem; }
.badge-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.badge { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; background: #fff; border: 1px solid var(--line); color: var(--charcoal); padding: 7px 14px; border-radius: 999px; }

/* Cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--red); border-radius: 6px; padding: 30px 26px; transition: box-shadow 0.2s ease, transform 0.2s ease; }
section.alt .card { background: var(--paper); }
.card:hover { box-shadow: 0 18px 40px -18px rgba(78,19,30,0.3); transform: translateY(-3px); }
.card .icon {
  width: 44px; height: 44px; border-radius: 6px; display: flex; align-items: center; justify-content: center;
  background: var(--grad); color: #fff; font-family: Georgia, serif;
  font-size: 1.2rem; font-weight: 700; margin-bottom: 18px;
}
.card h3 { font-size: 1.18rem; color: var(--charcoal); margin-bottom: 10px; }
.card p { font-size: 0.94rem; color: var(--slate); }

/* Timeline */
.timeline { list-style: none; max-width: 720px; }
.timeline li { position: relative; padding: 0 0 34px 64px; }
.timeline li::before {
  content: attr(data-step);
  position: absolute; left: 0; top: -2px;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--grad); color: #fff;
  font-family: Georgia, serif; font-weight: 700; font-size: 1.05rem;
  display: flex; align-items: center; justify-content: center;
}
.timeline li:not(:last-child)::after { content: ''; position: absolute; left: 20px; top: 44px; bottom: 6px; width: 2px; background: var(--line); }
.timeline h3 { font-size: 1.08rem; color: var(--charcoal); margin-bottom: 4px; }
.timeline p { font-size: 0.94rem; color: var(--slate); }

/* Blog cards */
.post-card { display: flex; flex-direction: column; }
.post-card .tag { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red); margin-bottom: 12px; }
.post-card h3 { margin-bottom: 10px; }
.post-card h3 a { color: var(--charcoal); text-decoration: none; }
.post-card h3 a:hover { text-decoration: underline; text-decoration-color: var(--red); }
.post-card .date { font-size: 0.8rem; color: var(--slate); margin-bottom: 8px; }
.post-card .more { margin-top: auto; padding-top: 14px; font-weight: 700; font-size: 0.9rem; }

/* Article pages */
.article-hero { background: linear-gradient(160deg, var(--charcoal), var(--navy)); color: #fff; padding: 84px 0 64px; position: relative; }
.article-hero::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad); }
.article-hero .wrap { max-width: 800px; }
.article-hero h1 { font-size: clamp(1.9rem, 4vw, 2.8rem); color: #fff; }
.article-hero .meta { margin-top: 20px; color: rgba(255,255,255,0.65); font-size: 0.88rem; }
.article-body { max-width: 760px; margin: 0 auto; padding: 64px 24px; }
.article-body h2 { font-size: 1.55rem; color: var(--charcoal); margin: 44px 0 16px; }
.article-body p { margin-bottom: 18px; }
.article-body ul, .article-body ol { margin: 0 0 18px 24px; }
.article-body li { margin-bottom: 10px; }
.article-body strong { color: var(--merlot); }
.article-body blockquote {
  border-left: 3px solid var(--red); background: #fff; border-radius: 0 6px 6px 0;
  padding: 20px 24px; margin: 28px 0; font-family: Georgia, serif;
  font-size: 1.12rem; color: var(--charcoal);
}
.faq { margin-top: 52px; border-top: 1px solid var(--line); padding-top: 36px; }
.faq h2 { margin-top: 0; }
.faq details { border: 1px solid var(--line); border-radius: 6px; background: #fff; margin-bottom: 12px; padding: 16px 20px; }
.faq summary { font-weight: 700; font-family: 'Nunito Sans', Arial, sans-serif; color: var(--charcoal); cursor: pointer; }
.faq details p { margin: 12px 0 4px; color: var(--slate); }
.author-box { margin-top: 52px; display: flex; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 22px 24px; }
.author-box .mono {
  flex: none; width: 56px; height: 56px; border-radius: 50%;
  background: var(--grad); color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: Georgia, serif; font-weight: 700; font-size: 1.3rem;
}
.author-box p { font-size: 0.9rem; color: var(--slate); }

/* Form */
.form-panel { background: var(--charcoal); border-radius: 10px; padding: 48px; color: #fff; display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: start; position: relative; overflow: hidden; }
.form-panel::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--grad); }
.form-panel h2 { color: #fff; font-size: 1.9rem; margin-bottom: 14px; }
.form-panel .blurb { color: rgba(255,255,255,0.75); font-size: 0.98rem; margin-bottom: 22px; }
.form-panel .direct { font-size: 0.92rem; color: rgba(255,255,255,0.65); line-height: 2; }
.form-panel .direct a { color: var(--mist); text-decoration: none; }
form.lead-form { display: grid; gap: 14px; }
.lead-form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lead-form label { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255,255,255,0.7); display: block; margin-bottom: 6px; }
.lead-form input, .lead-form select, .lead-form textarea {
  width: 100%; padding: 12px 14px; border-radius: 4px; border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.07); color: #fff; font: inherit; font-size: 0.95rem;
}
.lead-form select option { color: var(--ink); }
.lead-form input::placeholder, .lead-form textarea::placeholder { color: rgba(255,255,255,0.4); }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { outline: 2px solid var(--bright); border-color: transparent; }
.hidden { display: none; }

/* Footer */
footer { background: var(--charcoal); color: rgba(255,255,255,0.65); padding: 44px 0; font-size: 0.85rem; border-top: 4px solid; border-image: var(--grad) 1; }
footer .wrap { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
footer a { color: rgba(255,255,255,0.85); text-decoration: none; margin-left: 18px; }
footer a:hover { color: var(--mist); }

/* Sleekness pass */
.wrap.narrow p { margin-bottom: 18px; }

/* Call me when */
.callwhen { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.callwhen .cw {
  background: #fff; border: 1px solid var(--line); border-left: 3px solid var(--red);
  border-radius: 6px; padding: 16px 18px; font-size: 0.92rem; color: var(--charcoal);
  font-weight: 600; line-height: 1.45;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.callwhen .cw:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -16px rgba(78,19,30,0.35); }
.callwhen .cw span { display: block; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red); font-weight: 800; margin-bottom: 6px; }
.caps { margin-top: 34px; font-size: 0.92rem; color: var(--slate); max-width: 800px; }
.caps strong { color: var(--charcoal); }
.article-hero { background-size: cover; background-position: center; }
@media (max-width: 1000px) { .callwhen { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .callwhen { grid-template-columns: 1fr; } }

/* Regions + proof */
.region-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.region-card {
  display: block; min-height: 240px; border-radius: 10px; overflow: hidden;
  background-size: cover; background-position: center; text-decoration: none;
  padding: 18px 16px; position: relative; color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-bottom: 3px solid var(--red);
}
.region-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -18px rgba(78,19,30,0.5); }
.region-card h3 { color: #fff; font-size: 1.25rem; margin-bottom: 6px; }
.region-card p { font-size: 0.82rem; color: rgba(255,255,255,0.85); line-height: 1.5; }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.proof-stat {
  background: linear-gradient(160deg, var(--charcoal), var(--navy)); border-radius: 10px;
  padding: 26px 22px; color: rgba(255,255,255,0.78); font-size: 0.88rem; line-height: 1.55;
  border-top: 3px solid; border-image: linear-gradient(90deg, #CD1442, #98002E) 1;
}
.proof-stat strong {
  display: block; font-family: 'Fraunces', Georgia, serif; font-size: 2rem; color: #fff;
  margin-bottom: 8px;
}
@media (max-width: 1000px) { .region-grid { grid-template-columns: repeat(2, 1fr); } .proof-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .region-grid, .proof-grid { grid-template-columns: 1fr; } }

/* Figures */
.fig {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  padding: 28px 28px 18px; margin: 34px 0;
  box-shadow: 0 16px 36px -22px rgba(48,60,66,0.28);
}
.fig svg { width: 100%; height: auto; display: block; }
.fig figcaption {
  font-size: 0.82rem; color: var(--slate); margin-top: 14px;
  padding-top: 12px; border-top: 1px solid var(--line);
}
.fig figcaption strong { color: var(--charcoal); }
section.alt { border-top: none; border-bottom: none; position: relative; }
section.alt::before, section.alt::after {
  content: ''; position: absolute; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--bright), var(--red) 40%, transparent 90%);
  opacity: 0.5;
}
section.alt::before { top: 0; }
section.alt::after { bottom: 0; display: none; }
.more a { text-decoration: none; font-weight: 700; color: var(--red); }
.more a:hover { text-decoration: underline; text-underline-offset: 4px; }
.step-eyebrow { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--slate); margin-bottom: 6px; }
.process-hero-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.process-hero-links a {
  color: #fff; text-decoration: none; font-size: 0.85rem; font-weight: 700;
  border: 1px solid rgba(255,255,255,0.35); border-radius: 999px; padding: 8px 16px;
}
.process-hero-links a:hover { border-color: var(--bright); color: var(--mist); }

@media (max-width: 860px) {
  .dropdown { display: none !important; }
  .about-grid, .form-panel { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .lead-form .row2 { grid-template-columns: 1fr; }
  .nav-links { gap: 16px; }
  .hero-inner { padding: 72px 24px 64px; }
  section { padding: 60px 0; }
  .form-panel { padding: 32px 24px; }
}
