/* =========================================================
   Hendrickson Law - hendricksonlawok.com
   Brand palette: Black #000000 · Gold #b8922a (adopted from disciplemission.com)
   Warm cream background site-wide (hero color) · gold as accent
   ========================================================= */

:root {
  --black: #000000;
  --gold: #b8922a;          /* brand gold (disciplemission.com) - accents, button text on black */
  --gold-light: #d4b06a;    /* lighter gold - fading dividers */
  --gold-deep: #b8922a;     /* brand gold (unified) */
  --gold-ink: #b8922a;      /* brand gold for gold-toned text (unified) */
  --ink: #1a1a1a;
  --charcoal: #2a2a2a;
  --gray: #555555;
  --gray-light: #6f6f6a;
  --line: #e2dccc;          /* warm hairline that reads on cream */
  --paper: #ffffff;         /* raised surfaces: cards, forms, menus */
  --cream: #f5f1e6;         /* site-wide background (hero color) */
  --cream-2: #efe9da;       /* slightly deeper warm band */
  --gold-tint: #efe7d0;     /* soft warm wash for accent bands */
  --gold-tint-line: #e3dabb;

  --display: "Cinzel", Georgia, "Times New Roman", serif;  /* classical caps - all headings, hero + brand (disciplemission.com) */
  --serif: Georgia, "Times New Roman", serif;              /* generic serif fallback (Playfair removed) */
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --maxw: 1160px;
  --radius: 4px;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
  --shadow-lg: 0 24px 60px rgba(0,0,0,.12);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .035em; line-height: 1.2; color: var(--ink); margin: 0 0 .5em; }
h1 { font-size: clamp(1.7rem, 4.6vw, 3.2rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section--tight { padding: 60px 0; }
.section--cream { background: var(--paper); }
.eyebrow {
  font-family: var(--sans); font-weight: 700; letter-spacing: .18em;
  text-transform: uppercase; font-size: .72rem; color: var(--gold-ink); margin: 0 0 .9em;
}
.lead { font-size: 1.18rem; color: var(--gray); }
.center { text-align: center; }
.measure { max-width: 720px; }
.measure.center { margin-left: auto; margin-right: auto; }
.gold-rule { width: 100%; max-width: none; height: 2px; background: linear-gradient(to right, transparent, var(--gold-light), transparent); border: 0; margin: 0 0 28px; }
.center .gold-rule { margin-left: auto; margin-right: auto; }
/* divider that matches the width of the heading text above it */
.head-fit { display: inline-block; }
.head-fit .gold-rule--full { width: 100%; max-width: none; margin: 10px 0 0; }
/* full-width divider that spans the container (aligns with card grid edges) */
.gold-rule--wide { width: 100%; max-width: none; margin: 18px 0 36px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-family: var(--sans); font-weight: 600; font-size: .95rem;
  letter-spacing: .02em; padding: 14px 28px; border-radius: var(--radius);
  cursor: pointer; transition: transform .15s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  border: 2px solid transparent; text-align: center;
}
.btn-gold { background: var(--black); color: var(--gold); border-color: var(--black); }
.btn-gold:hover { background: var(--charcoal); color: var(--gold); border-color: var(--charcoal); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,.2); }
.btn-outline { background: var(--black); color: var(--gold); border-color: var(--black); }
.btn-outline:hover { background: var(--charcoal); color: var(--gold); border-color: var(--charcoal); transform: translateY(-2px); }
.btn-dark { background: var(--black); color: var(--gold); border-color: var(--black); }
.btn-dark:hover { background: var(--charcoal); color: var(--gold); transform: translateY(-2px); }
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row { justify-content: center; }

/* ---------- Header / Nav (cream, dark text) ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.94);
  backdrop-filter: saturate(140%) blur(8px); border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 78px; }
.brand { display: flex; flex-direction: column; align-items: center; text-align: center; line-height: 1; padding: 8px 0; }
.brand-mark { font-family: var(--display); font-weight: 600; font-size: 1.15rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.brand-mark .amp { color: var(--gold); }
.brand-sub { font-family: var(--sans); font-size: .64rem; letter-spacing: .26em; text-transform: uppercase; color: var(--gold-ink); margin-top: 6px; }

.site-nav > ul { display: flex; align-items: center; gap: 6px; }
.site-nav a { color: var(--ink); font-weight: 500; font-size: .96rem; padding: 10px 14px; display: inline-block; border-radius: var(--radius); transition: color .15s ease; }
.site-nav a:hover { color: var(--gold-ink); }
.site-nav .nav-cta a { margin-left: 8px; }
.site-nav .nav-cta a.btn-gold, .site-nav .nav-cta a.btn-gold:hover { color: var(--gold); }

.has-dropdown { position: relative; }
.has-dropdown > a::after { content: none; }
.dropdown {
  position: absolute; top: 100%; left: 0; min-width: 248px; background: var(--paper);
  border: 1px solid var(--line); border-top: 2px solid var(--gold);
  box-shadow: var(--shadow-lg); padding: 8px; opacity: 0; visibility: hidden;
  transform: translateY(8px); transition: all .18s ease; border-radius: 0 0 var(--radius) var(--radius);
}
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 11px 14px; font-size: .92rem; border-radius: var(--radius); }
.dropdown a:hover { background: rgba(184,146,42,.08); color: var(--gold-ink); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 10px; }
.nav-toggle span { width: 26px; height: 2px; background: var(--ink); transition: .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero (inherits cream background) ---------- */
.hero { position: relative; background: transparent; color: var(--ink); overflow: hidden; }
/* hero uses a plain white background (no overlay) */
.hero-inner { position: relative; display: grid; grid-template-columns: 1.25fr .9fr; gap: 48px; align-items: center; padding: 96px 0 100px; }
.hero h1 { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .055em; font-size: clamp(1.3rem, 5.2vw, 2.7rem); line-height: 1.24; color: var(--ink); margin-bottom: .5em; overflow-wrap: break-word; }
.hero h1 .accent { color: var(--gold); }
.hero .lead { color: var(--gray); font-size: 1.22rem; max-width: 560px; }
.hero-cta { width: -moz-fit-content; width: fit-content; }
.hero-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 26px 0 30px; }
.badge { font-size: .8rem; font-weight: 600; letter-spacing: .04em; color: var(--gold-ink); border: 1px solid rgba(184,146,42,.45); background: rgba(184,146,42,.07); border-radius: 999px; padding: 7px 16px; }
.hero-card {
  background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--gold);
  border-radius: 8px; padding: 34px; box-shadow: var(--shadow-lg);
}
.hero-card h3 { color: var(--ink); font-size: 1.15rem; }
.hero-card .seal {
  width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%;
  border: 2px solid var(--gold); display: grid; place-items: center;
  font-family: var(--display); font-weight: 600; font-size: 1.4rem; color: var(--gold-ink); letter-spacing: .04em;
}
.hero-card ul.checks { margin: 16px 0 0; }
.hero-card ul.checks li { padding: 7px 0 7px 28px; position: relative; color: var(--gray); font-size: .95rem; border-top: 1px solid var(--line); }
.hero-card ul.checks li:first-child { border-top: 0; }
.hero-card ul.checks li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-ink); font-weight: 700; }

/* ---------- Stat / trust bar (delineated by gold accent) ---------- */
.statbar { background: var(--paper); border-top: 3px solid var(--gold); border-bottom: 1px solid var(--line); }
.statbar .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 34px; padding-bottom: 34px; }
.stat { text-align: center; color: var(--ink); }
.stat .num { font-family: var(--display); font-weight: 600; font-size: 2.1rem; line-height: 1; color: var(--gold); }
.stat .lbl { font-size: .82rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-top: 8px; color: var(--gray); }
.stat + .stat { border-left: 1px solid var(--line); }

/* ---------- Practice grid ---------- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: 6px; padding: 32px 28px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; position: relative; overflow: hidden;
}
.card::after { content: ""; position: absolute; left: 0; top: 0; height: 100%; width: 3px; background: var(--gold); transform: scaleY(0); transform-origin: top; transition: transform .25s ease; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #d8d0b8; }
.card:hover::after { transform: scaleY(1); }
.card .ico { width: 46px; height: 46px; margin-bottom: 18px; color: var(--gold); }
.card h3 { margin-bottom: .4em; color: var(--gold); }
.card p { color: var(--gray); font-size: .98rem; margin-bottom: 1em; }
.card .more { font-weight: 600; color: var(--ink); font-size: .92rem; }
.card .more::after { content: " →"; color: var(--gold-ink); }
.card:hover .more { color: var(--gold-ink); }

/* ---------- Split / about ---------- */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.portrait {
  aspect-ratio: 4/5; background: radial-gradient(120% 120% at 30% 10%, #222 0%, #000 70%);
  border-radius: 8px; border: 1px solid #e2dccc; display: grid; place-items: center; position: relative; box-shadow: var(--shadow);
}
.portrait .mono { width: 130px; height: 130px; border-radius: 50%; border: 3px solid var(--gold); display: grid; place-items: center; font-family: var(--display); font-size: 2.4rem; font-weight: 600; color: var(--gold); }
.portrait .tag { position: absolute; bottom: 18px; left: 18px; right: 18px; text-align: center; color: #cfcfcf; font-size: .8rem; letter-spacing: .04em; }
.portrait .photo-note { position: absolute; top: 14px; right: 14px; font-size: .62rem; letter-spacing: .12em; text-transform: uppercase; color: #999; border: 1px dashed #666; padding: 4px 8px; border-radius: 3px; }

/* ---------- CTA band (soft warm accent) ---------- */
.cta-band { background: var(--paper); color: var(--ink); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cta-band .container { text-align: center; padding-top: 56px; padding-bottom: 56px; }
.cta-band h2 { color: var(--ink); margin-bottom: .3em; }
.cta-band p { color: var(--gray); margin: 0 auto; max-width: 600px; }
.cta-band .btn-row { justify-content: center; margin-top: 28px; }

/* ---------- Page hero (interior, inherits cream) ---------- */
.page-hero { background: transparent; color: var(--ink); padding: 70px 0 64px; position: relative; border-bottom: 1px solid var(--line); }
/* page hero uses a plain white background (no overlay) */
.page-hero .eyebrow { color: var(--gold-ink); }
.page-hero h1 { color: var(--ink); }
.page-hero p { color: var(--gray); max-width: 640px; margin: 0; }
.breadcrumb { font-size: .82rem; color: var(--gold-ink); margin-bottom: 16px; letter-spacing: .04em; }
.breadcrumb a { color: var(--gray); } .breadcrumb a:hover { color: var(--gold-ink); }

/* ---------- Content / prose ---------- */
.prose h2 { margin-top: 1.4em; }
.prose h3 { margin-top: 1.5em; color: var(--gold-ink); }
.prose ul.ticks li { position: relative; padding: 8px 0 8px 30px; border-bottom: 1px solid var(--line); color: var(--gray); }
.prose ul.ticks li::before { content: "✓"; position: absolute; left: 0; color: var(--gold-ink); font-weight: 700; }
.aside-card { background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 6px; padding: 28px; box-shadow: var(--shadow); }
.aside-card h3 { margin-top: 0; color: var(--ink); }
.content-grid { display: grid; grid-template-columns: 1.6fr .9fr; gap: 48px; align-items: start; }
.related-list li { border-top: 1px solid var(--line); }
.related-list a { display: block; padding: 12px 0; font-weight: 600; color: var(--ink); }
.related-list a:hover { color: var(--gold-ink); }
.related-list a::before { content: "›"; color: var(--gold-ink); margin-right: 8px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.info-block { margin-bottom: 26px; }
.info-block h4 { font-family: var(--sans); text-transform: uppercase; letter-spacing: .1em; font-size: .76rem; color: var(--gold-ink); margin: 0 0 6px; }
.info-block a { font-weight: 600; }
.info-block a:hover { color: var(--gold-ink); }
form .field { margin-bottom: 18px; }
form label { display: block; font-weight: 600; font-size: .88rem; margin-bottom: 7px; }
form input, form select, form textarea {
  width: 100%; padding: 13px 14px; border: 1px solid #cfc8b6; border-radius: var(--radius);
  font-family: var(--sans); font-size: 1rem; background: #fff; transition: border .15s ease, box-shadow .15s ease;
}
form input:focus, form select:focus, form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,146,42,.20); }
form textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: .82rem; color: var(--gray-light); margin-top: 4px; }
.form-status { margin-top: 14px; font-weight: 600; display: none; }
.form-status.show { display: block; }
.form-status.ok { color: #1a7f37; }
.form-status.err { color: #b42318; }
.map-embed { width: 100%; aspect-ratio: 16/10; border: 1px solid var(--line); border-radius: 8px; margin-top: 14px; filter: grayscale(.2); }

/* ---------- Footer (cream, dark text) ---------- */
.site-footer { background: var(--paper); color: var(--gray); padding-top: 64px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 44px; }
.footer-brand { color: var(--ink); font-size: 1.3rem; margin-bottom: 12px; }
.footer-brand .amp { color: var(--gold); }
.site-footer h4 { color: var(--ink); font-family: var(--sans); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 14px; }
.site-footer a:hover { color: var(--gold-ink); }
.footer-links li { margin-bottom: 9px; font-size: .94rem; }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 24px; padding-bottom: 36px; }
.disclaimer { font-size: .78rem; color: var(--gray-light); line-height: 1.6; margin-bottom: 14px; }
.footer-bottom .copy { font-size: .82rem; color: var(--gray); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; padding: 64px 0 72px; }
  .split { grid-template-columns: 1fr; gap: 36px; }
  .content-grid { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .site-nav { position: fixed; inset: 78px 0 auto 0; background: var(--paper); border-bottom: 2px solid var(--gold); max-height: 0; overflow: hidden; transition: max-height .3s ease; }
  .site-nav.open { max-height: 90vh; overflow-y: auto; box-shadow: var(--shadow); }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 20px; }
  .site-nav > ul > li > a { padding: 14px 8px; border-bottom: 1px solid var(--line); }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: rgba(184,146,42,.06); padding: 0 0 6px 14px; }
  .nav-cta a { margin: 12px 0 0 !important; display: block; }
  .statbar .container { grid-template-columns: repeat(2, 1fr); gap: 24px 12px; }
  .stat:nth-child(3) { border-left: 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .section { padding: 60px 0; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stat:nth-child(odd) { border-left: 0; }
  .cta-band .container { flex-direction: column; align-items: flex-start; }
}
