/* ============================================================
   Arbor View Consulting — shared stylesheet
   Plain CSS, no build step. Design tokens below are the locked
   design system (forest green / charcoal / warm off-white,
   Fraunces + Work Sans, flat — no shadows or gradients).
   ============================================================ */

:root {
  --forest: #22392A;        /* primary brand/accent */
  --forest-dark: #1C2420;   /* near-black: dark sections, primary text */
  --forest-photo: #1F3A28;  /* duotone overlay tint */
  --cream: #FAFAF7;         /* page background */
  --text-body: #4A4F49;     /* body copy */
  --text-muted: #8A8F84;    /* footnotes, captions */
  --border: #E4E2DA;        /* hairline dividers */
  --sage-tint: #B9C6B6;     /* small text on dark forest backgrounds */

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-width: 1100px;
}

/* ---------- Reset / base ---------- */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.2;
  color: var(--forest-dark);
}

h1 { font-size: clamp(2.25rem, 5vw, 3rem); letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.125rem); letter-spacing: -0.005em; }
h3 { font-size: 1.25rem; }

a {
  color: var(--forest);
  text-decoration-color: var(--border);
  text-underline-offset: 3px;
}

a:hover { text-decoration-color: var(--forest); }

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--forest);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--forest-dark);
  color: var(--cream);
  padding: 10px 18px;
  z-index: 100;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* ---------- Layout helpers ---------- */

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section--tight { padding: 56px 0; }

.section--flush-top { padding-top: 0; }

.section--dark {
  background: var(--forest-dark);
}

.section--dark h2,
.section--dark h3 { color: var(--cream); }

.section--dark p { color: var(--sage-tint); }

.prose { max-width: 66ch; }

.prose p + p { margin-top: 1.1em; }

/* ---------- Eyebrow labels ---------- */

.eyebrow {
  display: block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 16px;
}

.eyebrow--light { color: var(--sage-tint); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1;
  padding: 15px 26px;
  border-radius: 4px;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--forest);
  color: var(--cream);
  border-color: var(--forest);
}

.btn-primary:hover {
  background: var(--forest-dark);
  border-color: var(--forest-dark);
}

.btn-secondary {
  background: transparent;
  color: var(--forest-dark);
  border: 1px solid var(--forest-dark);
}

.btn-secondary:hover {
  background: var(--forest-dark);
  color: var(--cream);
}

/* Secondary button on dark backgrounds */
.section--dark .btn-secondary {
  color: var(--cream);
  border-color: var(--sage-tint);
}

.section--dark .btn-secondary:hover {
  background: var(--cream);
  color: var(--forest-dark);
  border-color: var(--cream);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

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

.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.35rem;
  color: var(--forest-dark);
  text-decoration: none;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 26px;
}

.site-nav a {
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--text-body);
  text-decoration: none;
}

.site-nav a:hover { color: var(--forest-dark); }

.site-nav a[aria-current="page"] {
  color: var(--forest-dark);
  font-weight: 500;
}

.site-nav .btn {
  padding: 11px 20px;
  font-size: 0.875rem;
}

/* .site-nav a sets a dark color for plain nav links; the CTA button
   needs to win that fight so its text stays readable on the forest fill. */
.site-nav a.btn-primary {
  color: var(--cream);
}

.site-nav a.btn-primary:hover {
  color: var(--cream);
}

/* ---------- Duotone photo treatment ---------- */

.duotone {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}

.duotone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
}

.duotone::before,
.duotone::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--forest-photo);
  pointer-events: none;
}

.duotone::before {
  mix-blend-mode: multiply;
  opacity: 0.82;
}

.duotone::after {
  mix-blend-mode: color;
  opacity: 0.55;
}

/* ---------- Hero ---------- */

.hero {
  padding: 72px 0 88px;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}

.hero-copy .subhead {
  margin-top: 22px;
  font-size: 1.125rem;
  max-width: 34em;
}

.hero-photo {
  aspect-ratio: 4 / 5;
  max-width: 400px;
  justify-self: end;
  width: 100%;
}

.hero-photo img { object-position: center 55%; }

/* ---------- Hero graphic (replaces a headshot in the hero) ---------- */

.hero-graphic {
  aspect-ratio: 4 / 5;
  max-width: 400px;
  justify-self: end;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  background: #DCE3DA;
}

.hero-graphic svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* ---------- Photo inset inside a text section (e.g. The Transformer) ---------- */

.inset-photo {
  float: left;
  width: 150px;
  aspect-ratio: 4 / 5;
  margin: 4px 24px 14px 0;
}

.inset-photo img { object-position: center 20%; }

@media (max-width: 860px) {
  .inset-photo { width: 120px; margin: 4px 18px 12px 0; }
}

/* ---------- Stat strip ---------- */

.stat-strip {
  background: var(--forest);
  padding: 52px 0;
}

.stat-strip .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-strip .stat-number {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  color: var(--cream);
  line-height: 1.15;
}

.stat-strip .stat-label {
  margin-top: 8px;
  font-size: 0.875rem;
  color: var(--sage-tint);
  max-width: 22em;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Split section (Transformer, etc.) ---------- */

.split {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 24px 72px;
  align-items: start;
}

.split .split-body p + p { margin-top: 1.1em; }

/* Keep the paragraph in its own column beside the floated inset photo
   instead of letting the last lines wrap underneath it. */
.split .split-body p { overflow: hidden; }

.more-link {
  display: block;
  clear: left;
  margin-top: 24px;
  font-weight: 500;
  color: var(--forest);
  text-decoration: none;
}

.more-link:hover { text-decoration: underline; text-decoration-color: var(--forest); }

/* ---------- Service cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 44px;
}

.card {
  display: block;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 30px 30px 28px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease;
}

.card:hover { border-color: var(--forest); }

.card h3 {
  margin-bottom: 10px;
}

.card p {
  font-size: 0.9375rem;
  color: var(--text-body);
}

.card .card-arrow {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--forest);
}

.card--wide {
  grid-column: 1 / -1;
}

/* ---------- Speaking list ---------- */

.speaking-list {
  list-style: none;
  margin-top: 36px;
  max-width: 720px;
}

.speaking-list li {
  padding: 18px 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  align-items: baseline;
}

.speaking-list li:last-child { border-bottom: 1px solid var(--border); }

.speaking-list .role {
  font-weight: 500;
  color: var(--forest-dark);
}

.speaking-list .venue { color: var(--text-body); }

.speaking-list .years {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* ---------- Pull quote ---------- */

.pull-quote {
  padding: 96px 0;
  text-align: center;
}

.pull-quote blockquote p {
  font-family: var(--font-display);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  line-height: 1.45;
  color: var(--cream);
  max-width: 26em;
  margin: 0 auto;
}

.pull-quote cite {
  display: block;
  margin-top: 28px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.875rem;
  letter-spacing: 0.03em;
  color: var(--sage-tint);
}

/* ---------- FAQ ---------- */

.faq-list {
  margin-top: 44px;
  max-width: 780px;
}

.faq-item {
  padding: 28px 0;
  border-top: 1px solid var(--border);
}

.faq-item:last-child { border-bottom: 1px solid var(--border); }

.faq-item h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

/* ---------- Closing CTA ---------- */

.closing-cta {
  padding: 96px 0;
  text-align: center;
}

.closing-cta h2 { max-width: 20em; margin: 0 auto; }

.closing-cta .btn-row {
  justify-content: center;
  margin-top: 36px;
}

/* ---------- Newsletter strip ---------- */

.newsletter {
  border-top: 1px solid var(--border);
  background: #FFFFFF;
  padding: 56px 0;
}

.newsletter .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.newsletter h2 {
  font-size: 1.4rem;
}

.newsletter .newsletter-note {
  margin-top: 6px;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.newsletter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.newsletter-form input[type="email"] {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  padding: 13px 16px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--cream);
  color: var(--forest-dark);
  min-width: 240px;
}

.newsletter-form input[type="email"]::placeholder { color: var(--text-muted); }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--forest-dark);
  color: var(--sage-tint);
  padding: 64px 0 40px;
  font-size: 0.9375rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}

.site-footer .wordmark { color: var(--cream); }

.site-footer .footer-descriptor {
  margin-top: 12px;
  max-width: 26em;
}

.site-footer h3 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 14px;
}

.site-footer ul {
  list-style: none;
}

.site-footer li + li { margin-top: 8px; }

.site-footer a {
  color: var(--sage-tint);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--cream);
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 52px;
  padding-top: 24px;
  border-top: 1px solid rgba(185, 198, 182, 0.2);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* ---------- Page hero (interior pages) ---------- */

.page-hero {
  padding: 72px 0 24px;
}

.page-hero .lede {
  margin-top: 20px;
  font-size: 1.125rem;
  max-width: 38em;
}

/* ---------- About page ---------- */

.about-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 64px;
  align-items: start;
}

.about-photo {
  aspect-ratio: 4 / 5;
  max-width: 340px;
  width: 100%;
}

.about-photo img { object-position: center 20%; }

.photo-caption {
  margin-top: 12px;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.differentiators {
  list-style: none;
  margin-top: 40px;
  max-width: 760px;
  counter-reset: diff;
}

.differentiators li {
  counter-increment: diff;
  padding: 22px 0 22px 56px;
  border-top: 1px solid var(--border);
  position: relative;
}

.differentiators li:last-child { border-bottom: 1px solid var(--border); }

.differentiators li::before {
  content: counter(diff, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 24px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--forest);
}

.differentiators strong {
  display: block;
  font-weight: 500;
  color: var(--forest-dark);
  margin-bottom: 4px;
}

/* ---------- Services page ---------- */

.service {
  padding: 64px 0;
  border-top: 1px solid var(--border);
}

.service:first-of-type { border-top: none; }

.service-meta {
  list-style: none;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  grid-template-rows: auto auto;
  column-gap: 32px;
  row-gap: 4px;
  margin: 26px 0 30px;
  padding: 18px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}

/* Each li dissolves so its label and value become direct grid items:
   all labels land in row 1, all values in row 2, guaranteeing alignment. */
.service-meta li {
  display: contents;
}

.service-meta .meta-label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

.service-meta .meta-value {
  color: var(--forest-dark);
  font-weight: 500;
}

/* Stack to a label/value table on narrow screens. */
@media (max-width: 600px) {
  .service-meta {
    grid-auto-flow: row;
    grid-template-rows: none;
    grid-template-columns: max-content 1fr;
    column-gap: 20px;
    row-gap: 8px;
  }
}

.service h3 {
  font-size: 1.1rem;
  margin-top: 32px;
  margin-bottom: 10px;
}

.service ul {
  margin: 14px 0 0 1.2em;
}

.service ul li + li { margin-top: 8px; }

.service .soft-cta {
  margin-top: 30px;
}

.coaching-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 28px;
}

.tier {
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 26px;
}

.tier h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.1rem;
  color: var(--forest-dark);
  margin-bottom: 6px;
}

.tier .tier-cadence {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--forest);
  margin-bottom: 12px;
}

.tier p { font-size: 0.9375rem; }

/* ---------- Case studies ---------- */

.case-study {
  padding: 64px 0;
  border-top: 1px solid var(--border);
  max-width: 760px;
}

.case-study:first-of-type { border-top: none; }

.case-study .case-type {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--forest);
  margin-top: 14px;
}

.case-study .case-body { margin-top: 22px; }

.case-study .case-body p + p { margin-top: 1.1em; }

.case-note {
  margin-top: 20px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-style: italic;
}

/* ---------- Writing page ---------- */

.post-list {
  margin-top: 48px;
  display: grid;
  gap: 20px;
  max-width: 780px;
}

.post-card {
  display: block;
  background: #FFFFFF;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 28px 30px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease;
}

.post-card:hover { border-color: var(--forest); }

.post-card .post-date {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.post-card h3 { margin-bottom: 10px; }

.post-card p { font-size: 0.9375rem; }

.post-card .card-arrow {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--forest);
}

/* ---------- Contact page ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: start;
  padding-bottom: 96px;
}

.contact-channels {
  list-style: none;
  margin-top: 8px;
}

.contact-channels li {
  padding: 18px 0;
  border-top: 1px solid var(--border);
}

.contact-channels li:last-child { border-bottom: 1px solid var(--border); }

.contact-channels .channel-label {
  display: block;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .section { padding: 48px 0; }

  .hero { padding: 40px 0 56px; }

  .hero .container,
  .split,
  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero-photo { justify-self: start; max-width: 340px; }

  .card-grid { grid-template-columns: 1fr; }

  .coaching-tiers { grid-template-columns: 1fr; }

  .stat-strip .container {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .pull-quote,
  .closing-cta { padding: 64px 0; }

  .newsletter .container { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .site-nav { gap: 6px 16px; }
  .site-nav a { font-size: 0.875rem; }
  .newsletter-form input[type="email"] { min-width: 0; width: 100%; }
  .newsletter-form { width: 100%; }
}
