/* ══ ANNOUNCEMENT BAR — see snippet-announcement.html ══ */
/* ══ NAV — see snippet-nav.html ══ */
/* ══ ANIMATE ══ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes circle-in {
  from {
    opacity: 0;
    transform: translateX(40px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.rd1 {
  transition-delay: 0.1s;
}
.rd2 {
  transition-delay: 0.2s;
}
.rd3 {
  transition-delay: 0.3s;
}

/* ══ SHARED ══ */
.section-eyebrow {
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--orange);
  display: block;
  margin-bottom: 10px;
}
.section-heading {
  font-family: "Exquise", serif;
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 400;
  color: var(--text-dark);
  line-height: 1.1;
  margin-bottom: 12px;
}
.section-heading em {
  font-style: italic;
  color: var(--pink);
}
.section-header-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
}
.see-all {
  font-family: "Jost", sans-serif;
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-light);
  text-decoration: none;
  border-bottom: 1px solid var(--greige);
  padding-bottom: 2px;
  transition:
    color 0.2s,
    border-color 0.2s;
  white-space: nowrap;
}
.see-all:hover {
  color: var(--pink);
  border-bottom-color: var(--pink);
}

/* ══ STATS BAR ══ */
.stats-bar {
  background: var(--orange);
  padding: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}
.stats-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.stat-box {
  padding: 12px 28px;
  border-right: 1px solid rgba(59, 19, 46, 0.15);
}
.stat-box:last-child {
  border-right: none;
}
.stat-num {
  font-family: "Exquise", serif;
  font-size: 24px;
  display: block;
  margin-bottom: 2px;
  line-height: 1;
  color: var(--aubergine);
}
.stat-num-sm {
  font-family: "Exquise", serif;
  font-size: 16px;
  display: block;
  margin-bottom: 2px;
  line-height: 1.2;
  color: var(--aubergine);
  letter-spacing: 0.02em;
}
.stat-desc {
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--aubergine);
  font-weight: 500;
  opacity: 0.75;
}
@media (max-width: 720px) {
  .stats-bar-inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-box {
    border-bottom: 1px solid rgba(59, 19, 46, 0.1);
  }
}

/* ══ TEACHER HEADER — exact About Us structure ══ */
.teacher-hdr {
  background: #614051;
  padding: 0;
  position: relative;
  overflow: hidden;
  min-height: 460px;
}
.teacher-hdr-inner {
  max-width: 1240px;
  margin: 0 auto;
  min-height: 460px;
  display: flex;
  align-items: stretch;
  flex-direction: row;
  position: relative;
}

/* SPIRAL SIDE — LEFT (matches .hdr-circle-wrap exactly) */
.hdr-circle-wrap {
  position: relative;
  flex-shrink: 0;
  width: 48%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  animation: circle-in 1s 0.1s cubic-bezier(0.22, 1, 0.36, 1) both;
  z-index: 0;
  overflow: hidden;
}
/* fade TO RIGHT so text side stays clean — matches About */
.hdr-circle-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 55%, #614051 100%);
  z-index: 2;
  pointer-events: none;
}

/* Spiral image fills the column — scaled UP so ~5 rings show around portrait */
.hdr-spiral-img {
  width: 170%;
  height: 170%;
  object-fit: contain;
  opacity: 1;
  filter: sepia(80%) saturate(120%) hue-rotate(295deg) brightness(0.82);
  position: absolute;
  left: -35%;
  top: -35%;
}

/* Circle portrait centred on spiral — z-index:3 to sit above spiral */
.circle-portrait {
  position: absolute;
  z-index: 3;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  overflow: hidden;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.circle-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(100%) brightness(0.9);
  display: block;
}

/* TEXT SIDE — RIGHT (matches .hdr-content) */
.hdr-content {
  position: relative;
  z-index: 1;
  padding: 52px 52px 52px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  animation: fade-up 0.7s ease both;
}
.hdr-bc {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
}
.hdr-bc a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.2s;
}
.hdr-bc a:hover {
  color: var(--pink);
}
.hdr-bc span {
  color: var(--greige);
}
.hdr-tag {
  display: inline-block;
  font-size: 9px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 5px 12px;
  background: var(--pink);
  color: #fff;
  margin-bottom: 18px;
  align-self: flex-start;
}
.hdr-title {
  font-family: "Exquise", serif;
  font-weight: 400;
  font-size: clamp(40px, 5.2vw, 66px);
  line-height: 1.06;
  color: var(--orange);
  margin-bottom: 10px;
}
.hdr-title em {
  font-style: italic;
  color: var(--orange);
}
.hdr-role {
  font-family: "Jost", sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 20px;
  display: block;
}
.hdr-sub {
  font-family: "Cormorant Garamond", serif;
  font-size: 19px;
  font-style: normal;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.55;
  max-width: 520px;
  margin-bottom: 20px;
}
.hdr-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 52px;
}
.hdr-pill {
  font-family: "Jost", sans-serif;
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 12px;
  border: 1px solid var(--greige);
  color: var(--text-mid);
  background: transparent;
}

/* ══ BIO ══ */
.bio-section {
  background: var(--white);
  padding: 80px 0;
  border-bottom: 1px solid var(--greige);
}
.bio-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 52px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 72px;
  align-items: start;
}
.bio-body p {
  font-family: "Cormorant Garamond", serif;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.82;
  color: var(--aubergine);
  margin-bottom: 22px;
}

/* ── PULL QUOTES — shared system ─────────────────────────────
   .feature-quote  Tier 1 — hero moment, big decorative pink ❝ ❞
   .inline-quote   Tier 2 — supporting voices, restrained
   ─────────────────────────────────────────────────────────── */
.feature-quote,
blockquote.feature-quote {
  position: relative;
  padding: 20px 0;
  margin: 36px 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 26px;
  font-style: italic;
  font-weight: 300;
  line-height: 1.4;
  color: var(--pink);
}
.feature-quote::before {
  content: "\201C";
  font-family: "Exquise", serif;
  font-size: 72px;
  color: var(--pink);
  position: absolute;
  left: 0;
  top: -18px;
  line-height: 1;
  opacity: 0.7;
}
.feature-quote::after {
  content: "\201D";
  font-family: "Exquise", serif;
  font-size: 72px;
  color: var(--pink);
  line-height: 0;
  vertical-align: -0.4em;
  margin-left: 6px;
  opacity: 0.7;
}
.feature-quote-attr {
  display: block;
  margin-top: 16px;
  font-style: normal;
  font-family: "Jost", sans-serif;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
}
.feature-quote-attr::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  background: var(--linen);
  vertical-align: middle;
  margin-right: 12px;
}
.inline-quote,
p.inline-quote,
blockquote.inline-quote {
  font-family: "Cormorant Garamond", serif;
  font-size: 24px;
  font-style: italic;
  font-weight: 300;
  line-height: 1.4;
  color: var(--pink);
  margin: 28px 0 32px;
}
.inline-quote-attr {
  font-family: "Jost", sans-serif;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-light);
  font-style: normal;
  margin-left: 14px;
  vertical-align: middle;
  white-space: nowrap;
}
.inline-quote-attr::before {
  content: "— ";
}

/* Editorial lead paragraph — italic emphasis, not a quote */
.bio-body p.bio-lead {
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-style: italic;
  font-weight: 400;
  line-height: 1.55;
  color: var(--aubergine);
  margin: 28px 0 32px;
  padding-left: 22px;
  border-left: 2px solid var(--orange);
}

.bio-subhead {
  font-family: "Jost", sans-serif;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 500;
  margin: 36px 0 14px;
  padding-top: 14px;
  border-top: 1px solid var(--greige);
}
.bio-body > .bio-subhead:first-of-type {
  margin-top: 28px;
}
.bio-backlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Jost", sans-serif;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
  text-decoration: none;
  margin-bottom: 28px;
  transition: color 0.2s;
}
.bio-backlink:hover {
  color: var(--pink);
}
.bio-backlink::before {
  content: "←";
  font-size: 13px;
}
.bio-specialisms-label {
  font-family: "Jost", sans-serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 10px;
  font-weight: 500;
}
.bio-specialisms {
  font-family: "Jost", sans-serif;
  font-size: 11px;
  letter-spacing: 0.03em;
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 36px !important;
}

.bio-sidebar {
  padding-top: 4px;
}
.bio-sidebar-box {
  border: 1px solid var(--greige);
  padding: 28px;
  margin-bottom: 20px;
  background: var(--chalk);
}
.bio-sidebar-box h4 {
  font-family: "Jost", sans-serif;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
  font-weight: 500;
}
.bio-sidebar-box ul {
  list-style: none;
  padding: 0;
}
.bio-sidebar-box ul li {
  font-family: "Cormorant Garamond", serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--aubergine);
  padding: 7px 0;
  border-bottom: 1px solid var(--greige);
  display: flex;
  align-items: baseline;
  gap: 10px;
  line-height: 1.4;
}
.bio-sidebar-box ul li:last-child {
  border-bottom: none;
}
.bio-sidebar-box ul li::before {
  content: "—";
  color: var(--greige);
  font-size: 12px;
  flex-shrink: 0;
}
.ryt500-logo-wrap {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--greige);
}
.bio-social {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.bio-social a {
  font-family: "Jost", sans-serif;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-mid);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.2s;
}
.bio-social a:hover {
  color: var(--pink);
}
.bio-social a span {
  width: 24px;
  height: 1px;
  background: currentColor;
  display: block;
  flex-shrink: 0;
}

/* ══ PATHS / COURSES — exact home page clone ══ */
.paths-section {
  background: var(--chalk);
  padding: 72px 48px;
  border-bottom: 1px solid var(--greige);
}
.paths-inner {
  max-width: 1240px;
  margin: 0 auto;
}
.paths-carousel-wrap {
  position: relative;
  overflow: hidden;
  margin-top: 36px;
}
.paths-track {
  display: flex;
  gap: 14px;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.paths-arrows {
  display: flex;
  gap: 8px;
}
.paths-arrow {
  width: 36px;
  height: 36px;
  border: 1px solid var(--greige);
  background: none;
  color: var(--text-mid);
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.paths-arrow:hover {
  background: var(--pink);
  border-color: var(--pink);
  color: white;
}
.pc {
  flex: 0 0 calc(33.333% - 10px);
  height: 340px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.pc:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(59, 19, 46, 0.14);
}
.pc .bg {
  position: absolute;
  inset: 0;
}
.pc .bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) brightness(1) contrast(0.9);
  transition:
    transform 0.6s ease,
    filter 0.45s ease;
}
.pc:hover .bg img {
  transform: scale(1.04);
  filter: grayscale(100%) brightness(0.75) contrast(1);
}
.pc .tint {
  position: absolute;
  inset: 0;
  background: var(--pt, rgba(59, 19, 46, 1));
  opacity: 0.15;
  transition: opacity 0.4s ease;
}
.pc .fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0) 55%
  );
}
.pc .pccontent {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px 22px 18px;
}
.pc-tag {
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 2px 8px;
  background: rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.85);
  display: inline-block;
  margin-bottom: 10px;
}
.pc-title {
  font-family: "Exquise", serif;
  font-size: 18px;
  font-weight: 400;
  color: white;
  line-height: 1.2;
  margin-bottom: 4px;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
}
.pc-title em {
  font-style: italic;
  color: var(--orange);
}
.pc-foot {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 12px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 10px;
}
.pc-meta {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
}
.pc-meta strong {
  display: block;
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 500;
}
.pc-price {
  font-family: "Exquise", serif;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
}
/* ══ TESTIMONIALS ══ */
.testi-section {
  background: var(--light-plum);
  padding: 88px 48px;
  position: relative;
  overflow: hidden;
}
.testi-inner {
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.testi-featured {
  padding-bottom: 52px;
  margin-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}
.testi-featured-quote {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 400;
  font-style: normal;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 20px;
  max-width: 780px;
}
.testi-featured-name {
  font-family: "Jost", sans-serif;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--charcoal-plum);
  display: flex;
  align-items: center;
  gap: 12px;
}
.testi-featured-name::before {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  background: var(--charcoal-plum);
}
.testi-carousel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.testi-carousel-label {
  font-family: "Jost", sans-serif;
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}
.testi-arrows {
  display: flex;
  gap: 8px;
}
.testi-arrow {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: none;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  transition: all 0.2s;
  flex-shrink: 0;
}
.testi-arrow:hover {
  background: var(--pink);
  border-color: var(--pink);
  color: white;
}
.testi-track-wrap {
  overflow: hidden;
}
.testi-track {
  display: flex;
  gap: 14px;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.testi-card {
  flex: 0 0 calc(33.333% - 10px);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 26px 24px 22px;
  border-top: 3px solid var(--pink);
  flex-shrink: 0;
  transition: background 0.25s;
}
.testi-card:hover {
  background: rgba(255, 255, 255, 0.14);
}
.testi-quote {
  font-family: "Cormorant Garamond", serif;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
  font-style: normal;
  margin-bottom: 16px;
}
.testi-name {
  font-family: "Jost", sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal-plum);
  display: block;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.testi-section .section-heading {
  color: white;
  margin-bottom: 0;
}
.testi-section .section-heading em {
  color: var(--pink);
}
/* Update for display if no carousel testimonials and courses */
.paths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.paths-grid .pc {
  flex: initial;
  width: 100%;
}

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.testi-grid .testi-card {
  flex: initial;
}

@media (max-width: 900px) {
  .testi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .testi-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .paths-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .paths-grid {
    grid-template-columns: 1fr;
  }
}
/* ══ IMAGE STRIP ══ */
.image-strip {
  display: flex;
  height: 260px;
  overflow: hidden;
}
.image-strip-item {
  flex: 1;
  background: var(--linen);
  border-right: 1px solid rgba(255, 255, 255, 0.2);
  overflow: hidden;
  position: relative;
}
.image-strip-item:last-child {
  border-right: none;
}
.image-strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(100%) brightness(0.85);
  display: block;
}

/* ══ CTA — PINK ══ */
.cta-section {
  background: var(--pink);
  padding: 96px 52px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
/* no top line on CTA — orange line only above footer */
.cta-eyebrow {
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  display: block;
  margin-bottom: 16px;
  font-family: "Jost", sans-serif;
  font-weight: 500;
}
.cta-title {
  font-family: "Exquise", serif;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 400;
  color: white;
  line-height: 1.1;
  margin-bottom: 16px;
}
.cta-title em {
  font-style: italic;
  color: var(--orange);
}
.cta-sub {
  font-family: "Cormorant Garamond", serif;
  font-size: 20px;
  font-style: normal;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
  max-width: 560px;
  margin: 0 auto 44px;
}
.cta-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-white {
  display: inline-block;
  padding: 14px 36px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: white;
  font-family: "Jost", sans-serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s;
  font-weight: 500;
}
.btn-white:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: white;
}
.btn-ghost-w {
  display: inline-block;
  padding: 14px 36px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: white;
  font-family: "Jost", sans-serif;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s;
  font-weight: 500;
}
.btn-ghost-w:hover {
  background: var(--orange);
  border-color: var(--orange);
}
.btn-textlink-w {
  display: inline-flex;
  align-items: center;
  padding: 14px 18px;
  color: white;
  font-family: "Jost", sans-serif;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 500;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.btn-textlink-w:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ══ FOOTER — see snippet-footer.html ══ */
/* ══ PAGE-SPECIFIC MOBILE RULES                         ══ */
/* ═══════════════════════════════════════════════════════ */

@media (max-width: 900px) {
  /* Teacher header — stack spiral above text */
  .teacher-hdr-inner {
    flex-direction: column;
    min-height: auto;
  }
  .hdr-circle-wrap {
    width: 100%;
    height: 340px;
  }
  .hdr-circle-wrap::after {
    background: linear-gradient(to bottom, transparent 65%, #614051 100%);
  }
  .hdr-spiral-img {
    width: 130%;
    height: 130%;
    left: -15%;
    top: -15%;
  }
  .circle-portrait {
    width: 200px;
    height: 200px;
  }
  .hdr-content {
    padding: 36px 28px 44px;
  }
  .hdr-sub {
    font-size: 17px;
    max-width: 100%;
  }

  /* Bio section — stack main + sidebar */
  .bio-section {
    padding: 56px 0;
  }
  .bio-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 24px;
  }
  .bio-body p {
    font-size: 17px;
    line-height: 1.75;
  }
  .feature-quote {
    font-size: 22px;
  }
  .inline-quote {
    font-size: 21px;
  }
  .bio-sidebar-box {
    padding: 22px;
  }

  /* Paths carousel — 2 cards visible */
  .paths-section {
    padding: 56px 24px;
  }
  .pc {
    flex: 0 0 calc(50% - 7px);
    height: 300px;
  }
  .section-header-row {
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 28px;
  }

  /* Testimonials — 2 cards visible */
  .testi-section {
    padding: 64px 24px;
  }
  .testi-card {
    flex: 0 0 calc(50% - 7px);
  }
  .testi-featured-quote {
    font-size: 22px;
  }

  /* Image strip — horizontal scroll */
  .image-strip {
    overflow-x: auto;
    overflow-y: hidden;
    height: 240px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }
  .image-strip-item {
    flex: 0 0 70%;
    min-width: 240px;
    scroll-snap-align: start;
  }

  /* CTA */
  .cta-section {
    padding: 72px 24px;
  }
}

@media (max-width: 600px) {
  /* Stats bar — full stack */
  .stats-bar-inner {
    grid-template-columns: 1fr;
    padding: 0 24px;
  }
  .stat-box {
    border-right: none;
    border-bottom: 1px solid rgba(59, 19, 46, 0.15);
    padding: 14px 0;
    text-align: center;
  }
  .stat-box:last-child {
    border-bottom: none;
  }

  /* Teacher header */
  .hdr-circle-wrap {
    height: 280px;
  }
  .circle-portrait {
    width: 170px;
    height: 170px;
  }
  .hdr-content {
    padding: 28px 20px 36px;
  }
  .hdr-title {
    font-size: clamp(36px, 9vw, 48px);
  }
  .hdr-role {
    font-size: 10px;
    letter-spacing: 0.18em;
  }
  .hdr-sub {
    font-size: 16px;
  }

  /* Bio */
  .bio-section {
    padding: 44px 0;
  }
  .bio-inner {
    padding: 0 20px;
    gap: 32px;
  }
  .bio-body p {
    font-size: 16px;
  }
  .feature-quote {
    font-size: 20px;
    margin: 28px 0;
  }
  .feature-quote::before,
  .feature-quote::after {
    font-size: 54px;
  }
  .inline-quote {
    font-size: 19px;
  }

  /* Paths — 1 card visible */
  .paths-section {
    padding: 44px 20px;
  }
  .pc {
    flex: 0 0 calc(100% - 0px);
    height: 280px;
  }
  .paths-track {
    gap: 12px;
  }

  /* Testimonials — 1 card visible */
  .testi-section {
    padding: 48px 20px;
  }
  .testi-card {
    flex: 0 0 100%;
    padding: 22px 20px;
  }
  .testi-track {
    gap: 12px;
  }
  .testi-featured {
    padding-bottom: 36px;
    margin-bottom: 32px;
  }
  .testi-featured-quote {
    font-size: 19px;
  }

  /* Image strip — narrower cards on phone */
  .image-strip {
    height: 200px;
  }
  .image-strip-item {
    flex: 0 0 80%;
    min-width: 220px;
  }

  /* CTA */
  .cta-section {
    padding: 56px 20px;
  }
  .cta-sub {
    font-size: 17px;
    margin-bottom: 32px;
  }
  .cta-btns {
    flex-direction: column;
    align-items: stretch;
  }
  .btn-ghost-w,
  .btn-white {
    text-align: center;
  }
}
