/* Adventure identity. Shared sizing and colours keep the whole portfolio aligned. */
:root {
  --blue: #174F9D;
  --navy: #102F50;
  --ink: var(--navy);
  --yellow: #FFD34E;
  --orange: #FF925C;
  --sky: #39B5F4;
  --teal: #42B8C5;
  --cream: #FFFDF5;
  --ice: #E7F5FC;
  --white: #FFFFFF;
  --muted: #506478;
  --line: #CCDCE8;
  --green: #176A47;
  --focus: #A34C19;
  --heading: 'Fredoka', 'Trebuchet MS', sans-serif;
  --body: 'Nunito', system-ui, sans-serif;
  --button: 'Poppins', system-ui, sans-serif;
  --content-width: 1200px;
  --gutter: clamp(20px, 4vw, 64px);
  --section-space: clamp(64px, 7vw, 112px);
  --gap: clamp(20px, 2.5vw, 32px);
  --card-pad: clamp(24px, 2.6vw, 36px);
  --radius: 24px;
  --radius-small: 12px;
  --shadow: 0 14px 40px #102f500c;
  --shadow-hover: 0 20px 42px #102f5017;
  --ease: cubic-bezier(.2, .65, .3, 1);
}

/* Foundation */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 17px/1.75 var(--body); }
body.modal-open { overflow: hidden; }
[hidden] { display: none !important; }
button, input, textarea { font: inherit; }
button, a { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:hover { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
svg { max-width: 100%; }
h1, h2, h3, h4, p, figure { margin: 0; }
p { margin-bottom: 18px; }
h1, h2, h3, h4 { font-family: var(--heading); font-weight: 500; line-height: 1.12; letter-spacing: -.025em; overflow-wrap: break-word; text-wrap: balance; }
h2 { font-size: clamp(34px, 4.2vw, 56px); color: var(--blue); }
h3 { font-size: clamp(24px, 2.3vw, 30px); }
h4 { font-size: 24px; }
:where(a, button, input, textarea, [tabindex]):focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; }
.container { width: calc(100% - var(--gutter) * 2); max-width: var(--content-width); padding: 0; margin-inline: auto; }
:where(.container, .form-grid, .contact-details, .booking-options, .gallery-grid) > * { min-width: 0; }
.section { padding-block: var(--section-space); }
.section-anchor { scroll-margin-top: 20px; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 24px; height: 24px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; vertical-align: middle; }
.sr-only, .visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 100; padding: 14px 20px; background: var(--yellow); border-radius: var(--radius-small); }
.skip-link:focus { top: 12px; }
.eyebrow, .home-eyebrow { font: 600 11px/1.7 var(--button); letter-spacing: .15em; color: var(--blue); margin-bottom: 16px; }
.section-heading { margin-bottom: 40px; }
.section-heading h2 { margin-bottom: 20px; }
.section-heading p:not(.eyebrow) { color: var(--muted); margin: 0; max-width: 610px; }
.section-heading.text-center { max-width: 790px; margin-inline: auto; }
.section-heading.text-center p { margin-inline: auto; }
.split-heading { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: end; }
.split-heading h2 { margin-bottom: 0; }
.section-notice { display: flex; align-items: flex-start; gap: 12px; padding: 16px 20px; margin-bottom: 32px; border-left: 3px solid var(--teal); background: var(--white); color: var(--muted); border-radius: 0 var(--radius-small) var(--radius-small) 0; font-size: 14px; }
.section-notice .icon { color: var(--blue); margin-top: 2px; }
.section-notice p { margin: 0; }
.section-footnote { text-align: center; font-size: 14px; color: var(--muted); margin: 32px auto 0; max-width: 780px; }
.value-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.value-chips span { padding: 8px 14px; border-radius: 30px; background: var(--ice); color: var(--blue); font-size: 13px; font-weight: 800; }
.placeholder-pill { display: inline-block; width: fit-content; padding: 6px 10px; border-radius: 6px; background: var(--ice); color: var(--blue); font: 600 11px/1.6 var(--button); letter-spacing: .025em; }

/* Actions */
.btn, .home-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; max-width: 100%; padding: 14px 22px; border: 1px solid transparent; border-radius: var(--radius-small); font: 500 13px/1.6 var(--button); white-space: normal; text-align: center; transition: transform .2s var(--ease), background .2s, box-shadow .2s; }
.btn:hover, .home-button:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.btn:active, .home-button:active { transform: translateY(1px); }
.btn-primary, .home-button-primary { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn-primary:hover, .btn-primary:focus, .home-button-primary:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-yellow { background: var(--yellow); color: var(--navy); }
.btn-yellow:hover { background: var(--orange); color: var(--navy); }
.btn-outline, .home-button-secondary { background: transparent; border-color: var(--line); color: var(--blue); }
.btn-outline:hover, .home-button-secondary:hover { background: var(--ice); color: var(--blue); border-color: var(--blue); }
.btn-whatsapp { background: var(--green); color: var(--white); }
.btn-whatsapp:hover { background: var(--navy); color: var(--white); }
.btn-contact-platform { background: var(--white); color: var(--blue); }
.btn-contact-platform:hover { background: var(--ice); color: var(--blue); }

/* Navigation */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--cream); border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px #102f500a; }
.nav-shell { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 88px; position: relative; }
.personal-brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; color: var(--blue); font: 500 25px/1.1 var(--heading); letter-spacing: -.03em; }
.personal-brand-mark { width: 44px; height: 44px; }
.personal-brand-caption { display: block; font: 600 9px/1.5 var(--button); letter-spacing: .14em; margin-top: 7px; }
.nav-links { display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); list-style: none; padding: 0; margin: 0; }
.nav-links a { position: relative; display: flex; align-items: center; gap: 12px; min-height: 44px; font: 500 12px/1.5 var(--button); color: var(--navy); }
.nav-links a:not(.nav-book)::after { content: ''; position: absolute; bottom: 3px; left: 0; width: 100%; height: 3px; border-radius: 3px; background: var(--orange); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-links .nav-book { min-height: 48px; padding: 12px 20px; background: var(--blue); color: var(--white); border-radius: 30px; transition: background .2s; }
.nav-book:hover, .nav-book.active { background: var(--navy); }
.nav-book .icon { width: 19px; }
.menu-toggle { display: none; width: 46px; height: 46px; padding: 12px; border: 1px solid var(--line); border-radius: 12px; background: var(--cream); flex-shrink: 0; }
.menu-toggle span { height: 2px; width: 20px; background: var(--blue); transition: transform .2s, opacity .2s; }
.menu-toggle[aria-expanded=true] span:first-child { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded=true] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded=true] span:last-child { transform: translateY(-6px) rotate(-45deg); }

/* Hero: type-led introduction and an adventure postcard portrait */
.home-hero { position: relative; }
.home-hero-grid { display: grid; grid-template-columns: 1.13fr 1fr; align-items: center; gap: clamp(24px, 4vw, 64px); padding-block: clamp(36px, 5vw, 72px) 52px; }
.home-hero-copy { position: relative; z-index: 2; }
.home-eyebrow { display: flex; align-items: center; gap: 10px; letter-spacing: .1em; }
.home-eyebrow > span { display: grid; place-items: center; width: 30px; height: 30px; flex-shrink: 0; border-radius: 50%; background: var(--yellow); font-size: 22px; }
.home-headline { font-size: clamp(40px, 5.3vw, 74px); font-weight: 500; line-height: 1.14; letter-spacing: -.045em; color: var(--blue); margin-bottom: 30px; }
.home-heading-line { display: block; width: fit-content; }
.home-heading-line + .home-heading-line { margin-top: 8px; }
.home-highlight { position: relative; isolation: isolate; }
.home-highlight::before { content: ''; position: absolute; inset: 12% -2% -5%; background: var(--yellow); border-radius: 12px 35px 14px 20px; transform: rotate(-2deg); z-index: -1; }
.home-intro { max-width: 495px; color: var(--muted); font-size: 18px; margin-bottom: 18px; }
.home-intro strong { color: var(--navy); font-weight: 800; }
.home-location { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; margin-bottom: 28px; }
.home-location .icon { width: 19px; height: 19px; }
.home-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.home-button { border-radius: 40px; }
.home-button-primary { padding: 8px 9px 8px 24px; gap: 24px; }
.home-button-arrow { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--yellow); color: var(--navy); transition: transform .2s; }
.home-button-primary:hover .home-button-arrow { transform: rotate(-35deg); }
.home-booking-note { display: flex; gap: 12px; align-items: center; margin-top: 28px; }
.home-note-heart { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; color: var(--blue); border-radius: 50%; background: var(--ice); }
.home-booking-note p { margin: 0; font-size: 12px; color: var(--muted); line-height: 1.8; }
.home-booking-note a { font-weight: 800; text-decoration: underline; text-underline-offset: 3px; color: var(--navy); }
.home-portrait-scene { position: relative; justify-self: center; width: 100%; max-width: 470px; padding: 22px 18px 48px; isolation: isolate; }
.home-portrait { position: relative; z-index: 1; margin: 0; transform: rotate(2deg); }
.home-portrait-window { position: relative; aspect-ratio: .91; border: 10px solid var(--blue); border-radius: 44% 44% 25px 25px; background: var(--ice); overflow: hidden; }
.home-portrait-window img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.home-name-card { display: flex; align-items: center; gap: 12px; padding: 18px; margin: -8px 4px 0; position: relative; background: var(--white); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); transform: rotate(-4deg); }
.home-name-card strong { display: block; color: var(--blue); font: 500 26px/1.2 var(--heading); }
.home-name-card small { display: block; margin-top: 4px; font-size: 12px; }
.home-name-card > .icon { color: var(--focus); margin-left: auto; }
.home-name-smile { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); color: var(--blue); font: 36px/1 var(--heading); flex-shrink: 0; }
.home-colour-disc { position: absolute; width: 55%; aspect-ratio: 1; background: var(--orange); border-radius: 50%; bottom: 8%; right: 0; z-index: -1; }
.home-orbit { position: absolute; inset: 5% 7% 16%; border: 1px dashed var(--teal); border-radius: 45%; transform: rotate(-12deg); z-index: -1; }
.home-decoration { position: absolute; z-index: 3; pointer-events: none; }
.home-star { width: 13%; left: 0; top: 43%; color: var(--orange); }
.home-plane { width: 23%; right: 0; top: -3%; transform: rotate(6deg); }
.home-cloud { width: 20%; bottom: 18%; left: -1%; }
.home-mini-star { position: absolute; right: 0; top: 62%; font-size: 42px; color: var(--sky); }
.home-availability { display: flex; align-items: center; gap: 10px; position: absolute; left: 0; top: 7%; z-index: 3; padding: 12px 16px; background: var(--white); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); font: 500 11px/1.6 var(--button); transform: rotate(-5deg); }
.home-availability small { display: block; font: 12px/1.5 var(--body); color: var(--muted); }
.home-availability-dot { width: 9px; height: 9px; border: 2px solid var(--blue); border-radius: 50%; background: var(--yellow); }
.home-handwritten { position: absolute; right: 5%; bottom: -6px; color: var(--blue); font: 400 19px/1.2 var(--heading); transform: rotate(-6deg); margin: 0; }
.home-handwritten svg { width: 54px; height: 35px; margin-left: 12px; stroke: var(--blue); fill: none; stroke-width: 2; }
.home-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; border-top: 1px solid var(--line); padding-block: 20px; font: 500 10px/1.6 var(--button); letter-spacing: .1em; color: var(--muted); }
.home-bottom a { color: var(--blue); }
.home-bottom a span { margin-left: 10px; }
.home-photo-placeholder, .photo-placeholder-label { position: absolute; bottom: 12px; left: 12px; right: 12px; padding: 5px; text-align: center; background: var(--cream); color: var(--navy); font-size: 11px; border-radius: 8px; }
.values-ribbon { background: var(--blue); color: var(--white); padding-block: 23px; }
.ribbon-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 14px; font-weight: 800; }
.ribbon-inner > span { display: flex; align-items: center; gap: 10px; }
.ribbon-inner .icon { color: var(--yellow); width: 20px; height: 20px; }
.ribbon-inner i { color: var(--yellow); font-style: normal; }

/* Personal story */
.about-grid { display: grid; grid-template-columns: .92fr 1.15fr; gap: clamp(32px, 7vw, 100px); align-items: center; }
.about-visual { position: relative; padding: 20px 26px 44px; max-width: 460px; width: 100%; justify-self: center; isolation: isolate; }
.about-visual::before { content: ''; position: absolute; inset: 10px 8px 50px; border-radius: 30px; background: var(--yellow); transform: rotate(-5deg); z-index: -1; }
.about-photo { border: 8px solid var(--white); border-radius: 26px; overflow: hidden; transform: rotate(2deg); box-shadow: var(--shadow); aspect-ratio: .82; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.little-note { position: absolute; bottom: 0; right: 0; display: flex; align-items: center; gap: 12px; padding: 20px 24px; background: var(--blue); color: var(--white); border-radius: 16px 16px 32px 16px; font: 400 23px/1.25 var(--heading); transform: rotate(-3deg); box-shadow: var(--shadow); }
.little-note .icon { color: var(--yellow); }
.about-spark { position: absolute; top: -6px; left: 0; color: var(--orange); font-size: 58px; line-height: 1; }
.about-copy h2 { max-width: 450px; margin-bottom: 24px; }
.about-copy > p:not(.eyebrow) { color: var(--muted); }
.about-copy .lead-text { color: var(--navy); font-weight: 800; font-size: 21px; }
.orange-dot { color: var(--focus); }
.signature { font: 500 27px/1.4 var(--heading); display: flex; align-items: center; gap: 16px; margin-top: 24px; color: var(--blue); }
.signature .icon { color: var(--focus); }

/* Journey */
.experience-section { background: var(--ice); }
.experience-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.experience-card { background: var(--white); padding: var(--card-pad); border-radius: var(--radius); border-top: 5px solid var(--blue); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.experience-card:nth-child(2) { border-top-color: var(--orange); }
.experience-card:nth-child(3) { border-top-color: var(--teal); }
.card-topline { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 26px; }
.card-icon { display: inline-grid; place-items: center; width: 54px; height: 54px; flex-shrink: 0; border-radius: 16px; background: var(--ice); color: var(--blue); }
.card-icon .icon { width: 28px; height: 28px; }
.journey-number { font: 400 38px/1 var(--heading); color: var(--blue); opacity: .3; }
.experience-card h3 { margin-bottom: 18px; }
.experience-card > p { color: var(--muted); font-size: 16px; }
.experience-card dl { border-top: 1px solid var(--line); padding-top: 8px; margin: auto 0 0; }
.experience-card dt { font: 600 11px/1.6 var(--button); text-transform: uppercase; letter-spacing: .06em; color: var(--blue); margin-top: 16px; }
.experience-card dd { font-size: 15px; color: var(--muted); margin: 5px 0 0; }
.experience-card dd:first-of-type { color: var(--navy); font: 500 25px/1.3 var(--heading); }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.service-card { display: flex; flex-direction: column; padding: var(--card-pad); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); transition: transform .25s var(--ease), box-shadow .25s; }
.service-card:nth-child(3n+2) { background: var(--ice); }
.service-card .card-icon { margin-bottom: 28px; background: var(--yellow); }
.service-card:nth-child(3n+2) .card-icon { background: var(--white); }
.service-card:nth-child(3n) .card-icon { background: var(--orange); }
.service-card h3 { margin-bottom: 18px; }
.service-card p { color: var(--muted); font-size: 16px; margin-bottom: 28px; }
.service-enquiry { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); padding-top: 18px; margin-top: auto; font: 500 13px/1.6 var(--button); color: var(--blue); min-height: 46px; }
.service-enquiry:hover { color: var(--blue); text-decoration: underline; text-underline-offset: 4px; }
.service-enquiry .icon { width: 20px; }

/* Booking options and profile */
.booking-section { background: var(--yellow); position: relative; }
.booking-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.booking-card { padding: clamp(26px, 4vw, 48px); background: var(--cream); border-radius: var(--radius); display: flex; flex-direction: column; }
.booking-platform { background: var(--white); }
.booking-card-top { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.booking-option-label { font: 600 11px/1.6 var(--button); letter-spacing: .05em; color: var(--blue); }
.booking-card h3 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 18px; }
.booking-card > p { color: var(--muted); }
.booking-card .booking-detail { margin-top: auto; padding-top: 12px; color: var(--navy); }
.booking-detail strong { display: block; font: 500 27px/1.5 var(--heading); }
.booking-card > small { display: block; margin-top: 14px; font-size: 13px; color: var(--muted); }
.kiddocare-layout { display: grid; gap: 40px; }
.kiddocare-copy { max-width: 750px; margin-inline: auto; text-align: center; }
.kiddocare-copy .value-chips { justify-content: center; }
.profile-story, .profile-actions { min-width: 0; }
.profile-actions .profile-id-box { margin-top: 0; }
.profile-actions > .btn { width: 100%; }
.kiddocare-copy h2 { margin-bottom: 26px; }
.kiddocare-copy > p:not(.eyebrow) { color: var(--muted); }
.kiddocare-profile-card { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; padding: var(--card-pad); border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); box-shadow: 12px 12px 0 var(--ice); }
.kiddocare-profile-header { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.platform-wordmark { font: 500 27px/1.3 var(--heading); color: var(--blue); }
.kiddocare-profile-header p { font-size: 13px; color: var(--muted); margin: 4px 0 0; }
.profile-spark { margin-left: auto; font-size: 32px; color: var(--focus); }
.kiddocare-bio { color: var(--muted); font-size: 16px; }
.kiddocare-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-block: 24px 18px; }
.kiddocare-stats > div { background: var(--ice); padding: 20px; border-radius: 14px; }
.kiddocare-stats strong { display: block; font: 500 40px/1.1 var(--heading); color: var(--blue); margin-bottom: 10px; }
.kiddocare-stats .stat-unit { font-size: 19px; }
.kiddocare-stats > div > span { display: block; font-size: 12px; line-height: 1.5; }
.kiddocare-profile-context { font-size: 14px; }
.profile-snapshot-note, .profile-link-note { font-size: 12px; color: var(--muted); line-height: 1.6; }
.kiddocare-profile-preview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--ice);
  color: var(--blue);
}
.kiddocare-profile-preview img {
  width: 100%;
  height: auto;
  aspect-ratio: 6 / 5;
  object-fit: cover;
  object-position: top;
  border-radius: 10px;
}
.kiddocare-profile-preview strong { display: block; line-height: 1.35; }
.kiddocare-profile-preview small { display: block; margin-top: 5px; color: var(--muted); }
.kiddocare-profile-preview:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.profile-id-box { padding: 22px; border-radius: 16px; border: 1px dashed var(--blue); margin-block: 24px; }
.profile-id-box > span { display: block; font: 500 11px/1.7 var(--button); text-transform: uppercase; letter-spacing: .08em; }
.profile-id-box > strong { display: block; font: 500 clamp(26px, 3vw, 36px)/1.4 var(--heading); letter-spacing: .02em; margin-block: 5px 16px; color: var(--blue); overflow-wrap: anywhere; }
#kiddocare-copy-status { font-size: 13px; margin: 12px 0 0; }
#kiddocare-copy-status:empty { margin: 0; }
.kiddocare-search h3 { font-size: 23px; margin-bottom: 12px; }
.kiddocare-search { font-size: 14px; margin-bottom: 24px; }
.kiddocare-search ol { padding-left: 20px; }
.kiddocare-search li { padding-left: 4px; margin-bottom: 8px; }
.kiddocare-search a { color: var(--blue); text-decoration: underline; }
.kiddocare-profile-card > .btn { width: 100%; }
.profile-link-note { margin: 12px 0 0; }

/* Certificates */
.qualifications-section { background: var(--ice); }
.qualification-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); align-items: stretch; }
.qualification-card { border: 1px solid var(--line); background: var(--white); border-radius: var(--radius); padding: 24px; }
.certificate-preview { border-radius: 12px; background: var(--cream); padding: 14px; margin-bottom: 24px; transition: box-shadow .2s; }
.certificate-preview:hover { box-shadow: var(--shadow-hover); }
.certificate-image { width: 100%; height: 210px; object-fit: contain; }
.qualification-card h3 { font-size: 25px; margin-bottom: 16px; }
.qualification-card .placeholder-pill { margin-bottom: 16px; }
.qualification-card p { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.qualification-card p:last-child { margin-bottom: 0; }
.qualification-card strong { color: var(--navy); }
.document-link { color: var(--blue); font-size: 14px; text-decoration: underline; }
.certificate-visual { display: grid; place-items: center; align-content: center; gap: 16px; height: 210px; font-size: 12px; border: 1px dashed var(--line); margin-bottom: 24px; border-radius: 12px; }
.skills-strip { display: grid; grid-template-columns: 1fr 2fr auto; gap: 24px; align-items: center; margin-top: 32px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 15px; }
.skills-strip p { margin: 0; color: var(--muted); }
.skills-strip a { color: var(--blue); font-weight: 800; min-height: 44px; display: flex; align-items: center; gap: 8px; }

/* Activity gallery and permission-based photo gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px var(--gap); }
.gallery-card { display: block; border: 0; background: transparent; color: var(--navy); text-align: left; padding: 0; width: 100%; }
.gallery-picture { display: block; position: relative; aspect-ratio: 4/3; border-radius: var(--radius); background: var(--ice); overflow: hidden; }
.gallery-picture img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.gallery-card:hover .gallery-picture img { transform: scale(1.04); }
.gallery-expand { position: absolute; bottom: 14px; right: 14px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--yellow); color: var(--navy); font-size: 25px; }
.gallery-card strong { display: block; font: 500 25px/1.25 var(--heading); }
#moments-grid .gallery-picture img { object-fit: contain; }
.gallery-page-actions { display: flex; justify-content: center; margin-top: 36px; }
.photos-nav { gap: 12px; }
.photos-home-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--blue);
  font: 600 13px/1.3 var(--button);
  white-space: nowrap;
}
.photos-home-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.photos-heading { max-width: 700px; margin-inline: auto; text-align: center; }
.photos-heading h1 { margin-bottom: 16px; }
.photos-heading > p:last-child { color: var(--muted); }
.photos-page #moments-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.photos-page .gallery-card strong { margin-top: 12px; font-size: clamp(18px, 2vw, 23px); }
.photos-page .gallery-picture { aspect-ratio: 1 / 1; }
@media (max-width: 1023px) {
  .photos-page #moments-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .photos-page #moments-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
  .photos-page .gallery-picture { border-radius: 16px; }
  .photos-page .gallery-expand { width: 30px; height: 30px; bottom: 8px; right: 8px; font-size: 21px; }
}

/* Parent feedback */
.testimonials-section { background: var(--blue); color: var(--white); }
.testimonials-section .eyebrow { color: var(--yellow); }
.testimonials-section h2 { color: var(--white); }
.testimonials-section .section-heading p:not(.eyebrow), .testimonials-section .section-footnote { color: var(--ice); }
.review-overview { display: flex; align-items: center; gap: 24px; max-width: 650px; margin: 0 auto 48px; padding: 24px 32px; border-radius: var(--radius); background: var(--yellow); color: var(--navy); }
.review-overview-score { display: flex; align-items: baseline; gap: 6px; flex-shrink: 0; }
.review-overview-score strong { font: 500 55px/1 var(--heading); }
.review-overview-score > span { font-size: 16px; }
.review-overview small { display: block; font-size: 13px; margin-top: 5px; }
.review-overview > .icon { margin-left: auto; }
.review-category-heading { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.review-category-heading h3 { font-size: 27px; margin-bottom: 6px; }
.review-category-heading p { font-size: 14px; margin: 0; color: var(--ice); }
.review-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.testimonial-card { display: flex; flex-direction: column; border-radius: var(--radius); padding: var(--card-pad); color: var(--navy); background: var(--cream); position: relative; }
.review-source-label { align-self: flex-start; font: 600 10px/1.6 var(--button); letter-spacing: .05em; text-transform: uppercase; padding: 5px 10px; border-radius: 6px; background: var(--ice); color: var(--blue); }
.quote-mark { display: block; color: var(--focus); font: 500 66px/.8 var(--heading); margin-top: 24px; }
.testimonial-card blockquote { font-size: 18px; line-height: 1.7; margin: 12px 0 24px; }
.review-editorial-note { font-size: 12px; color: var(--muted); margin-bottom: 20px; }
.testimonial-person { display: flex; align-items: center; gap: 12px; padding-top: 20px; border-top: 1px solid var(--line); margin-top: auto; }
.parent-avatar { display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0; background: var(--yellow); border-radius: 50%; font: 500 21px/1 var(--heading); }
.testimonial-person strong { display: block; font-size: 14px; }
.testimonial-person small { display: block; font-size: 12px; color: var(--muted); }
.rating { color: var(--focus); letter-spacing: .1em; margin-top: 16px; }
.review-profile-link, .review-source-link { display: inline-block; text-decoration: underline; text-underline-offset: 5px; margin-top: 28px; font-size: 14px; }
.review-screenshot { display: block; border: 1px solid var(--line); background: var(--ice); padding: 12px; margin-top: 24px; border-radius: 12px; color: var(--blue); }
.review-screenshot img { width: 100%; max-height: 200px; object-fit: contain; }
.review-screenshot span { display: block; margin-top: 10px; font-size: 13px; }

/* Contact */
.contact-section { background: var(--navy); color: var(--white); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.contact-copy .eyebrow { color: var(--yellow); }
.contact-copy h2 { color: var(--white); margin-bottom: 24px; font-size: clamp(42px, 5vw, 64px); }
.contact-intro { color: var(--ice); font-size: 19px; }
.contact-booking-message { color: var(--ice); font-size: 16px; margin-block: 24px; }
.contact-booking-actions { display: grid; gap: 12px; }
.contact-booking-actions .btn { justify-content: flex-start; }
.contact-link-note { color: var(--ice); font-size: 12px; margin: 14px 0 32px; }
.contact-details { display: grid; gap: 24px; }
.contact-details > div { display: flex; gap: 14px; align-items: center; font-size: 16px; }
.contact-details .icon { color: var(--yellow); }
.contact-details small { display: block; color: var(--ice); font: 500 10px/1.6 var(--button); letter-spacing: .1em; margin-bottom: 5px; }
.contact-details a { text-underline-offset: 4px; }
.contact-details a:hover { text-decoration: underline; }
.placeholder-inline { font-size: 12px; }
.contact-doodle { display: flex; align-items: center; gap: 24px; margin-top: 36px; }
.contact-doodle > span { font: 400 24px/1.3 var(--heading); }
.contact-doodle svg { width: 120px; fill: none; stroke-width: 10; stroke-linecap: round; }
.form-card { background: var(--white); color: var(--navy); border-radius: var(--radius); padding: var(--card-pad); }
.form-card h3 { margin-bottom: 12px; }
.form-card > p { color: var(--muted); font-size: 15px; margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
.field label { display: block; font-size: 13px; font-weight: 800; margin-bottom: 8px; }
.field label > span:not(.optional) { color: var(--focus); }
.optional { font-size: 12px; font-weight: 500; color: var(--muted); }
.form-control { display: block; width: 100%; min-width: 0; min-height: 50px; font: 16px/1.5 var(--body); background: var(--cream); color: var(--navy); padding: 12px; border: 1px solid var(--line); border-radius: 10px; box-shadow: none; }
.form-control:focus { background: var(--white); color: var(--navy); border-color: var(--blue); box-shadow: 0 0 0 3px var(--ice); }
.form-control::placeholder { color: var(--muted); opacity: 1; }
.field small { display: block; font-size: 12px; line-height: 1.5; color: var(--muted); margin-top: 8px; }
.full-width { grid-column: 1 / -1; }
textarea { resize: vertical; }
.form-privacy, .form-caption { font-size: 12px; line-height: 1.7; color: var(--muted); margin-block: 18px; }
.form-submit { width: 100%; justify-content: space-between; }
.form-caption { margin-bottom: 0; }
.enquiry-result { border-top: 1px solid var(--line); padding-top: 24px; margin-top: 24px; }
.enquiry-result h4 { margin-bottom: 14px; }
.enquiry-result p { font-size: 14px; }
.enquiry-result pre { font: 14px/1.7 var(--body); white-space: pre-wrap; overflow-wrap: anywhere; background: var(--ice); border-radius: 12px; padding: 16px; max-height: 320px; overflow: auto; }
.result-actions { display: flex; gap: 12px; flex-wrap: wrap; }
#copy-status { margin: 16px 0 0; }
#copy-status:empty { margin: 0; }

/* Footer and persistent tools */
.site-footer { padding-block: 48px 28px; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding-bottom: 28px; }
.brand { display: flex; align-items: center; gap: 12px; font: 600 38px/1 var(--heading); color: var(--blue); }
.brand-sun { font-size: 42px; color: var(--focus); }
.brand-dot { color: var(--focus); }
.brand small { display: block; margin-top: 8px; font: 600 8px/1.5 var(--button); letter-spacing: .08em; }
.footer-top p { font: 400 25px/1.4 var(--heading); margin: 0; color: var(--blue); }
.footer-top > a:last-child { font-weight: 800; color: var(--blue); }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; padding-block: 20px; border-top: 1px solid var(--line); }
.footer-links a { font-size: 13px; min-height: 36px; display: inline-flex; align-items: center; gap: 5px; }
.footer-links a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; padding-block: 20px 52px; border-top: 1px solid var(--line); color: var(--muted); }
.footer-bottom small { font-size: 12px; }
.floating-tools { position: fixed; bottom: 18px; right: 18px; z-index: 40; display: flex; gap: 8px; align-items: center; }
.floating-whatsapp { height: 48px; display: flex; align-items: center; gap: 8px; background: var(--green); color: var(--white); padding: 0 16px; border: 2px solid var(--white); border-radius: 30px; box-shadow: var(--shadow); }
.floating-whatsapp:hover { color: var(--white); background: var(--navy); }
.floating-whatsapp span { font: 500 11px/1.5 var(--button); }
.back-to-top { width: 44px; height: 44px; display: grid; place-items: center; background: var(--cream); color: var(--blue); border: 1px solid var(--line); border-radius: 50%; box-shadow: var(--shadow); }

/* Full-size gallery and certificate viewer */
.lightbox { border: 0; padding: 0; border-radius: var(--radius); width: min(900px, calc(100% - 32px)); max-height: 92dvh; overflow: auto; background: var(--cream); color: var(--navy); box-shadow: var(--shadow-hover); }
.lightbox::backdrop { background: #102f50e8; backdrop-filter: blur(5px); }
.lightbox > img { width: 100%; max-height: 68dvh; object-fit: contain; background: var(--white); }
.lightbox-close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--cream); color: var(--navy); font-size: 28px; line-height: 1; }
.lightbox-caption { padding: 24px; }
.lightbox-caption h3 { margin-bottom: 12px; }
.lightbox-caption p { color: var(--muted); font-size: 14px; }
.lightbox-controls { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.lightbox-controls button { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: var(--white); color: var(--blue); }

/* Motion stays subtle and never hides content without an active observer. */
@keyframes arrive { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 50% { translate: 0 -7px; } }
.home-enter, .home-heading-line { animation: arrive .7s var(--ease) both; }
.home-heading-line:nth-child(2) { animation-delay: .1s; }
.home-intro { animation-delay: .15s; }
.home-actions { animation-delay: .2s; }
.home-portrait-scene { animation: arrive .85s var(--ease) both; }
.home-decoration { animation: float 6s ease-in-out infinite; }
.home-cloud { animation-delay: -2s; }
.motion-ready .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.motion-ready .reveal.in-view { opacity: 1; transform: none; }
@media (hover: hover) {
  .service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
}

/* Subgrid aligns variable-length headings and descriptions across each row. */
@supports (grid-template-rows: subgrid) {
  @media (min-width: 1024px) {
    .experience-card { display: grid; grid-template-rows: subgrid; grid-row: span 4; row-gap: 0; }
    .experience-card dl { margin-top: 0; }
    .qualification-card { display: grid; grid-template-rows: subgrid; grid-row: span 7; row-gap: 0; }
    .qualification-card .placeholder-pill { align-self: start; }
  }
  @media (min-width: 768px) {
    .service-card { display: grid; grid-template-rows: subgrid; grid-row: span 4; row-gap: 0; }
  }
}

/* Tablet and compact desktop */
@media (max-width: 1100px) {
  .nav-links { gap: 14px; }
  .nav-links a { font-size: 11px; }
  .personal-brand { font-size: 23px; }
  .home-headline { font-size: clamp(39px, 5.25vw, 60px); }
  .home-intro { font-size: 16px; }
  .experience-grid, .services-grid, .qualification-grid { gap: 20px; }
  .experience-card, .service-card { padding: 24px; }
  .qualification-card { padding: 20px; }
  .qualification-card h3 { font-size: 23px; }
}
@media (max-width: 1023px) {
  .nav-shell { min-height: 76px; }
  .menu-toggle { display: flex; flex-direction: column; gap: 4px; justify-content: center; align-items: center; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: calc(100% - 2px); padding: 16px; background: var(--cream); border: 1px solid var(--line); border-radius: 0 0 20px 20px; box-shadow: var(--shadow-hover); max-height: calc(100dvh - 90px); overflow: auto; }
  .nav-links.is-open { display: grid; gap: 4px; }
  .nav-links a { font-size: 14px; padding: 10px 14px; }
  .nav-links a:not(.nav-book)::after { left: 14px; width: 26px; bottom: 5px; }
  .nav-links .nav-book { margin-top: 8px; justify-content: center; }
  .home-portrait-scene { padding: 26px 14px 40px; }
  .home-name-card { padding: 12px; gap: 8px; }
  .home-name-card strong { font-size: 23px; }
  .home-name-card small { font-size: 11px; }
  .home-name-card > .icon { display: none; }
  .home-availability { padding: 10px 12px; font-size: 10px; }
  .home-availability small { font-size: 11px; }
  .home-handwritten { font-size: 16px; }
  .home-bottom { font-size: 9px; }
  .ribbon-inner { font-size: 12px; }
  .ribbon-inner i { display: none; }
  .experience-grid { grid-template-columns: 1fr; }
  .experience-card { display: grid; grid-template-columns: 64px 1fr 1.2fr; gap: 0 24px; border-top: 0; border-left: 5px solid var(--blue); }
  .experience-card:nth-child(2) { border-left-color: var(--orange); }
  .experience-card:nth-child(3) { border-left-color: var(--teal); }
  .card-topline { grid-row: 1 / 3; flex-direction: column; justify-content: flex-start; gap: 24px; margin: 0; }
  .experience-card dl { grid-column: 3; grid-row: 1 / 3; border-top: 0; border-left: 1px solid var(--line); padding: 0 0 0 24px; margin: 0; }
  .experience-card dt:first-child { margin-top: 0; }
  .experience-card > p { margin-bottom: 0; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qualification-grid { grid-template-columns: 1fr; }
  .qualification-card { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 0 28px; padding: 28px; }
  .qualification-card .certificate-preview, .qualification-card .certificate-visual { grid-column: 1; grid-row: 1 / 8; align-self: center; margin: 0; }
  .qualification-card > :not(.certificate-preview):not(.certificate-visual) { grid-column: 2; }
  .qualification-card h3 { font-size: 27px; }
  .skills-strip { grid-template-columns: 1fr 2fr; }
  .skills-strip a { grid-column: 2; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-details { grid-template-columns: 1fr 1fr; }
  .contact-booking-actions { grid-template-columns: 1fr 1fr; }
  .contact-copy { max-width: 100%; }
  .form-card { padding: 36px; }
  .footer-top { flex-wrap: wrap; }
}

/* Mobile */
@media (max-width: 767px) {
  body { font-size: 16px; }
  html { scroll-padding-top: 82px; }
  .nav-shell { min-height: 72px; }
  .personal-brand { font-size: 23px; }
  .personal-brand-caption { font-size: 8px; }
  .personal-brand-mark { width: 38px; height: 38px; }
  .home-hero-grid { grid-template-columns: 1fr; gap: 38px; padding-block: 32px 30px; }
  .home-headline { font-size: clamp(39px, 8.7vw, 65px); margin-bottom: 24px; }
  .home-eyebrow { font-size: 10px; letter-spacing: .06em; }
  .home-intro { max-width: 550px; }
  .home-location { font-size: 12px; margin-bottom: 24px; }
  .home-portrait-scene { max-width: 380px; width: 94%; }
  .home-name-card { padding: 16px; }
  .home-name-card strong { font-size: 26px; }
  .home-name-card small { font-size: 12px; }
  .home-availability { font-size: 11px; top: 7%; }
  .home-bottom { flex-wrap: wrap; gap: 12px; font-size: 9px; padding-block: 20px; }
  .home-booking-note { margin-top: 22px; }
  .ribbon-inner { display: grid; grid-template-columns: 1fr; gap: 14px; font-size: 14px; }
  .ribbon-inner > span { justify-content: flex-start; }
  .about-grid, .split-heading, .kiddocare-layout { grid-template-columns: 1fr; gap: 32px; }
  .about-grid { gap: 42px; }
  .about-visual { max-width: 370px; }
  .about-copy .lead-text { font-size: 20px; }
  .section-heading { margin-bottom: 30px; }
  .split-heading { gap: 22px; }
  .section-heading p:not(.eyebrow) { font-size: 16px; }
  .section-notice { padding: 14px 16px; font-size: 13px; }
  .experience-card { display: flex; padding: 24px; }
  .card-topline { flex-direction: row; justify-content: space-between; margin-bottom: 24px; }
  .experience-card > p { margin-bottom: 18px; }
  .experience-card dl { border-left: 0; border-top: 1px solid var(--line); padding: 20px 0 0; }
  .experience-card h3 { font-size: 28px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card h3 { font-size: 28px; }
  .service-card .card-icon { margin-bottom: 24px; }
  .booking-options { grid-template-columns: 1fr; }
  .booking-card { padding: 26px; }
  .booking-card h3 { font-size: 32px; }
  .booking-card-top { gap: 12px; }
  .booking-option-label { font-size: 10px; }
  .kiddocare-profile-card { grid-template-columns: 1fr; gap: 16px; box-shadow: 6px 6px 0 var(--ice); }
  .kiddocare-profile-header { gap: 10px; }
  .platform-wordmark { font-size: 26px; }
  .profile-spark { font-size: 24px; }
  .kiddocare-stats > div { padding: 16px; }
  .profile-id-box { padding: 18px; }
  .qualification-card { display: block; padding: 24px; }
  .qualification-card .certificate-preview { margin-bottom: 24px; }
  .certificate-image { height: 240px; }
  .qualification-card h3 { font-size: 27px; }
  .skills-strip { grid-template-columns: 1fr; gap: 14px; }
  .skills-strip a { grid-column: auto; }
  .gallery-grid { grid-template-columns: 1fr; gap: 32px; }
  .gallery-card strong { font-size: 25px; }
  .review-list { grid-template-columns: 1fr; }
  .review-overview { padding: 22px; gap: 18px; margin-bottom: 32px; }
  .review-overview-score strong { font-size: 42px; }
  .review-overview small { font-size: 12px; }
  .review-overview > .icon { display: none; }
  .review-overview > span:nth-child(2) > strong { font-size: 14px; line-height: 1.5; display: block; }
  .review-category-heading h3 { font-size: 25px; }
  .testimonial-card blockquote { font-size: 17px; }
  .contact-booking-actions, .contact-details { grid-template-columns: 1fr; }
  .form-card { padding: 24px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-submit { font-size: 12px; gap: 8px; padding-inline: 16px; }
  .contact-doodle { gap: 18px; }
  .contact-doodle > span { font-size: 22px; }
  .contact-doodle svg { width: 85px; }
  .footer-top { align-items: flex-start; flex-direction: column; gap: 22px; }
  .footer-links { display: grid; grid-template-columns: 1fr; gap: 4px; }
  .footer-bottom { flex-direction: column; padding-bottom: 52px; }
  .floating-tools { right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); }
  .floating-whatsapp { width: 46px; height: 46px; padding: 0; justify-content: center; }
  .floating-whatsapp span { display: none; }
  .back-to-top { width: 42px; height: 42px; }
  .lightbox-caption { padding: 20px; }
}
@media (max-width: 374px) {
  .home-eyebrow { font-size: 9px; }
  .home-headline { font-size: 38px; }
  .home-actions { gap: 10px; }
  .home-button { font-size: 12px; padding-inline: 16px; }
  .home-button-primary { gap: 12px; padding: 8px 8px 8px 16px; }
  .home-booking-note p { font-size: 11px; }
  .home-name-card { gap: 8px; padding: 12px; }
  .home-name-card strong { font-size: 23px; }
  .home-name-card small { font-size: 10px; }
  .kiddocare-profile-card { padding: 20px; }
  .kiddocare-profile-header .card-icon { width: 44px; height: 44px; }
  .profile-spark { display: none; }
  .profile-id-box { padding: 14px; }
  .kiddocare-stats { gap: 10px; }
  .kiddocare-stats > div { padding: 12px; }
  .review-overview { padding: 20px; gap: 14px; }
}
/* ---- Activities list (text only, sits above the photo gallery) ---- */
.activity-list { list-style: none; margin: 0 0 56px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); }
.activity-card { position: relative; overflow: hidden; padding: 26px 28px 26px 34px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.activity-card::before { content: ''; position: absolute; inset: 0 auto 0 0; width: 7px; background: var(--accent, var(--yellow)); }
.activity-card:nth-child(6n+2) { --accent: var(--orange); }
.activity-card:nth-child(6n+3) { --accent: var(--sky); }
.activity-card:nth-child(6n+4) { --accent: var(--teal); }
.activity-card:nth-child(6n+5) { --accent: var(--blue); }
.activity-card:nth-child(6n) { --accent: var(--yellow); }
.activity-card h3 { margin: 0 0 10px; font: 500 24px/1.25 var(--heading); }
.activity-card p { margin: 0; color: var(--muted); font-size: 16px; }
.gallery-eyebrow { text-align: center; margin: 0 0 28px; }
@media (hover: hover) { .activity-card:hover { transform: translateY(-4px) rotate(-.6deg); box-shadow: var(--shadow-hover); } }
@media (max-width: 1023px) { .activity-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) { .activity-list { grid-template-columns: 1fr; margin-bottom: 44px; } }

/* ---- Scroll effects (scroll-fx.js adds .fx-ready; reduced-motion visitors never get it) ---- */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 4px; z-index: 60; transform: scaleX(var(--p, 0)); transform-origin: 0 50%; background: linear-gradient(90deg, var(--orange), var(--yellow), var(--sky)); pointer-events: none; }
.fx-ready .fx-pop { opacity: 0; transform: translateY(46px) scale(.9) rotate(var(--tilt, -2deg)); transition: opacity .6s var(--ease), transform .8s cubic-bezier(.34, 1.56, .64, 1); }
.fx-ready .fx-pop.fx-in { opacity: 1; transform: none; }
/* Moving decorations and slide-in cards must never create a sideways scrollbar. */
main { overflow-x: clip; }
@media (min-width: 1024px) {
  .motion-ready .reveal.reveal-left:not(.in-view) { transform: translateX(-28px) rotate(-1.5deg); }
  .motion-ready .reveal.reveal-right:not(.in-view) { transform: translateX(28px); }
}
/* Hero decorations drift and spin as you scroll. Each uses --fx-y / --fx-r set by scroll-fx.js. */
.home-star { transform: translate3d(0, calc(var(--fx-y, 0px) * -.25), 0) rotate(calc(var(--fx-r, 0deg) * 2)); }
.home-plane { transform: translate3d(calc(var(--fx-y, 0px) * .2), calc(var(--fx-y, 0px) * -.35), 0) rotate(6deg); }
.home-cloud { transform: translate3d(calc(var(--fx-y, 0px) * .12), calc(var(--fx-y, 0px) * -.15), 0); }
.home-colour-disc { transform: translate3d(0, calc(var(--fx-y, 0px) * .15), 0); }
.home-orbit { transform: rotate(calc(-12deg + var(--fx-r, 0deg))); }
.home-mini-star { transform: rotate(calc(var(--fx-r, 0deg) * 3)); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .motion-ready .reveal { opacity: 1; transform: none; }
}
@media print {
  .site-header, .floating-tools, .home-actions, .home-bottom, .scroll-progress { display: none; }
  .fx-ready .fx-pop { opacity: 1; transform: none; }
  .section { padding-block: 30px; }
  .motion-ready .reveal { opacity: 1; transform: none; }
  .testimonial-card, .service-card, .qualification-card { break-inside: avoid; }
}
