/* ============================================================
   REACHFOR — styles.css
   Typography-led, editorial, institutional. One accent colour.
   Palette and type tokens are defined once in :root below.
   ============================================================ */

:root {
  /* ---- Colour ---- */
  --navy:      #0E1A2B;   /* primary text / dark sections */
  --navy-soft: #1a2a3f;   /* slightly lifted navy */
  --paper:     #F7F5F0;   /* warm-neutral background */
  --paper-2:   #EFEDE6;   /* alternate section background */
  --slate:     #5B6472;   /* secondary text */
  --hairline:  #D8D3C8;   /* rules / borders */
  --accent:    #1F6F6B;   /* single accent — deep teal */
  --accent-dk: #185754;   /* accent hover */
  --white:     #FFFFFF;

  /* ---- Type ---- */
  --serif: "Spectral", Georgia, "Times New Roman", serif;
  --sans:  -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* ---- Measure & rhythm ---- */
  --measure: 68ch;
  --wrap-max: 1120px;
  --gutter: clamp(1.25rem, 5vw, 3.5rem);
}

/* ---- Reset-ish ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--navy);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

/* ---- Layout helpers ---- */
.wrap {
  width: 100%;
  max-width: var(--wrap-max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(3.5rem, 8vw, 7rem); }
.section-alt { background: var(--paper-2); }

/* ---- Skip link ---- */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1rem;
  z-index: 200;
}
.skip-link:focus { left: 0; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.1) blur(8px);
  border-bottom: 1px solid var(--hairline);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}
.wordmark {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.4rem;
  letter-spacing: 0.01em;
  color: var(--navy);
  text-decoration: none;
}
.wordmark:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }

.nav-list {
  list-style: none;
  display: flex;
  gap: clamp(1rem, 2.5vw, 2rem);
  margin: 0;
  padding: 0;
  align-items: center;
}
.nav-list a {
  font-size: 0.95rem;
  color: var(--slate);
  text-decoration: none;
  padding: 0.35rem 0;
  transition: color 0.18s ease;
}
.nav-list a:hover { color: var(--navy); }
.nav-list a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.nav-cta {
  color: var(--accent) !important;
  font-weight: 500;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px; height: 2px; background: var(--navy); display: block;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  padding-block: clamp(3.5rem, 11vw, 9rem) clamp(3rem, 8vw, 6.5rem);
  border-bottom: 1px solid var(--hairline);
}
.hero-kicker {
  font-size: 0.9rem;
  color: var(--accent);
  margin: 0 0 1.5rem;
  letter-spacing: 0.02em;
}
.hero-heading {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(2.1rem, 5.4vw, 4rem);
  line-height: 1.08;
  letter-spacing: -0.015em;
  max-width: 18ch;
  margin: 0 0 1.75rem;
  text-wrap: balance;
}
.hero-lede {
  font-size: clamp(1.1rem, 1.6vw, 1.3rem);
  color: var(--navy);
  max-width: 54ch;
  margin: 0 0 1.25rem;
  line-height: 1.55;
}
.hero-principal {
  color: var(--slate);
  max-width: 56ch;
  margin: 0 0 2.5rem;
}
.hero-principal strong { color: var(--navy); font-weight: 600; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 500;
  padding: 0.85rem 1.7rem;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  cursor: pointer;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  border: 1px solid var(--accent);
}
.btn-primary:hover { background: var(--accent-dk); border-color: var(--accent-dk); }
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
}
.btn-ghost:hover { background: var(--navy); color: var(--paper); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ============================================================
   SECTION HEADS
   ============================================================ */
.section-head { margin-bottom: clamp(2rem, 4vw, 3.25rem); max-width: var(--measure); }
.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.9rem;
}
.section-intro {
  color: var(--slate);
  font-size: 1.1rem;
  margin: 0;
  max-width: 58ch;
}

/* ============================================================
   EXPERTISE / SERVICES
   ============================================================ */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.75rem);
}
.service {
  border-top: 2px solid var(--navy);
  padding-top: 1.5rem;
}
.service-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.35rem;
  line-height: 1.2;
  margin: 0 0 0.85rem;
}
.service-desc { color: var(--navy); margin: 0 0 1.25rem; }
.service-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.service-list li {
  color: var(--slate);
  font-size: 0.97rem;
  padding: 0.42rem 0;
  border-bottom: 1px solid var(--hairline);
}
.service-list li:last-child { border-bottom: 0; }
.service-note {
  margin: 1.1rem 0 0;
  font-size: 0.85rem;
  color: var(--slate);
  font-style: italic;
}

/* ============================================================
   AUDIENCE / ENGAGEMENTS
   ============================================================ */
.audience {
  list-style: none;
  margin: 0 0 clamp(2rem, 4vw, 3rem);
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
.audience-item {
  background: var(--paper-2);
  padding: 1.4rem 1.25rem;
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--navy);
}
.engagements-context {
  color: var(--slate);
  max-width: var(--measure);
  font-size: 1.02rem;
  margin: 0;
}

/* ============================================================
   TRACK RECORD / PROOFS
   ============================================================ */
.proofs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.75rem, 3.5vw, 3rem) clamp(2rem, 5vw, 4.5rem);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.proof { max-width: 52ch; }
.proof-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--accent);
  margin: 0 0 0.6rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--hairline);
}
.proof p { margin: 0; color: var(--navy); }

.representation {
  border-top: 1px solid var(--hairline);
  padding-top: clamp(1.75rem, 3vw, 2.5rem);
}
.representation-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--slate);
  margin: 0 0 1rem;
}
.representation-list {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: clamp(2rem, 5vw, 4.5rem);
}
.representation-list li {
  color: var(--navy);
  padding: 0.45rem 0;
  break-inside: avoid;
  font-size: 0.98rem;
}

/* ============================================================
   INSIGHTS
   ============================================================ */
.insights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
  margin-bottom: 2.5rem;
}
.insight {
  background: var(--paper);
  border: 1px solid var(--hairline);
  padding: 1.6rem 1.5rem;
  display: flex;
  flex-direction: column;
}
.insight-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1rem;
  font-size: 0.82rem;
}
.insight-topic { color: var(--accent); font-weight: 600; }
.insight-date { color: var(--slate); }
.insight-date::before { content: "· "; color: var(--hairline); }
.insight-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.25;
  margin: 0 0 0.85rem;
}
.insight-summary { color: var(--slate); font-size: 0.97rem; margin: 0 0 1.5rem; flex: 1; }
.insight-link {
  align-self: flex-start;
  color: var(--navy);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
  transition: color 0.18s ease;
}
.insight-link:hover { color: var(--accent); }
.insight-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.insights-follow { color: var(--slate); margin: 0; max-width: var(--measure); }
.insights-follow a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.34fr) minmax(0, 0.66fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: start;
}
.about-body p { max-width: 60ch; margin: 0 0 1.15rem; }
.about-body p:last-of-type { margin-bottom: 1.75rem; }
.languages {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 3rem;
  margin: 0;
  border-top: 1px solid var(--hairline);
  padding-top: 1.5rem;
}
.languages div { margin: 0; }
.languages dt { font-family: var(--serif); font-size: 1.05rem; color: var(--navy); }
.languages dd { margin: 0; color: var(--slate); font-size: 0.9rem; }

/* ============================================================
   CONTACT
   ============================================================ */
.section-contact {
  background: var(--navy);
  color: var(--paper);
}
.contact-title { color: var(--white); }
.contact-lede {
  color: #C7CDD6;
  max-width: 56ch;
  font-size: 1.1rem;
  margin: 0 0 2.25rem;
}
.contact-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2rem; }
.section-contact .btn-ghost { color: var(--paper); border-color: #46536a; }
.section-contact .btn-ghost:hover { background: var(--paper); color: var(--navy); border-color: var(--paper); }
.contact-detail { margin: 0; }
.contact-detail a {
  color: var(--paper);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--accent);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy);
  color: #9aa3b1;
  border-top: 1px solid var(--navy-soft);
  padding-block: 2.5rem 2rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--navy-soft);
}
.footer-brand { display: flex; flex-direction: column; gap: 0.3rem; }
.footer-wordmark { font-family: var(--serif); font-size: 1.3rem; color: var(--paper); }
.footer-tagline { font-size: 0.9rem; }
.footer-geo { font-size: 0.82rem; color: #6f7a8b; }
.footer-links { display: flex; gap: 1.75rem; align-items: flex-start; }
.footer-links a { color: #9aa3b1; text-decoration: none; font-size: 0.92rem; }
.footer-links a:hover { color: var(--paper); }
.footer-links a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.footer-legal { padding-top: 1.25rem; }
.footer-legal p { margin: 0; font-size: 0.8rem; color: #6f7a8b; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .services { grid-template-columns: 1fr; gap: 2.25rem; }
  .audience { grid-template-columns: repeat(2, 1fr); }
  .proofs { grid-template-columns: 1fr; }
  .representation-list { columns: 1; }
  .insights { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }

  /* Mobile nav */
  .nav-toggle { display: flex; }
  .nav-list {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--hairline);
    padding: 0.5rem var(--gutter) 1.25rem;
    display: none;
  }
  .nav-list.open { display: flex; }
  .nav-list li { width: 100%; }
  .nav-list a { display: block; padding: 0.85rem 0; width: 100%; border-bottom: 1px solid var(--hairline); }
  .nav-list li:last-child a { border-bottom: 0; }
}

@media (max-width: 520px) {
  .audience { grid-template-columns: 1fr; }
  .hero-actions .btn, .contact-actions .btn { flex: 1 1 auto; }
}

/* ---- Page-load settle: one subtle orchestrated entrance ---- */
@media (prefers-reduced-motion: no-preference) {
  .hero-kicker, .hero-heading, .hero-lede, .hero-principal, .hero-actions {
    opacity: 0;
    transform: translateY(10px);
    animation: settle 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
  }
  .hero-heading { animation-delay: 0.06s; }
  .hero-lede { animation-delay: 0.12s; }
  .hero-principal { animation-delay: 0.18s; }
  .hero-actions { animation-delay: 0.24s; }
  @keyframes settle {
    to { opacity: 1; transform: translateY(0); }
  }
}

/* ============================================================
   LOGO IMAGES (added with brand identity)
   ============================================================ */
.logo-img {
  display: block;
  height: 34px;
  width: auto;
}
@media (max-width: 520px) {
  .logo-img { height: 28px; }
}
.footer-logo-img {
  display: block;
  height: 26px;
  width: auto;
  margin-bottom: 0.2rem;
}
/* Portrait in About */
.about-head { display: flex; flex-direction: column; gap: 1.5rem; }
.portrait {
  margin: 0;
  max-width: 280px;
}
.portrait img {
  width: 100%;
  height: auto;
  border-radius: 2px;
  display: block;
}
@media (max-width: 860px) {
  .portrait { max-width: 200px; }
}

/* ============================================================
   REPRESENTATION PHOTO (speaking) + portrait tweaks
   ============================================================ */
.representation-photo {
  margin: 0 0 2rem;
  max-width: 560px;
}
.representation-photo img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 2px;
}
.representation-photo figcaption {
  font-size: 0.82rem;
  color: var(--slate);
  margin-top: 0.6rem;
  font-style: italic;
}

/* ============================================================
   CONTENT REVISION ADDITIONS
   ============================================================ */

/* Hero secondary line */
.hero-secondary {
  color: var(--slate);
  max-width: 54ch;
  margin: 0 0 2rem;
  font-size: 1.02rem;
}

/* Service index numbers */
.service-index {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--accent);
  margin: 0 0 0.5rem;
  letter-spacing: 0.02em;
}

/* Photo credits — discreet, muted, image-edge aligned */
.photo-credit {
  font-size: 0.72rem;
  color: var(--slate);
  margin-top: 0.5rem;
  font-style: normal;
  font-weight: 400;
  line-height: 1.4;
}

/* ---- Publications section ---- */
.publications {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}
.publication {
  border-top: 2px solid var(--navy);
  padding-top: 1.4rem;
  display: flex;
  flex-direction: column;
}
.publication-meta {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 0.7rem;
}
.publication-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.25;
  margin: 0 0 0.5rem;
}
.publication-role {
  font-size: 0.85rem;
  color: var(--slate);
  margin: 0 0 0.85rem;
  font-style: italic;
}
.publication-desc {
  color: var(--slate);
  font-size: 0.97rem;
  margin: 0 0 1.4rem;
  flex: 1;
}
.publication-link {
  align-self: flex-start;
  color: var(--navy);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 2px;
  transition: color 0.18s ease;
}
.publication-link:hover { color: var(--accent); }
.publication-link:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---- Featured video item — visually differentiated ---- */
.publication-video {
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  background: var(--paper-2);
  border: 1px solid var(--hairline);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.video-thumb {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 2px;
  line-height: 0;
}
.video-thumb img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}
.video-thumb:hover img { transform: scale(1.03); }
.video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-thumb:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.video-body .publication-meta { margin-bottom: 0.5rem; }
.video-participants {
  font-size: 0.85rem;
  color: var(--slate);
  margin: 0 0 1.3rem;
  line-height: 1.5;
}

@media (max-width: 860px) {
  .publications { grid-template-columns: 1fr; }
  .publication-video { grid-template-columns: 1fr; }
}

/* ============================================================
   FINAL PASS — spacing rhythm, 4-cell grid, footer legal, pages
   ============================================================ */

/* Tighten section padding ~15-20% */
.section { padding-block: clamp(2.75rem, 6.5vw, 5.5rem); }
.section-head { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }

/* Who Reach For works with — exactly 4 cells, responsive */
.audience {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 900px) {
  .audience { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .audience { grid-template-columns: 1fr; }
}
.audience-item { font-size: 1.05rem; padding: 1.2rem 1.1rem; }

/* Insights — 3 balanced cards */
.insights { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 900px) {
  .insights { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .insights { grid-template-columns: 1fr; }
}

/* Selected Experience — 3 columns, content-height */
.proofs { grid-template-columns: repeat(3, 1fr); gap: clamp(1.5rem, 3vw, 2.5rem); margin-bottom: 0; }
@media (max-width: 860px) { .proofs { grid-template-columns: 1fr; } }

/* Public engagements photo — good presence, tighter */
.representation-photo { max-width: 640px; margin: 0 0 1.75rem; }
.representation-list { columns: 2; column-gap: clamp(2rem,5vw,4rem); }
.representation-list li { padding: 0.4rem 0; }
@media (max-width: 700px){ .representation-list { columns: 1; } }

/* Footer legal line */
.footer-legal-line {
  font-size: 0.78rem;
  color: #6f7a8b;
  margin-top: 0.35rem;
  display: block;
}

/* Legal / Privacy pages */
.legal-page { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.legal-body { max-width: 60ch; margin-top: 1.5rem; }
.legal-body p { margin: 0 0 1rem; }
.legal-sub { font-family: var(--serif); font-weight: 500; font-size: 1.15rem; margin: 1.75rem 0 0.75rem; }
.legal-note { color: var(--slate); font-size: 0.92rem; margin-top: 1.5rem; }
.legal-list { max-width: 60ch; color: var(--navy); padding-left: 1.1rem; }
.legal-list li { margin: 0.4rem 0; }
.legal-body a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.legal-back { margin-top: 2.5rem; }
.legal-back a { color: var(--slate); text-decoration: none; }
.legal-back a:hover { color: var(--navy); }
