/* Google Fonts — Cormorant Garamond (headers) + Jost (body) */
/* Loaded via <link> tags in theme.liquid for better performance */

/* Variables */

:root {
  /* Typography */
  --font-base: 'Jost', Arial, sans-serif;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --line-height-base: 1.6;
  --font-header-size: 1.875rem;
  --font-header-weight: 300;
  --font-subheader-size: 1.25rem;
  --font-subheader-weight: 300;
  --font-body-size: 1.125rem;
  --font-body-weight: 300;
  --font-nav-size: 1rem;
  --font-nav-weight: 400;
  --font-small-size: 1rem;
  --font-small-weight: 300;

  /* Layout */
  --max-col-width: 60rem;
  --col-padding: 2rem;

  /* Colors — Botanical Calm Palette */
  --color-text: #272D2D;          /* Deep Charcoal */
  --color-text-light: #4a5555;    /* Secondary text */
  --color-bg: #F5EFE6;            /* Warm Linen — page background */
  --color-bg-light: #ffffff;

  --color-sage: #7B9E87;          /* Sage Green — headers, panels, accents */
  --color-sage-light: #EEF3F0;    /* Sage Light — subtle section backgrounds */
  --color-sage-dark: #5a7a65;     /* Sage Dark — hover states */

  --color-rose: #B07869;          /* Dried Rose — CTA buttons */
  --color-rose-dark: #8a5c50;     /* Dried Rose Dark — button hover */

  --color-charcoal: #272D2D;      /* Footer / dark header background */
  --color-border: #e0d8ce;        /* Warm linen border */

  /* Accessible text-use aliases — darker than panel sage for WCAG AA compliance */
  --color-accent: #4a7059;          /* Darkened sage — 4.9:1 on Warm Linen ✓ */
  --color-accent-light: var(--color-sage-light);
  --color-accent-dark: #3a5c47;
  --color-secondary: #4a7059;
  --color-secondary-light: var(--color-sage-light);
}

/* Initialization */

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

html,
body {
  height: 100%;
}

body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: var(--font-base);
  font-weight: var(--font-body-weight);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: var(--line-height-base);
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
}

/* Custom select arrow */
select {
  /* Hide native dropdown arrow */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  /* Add custom SVG arrow */
  background-image: url("/images/icons/icon-chevron.svg");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1em;

  /* Make room for the arrow */
  padding-right: 2.5rem;
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

table {
  border-collapse: collapse;
  width: 100%;
}

/* Layout */
.container {
  max-width: var(--max-col-width);
  padding: 0 var(--col-padding);
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: auto;
}

.heading {
  font-size: var(--font-header-size);
  font-weight: var(--font-header-weight);
  font-family: var(--font-display);
  line-height: 1.2;
  margin-bottom: 2rem;
  color: var(--color-sage);
}

.subheading {
  font-size: var(--font-subheader-size);
  font-weight: var(--font-subheader-weight);
  font-family: var(--font-display);
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.main-body {
  font-size: var(--font-body-size);
  font-weight: var(--font-body-weight);
  width: 100%;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: var(--color-text);
}

.body-section {
  width: 100%;

  > p {
    font-size: var(--font-body-size);
    font-weight: var(--font-body-weight);
    width: 100%;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--color-text);
  }
}

.testimonial-marquee .testimonial-item {
  width: 420px;
  flex: 0 0 420px;
}

/* Header */
.header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem;
  background-color: var(--color-bg);
  color: var(--color-text);
  border-bottom: 1px solid rgba(123, 158, 135, 0.18);
  z-index: 9999;

  .primary-nav {
    .nav-item {
      color: var(--color-text);
      transition: color 0.3s ease;

      &:hover {
        color: var(--color-sage);
      }
    }

    .nav-item.primary-cta {
      background-color: var(--color-rose-dark);
      color: var(--color-bg-light);

      &:hover {
        background-color: var(--color-rose);
      }
    }
  }

  &.condensed {
    padding: 1rem 2rem;
    margin-bottom: 2rem;
    position: fixed;
    width: 100%;
    top: 0;

    .container {
      width: 100%;
      flex-direction: row;
      justify-content: space-between;
    }
    .professional-home {
      display: flex;
    }
    .professional-name-title {
      margin-left: 2rem;
      display: flex;
      flex-direction: column;

      .professional-name {
        font-size: var(--font-subheader-size);
        font-weight: var(--font-subheader-weight);
        font-family: var(--font-display);
        color: var(--color-text);
      }
      .professional-title {
        font-weight: var(--font-subheader-weight);
        color: var(--color-sage);
        font-size: var(--font-nav-size);
      }
    }
    .avatar-wrapper {
      width: 4rem;
      height: 4rem;
      margin: 0;

      .avatar {
        border: 2px solid var(--color-sage);
      }
    }
    .primary-nav {
      margin-left: auto;

      .nav-items {
        gap: 2rem;
      }
    }
  }
}

.breadcrumb-nav {
  align-items: flex-start;
  color: var(--color-accent);
  margin-bottom: 2rem;
  font-weight: 600;
}

.service-body p {
  font-size: var(--font-body-size);
  font-weight: var(--font-body-weight);
  width: 100%;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: var(--color-text);
}

.service-price-large {
  font-size: var(--font-subheader-size);
  font-weight: var(--font-subheader-weight);
  font-family: var(--font-display);
  color: var(--color-accent);
  margin: 2rem 0 1rem;
}

.primary-nav {
  font-size: var(--font-nav-size);
  font-weight: var(--font-nav-weight);

  .nav-items {
    display: flex;
    gap: 4rem;
  }

  .nav-item {
    color: var(--color-text);
    transition: color 0.3s ease;

    &:hover {
      color: var(--color-accent);
    }
  }

  .nav-item.primary-cta {
    background-color: var(--color-rose-dark);
    color: var(--color-bg-light);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    transition: background-color 0.3s ease;

    &:hover {
      background-color: var(--color-rose);
    }
  }
}

.avatar-wrapper {
  margin: 4rem 0 2rem;
  width: 20rem;
  aspect-ratio: 1 / 1;

  .avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid var(--color-bg-light);
    display: block;
  }
}

.masthead {
  text-align: center;
  margin-bottom: 4rem;

  .professional-name {
    margin-bottom: 1rem;
    font-family: var(--font-display);
    font-size: var(--font-header-size);
    font-weight: var(--font-header-weight);
    color: var(--color-text);
  }

  .title {
    color: var(--color-accent);
    font-weight: 600;
    font-size: var(--font-subheader-size);
  }

  .location {
    padding-left: 2rem;
    background: transparent url(/images/icons/icon-location.svg) no-repeat left
      center;
    width: fit-content;
    margin: 0 auto;
    color: var(--color-text-light);
  }
}

.primary-cta-large {
  background-color: var(--color-rose-dark);
  color: var(--color-bg-light);
  padding: 1rem 2rem;
  border-radius: 2rem;
  font-size: var(--font-subheader-size);
  font-weight: var(--font-nav-weight);
  text-align: center;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
  display: inline-block;
  margin-bottom: 2.5rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;

  &:hover {
    background-color: var(--color-rose);
  }
}

/* Spacing utility for markdown sections */
.markdown-content + .primary-cta-large {
  margin-top: 1.5rem;
}

/* Main content */
.main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  &.inner {
    margin-top: 10rem;

    .heading {
      padding-top: 0;
    }
  }

  .heading {
    padding-top: 4rem;
    width: 100%;
    text-align: left;
  }
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;

  .service-item {
    display: flex;
    flex-direction: column;
    background-color: var(--color-bg-light);
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid var(--color-border);
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease, transform 0.3s ease;

    &:hover {
      box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.12);
      transform: translateY(-2px);
    }

    .service-title {
      font-size: var(--font-subheader-size);
      font-weight: var(--font-subheader-weight);
      font-family: var(--font-display);
      margin-bottom: 1rem;
      color: var(--color-text);
    }

    .service-description {
      font-size: var(--font-body-size);
      font-weight: var(--font-body-weight);
      margin-bottom: 1rem;
      color: var(--color-text-light);
      line-height: 1.6;
    }

    .service-moreinfo {
      color: var(--color-accent);
      margin-bottom: 2rem;
      font-weight: 600;
      transition: color 0.3s ease;

      &:hover {
        color: var(--color-accent-dark);
      }
    }

    .service-footer {
      display: flex;
      margin-top: auto;
      justify-content: space-between;
      align-items: center;
    }

    .service-price {
      color: var(--color-accent);
      font-size: var(--font-small-size);
      font-weight: 600;
    }

    .service-cta {
      background-color: var(--color-rose);
      color: rgba(255, 255, 255, 1);
      padding: 0.5rem 1rem;
      border-radius: 2rem;
      font-size: var(--font-small-size);
      font-weight: 600;
      text-align: center;
      transition: background-color 0.3s ease;
      margin-left: auto;

      &:hover {
        background-color: var(--color-rose-dark);
      }
    }
  }

  .service-item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-grid .service-item:last-child:nth-child(odd) {
    grid-column: 1;
  }
}

/* Client Testimonials */
section#testimonials {
  margin-bottom: 0;
}

.testimonial-grid {
  display: grid;
  gap: 2rem;
  width: 100%;
  max-width: var(--max-col-width);
  padding: 0 var(--col-padding);
  margin: 0 auto 4rem;
}

.testimonial-grid.single {
  grid-template-columns: 1fr;
}

.testimonial-grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.testimonial-grid.three {
  grid-template-columns: repeat(2, 1fr);

  .testimonial-item:nth-child(3) {
    grid-column: 1 / -1;
  }
}

.testimonial-grid.four {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 768px) {
  .testimonial-grid.two,
  .testimonial-grid.three,
  .testimonial-grid.four {
    grid-template-columns: 1fr;
  }

  .testimonial-grid.three .testimonial-item:nth-child(3) {
    grid-column: 1;
  }
}

.testimonial-marquee {
  display: flex;
  overflow-x: hidden;
  padding: 3rem 0;
  width: 100%;

  &:nth-of-type(2) {
    position: relative;
    top: -80px;
  }
}

.testimonial-item {
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  height: auto;
  background-color: var(--color-bg-light);
  padding: 2rem;
  border-radius: 1rem;
  border: 1px solid var(--color-border);
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  white-space: normal;

  &:hover {
    transform: scale(1.05);
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.12);
  }
}

.testimonial-quote {
  font-size: var(--font-body-size);
  font-weight: 400;
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--color-text);
  line-height: 1.7;
}

.testimonial-footer {
  display: flex;
  margin-top: auto;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: var(--color-secondary-light);
  flex-shrink: 0;
  flex-grow: 0;
  flex-basis: 2rem;
}

.testimonial-author {
  font-size: var(--font-small-size);
  font-weight: 600;
  color: var(--color-accent);
}

.testimonial-track {
  display: flex;
  flex-wrap: nowrap;
  width: 200%;
  gap: 1rem;
  white-space: nowrap;
  animation: scroll-marquee 100s linear infinite;
}

.testimonial-marquee:hover .testimonial-track {
  animation-play-state: paused;
  cursor: pointer;
}

.testimonial-track.reverse {
  animation-direction: reverse;
}

/* Mobile testimonial fade */
.testimonial-mobile-fade {
  display: none;
}

@media (max-width: 768px) {
  .testimonial-marquee {
    display: none;
  }

  .testimonial-mobile-fade {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    width: 100%;
    max-width: var(--max-col-width);
    padding: 0 var(--col-padding);
    margin: 0 auto 4rem;
  }

  .testimonial-mobile-slot {
    display: grid;
  }

  .testimonial-mobile-slot .testimonial-item {
    grid-area: 1 / 1;
    opacity: 1;
    transition: opacity 0.6s ease;
  }

  .testimonial-mobile-slot .testimonial-item.fade-out {
    opacity: 0;
  }

  .testimonial-mobile-slot .testimonial-item:hover {
    transform: none;
  }
}

/* Contact form */
.form-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 2rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  grid-auto-rows: auto;
  gap: 1.5rem;
  width: 100%;
}

/* Make the comments textarea and submit span full width */
.form-grid .comments,
.form-actions {
  grid-column: 1 / -1;
}

/* Basic label styling */
label {
  display: flex;
  flex-direction: column;
  color: var(--color-text);
}
label > span {
  margin-bottom: 0.5rem;
  font-weight: 600;
}

/* Inputs & textarea */
input,
select,
textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 2px solid var(--color-border);
  border-radius: 0.5rem;
  font-size: var(--font-body-size);
  font-weight: var(--font-body-weight);
  font-family: var(--font-base);
  box-sizing: border-box;
  background-color: var(--color-bg-light);
  color: var(--color-text);
  transition: border-color 0.3s ease;

  &:focus {
    outline: none;
    border-color: var(--color-sage);
    box-shadow: 0 0 0 2px rgba(123, 158, 135, 0.15);
  }
}
textarea {
  min-height: 200px;
  resize: vertical;
}

/* Animations */

@keyframes scroll-marquee {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Footer styling */
.footer {
  margin-top: 8rem;
  padding: 2rem 0;
  text-align: center;
  font-size: var(--font-small-size);
  font-weight: 400;
  color: var(--color-text-light);
}

.footer-static {
  opacity: 0.6;
}

.footer a {
  color: inherit;
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.footer-legal a {
  margin: 0 0.5rem;
}

.footer a:hover {
  opacity: 1;
  color: var(--color-accent);
}

/* Scroll animate for condensed nav */
.scroll-animate {
  position: fixed;
  top: 0;
  opacity: 1;
  width: 100%;
  z-index: 9999;
  transform: translateY(0);
}

.scroll-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

#mobile-nav {
  display: none;
}

.mobile-nav-toggle {
  display: none;
}

/* Responsive styles */
@media (max-width: 768px) {
  body > .header {
    display: none;
  }

  body > .header.condensed {
    display: flex;
    z-index: 9999;
  }

  .scroll-animate {
    opacity: 1;
    transform: translateY(0);
  }

  .header > .container {
    padding: 0;
  }

  .primary-nav {
    position: relative;
  }

  .nav-items-wrapper {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: var(--color-bg);
    border: 1px solid rgba(123, 158, 135, 0.2);
    border-radius: 1rem;
    padding: 1rem;
    min-width: 200px;
  }

  #mobile-nav {
    display: none;

    .primary-nav {
      width: 100%;
      background: var(--color-bg);
      border: 1px solid rgba(123, 158, 135, 0.3);
      top: 97px;

      .nav-items {
        width: 100%;
        align-items: stretch;
        padding: 0 2rem;
        font-size: var(--font-subheader-size);
        flex-direction: column;
        gap: 0;

        > li {
          width: 100%;
          border-bottom: 1px solid rgba(123, 158, 135, 0.2);

          &:last-child {
            border-bottom: none;
          }
        }
      }

      .nav-item {
        display: block;
        color: var(--color-text);
        width: 100%;
        text-align: center;
        padding: 1rem 0;
        background: none;
        border: none;
        font-size: inherit;
        font-family: inherit;
        cursor: pointer;
      }

      .nav-item.primary-cta {
        background-color: transparent;
        color: var(--color-rose);
        border-radius: 0;
      }
    }
  }

  #mobile-nav.nav-open {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 9998;
  }

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

  .mobile-nav-toggle {
    display: block;
    background: none;
    border: none;
    color: var(--color-text);
    font-size: 2rem;
    cursor: pointer;
    z-index: 10000;
  }

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

  .mobile-nav-toggle::before {
    content: "☰";
  }

  .header.nav-open .mobile-nav-toggle::before {
    content: "✕";
  }
}

@media (max-width: 470px) {
  .heading {
    font-size: 13vw;
  }
}

/* ==================== Skip Link ==================== */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: #111;
  color: #fff;
  padding: 1rem 1.25rem;
  font-weight: 600;
  z-index: 99999;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
  outline: 2px solid #e5ff00;
  outline-offset: -2px;
}

/* ==================== Legal Pages ==================== */
.legal-page .body-section {
  padding-top: 2rem;
  padding-bottom: 4rem;
}
.legal-page .back-to-home {
  margin-bottom: 2rem;
}
.legal-page h1,
.legal-page h2,
.legal-page h3 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-text);
  margin-top: 2rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}
.legal-page p,
.legal-page ul,
.legal-page ol {
  margin-bottom: 1.5rem;
  line-height: 1.7;
  font-size: var(--font-body-size);
  color: var(--color-text);
}
.legal-page ul,
.legal-page ol {
  margin-left: 1.5rem;
}
.legal-page li {
  margin-bottom: 0.75rem;
}

/* ==================== 404 Page ==================== */
/* Selectors scoped under #not-found so they outrank
   .body-section > p which would otherwise re-style the .not-found-code
   paragraph at body text size. */
#not-found {
  text-align: center;
  padding: 4rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
#not-found .not-found-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  opacity: 0.6;
}
#not-found .not-found-code {
  font-size: clamp(7rem, 22vw, 12rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 1rem;
}
#not-found .not-found-title {
  font-size: var(--font-header-size);
  margin-bottom: 1rem;
}
#not-found .not-found-description {
  max-width: 32rem;
  margin: 0 auto 2rem;
  line-height: 1.6;
  opacity: 0.8;
}

/* ==================== Reduced Motion ==================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==================== Markdown Content ====================
   Shared styles for any rendered markdown surface. Apply
   `class="markdown"` to the wrapping element. */

.markdown {
  font-size: var(--font-body-size);
  font-weight: var(--font-body-weight);
  line-height: 1.7;
  color: var(--color-text);
  text-align: left;
}

.markdown > *:first-child { margin-top: 0; }
.markdown > *:last-child { margin-bottom: 0; }

.markdown p {
  margin: 0 0 1.5rem;
  line-height: 1.7;
  color: inherit;
}

.markdown p + p,
.markdown-content p + p {
  margin-top: 1.5rem;
}

.markdown p + table,
.markdown-content p + table {
  margin-top: 3rem;
}

.markdown h1,
.markdown h2,
.markdown h3,
.markdown h4,
.markdown h5,
.markdown h6 {
  color: var(--color-text);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 2.25rem 0 1rem;
}
.markdown h1 { font-size: 2.5rem; font-weight: 800; }
.markdown h2 { font-size: 2rem; }
.markdown h3 { font-size: 1.5rem; color: var(--color-accent); }
.markdown h4 {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text);
  opacity: 0.75;
}

.markdown h1 a.anchor,
.markdown h2 a.anchor,
.markdown h3 a.anchor,
.markdown h4 a.anchor,
.markdown h5 a.anchor,
.markdown h6 a.anchor {
  border-bottom: none;
  color: inherit;
  text-decoration: none;
}

.markdown strong { color: var(--color-text); font-weight: 700; }
.markdown em { font-style: italic; }

.markdown a {
  color: var(--color-accent);
  text-decoration: none;
  border-bottom: 0.0625rem solid rgba(223, 68, 7, 0.4);
  transition: color 0.2s ease, border-color 0.2s ease;
}
.markdown a:hover {
  color: rgba(180, 50, 0, 1);
  border-bottom-color: rgba(180, 50, 0, 1);
}

.markdown code {
  font-family: 'SF Mono', Menlo, Monaco, Consolas, monospace;
  font-size: 0.9em;
  padding: 0.15em 0.4em;
  background: rgba(21, 21, 21, 0.08);
  color: var(--color-accent);
  border-radius: 0.25rem;
}

.markdown pre {
  background: var(--color-text);
  color: var(--color-bg);
  border-radius: 0.5rem;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  overflow-x: auto;
  font-size: 0.9375rem;
  line-height: 1.6;
  scrollbar-width: thin;
  scrollbar-color: var(--color-accent) transparent;
}
.markdown pre code {
  background: none;
  color: inherit;
  padding: 0;
  border-radius: 0;
  font-size: inherit;
}
.markdown pre::-webkit-scrollbar { height: 0.375rem; }
.markdown pre::-webkit-scrollbar-track { background: transparent; }
.markdown pre::-webkit-scrollbar-thumb {
  background: var(--color-accent);
  border-radius: 0.1875rem;
}

/* Prism token colors */
.markdown pre .token.comment,
.markdown pre .token.prolog,
.markdown pre .token.doctype,
.markdown pre .token.cdata { color: rgba(229, 229, 229, 0.55); font-style: italic; }
.markdown pre .token.keyword,
.markdown pre .token.boolean,
.markdown pre .token.tag { color: #ff79c6; }
.markdown pre .token.string,
.markdown pre .token.attr-value,
.markdown pre .token.char { color: #f1d1a3; }
.markdown pre .token.number,
.markdown pre .token.constant { color: #ffb86c; }
.markdown pre .token.function,
.markdown pre .token.class-name { color: #8be9fd; }
.markdown pre .token.operator,
.markdown pre .token.punctuation { color: var(--color-bg); }
.markdown pre .token.attr-name { color: #50fa7b; }

.markdown del { color: rgba(21, 21, 21, 0.5); text-decoration: line-through; }
.markdown mark {
  background: rgba(223, 68, 7, 0.18);
  color: var(--color-text);
  padding: 0.05em 0.25em;
  border-radius: 0.25rem;
}
.markdown sub, .markdown sup { font-size: 0.75em; line-height: 0; }

.markdown blockquote {
  background: rgba(223, 68, 7, 0.06);
  padding: 1.25rem 1.5rem;
  border-left: 0.25rem solid var(--color-accent);
  border-radius: 0 0.5rem 0.5rem 0;
  margin: 1.5rem 0;
  font-style: italic;
}
.markdown blockquote p { margin: 0 0 0.75rem; color: inherit; }
.markdown blockquote p:last-child { margin-bottom: 0; }

.markdown ul,
.markdown ol {
  margin: 0 0 1.5rem 1.5rem;
  padding-left: 0;
}
.markdown ul li { list-style: disc; }
.markdown ol li { list-style: decimal; }
.markdown li { margin-bottom: 0.5rem; line-height: 1.6; }
.markdown li::marker { color: var(--color-accent); }
.markdown ul ul,
.markdown ul ol,
.markdown ol ul,
.markdown ol ol { margin: 0.5rem 0 0.5rem 1.5rem; }

.markdown hr {
  border: none;
  height: 0.0625rem;
  background: rgba(21, 21, 21, 0.15);
  margin: 2.5rem 0;
}

.markdown img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
  margin: 1.5rem 0;
  display: block;
}

.markdown table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.5);
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 0.125rem 0.5rem rgba(21, 21, 21, 0.06);
}
.markdown thead { background: var(--color-text); }
.markdown thead th {
  color: var(--color-bg);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}
.markdown th,
.markdown td {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 0.0625rem solid rgba(21, 21, 21, 0.08);
}
.markdown tr:last-child td { border-bottom: none; }
.markdown tbody tr:hover { background: rgba(223, 68, 7, 0.05); }
/* ==================== Hero Split Layout ==================== */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 400px;
  width: 100%;
  margin-top: 6rem;
}

.hero-split .hero-photo {
  overflow: hidden;
  position: relative;
}

.hero-split .hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-split .hero-panel {
  background-color: var(--color-sage);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 4rem;
  color: var(--color-bg-light);
}

.hero-split .hero-panel h1,
.hero-split .hero-panel .hero-headline {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.2;
  margin-bottom: 2.5rem;
  color: var(--color-bg-light);
}

.hero-split .hero-panel .hero-quote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  border-left: 2px solid rgba(255, 255, 255, 0.4);
  padding-left: 1.5rem;
  margin: 0;
}

.hero-split .hero-panel .hero-quote-attr {
  margin-top: 1rem;
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.75);
  font-style: normal;
  padding-left: 1.5rem;
}

.hero-split .hero-panel .hero-subheading {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .hero-split {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-split .hero-photo {
    min-height: 60vw;
    width: 100%;
  }

  .hero-split .hero-panel {
    padding: 3rem 2rem;
  }
}

/* ==================== Sage / Linen Panel Sections ==================== */
.sage-panel {
  background-color: var(--color-sage);
  color: var(--color-bg-light);
  width: 100%;
  padding: 4rem 0;

  .container {
    color: var(--color-bg-light);
  }

  .heading {
    color: var(--color-bg-light);
  }

  p, li {
    color: rgba(255, 255, 255, 0.9);
  }
}

.sage-light-panel {
  background-color: var(--color-sage-light);
  width: 100%;
  padding: 4rem 0;
}

/* ==================== Services Table ==================== */
#welcome .heading,
#services .heading {
  text-align: center;
}

#services .heading {
  margin-bottom: 0.5rem;
}

#mindfulness-services .heading,
#psych-services .heading,
#psych-areas .heading {
  font-size: var(--font-header-size);
  text-align: center;
  padding-top: 0;
}

#psych-services {
  padding-left: 3rem;
}

.services-availability {
  font-style: italic;
  color: var(--color-text-light);
  margin-bottom: 2rem;
  text-align: center;
  width: 100%;
}

.services-mobile-only {
  display: none;
  width: 100%;
}

.services-mobile-heading {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  background-color: var(--color-sage);
  color: var(--color-bg-light);
  padding: 1rem 2rem;
  margin: 0;
  width: 100%;
}

.services-mobile-heading + .services-single-grid {
  margin-bottom: 1.5rem;
}

.services-2col-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 3rem;
  border: 1px solid var(--color-border);
}

.services-2col-table th {
  background-color: var(--color-sage);
  color: var(--color-bg-light);
  padding: 1rem 2rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  text-align: left;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.services-2col-table td {
  padding: 0.75rem 2rem;
  vertical-align: top;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: var(--font-body-size);
  font-weight: 300;
}

.services-2col-table tr:nth-child(even) td {
  background-color: var(--color-sage-light);
}

.services-2col-table a {
  color: var(--color-sage);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Single-column services grid */
.services-single-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  width: 100%;
  margin-bottom: 2rem;
}

.services-single-grid .service-item {
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: var(--font-body-size);
  font-weight: 300;
}

.services-single-grid .service-item:nth-child(even) {
  background-color: var(--color-sage-light);
}

.services-single-grid .service-item a {
  color: var(--color-sage);
  font-weight: 400;
}

/* Services table column buttons */
.services-table-ctas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  width: 100%;
  margin-bottom: 2rem;
}

.services-table-ctas .service-col-ctas {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.services-table-ctas .primary-cta-large {
  font-size: 0.9rem;
  padding: 0.75rem 1.5rem;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .services-table-ctas {
    grid-template-columns: 1fr;
  }

  .services-desktop-only {
    display: none;
  }

  .services-mobile-only {
    display: block;
  }
}

/* ==================== Contact Band ==================== */
.contact-band {
  background-color: var(--color-sage);
  width: 100%;
  padding: 5rem var(--col-padding);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-band .heading {
  color: var(--color-bg-light);
}

.contact-band > p {
  color: rgba(255, 255, 255, 0.9);
  font-size: var(--font-body-size);
  max-width: var(--max-col-width);
  width: 100%;
  margin-bottom: 1.5rem;
  text-align: center;
}

.contact-panel {
  background-color: var(--color-bg-light);
  border-radius: 1rem;
  padding: 3rem;
  max-width: 640px;
  width: 100%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

@media (max-width: 768px) {
  .contact-band {
    align-items: stretch;
    padding: 3rem 1.5rem;
  }
  .contact-panel {
    padding: 2rem 1.5rem;
    width: auto;
  }
}

/* ==================== Contact Page Header ==================== */
.contact-page-header {
  background-color: var(--color-sage);
  width: 100%;
  padding: 5rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.contact-page-header .contact-page-heading {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: var(--font-header-size);
  color: var(--color-bg-light);
  margin: 0;
}

.contact-page-header .contact-page-subheading {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

/* ==================== Contact Direct Info ==================== */
.contact-direct-info {
  text-align: center;
  padding: 2rem 0;
  color: var(--color-text-light);
  font-size: var(--font-small-size);
  font-weight: 300;
}

/* ==================== Psychotherapy Hero Band ==================== */
.hero-band {
  background-color: var(--color-sage);
  width: 100%;
  padding: 5rem 2rem;
  display: flex;
  justify-content: center;
}

.hero-band .hero-band-inner {
  max-width: var(--max-col-width);
  width: 100%;
}

.hero-band .hero-band-copy {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.95);
}

/* ==================== Split Layout (photo + content) ==================== */
.content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  gap: 0;
  margin-top: 4rem;
  margin-bottom:4rem;
}

.content-split .split-photo {
  overflow: hidden;
  position: relative;
  min-height: 400px;
}

.content-split .split-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.content-split .split-content {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.content-split .split-photo.placeholder-photo {
  background: linear-gradient(135deg, var(--color-sage-light) 0%, var(--color-sage) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  text-align: center;
  padding: 2rem;
}

@media (max-width: 768px) {
  .content-split {
    grid-template-columns: 1fr;
  }

  .content-split .split-photo {
    min-height: 250px;
  }

  #psych-services {
    padding-left: 0;
  }

  #psych-services .split-photo {
    width: 80%;
    margin: 0 auto;
  }

  #psych-services .split-photo.placeholder-photo {
    padding: 1rem;
  }

  #psych-services .split-content {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

/* ==================== About Headshot — Double Border ==================== */
.about-headshot-wrapper {
  position: relative;
  display: inline-block;
  padding: 8px;
}

.about-headshot-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid var(--color-sage);
  pointer-events: none;
}

.about-headshot-wrapper::before {
  content: '';
  position: absolute;
  inset: 4px;
  border: 2px solid var(--color-sage);
  pointer-events: none;
  z-index: 1;
}

.about-headshot-wrapper img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ==================== Areas of Practice Two-Col Grid ==================== */
.areas-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  width: 100%;
  margin-bottom: 3rem;
}

.areas-grid .area-item {
  padding: 0.6rem 1.5rem;
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-size: var(--font-body-size);
  font-weight: 300;
}

.areas-grid .area-item:nth-child(odd) {
  background-color: var(--color-sage-light);
}

.areas-grid .area-item:nth-child(even) {
  background-color: var(--color-sage-light);
}

.areas-grid .area-item:nth-child(4n+1),
.areas-grid .area-item:nth-child(4n+2) {
  background-color: transparent;
}

@media (max-width: 768px) {
  .areas-grid {
    grid-template-columns: 1fr;
  }
  
  .areas-grid .area-item:nth-child(even) {
    background-color: var(--color-sage-light);
  }
  
  .areas-grid .area-item:nth-child(odd) {
    background-color: transparent;
  }
}

/* ==================== Video Embed ==================== */
.video-embed-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  max-width: 700px;
  width: 100%;
  margin-bottom: 2rem;
}

.video-embed-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.mindfulness-pullout {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--color-sage);
  font-size: 1.15rem;
  line-height: 1.7;
  border-left: 2px solid rgba(123, 158, 135, 0.4);
  padding-left: 1.25rem;
  margin: 1.75rem 0;
  max-width: 40rem;
}

p.mindfulness-body-closing {
  font-size: 1rem;
  font-weight: var(--font-body-weight);
  line-height: 1.8;
  margin-top: 1.5rem;
  text-align: left;
}

.section-eyebrow {
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--color-rose);
  margin-bottom: 0.5rem;
}

.video-subtitle {
  font-style: italic;
  color: var(--color-text-light);
  margin-bottom: 1.5rem;
  font-size: var(--font-body-size);
  font-weight: 300;
}

/* ==================== Research Citations ==================== */
.citations-group {
  margin-bottom: 2.5rem;
  width: 100%;
}

.citations-group-label {
  color: var(--color-rose);
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.5rem;
}

.citation-item {
  margin-bottom: 1.25rem;
  padding-left: 2.5rem;
  position: relative;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text);
}

.citation-number {
  position: absolute;
  left: 0;
  color: var(--color-sage);
  font-weight: 400;
}

.citation-doi {
  color: var(--color-sage);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-size: 0.85rem;
}

/* ==================== Bullet List (evidence section) ==================== */
.evidence-bullets {
  list-style: none;
  padding: 0;
  width: 100%;
  margin-bottom: 2rem;
}

.evidence-bullets li {
  padding: 0.75rem 0;
  padding-left: 1.25rem;
  border-bottom: 1px solid var(--color-border);
  font-size: var(--font-body-size);
  font-weight: 300;
  color: var(--color-text);
  line-height: 1.6;
  position: relative;
}

.evidence-bullets li:last-child {
  border-bottom: none;
}

.evidence-bullets li strong {
  color: var(--color-text);
  font-weight: 400;
}

/* Markdown-rendered evidence bullets (from CMS fields) */
.evidence-markdown ul {
  list-style: none;
  padding: 0;
  width: 100%;
  margin-bottom: 2rem;
}

.evidence-markdown ul li {
  padding: 0.75rem 0;
  padding-left: 1.25rem;
  border-bottom: 1px solid var(--color-border);
  font-size: 1rem;
  font-weight: 300;
  color: var(--color-text);
  line-height: 1.6;
  position: relative;
}

.evidence-markdown ul li:last-child {
  border-bottom: none;
}

.evidence-markdown ul li strong {
  color: var(--color-text);
  font-weight: 400;
}

/* Sage panel evidence bullets use white border */
.sage-panel .evidence-markdown ul li {
  border-bottom-color: rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.9);
}

.sage-panel .evidence-markdown ul li:last-child {
  border-bottom: none;
}

.sage-panel .evidence-markdown ul li strong {
  color: #fff;
}

/* ==================== Credential Groups ==================== */
.credentials-group {
  width: 100%;
  margin-bottom: 2.5rem;
}

.credentials-group-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.25rem;
  color: var(--color-sage);
  margin-bottom: 0.75rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid var(--color-sage-light);
}

.credentials-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.credentials-group ul li {
  padding: 0.4rem 0 0.4rem 1.25rem;
  position: relative;
  font-size: var(--font-body-size);
  font-weight: 300;
  color: var(--color-text);
  line-height: 1.6;

  &::before {
    content: "◆";
    position: absolute;
    left: 0;
    color: var(--color-sage);
    font-size: 0.5rem;
    top: 0.8rem;
  }
}

/* ==================== Footer Redesign ==================== */
.footer {
  margin-top: 0;
  background-color: var(--color-bg);
  color: var(--color-text);
  border-top: 1px solid rgba(123, 158, 135, 0.18);
  padding: 0;
}

.footer-inner {
  padding: 4rem 3rem 2rem;
  max-width: 80rem;
  margin: 0 auto;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

.footer-tagline {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--color-text-light);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.footer-note {
  font-size: 0.85rem;
  font-weight: 300;
  color: rgba(39, 45, 45, 0.55);
  font-style: italic;
}

.footer-col-heading {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-sage);
  margin-bottom: 0.75rem;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-nav li a {
  color: var(--color-text-light);
  font-size: 0.95rem;
  font-weight: 300;
  transition: color 0.2s ease;

  &:hover {
    color: var(--color-sage);
  }
}

.footer-contact-line {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--color-text-light);
}

.footer-cta {
  margin-top: 0.75rem;
  color: var(--color-sage);
  font-size: 0.9rem;
  font-weight: 400;
  transition: color 0.2s ease;

  &:hover {
    color: var(--color-sage-dark);
  }
}

.footer-bottom {
  border-top: 1px solid rgba(123, 158, 135, 0.18);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;

  p {
    font-size: 0.8rem;
    font-weight: 300;
    color: rgba(39, 45, 45, 0.45);
  }
}

.footer a {
  color: inherit;
  opacity: 1;
}

.footer a:hover {
  color: var(--color-sage);
  opacity: 1;
}

.footer-legal a {
  color: rgba(39, 45, 45, 0.45);
  font-size: 0.8rem;
  margin: 0 0.5rem;

  &:hover {
    color: var(--color-sage);
  }
}

@media (max-width: 768px) {
  .footer-columns {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-inner {
    padding: 3rem 1.5rem 2rem;
  }
}

/* ==================== Nav Dropdown ==================== */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: none;
  border: none;
  font: inherit;
  font-size: var(--font-nav-size);
  font-weight: var(--font-nav-weight);
  color: inherit;
  padding: 0;
}

.nav-dropdown-toggle::after {
  content: '▾';
  font-size: 0.65rem;
  transition: transform 0.2s ease;
}

.nav-dropdown.open .nav-dropdown-toggle::after {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-charcoal);
  border-radius: 0.5rem;
  padding: 0.5rem 0;
  min-width: 200px;
  z-index: 100;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
}

.nav-dropdown.open .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu li a {
  display: block;
  padding: 0.6rem 1.25rem;
  color: var(--color-bg-light);
  font-size: var(--font-nav-size);
  font-weight: var(--font-nav-weight);
  transition: background-color 0.15s ease;
  white-space: nowrap;

  &:hover {
    background-color: rgba(255,255,255,0.08);
    color: var(--color-sage);
  }
}

.nav-dropdown-menu .nav-primary-item a {
  font-weight: 500;
  color: var(--color-sage);
}

/* Mobile dropdown in mobile nav */
#mobile-nav .nav-dropdown-toggle {
  font-size: inherit;
}

#mobile-nav .nav-dropdown-menu {
  position: static;
  transform: none;
  box-shadow: none;
  background-color: rgba(255,255,255,0.08);
  border-radius: 0.25rem;
  margin-top: 0.5rem;
  display: none;
  padding: 0.25rem 0;
}

#mobile-nav .nav-dropdown.open .nav-dropdown-menu {
  display: block;
}

#mobile-nav .nav-dropdown-menu li a {
  padding: 0.5rem 1rem;
  color: var(--color-text);
}

/* ==================== Centered CTA Button ==================== */
.centered-cta {
  display: flex;
  justify-content: center;
  padding: 1rem 2rem 3rem;
  width: 100%;
}

/* ==================== About Page Layout ==================== */
.about-split {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 4rem;
  align-items: start;
}

.about-headshot-col {
  display: flex;
  justify-content: center;
}

.about-headshot-col-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-headshot-img {
  width: 280px;
  height: 360px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.about-headshot-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 300;
  color: var(--color-sage);
  text-align: center;
  margin-top: 1.125rem;
  line-height: 1.35;
}

.about-headshot-role {
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-rose);
  text-align: center;
  margin-top: 0.25rem;
}

.about-pullout {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--color-sage);
  font-size: 1.15rem;
  border-left: 2px solid rgba(123, 158, 135, 0.4);
  padding-left: 1.25rem;
  margin: 1.75rem 0;
  max-width: 40rem;
  line-height: 1.7;
}

hr.section-divider {
  border: none;
  border-top: 0.5px solid rgba(123, 158, 135, 0.2);
  margin: 0;
}

/* ==================== Meet Gina Section ==================== */
.meet-gina-panel {
  background-color: var(--color-sage-light);
  padding: 5rem 0;
}

.meet-gina-split {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  align-items: center;
}

.meet-gina-photo-col {
  display: flex;
  justify-content: center;
}

.meet-gina-img {
  width: 260px;
  height: 340px;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.meet-gina-body {
  color: var(--color-text);
  font-size: 1rem;
  line-height: 1.75;
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .meet-gina-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .meet-gina-photo-col {
    justify-content: center;
  }
  .meet-gina-img {
    width: 200px;
    height: 260px;
  }
  .meet-gina-text-col .primary-cta-large {
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ==================== Credentials Grid ==================== */
.credentials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 3rem;
  margin-top: 2rem;
}

.credentials-group-label {
  font-size: 0.625rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-rose);
  margin-bottom: 0.875rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(176, 120, 105, 0.2);
  margin-top: 0;
}

@media (max-width: 768px) {
  .about-intro {
    padding-top: 3rem;
  }
  .about-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .about-headshot-col {
    justify-content: center;
    display: flex;
  }
  .about-headshot-wrapper {
    padding: 4px;
  }
  .about-headshot-wrapper::after {
    border-width: 1px;
  }
  .about-headshot-wrapper::before {
    inset: 2px;
    border-width: 1px;
  }
  .about-headshot-img {
    width: 220px;
    height: 280px;
  }
  .credentials-grid {
    grid-template-columns: 1fr;
  }
}

/* ==================== Mobile Heading Alignment & Size ==================== */
/* Center body-content headings on mobile */
@media (max-width: 768px) {
  .body-section .heading,
  .sage-panel .heading,
  .sage-light-panel .heading,
  .meet-gina-panel .heading {
    text-align: center;
  }
}

/* Override fluid 13vw scale for body-content headings at very small screens;
   keeps sizing consistent with Services Offered */
@media (max-width: 470px) {
  .body-section .heading,
  .sage-panel .heading,
  .sage-light-panel .heading,
  .meet-gina-panel .heading {
    font-size: var(--font-header-size);
  }
}
