/* ============================================================
   Tiddlywinks Nursery — About Us page styles
   Class prefix: .tw-about-*  (+ generic .tw-carousel-* — copied
   from fees.css/contact.css; the bundles never co-load).
   Loaded only on /about-us/ (see enqueue.php).
   ============================================================ */

/* ---------- Theme compatibility ----------
   1. main.css has `body main, html main { overflow-x: hidden }`, which turns
      <main> into a clipping container and BREAKS position:sticky descendants
      (the scroll widget). `clip` prevents horizontal scrollbars without
      creating a scroll container; `visible` is the old-browser fallback.
      Blob overflow is contained per-band instead (never on a scrolly
      ancestor).
   2. Reset the theme's broad `header,nav{position:absolute;top:0}` for EVERY
      semantic <header> inside our main — the reviews section head AND each
      review card's <header> (author + stars). Without this, the card headers
      get yanked position:absolute to the top of the carousel track (which is a
      containing block via its transform), stacking the author names on top of
      each other. `#header` is outside .tw-about-main, so it's untouched.
   NOTE: no `#header.white-bg` fix here — this page keeps its `.hero-section`,
   so the theme's own header/logo behaviour applies untouched.               */
.tw-about-main {
  overflow-x: visible;
  overflow-x: clip;
}
.tw-about-main header {
  position: static;
  padding: 0;
  top: auto;
  left: auto;
  right: auto;
  z-index: auto;
}
/* The theme's hero partial injects an empty `.breadcrumbs-section` (no crumbs
   on this page) that still carries `margin:28px 0 24px`, opening a gap between
   the hero and the intro. Collapse it so the intro sits flush under the hero. */
.tw-about-main > .breadcrumbs-section { margin: 0; }

/* Smooth in-page anchor scroll (Reviews tile → #tw-about-reviews). */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

/* ---------- Base ---------- */
.tw-about-main {
  color: #2e2f33;
  line-height: 1.4;
}
.tw-about-main h1,
.tw-about-main h2,
.tw-about-main h3 { line-height: 1.15; }

.tw-about-container {
  width: 90vw;
  max-width: 1280px;
  margin: 0 auto;
}

.tw-about-section-title {
  font-size: clamp(35px, 4vw, 55px);
  font-weight: 700;
  color: #303135;
  margin: 0 0 14px;
}
.tw-about-section-title svg { display: block; margin-top: 8px; }
.tw-about-section-title--left { text-align: left; }
.tw-about-section-title--center { text-align: center; }
.tw-about-section-title--center svg { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.tw-about-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 34px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 16px;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.tw-about-btn--tan { background: #d8ae7d; border-color: #d8ae7d; color: #fff; }
.tw-about-btn--tan:hover { background: #c99a63; border-color: #c99a63; color: #fff; }

/* ---------- Decorative circles (comp: logo-palette blobs) ---------- */
.tw-about-blob {
  position: absolute;
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
}
.tw-about-blob--teal        { width: 296px; height: 296px; background: #03c0b7;                 left: 40px;   top: -130px; }
.tw-about-blob--orange-soft { width: 210px; height: 210px; background: rgba(255, 157, 0, .5);   left: -50px;  top: 110px; }
.tw-about-blob--yellow-soft { width: 300px; height: 300px; background: rgba(255, 202, 0, .5);   left: -130px; top: 220px; }
.tw-about-blob--pink-soft   { width: 400px; height: 400px; background: rgba(227, 190, 217, .5); right: -120px; top: -120px; }
.tw-about-blob--orange      { width: 340px; height: 340px; background: #fe9d00;                 right: -150px; top: 140px; }

/* ============================================================
   2. INTRO STATEMENT (white)
   ============================================================ */
.tw-about-intro {
  position: relative;
  overflow: hidden;   /* clips the blobs; NOT an ancestor of the sticky widget */
  padding: 84px 0 44px;
  background: #fff;
}
.tw-about-intro__inner {
  position: relative;
  z-index: 2;
  max-width: 876px;
}
.tw-about-intro__inner p {
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.4;
  text-align: center;
  margin: 0 auto 18px;
}
.tw-about-intro__inner p:last-child { margin-bottom: 0; }

.tw-about-intro__media {
  position: relative;
  z-index: 2;
  margin-top: 44px;
  text-align: center;
}
.tw-about-intro__media img {
  display: block;
  width: 100%;
  max-width: 1048px;
  height: auto;
  margin: 0 auto;
}

/* ============================================================
   3. SCROLL-DRIVEN WIDGET
   Base state (no JS / reduced motion): panels stack and read like
   plain text-and-image sections. aboutus.js adds .is-enhanced
   (pinned scrolly, >768px) or .is-stepper (mobile stepper).
   ============================================================ */
.tw-about-band { background: #f6f5f3; }
.tw-about-scrolly { padding: 40px 0 72px; }

/* Rail, stepper and peeks only exist in their respective modes. */
.tw-about-rail,
.tw-about-stepper,
.tw-about-panel__peek { display: none; }

/* --- Panel (shared layout) --- */
.tw-about-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.tw-about-scrolly:not(.is-enhanced):not(.is-stepper) .tw-about-panel { margin-bottom: 72px; }
.tw-about-scrolly:not(.is-enhanced):not(.is-stepper) .tw-about-panel:last-child { margin-bottom: 0; }

.tw-about-panel__media img {
  display: block;
  width: 100%;
  aspect-ratio: 8 / 7;
  object-fit: cover;
  border-radius: 20px;
}

.tw-about-panel__icon {
  display: block;
  width: 72px;
  height: 72px;
  margin-bottom: 20px;
  color: var(--tw-accent, #ffca00);
}
.tw-about-panel__icon svg { width: 100%; height: 100%; }
/* The theme's universal `*{color:#2e2f33}` sets color directly on the svg
   and its shapes, so currentColor never resolves to the accent — restore the
   inheritance chain from the tinted wrapper span. */
.tw-about-panel__icon svg,
.tw-about-panel__icon svg * { color: inherit; }

.tw-about-panel__title {
  font-size: clamp(34px, 3.4vw, 55px);
  font-weight: 700;
  margin: 0 0 24px;
  color: #303135;
}
.tw-about-panel__title svg { display: block; margin-top: 10px; }

.tw-about-panel__copy {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.55;
  max-width: 620px;
}
.tw-about-panel__copy p { margin: 0 0 14px; }
.tw-about-panel__copy p:last-child { margin-bottom: 0; }
/* Undo the theme's global ul{display:flex;flex-direction:column}. */
.tw-about-panel__copy ul,
.tw-about-panel__copy ol { display: block; padding-left: 22px; margin: 0 0 14px; }

.tw-about-panel__buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* Next section's title "peek" (enhanced mode only). */
.tw-about-panel__peek { margin-top: 44px; opacity: .2; }
.tw-about-panel__peek-title {
  font-size: clamp(30px, 3vw, 50px);
  font-weight: 700;
  color: #303135;
  margin: 0;
  line-height: 1.15;
}
.tw-about-panel__peek-title svg { display: block; margin-top: 10px; }

/* --- ENHANCED (desktop scrolly) --- */
.tw-about-scrolly.is-enhanced { padding: 0; }
.tw-about-scrolly.is-enhanced .tw-about-scrolly__sticky {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
body.admin-bar .tw-about-scrolly.is-enhanced .tw-about-scrolly__sticky { top: 32px; }

.tw-about-scrolly.is-enhanced .tw-about-scrolly__frame {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 40px;
  align-items: center;
  width: 90vw;
  max-width: 1280px;
}

.tw-about-scrolly.is-enhanced .tw-about-scrolly__panels { display: grid; }
.tw-about-scrolly.is-enhanced .tw-about-panel {
  grid-area: 1 / 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .18s ease, visibility 0s linear .18s;
}
.tw-about-scrolly.is-enhanced .tw-about-panel.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity .18s ease;
}
.tw-about-scrolly.is-enhanced .tw-about-panel__peek { display: block; }

.tw-about-scrolly.is-enhanced .tw-about-panel__copy { max-height: 44vh; overflow-y: auto; }
@media (max-height: 820px) {
  .tw-about-scrolly.is-enhanced .tw-about-panel__title { font-size: clamp(28px, 3vw, 42px); }
  .tw-about-scrolly.is-enhanced .tw-about-panel__icon  { width: 56px; height: 56px; margin-bottom: 12px; }
  .tw-about-scrolly.is-enhanced .tw-about-panel__peek  { margin-top: 24px; }
  .tw-about-scrolly.is-enhanced .tw-about-panel__peek-title { font-size: clamp(24px, 2.6vw, 36px); }
}

/* --- Progress rail --- */
.tw-about-scrolly.is-enhanced .tw-about-rail {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.tw-about-rail__arrow {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: #303135;
  cursor: pointer;
  border-radius: 50%;
  transition: opacity .2s ease, background-color .2s ease;
}
.tw-about-rail__arrow svg { width: 22px; height: 22px; }
@media (hover: hover) { .tw-about-rail__arrow:hover { background: rgba(48, 49, 53, .08); } }
.tw-about-rail__arrow:focus { outline: none; }
.tw-about-rail__arrow:focus-visible { box-shadow: 0 0 0 3px rgba(132, 167, 200, .45); }
.tw-about-rail__arrow[disabled] { opacity: .3; cursor: default; background: transparent; }

.tw-about-rail__track {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: min(436px, 52vh);
  width: 21px;
}
.tw-about-rail__track::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 6px;
  bottom: 6px;
  width: 11px;
  border-radius: 20px;
  background: #e3e0dc;
}
.tw-about-rail__dot {
  position: relative;
  z-index: 2;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  padding: 0;
  background: #d9d9d9;
  border: 1px solid var(--tw-accent, #d9d9d9);
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}
.tw-about-rail__dot.is-active { background: var(--tw-accent, #ffca00); transform: scale(1.1); }
.tw-about-rail__dot:focus { outline: none; }
.tw-about-rail__dot:focus-visible { box-shadow: 0 0 0 3px rgba(132, 167, 200, .45); }

/* --- STEPPER (mobile ≤768px) --- */
.tw-about-scrolly.is-stepper { padding: 8px 0 56px; }
.tw-about-scrolly.is-stepper .tw-about-panel { display: none; }
.tw-about-scrolly.is-stepper .tw-about-panel.is-active {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  animation: tw-about-fade .25s ease;
}
@keyframes tw-about-fade { from { opacity: 0; } to { opacity: 1; } }

/* Order: icon → title → image → copy → buttons (mobile comp). */
.tw-about-scrolly.is-stepper .tw-about-panel__body-col { display: contents; }
.tw-about-scrolly.is-stepper .tw-about-panel__icon   { order: 1; width: 54px; height: 54px; margin: 0 0 14px; }
.tw-about-scrolly.is-stepper .tw-about-panel__title  { order: 2; font-size: 28px; margin-bottom: 18px; }
.tw-about-scrolly.is-stepper .tw-about-panel__title svg { margin: 8px auto 0; max-width: 160px; }
.tw-about-scrolly.is-stepper .tw-about-panel__media  { order: 3; width: 100%; margin-bottom: 20px; }
.tw-about-scrolly.is-stepper .tw-about-panel__copy   { order: 4; font-size: 16px; text-align: left; }
.tw-about-scrolly.is-stepper .tw-about-panel__buttons { order: 5; justify-content: center; width: 100%; margin-top: 22px; }
.tw-about-scrolly.is-stepper .tw-about-panel__buttons .tw-about-btn { width: 100%; max-width: 335px; }

.tw-about-scrolly.is-stepper .tw-about-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 28px;
}
.tw-about-stepper__arrow {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d1cbc3;
  background: #fff;
  color: #2e2f33;
  border-radius: 50%;
  cursor: pointer;
  transition: opacity .2s ease;
}
.tw-about-stepper__arrow svg { width: 22px; height: 22px; }
.tw-about-stepper__arrow[disabled] { opacity: .35; cursor: default; }
.tw-about-stepper__dots { display: flex; gap: 13px; }
.tw-about-stepper__dot {
  width: 21px;
  height: 21px;
  border-radius: 50%;
  padding: 0;
  background: #d9d9d9;
  border: 1px solid var(--tw-accent, #d9d9d9);
  cursor: pointer;
  transition: background-color .2s ease;
}
.tw-about-stepper__dot.is-active { background: var(--tw-accent, #ffca00); }

/* ============================================================
   3b. EXTRA / FALLBACK STORY ROWS — classic two-column render
   ============================================================ */
.tw-about-extra { padding: 48px 0; }
.tw-about-extra__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}
.tw-about-extra__copy h2 { font-size: clamp(30px, 3vw, 44px); margin-bottom: 20px; }
.tw-about-extra__copy h2 svg { display: block; margin-top: 10px; }
.tw-about-extra__media img { display: block; width: 100%; aspect-ratio: 8 / 7; object-fit: cover; border-radius: 20px; }

/* ============================================================
   Generic carousel  (.tw-carousel) — copied from fees.css.
   ============================================================ */
.tw-carousel { position: relative; padding: 0 56px; }
.tw-carousel__viewport { overflow: hidden; }
.tw-carousel__track {
  display: flex;
  transition: transform .45s cubic-bezier(.4, 0, .2, 1);
  will-change: transform;
}
.tw-carousel__item {
  flex: 0 0 auto;
  box-sizing: border-box;
  width: 100%;          /* JS overrides per items-per-view */
  padding: 0 12px;
}

.tw-carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d1cbc3;
  background: #fff;
  color: #2e2f33;
  border-radius: 50%;
  cursor: pointer;
  z-index: 3;
  transition: background-color .2s ease, color .2s ease, opacity .2s ease;
}
@media (hover: hover) { .tw-carousel__arrow:hover { background: #84a7c8; color: #fff; border-color: #84a7c8; } }
.tw-carousel__arrow:active { background: #84a7c8 !important; color: #fff !important; border-color: #84a7c8 !important; }
.tw-carousel__arrow:focus { outline: none; }
.tw-carousel__arrow:focus-visible { box-shadow: 0 0 0 3px rgba(132, 167, 200, .45); }
.tw-carousel__arrow svg { width: 22px; height: 22px; }
.tw-carousel__arrow--prev { left: 0; }
.tw-carousel__arrow--next { right: 0; }
.tw-carousel__arrow[disabled] { opacity: .35; cursor: default; }
.tw-carousel__arrow[disabled]:hover { background: #fff; color: #2e2f33; border-color: #d1cbc3; }

.tw-carousel--single { padding: 0; }
.tw-carousel--single .tw-carousel__arrow,
.tw-carousel--single .tw-carousel__dots { display: none; }

.tw-carousel__dots { display: flex; justify-content: center; gap: 10px; margin-top: 28px; }
.tw-carousel__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: #d1cbc3;
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease;
}
.tw-carousel__dot.is-active { background: #84a7c8; transform: scale(1.15); }

/* ============================================================
   4. OUR TEAM
   ============================================================ */
.tw-about-team {
  position: relative;
  overflow: hidden;
  padding: 72px 0 64px;
  background: #fff;
}
.tw-about-team > .tw-about-container { position: relative; z-index: 2; }
.tw-about-team__intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin: 24px 0 48px;
}
.tw-about-team__intro-col p {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.55;
  margin: 0 0 14px;
}
.tw-about-team__intro-col p:last-child { margin-bottom: 0; }

.tw-about-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.tw-about-member__photo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 240px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background-color: #f0eeeb;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
}
.tw-about-member__photo--placeholder {
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--tw-accent, #84a7c8) 0%, rgba(255,255,255,.25) 140%);
}
.tw-about-member__rule {
  display: block;
  width: 78%;
  max-width: 200px;
  height: 4px;
  border-radius: 4px;
  background: var(--tw-accent, #00a6dd);
  margin: 22px auto 14px;
}
.tw-about-member__name { font-size: 19px; font-weight: 700; color: #303135; margin: 0; }
.tw-about-member__role { font-size: 15px; font-weight: 400; color: #303135; margin: 2px 0 0; }

/* ============================================================
   5. AWARD WINNING
   ============================================================ */
.tw-about-awards {
  position: relative;
  overflow: hidden;
  padding: 40px 0 72px;
  background: #fff;
}
.tw-about-awards > .tw-about-container { position: relative; z-index: 2; }
.tw-about-awards__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 40px;
}
.tw-about-award {
  width: 149px;
  height: 149px;
  border-radius: 50%;
  background: var(--tw-circle, #00a6dd);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.tw-about-award__logo {
  display: block;
  max-width: 78%;
  max-height: 78%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* ============================================================
   6. REVIEWS CAROUSEL (3-up desktop / 1-up mobile)
   ============================================================ */
.tw-about-reviews { padding: 56px 0 72px; background: rgba(132, 167, 200, 0.1); }
.tw-about-reviews__head { text-align: center; max-width: 620px; margin: 0 auto 20px; }
.tw-about-reviews__title { font-size: clamp(28px, 3vw, 38px); font-weight: 700; margin: 0; }

/* Cards keep their natural (varied) heights per the comp. */
.tw-about-reviews__carousel .tw-carousel__track { align-items: flex-start; }

.tw-about-review-wrap { display: flex; flex-direction: column; align-items: center; }
.tw-about-review__smiley { display: block; width: 88px; height: 88px; margin: 0 0 -34px; position: relative; z-index: 2; }
.tw-about-review__smiley svg { width: 100%; height: 100%; }

.tw-about-review {
  width: 100%;
  background: #fff;
  border-radius: 6px;
  padding: 48px 32px 32px;
  box-shadow: 0 10px 30px rgba(46, 47, 51, .06);
}
.tw-about-review__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}
.tw-about-review__author { font-size: 21px; font-weight: 700; margin: 0; }
.tw-about-stars {
  display: inline-block;
  width: 110px;
  height: 20px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: right center;
  flex: 0 0 auto;
}
.tw-about-review__quote {
  font-size: 15px;
  line-height: 1.75;
  margin: 0;
  border: 0;
  padding: 0;
  quotes: none;
}
.tw-about-review__meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
  color: #919399;
  font-size: 13px;
}

/* ============================================================
   7. FEATURE TILES
   ============================================================ */
.tw-about-cards { padding: 64px 0 8px; }
.tw-about-card { display: flex; flex-direction: column; align-items: center; text-align: center; }
.tw-about-card__media {
  display: block;
  width: 100%;
  aspect-ratio: 7 / 5;
  border-radius: 16px;
  background-color: #e8e5e1;
  background-size: cover;
  background-position: center;
}
.tw-about-card__media--blue { background-image: linear-gradient(135deg, #84a7c8 0%, #c77cb3 100%); }
.tw-about-card__media--tan  { background-image: linear-gradient(135deg, #d8ae7d 0%, #84a7c8 100%); }
.tw-about-card__media--pink { background-image: linear-gradient(135deg, #c77cb3 0%, #d8ae7d 100%); }
.tw-about-card__title {
  font-size: 22px;
  font-weight: 700;
  color: #2e2f33;
  margin: 24px 0 20px;
  max-width: 22ch;
  text-wrap: balance;
}
.tw-about-card .tw-about-btn { margin-top: auto; }

/* ============================================================
   8. CTA BAND
   ============================================================ */
.tw-about-cta { padding: 56px 0 80px; }
.tw-about-cta__inner {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background-color: #e8e5e1;
  background-size: cover;
  background-position: center;
  min-height: 300px;
  padding: 56px;
  display: flex;
  align-items: center;
}
.tw-about-cta__inner--photo::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(46,47,51,.74) 0%, rgba(46,47,51,.5) 50%, rgba(46,47,51,.12) 100%);
}
.tw-about-cta__content { position: relative; z-index: 2; max-width: 560px; text-align: left; }
.tw-about-cta__title { font-size: 34px; font-weight: 700; margin: 0 0 14px; }
.tw-about-cta__phone { font-size: 16px; margin: 0 0 20px; }
.tw-about-cta__phone a { color: inherit; font-weight: 700; }
.tw-about-cta__inner--photo .tw-about-cta__title,
.tw-about-cta__inner--photo .tw-about-cta__phone { color: #fff; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1024px) {
  .tw-about-scrolly.is-enhanced .tw-about-scrolly__frame { gap: 28px; }
  .tw-about-panel { gap: 40px; }
  .tw-about-team__intro { gap: 36px; }
  .tw-about-blob--teal      { width: 200px; height: 200px; }
  .tw-about-blob--pink-soft { width: 300px; height: 300px; }
  .tw-about-blob--orange    { width: 240px; height: 240px; }
}

@media (max-width: 768px) {
  .tw-about-intro { padding: 56px 0 24px; }
  .tw-about-blob--teal        { width: 154px; height: 154px; left: -30px; top: -30px; }
  .tw-about-blob--orange-soft { width: 130px; height: 130px; left: -50px; top: 90px; }
  .tw-about-blob--yellow-soft { width: 200px; height: 200px; left: -90px; }
  .tw-about-blob--pink-soft   { width: 176px; height: 176px; right: -60px; top: -60px; }
  .tw-about-blob--orange      { width: 153px; height: 153px; right: -70px; }

  /* Base (no-JS) panels collapse to one column. */
  .tw-about-panel { grid-template-columns: 1fr; gap: 24px; }

  .tw-about-team__intro { grid-template-columns: 1fr; gap: 18px; margin-bottom: 32px; }
  .tw-about-section-title--left { text-align: center; }
  .tw-about-section-title--left svg { margin-left: auto; margin-right: auto; }

  .tw-about-awards__row { gap: 20px; }
  .tw-about-award { width: 96px; height: 96px; }

  .tw-about-reviews__title,
  .tw-about-cta__title { font-size: 26px; }

  /* Carousel controls become a centred row below the card. */
  .tw-carousel {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    column-gap: 12px;
    padding: 0;
  }
  .tw-carousel__viewport { flex: 0 0 100%; order: 1; }
  .tw-carousel__arrow { position: static; transform: none; width: 40px; height: 40px; margin-top: 22px; }
  .tw-carousel__arrow--prev { order: 2; }
  .tw-carousel__dots { order: 3; margin-top: 22px; }
  .tw-carousel__arrow--next { order: 4; }
  .tw-carousel__item { padding: 0 8px; }

  .tw-about-card { max-width: 420px; margin: 0 auto; }

  .tw-about-cta__inner { padding: 40px 28px; min-height: 0; }
  .tw-about-cta__content { max-width: none; text-align: center; }
  .tw-about-cta__inner--photo::before {
    background: linear-gradient(180deg, rgba(46,47,51,.4) 0%, rgba(46,47,51,.72) 100%);
  }

  .tw-about-extra__inner { grid-template-columns: 1fr; gap: 24px; }
}

/* ============================================================
   Reduced motion — aboutus.js skips the scrolly on desktop;
   this zeroes any remaining transitions.
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  .tw-about-panel,
  .tw-carousel__track { transition: none !important; animation: none !important; }
}
