/* The Honest Talk: site styles. Portrait-led, type-first editorial pages.
   Headings sit in a narrow left column on wide screens, text in a readable right column.
   Breakpoints are container queries against <body> (container name "site"). */
:root {
  --paper: #f6f5f1;
  --paper-2: #edebe5;
  --ink: #1b1c1e;
  --muted: #5d5e60;
  --rule: #d5d3cb;
  --accent: #1f3557;
  --on-accent: #ffffff;

  --display: "Instrument Serif", "Iowan Old Style", "Times New Roman", serif;
  --text: "Newsreader", Georgia, "Times New Roman", serif;

  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--paper); color: var(--ink); container: site / inline-size; }
/* Lock the root, not body: body is a size container, so overflow on it doesn't reach the viewport and the page jumps to the top */
html.menu-open { overflow: hidden; }

.site {
  --gutter: clamp(20px, 5cqi, 56px);
  --section-y: clamp(56px, 8cqi, 120px);
  font-family: var(--text);
  font-size: clamp(17px, 15px + 0.35cqi, 20px);
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
.site img { display: block; max-width: 100%; height: auto; }
.site a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
.site a:hover { color: var(--accent); }
.site :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.site h1, .site h2, .site h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-wrap: balance;
  margin: 0;
}
.site h1 { font-size: clamp(2.4rem, 1.7rem + 2.4cqi, 3.4rem); line-height: 1.04; }
.site h2 { font-size: clamp(1.9rem, 1.4rem + 1.6cqi, 2.75rem); }
.site h3 { font-size: clamp(1.3rem, 1.1rem + 0.5cqi, 1.6rem); line-height: 1.15; }
.site :where(p) { margin: 0; }
.site :where(ul, ol) { margin: 0; padding: 0; }
.site :where(blockquote) { margin: 0; }
.site :where(section, [id]) { scroll-margin-top: 88px; }

.flow > * + * { margin-top: 1em; }
.flow > h2 + *, .flow > h3 + * { margin-top: 0.6em; }

.eyebrow {
  font-family: var(--text);
  font-size: 13px;
  font-weight: 560;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  line-height: 1.4;
}
.lead { font-size: 1.12em; line-height: 1.5; }
.muted { color: var(--muted); }
.measure { max-width: 36rem; }

.container { max-width: 1240px; margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.section--tint { background: var(--paper-2); }
.section + .section:not(.section--tint) { border-top: 1px solid var(--rule); }
.section--tint + .section { border-top: 0; }

/* Two-column rows: heading left, text right, on wide screens */
.row { display: grid; gap: 1.25rem; }
@container site (min-width: 860px) {
  .row { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(32px, 5cqi, 96px); }
  .row > :first-child { padding-top: 0.15em; }
}
.row > * { min-width: 0; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7em 1.35em;
  border: 1px solid var(--accent);
  border-radius: 2px;
  font-family: var(--text);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color .15s, color .15s, border-color .15s;
}
.site .btn-primary { background: var(--accent); color: var(--on-accent); }
.site .btn-primary:hover { background: color-mix(in srgb, var(--accent) 82%, #000); border-color: color-mix(in srgb, var(--accent) 82%, #000); color: var(--on-accent); }
.site .btn-secondary { background: transparent; color: var(--accent); }
.site .btn-secondary:hover { background: var(--accent); color: var(--on-accent); }
.btn-sm { min-height: 40px; padding: 0.45em 0.95em; font-size: 15px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  min-height: 44px;
  font-size: 17px;
  color: var(--accent) !important;
  text-decoration: none;
}
.text-link .tl-text { text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
.text-link .tl-arrow { width: 0.6em; height: 0.8em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; transition: transform .15s; }
.text-link:hover .tl-arrow { transform: translateY(2px); }
@media (prefers-reduced-motion: reduce) { .text-link:hover .tl-arrow { transform: none; } }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.5rem; margin-top: 2rem; }
.cta-note { margin-top: 0.75rem; font-size: 15px; color: var(--muted); }

/* Skip link */
.skip-link {
  position: absolute; left: 12px; top: -100px; z-index: 100;
  padding: 10px 14px; background: var(--ink); color: var(--paper) !important;
}
.skip-link:focus { top: 12px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 40;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}
.header-inner { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.logo { display: block; line-height: 0; margin-right: auto; color: var(--ink); padding-block: 8px; }
.site .logo:hover { color: var(--ink); }
.logo svg { display: block; width: 150px; height: auto; }
.book-short { margin-left: auto; }
.menu-toggle {
  width: 44px; height: 44px; margin-right: -10px; padding: 0;
  border: 0; background: none; color: var(--ink); cursor: pointer;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 22px; height: 1.5px; margin: 0 auto;
  background: currentColor; transition: transform .2s, background-color .2s;
}
.menu-toggle span { position: relative; }
.menu-toggle span::before, .menu-toggle span::after { content: ""; position: absolute; left: 0; }
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-7px) rotate(-45deg); }
@media (prefers-reduced-motion: reduce) { .menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { transition: none; } }

.site-nav ul { list-style: none; }
.site-nav a { text-decoration: none; }
.site-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 0.35em; }

/* Mobile menu panel */
.site-nav {
  display: none;
  position: absolute;
  left: 0; right: 0; top: 100%;
  height: calc(100dvh - 64px);
  background: var(--paper);
  padding: 28px var(--gutter);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.site-nav.is-open { display: block; }
.site-nav ul { display: flex; flex-direction: column; gap: 4px; }
.site-nav li a:not(.btn) {
  display: block; padding: 10px 0;
  font-family: var(--display); font-size: 34px; line-height: 1.1;
  border-bottom: 1px solid var(--rule);
}
.site-nav .nav-cta { margin-top: 24px; }
.site-nav .nav-cta .btn { width: 100%; }

@container site (min-width: 900px) {
  .header-inner { min-height: 80px; gap: 32px; }
  .logo svg { width: 182px; }
  .book-short, .menu-toggle { display: none; }
  .site-nav { display: block; position: static; height: auto; padding: 0; background: none; overflow: visible; }
  .site-nav ul { flex-direction: row; align-items: center; gap: 32px; }
  .site-nav li a:not(.btn) { display: inline; padding: 0; font-family: var(--text); font-size: 17px; border: 0; }
  .site-nav li a:not(.btn):hover { text-decoration: underline; text-underline-offset: 0.35em; }
  .site-nav .nav-cta { margin: 0 0 0 4px; }
  .site-nav .nav-cta .btn { width: auto; min-height: 44px; font-size: 16px; }
}


/* Home hero */
.hero { padding-block: clamp(36px, 6cqi, 96px) clamp(48px, 7cqi, 112px); }
.hero-grid { display: grid; gap: 40px; }
.hero-text > * + * { margin-top: 1.25rem; }
.hero-text h1 { margin-top: 0.9rem; }
.hero-sub { font-size: 1.15em; line-height: 1.5; max-width: 34rem; }
.support { font-size: 15px; line-height: 1.6; color: var(--muted); }
.support span { display: block; }
.support .sep { display: none; }
.hero-photo { max-width: 440px; }
.portrait { aspect-ratio: 4 / 5; width: 100%; object-fit: cover; background: var(--paper-2); }
@container site (min-width: 760px) {
  .support span { display: inline; }
  .support .sep { display: inline; padding-inline: 0.4em; }
  .hero-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: clamp(40px, 6cqi, 96px); }
  .hero-photo { max-width: none; justify-self: end; width: 100%; }
}

/* Credential strip */
.credentials { border-block: 1px solid var(--rule); padding-block: 28px; }
.credentials ul { list-style: none; display: grid; gap: 18px 32px; }
.credentials li { font-size: 15.5px; line-height: 1.45; color: var(--muted); }
.credentials strong { display: block; font-family: var(--display); font-weight: 400; font-size: 21px; color: var(--ink); line-height: 1.2; margin-bottom: 2px; }
@container site (min-width: 560px) { .credentials ul { grid-template-columns: 1fr 1fr; } }
@container site (min-width: 1000px) {
  .credentials ul { grid-template-columns: repeat(4, 1fr); }
  .credentials li + li { border-left: 1px solid var(--rule); padding-left: 32px; }
}

/* Who I work with */
.moments { display: grid; gap: 28px; margin-top: 2.5rem; }
.moment { border-top: 1px solid var(--rule); padding-top: 18px; }
.moment h3 { margin-bottom: 0.4em; }
@container site (min-width: 760px) { .moments { grid-template-columns: 1fr 1fr; gap: 40px clamp(32px, 5cqi, 72px); } }

/* Takeaways */
.takeaways { margin-top: 2.25rem; }
.takeaways h3 { margin-bottom: 0.7em; }
.takeaways ul { list-style: none; border-top: 1px solid var(--rule); }
.takeaways li { padding: 12px 0 12px 1.6em; border-bottom: 1px solid var(--rule); position: relative; }
.takeaways li::before { content: ""; position: absolute; left: 0; top: 1.15em; width: 0.8em; height: 1px; background: var(--accent); }

/* Testimonials */
.quotes { display: grid; gap: 48px; margin-top: 2.5rem; }
@container site (min-width: 760px) { .quotes { grid-template-columns: 1fr 1fr; gap: 64px clamp(40px, 6cqi, 96px); } }
.quote { margin: 0; border-top: 1px solid var(--accent); padding-top: 24px; min-width: 0; }
.quote-head {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.5rem, 1.25rem + 0.7cqi, 1.95rem);
  line-height: 1.15;
  text-wrap: balance;
  margin: 0 0 0.75em;
}
.quote-body p + p { margin-top: 0.8em; }
.quote-excerpt, .quote-full { color: var(--ink); }
.quote:has(details[open]) .quote-excerpt { display: none; }
.quote details { margin-top: 0.5em; }
.quote details[open] { display: flex; flex-direction: column; }
.quote details[open] > summary { order: 2; margin-top: 0.6em; }
.quote summary {
  display: inline-flex; align-items: center; min-height: 44px; width: max-content;
  cursor: pointer; list-style: none; color: var(--accent);
  text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px;
}
.quote summary::-webkit-details-marker { display: none; }
.quote summary .less { display: none; }
.quote details[open] summary .more { display: none; }
.quote details[open] summary .less { display: inline; }
.quote figcaption { margin-top: 1em; font-size: 16px; }
.quote figcaption .who { font-weight: 560; }
.quote figcaption .role { color: var(--muted); }

/* How it works steps */
.steps { list-style: none; display: grid; gap: 32px; margin-top: 2.5rem; counter-reset: step; }
.steps li { border-top: 1px solid var(--rule); padding-top: 18px; }
.steps .num { display: block; font-family: var(--display); font-size: 44px; line-height: 1; color: var(--accent); margin-bottom: 14px; }
.steps h3 { margin-bottom: 0.45em; }
@container site (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); gap: clamp(32px, 4cqi, 64px); } }

/* Closing CTA */
.closing { text-align: left; }
.closing p { margin-top: 1rem; max-width: 36rem; }

/* About */
.about-hero { display: grid; gap: 28px; grid-template-areas: "title" "photo" "body"; }
.about-hero .title-block { grid-area: title; }
.about-hero .photo { grid-area: photo; max-width: 420px; }
.about-hero .body { grid-area: body; }
.role-line { margin-top: 0.9rem; font-size: 1.05em; color: var(--muted); }
@container site (min-width: 860px) {
  .about-hero { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "photo title" "photo body"; grid-template-rows: auto 1fr; column-gap: clamp(40px, 6cqi, 96px); row-gap: 32px; }
  .about-hero .photo { max-width: none; }
  .about-hero .title-block { align-self: end; }
}
.cred-list { list-style: none; border-top: 1px solid var(--rule); }
.cred-list li { padding: 12px 0; border-bottom: 1px solid var(--rule); }

/* Coaching */
.page-head { padding-block: clamp(40px, 6cqi, 96px) clamp(40px, 5cqi, 72px); }
.page-head .lead { margin-top: 1.25rem; max-width: 38rem; }
.topics { list-style: none; border-top: 1px solid var(--rule); display: grid; }
.topics li { padding: 12px 0; border-bottom: 1px solid var(--rule); }
@container site (min-width: 600px) { .topics { grid-template-columns: 1fr 1fr; column-gap: 32px; } }
.options { display: grid; gap: 20px; margin-top: 2.25rem; }
@container site (min-width: 900px) { .options { grid-template-columns: repeat(3, 1fr); gap: 24px; } }
.option { background: var(--paper); border: 1px solid var(--rule); padding: 28px 26px 30px; display: flex; flex-direction: column; gap: 0.6em; }
.option .cadence { margin-top: 0.1em; }
.option .checkin { color: var(--muted); font-size: 0.94em; padding-top: 0.6em; border-top: 1px solid var(--rule); margin-top: auto; }
.option .note { font-style: italic; color: var(--accent); font-size: 0.94em; }
.options-notes { margin-top: 2rem; max-width: 40rem; }
.qa { display: grid; gap: 28px; }
.qa h3 { margin-bottom: 0.4em; }
.cta-end { display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; align-items: center; }
.section--cta { padding-block: clamp(40px, 5cqi, 64px); }

/* Contact */
.contact-grid { display: grid; gap: 48px; }
.contact-grid .photo { display: none; }
@container site (min-width: 860px) {
  .contact-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); align-items: start; gap: clamp(48px, 7cqi, 112px); }
  .contact-grid .photo { display: block; }
}
.contact-alt { margin-top: 3rem; padding-top: 24px; border-top: 1px solid var(--rule); }
.contact-alt h2 { font-size: clamp(1.4rem, 1.2rem + 0.6cqi, 1.75rem); }
.contact-list { margin: 1rem 0 0; display: grid; gap: 4px; }
.contact-list div { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); align-items: start; min-height: 40px; padding-block: 4px; }
.contact-list dt { padding-block: 6px; }
.contact-list dt { color: var(--muted); }
.contact-list dd { margin: 0; overflow-wrap: anywhere; }
.contact-list a { display: inline-block; padding-block: 6px; }

/* Footer */
.site-footer { background: var(--paper-2); border-top: 1px solid var(--rule); padding-block: clamp(48px, 6cqi, 80px) 32px; font-size: 16px; line-height: 1.6; }
.footer-grid { display: grid; gap: 28px; }
/* Bare italic h (option C) above the wordmark. The #h-bare symbol's own viewBox is
   17 7 37 46, so the <svg> that uses it needs viewBox="0 0 37 46" or the h is clipped. */
.footer-mark { display: block; color: var(--ink); line-height: 0; margin-bottom: 14px; }
.footer-mark svg { display: block; height: 34px; width: auto; }
.footer-logo { display: block; color: var(--ink); line-height: 0; margin-bottom: 12px; }
.footer-logo svg { width: 168px; height: auto; display: block; }
.footer-label { font-size: 12.5px; font-weight: 560; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); line-height: 1.6; margin-bottom: 6px; }
.footer-list { list-style: none; }
.footer-list li { padding-block: 5px; }
.footer-links a { display: inline-block; }
.footer-base { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--rule); color: var(--muted); font-size: 14.5px; }
@container site (min-width: 860px) {
  .footer-grid { grid-template-columns: 1.2fr 1.2fr 1fr; gap: 40px; align-items: start; }
  /* the two list columns start level with the wordmark, below the h mark */
  .footer-col { padding-top: 48px; }
}

.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* 404 */
.notfound { padding-block: clamp(64px, 10cqi, 160px); }
.notfound p { margin-top: 1.25rem; max-width: 36rem; }
