/* ==========================================================================
   Kitchen Garden Theme — Lesley Langdon Personal Website
   ========================================================================== */

/* --------------------------------------------------------------------------
   Self-hosted fonts (variable woff2, latin + latin-ext). Licenses in /fonts.
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/lora-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/lora-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/lora-latin-wght-italic.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/lora-latin-ext-wght-italic.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}

@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/plus-jakarta-sans-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}

:root {
  --olive:      #3E4A2F;  /* header, footer, primary headings, dark accents */
  --sage:       #7A9A7E;  /* borders, dividers, leaf ornaments ONLY — never text or behind text */
  --sage-tint:  #E8EEE5;  /* pale sage tint for full-width alternating bands & pills */
  --tomato:     #C4512F;  /* the ONE main call-to-action button per page */
  --tomato-hover: #A84123;
  --cream:      #FAF6EE;  /* base page background */
  --ink:        #26261F;  /* body text */
  --white:      #FFFFFF;  /* filled cards on cream backgrounds */
  --sage-tint-deep: #E2EAE0;  /* icon chips inside cards on sage-tint bands */

  /* Business training page only (/business-training). See the "Business training page" section. */
  --biz-teal:        #173B44;  /* headings, dark bands */
  --biz-terracotta:  #D97A54;  /* accent lines and decoration (too light for white button text) */
  --biz-btn:         #B5552F;  /* deeper terracotta for buttons: white text passes WCAG AA */
  --biz-btn-hover:   #9E4A29;
  --biz-gold:        #E9B95B;  /* highlights, numbers, small icons */
  --biz-cream:       #F5F0E7;  /* page background */
  --biz-sage:        #354D46;  /* secondary headings, supporting accents */

  --font-serif: 'Lora', Georgia, 'Times New Roman', serif;
  --font-sans:  'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  --container-max: 1080px;
  --prose-max: 65ch;
  --radius-card: 16px;
  --radius-sm: 6px;
  --radius-pill: 9999px;

  --shadow-soft: 0 2px 14px rgba(38, 38, 31, 0.06);
  --shadow-hover: 0 8px 24px rgba(38, 38, 31, 0.10);
}

/* --------------------------------------------------------------------------
   Reset & Base Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  background-color: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.125rem;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

/* Accessibility: Focus styles */
:focus-visible {
  outline: 2px solid var(--olive);
  outline-offset: 3px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -9999px;
  left: 1rem;
  background: var(--cream);
  color: var(--olive);
  padding: 0.6rem 1.2rem;
  z-index: 1000;
  text-decoration: none;
  font-weight: 700;
  border-radius: var(--radius-sm);
  border: 2px solid var(--olive);
}

.skip-link:focus {
  top: 1rem;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--olive);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  margin-bottom: 1.25rem;
}

h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.35rem);
  margin-bottom: 0.85rem;
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 0.65rem;
}

p {
  margin-bottom: 1.25rem;
  max-width: var(--prose-max);
}

em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: inherit;
}

a {
  color: var(--olive);
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: opacity 0.15s ease, color 0.15s ease;
}

a:hover {
  opacity: 0.85;
}

strong {
  font-weight: 600;
  color: var(--ink);
}

/* Section Eyebrow Labels */
.eyebrow {
  display: block;
  font-family: var(--font-sans);
  text-transform: uppercase;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--olive);
  opacity: 0.85;
  margin-bottom: 0.6rem;
}

/* Section Heading Accent Underline (sage, 48px wide, 3px thick) */
.heading-accent {
  position: relative;
  margin-bottom: 1.75rem;
}

.heading-accent::after {
  content: '';
  display: block;
  width: 48px;
  height: 3px;
  background-color: var(--sage);
  border-radius: 2px;
  margin-top: 0.65rem;
}

.heading-accent.text-center::after {
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------------------------------------
   Quiet Placeholders (Plain italic, 70% size, no box/border/background)
   -------------------------------------------------------------------------- */
.todo-placeholder {
  display: inline;
  font-style: italic;
  font-size: 0.78em;
  color: var(--ink);
  opacity: 0.82;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
}

p.todo-placeholder,
div.todo-placeholder {
  display: block;
  margin-bottom: 1rem;
}

/* --------------------------------------------------------------------------
   Layout Containers & Alternating Full-Width Bands
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-narrow {
  width: 100%;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

main {
  flex: 1 0 auto;
}

/* Full-width bands */
.band-cream {
  background-color: var(--cream);
  padding: 3.5rem 0;
}

.band-tint {
  background-color: var(--sage-tint);
  padding: 4rem 0;
}

@media (min-width: 768px) {
  .band-cream {
    padding: 4.5rem 0;
  }
  .band-tint {
    padding: 5rem 0;
  }
}

/* Delicate garden sprout/leaf divider */
.leaf-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sage);
  margin: 1.5rem auto;
  text-align: center;
}

.leaf-divider svg {
  width: 42px;
  height: 24px;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 1.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  font-weight: 600;
  padding: 0.85rem 1.6rem;
  text-decoration: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: center;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
  line-height: 1.25;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(1px);
}

/* Tomato primary — used once per page at most */
.btn-primary {
  background-color: var(--tomato);
  color: #ffffff;
  border: 2px solid var(--tomato);
  box-shadow: 0 2px 8px rgba(196, 81, 47, 0.25);
}

.btn-primary:hover {
  background-color: var(--tomato-hover);
  border-color: var(--tomato-hover);
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(196, 81, 47, 0.35);
}

/* Quiet secondary — outlined in olive */
.btn-secondary {
  background-color: transparent;
  color: var(--olive);
  border: 2px solid var(--olive);
}

.btn-secondary:hover {
  background-color: rgba(62, 74, 47, 0.08);
  color: var(--olive);
  text-decoration: none;
}

/* --------------------------------------------------------------------------
   Header & Navigation (Solid Olive Bar)
   -------------------------------------------------------------------------- */
.site-header {
  background-color: var(--olive);
  color: var(--cream);
  position: relative;
  z-index: 50;
  box-shadow: 0 1px 3px rgba(38, 38, 31, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.15rem;
  padding-bottom: 1.15rem;
}

.site-brand {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.site-brand:hover {
  opacity: 0.9;
  text-decoration: none;
}

.site-nav {
  display: flex;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  list-style: none;
}

.nav-link {
  font-size: 0.975rem;
  font-weight: 500;
  color: var(--cream);
  opacity: 0.9;
  text-decoration: none;
  padding: 0.35rem 0;
  position: relative;
  transition: opacity 0.15s ease;
}

.nav-link:hover {
  opacity: 1;
  text-decoration: none;
}

/* Current-page link gets a sage underline */
.nav-link.active,
.nav-link[aria-current="page"] {
  font-weight: 700;
  opacity: 1;
  border-bottom: 2px solid var(--sage);
  text-decoration: none;
}

/* Mobile Nav Toggle Button */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1.5px solid rgba(250, 246, 238, 0.6);
  border-radius: var(--radius-sm);
  color: var(--cream);
  padding: 0.45rem 0.75rem;
  cursor: pointer;
  font-size: 0.9rem;
  font-family: var(--font-sans);
  font-weight: 600;
  align-items: center;
  gap: 0.45rem;
}

.nav-toggle:hover {
  border-color: var(--cream);
}

.nav-toggle-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  vertical-align: middle;
}

/* Responsive Nav Collapse on Phones */
@media (max-width: 960px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--olive);
    border-top: 1px solid rgba(122, 154, 126, 0.3);
    padding: 1.25rem 1.5rem 1.75rem;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  }

  .site-nav.is-open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
  }

  .nav-link {
    display: block;
    font-size: 1.05rem;
    padding: 0.5rem 0;
    width: 100%;
    border-bottom: 1px solid rgba(250, 246, 238, 0.12);
  }

  .nav-link.active,
  .nav-link[aria-current="page"] {
    border-bottom: 2px solid var(--sage);
  }

  .nav-list li:last-child .nav-link {
    border-bottom: none;
  }
}

/* --------------------------------------------------------------------------
   Home Page Hero Section (Two columns desktop, stacked phones)
   -------------------------------------------------------------------------- */
.hero-two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

@media (min-width: 820px) {
  .hero-two-col {
    grid-template-columns: 1.25fr 0.95fr;
    gap: 3.5rem;
    padding-top: 2rem;
    padding-bottom: 2rem;
  }
}

.hero-content h1 {
  font-size: clamp(2.75rem, 5.5vw, 4.25rem);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

/* Headshot organic arched frame */
.hero-photo-col {
  display: flex;
  justify-content: center;
}

.photo-arch-frame {
  width: 100%;
  max-width: 320px;
  aspect-ratio: 3 / 4;
  border-radius: 160px 160px 20px 20px;
  background-color: var(--sage-tint);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.photo-arch-frame picture {
  display: block;
  width: 100%;
  height: 100%;
}

.photo-arch-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

/* --------------------------------------------------------------------------
   Softer, Friendlier Cards
   -------------------------------------------------------------------------- */
/* Filled cards: white on cream sections, cream on tinted sections */
.band-cream .card {
  background-color: var(--white);
}

.band-tint .card {
  background-color: var(--cream);
}

.card {
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  padding: 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid rgba(122, 154, 126, 0.2);
  text-decoration: none;
  color: var(--ink);
  position: relative;
}

/* Hover lift only for cards that are a single link as a whole (<a class="card">) */
a.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  text-decoration: none;
}

/* Top inline-SVG line icon in olive */
.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: var(--sage-tint);
  color: var(--olive);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.35rem;
}

.band-tint .card-icon {
  background-color: var(--sage-tint-deep);
}

.card-icon svg {
  width: 24px;
  height: 24px;
  stroke: var(--olive);
  stroke-width: 2;
  fill: none;
}

/* Card titles: one size everywhere (Library titles are set slightly smaller below) */
.card h2,
.card h3,
.service-card h2,
.service-card h3 {
  font-size: 1.55rem;
  margin-bottom: 0.75rem;
}

/* A short aside at the bottom of a card, set off by a thin rule */
.card-note {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(122, 154, 126, 0.2);
  margin-bottom: 0;
}

.card-links {
  list-style: none;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(122, 154, 126, 0.25);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.card-links a {
  font-weight: 600;
  font-size: 0.975rem;
}

/* Grid Layouts */
.grid-two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 1.5rem;
}

@media (min-width: 760px) {
  .grid-two-col {
    grid-template-columns: 1fr 1fr;
  }
}

/* A full-width card under a two-column grid (Home: small businesses door) */
.card-wide {
  margin-top: 2rem;
}

/* Talks 3-across grid on desktop, stacked on phones */
.talks-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 900px) {
  .talks-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.talk-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.talk-audiences-wrap {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(122, 154, 126, 0.2);
}

.talk-audiences-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--olive);
  margin-bottom: 0.4rem;
}

/* Pill tags in pale sage tint with olive text */
.pill-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
}

.pill-tag {
  display: inline-block;
  background-color: var(--sage-tint);
  color: var(--olive);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  line-height: 1.35;
}

.band-tint .pill-tag {
  background-color: var(--cream);
}

/* Tools strip */
.tools-card {
  padding: 2.25rem;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  background-color: var(--white);
  border: 1px solid rgba(122, 154, 126, 0.2);
}

.tools-card a {
  font-weight: 700;
  font-size: 1.1rem;
}

/* --------------------------------------------------------------------------
   Content Cards for Schools, Coaching, About
   -------------------------------------------------------------------------- */
.services-stack {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 1.75rem;
}

.service-card {
  border-radius: var(--radius-card);
  padding: 2.25rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(122, 154, 126, 0.2);
}

.band-cream .service-card {
  background-color: var(--white);
}

.band-tint .service-card {
  background-color: var(--cream);
}

/* Card groups that open a section (no heading above) don't need extra top space */
.grid-two-col:first-child,
.talks-grid:first-child,
.services-stack:first-child {
  margin-top: 0;
}

/* Smaller subheading directly under a page h1 (About: "My story") */
.subheading {
  font-size: 1.6rem;
  margin-top: 1rem;
}

/* Pull quote */
.pull-quote {
  margin: 2rem 0;
  padding: 1.5rem 2rem;
  border-left: 4px solid var(--sage);
  background: rgba(250, 246, 238, 0.75);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.pull-quote p {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--olive);
  line-height: 1.45;
  margin-bottom: 0;
}

/* Library post template */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 2rem;
  font-weight: 700;
  font-size: 0.95rem;
}

.post-summary {
  font-size: 1.25rem;
  line-height: 1.6;
  color: var(--ink);
  margin-bottom: 2.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 2px solid var(--sage-tint);
}

/* Contact page: the email address shown as plain text above the button */
.contact-email {
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--olive);
  word-break: break-all;
  margin-bottom: 0;
}

.contact-response-time {
  margin-top: 1.5rem;
  margin-bottom: 0;
  font-size: 1.05rem;
  color: var(--ink);
}

/* Closing band: one centred sentence, then the page's single tomato button */
.page-cta-band {
  text-align: center;
  padding: 4rem 1.5rem;
}

.page-cta-band p {
  font-size: 1.25rem;
  line-height: 1.6;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0;
}

.page-cta-band .btn-group {
  justify-content: center;
  margin-top: 1.5rem;
}

/* --------------------------------------------------------------------------
   Footer (Solid Olive with Cream Text & Icons)
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--olive);
  color: var(--cream);
  padding-top: 2.75rem;
  padding-bottom: 3rem;
  margin-top: auto;
  font-size: 0.95rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  align-items: flex-start;
}

@media (min-width: 680px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.footer-tools {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-tools a {
  font-weight: 600;
  color: var(--cream);
  text-decoration: underline;
  text-decoration-color: var(--sage);
  text-underline-offset: 4px;
}

.footer-tools a:hover {
  opacity: 0.85;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.footer-socials a {
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.footer-socials a:hover {
  opacity: 0.8;
  transform: translateY(-1px);
}

.footer-socials svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.footer-copyright {
  color: rgba(250, 246, 238, 0.85);
  font-size: 0.925rem;
}

/* --------------------------------------------------------------------------
   Samples page (unlisted): project cards with embeds and screenshots
   -------------------------------------------------------------------------- */
.sample-intro {
  max-width: var(--prose-max);
}

.sample-card > p,
.sample-list {
  max-width: var(--prose-max);
}

.sample-list {
  margin: 0 0 1rem 1.25rem;
}

.sample-list li {
  margin-bottom: 0.5rem;
}

.sample-media-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

@media (min-width: 900px) {
  .sample-media-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.sample-figure {
  margin: 0;
}

.sample-figure-single {
  max-width: 560px;
  margin-top: 1.5rem;
}

.sample-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background-color: var(--sage-tint);
  border: 1px solid rgba(122, 154, 126, 0.3);
}

.sample-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.sample-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(122, 154, 126, 0.3);
}

.sample-figure figcaption {
  margin-top: 0.6rem;
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   Utility: hide visually, keep for screen readers
   -------------------------------------------------------------------------- */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* --------------------------------------------------------------------------
   Library page: filters and item cards
   -------------------------------------------------------------------------- */
.library-filters {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.library-filters[hidden] {
  display: none;
}

.filter-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  color: var(--olive);
  margin-bottom: 0.5rem;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-btn {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  border: 2px solid var(--olive);
  background-color: transparent;
  color: var(--olive);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.filter-btn:hover {
  background-color: rgba(62, 74, 47, 0.08);
}

.filter-btn[aria-pressed="true"] {
  background-color: var(--olive);
  color: var(--cream);
}

.library-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}

@media (min-width: 700px) {
  .library-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1000px) {
  .library-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.library-card[hidden] {
  display: none;
}

.library-labels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin-bottom: 1rem;
}

.library-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: var(--olive);
  background-color: var(--sage-tint);
  border-radius: var(--radius-pill);
  padding: 0.2rem 0.65rem;
}

.card h2.library-title {
  font-size: 1.35rem;
}

.library-title a {
  color: var(--olive);
}

.library-from {
  font-size: 0.95rem;
  font-style: italic;
  margin-bottom: 0;
}

.library-message,
.library-no-match {
  text-align: center;
  font-size: 1.2rem;
  padding: 2rem 0;
}

.library-no-match .btn {
  margin-top: 0.5rem;
}

/* Post template: optional video/audio */
.post-media {
  margin: 0 0 2.25rem;
}

.post-embed {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background-color: var(--sage-tint);
}

.post-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.post-media audio {
  display: block;
  width: 100%;
}

.post-media figcaption {
  margin-top: 0.6rem;
  font-size: 0.95rem;
}

/* --------------------------------------------------------------------------
   Business training page (/business-training)
   Its own palette (the --biz-* variables) inside the shared header and footer.
   Everything here is scoped to body.page-biz or .biz-* classes.
   -------------------------------------------------------------------------- */
body.page-biz {
  background-color: var(--biz-cream);
}
.page-biz h1,
.page-biz h2 {
  color: var(--biz-teal);
}
.page-biz h3 {
  color: var(--biz-sage);
}
.page-biz main a {
  color: var(--biz-teal);
}
.page-biz main :focus-visible {
  outline-color: var(--biz-teal);
}

.biz-band {
  padding: 3.5rem 0;
  background-color: var(--biz-cream);
}
.biz-band-white {
  background-color: var(--white);
}
@media (min-width: 768px) {
  .biz-band {
    padding: 5rem 0;
  }
}

.biz-eyebrow {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--biz-sage);
  margin-bottom: 0.6rem;
}
.biz-heading-accent {
  margin-bottom: 1.5rem;
}
.biz-heading-accent::after {
  content: '';
  display: block;
  width: 56px;
  height: 4px;
  margin-top: 0.75rem;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--biz-terracotta) 0 70%, var(--biz-gold) 70% 100%);
}
.biz-lead {
  font-size: 1.15rem;
  margin-bottom: 2rem;
}

/* Buttons */
.biz-btn-primary {
  background-color: var(--biz-btn);
  border: 2px solid var(--biz-btn);
  color: #ffffff;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 10px rgba(181, 85, 47, 0.28);
}
.page-biz .biz-btn-primary {
  color: #ffffff;
  text-decoration: none;
}
.biz-btn-primary:hover {
  background-color: var(--biz-btn-hover);
  border-color: var(--biz-btn-hover);
  opacity: 1;
}
.page-biz .biz-btn-secondary {
  background-color: transparent;
  border: 2px solid var(--biz-teal);
  color: var(--biz-teal);
  border-radius: var(--radius-pill);
  text-decoration: none;
}
.biz-btn-secondary:hover {
  background-color: rgba(23, 59, 68, 0.07);
  opacity: 1;
}

/* Hero */
.biz-hero {
  position: relative;
  overflow: hidden;
}
.biz-hero::before {
  /* soft gold glow behind the media column */
  content: '';
  position: absolute;
  width: 520px;
  height: 520px;
  right: -140px;
  top: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 185, 91, 0.28), rgba(233, 185, 91, 0) 70%);
  pointer-events: none;
}
.biz-hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 880px) {
  .biz-hero-grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 3.5rem;
  }
}
.biz-hero h1 {
  font-size: clamp(2.35rem, 5vw, 3.6rem);
  line-height: 1.12;
}
.biz-hero-sub {
  font-size: 1.25rem;
  line-height: 1.55;
  margin-bottom: 1rem;
}
.biz-tagline {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--biz-sage);
  padding-left: 0.9rem;
  border-left: 3px solid var(--biz-gold);
  margin-bottom: 0;
}

/* Photos */
.biz-hero-media picture,
.biz-split-media picture {
  display: block;
}
.biz-hero-media img,
.biz-split-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(23, 59, 68, 0.16);
}

/* Drawn stand-in for a photo: a small "training guide" window */
.biz-mock {
  max-width: 440px;
  margin: 0 auto;
  background-color: var(--white);
  border-radius: 20px;
  box-shadow: 0 12px 32px rgba(23, 59, 68, 0.16);
  overflow: hidden;
  transform: rotate(-1.5deg);
}
.biz-mock-seasonal {
  transform: rotate(1.5deg);
}
.biz-mock-bar {
  display: flex;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  background-color: var(--biz-teal);
}
.biz-mock-bar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(245, 240, 231, 0.45);
}
.biz-mock-bar span:first-child {
  background-color: var(--biz-terracotta);
}
.biz-mock-bar span:nth-child(2) {
  background-color: var(--biz-gold);
}
.biz-mock-body {
  padding: 1.5rem 1.6rem 1.75rem;
}
.biz-mock-kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--biz-sage);
  margin-bottom: 0.25rem;
}
.biz-mock-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--biz-teal);
  margin-bottom: 1rem;
}
.biz-mock-steps {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 1rem;
}
.biz-mock-steps li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.55rem 0.8rem;
  border-radius: 10px;
  background-color: var(--biz-cream);
}
.biz-mock-steps li::before {
  content: '';
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--biz-sage);
}
.biz-mock-steps li.is-done::before {
  border-color: var(--biz-terracotta);
  background: var(--biz-terracotta) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.biz-mock-quiz {
  margin-top: 1.1rem;
  padding: 0.9rem 1rem;
  border-radius: 10px;
  border-left: 4px solid var(--biz-gold);
  background-color: rgba(233, 185, 91, 0.16);
  font-size: 0.95rem;
}
.biz-mock-quiz p {
  margin: 0;
}

/* The challenge */
.biz-choice-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 0 0 1.75rem;
  max-width: var(--prose-max);
}
.biz-choice-list li {
  padding: 1rem 1.25rem;
  border-radius: 12px;
  background-color: var(--biz-cream);
  border-left: 4px solid var(--biz-sage);
}
.biz-choice-list strong {
  display: block;
  color: var(--biz-teal);
}
.biz-quote {
  margin: 2rem 0;
  padding: 1.5rem 1.75rem;
  border-radius: 16px;
  background-color: var(--biz-teal);
  max-width: var(--prose-max);
}
.biz-quote p {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.6vw, 1.6rem);
  font-style: italic;
  line-height: 1.4;
  color: var(--biz-cream);
}
.biz-note {
  margin-bottom: 0;
}

/* What we can create together */
.biz-grid {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 620px) {
  .biz-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 980px) {
  .biz-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.biz-tile {
  background-color: var(--white);
  border-radius: 16px;
  padding: 1.6rem 1.5rem;
  box-shadow: 0 2px 14px rgba(23, 59, 68, 0.07);
  border-top: 4px solid var(--biz-terracotta);
}
.biz-tile:nth-child(3n+2) {
  border-top-color: var(--biz-gold);
}
.biz-tile:nth-child(3n) {
  border-top-color: var(--biz-sage);
}
.biz-tile h3 {
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}
.biz-tile p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0;
}
.biz-tile-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 1rem;
  border-radius: 12px;
  background-color: rgba(233, 185, 91, 0.22);
}
.biz-tile-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--biz-teal);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.biz-industries {
  margin-top: 2.75rem;
}
.biz-industries-label {
  font-weight: 600;
  color: var(--biz-teal);
  margin-bottom: 0.85rem;
}
.biz-pills {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.biz-pills li {
  font-size: 0.925rem;
  font-weight: 600;
  line-height: 1.35;
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-pill);
  color: var(--biz-teal);
  background-color: var(--white);
  border: 1.5px solid rgba(53, 77, 70, 0.25);
}

/* Dark teal bands (How it works, closing CTA) */
.biz-band-dark {
  background-color: var(--biz-teal);
  color: var(--biz-cream);
}
.page-biz .biz-band-dark h2,
.page-biz main .biz-band-dark a:not(.btn) {
  color: var(--biz-cream);
}
.biz-band-dark .biz-eyebrow {
  color: var(--biz-gold);
}
.page-biz .biz-band-dark :focus-visible {
  outline-color: var(--biz-gold);
}

/* How it works: three steps */
.biz-steps {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  counter-reset: none;
}
@media (min-width: 900px) {
  .biz-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}
.biz-step {
  position: relative;
  background-color: var(--biz-cream);
  color: var(--ink);
  border-radius: 18px;
  padding: 2rem 1.75rem 1.75rem;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}
.biz-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background-color: var(--biz-gold);
  color: var(--biz-teal);
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1;
}
.biz-step h3 {
  font-size: 1.45rem;
  color: var(--biz-teal);
}
.biz-step p,
.biz-step li {
  font-size: 1rem;
  line-height: 1.6;
}
.biz-step p {
  margin-bottom: 0.85rem;
}
.biz-step p:last-child {
  margin-bottom: 0;
}
.biz-step ul {
  margin: 0 0 1rem 1.1rem;
}
.biz-step ul:last-child {
  margin-bottom: 0;
}
.biz-step li {
  margin-bottom: 0.3rem;
}
.biz-step li::marker {
  color: var(--biz-btn);
}

/* Seasonal: text beside picture */
.biz-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 880px) {
  .biz-split {
    grid-template-columns: 1.15fr 1fr;
    gap: 3.5rem;
  }
}
.biz-check-list {
  list-style: none;
  margin: 0 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.biz-check-list li {
  position: relative;
  padding-left: 1.85rem;
}
.biz-check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--biz-sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23E9B95B' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center / 11px no-repeat;
}

/* About */
.biz-about {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 820px) {
  .biz-about {
    grid-template-columns: 280px 1fr;
    gap: 3.5rem;
  }
}
.biz-about-photo {
  max-width: 280px;
}
.biz-about-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  border-radius: 140px 140px 20px 20px;
  box-shadow: 0 12px 32px rgba(23, 59, 68, 0.16);
  border-bottom: 6px solid var(--biz-terracotta);
}
.biz-about-text p:last-child {
  margin-bottom: 0;
  font-weight: 600;
}

/* Closing call to action */
.biz-cta {
  text-align: center;
}
.biz-cta h2 {
  margin-bottom: 1rem;
}
.biz-cta p {
  font-size: 1.15rem;
  margin-left: auto;
  margin-right: auto;
}
.biz-cta .btn-group {
  justify-content: center;
  margin-top: 0.5rem;
  margin-bottom: 1.75rem;
}
.biz-cta .biz-cta-alt {
  font-size: 1rem;
  margin-bottom: 0;
}

/* Quick contact form (in the closing band) */
.biz-form-card {
  margin: 2rem auto 1.75rem;
  max-width: 640px;
  padding: 2rem 1.5rem;
  border-radius: 18px;
  background-color: var(--biz-cream);
  color: var(--ink);
  text-align: left;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}
@media (min-width: 600px) {
  .biz-form-card {
    padding: 2.25rem 2.25rem 2.5rem;
  }
}
.biz-cta .biz-form-card p {
  font-size: 1rem;
  margin-left: 0;
  margin-right: 0;
}
.page-biz main .biz-form-card a:not(.btn) {
  color: var(--biz-teal);
}
.page-biz .biz-form-card :focus-visible {
  outline-color: var(--biz-teal);
}
.biz-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.biz-cta .biz-form-intro {
  margin-bottom: 0;
  font-size: 0.925rem;
}
.biz-form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 600px) {
  .biz-form-row {
    grid-template-columns: 1fr 1fr;
  }
}
.biz-field label {
  display: block;
  font-weight: 700;
  font-size: 1rem;
  color: var(--biz-teal);
  margin-bottom: 0.35rem;
}
.biz-cta .biz-field-hint {
  font-size: 0.925rem;
  line-height: 1.5;
  margin: -0.1rem 0 0.5rem;
  color: var(--biz-sage);
}
.biz-field input,
.biz-field textarea {
  display: block;
  width: 100%;
  font: inherit;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
  background-color: var(--white);
  border: 1.5px solid rgba(53, 77, 70, 0.55);
  border-radius: 10px;
  padding: 0.7rem 0.85rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.biz-field textarea {
  resize: vertical;
  min-height: 9rem;
}
.biz-field input:focus,
.biz-field textarea:focus {
  outline: none;
  border-color: var(--biz-teal);
  box-shadow: 0 0 0 3px rgba(233, 185, 91, 0.6);
}
.biz-field.has-error input,
.biz-field.has-error textarea {
  border-color: var(--biz-btn-hover);
  border-width: 2px;
}
.biz-cta .biz-field-error {
  margin: 0.4rem 0 0;
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--biz-btn-hover);
}
.biz-form .btn {
  align-self: flex-start;
  margin-top: 0.25rem;
}
.biz-form-alert {
  margin-bottom: 1.5rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  border-left: 4px solid var(--biz-btn);
  background-color: rgba(217, 122, 84, 0.14);
}
.biz-form-alert p {
  margin: 0;
  font-weight: 600;
}
.biz-form-success h3 {
  font-size: 1.4rem;
  color: var(--biz-teal);
  margin-bottom: 0.6rem;
}
.biz-form-success p {
  margin-bottom: 0;
}
/* Honeypot: off-screen, not display:none (some bots skip hidden fields) */
.biz-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .biz-mock,
  .biz-mock-seasonal {
    transform: none;
  }
}
