/* Eastridge Advisory Group: compact broadsheet look. Square corners, rules, small caps. */
:root {
  --primary: #9AB464;        /* soft olive: light, so it carries dark ink text */
  --primary-deep: #4B5E25;   /* olive for text and links on paper (about 6.6:1) */
  --primary-wash: #EEF2E2;   /* pale olive tint */
  --ink: #1D2016;            /* body text, rules */
  --ink-soft: #3F4436;       /* secondary text (about 9:1 on paper) */
  --paper: #FBFAF4;          /* newsprint white */
  --paper-2: #F2F0E6;        /* boxed areas */
  --rule: #1D2016;
  --hair: #C9C8BC;
  --head: "Cardo", Georgia, "Times New Roman", serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; overflow-wrap: break-word; }
img, svg { max-width: 100%; }
a { color: var(--primary-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
a:focus-visible, button:focus-visible, input:focus-visible, [tabindex]:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; color: var(--ink); }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--ink); color: var(--paper); padding: 8px 14px; z-index: 10; }
.skip:focus { left: 12px; top: 12px; }
.sc { font-family: var(--body); font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }

/* ---- masthead */
.masthead { padding-top: 14px; }
.masthead .strip { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-bottom: 1px solid var(--hair); padding-bottom: 8px; }
.masthead .brand { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; color: var(--ink); padding: 18px 0 14px; }
.masthead .brand svg { width: 34px; height: 34px; }
.masthead .brand .name { font-family: var(--head); font-weight: 700; font-size: clamp(30px, 5.4vw, 54px); line-height: 1; letter-spacing: .01em; text-align: center; }
.double { border: 0; border-top: 3px solid var(--rule); border-bottom: 1px solid var(--rule); height: 7px; margin: 0; }
.navrow { display: flex; align-items: center; justify-content: center; gap: 8px 22px; flex-wrap: wrap; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.navrow nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; }
.navrow nav a { color: var(--ink); text-decoration: none; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.navrow nav a:hover { text-decoration: underline; }
.btn { display: inline-block; background: var(--primary); color: var(--ink); border: 1px solid var(--ink); border-radius: 0; padding: 9px 18px; font-family: var(--body); font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; }
.btn:hover { background: var(--ink); color: var(--paper); }
.btn.ink { background: var(--ink); color: var(--paper); }
.btn.ink:hover { background: var(--paper); color: var(--ink); }

/* ---- sections */
section { padding: 44px 0; }
.label { display: block; border-top: 1px solid var(--rule); padding-top: 6px; margin-bottom: 14px; }
.sec-head h2 { font-size: clamp(26px, 3.4vw, 36px); }

/* hero: lead story */
.lead-story { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 0 40px; padding-top: 30px; }
.lead-story .story { border-right: 1px solid var(--hair); padding-right: 40px; }
.lead-story h1 { font-size: clamp(34px, 5vw, 58px); letter-spacing: -.005em; margin-bottom: .3em; }
.deck { font-family: var(--head); font-style: italic; font-size: clamp(19px, 2vw, 23px); line-height: 1.4; color: var(--ink-soft); border-bottom: 1px solid var(--hair); padding-bottom: 16px; margin-bottom: 18px; }
.story .body { columns: 2 220px; column-gap: 28px; column-rule: 1px solid var(--hair); }
.story .body p:first-child::first-letter { font-family: var(--head); font-weight: 700; float: left; font-size: 3.3em; line-height: .85; padding: 4px 8px 0 0; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 8px; }
.brief { align-self: start; border: 1px solid var(--rule); background: var(--paper-2); }
.brief h2 { font-size: 15px; font-family: var(--body); letter-spacing: .14em; text-transform: uppercase; margin: 0; padding: 9px 16px; background: var(--primary); color: var(--ink); border-bottom: 1px solid var(--rule); }
.brief ul { list-style: none; margin: 0; padding: 4px 16px 8px; }
.brief li { padding: 12px 0; border-bottom: 1px solid var(--hair); font-size: 15.5px; }
.brief li:last-child { border-bottom: 0; }
.brief strong { display: block; font-family: var(--head); font-size: 18px; }

/* overview */
.overview .cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 36px; }
.overview .cols p { font-size: 17.5px; }

/* services: three narrow columns */
.svc { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 3px double var(--rule); }
.svc > div { padding: 18px 22px 6px; border-right: 1px solid var(--hair); }
.svc > div:nth-child(3n) { border-right: 0; }
.svc > div:nth-child(3n+1) { padding-left: 0; }
.svc > div:nth-child(n+4) { border-top: 1px solid var(--hair); }
.svc h3 { font-size: 21px; margin-bottom: .3em; }
.svc p { font-size: 15.5px; }

/* reasons: boxed sidebar */
.reasons .grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 32px 44px; align-items: start; }
.reasons .intro p { font-size: 18px; }
.sidebar { border: 2px solid var(--rule); background: var(--primary-wash); }
.sidebar .bar { background: var(--ink); color: var(--paper); padding: 8px 16px; font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.sidebar ul { list-style: none; margin: 0; padding: 0 18px; }
.sidebar li { padding: 14px 0; border-bottom: 1px solid var(--hair); }
.sidebar li:last-child { border-bottom: 0; }
.sidebar h3 { font-size: 19px; margin-bottom: .2em; }
.sidebar p { margin: 0; font-size: 15.5px; }

/* steps: numbered list, olive numerals on ink */
.steps { background: var(--ink); color: var(--paper); }
.steps h2, .steps h3 { color: var(--paper); }
.steps .label { border-color: var(--primary); }
.steps .sc { color: var(--primary); }
.steps ol { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 0 18px; padding: 16px 0; border-top: 1px solid #4A503E; }
.steps li::before { content: counter(s); font-family: var(--head); font-weight: 700; font-size: 46px; line-height: 1; color: var(--primary); }
.steps li h3 { font-size: 21px; margin-bottom: .2em; }
.steps li p { margin: 0; color: #E4E3D8; }

/* CTA band */
.cta { background: var(--primary); color: var(--ink); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.cta .wrap { display: flex; justify-content: space-between; align-items: center; gap: 18px 32px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(26px, 3.2vw, 34px); margin-bottom: .2em; }
.cta p { margin: 0; }
.cta a:not(.btn) { color: var(--ink); font-weight: 600; }

/* inner pages */
.page { max-width: 760px; }
.page h1 { font-size: clamp(32px, 4.6vw, 50px); }
.page h2 { font-size: 24px; margin-top: 1.4em; }
.page .deck { margin-bottom: 22px; }
.contact { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 0; border: 1px solid var(--rule); margin: 0 0 28px; }
.contact dt, .contact dd { margin: 0; padding: 9px 14px; border-bottom: 1px solid var(--hair); }
.contact dt { font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; background: var(--paper-2); border-right: 1px solid var(--hair); }
.contact dt:last-of-type, .contact dd:last-of-type { border-bottom: 0; }
.git { border: 2px solid var(--rule); margin: 8px 0 32px; }
.git .bar { background: var(--primary); border-bottom: 1px solid var(--rule); padding: 8px 18px; }
.git .bar h2 { margin: 0; font-size: 21px; }
.git .in { padding: 16px 18px 20px; }
.git form { display: grid; gap: 6px; max-width: 460px; }
.git label { font-weight: 600; font-size: 14px; margin-top: 8px; }
.git label span { font-weight: 400; color: var(--ink-soft); }
.git input { font: inherit; padding: 9px 10px; border: 1px solid var(--ink); border-radius: 0; background: #fff; color: var(--ink); width: 100%; }
.git button { justify-self: start; margin-top: 14px; }
.git .done { font-family: var(--head); font-size: 20px; margin: 0; }
.legal-doc h2 { font-size: 22px; border-top: 1px solid var(--hair); padding-top: 14px; }
.legal-doc .dated { font-size: 14px; }

/* footer */
.foot { background: var(--paper-2); border-top: 3px double var(--rule); padding: 36px 0 22px; font-size: 15px; }
.foot .cols { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 24px 32px; }
.foot .fname { font-family: var(--head); font-weight: 700; font-size: 22px; display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.foot .fname svg { width: 26px; height: 26px; flex: none; }
.foot h2 { font-family: var(--body); font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 8px; border-bottom: 1px solid var(--rule); padding-bottom: 5px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { margin: 4px 0; }
.foot a { color: var(--ink); }
.foot .legal { border-top: 1px solid var(--hair); margin-top: 26px; padding-top: 14px; font-size: 13.5px; color: var(--ink-soft); }

@media (max-width: 860px) {
  .lead-story { grid-template-columns: minmax(0, 1fr); }
  .lead-story .story { border-right: 0; padding-right: 0; margin-bottom: 26px; }
  .overview .cols, .reasons .grid { grid-template-columns: minmax(0, 1fr); }
  .svc { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .svc > div, .svc > div:nth-child(3n+1) { padding: 16px 16px 4px 0; border-right: 0; border-top: 1px solid var(--hair); }
  .foot .cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .masthead .strip { justify-content: center; text-align: center; }
  .svc, .foot .cols { grid-template-columns: minmax(0, 1fr); }
  .steps li { grid-template-columns: 48px minmax(0, 1fr); }
  .steps li::before { font-size: 36px; }
  .contact { grid-template-columns: minmax(0, 1fr); }
  .contact dt { border-right: 0; border-bottom: 0; }
}
