/* Harriman Advisors — shared styles */

:root {
  --bg: #FAF8F3;
  --panel: #F1EDE3;
  --placeholder: #E6E2D6;
  --ink: #1C1B19;
  --body: #4A4740;
  --body-strong: #33312C;
  --muted: #5A574F;
  --rule: #D9D4C7;
  --green: #2F4A3A;
  --green-dark: #1E3126;
  --on-green: #D5DED7;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 40px;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--green); text-underline-offset: 5px; }
a:hover { color: var(--green-dark); }

h1, h2, h3, p, ul, ol { margin: 0; }

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap-narrow { max-width: 1000px; margin: 0 auto; padding: 0 var(--gutter); }

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--green); color: var(--bg); padding: 10px 16px;
}
.skip-link:focus { left: 16px; top: 16px; z-index: 10; }

/* ---------- Header ---------- */

.site-header .wrap {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 16px; padding-top: 28px; padding-bottom: 28px;
}
.logo { display: flex; align-items: center; gap: 20px; text-decoration: none; }
.logo-mark { height: 100px; width: auto; }
.logo-word { height: 58px; width: auto; }

.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 32px; font-size: 15px; }
.site-nav a { color: var(--ink); text-decoration: none; padding: 6px 0; }
.site-nav a:hover { color: var(--green); }
.site-nav a[aria-current="page"] { color: var(--green); font-weight: 500; text-decoration: underline; text-underline-offset: 7px; }
.site-nav .btn-outline { padding: 11px 20px; }

/* ---------- Type ---------- */

.eyebrow { font-size: 13px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--green); }
.label { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.label-green { font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green); }

.display {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(44px, 6.2vw, 76px); line-height: 1.04; letter-spacing: -0.02em;
}
.display em, .h2 em { color: var(--green); }

.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(34px, 4.2vw, 48px); line-height: 1.1; }
.h3 { font-family: var(--serif); font-weight: 500; font-size: 26px; line-height: 1.2; }

.lede { font-size: 20px; line-height: 1.6; color: var(--body); max-width: 600px; }
.italic-serif { font-family: var(--serif); font-style: italic; }
.body-text { color: var(--body); }
.meta { font-size: 14px; font-weight: 500; color: var(--green); }

/* ---------- Buttons & links ---------- */

.btn, .btn-outline, .btn-light {
  display: inline-block; text-decoration: none; border-radius: 999px;
  font-weight: 500; font-size: 16px; line-height: 1.2; padding: 17px 30px;
}
.btn { background: var(--green); color: var(--bg); }
.btn:hover { background: var(--green-dark); color: var(--bg); }
.btn-outline { color: var(--ink); border: 1px solid var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-light { background: var(--bg); color: var(--green); font-weight: 600; font-size: 17px; padding: 18px 32px; }
.btn-light:hover { background: #FFFFFF; color: var(--green-dark); }

.text-link { font-weight: 500; color: var(--ink); }
.links { display: flex; flex-wrap: wrap; gap: 12px 28px; font-weight: 500; }

/* ---------- Sections ---------- */

.section { padding: 120px 0; }
.section-tight { padding: 64px 0; }
.bg-panel { background: var(--panel); }
.rule-top { border-top: 1px solid var(--rule); }
.rule-y { border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }

.page-intro { padding: 96px 0 80px; display: flex; flex-direction: column; gap: 28px; }

.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 48px; }

/* Hero (home) */
.hero { display: flex; flex-wrap: wrap; gap: 72px; align-items: flex-end; padding: 96px 0 112px; }
.hero-copy { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 28px; padding-top: 8px; }
.hero-photo { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }

/* Headshot placeholder — replace with <img> once you have a photo */
.photo {
  aspect-ratio: 4 / 5; background: var(--placeholder); color: var(--green);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  font-size: 14px; font-weight: 500; overflow: hidden;
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo-round { aspect-ratio: 1 / 1; border-radius: 50%; width: 220px; max-width: 100%; flex: 0 0 auto; }

/* Stats strip */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px 40px; padding: 48px 0; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num { font-family: var(--serif); font-size: 48px; line-height: 1.15; }
.stat-text { font-size: 15px; color: var(--muted); }

/* Heading on the left, content on the right */
.split { display: flex; flex-wrap: wrap; gap: 48px 64px; }
.split > .split-head { flex: 1 1 280px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.split > .split-body { flex: 999 1 560px; min-width: 0; }

/* Roman-numeral list */
.roman { list-style: none; padding: 0; }
.roman li { display: flex; gap: 32px; padding: 28px 0; border-top: 1px solid var(--rule); }
.roman li:last-child { border-bottom: 1px solid var(--rule); }
.roman .num { font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--green); min-width: 32px; line-height: 1.5; }
.roman .big { font-family: var(--serif); font-size: 26px; line-height: 1.35; }
.roman .item { display: flex; flex-direction: column; gap: 8px; }

/* Three columns with a heavy top rule */
.cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 48px; }
.col { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; border-top: 2px solid var(--ink); }
.start-here { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 20px 56px; align-items: center; padding: 40px 44px; background: var(--panel); border-top: 3px solid var(--green); }
.start-here-head { display: flex; flex-direction: column; gap: 10px; }
.start-here .h3 { color: var(--green); }
.start-here .ruled-list { margin-top: 0; }
.paths-label { margin: 64px 0 28px; }
@media (max-width: 760px) {
  .start-here { grid-template-columns: 1fr; padding: 28px 22px; }
  .paths-label { margin: 48px 0 20px; }
}
/* Sample scorecard */
.scorecard { margin-top: 56px; padding: 44px; border: 1px solid var(--rule); background: #FFFDF8; scroll-margin-top: 24px; }
.sc-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; padding-bottom: 28px; border-bottom: 2px solid var(--ink); }
.sc-head .eyebrow { margin-bottom: 8px; }
.sc-title { font-family: var(--serif); font-weight: 400; font-size: clamp(24px, 2.6vw, 30px); line-height: 1.2; color: var(--ink); max-width: 560px; }
.sc-total { display: flex; flex-direction: column; align-items: flex-end; }
.sc-total-num { font-family: var(--serif); font-size: 56px; line-height: 1; color: var(--ink); }
.sc-total-label { font-size: 13px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: 6px; }
.sc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 56px; padding-top: 32px; }
.sc-area-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 10px; border-bottom: 1px solid var(--rule); margin-bottom: 6px; }
.sc-area-head h3 { font-family: var(--serif); font-weight: 500; font-size: 22px; color: var(--ink); }
.sc-avg { font-family: var(--serif); font-size: 24px; }
.scorecard ul { list-style: none; padding: 0; margin: 0; }
.scorecard li { display: grid; grid-template-columns: minmax(0, 1fr) 90px 44px; align-items: center; gap: 14px; padding: 7px 0; font-size: 15px; color: var(--body-strong); }
.sc-bar { height: 8px; background: var(--placeholder); border-radius: 4px; overflow: hidden; }
.sc-bar span { display: block; height: 100%; border-radius: 4px; }
.sc-val { text-align: right; font-weight: 600; font-variant-numeric: tabular-nums; }
.lvl-red .sc-bar span, .key.lvl-red { background: #B4533F; }
.lvl-amber .sc-bar span, .key.lvl-amber { background: #C99A2E; }
.lvl-green .sc-bar span, .key.lvl-green { background: var(--green); }
.lvl-red .sc-val, .sc-avg.lvl-red { color: #9A3F2D; }
.lvl-amber .sc-val, .sc-avg.lvl-amber { color: #8A6512; }
.lvl-green .sc-val, .sc-avg.lvl-green { color: var(--green); }
.sc-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 32px; padding-top: 20px; border-top: 1px solid var(--rule); font-size: 13px; color: var(--muted); }
.key { display: inline-block; width: 12px; height: 12px; border-radius: 2px; margin-left: 12px; }
.key:first-child { margin-left: 0; }
@media (max-width: 760px) {
  .scorecard { padding: 26px 18px; margin-top: 40px; }
  .sc-grid { grid-template-columns: 1fr; gap: 32px; }
  .sc-total { align-items: flex-start; }
  .scorecard li { grid-template-columns: minmax(0, 1fr) 64px 40px; gap: 10px; font-size: 14px; }
}
/* Client journeys */
.journey { padding: 40px 0; border-top: 1px solid var(--rule); display: flex; flex-direction: column; gap: 28px; }
.journey:first-of-type { border-top: 2px solid var(--ink); }
.j-head { display: flex; flex-direction: column; gap: 14px; }
.j-path { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; }
.chip { display: inline-block; padding: 6px 12px; border: 1px solid var(--green); border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--green); background: var(--bg); }
.j-path .arrow { color: var(--muted); }
.j-dur { margin-left: 6px; font-family: var(--serif); font-style: italic; font-size: 17px; color: var(--muted); }
.j-body { display: grid; grid-template-columns: 240px minmax(0, 1.3fr) minmax(0, 1fr); gap: 28px 48px; align-items: start; }
.j-body > div { display: flex; flex-direction: column; gap: 10px; }
.j-score-num { font-family: var(--serif); font-size: clamp(34px, 3.6vw, 44px); line-height: 1.1; color: var(--green); white-space: nowrap; }
.j-note { font-size: 14px; color: var(--muted); }
.j-bar { display: block; height: 8px; background: var(--placeholder); border-radius: 4px; overflow: hidden; max-width: 220px; }
.j-bar span { display: block; height: 100%; border-radius: 4px; }
.j-bar.before span { background: #C99A2E; }
.j-bar.after span { background: var(--green); }
.j-list { list-style: none; padding: 0; margin: 0; }
.j-list li { padding: 8px 0 8px 18px; position: relative; color: var(--body); line-height: 1.5; }
.j-list li::before { content: ""; position: absolute; left: 0; top: 17px; width: 7px; height: 7px; border-radius: 50%; background: var(--rule); }
.j-results li { color: var(--body-strong); font-weight: 500; }
.j-results li::before { background: var(--green); }
.j-quote { border-left: 2px solid var(--green); padding: 4px 0 4px 24px; max-width: 820px; }
.j-quote blockquote { font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.5; color: var(--ink); }
.j-quote figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.j-body.j-noscore { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); max-width: 900px; }
@media (max-width: 1000px) { .j-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .j-score { grid-column: 1 / -1; } }
@media (max-width: 760px) { .j-body, .j-body.j-noscore { grid-template-columns: 1fr; } }
.col.featured { border-top-color: var(--green); }
.col.featured .h3 { color: var(--green); }

.ruled-list { list-style: none; padding: 0; margin-top: 8px; }
.ruled-list li { padding: 12px 0; border-top: 1px solid var(--rule); }
.ruled-list li:last-child { border-bottom: 1px solid var(--rule); }

.grid-list { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 32px; font-size: 17px; }
.grid-list li { padding: 14px 0; border-bottom: 1px solid var(--rule); }

/* Green box */
.green-box { background: var(--green); color: var(--bg); padding: 48px; display: flex; flex-direction: column; gap: 16px; }
.green-box .eyebrow { color: var(--on-green); }
.green-box p { color: var(--on-green); line-height: 1.65; }

/* Result highlights (home) */
.highlights { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 56px 64px; }
.highlight { display: flex; flex-direction: column; gap: 16px; }
.highlight-num { font-family: var(--serif); font-size: clamp(44px, 5vw, 60px); line-height: 1.05; color: var(--green); }

/* Case studies (results) */
.case { padding: 40px 0; border-top: 1px solid var(--rule); display: flex; flex-wrap: wrap; gap: 32px 56px; }
.case:first-of-type { border-top: 2px solid var(--ink); }
.case-head { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.case-num { font-family: var(--serif); font-size: clamp(36px, 4.4vw, 56px); line-height: 1.08; color: var(--green); }
.case-num.sm { font-size: clamp(34px, 3.6vw, 44px); }
.case-body { flex: 999 1 520px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 24px 32px; }
.case-body > div { display: flex; flex-direction: column; gap: 8px; }
.case-body p { color: var(--body); }

.mini-cases { padding-top: 40px; border-top: 1px solid var(--rule); display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px; }
.mini-case { display: flex; flex-direction: column; gap: 10px; }
.mini-case .label { font-size: 12px; }
.mini-num { font-family: var(--serif); font-size: 32px; line-height: 1.2; color: var(--green); }
.mini-case p { font-size: 15px; line-height: 1.55; color: var(--body); }

/* Quotes */
.quote-mark { font-family: var(--serif); font-size: 72px; line-height: 0.5; color: var(--green); }
.quote-center { display: flex; flex-direction: column; gap: 28px; align-items: center; text-align: center; padding: 128px 0; }
.quote-center blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(24px, 3vw, 34px); line-height: 1.4; }
.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 56px; }
.quotes figure { margin: 0; display: flex; flex-direction: column; gap: 20px; }
.quotes blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(21px, 2.2vw, 26px); line-height: 1.45; }
figcaption, .cite { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); line-height: 1.6; }

/* Bio teaser (home) */
.bio { display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: center; }
.bio-copy { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.bio-copy p { font-size: 18px; line-height: 1.65; color: var(--body); }

/* About */
.prose p { font-size: 19px; line-height: 1.7; color: var(--body-strong); }
.prose p + p { margin-top: 22px; }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.career { width: 100%; min-width: 820px; border-collapse: collapse; text-align: left; }
.career th { padding: 16px 20px; border-bottom: 2px solid var(--ink); font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green); }
.career td { padding: 20px; border-bottom: 1px solid var(--rule); vertical-align: top; }
.career tr:last-child td { border-bottom: 0; }
.career th:first-child, .career td:first-child { padding-left: 0; }
.career th:last-child, .career td:last-child { padding-right: 0; }
.career .co { font-family: var(--serif); font-size: 20px; }
.career .owned { color: var(--body); }
.career .outcome { font-family: var(--serif); font-style: italic; color: var(--green); }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 48px; }
.facts > div { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; border-top: 2px solid var(--ink); }
.facts p { font-family: var(--serif); font-size: 20px; line-height: 1.45; }

/* Closing call to action */
.cta { background: var(--green); color: var(--bg); }
.cta .wrap-narrow { padding-top: 120px; padding-bottom: 120px; display: flex; flex-direction: column; gap: 24px; align-items: center; text-align: center; }
.cta h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(36px, 4.4vw, 52px); line-height: 1.1; }
.cta p { font-size: 19px; color: var(--on-green); line-height: 1.6; max-width: 620px; }
.cta .btn-light { margin-top: 12px; }

/* Footer */
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 36px; padding-bottom: 36px; font-size: 14px; color: var(--muted); }
.site-footer a { color: var(--muted); }
.site-footer a:hover { color: var(--green); }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* ---------- Phones and small tablets ---------- */

@media (max-width: 760px) {
  :root { --gutter: 22px; }
  .site-header .wrap { padding-top: 18px; padding-bottom: 18px; }
  .logo { gap: 14px; }
  .logo-mark { height: 68px; }
  .logo-word { height: 40px; }
  .site-nav { width: 100%; gap: 8px 22px; }
  .site-nav .btn-outline { margin-left: auto; }
  .section { padding: 80px 0; }
  .hero { padding: 48px 0 72px; gap: 48px; }
  .page-intro { padding: 56px 0 56px; }
  .lede { font-size: 18px; }
  .roman li { gap: 18px; }
  .roman .big { font-size: 22px; }
  .quote-center { padding: 88px 0; }
  .quotes, .highlights { grid-template-columns: 1fr; }
  .green-box { padding: 32px 24px; }
  .cta .wrap-narrow { padding-top: 88px; padding-bottom: 88px; }
  .prose p { font-size: 17px; }
}
