/* Claude-assisted — minimal consulting / editorial shell */
:root {
  --bg: #faf9f7;
  --bg-panel: #ffffff;
  --fg: #1a1f26;
  --muted: #5c6570;
  /* Brand greens — literal hex + tokens (fallbacks if vars fail / cache old file) */
  --accent: #13501b;
  --accent-mid: #588534;
  --accent-hover: #0c3a12;
  --border: #e2e0dc;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(26, 31, 38, 0.06);
  --font-body: "Source Sans 3", system-ui, sans-serif;
  --font-display: "Newsreader", Georgia, "Times New Roman", serif;
  --max: 40rem;
}

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

html {
  font-size: 106%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--fg);
  background: var(--bg);
  line-height: 1.55;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.5rem;
  padding: 0.5rem 1rem;
  background: #13501b;
  background: var(--accent);
  color: #fff;
  z-index: 100;
}

.skip-link:focus {
  left: 0.5rem;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--bg-panel);
  box-shadow: var(--shadow);
  /* Center the inner bar across the full viewport (avoids “off-center” from narrow inner max-width). */
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.brand {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.brand-mark {
  display: inline-block;
  width: 5.6rem;
  height: 5.6rem;
  border-radius: var(--radius);
  background: linear-gradient(145deg, var(--accent), var(--accent-mid));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

/* Centered logo; 4× prior bounds; contain for non-square marks. */
.brand-logo {
  display: block;
  flex: 0 0 auto;
  margin: 0;
  max-height: 6.72rem;
  max-width: min(30rem, 92vw);
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center center;
  border-radius: var(--radius);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.brand-name {
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.brand-tag {
  font-size: 0.9rem;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

main {
  max-width: calc(var(--max) + 4rem);
  margin: 0 auto;
  padding: 2.25rem 1.5rem 3rem;
}

.hero {
  margin-bottom: 2rem;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  /* 75% of prior scale */
  font-size: clamp(calc(1.75rem * 0.75), calc(4vw * 0.75), calc(2.35rem * 0.75));
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: var(--max);
  margin: 0 0 1.5rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.button.primary {
  background: #13501b;
  background: var(--accent);
  color: #fff;
}

.button.primary:hover {
  background: #0c3a12;
  background: var(--accent-hover);
}

.button.ghost {
  background: transparent;
  color: #13501b;
  color: var(--accent);
  border-color: rgba(19, 80, 27, 0.38);
}

.button.ghost:hover {
  border-color: #13501b;
  border-color: var(--accent);
  background: rgba(19, 80, 27, 0.07);
}

.panel {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem 1.4rem 1.45rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow);
}

.panel.muted {
  background: #f7f6f4;
  background: color-mix(in srgb, var(--bg-panel) 88%, var(--bg));
}

.panel h2 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  letter-spacing: -0.01em;
}

.services-figure {
  margin: 0 0 1rem;
  padding: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #f3f2ef;
  background: color-mix(in srgb, var(--bg) 70%, var(--bg-panel));
}

.services-figure img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 14rem;
  object-fit: cover;
}

.bullet-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.bullet-list li {
  margin-bottom: 0.4rem;
}

.bullet-list li::marker {
  color: #13501b;
  color: var(--accent);
}

.link-row {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.link-row a {
  color: #13501b;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(19, 80, 27, 0.35);
}

.link-row a:hover {
  border-bottom-color: #13501b;
  border-bottom-color: var(--accent);
}

.text-link {
  color: #13501b;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(19, 80, 27, 0.35);
}

.text-link:hover {
  border-bottom-color: #13501b;
  border-bottom-color: var(--accent);
}

.resume-copy {
  margin: 0;
  color: var(--muted);
}

.bio-body {
  margin: 0 0 1.1rem;
  max-width: var(--max);
}

.bio-body .bio-para {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--muted);
}

.bio-body .bio-para:last-child {
  margin-bottom: 0;
}

.email-line {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
}

.fine-print {
  font-size: 0.82rem;
  color: var(--muted);
}

.fine-print code {
  font-size: 0.78em;
  background: color-mix(in srgb, var(--border) 55%, transparent);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

.site-footer {
  max-width: calc(var(--max) + 4rem);
  margin: 0 auto;
  padding: 1.5rem 1.5rem 2.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.88rem;
  color: var(--muted);
}

.site-footer p {
  margin: 0.25rem 0;
}

.site-footer-sep {
  color: var(--muted);
  font-weight: 400;
}

@media (prefers-reduced-motion: reduce) {
  .button {
    transition: none;
  }
}

/* Workshop catalog — colors from workshop catalog PDF export (PDF sc/RG operators, pypdf stream parse) */
.page-catalog {
  --pdf-white: #ffffff;
  --pdf-mint: #ccd4cc;
  --pdf-black: #0a0a0a;
  --pdf-green-ink: #13501b;
  --pdf-green-mid: #196b24;
  --pdf-green-deep: #166020;
  --pdf-green-leaf: #32873c;
  --pdf-green-soft: #5ba261;
  --pdf-sage: #96aa98;
  --pdf-brown: #6c461a;
  --pdf-page-bg: #f4f5f3;
}

body.page-catalog {
  background: var(--pdf-page-bg);
  color: var(--pdf-black);
}

.page-catalog .catalog-main {
  max-width: 48rem;
}

.catalog-page-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
  color: var(--pdf-green-ink);
}

.catalog-nav-top,
.catalog-nav-bottom {
  margin: 0 0 1rem;
  font-size: 0.95rem;
}

.catalog-nav-bottom {
  margin-top: 2rem;
  margin-bottom: 0;
}

.catalog-plain-link {
  color: var(--pdf-green-ink);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.12em;
}

/* —— Layout A: horizontal bands (slide-row feel) —— */
.layout-a .catalog-bands-a {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Layout A: every band uses the same “card” treatment (former box 2). */
.layout-a .catalog-band-a {
  margin: 0;
  padding: 1.35rem 1.4rem 1.45rem;
  border-radius: var(--radius);
  box-shadow: 0 1px 3px rgba(10, 10, 10, 0.08);
  background: var(--pdf-white);
  border: 1px solid var(--pdf-green-soft);
  border-left-width: 5px;
  border-left-color: var(--pdf-green-leaf);
}

.layout-a .catalog-band-title {
  font-family: var(--font-display);
  font-size: 1.22rem;
  font-weight: 600;
  margin: 0 0 0.65rem;
  letter-spacing: -0.01em;
  color: var(--pdf-green-ink);
}

.layout-a .catalog-band-text {
  margin: 0 0 0.55rem;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--pdf-black);
}

.layout-a .catalog-band-text:last-child {
  margin-bottom: 0;
}

.layout-a .catalog-band-bullets {
  margin: 0 0 0.35rem;
  padding-left: 1.25rem;
  color: var(--pdf-black);
}

.layout-a .catalog-band-bullets li {
  margin-bottom: 0.45rem;
  line-height: 1.55;
}

.layout-a .catalog-band-bullets li:last-child {
  margin-bottom: 0;
}

.resume-copy-sep {
  color: var(--muted);
  font-weight: 400;
}

/* Home — workshops strip + pre-footer CTAs */
.workshops-panel {
  border-left: 5px solid var(--accent);
  background: linear-gradient(
    90deg,
    color-mix(in srgb, var(--accent) 6%, var(--bg-panel)) 0%,
    var(--bg-panel) 14%
  );
}

.workshops-offering-titles li {
  font-weight: 600;
  color: var(--fg);
}

.workshops-catalog-cta {
  margin: 0.85rem 0 0;
}

.prefooter-cta {
  margin-top: 0.25rem;
}

.prefooter-cta .hero-cta {
  justify-content: center;
}
