:root {
  --color-bg: #fdfcfb;
  --color-text: #3a3a3a;
  --color-muted: #6b6560;
  --color-accent: #69554b;
  --color-accent-2: #81a48b;
  --color-border: #e6e0da;
  --font-body: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --font-heading: "Merriweather", Georgia, "Times New Roman", serif;
  --wrap-width: 780px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

.wrap {
  max-width: var(--wrap-width);
  margin: 0 auto;
  padding: 0 24px;
}

.wrap--wide {
  max-width: 980px;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  line-height: 1.2;
}

a {
  color: var(--color-accent);
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  padding-top: 22px;
  padding-bottom: 18px;
}

.site-header__row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-header__brand {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
  color: var(--color-text);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 22px;
}

.site-nav a {
  text-decoration: none;
  color: var(--color-text);
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--color-accent-2);
}

@media (max-width: 640px) {
  .site-header__inner {
    align-items: stretch;
  }

  .site-header__row {
    justify-content: space-between;
    width: 100%;
  }

  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 14px;
    padding-top: 6px;
  }

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

/* Responsive image swap: show one image on desktop, a different one on mobile */
.mobile-only {
  display: none;
}

@media (max-width: 640px) {
  .mobile-only {
    display: block;
  }

  .desktop-only {
    display: none;
  }
}

/* Hero banner (full-bleed background photo with overlaid text) */
.hero-banner {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  background-image: url("/assets/images/marie-hero-background.jpg");
  background-size: cover;
  background-position: 65% center;
  color: #fff;
}

.hero-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20, 18, 16, 0.68) 0%, rgba(20, 18, 16, 0.4) 45%, rgba(20, 18, 16, 0.05) 75%);
}

.hero-banner__content {
  position: relative;
  z-index: 2;
  padding-top: 60px;
  padding-bottom: 60px;
  text-align: center;
}

.hero-banner h1 {
  font-size: 2.8rem;
  color: #fff;
  margin-bottom: 10px;
}

.hero-banner__subtitle {
  font-family: var(--font-body);
  font-size: 1.2rem;
  letter-spacing: 0.03em;
  color: rgba(255, 255, 255, 0.92);
  margin: 0 0 28px;
}

@media (max-width: 640px) {
  .hero-banner {
    min-height: 460px;
    align-items: flex-end;
    background-image: url("/assets/images/marie-headshot-primary.jpg");
    background-position: center 20%;
  }

  .hero-banner::before {
    background: linear-gradient(180deg, rgba(20, 18, 16, 0.1) 0%, rgba(20, 18, 16, 0.35) 55%, rgba(20, 18, 16, 0.82) 100%);
  }

  .hero-banner__content {
    padding-top: 24px;
    padding-bottom: 32px;
  }

  .hero-banner h1 {
    font-size: 2.1rem;
  }
}

/* Portrait photo alongside body copy (biography, teaching) */
.bio-photo {
  float: right;
  width: 280px;
  margin: 0 0 24px 40px;
  border-radius: 6px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.bio-photo--left {
  float: left;
  margin: 0 40px 24px 0;
}

@media (max-width: 640px) {
  .bio-photo,
  .bio-photo--left {
    float: none;
    width: 100%;
    margin: 0 0 24px;
  }
}

/* Full-width banner photo */
.page-banner {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 32px;
}

/* Full-width photo/collage, shown uncropped (captions matter) */
.legacy-banner {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  margin-top: 24px;
}

/* Decorative photo with its own baked-in styling (no added shadow/radius) */
.decorative-photo {
  float: right;
  width: 320px;
  max-width: 100%;
  margin: 0 0 24px 32px;
}

@media (max-width: 640px) {
  .decorative-photo {
    float: none;
    width: 100%;
    max-width: 340px;
    margin: 0 auto 24px;
    display: block;
  }
}

/* Carousel */
.carousel {
  margin: 40px 0;
}

.carousel__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 4px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.carousel__track::-webkit-scrollbar {
  display: none;
}

.carousel__slide {
  flex: 0 0 auto;
  width: 78%;
  max-width: 380px;
  scroll-snap-align: center;
}

.carousel__slide img {
  display: block;
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.16);
}

.carousel__caption {
  margin: 10px 0 0;
  font-size: 0.85rem;
  color: var(--color-muted);
  text-align: center;
}

.carousel__nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 14px;
}

.carousel__nav button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--color-accent);
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}

.carousel__nav button:hover {
  opacity: 0.9;
}

@media (max-width: 640px) {
  .carousel__slide {
    width: 85%;
  }

  .carousel__slide img {
    height: 380px;
  }
}

/* Review grid (Press & Media) */
.review-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 32px 0;
}

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

.review-card {
  background: #fbf9f6;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 20px 22px;
}

.review-card blockquote {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 0.98rem;
  line-height: 1.55;
}

.review-card blockquote p {
  margin: 0 0 8px;
}

.review-card cite {
  display: block;
  font-style: normal;
  font-size: 0.82rem;
  color: var(--color-accent);
  font-weight: 500;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  background: var(--color-accent);
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  border: none;
  font-size: 1rem;
  cursor: pointer;
}

.btn:hover {
  opacity: 0.9;
}

/* Generic page section */
.section {
  padding-top: 48px;
  padding-bottom: 48px;
}

.section h2 {
  margin-top: 40px;
}

/* Centered page content (Teaching & Mentoring) */
.text-center {
  text-align: center;
}

.text-center p {
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}

/* Centered content on mobile only (Biography keeps its desktop editorial layout) */
@media (max-width: 640px) {
  .text-center-mobile {
    text-align: center;
  }

  .text-center-mobile p {
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Two-column section: stacked text paired with one photo (homepage) */
.section-split {
  display: flex;
  align-items: flex-start;
  gap: 48px;
  padding-top: 48px;
  padding-bottom: 48px;
}

.section-split__text {
  flex: 1;
  min-width: 0;
}

.section-split__text h2 {
  margin-top: 40px;
}

.section-split__text h2:first-child {
  margin-top: 0;
}

.section-split__photo {
  flex-shrink: 0;
  width: 320px;
}

.section-split__photo img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

@media (max-width: 640px) {
  .section-split {
    flex-direction: column;
    align-items: stretch;
  }

  .section-split__photo {
    width: 100%;
  }

  .section-split__text {
    order: -1;
    text-align: center;
  }
}

/* Pull quotes */
.pull-quote {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.5;
  color: var(--color-text);
  border-left: 3px solid var(--color-accent-2);
  margin: 32px 0;
  padding: 4px 0 4px 24px;
}

.pull-quote cite {
  display: block;
  margin-top: 10px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* Blog list */
.post-list {
  list-style: none;
  padding: 0;
}

.post-list li {
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}

.post-list h2,
.post-list h3 {
  margin: 0 0 6px;
  font-size: 1.3rem;
}

.post-list time {
  color: var(--color-muted);
  font-size: 0.9rem;
}

/* Single post */
.post__back {
  margin-top: 40px;
}

.post__meta {
  color: var(--color-muted);
  margin-bottom: 32px;
}

.post img {
  max-width: 100%;
}

/* Forms */
form.lead-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 480px;
}

form.lead-form label {
  font-weight: 600;
  font-size: 0.9rem;
}

form.lead-form input,
form.lead-form textarea {
  padding: 10px 12px;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

form.lead-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--color-border);
  margin-top: 60px;
  padding: 32px 0;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
}

.site-footer__social {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
}

.site-footer__social a {
  color: var(--color-muted);
  text-decoration: none;
}

.site-footer__social a:hover {
  color: var(--color-accent-2);
}

@media (max-width: 640px) {
  .site-footer__inner {
    flex-direction: column;
    text-align: center;
  }
}
