/* The Lanam Group — forest & brass. Hand-authored; edit freely. */

/* ── Fonts (self-hosted, latin subset, variable) ───────────────────── */
@font-face {
  font-family: 'EB Garamond';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/eb-garamond-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Public Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('fonts/public-sans-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ── Tokens ────────────────────────────────────────────────────────── */
:root {
  --forest: #14392b;
  --forest-deep: #0c2820;
  --forest-mid: #1e5340;
  --sage: #5b7f6b;
  --sage-soft: #e2ece5;

  --brass: #9c7a3c;
  --brass-bright: #c09a52;
  --brass-soft: #f3ead6;

  --cream: #faf7f0;
  --cream-2: #f2ece0;
  --body: #4a5450;
  --rule: #e0d8c7;
  --rule-strong: #c9bfa8;

  --serif: 'EB Garamond', 'Iowan Old Style', Palatino, Georgia, serif;
  --sans: 'Public Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;

  --r-sm: 6px;
  --r: 10px;
  --r-lg: 14px;
  --r-pill: 999px;

  --leading: 26px;
  --gap: 20px;
  --sect: 46px;
  --edge: clamp(20px, 4.5vw, 60px);
  --max: 1140px;
}

/* ── Base ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--body);
  font-family: var(--sans);
  font-size: 16px;
  line-height: var(--leading);
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
a { color: var(--forest); text-underline-offset: 3px; }
a:hover { color: var(--brass); }
h1, h2, h3 { font-family: var(--serif); color: var(--forest); font-weight: 600; letter-spacing: -0.005em; margin: 0; }
p { margin: 0 0 12px; }
hr.rule { border: 0; border-top: 1px solid var(--rule); margin: var(--sect) 0; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--edge); }

.kicker, .eyebrow, .lbl {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 16px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 12px;
}

/* ── Nav ───────────────────────────────────────────────────────────── */
.nav {
  display: flex;
  align-items: center;
  gap: var(--gap);
  flex-wrap: wrap;
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px var(--edge);
  font-size: 14.5px;
  border-bottom: 1px solid var(--rule);
}
.nav a { text-decoration: none; color: var(--body); }
.nav a:hover { color: var(--brass); }
.nav-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-right: auto;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  color: var(--forest);
}
.nav-brand:hover { color: var(--forest); }

/* ── Buttons ───────────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1;
  padding: 13px 22px;
  border: 1px solid var(--forest);
  border-radius: var(--r);
  text-decoration: none;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
/* `.nav a` (0,1,1) outranks `.btn-*` (0,1,0) — restate colours for nav buttons. */
.btn-primary, .nav a.btn-primary { background: var(--forest); color: var(--cream); border-color: var(--forest); }
.btn-primary:hover, .nav a.btn-primary:hover { background: var(--forest-mid); border-color: var(--forest-mid); color: var(--cream); }
.btn-brass, .nav a.btn-brass { background: var(--brass); color: #fff; border-color: var(--brass); }
.btn-brass:hover, .nav a.btn-brass:hover { background: var(--brass-bright); border-color: var(--brass-bright); color: #fff; }
.btn-ghost { background: transparent; color: var(--forest); }
.btn-ghost:hover { border-color: var(--brass); color: var(--brass); }
.btn:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: var(--leading); }
.textlink { font-size: 14.5px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--rule-strong); padding-bottom: 2px; }

/* ── Hero ──────────────────────────────────────────────────────────── */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: var(--sect); align-items: center; padding: var(--sect) 0; }
.display {
  font-size: clamp(40px, 5.8vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  max-width: 13ch;
}
.display em { font-style: italic; color: var(--brass); }
.sub { font-size: 17px; line-height: 29px; max-width: 52ch; }
.hero-art { margin: 0; }
.hero-art img { display: block; width: 100%; height: auto; border-radius: var(--r-lg); }

/* ── Credential strip (plain text, no pills — unlike sibling sites) ── */
.creds { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; font-size: 13.5px; color: var(--body); }
.creds .lbl { margin: 0 4px 0 0; }
.creds span:not(.lbl)::after { content: "·"; color: var(--rule-strong); margin-left: 14px; }
.creds span:last-child::after { content: ""; }

/* ── Section headers ───────────────────────────────────────────────── */
.intro { max-width: 56ch; margin-bottom: var(--gap); }
.section-head { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; margin: 0 0 10px; }
.section-sub { font-size: 16.5px; line-height: 28px; }

/* ── Service panels (brass top-rule, no shadow) ────────────────────── */
.panels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.panel {
  background: #fff;
  border: 1px solid var(--rule);
  border-top: 3px solid var(--brass);
  border-radius: var(--r);
  padding: var(--gap);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color .15s ease, transform .15s ease;
}
.panel:nth-child(2) { border-top-color: var(--sage); }
.panel:nth-child(3) { border-top-color: var(--forest-mid); }
.panel:hover { transform: translateY(-2px); border-color: var(--rule-strong); }
.panel-num { font-family: var(--serif); font-size: 30px; line-height: 1; color: var(--brass); margin: 0; }
.panel-title { font-size: 23px; line-height: 1.2; margin: 0; }
.panel-copy { font-size: 15px; line-height: 25px; margin: 0; }
.panel-list { list-style: none; margin: auto 0 0; padding: 12px 0 0; border-top: 1px solid var(--rule); font-size: 13.5px; line-height: 22px; }
.panel-list li { position: relative; padding-left: 16px; }
.panel-list li::before { content: ""; position: absolute; left: 0; top: 10px; width: 6px; height: 1px; background: var(--brass); }

/* ── Timeline (approach) ───────────────────────────────────────────── */
.timeline { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); position: relative; }
.tl-step { position: relative; padding-top: 30px; }
.tl-step::before {
  content: ""; position: absolute; top: 8px; left: 0; right: 0;
  height: 1px; background: var(--rule-strong);
}
.tl-step::after {
  content: ""; position: absolute; top: 4px; left: 0;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--brass); outline: 3px solid var(--cream);
}
.tl-step:last-child::before { background: linear-gradient(90deg, var(--rule-strong), transparent); }
.tl-num { font-size: 11.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brass); margin: 0 0 6px; }
.tl-title { font-size: 21px; margin: 0 0 6px; }
.tl-copy { font-size: 15px; line-height: 25px; margin: 0; }

/* ── Split (about) ─────────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); gap: var(--sect); align-items: center; }
.split p { font-size: 16.5px; line-height: 28px; }
.checklist { list-style: none; margin: var(--leading) 0 0; padding: 0; }
.checklist li { position: relative; padding-left: 24px; font-size: 15.5px; line-height: 26px; margin-bottom: 8px; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 10px; height: 10px; border: 1px solid var(--brass);
  border-radius: 2px; transform: rotate(45deg);
}
.split-figure { margin: 0; }
.split-figure img { display: block; width: 100%; height: auto; border-radius: var(--r-lg); }

.quote-panel { border-left: 3px solid var(--brass); padding: 4px 0 4px 20px; margin-top: var(--gap); }
.quote-panel blockquote { font-family: var(--serif); font-size: 21px; line-height: 30px; color: var(--forest); margin: 0 0 10px; font-style: italic; }
.quote-panel figcaption { font-size: 14px; line-height: 22px; }

/* ── Stats ─────────────────────────────────────────────────────────── */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--gap); }
.stat-num { font-family: var(--serif); font-size: 42px; line-height: 1.05; color: var(--forest); margin: 0 0 4px; }
.stat-label { font-size: 13.5px; line-height: 21px; margin: 0; }

/* ── Voices ────────────────────────────────────────────────────────── */
.voices-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.voice { margin: 0; padding: var(--gap); background: var(--cream-2); border-radius: var(--r); }
.voice blockquote { font-family: var(--serif); font-size: 18px; line-height: 28px; color: var(--forest); margin: 0 0 10px; }
.voice figcaption { font-size: 13px; }

/* ── Closing CTA ───────────────────────────────────────────────────── */
.close {
  background: linear-gradient(150deg, var(--forest-deep), var(--forest) 60%, var(--forest-mid));
  color: #cfdbd3;
  padding: var(--sect) 0;
  margin-top: var(--sect);
}
.close .kicker { color: var(--brass-bright); }
.close h2 { color: var(--cream); font-size: clamp(28px, 3.8vw, 42px); line-height: 1.08; margin: 0 0 10px; }
.close .sub { color: #b4c5ba; }
.close .btn-ghost { border-color: rgba(255, 255, 255, .45); color: var(--cream); }
.close .btn-ghost:hover { border-color: var(--brass-bright); color: var(--brass-bright); }
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); margin-top: var(--leading); padding-top: var(--leading); border-top: 1px solid rgba(255, 255, 255, .18); font-size: 15px; }
.contact-grid .lbl { color: rgba(255, 255, 255, .5); }
.contact-grid a { color: var(--cream); }
.contact-grid a:hover { color: var(--brass-bright); }

/* ── Footer ────────────────────────────────────────────────────────── */
.site-footer {
  max-width: var(--max);
  margin: 0 auto;
  padding: var(--leading) var(--edge) var(--sect);
  font-size: 13.5px;
  line-height: 23px;
  color: #6f7873;
  display: flex;
  flex-wrap: wrap;
  gap: 10px var(--leading);
  justify-content: space-between;
  border-top: 1px solid var(--rule);
}
.site-footer a { color: inherit; }

/* ── Legal pages ───────────────────────────────────────────────────── */
.legal { max-width: 780px; margin: 0 auto; padding: 0 var(--edge); }
.legal main { padding: var(--sect) 0 var(--leading); }
.legal h1 { font-size: clamp(34px, 4.2vw, 48px); line-height: 1.05; margin: 0 0 10px; }
.legal .updated { font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: #8d9691; margin: 0 0 var(--leading); }
.legal h2 { font-size: 23px; line-height: 30px; margin: var(--leading) 0 10px; padding-top: var(--leading); border-top: 1px solid var(--rule); }
.legal p, .legal li { font-size: 15.5px; line-height: var(--leading); }
.legal ul { margin: 0 0 12px; padding-left: 22px; }
.legal .site-footer { padding-left: 0; padding-right: 0; max-width: none; }

/* ── Apply form ────────────────────────────────────────────────────── */
.apply-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr); gap: var(--sect); align-items: start; padding: var(--sect) 0 var(--leading); }
.lede { font-size: 16.5px; line-height: 28px; }
.assure { list-style: none; margin: var(--leading) 0 0; padding: 0; }
.assure li { position: relative; padding-left: 24px; font-size: 15px; line-height: 26px; margin-bottom: 8px; }
.assure li::before { content: ""; position: absolute; left: 0; top: 9px; width: 10px; height: 10px; border: 1px solid var(--brass); border-radius: 2px; transform: rotate(45deg); }

.form-card { background: #fff; border: 1px solid var(--rule); border-top: 3px solid var(--brass); border-radius: var(--r); padding: var(--gap); }
form { display: grid; gap: var(--gap); }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px var(--gap); }
.field { display: grid; gap: 6px; }
.field label { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--forest); }
.req { color: var(--brass); }
.input {
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 24px;
  color: var(--forest);
  background: var(--cream);
  border: 1px solid var(--rule-strong);
  border-radius: var(--r-sm);
  padding: 10px 13px;
  width: 100%;
}
.input:focus { outline: 2px solid var(--brass); outline-offset: 1px; border-color: var(--brass); background: #fff; }
textarea.input { min-height: 110px; resize: vertical; }

fieldset { border: 0; margin: 0; padding: 0; }
fieldset legend { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--forest); margin-bottom: 8px; padding: 0; }
.radio-row { display: flex; flex-wrap: wrap; gap: 8px; }
.radio { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; border: 1px solid var(--rule-strong); border-radius: var(--r-pill); padding: 8px 14px; background: var(--cream); }
.radio:hover { border-color: var(--brass); }
.radio:has(input:checked) { border-color: var(--brass); background: var(--brass-soft); }
.radio input { appearance: none; width: 14px; height: 14px; margin: 0; border: 1px solid var(--forest); border-radius: 50%; background: #fff; cursor: pointer; flex: none; }
.radio input:checked { background: var(--brass); border-color: var(--brass); box-shadow: inset 0 0 0 3px #fff; }
.radio input:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }

.consent { display: grid; grid-template-columns: 16px 1fr; gap: 11px; font-size: 12.5px; line-height: 19px; color: #5d6763; }
.consent input { appearance: none; width: 16px; height: 16px; margin: 2px 0 0; border: 1px solid var(--forest); border-radius: 4px; background: #fff; cursor: pointer; }
.consent input:checked { background: var(--brass); border-color: var(--brass); }
.consent input:focus-visible { outline: 2px solid var(--brass); outline-offset: 2px; }
.fineprint { font-size: 12.5px; line-height: 19px; color: #7d8681; margin: 0; }
.sent { display: none; border: 1px solid var(--brass); background: var(--brass-soft); border-radius: var(--r-sm); padding: 12px var(--gap); font-size: 15px; line-height: 25px; color: var(--forest); }

/* ── Responsive ────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; gap: var(--leading); }
  .panels, .timeline { grid-template-columns: 1fr; }
  .tl-step::before, .tl-step::after { display: none; }
  .tl-step { padding-top: 0; border-left: 2px solid var(--rule-strong); padding-left: 18px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .apply-grid { grid-template-columns: 1fr; }
  .voices-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .grid2 { grid-template-columns: 1fr; }
  .nav { gap: 12px; font-size: 14px; }
  .nav-brand { width: 100%; margin-right: 0; }
}
