/* Our team (/our-team/), from the motion redesign concept (ENV-61). Loaded on this page only (front matter pageStyle),
   after styles.css, whose tokens, type, buttons, wave lines, highlighter band and call-to-action band it uses.
   Motion lives in js/team.js. GSAP animates transform and opacity, so nothing here puts a CSS transition on those, and
   anything positioned with a CSS translate (the map pins, the care team diagram) is animated through an inner element. */

/* ---------- Hero: Caroline in an arch, with her name card, the NDIS badge and three floating chips ---------- */
.team-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--sky); padding-top: 136px; }
.team-hero .hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 48px; align-items: center; padding-bottom: 110px; }
.team-hero .hero-eyebrow { margin: 0; }
.team-hero h1 { margin: 26px 0 0; font-family: var(--fd); font-weight: 300; font-size: clamp(3rem, 5.3vw, 5.25rem); line-height: 1.02; letter-spacing: -.02em; color: var(--navy); }
.hero-lead { margin: 26px 0 0; max-width: 34rem; font-size: clamp(1.1875rem, 1.6vw, 1.375rem); line-height: 1.55; color: var(--navy); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.team-visual { position: relative; min-height: 600px; }
.arch { position: absolute; right: 40px; top: 0; width: 440px; height: 560px; overflow: hidden; border-radius: 240px 240px 36px 36px; border: 8px solid rgba(255,255,255,.75); background: #fff; box-shadow: 0 40px 80px rgba(11,42,74,.28); }
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
.badge-ring { position: absolute; right: 0; top: 20px; z-index: 4; display: grid; place-items: center; width: 132px; height: 132px; border-radius: 50%; background: var(--navy); color: var(--sky); box-shadow: 0 16px 40px rgba(11,42,74,.3); }
.badge-ring .ring-text { position: absolute; inset: 0; width: 100%; height: 100%; }
.badge-ring text { fill: #fff; font-family: var(--fb); font-size: 10.5px; font-weight: 600; letter-spacing: .16em; }
.badge-ring > .icon { width: 2.1rem; height: 2.1rem; }
.name-card { position: absolute; left: 0; bottom: 30px; z-index: 5; display: flex; align-items: center; gap: 14px; max-width: 340px; padding: 16px 20px 16px 16px; border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
.name-card p { margin: 0; }
.name-card strong { display: block; font-size: 1.125rem; color: var(--navy); }
.name-card p span { display: block; font-size: 1rem; line-height: 1.35; color: var(--muted); }
.nc-ico { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--tint); color: var(--blue); }
.nc-ico .icon { width: 1.4rem; height: 1.4rem; }
.float-chip { position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: rgba(255,255,255,.9); color: var(--navy); font-size: .9375rem; font-weight: 600; box-shadow: var(--shadow-sm); }
.float-chip .icon { width: 1.15rem; height: 1.15rem; color: var(--blue); }
.fc-1 { left: 30px; top: 70px; }
.fc-2 { left: 0; top: 250px; }
.fc-3 { right: 0; top: 380px; }

/* ---------- Meet Caroline: her photo with the "6+ years" sticker, her story, and what shaped her approach ---------- */
.meet-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: center; }
.meet-media { position: relative; }
/* The photo is a little taller than its frame, so it can drift as the page scrolls without showing an edge */
.meet-photo { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: 36px; box-shadow: var(--shadow); }
.meet-photo img { position: absolute; left: 0; top: -6%; width: 100%; height: 112%; max-width: none; object-fit: cover; object-position: 70% 30%; }
.meet-sticker { position: absolute; right: -28px; bottom: 40px; width: 190px; margin: 0; padding: 22px; border-radius: 28px; background: var(--navy); color: #fff; box-shadow: 0 24px 50px rgba(11,42,74,.3); }
.ms-num { display: block; font-family: var(--fd); font-weight: 300; font-size: 3.5rem; line-height: 1; color: var(--sky); }
.meet-sticker > span:last-child { display: block; margin-top: 8px; font-size: .9375rem; line-height: 1.4; color: #E3EEF7; }
.meet-role { margin: -6px 0 4px; font-size: 1.125rem; font-weight: 600; color: var(--eyebrow); }
.cred-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 0; padding: 0; list-style: none; }
.cred-chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--tint); color: var(--navy); font-size: 1rem; font-weight: 600; }
.cred-chips .icon { width: 1.1rem; height: 1.1rem; color: var(--blue); }
.shaped { margin-top: 96px; }
.shaped-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 20px; }
.shape-card { position: relative; overflow: hidden; padding: 28px; border-radius: 28px; background: var(--mist); border: 1px solid var(--line); }
.shape-card::after { content: ''; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, rgba(91,184,240,.25), transparent 70%); pointer-events: none; }
.shape-ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--navy); color: var(--sky); }
.shape-ico .icon { width: 1.4rem; height: 1.4rem; }
.shape-card h3 { margin: 18px 0 8px; font-family: var(--fd); font-weight: 300; font-size: 1.625rem; line-height: 1.15; color: var(--navy); }
.shape-card p { margin: 0; line-height: 1.55; color: var(--body); }

/* ---------- A message from our director: the video in a tall frame, on deep navy with soft drifting light ---------- */
.director { background: var(--navy-deep); color: #fff; overflow: hidden; isolation: isolate; }
.blob { position: absolute; z-index: -1; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.blob.b1 { width: 560px; height: 560px; left: -140px; top: -120px; background: rgba(27,120,194,.45); }
.blob.b2 { width: 480px; height: 480px; right: -120px; bottom: -160px; background: rgba(91,184,240,.28); }
.blob.b3 { width: 360px; height: 360px; left: 40%; top: 30%; background: rgba(22,57,94,.9); }
.director-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: center; }
.dir-media { position: relative; }
.dir-frame { position: relative; width: 100%; max-width: 400px; aspect-ratio: 608 / 1080; margin: 0 auto; overflow: hidden; border-radius: 34px; background: #000; border: 1px solid rgba(255,255,255,.12); box-shadow: 0 40px 90px rgba(0,0,0,.45); }
.dir-frame video { width: 100%; height: 100%; object-fit: cover; }
/* The buttons sit at the top so they never cover the burned-in captions */
.dir-controls { position: absolute; left: 14px; right: 14px; top: 14px; display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.dir-sound { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px 0 14px; border: 0; border-radius: 999px; background: rgba(255,255,255,.92); color: var(--navy); font-family: inherit; font-size: 1rem; font-weight: 600; cursor: pointer; }
.dir-sound > span { display: inline-flex; }
.dir-sound .icon { width: 1.2rem; height: 1.2rem; color: var(--blue); }
.dir-frame[data-sound="off"] .when-on, .dir-frame[data-sound="on"] .when-off { display: none; }
.vid-btn { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgba(7,29,52,.6); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); color: #fff; cursor: pointer; }
.vid-btn > span { display: inline-flex; }
.vid-btn .icon { width: 1.2rem; height: 1.2rem; }
.vid-btn[data-playing="false"] .when-playing, .vid-btn[data-playing="true"] .when-paused { display: none; }
.dir-ring { position: absolute; right: calc(50% - 250px); top: 90px; display: grid; place-items: center; width: 120px; height: 120px; margin: 0; border-radius: 50%; background: var(--sky); color: var(--navy); text-align: center; font-family: var(--fd); font-size: 1.05rem; line-height: 1.1; box-shadow: 0 16px 40px rgba(0,0,0,.3); }
.director .dir-title { margin-top: 18px; font-size: clamp(2.75rem, 5.2vw, 4.75rem); }
.dir-quote { margin: 30px 0 0; max-width: 36rem; font-family: var(--fd); font-weight: 300; font-style: italic; font-size: clamp(1.375rem, 2vw, 1.75rem); line-height: 1.4; color: #E3EEF7; }
.dir-quote .icon { display: block; width: 2.6rem; height: 2.6rem; margin-bottom: 10px; color: var(--sky); }
.sig { display: flex; align-items: center; gap: 16px; margin-top: 34px; }
.sig img { flex: none; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 22%; border: 3px solid rgba(255,255,255,.85); }
.sig p { margin: 0; }
.sig strong { display: block; font-size: 1.125rem; color: #fff; }
.sig p span { font-size: 1rem; color: #CFE3F3; }
.sig-line { display: block; width: 220px; max-width: 100%; height: 26px; margin-top: 2px; overflow: visible; }
.sig-line path { fill: none; stroke: var(--sky); stroke-width: 2.4; stroke-linecap: round; }
.dir-links { display: flex; flex-wrap: wrap; gap: 14px 28px; margin-top: 34px; }

/* ---------- Where you'll find her: the places as a numbered list, and on a close crop of the South East map ---------- */
.where-find { background: var(--mist); }
.find-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: center; }
.find-list { display: flex; flex-direction: column; gap: 10px; margin: 14px 0 0; padding: 0; list-style: none; }
.find-list li { display: flex; align-items: flex-start; gap: 14px; padding: 14px 16px; border-radius: 20px; background: #fff; border: 1.5px solid var(--line); transition: border-color .3s, box-shadow .3s; }
.find-list li.is-on { border-color: var(--sky); box-shadow: 0 12px 28px rgba(27,120,194,.14); }
.find-list p { margin: 0; font-size: 1rem; color: var(--body); }
.find-list strong { display: block; font-size: 1.0625rem; color: var(--navy); }
.fl-ico { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--sky); color: var(--navy); font-size: 1.0625rem; font-weight: 700; }
.fl-home .fl-ico { background: var(--tint); color: var(--blue); }
.fl-home .fl-ico .icon { width: 1.25rem; height: 1.25rem; }
/* The map picture is the homepage's; the card shows the part around Noble Park, Dandenong, Cranbourne and Frankston */
.map-card { position: relative; overflow: hidden; aspect-ratio: 700 / 330; border-radius: 36px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.map-inner { position: relative; aspect-ratio: 2400 / 1000; width: 238%; margin-left: -23.8%; margin-top: -35.4%; }
.map-inner picture { display: block; height: 100%; }
.map-inner img { width: 100%; height: 100%; object-fit: cover; }
.map-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.map-svg-phone { display: none; }
.map-route-base { fill: none; stroke: rgba(11,42,74,.16); stroke-width: 5; stroke-dasharray: 2 12; stroke-linecap: round; }
.map-route { fill: none; stroke: var(--blue); stroke-width: 6; stroke-linecap: round; stroke-linejoin: round; }
.map-pins { position: absolute; inset: 0; }
/* Each pin's dot sits on its spot: label above it (default), below it (.pin-down) or to its right (.pin-right) */
.pin { position: absolute; left: var(--x); top: var(--y); z-index: 3; display: flex; flex-direction: column; align-items: center; transform: translate(-50%, -100%); }
.pin-down { flex-direction: column-reverse; transform: translate(-50%, 0); }
.pin-right { flex-direction: row-reverse; transform: translate(-7px, -50%); }
.pin-label { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: var(--navy); color: #fff; font-size: .8125rem; font-weight: 600; white-space: nowrap; box-shadow: var(--shadow-sm); }
.pin-num { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--sky); color: var(--navy); font-size: .75rem; font-weight: 700; }
.pin-stem { width: 2px; height: 14px; background: var(--navy); }
.pin-right .pin-stem { width: 12px; height: 2px; }
.pin-dot { width: 14px; height: 14px; margin-bottom: -7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 3px #fff; }
.pin-down .pin-dot { margin: -7px 0 0; }
.pin-right .pin-dot { margin: 0; }
.map-car { position: absolute; left: 0; top: 0; z-index: 4; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; box-shadow: 0 0 0 5px rgba(255,255,255,.9), 0 10px 20px rgba(11,42,74,.35); opacity: 0; }
.map-car .icon { width: 1.2rem; height: 1.2rem; }
.map-credit { margin: 12px 0 0; font-size: .8125rem; color: var(--muted); }
.map-credit a { color: var(--muted); }

/* ---------- Part of your care team: Caroline at the centre, joined to each person, then three promises ---------- */
.care { overflow: hidden; }
.orbit { position: relative; max-width: 1000px; margin: 40px auto 0; aspect-ratio: 1000 / 520; }
.orbit-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit-ring { fill: none; stroke: rgba(91,184,240,.55); stroke-width: 2; stroke-dasharray: 3 10; }
.spoke { fill: none; stroke: var(--sky); stroke-width: 2.5; stroke-linecap: round; }
.o-pulse { fill: var(--blue); opacity: 0; }
.o-center { position: absolute; left: 50%; top: 50%; z-index: 2; transform: translate(-50%, -50%); }
.o-center-in { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.o-center img { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; object-position: 50% 20%; border: 6px solid #fff; box-shadow: 0 20px 50px rgba(11,42,74,.25); }
.o-center span { padding: 6px 14px; border-radius: 999px; background: var(--navy); color: #fff; font-size: .9375rem; font-weight: 600; }
.o-node { position: absolute; z-index: 2; transform: translate(-50%, -50%); }
.o-pill { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); color: var(--navy); font-size: 1rem; font-weight: 600; white-space: nowrap; box-shadow: var(--shadow-sm); }
.o-pill .icon { width: 1.2rem; height: 1.2rem; color: var(--blue); }
.care-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.care-card { padding: 22px 20px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.care-top { display: flex; align-items: center; justify-content: space-between; }
.care-num { font-family: var(--fd); font-weight: 300; font-size: 2rem; line-height: 1; color: var(--blue); }
.care-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--tint); color: var(--blue); }
.care-ico .icon { width: 1.3rem; height: 1.3rem; }
.care-card h3 { margin: 16px 0 6px; font-size: 1.1875rem; font-weight: 700; color: var(--navy); }
.care-card p { margin: 0; font-size: 1rem; line-height: 1.5; color: var(--body); }

/* ---------- A client's words: one review, large ---------- */
.quote-sec { background: var(--tint); overflow: hidden; }
.big-quote { position: relative; max-width: 980px; margin: 0 auto; text-align: center; }
.bq-mark { display: block; font-family: var(--fd); font-size: 9rem; line-height: .7; color: var(--sky); }
.big-quote blockquote { margin: 10px 0 0; }
.bq-text { margin: 0; font-family: var(--fd); font-weight: 300; font-size: clamp(1.75rem, 3vw, 2.625rem); line-height: 1.3; letter-spacing: -.01em; color: var(--navy); }
.big-quote figcaption { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 18px; margin-top: 28px; font-size: 1rem; color: var(--muted); }
.big-quote .stars { display: inline-flex; gap: 2px; color: var(--blue); }
.big-quote .stars .icon { width: 18px; height: 18px; fill: currentColor; }

/* ---------- Narrower screens ---------- */
@media (max-width: 1100px) {
  .team-hero .hero-grid, .meet-grid, .director-grid, .find-grid { grid-template-columns: 1fr; }
  .team-visual { width: 100%; max-width: 620px; min-height: 560px; margin: 0 auto; }
  .arch { right: auto; left: 50%; transform: translateX(-50%); }
  .meet-media { width: 100%; max-width: 520px; margin: 0 auto; }
  .meet-sticker { right: 12px; }
  .shaped-grid, .care-cards { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .team-hero { padding-top: 120px; }
  .team-visual { min-height: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
  .arch { position: relative; left: 0; transform: none; width: min(100%, 340px); height: 430px; }
  .badge-ring { width: 100px; height: 100px; }
  .badge-ring text { font-size: 9.5px; }
  .name-card { position: relative; bottom: 0; }
  .float-chip { display: none; }
  .meet-sticker { bottom: 24px; }
  .dir-ring { display: none; }
  /* The care team diagram becomes a simple stack: Caroline, then each person */
  .orbit { aspect-ratio: auto; display: flex; flex-direction: column; align-items: center; gap: 10px; }
  .orbit-svg { display: none; }
  .o-center, .o-node { position: static; transform: none; }
}
/* Phones get the phone map picture, zoomed in on the four places, with just the numbers on the pins */
@media (max-width: 640px) {
  .map-card { aspect-ratio: 5 / 4; border-radius: 28px; }
  .map-inner { aspect-ratio: 1200 / 1000; width: 200%; margin-left: -6%; margin-top: -57%; }
  .map-svg-desktop { display: none; }
  .map-svg-phone { display: block; }
  .pin { left: var(--px); top: var(--py); }
  .pin-text { display: none; }
}

/* Reduced motion: the list's highlight just switches */
@media (prefers-reduced-motion: reduce) {
  .find-list li { transition: none; }
}
