:root {
  --orange: #dd5b1f;
  --orange-dark: #b94818;
  --gold: #e7ad22;
  --ink: #292724;
  --cream: #fbf3e7;
  --paper: #fcfaf5;
  --sage: #edf1e8;
  --sage-line: #dfe6d9;
  --line: #e8e0d5;
  --muted: #6c6862;
  --soft-shadow: 0 18px 55px rgba(54, 43, 31, 0.08);
}

html {
  background: var(--paper);
}

body {
  background: #fff;
  color: var(--ink);
}

header {
  min-height: 92px;
  padding-inline: clamp(24px, 5vw, 80px);
  border-color: rgba(79, 62, 43, 0.1);
  background: rgba(255, 253, 249, 0.94);
}

header nav {
  gap: clamp(18px, 2.2vw, 34px);
}

header nav a {
  position: relative;
  padding-block: 13px;
}

header nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 7px;
  height: 1.5px;
  background: var(--orange);
  transition: right 180ms ease;
}

header nav a:hover::after,
header nav a:focus-visible::after {
  right: 0;
}

.button {
  border-radius: 8px;
  min-height: 48px;
  letter-spacing: 0;
  box-shadow: none;
}

.primary {
  background: var(--orange);
}

.button:hover {
  box-shadow: 0 12px 26px rgba(183, 72, 24, 0.18);
}

.menu-toggle {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle::before,
.menu-toggle::after {
  content: "";
  display: block;
  width: 19px;
  height: 1.5px;
  position: absolute;
  left: 12px;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle::before {
  top: 14px;
}

.menu-toggle span {
  top: 21px;
}

.menu-toggle::after {
  top: 28px;
}

.menu-toggle[aria-expanded="true"] span {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"]::before {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"]::after {
  transform: translateY(-7px) rotate(-45deg);
}

main:has(> .hero) .hero {
  min-height: 640px;
  grid-template-columns: minmax(0, 0.95fr) minmax(480px, 1.05fr);
  gap: clamp(40px, 5vw, 86px);
  padding: clamp(58px, 7vh, 92px) clamp(24px, 5vw, 80px) 72px;
  background:
    radial-gradient(circle at 10% 8%, rgba(231, 173, 34, 0.08), transparent 24%),
    #fff;
}

main:has(> .hero) .hero-copy {
  max-width: 680px;
}

main:has(> .hero) .hero h1 {
  max-width: 660px;
  margin: 18px 0 27px;
  font-size: clamp(58px, 5.8vw, 88px);
  line-height: 0.94 !important;
}

main:has(> .hero) .hero-copy > p {
  max-width: 560px;
  margin-block: 27px 31px;
  color: #514c46;
}

main:has(> .hero) .hero-visual {
  min-height: 548px;
  border-radius: 18px 18px 58px 18px;
  box-shadow: var(--soft-shadow);
}

main:has(> .hero) .hero-visual::after {
  background: linear-gradient(90deg, rgba(255,255,255,.08), transparent 40%);
}

main:has(> .hero) .hero-visual-note {
  left: 28px;
  bottom: 27px;
  padding: 15px 18px;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 9px;
  box-shadow: 0 14px 36px rgba(43, 35, 28, 0.13);
}

main:has(> .hero) .pathways {
  padding-block: 78px 88px;
  background: var(--paper);
}

main:has(> .hero) .pathway-grid article {
  min-height: 280px;
  padding: 39px 42px;
  border-radius: 14px;
  box-shadow: 0 14px 36px rgba(56, 44, 32, 0.035);
}

main:has(> .hero) .pathway-grid h3 {
  font-size: 32px;
}

main:has(> .hero) .screening-invite {
  border-radius: 18px;
  box-shadow: var(--soft-shadow);
}

main:has(> .hero) .services {
  padding-block: 96px 84px;
}

main:has(> .hero) .service-grid {
  gap: 20px;
  max-width: 1380px;
  margin-inline: auto;
}

main:has(> .hero) .service-grid article {
  min-height: 270px;
  padding: 30px 28px 28px;
  border-radius: 13px;
  box-shadow: 0 10px 30px rgba(54, 43, 31, 0.035);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

main:has(> .hero) .service-grid article:hover {
  transform: translateY(-4px);
  border-color: #dfc8ad;
  box-shadow: var(--soft-shadow);
}

main:has(> .hero) .service-mark {
  width: 54px;
  height: 54px;
  border: 1px solid #f2dfbd;
  background: #fff7e8;
  font-family: var(--font-display);
  font-size: 15px;
}

main:has(> .hero) .service-grid h3 {
  margin-top: 22px;
  font-size: 22px;
}

main:has(> .hero) .trust {
  max-width: 1320px;
  padding: 34px 60px;
  margin-bottom: 95px;
  border: 1px solid #eee2c9;
  background: #fffaf0;
}

.google-review-band {
  width: min(1320px, calc(100% - 48px));
  margin: 0 auto 36px;
  padding: clamp(28px, 4vw, 54px);
  display: block !important;
  border: 1px solid #dce9e4;
  border-radius: 22px;
  background:
    radial-gradient(circle at 96% 4%, rgba(235, 169, 24, .13) 0 110px, transparent 112px),
    linear-gradient(120deg, #f2f8f5, #fffaf0);
  box-shadow: 0 22px 60px rgba(37, 64, 54, .08);
}

.google-review-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 22px;
}

.google-review-mark {
  width: 92px;
  height: 74px;
  display: grid;
  place-content: center;
  gap: 3px;
  text-align: center;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(37, 64, 54, .08);
}

.google-review-mark strong {
  color: var(--teal);
  font-size: 24px;
  font-weight: 850;
  line-height: 1;
}

.google-review-mark b {
  color: #eba918;
  margin-top: 4px;
  font-size: 11px;
  letter-spacing: 1px;
}

.google-review-mark small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.google-review-copy .eyebrow {
  color: var(--teal);
}

.google-review-copy h2 {
  margin: 5px 0 4px;
  font-size: clamp(25px, 2.2vw, 34px);
  line-height: 1.05;
}

.google-review-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.google-review-cards {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.google-review-cards article {
  min-height: 300px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(37, 64, 54, .11);
  border-radius: 15px;
  background: rgba(255, 255, 255, .9);
}

.google-review-stars {
  color: #eba918;
  font-size: 15px;
  letter-spacing: 2px;
}

.google-review-cards blockquote {
  margin: 15px 0 24px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.35;
}

.google-review-author {
  margin-top: auto;
  display: grid;
  gap: 3px;
}

.google-review-author strong {
  color: var(--teal);
  font-size: 14px;
}

.google-review-author span {
  color: var(--muted);
  font-size: 11px;
}

.google-review-cards article > a {
  margin-top: 13px;
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.google-review-actions {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.google-review-actions a {
  min-height: 52px;
  padding: 14px 19px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  border-radius: 10px;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.google-review-primary {
  color: #fff;
  background: var(--orange);
}

.google-review-secondary {
  color: var(--ink) !important;
  border: 1px solid rgba(37, 64, 54, .2);
  background: #fff;
}

.google-review-actions a:hover,
.google-review-actions a:focus-visible {
  transform: translateY(-2px);
}

.google-review-primary:hover,
.google-review-primary:focus-visible {
  background: #c94818;
}

.google-review-secondary:hover,
.google-review-secondary:focus-visible {
  border-color: var(--teal);
  background: #f7fbf9;
}

.google-review-note {
  margin: 16px 0 0;
  color: #6f756f;
  font-size: 12px;
  line-height: 1.5;
}

main:has(> .hero) .organisation-invite {
  background: var(--ink);
}

main:has(> .hero) .team-section {
  padding-block: 94px 100px;
  background: var(--sage);
}

main:has(> .hero) .team-section .team-card-link:nth-child(n + 5) {
  display: none;
}

main:has(> .hero) .team-grid {
  max-width: 1220px;
  margin-inline: auto;
  gap: 20px;
}

main:has(> .hero) .team-grid article {
  border-color: var(--sage-line);
  border-radius: 13px;
  box-shadow: 0 14px 34px rgba(44, 55, 42, 0.055);
}

main:has(> .hero) .team-photo {
  height: 300px;
  background: linear-gradient(145deg, #f7efe3, #ebe2d5);
}

main:has(> .hero) .team-photo::after {
  display: none;
}

main:has(> .hero) .team-copy {
  text-align: left;
  padding: 22px 22px 25px;
}

main:has(> .hero) .team-copy h3 {
  font-size: 22px;
}

main:has(> .hero) .team-copy p {
  min-height: 0;
}

main:has(> .hero) .team-copy b {
  justify-content: flex-start;
}

main:has(> .hero) .process-section {
  position: relative;
  padding-block: 98px 108px;
  background:
    linear-gradient(90deg, rgba(252,250,245,.97), rgba(252,250,245,.91)),
    url('/individual-therapy-room.jpg') center/cover;
}

main:has(> .hero) .steps {
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}

main:has(> .hero) .step-connector {
  display: none;
}

main:has(> .hero) .steps article {
  min-height: 250px;
  padding: 43px 30px 34px;
  border-radius: 13px;
  box-shadow: var(--soft-shadow);
}

main:has(> .hero) .step-number {
  width: 48px;
  height: 48px;
  margin: -68px auto 24px;
  background: var(--gold);
  box-shadow: 0 0 0 8px var(--paper);
  font-size: 21px;
}

main:has(> .hero) .home-insights {
  padding-block: 100px;
}

main:has(> .hero) .home-insight-grid {
  gap: 22px;
}

main:has(> .hero) .home-insight-grid > a {
  min-height: 310px;
  padding: 34px 30px;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(54, 43, 31, 0.045);
}

main:has(> .hero) .home-insight-grid > a:nth-child(2) {
  background: #fbf6eb;
}

main:has(> .hero) .home-insight-grid > a:nth-child(3) {
  background: var(--sage);
  border-color: var(--sage-line);
}

main:has(> .hero) .home-insight-grid h3 {
  margin-top: 30px;
  font-size: 29px;
}

main:has(> .hero) .fee-strip {
  align-items: stretch;
  gap: 18px;
  max-width: 1240px;
  margin: 12px auto 88px;
  padding: 0;
  border: 0;
  background: transparent;
}

main:has(> .hero) .fee-strip > div {
  flex: 1;
  min-height: 185px;
  justify-content: center;
  align-items: center;
  padding: 28px 22px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(54, 43, 31, 0.045);
}

main:has(> .hero) .fee-strip > div b {
  margin-block: 8px;
  color: var(--orange-dark);
  font-size: 36px;
}

main:has(> .hero) .fee-strip > i {
  display: none;
}

main:has(> .hero) .fee-strip > a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  align-self: center;
  min-width: 180px;
  min-height: 54px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
}

main:has(> .hero) .cta {
  max-width: 1320px;
  min-height: 220px;
  margin: 0 auto 70px;
  padding: 48px 54px;
  border-radius: 18px;
  background: var(--orange);
}

main:has(> .hero) .cta h2 {
  font-size: clamp(38px, 4vw, 55px);
}

footer {
  grid-template-columns: 1.2fr 1.5fr 1fr 1fr 1.3fr;
  gap: 42px;
  padding: 52px clamp(24px, 5vw, 80px);
  background: var(--ink);
}

footer .footer-partners {
  border-left: 1px solid rgba(255,255,255,.15);
  padding-left: 28px;
}

footer .site-social-links {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  margin-top: 8px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,.15);
}

footer .site-social-heading {
  color: rgba(255,255,255,.72);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

footer .site-social-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

footer .site-social-nav a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 9px 14px;
  color: #fff;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

footer .site-social-nav a:hover,
footer .site-social-nav a:focus-visible {
  color: #fff;
  border-color: rgba(255,255,255,.55);
  background: rgba(255,255,255,.13);
  transform: translateY(-2px);
}

footer .site-social-nav b {
  color: var(--gold);
  font-size: 15px;
}

.professional-card-photo img[src="/lui-pei-yee-cutout-v2.png"] {
  object-fit: contain;
  object-position: center bottom;
  transform: scale(1.23);
  transform-origin: center 42%;
}

.profile-photo img[src="/lui-pei-yee-cutout-v2.png"] {
  object-fit: contain;
  object-position: center bottom;
  transform: scale(1.1);
  transform-origin: center 42%;
}

.team-photo img[src="/lui-pei-yee-cutout-v2.png"],
.child-team-grid img[src="/lui-pei-yee-cutout-v2.png"] {
  object-fit: contain;
  object-position: center bottom;
  transform: scale(1.23);
  transform-origin: center 42%;
}

.reading-educator-lui {
  grid-template-columns: 1.28fr .72fr;
  background: linear-gradient(215deg, #fff9ef 0 58%, #edf7f3 58%);
}

.reading-educator-lui .reading-educator-photo {
  order: 2;
}

.reading-educator-lui .reading-educator-photo img {
  object-fit: contain;
  object-position: center bottom;
  transform: scale(1.3);
  transform-origin: center 35%;
}

.reading-educator-lui .reading-educator-copy {
  order: 1;
  justify-self: end;
}

@media (max-width: 1000px) {
  .reading-educator-lui {
    grid-template-columns: 1fr;
  }

  .reading-educator-lui .reading-educator-photo {
    order: 1;
  }

  .reading-educator-lui .reading-educator-copy {
    order: 2;
    justify-self: stretch;
  }
}

@media (max-width: 1100px) {
  header {
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 12px;
  }

  .menu-toggle {
    display: grid;
    grid-column: 3;
  }

  header .header-button {
    grid-column: 2;
  }

  header nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    max-height: 0;
    padding: 0 clamp(24px, 5vw, 80px);
    overflow: hidden;
    visibility: hidden;
    background: rgba(255,253,249,.99);
    border-bottom: 1px solid transparent;
    transition: max-height 220ms ease, padding 220ms ease, visibility 220ms;
  }

  header nav[data-open="true"] {
    max-height: 420px;
    padding-block: 16px 22px;
    visibility: visible;
    border-bottom-color: var(--line);
    box-shadow: 0 20px 35px rgba(41, 39, 36, .09);
  }

  header nav a {
    padding-block: 14px;
    border-bottom: 1px solid rgba(79,62,43,.08);
  }

  main:has(> .hero) .hero {
    grid-template-columns: 1fr;
  }

  main:has(> .hero) .hero-copy {
    max-width: 820px;
  }

  main:has(> .hero) .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  main:has(> .hero) .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  footer {
    grid-template-columns: repeat(2, 1fr);
  }

  footer .footer-partners {
    padding-left: 0;
    border-left: 0;
  }
}

@media (max-width: 700px) {
  header {
    min-height: 74px;
    padding-inline: 18px;
  }

  .logo {
    width: min(48vw, 205px);
  }

  .logo img {
    width: calc(100% - 30px);
  }

  .header-button {
    min-height: 42px;
    max-width: 126px;
    padding-inline: 12px;
    font-size: 11px;
  }

  header nav {
    padding-inline: 20px;
  }

  main:has(> .hero) .hero {
    min-height: 0;
    gap: 34px;
    padding: 50px 20px 56px;
  }

  main:has(> .hero) .hero h1 {
    max-width: 560px;
    font-size: clamp(48px, 13vw, 62px);
  }

  main:has(> .hero) .hero-actions .button {
    width: 100%;
  }

  main:has(> .hero) .hero-visual {
    min-height: 410px;
    border-radius: 16px 16px 44px 16px;
  }

  main:has(> .hero) .services,
  main:has(> .hero) .team-section,
  main:has(> .hero) .process-section,
  main:has(> .hero) .home-insights {
    padding-block: 70px;
  }

  main:has(> .hero) .service-grid,
  main:has(> .hero) .team-grid,
  main:has(> .hero) .steps,
  main:has(> .hero) .fee-strip {
    grid-template-columns: 1fr;
  }

  main:has(> .hero) .service-grid,
  main:has(> .hero) .team-grid {
    display: grid;
  }

  main:has(> .hero) .team-photo {
    height: 330px;
  }

  main:has(> .hero) .steps {
    gap: 46px;
  }

  main:has(> .hero) .fee-strip {
    align-items: stretch;
    margin: 12px 20px 70px;
  }

  main:has(> .hero) .fee-strip > a {
    text-align: center;
  }

  main:has(> .hero) .cta {
    min-height: 0;
    margin: 0 20px 55px;
    padding: 36px 28px;
  }

  main:has(> .hero) .cta-number {
    width: 52px;
    height: 52px;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 46px 24px calc(46px + env(safe-area-inset-bottom));
  }

  footer .site-social-links {
    align-items: flex-start;
    flex-direction: column;
    gap: 15px;
    padding-top: 24px;
  }

  footer .site-social-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
  }

  footer .site-social-nav a {
    justify-content: center;
    padding-inline: 8px;
  }
}

@media (max-width: 390px) {
  footer .site-social-nav {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 430px) {
  .logo > span {
    display: none;
  }

  .header-button {
    max-width: 112px;
    font-size: 10.5px;
  }

  main:has(> .hero) .hero-visual {
    min-height: 340px;
  }
}

/* Second-pass mobile refinement: calmer type scale, denser rhythm and
   thumb-friendly controls across the homepage and interior service pages. */
@media (max-width: 700px) {
  :root {
    --mobile-gutter: 18px;
  }

  html {
    scroll-padding-top: 88px;
  }

  header {
    grid-template-columns: minmax(0, 1fr) 104px 42px !important;
    min-height: 70px;
    gap: 8px;
    padding: 9px var(--mobile-gutter);
  }

  .logo {
    width: min(42vw, 168px);
  }

  .logo img {
    width: 100%;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
    align-self: center;
    box-sizing: border-box;
  }

  .menu-toggle::before {
    top: 13px;
  }

  .menu-toggle span {
    top: 20px;
  }

  .menu-toggle::after {
    top: 27px;
  }

  header nav {
    padding-inline: 18px;
  }

  header nav[data-open="true"] {
    gap: 0;
    padding-block: 8px 14px;
    background: #fffdf9;
  }

  header nav a {
    width: 100%;
    min-height: 46px;
    padding: 13px 2px;
    border: 0;
    border-bottom: 1px solid rgba(79,62,43,.1);
    border-radius: 0;
    background: transparent;
    font-size: 13px;
  }

  header nav a:last-child {
    border-bottom: 0;
  }

  header nav a::after {
    display: none;
  }

  .header-button {
    position: relative;
    display: grid;
    place-items: center;
    width: 104px;
    min-width: 104px;
    height: 42px;
    min-height: 42px;
    max-width: 104px;
    padding-inline: 12px;
    padding-block: 0;
    align-self: center;
    box-sizing: border-box;
    line-height: 1;
    font-size: 0;
  }

  .header-button::after {
    content: "Enquire & book";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    line-height: 1;
    text-align: center;
    transform: translateY(-0.5px);
    font-size: 9.5px;
  }

  .eyebrow {
    font-size: 10px;
    line-height: 1.5;
  }

  main:has(> .hero) .hero {
    gap: 28px;
    padding: 38px var(--mobile-gutter) 48px;
  }

  main:has(> .hero) .hero h1,
  .therapy-hero h1,
  .child-hero h1,
  .info-hero h1,
  .organisation-hero h1,
  .professionals-hero h1,
  .profile-hero-copy h1,
  .reading-hero h1,
  .resource-hero h1,
  .quiz-hero h1 {
    font-size: clamp(40px, 11.2vw, 45px);
    line-height: .98 !important;
    letter-spacing: -.045em;
  }

  main:has(> .hero) .hero h1 {
    margin: 14px 0 22px;
  }

  main:has(> .hero) .hero-copy > p,
  .therapy-hero-copy > p,
  .child-hero-copy > p,
  .info-hero > p,
  .organisation-hero-copy > p,
  .professionals-hero > p,
  .profile-hero-copy > p,
  .reading-hero-copy > p,
  .resource-hero > p,
  .quiz-hero > p {
    font-size: 16.5px;
    line-height: 1.62;
  }

  .child-section-heading h2,
  .info-heading h2,
  .section-intro h2,
  .therapy-section-heading h2 {
    font-size: clamp(34px, 9.5vw, 39px);
    line-height: 1.02 !important;
  }

  .section-intro,
  .therapy-section-heading {
    margin-bottom: 30px;
  }

  main:has(> .hero) .hero-visual {
    aspect-ratio: 4 / 3;
    min-height: 0;
    border-radius: 14px 14px 38px 14px;
  }

  main:has(> .hero) .hero-visual-note {
    left: 14px;
    right: 14px;
    bottom: 14px;
    padding: 11px 13px;
  }

  main:has(> .hero) .pathways,
  main:has(> .hero) .services,
  main:has(> .hero) .team-section,
  main:has(> .hero) .process-section,
  main:has(> .hero) .home-insights {
    padding-block: 58px;
    padding-inline: var(--mobile-gutter);
  }

  main:has(> .hero) .pathway-grid,
  main:has(> .hero) .service-grid,
  main:has(> .hero) .team-grid,
  main:has(> .hero) .steps,
  main:has(> .hero) .home-insight-grid {
    width: 100%;
    margin-inline: 0;
  }

  main:has(> .hero) .trust,
  main:has(> .hero) .organisation-invite {
    width: auto;
    margin-left: var(--mobile-gutter);
    margin-right: var(--mobile-gutter);
  }

  main:has(> .hero) .pathway-grid article {
    display: flex;
    flex-direction: column;
    min-height: 310px;
    padding: 27px 24px;
  }

  main:has(> .hero) .pathway-grid h3 {
    font-size: 27px;
  }

  main:has(> .hero) .pathway-grid p {
    margin-bottom: 18px;
  }

  main:has(> .hero) .pathway-grid a {
    position: static;
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    min-height: 44px;
    margin-top: auto;
  }

  main:has(> .hero) .service-grid article {
    display: flex;
    flex-direction: column;
    min-height: 240px;
    padding: 24px;
  }

  main:has(> .hero) .service-grid h3 {
    margin-top: 17px;
    font-size: 20px;
  }

  main:has(> .hero) .service-grid a {
    position: static;
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    min-height: 44px;
    margin-top: auto;
  }

  main:has(> .hero) .team-photo,
  .therapy-team-grid article > div {
    height: 285px;
  }

  main:has(> .hero) .home-insight-grid > a {
    min-height: 250px;
    padding: 28px 24px;
  }

  main:has(> .hero) .home-insight-grid h3 {
    margin-top: 22px;
    font-size: 26px;
  }

  main:has(> .hero) .fee-strip {
    gap: 12px;
    width: auto;
    margin: 8px var(--mobile-gutter) 58px;
  }

  main:has(> .hero) .fee-strip > div {
    min-height: 145px;
    padding: 22px 18px;
  }

  main:has(> .hero) .fee-strip > div b {
    font-size: 32px;
  }

  main:has(> .hero) .cta {
    width: auto;
    margin: 0 var(--mobile-gutter) 48px;
    padding: 31px 24px;
    border-radius: 14px;
  }

  .therapy-hero,
  .child-hero,
  .info-hero,
  .organisation-hero,
  .professionals-hero,
  .profile-hero,
  .reading-hero,
  .resource-hero,
  .quiz-hero {
    padding-left: var(--mobile-gutter);
    padding-right: var(--mobile-gutter);
  }

  .therapy-hero {
    padding-top: 22px;
    padding-bottom: 48px;
  }

  .back-link {
    margin-bottom: 22px;
  }

  .therapy-actions,
  .hero-actions {
    gap: 10px;
  }

  .therapy-quick-facts {
    display: grid;
    gap: 0;
    margin-top: 26px;
    padding-top: 8px;
  }

  .therapy-quick-facts span {
    min-height: 42px;
    padding: 11px 0;
    border-bottom: 1px solid var(--line);
    font-size: 10.5px;
    line-height: 1.35;
  }

  .therapy-quick-facts span:last-child {
    border-bottom: 0;
  }

  .therapy-hero-image,
  .child-hero-image {
    aspect-ratio: 4 / 3;
    min-height: 0;
    border-radius: 14px;
  }

  .therapy-approaches,
  .therapy-faq,
  .therapy-fees,
  .therapy-intro,
  .therapy-process,
  .therapy-team,
  .child-fees,
  .child-process,
  .child-services,
  .child-support,
  .child-team {
    padding: 54px var(--mobile-gutter) 58px;
  }

  .concern-grid,
  .therapy-step-grid,
  .approach-grid,
  .fee-cards {
    gap: 12px;
  }

  .concern-grid article,
  .therapy-step-grid article,
  .approach-grid article,
  .fee-cards article {
    min-height: 0;
    padding: 22px;
  }

  .first-session-panel {
    gap: 28px;
    width: auto;
    margin: 46px var(--mobile-gutter);
    padding: 30px 22px;
    border-radius: 15px;
  }

  .first-session-list > div {
    min-height: 0;
    padding: 16px;
  }

  .fee-cards strong {
    margin: 14px 0 10px;
    font-size: 34px;
  }

  .therapy-mobile-book {
    grid-template-columns: 1.35fr 1fr;
    gap: 7px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.96);
    box-shadow: 0 -10px 28px rgba(54,43,31,.09);
    backdrop-filter: blur(12px);
  }

  .therapy-mobile-book a {
    min-height: 44px;
    font-size: 11.5px;
  }

  .therapy-page {
    padding-bottom: calc(68px + env(safe-area-inset-bottom));
  }

  .home-optimised {
    padding-bottom: calc(68px + env(safe-area-inset-bottom));
  }

  .screening-assurance {
    margin-left: var(--mobile-gutter);
    margin-right: var(--mobile-gutter);
  }

  .screening-path,
  .screening-invite,
  .featured-insight,
  .home-insights,
  .insight-library,
  .insights-support {
    padding-left: var(--mobile-gutter);
    padding-right: var(--mobile-gutter);
  }

  .screening-path {
    padding-top: 54px;
    padding-bottom: 56px;
  }

  .screening-card-grid > a {
    min-height: 0;
    padding: 24px;
  }

  .screening-guidance,
  .screening-privacy {
    margin-left: var(--mobile-gutter);
    margin-right: var(--mobile-gutter);
  }

  .professionals-directory,
  .care-network-section,
  .featured-insight,
  .insight-library,
  .resource-cta,
  .profile-credentials,
  .profile-story,
  .profile-services,
  .quiz-hero,
  .quiz-languages {
    padding-left: var(--mobile-gutter);
    padding-right: var(--mobile-gutter);
  }

  .professional-match,
  .profile-cta,
  .screening-guidance,
  .screening-privacy,
  .quiz-shell {
    width: auto;
    margin-left: var(--mobile-gutter);
    margin-right: var(--mobile-gutter);
  }

  .section-intro,
  .therapy-section-heading,
  .home-insights-head,
  .professional-directory-heading {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  .professional-card-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .professional-card-photo {
    min-height: 280px;
  }

  footer {
    gap: 25px;
    padding: 38px var(--mobile-gutter) calc(38px + env(safe-area-inset-bottom));
  }
}

@media (max-width: 360px) {
  header {
    grid-template-columns: minmax(0, 1fr) 88px 42px;
    padding-inline: var(--mobile-gutter);
  }

  .logo {
    width: 43vw;
  }

  .header-button {
    width: 88px;
    min-width: 88px;
    max-width: 91px;
    padding-inline: 9px;
    justify-self: stretch;
  }

  main:has(> .hero) .hero h1,
  .therapy-hero h1,
  .child-hero h1,
  .info-hero h1,
  .organisation-hero h1,
  .professionals-hero h1,
  .profile-hero-copy h1,
  .reading-hero h1,
  .resource-hero h1,
  .quiz-hero h1 {
    font-size: 38px;
  }
}

/* Homepage information architecture: preserve the established design while
   moving decision-making, process and pricing ahead of supporting content. */
main.home-optimised > .trust {
  order: auto;
  margin-top: 30px;
  margin-bottom: 30px;
}

main.home-optimised > .pathways {
  padding-top: 68px;
  padding-bottom: 74px;
}

main.home-optimised > .process-section {
  padding-bottom: 76px;
}

main.home-optimised > .home-fee-intro {
  padding: 72px clamp(24px, 5vw, 80px) 26px;
  text-align: center;
  background: #fff;
}

main.home-optimised > .home-fee-intro h2 {
  max-width: 760px;
  margin: 12px auto 16px;
  font-size: clamp(40px, 4vw, 58px);
  line-height: .98;
}

main.home-optimised > .home-fee-intro p {
  max-width: 680px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

main.home-optimised > .fee-strip {
  margin-top: 0;
  margin-bottom: 76px;
}

main.home-optimised > .services {
  border-top: 1px solid var(--line);
}

main.home-optimised > .screening-invite {
  margin-top: 82px;
  margin-bottom: 16px;
}

main.home-optimised > .organisation-invite {
  margin-top: 0;
  margin-bottom: 72px;
}

@media (max-width: 700px) {
  header .logo {
    max-width: 168px;
    min-width: 0;
  }

  header .header-button {
    grid-column: 2 !important;
    justify-self: stretch;
  }

  header .menu-toggle {
    grid-column: 3 !important;
    justify-self: end;
    z-index: 3;
  }

  main.home-optimised > .trust {
    margin-top: 18px;
    margin-bottom: 18px;
  }

  .google-review-band {
    width: calc(100% - 36px);
    margin-bottom: 18px;
    padding: 24px 18px;
    border-radius: 18px;
    background: linear-gradient(145deg, #f2f8f5, #fffaf0);
  }

  .google-review-head {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 14px;
  }

  .google-review-mark {
    width: 58px;
    height: 64px;
  }

  .google-review-mark strong {
    font-size: 19px;
  }

  .google-review-mark b {
    font-size: 8px;
  }

  .google-review-copy h2 {
    font-size: 25px;
  }

  .google-review-copy p {
    margin-top: 7px;
    font-size: 14px;
    line-height: 1.55;
  }

  .google-review-cards {
    margin-top: 22px;
    padding: 0 2px 8px;
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .google-review-cards::-webkit-scrollbar {
    display: none;
  }

  .google-review-cards article {
    min-width: min(82vw, 286px);
    min-height: 292px;
    padding: 21px;
    scroll-snap-align: start;
  }

  .google-review-cards blockquote {
    font-size: 20px;
  }

  .google-review-actions {
    margin-top: 18px;
    display: grid;
    gap: 10px;
  }

  .google-review-actions a {
    width: 100%;
  }

  .google-review-note {
    margin-top: 13px;
  }

  main.home-optimised > .pathways {
    padding-top: 52px;
    padding-bottom: 56px;
  }

  main.home-optimised > .process-section {
    padding-top: 58px;
    padding-bottom: 48px;
  }

  main.home-optimised > .home-fee-intro {
    padding: 54px var(--mobile-gutter) 22px;
    text-align: left;
  }

  main.home-optimised > .home-fee-intro h2 {
    margin: 10px 0 14px;
    font-size: clamp(34px, 9.5vw, 39px);
  }

  main.home-optimised > .home-fee-intro p {
    font-size: 15px;
  }

  main.home-optimised > .fee-strip {
    margin-bottom: 58px;
  }

  main.home-optimised > .screening-invite {
    margin-top: 54px;
  }

  main.home-optimised > .organisation-invite {
    margin-bottom: 54px;
  }
}

@media (max-width: 360px) {
  header {
    grid-template-columns: minmax(0, 1fr) 88px 42px !important;
  }

  .header-button::after {
    font-size: 8.7px;
  }
}

/* Lightweight directions for the Penampang centre. These open the visitor's
   preferred navigation app without loading a heavy embedded map. */
.contact-page .location-actions-label {
  display: block;
  margin-top: 20px;
  color: var(--ink);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.45;
}

.contact-page .location-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.contact-page .location-map-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--orange);
  border-radius: 9px;
  background: var(--orange);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.contact-page .location-map-button:nth-child(2) {
  border-color: #267c73;
  background: #edf7f4;
  color: #175e56;
}

.contact-page .location-map-button:hover,
.contact-page .location-map-button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(54, 43, 31, .1);
}

.contact-page .location-map-button b {
  font-size: 15px;
  font-weight: 500;
}

@media (max-width: 700px) {
  .contact-page .location-actions {
    grid-template-columns: 1fr;
  }

  .contact-page .location-map-button {
    width: 100%;
    min-height: 50px;
    padding-inline: 16px;
    font-size: 12px;
  }
}

/* A lightweight, mobile-first tour of the Penampang centre. */
main:has(> .hero) .centre-gallery {
  padding: 92px clamp(24px, 5vw, 80px);
  background:
    radial-gradient(circle at 93% 6%, rgba(231, 173, 34, .11), transparent 22%),
    var(--paper);
  border-block: 1px solid var(--line);
}

.centre-gallery-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  align-items: end;
  gap: clamp(34px, 6vw, 92px);
  max-width: 1380px;
  margin: 0 auto 34px;
}

.centre-gallery-intro h2 {
  max-width: 760px;
  margin: 12px 0 0;
  font-size: clamp(44px, 4.4vw, 68px);
  line-height: .98;
}

.centre-gallery-intro > p {
  max-width: 560px;
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.centre-floor-tabs {
  display: inline-grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  max-width: 100%;
  margin: 0 0 30px max(calc((100% - 1380px) / 2), 0px);
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
}

.centre-floor-tabs button {
  min-width: 126px;
  min-height: 44px;
  padding: 10px 17px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.centre-floor-tabs button[aria-selected="true"] {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 8px 18px rgba(185, 72, 24, .14);
}

.centre-floor-tabs button:focus-visible {
  outline: 3px solid rgba(231, 173, 34, .48);
  outline-offset: 2px;
}

.centre-floor-panel {
  max-width: 1380px;
  margin-inline: auto;
}

.centre-floor-panel[hidden] {
  display: none;
}

.centre-floor-copy {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.centre-floor-copy > div {
  display: flex;
  align-items: center;
  gap: 13px;
}

.centre-floor-copy span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid #ead9c3;
  border-radius: 50%;
  background: #fff8ed;
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 700;
}

.centre-floor-copy h3 {
  margin: 0;
  font-size: clamp(28px, 3vw, 39px);
  line-height: 1;
}

.centre-floor-copy > p {
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 14px;
}

.centre-photo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.centre-photo-grid-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.centre-photo-grid figure {
  position: relative;
  min-width: 0;
  margin: 0;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  border-radius: 16px;
  background: var(--sage);
  box-shadow: 0 14px 38px rgba(54, 43, 31, .07);
}

.centre-photo-grid-landscape figure {
  aspect-ratio: 4 / 3;
}

.centre-photo-grid img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 320ms ease;
}

.centre-photo-grid figure:hover img {
  transform: scale(1.018);
}

.centre-photo-grid figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  max-width: calc(100% - 28px);
  padding: 9px 13px;
  border: 1px solid rgba(255, 255, 255, .55);
  border-radius: 999px;
  background: rgba(39, 35, 31, .76);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  backdrop-filter: blur(8px);
}

.centre-visit-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
  max-width: 1380px;
  margin: 24px auto 0;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.centre-visit-strip > div:first-child > span {
  display: block;
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.centre-visit-strip p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.centre-visit-strip > div:last-child {
  display: flex;
  gap: 9px;
}

.centre-visit-strip a {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
  min-height: 46px;
  padding: 11px 15px;
  border: 1px solid var(--orange);
  border-radius: 9px;
  background: var(--orange);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.centre-visit-strip a:last-child {
  border-color: #267c73;
  background: #edf7f4;
  color: #175e56;
}

.centre-visit-strip a:hover,
.centre-visit-strip a:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(54, 43, 31, .1);
}

@media (max-width: 900px) {
  main:has(> .hero) .centre-gallery {
    padding-block: 68px;
  }

  .centre-gallery-intro {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .centre-gallery-intro > p {
    max-width: 680px;
  }

  .centre-floor-copy {
    display: block;
  }

  .centre-floor-copy > p {
    margin: 12px 0 0;
  }

  .centre-visit-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  main:has(> .hero) .centre-gallery {
    padding: 58px var(--mobile-gutter);
  }

  .centre-gallery-intro {
    margin-bottom: 24px;
  }

  .centre-gallery-intro h2 {
    font-size: clamp(38px, 11vw, 52px);
  }

  .centre-gallery-intro > p {
    font-size: 14px;
  }

  .centre-floor-tabs {
    width: 100%;
    margin: 0 0 24px;
  }

  .centre-floor-tabs button {
    min-width: 0;
    padding-inline: 7px;
    font-size: 11px;
    line-height: 1.2;
  }

  .centre-floor-copy > div {
    align-items: flex-start;
  }

  .centre-photo-grid,
  .centre-photo-grid-two {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .centre-photo-grid figure,
  .centre-photo-grid-landscape figure {
    aspect-ratio: 4 / 3;
  }

  .centre-photo-grid:not(.centre-photo-grid-landscape) figure {
    aspect-ratio: 4 / 4.4;
  }

  .centre-visit-strip {
    padding: 17px;
  }

  .centre-visit-strip > div:last-child {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .centre-visit-strip a {
    width: 100%;
    padding-inline: 12px;
  }
}

@media (max-width: 400px) {
  .centre-visit-strip > div:last-child {
    grid-template-columns: 1fr;
  }
}

/* Shared refinements for the child and family service detail pages. */
.service-detail-page .reading-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.service-detail-page .reading-educator-photo img {
  object-position: center bottom;
}

.service-detail-page .reading-educator-tags {
  flex-wrap: wrap;
}

.service-detail-page .reading-signs span,
.service-detail-page .reading-skill-grid p,
.service-detail-page .reading-principles p,
.service-detail-page .faq-list p {
  text-wrap: pretty;
}

@media (min-width: 901px) {
  .service-detail-page .service-hero-portrait img {
    object-position: center 44%;
  }
}

@media (max-width: 700px) {
  .service-detail-page .reading-hero-image {
    aspect-ratio: 4 / 3;
    min-height: 0;
  }

  .service-detail-page .reading-hero-image img {
    object-position: center;
  }
}

/* Homepage founder-led hero: the portrait is the real founder cutout, placed
   on a calm branded surface without altering the source photograph. */
main:has(> .hero) .hero-visual > img[src="/chong-tin-fung.png"] {
  object-fit: contain;
  object-position: right bottom;
  background: linear-gradient(145deg, #fbf3e7 0%, #fffaf4 58%, #f9e7d8 100%);
}

main:has(> .hero) .hero-visual.founder-hero {
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(circle at 84% 18%, rgba(231, 173, 34, .17) 0 25%, transparent 25.4%),
    linear-gradient(145deg, #fbf3e7 0%, #fffaf4 58%, #f9e7d8 100%);
}

main:has(> .hero) .hero-visual.founder-hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 9%;
  left: 7%;
  width: 42%;
  aspect-ratio: 1;
  border: 1px solid rgba(231, 173, 34, .58);
  border-radius: 50%;
  pointer-events: none;
}

main:has(> .hero) .hero-visual.founder-hero::after {
  z-index: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, .16), transparent 45%);
  pointer-events: none;
}

main:has(> .hero) .founder-hero-kicker {
  position: absolute;
  z-index: 3;
  top: 27px;
  left: 28px;
  max-width: 44%;
  color: var(--orange-dark);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .15em;
  text-transform: uppercase;
}

main:has(> .hero) .founder-hero-photo {
  position: absolute;
  z-index: 1;
  right: -2%;
  bottom: -3%;
  width: 80%;
  height: 105%;
  max-width: none;
  object-fit: contain;
  object-position: right bottom;
}

main:has(> .hero) .hero-visual-note.founder-hero-note {
  z-index: 4;
  width: min(47%, 320px);
  color: var(--ink);
  background: rgba(255, 255, 255, .93);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

main:has(> .hero) .founder-hero-note b {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.05;
}

main:has(> .hero) .founder-hero-note span {
  margin-top: 6px;
  font-size: 11px;
  line-height: 1.45;
}

main:has(> .hero) .founder-hero-note small {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 30px;
  margin-top: 8px;
  color: var(--orange-dark);
  font-size: 11px;
  font-weight: 700;
}

main:has(> .hero) .founder-hero-note:hover,
main:has(> .hero) .founder-hero-note:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(43, 35, 28, .16);
}

@media (min-width: 701px) and (max-width: 1100px) {
  main:has(> .hero) .hero-visual.founder-hero {
    width: min(100%, 820px);
    min-height: 500px;
  }

  main:has(> .hero) .founder-hero-photo {
    right: 0;
    width: 66%;
  }

  main:has(> .hero) .hero-visual-note.founder-hero-note {
    width: min(42%, 310px);
  }
}

@media (max-width: 700px) {
  main:has(> .hero) .hero-visual.founder-hero {
    width: 100%;
    aspect-ratio: 1 / 1.02;
    min-height: 0;
    border-radius: 16px 16px 42px 16px;
  }

  main:has(> .hero) .founder-hero-kicker {
    top: 16px;
    left: 16px;
    max-width: 51%;
    font-size: 9px;
  }

  main:has(> .hero) .founder-hero-photo {
    right: -11%;
    bottom: -6%;
    width: 112%;
    height: 102%;
  }

  main:has(> .hero) .hero-visual-note.founder-hero-note {
    left: 14px;
    right: auto;
    bottom: 14px;
    width: 56%;
    padding: 12px 13px;
  }

  main:has(> .hero) .founder-hero-note b {
    font-size: 18px;
  }

  main:has(> .hero) .founder-hero-note span,
  main:has(> .hero) .founder-hero-note small {
    font-size: 10px;
  }
}

@media (max-width: 380px) {
  main:has(> .hero) .hero {
    padding-inline: 16px;
  }

  main:has(> .hero) .hero-visual-note.founder-hero-note {
    width: 59%;
  }

  main:has(> .hero) .founder-hero-photo {
    right: -14%;
    width: 118%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .menu-toggle,
  header nav,
  header nav a::after,
  main:has(> .hero) .service-grid article,
  .centre-floor-tabs button,
  .centre-photo-grid img,
  .centre-visit-strip a,
  main:has(> .hero) .founder-hero-note {
    transition: none;
  }

  footer .site-social-nav a {
    transition: none;
  }
}
