/* Sydney Hills ENT Clinic. Type: Hanken Grotesk, light for headings, to sit with the thin clean lettering of the logo. */
:root {
/* Palette from hillsent.com.au: blue #385184, navy #182d46, coral #f96257 (hover #e04e31), slate #5e687b, tint #f0f3f8 */
  --navy-950: #12233a;
  --navy-900: #182d46;
  --blue-800: #2c4270;
  --blue-700: #385184;
  --blue-600: #385184;
  --blue-500: #5a73a5;
  --blue-300: #a9b6d1;
  --blue-100: #dfe5f0;
  --mist: #f0f3f8;
  --paper: #f7f9fc;
  --white: #ffffff;
  --ink: #182d46;
  --body: #5e687b;
  --mute: #6d7688;
  --line: #dbe1ec;
  --sun: #f96257;
  --sun-deep: #e04e31;
  --on-dark: rgba(255, 255, 255, .8);

  --display: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;
  --text: "Hanken Grotesk", "Helvetica Neue", Arial, sans-serif;

  --gut: clamp(20px, 4.4vw, 64px);
  --max: 1440px;
  --sec: clamp(56px, 6.4vw, 104px);
  --hd: 88px;
  --r-s: 12px;
  --r-m: 20px;
  --r-l: 28px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; font-variant-numeric: lining-nums !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hd) + 16px); }
body { margin: 0; background: var(--white); color: var(--body); font: 400 16.5px/1.6 var(--text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-variant-numeric: lining-nums; }
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
:focus-visible { outline: 2px solid var(--sun-deep); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--blue-700); color: #fff; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.sec { padding-block: var(--sec); }
.skip { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--sun); color: #fff; padding: 10px 16px; border-radius: 99px; font-weight: 600; }
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
.kick { font: 600 13.5px/1.2 var(--text); letter-spacing: .09em; text-transform: uppercase; color: var(--blue-500); margin-bottom: 18px; }
.kick--sun { color: var(--on-dark); }
.h2 { font: 300 clamp(30px, 3.4vw, 54px)/1.08 var(--display); letter-spacing: -.03em; color: var(--ink); text-wrap: balance; }
.h3 { font: 400 clamp(22px, 1.8vw, 27px)/1.2 var(--display); letter-spacing: -.02em; color: var(--ink); }
.h4 { font: 600 17px/1.3 var(--text); color: var(--ink); }
.lede { font-size: clamp(17px, 1.3vw, 19.5px); line-height: 1.55; color: var(--body); max-width: 46ch; }
.ilink { color: var(--blue-600); text-decoration: underline; text-decoration-color: var(--blue-300); text-underline-offset: 4px; transition: text-decoration-color .2s; }
.ilink:hover { text-decoration-color: currentColor; }

/* ---------- Buttons and links ---------- */
.arw { width: 18px; height: 18px; flex: none; transition: transform .35s var(--ease); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: 99px; font: 600 16px/1 var(--text); white-space: nowrap; transition: background-color .25s, color .25s, border-color .25s, transform .15s; }
.btn:active { transform: scale(.98); }
.btn:hover .arw, .tlink:hover .arw, .big:hover .arw, .find__who:hover .arw, .mega__head:hover .arw { transform: translateX(4px); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn--sun { background: var(--sun); color: #fff; }
.btn--sun:hover { background: var(--sun-deep); }
.btn--ghost { border: 1px solid rgba(255, 255, 255, .42); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .7); }
.btn--navy { background: var(--blue-700); color: #fff; }
.btn--navy:hover { background: var(--navy-900); }
.btn--white { background: #fff; color: var(--navy-900); }
.btn--white:hover { background: var(--blue-100); }
.tlink { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 16px; color: var(--blue-600); padding-block: 6px; }
.tlink--light { color: #fff; }

/* ---------- Header ---------- */
.hd { position: fixed; inset: 0 0 auto; z-index: 100; color: #fff; transition: background-color .35s, box-shadow .35s, transform .45s var(--ease); }
.hd.is-hidden { transform: translateY(-100%); box-shadow: none; }
.hd__row { display: flex; align-items: center; gap: 32px; height: var(--hd); transition: height .35s var(--ease); }
.hd.is-solid, .hd.is-open { background: var(--blue-700); box-shadow: 0 1px 0 rgba(255, 255, 255, .1), 0 12px 32px -18px rgba(12, 24, 40, .55); }
.hd.is-solid .hd__row { height: 72px; }
.hd__logo { flex: none; }
.hd__logo img { width: 138px; transition: width .35s var(--ease); }
.hd.is-solid .hd__logo img { width: 112px; }
.hd__nav { display: flex; align-items: center; gap: clamp(4px, .9vw, 14px); margin-left: auto; }
.hd__link { white-space: nowrap; position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 10px 12px; font-weight: 500; font-size: 16px; border-radius: 99px; color: rgba(255, 255, 255, .88); transition: color .2s, background-color .2s; }
.hd__link:hover, .hd__link[aria-expanded="true"] { color: #fff; background: rgba(255, 255, 255, .1); }
.hd__link.is-active { color: #fff; }
.hd__link.is-active::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--sun); }
.hd__link[data-panel].is-active::after { right: 30px; }
.chev { width: 12px; height: 12px; transition: transform .3s var(--ease); }
.hd__link[aria-expanded="true"] .chev { transform: rotate(180deg); }
.hd__act { display: flex; align-items: center; gap: 20px; margin-left: clamp(4px, 1vw, 16px); }
.hd__tel { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 16px; white-space: nowrap; }
.hd__tel .ico { width: 18px; height: 18px; color: #fff; }
.hd__burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); position: relative; }
.hd__burger i { position: absolute; left: 13px; right: 13px; height: 1.5px; background: #fff; transition: transform .35s var(--ease), top .35s var(--ease); }
.hd__burger i:first-child { top: 17px; }
.hd__burger i:last-child { top: 25px; }

.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); color: var(--body); box-shadow: 0 32px 48px -28px rgba(12, 24, 40, .4); opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .35s var(--ease); }
.mega.is-open { opacity: 1; transform: none; }
.mega__grid { display: grid; gap: 32px clamp(24px, 3vw, 48px); padding-block: 40px; }
.mega__grid--4 { grid-template-columns: repeat(4, 1fr); }
.mega__grid--kids { grid-template-columns: 1.2fr 1fr 1fr; }
.mega__head { display: inline-flex; align-items: center; gap: 8px; font: 400 21.5px/1.2 var(--display); color: var(--ink); margin-bottom: 14px; }
.mega__head--plain { font: 600 13.5px/1.2 var(--text); letter-spacing: .09em; text-transform: uppercase; color: var(--blue-500); margin-bottom: 16px; }
.mega__head .arw { color: var(--blue-500); }
.mega__col li a { display: block; padding: 6px 0; font-size: 16px; line-height: 1.35; color: var(--body); transition: color .2s; }
.mega__col li a:hover { color: var(--blue-600); }
.mega__lede { font: 300 23.5px/1.25 var(--display); color: var(--ink); max-width: 22ch; margin-bottom: 24px; }
.mega__foot { background: var(--mist); }
.mega__footrow { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 14px; font-size: 16px; }

.drawer { position: fixed; inset: 0; z-index: 150; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(12, 24, 40, .5); opacity: 0; transition: opacity .4s var(--ease); }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(420px, 88vw); display: flex; flex-direction: column; background: var(--blue-700); color: #fff; box-shadow: -24px 0 48px -24px rgba(12, 24, 40, .6); transform: translateX(100%); transition: transform .5s var(--ease); overflow-y: auto; overscroll-behavior: contain; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; padding: 10px 20px 10px 24px; border-bottom: 1px solid rgba(255, 255, 255, .12); position: sticky; top: 0; background: var(--blue-700); z-index: 1; }
.drawer__logo img { width: 112px; }
.drawer__x { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); transition: background-color .2s; }
.drawer__x:hover { background: rgba(255, 255, 255, .1); }
.drawer__x svg { width: 18px; height: 18px; }
.drawer__nav { padding: 8px 24px; }
.drawer__link { display: block; flex: 1; padding: 14px 0; font: 300 24px/1.2 var(--display); letter-spacing: -.02em; color: rgba(255, 255, 255, .86); }
.drawer__nav > .drawer__link, .drawer__grp { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.drawer__link[aria-current] { color: #fff; font-weight: 400; }
.drawer__link[aria-current]::after { content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 0 4px 10px; border-radius: 50%; background: var(--sun); vertical-align: middle; }
.drawer__row { display: flex; align-items: center; gap: 12px; }
.drawer__more { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); }
.drawer__more svg { width: 14px; height: 14px; transition: transform .35s var(--ease); }
.drawer__more[aria-expanded="true"] svg { transform: rotate(180deg); }
.drawer__sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.drawer__sub > div { overflow: hidden; }
.drawer__sub.is-open { grid-template-rows: 1fr; }
.drawer__sub ul { padding: 0 0 14px; display: grid; gap: 2px; }
.drawer__sub a { display: block; padding: 8px 0 8px 14px; border-left: 1px solid rgba(255, 255, 255, .18); font-size: 16px; line-height: 1.35; color: rgba(255, 255, 255, .74); }
.drawer__sub a:hover { color: #fff; border-left-color: var(--sun); }
.drawer__foot { margin-top: auto; display: grid; gap: 12px; padding: 28px 24px 32px; }
.drawer__foot .btn { width: 100%; }
.drawer__foot .btn .ico { width: 18px; height: 18px; }
.drawer__foot p { font-size: 15px; color: rgba(255, 255, 255, .72); text-align: center; }
.drawer__foot .ft__soc { margin: 4px 0 0; justify-content: center; }

/* ---------- Hero (home) ---------- */
.hero { position: relative; display: flex; align-items: center; min-height: 100vh; min-height: 100svh; overflow: hidden; background: var(--navy-900); color: #fff; padding: calc(var(--hd) + 40px) 0 40px; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__media iframe { opacity: 0; transition: opacity 1.2s ease; position: absolute; top: 50%; left: 50%; width: 100vw; height: 56.25vw; min-width: 177.78vh; min-height: 100vh; min-width: 177.78svh; min-height: 100svh; max-width: none; transform: translate(-50%, -50%); border: 0; pointer-events: none; }
.hero__media iframe.is-on { opacity: 1; }
.hero__media img { filter: grayscale(1); }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(24, 45, 70, .88) 0%, rgba(56, 81, 132, .78) 50%, rgba(24, 45, 70, .84) 100%); }
.hero__in { position: relative; }
.docs { background: var(--blue-700); color: #fff; padding-block: var(--sec); }
.docs .h2 { color: #fff; }
.docs__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; margin-bottom: clamp(32px, 3.6vw, 56px); }
.docs .hero__docs { margin-top: 0; }
.hero__top { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center; }
.hero__main { grid-column: 1 / span 7; }
.hero__main .kick { margin-bottom: 22px; }
.hero__h { font: 300 clamp(42px, 5.6vw, 90px)/1 var(--display); letter-spacing: -.035em; text-wrap: balance; }
.hero__intro { margin-top: clamp(20px, 2vw, 28px); max-width: 54ch; font-size: clamp(17px, 1.3vw, 19.5px); line-height: 1.55; color: rgba(255, 255, 255, .88); }
.hero__act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__team { display: inline-flex; align-items: center; gap: 16px; margin-top: 34px; color: rgba(255, 255, 255, .8); font-size: 15px; line-height: 1.4; }
.hero__faces { display: flex; flex: none; padding-left: 12px; }
.hero__faces img { flex: none; aspect-ratio: 1; width: 54px; height: 54px; margin-left: -12px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; background: var(--navy-900); }
.hero__teamt { min-width: 0; }
.hero__teamt strong { display: block; font-weight: 600; color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 4px; transition: text-decoration-color .2s; }
.hero__team:hover strong { text-decoration-color: var(--sun); }
.hero__panel { grid-column: 9 / -1; padding: 10px; border-radius: var(--r-l); background: rgba(24, 45, 70, .55); border: 1px solid rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
.hero__panelh { padding: 16px 18px 12px; font: 600 13.5px/1.2 var(--text); letter-spacing: .09em; text-transform: uppercase; color: var(--on-dark); }
.hero__path { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; align-items: center; padding: 18px; border-radius: var(--r-m); color: #fff; transition: background-color .25s; }
.hero__path + .hero__path { margin-top: 2px; }
.hero__path:hover { background: rgba(255, 255, 255, .1); }
.hero__patht { grid-column: 1; font: 400 clamp(21px, 1.7vw, 25px)/1.2 var(--display); letter-spacing: -.02em; }
.hero__pathd { grid-column: 1; margin-top: 4px; font-size: 15px; line-height: 1.45; color: rgba(255, 255, 255, .74); }
.hero__path .arw { grid-column: 2; grid-row: 1 / span 2; width: 38px; height: 38px; padding: 10px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .28); transition: background-color .25s, border-color .25s; }
.hero__path:hover .arw { transform: none; background: var(--sun); border-color: var(--sun); }
.hero__docs { margin-top: 0; }
.hero__top { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center; }
.hero__h { grid-column: 1 / span 7; font: 300 clamp(42px, 5.8vw, 94px)/1 var(--display); letter-spacing: -.035em; text-wrap: balance; }
.hero__side { grid-column: 8 / -1; padding-left: clamp(0px, 2vw, 32px); }
.hero__intro { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; color: rgba(255, 255, 255, .86); }
.hero__act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__docs { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(12px, 1.4vw, 20px); margin-top: clamp(36px, 4.6vw, 68px); }

.doc { display: block; color: #fff; }
.doc__img { display: block; position: relative; aspect-ratio: 4 / 5; border-radius: var(--r-m); overflow: hidden; background: var(--navy-900); }
.doc__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.doc__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(24, 45, 70, .5), rgba(56, 81, 132, .14) 55%); mix-blend-mode: multiply; transition: opacity .5s; }
.doc:hover .doc__img img { transform: scale(1.04); }
.doc:hover .doc__img::after { opacity: .35; }
.doc__name { letter-spacing: -.015em; display: block; margin-top: 16px; font: 400 clamp(17px, 1.4vw, 20.5px)/1.2 var(--display); }
.doc__field { display: block; margin-top: 4px; font-size: 15px; line-height: 1.35; color: rgba(255, 255, 255, .68); }

/* ---------- Partners ---------- */
.partners { background: #fff; border-bottom: 1px solid var(--line); }
.partners__row { display: flex; align-items: center; gap: clamp(24px, 4vw, 64px); padding-block: 30px; }
.partners__t { flex: none; max-width: 13ch; font: 400 17px/1.3 var(--display); color: var(--ink); }
.partners__logos { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.partners__logos li { display: flex; justify-content: center; }
.partners__logos img { width: auto; max-width: 100%; mix-blend-mode: multiply; }
/* Optical sizes: crests run taller, wide wordmarks shorter, so all six read at the same weight. */
.pl--racs { height: clamp(52px, 5vw, 78px); }
.pl--asohns { height: clamp(46px, 4.4vw, 68px); }
.pl--macquarie { height: clamp(36px, 3.4vw, 52px); }
.pl--usyd { height: clamp(34px, 3.2vw, 48px); }
.pl--northside { height: clamp(50px, 4.8vw, 74px); }
.pl--sees { height: clamp(44px, 4.2vw, 64px); }

/* ---------- Finder ---------- */
.find { background: var(--paper); }
.find__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start; }
.find__intro { grid-column: 1 / span 4; position: sticky; top: calc(var(--hd) + 24px); }
.find__intro .lede { margin-top: 20px; }
.find__body { grid-column: 6 / -1; }
.seg { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; margin-top: 32px; padding: 5px; border-radius: 99px; background: var(--blue-100); }
.seg button { position: relative; z-index: 1; min-height: 46px; padding: 0 26px; border-radius: 99px; font-weight: 600; font-size: 16px; color: var(--blue-600); transition: color .3s; }
.seg button[aria-pressed="true"] { color: #fff; }
.seg__pill { position: absolute; z-index: 0; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 99px; background: var(--blue-700); transition: transform .45s var(--ease); }
.seg[data-on="adult"] .seg__pill { transform: translateX(100%); }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.tabs button { min-height: 44px; padding: 0 20px; border-radius: 99px; border: 1px solid var(--line); background: #fff; font-weight: 500; font-size: 16px; color: var(--ink); transition: background-color .25s, color .25s, border-color .25s; }
.tabs button:hover { border-color: var(--blue-500); }
.tabs button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.find__panels { margin-top: 20px; }
.find__list { display: grid; gap: 8px; }
.find__list[hidden] { display: none; }
.find__item { display: grid; grid-template-columns: 1fr auto; gap: 16px 32px; align-items: center; padding: 22px 22px 22px 26px; border-radius: var(--r-m); background: #fff; }
.find__item h3 { font: 400 clamp(20px, 1.71vw, 25px)/1.15 var(--display); letter-spacing: -.022em; color: var(--ink); }
.find__item p { margin-top: 6px; color: var(--mute); max-width: 52ch; }
.find__who { display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 99px; background: var(--paper); border: 1px solid var(--line); font-weight: 600; font-size: 15px; color: var(--ink); white-space: nowrap; transition: border-color .25s, background-color .25s; }
.find__who:hover { border-color: var(--blue-500); }
.find__who img { flex: none; aspect-ratio: 1; width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.find__who .arw { color: var(--blue-500); }
.find__all { margin-top: 24px; }

/* ---------- Children's feature ---------- */
.kids { background: var(--paper); padding-bottom: var(--sec); }
.kids__card { display: grid; grid-template-columns: 5fr 7fr; color: #fff; }
.kids__img { order: 2; width: 100%; height: 100%; min-height: clamp(320px, 36vw, 520px); object-fit: cover; border-radius: 0 var(--r-l) var(--r-l) 0; }
.kids__text { order: 1; display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 4.4vw, 64px); background: var(--blue-700); border-radius: var(--r-l) 0 0 var(--r-l); }
.kids__text .h2 { color: #fff; font-size: clamp(30px, 3vw, 46px); }
.kids__text > p:not(.kick) { margin-top: 18px; color: rgba(255, 255, 255, .84); max-width: 44ch; }
.kids__act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 28px; }

/* ---------- Visit tasks, generic rows ---------- */
.visit { background: var(--mist); }
.visit__grid, .kidlist__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start; }
.visit__intro, .kidlist__grid > div { grid-column: 1 / span 4; position: sticky; top: calc(var(--hd) + 24px); }
.visit__intro .lede, .kidlist__grid .lede { margin-top: 20px; }
.kidlist__act { margin-top: 28px; }
.tasks, .kidlist__grid .rows { grid-column: 6 / -1; }
.tasks, .rows { display: grid; gap: 8px; }
.task, .row { display: grid; grid-template-columns: 1fr auto; column-gap: 24px; align-items: center; padding: 20px 20px 20px 26px; border-radius: var(--r-m); background: var(--mist); color: var(--ink); transition: background-color .25s, box-shadow .25s; }
.visit .task, .kidlist .row, .refdocs .row { background: #fff; }
.task:hover, .row:hover { background: var(--blue-100); }
.visit .task:hover, .kidlist .row:hover, .refdocs .row:hover { background: #fff; box-shadow: inset 0 0 0 1px var(--blue-300); }
.task__t, .row__t { grid-column: 1; font: 400 clamp(19px, 1.6vw, 23px)/1.25 var(--display); letter-spacing: -.022em; }
.task__d, .row__d { grid-column: 1; margin-top: 4px; font-size: 16px; line-height: 1.5; color: var(--mute); max-width: 60ch; }
/* Arrow buttons in lists stay put; only their fill changes on hover. */
.task .arw, .row .arw, .sheet .arw { grid-column: 2; grid-row: 1 / span 2; width: 42px; height: 42px; padding: 11px; border-radius: 50%; background: #fff; color: var(--blue-700); transition: background-color .25s, color .25s; }
.visit .task .arw, .kidlist .row .arw, .refdocs .row .arw { background: var(--mist); }
.task:hover .arw, .row:hover .arw, .sheet:hover .arw { transform: none; background: var(--blue-700); color: #fff; }
.row--tag { grid-template-columns: 1fr auto auto; }
.row--tag .tag { grid-column: 2; grid-row: 1 / span 2; }
.row--tag .arw { grid-column: 3; }
.row--doc { grid-template-columns: 64px 1fr auto; }
.row--doc img { grid-column: 1; grid-row: 1 / span 2; width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }
.row--doc .row__t, .row--doc .row__d { grid-column: 2; }
.row--doc .arw { grid-column: 3; }
.row--doc .row__d { max-width: 78ch; }
.tag { display: inline-flex; align-items: center; min-height: 28px; padding: 0 12px; border-radius: 99px; background: #fff; color: var(--blue-700); font-size: 13.5px; font-weight: 600; white-space: nowrap; }

/* ---------- Clinics ---------- */
.places { background: var(--white); }
.places__head, .sec__head { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end; margin-bottom: clamp(32px, 3.6vw, 56px); }
.places__head > div, .sec__head > div { grid-column: 1 / span 7; }
.places__head > .lede, .sec__head > .lede { grid-column: 9 / -1; }
.places__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.place { border-radius: var(--r-l); overflow: hidden; background: var(--mist); display: flex; flex-direction: column; }
.place__map { aspect-ratio: 16 / 8; background: var(--blue-100); }
.place__map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.75); }
.place__body { padding: clamp(24px, 2.6vw, 40px); display: flex; flex-direction: column; flex: 1; }
.place__region { font: 600 13.5px/1.2 var(--text); letter-spacing: .09em; text-transform: uppercase; color: var(--blue-500); }
.place__name { margin-top: 10px; font: 300 clamp(29px, 2.7vw, 41.5px)/1.05 var(--display); letter-spacing: -.022em; color: var(--ink); }
.place__addr { margin-top: 16px; font-size: 18px; line-height: 1.5; color: var(--ink); }
.place__park { margin-top: 12px; color: var(--mute); max-width: 46ch; }
.place__act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: auto; padding-top: 28px; }

/* ---------- CTA and footer ---------- */
.cta { background: var(--blue-700); color: #fff; padding-block: clamp(48px, 5.4vw, 88px); }
.cta__row { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center; row-gap: 28px; }
.cta__h { grid-column: 1 / span 7; font: 300 clamp(27px, 3.06vw, 47px)/1.08 var(--display); letter-spacing: -.022em; text-wrap: balance; }
.cta__act { grid-column: 8 / -1; justify-content: flex-end; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.cta__tel { font-weight: 600; color: rgba(255, 255, 255, .9); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 5px; }
.cta__tel:hover { text-decoration-color: #fff; }

.ft { background: var(--navy-950); color: rgba(255, 255, 255, .72); padding-block: clamp(48px, 5vw, 80px) 32px; font-size: 16px; }
.ft__top { display: grid; grid-template-columns: 4fr 2.6fr 2.6fr 2.8fr; gap: 40px 24px; }
.ft__brand img { width: 150px; }
.ft__brand p { margin-top: 20px; max-width: 32ch; }
.ft__col h3 { font: 400 20px/1.2 var(--display); color: #fff; margin-bottom: 10px; }
.ft__a { display: inline-block; margin-top: 8px; color: #fff; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .3); text-underline-offset: 4px; transition: text-decoration-color .2s; }
.ft__a:hover { text-decoration-color: var(--sun); }
.ft__nav { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: center; margin-top: clamp(36px, 4vw, 56px); padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .14); font-weight: 500; color: #fff; }
.ft__nav a { transition: color .2s; }
.ft__nav a:hover { color: var(--sun); }
.ft__soc { display: flex; gap: 8px; margin-left: auto; }
.ft__soc a { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .22); color: #fff; transition: background-color .25s, border-color .25s, color .25s; }
.ft__soc a:hover { background: var(--sun); border-color: var(--sun); color: #fff; }
.ft__soc svg { width: 18px; height: 18px; }
.ft__note { margin-top: 28px; max-width: 86ch; font-size: 15px; line-height: 1.55; }
.ft__note strong { color: #fff; font-weight: 600; }
.ft__base { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 28px; font-size: 14.5px; color: rgba(255, 255, 255, .55); }
.ft__base a:hover { color: #fff; }
.ft__base span { margin-right: auto; }

/* ---------- Inner page header ---------- */
.ph { background: var(--blue-700); color: #fff; padding: calc(var(--hd) + clamp(40px, 5.2vw, 84px)) 0 clamp(40px, 5.2vw, 84px); }
.ph__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center; }
.ph__text { grid-column: 1 / span 7; }
.ph__side { grid-column: 8 / -1; padding-left: clamp(0px, 2vw, 32px); }
.ph__side .ph__intro { margin-top: 0; }
.ph--media .ph__text { grid-column: 1 / span 6; }
.ph__aside { grid-column: 8 / -1; }
.ph__h { font: 300 clamp(38px, 4.6vw, 74px)/1.03 var(--display); letter-spacing: -.035em; text-wrap: balance; }
.ph__intro { margin-top: 24px; max-width: 58ch; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.55; color: rgba(255, 255, 255, .86); }
.ph__act { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.ph__pic { border-radius: var(--r-l); overflow: hidden; aspect-ratio: 5 / 4; background: var(--navy-900); }
.ph__pic img { width: 100%; height: 100%; object-fit: cover; }
.ph:has(+ .team-rail) { padding-bottom: clamp(32px, 3.6vw, 52px); }

/* ---------- Children's page ---------- */
.topics { background: var(--white); }
.topics__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.topic { display: flex; flex-direction: column; align-items: flex-start; color: var(--ink); }
.topic__img { display: block; width: 100%; aspect-ratio: 3 / 2; border-radius: var(--r-m); overflow: hidden; background: var(--blue-100); }
.topic__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.topic:hover .topic__img img { transform: scale(1.04); }
.topic__name { margin-top: 22px; font: 400 clamp(21.5px, 1.89vw, 27px)/1.15 var(--display); letter-spacing: -.022em; }
.topic__text { margin-top: 8px; color: var(--body); flex: 1; }
.topic .tlink { margin-top: 12px; }
.films { background: var(--navy-900); color: rgba(255, 255, 255, .82); }
.films .h2 { color: #fff; }
.films .lede { color: rgba(255, 255, 255, .8); margin-top: 20px; }
.films .sec__head > .lede { color: rgba(255, 255, 255, .8); margin-top: 0; }
.films__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.film { display: flex; flex-direction: column; border-radius: var(--r-l); overflow: hidden; background: rgba(255, 255, 255, .06); }
.film__media { position: relative; aspect-ratio: 16 / 9; background: var(--navy-950); overflow: hidden; }
.film__media img, .film__media iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; cursor: pointer; }
.film__media img { transition: transform .9s var(--ease); }
.film:hover .film__media img { transform: scale(1.03); }
.film__play { position: absolute; left: 50%; top: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; background: var(--sun); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -10px rgba(12, 24, 40, .55); transition: background-color .25s, transform .25s var(--ease); }
.film__play svg { width: 24px; height: 24px; margin-left: 3px; }
.film__play:hover { background: var(--sun-deep); transform: scale(1.06); }
.film__media.is-playing .film__play, .film__media.is-playing img { display: none; }
.film__body { display: flex; flex-direction: column; align-items: flex-start; flex: 1; padding: 24px 26px 26px; }
.film__name { font: 400 clamp(22px, 1.8vw, 26px)/1.2 var(--display); letter-spacing: -.02em; color: #fff; }
.film__text { margin-top: 8px; font-size: 16px; line-height: 1.55; color: rgba(255, 255, 255, .78); flex: 1; }
.film__yt { margin-top: 14px; font-size: 15px; }
.kidlist { background: var(--paper); }

/* ---------- Services A to Z ---------- */
.az { background: var(--white); }
.az__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start; }
.az__side { grid-column: 1 / span 3; position: sticky; top: calc(var(--hd) + 8px); }
.az__list { grid-column: 5 / -1; }
.filters { display: grid; gap: 4px; }
.filters button { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 46px; padding: 0 16px; border-radius: var(--r-s); text-align: left; font-weight: 500; color: var(--ink); transition: background-color .2s, color .2s; }
.filters button span { font-size: 14px; font-weight: 600; color: var(--mute); }
.filters button:hover { background: var(--mist); }
.filters button[aria-pressed="true"] { background: var(--blue-700); color: #fff; }
.filters button[aria-pressed="true"] span { color: rgba(255, 255, 255, .7); }
.az__jump { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 28px; }
.az__jump a { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; font-weight: 600; font-size: 15px; color: var(--blue-600); transition: background-color .2s; }
.az__jump a:hover { background: var(--mist); }
.az__jump a.is-off { color: var(--line); pointer-events: none; }
.az__group { display: grid; grid-template-columns: 88px 1fr; align-items: start; }
.az__group + .az__group { margin-top: 32px; }
.az__letter { font: 300 clamp(39.5px, 3.96vw, 57.5px)/1 var(--display); color: var(--blue-500); padding-top: 14px; }

/* ---------- Team ---------- */
.team-rail { background: var(--blue-700); padding-bottom: clamp(40px, 5.2vw, 84px); }
.team-rail__row { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(12px, 1.4vw, 20px); }
.bio { background: var(--white); }
.bio--alt { background: var(--mist); }
.bio__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start; }
.bio__side { grid-column: 1 / span 4; position: sticky; top: calc(var(--hd) + 16px); }
.bio__img { border-radius: var(--r-l); overflow: hidden; aspect-ratio: 4 / 5; background: var(--navy-900); max-width: 420px; }
.bio__img img { width: 100%; height: 100%; object-fit: cover; }
.bio__main { grid-column: 6 / -1; }
.bio__quals { margin-top: 12px; font-weight: 600; color: var(--blue-600); }
.bio__lead { margin-top: 24px; font: 300 clamp(20px, 1.8vw, 26px)/1.3 var(--display); color: var(--ink); max-width: 32ch; text-wrap: balance; }
.bio__facts { display: grid; grid-template-columns: 1fr 1fr; gap: 28px clamp(24px, 3vw, 48px); margin-top: 36px; }
.bio__facts dt { font: 600 13.5px/1.2 var(--text); letter-spacing: .09em; text-transform: uppercase; color: var(--blue-500); margin-bottom: 8px; }
.bio__facts dd { font-size: 16.5px; line-height: 1.6; }
.bio__act { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 36px; }
.crew { background: var(--navy-900); color: rgba(255, 255, 255, .78); }
.crew .h2 { color: #fff; }
.crew .lede { color: rgba(255, 255, 255, .78); margin-top: 20px; }
.crew__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start; }
.crew__intro { grid-column: 1 / span 5; }
.crew__body { grid-column: 7 / -1; }
.crew__people { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; }
.crew__people li { display: flex; align-items: center; gap: 16px; }
.crew__people img { width: 68px; height: 68px; border-radius: 50%; object-fit: cover; flex: none; background: var(--navy-950); }
.crew__people span { font-size: 15.5px; line-height: 1.4; }
.crew__people strong, .crew__office strong { display: block; font: 400 19px/1.2 var(--display); color: #fff; }
.crew__office { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; margin-top: 36px; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, .16); }
.crew__office li:last-child { grid-column: 1 / -1; }
.crew__office span { font-size: 15.5px; }

/* ---------- Infosheets ---------- */
.sheets { background: var(--white); }
.sheets__group { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start; }
.sheets__group + .sheets__group { margin-top: clamp(40px, 4.4vw, 64px); }
.sheets__head { grid-column: 1 / span 4; }
.sheets__head .h3 { font-size: clamp(28px, 2.8vw, 42px); font-weight: 300; }
.sheets__head p { margin-top: 8px; color: var(--mute); font-size: 16px; }
.sheetgrid { grid-column: 5 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sheet { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; height: 100%; min-height: 168px; padding: 24px; border-radius: var(--r-m); background: var(--mist); color: var(--ink); transition: background-color .25s; }
.sheet:hover { background: var(--blue-100); }
.sheet__t { font: 400 clamp(19px, 1.6vw, 23px)/1.25 var(--display); letter-spacing: -.022em; text-wrap: balance; }
.sheet__f { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sheet__k { font-size: 14.5px; font-weight: 600; color: var(--blue-700); }
.extras { background: var(--mist); }
.extras__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px clamp(24px, 4vw, 64px); }
.extras__grid > div { display: flex; flex-direction: column; align-items: flex-start; }
.extras__grid p { margin: 12px 0 14px; flex: 1; }

/* ---------- Appointments ---------- */
.book { background: var(--paper); }
.book__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start; }
.form { grid-column: 1 / span 7; background: #fff; border: 1px solid var(--line); border-radius: var(--r-l); padding: clamp(22px, 3vw, 44px); display: grid; gap: 32px; }
.form fieldset { display: grid; gap: 16px; }
.form legend { font: 400 23.5px/1.2 var(--display); color: var(--ink); padding: 0; margin-bottom: 18px; }
.form__2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fl { position: relative; }
.fl input, .fl textarea, .fl select { width: 100%; min-height: 60px; padding: 24px 16px 8px; border: 1px solid var(--line); border-radius: var(--r-s); background: var(--white); font: 400 17px/1.4 var(--text); color: var(--ink); transition: border-color .2s, box-shadow .2s; appearance: none; }
.fl textarea { resize: vertical; min-height: 132px; padding-top: 28px; }
.fl label { max-width: calc(100% - 34px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; position: absolute; left: 17px; top: 19px; font-size: 17px; line-height: 1.3; color: var(--mute); pointer-events: none; transform-origin: 0 0; transition: transform .2s var(--ease), color .2s; }
.fl input:focus, .fl textarea:focus, .fl select:focus { outline: 0; border-color: var(--blue-500); box-shadow: 0 0 0 3px rgba(56, 81, 132, .2); }
.fl input:focus + label, .fl input:not(:placeholder-shown) + label, .fl textarea:focus + label, .fl textarea:not(:placeholder-shown) + label, .fl--select label { transform: translateY(-11px) scale(.78); color: var(--blue-600); }
.fl--select::after { content: ""; position: absolute; right: 20px; top: 24px; width: 9px; height: 9px; border-right: 1.6px solid var(--blue-600); border-bottom: 1.6px solid var(--blue-600); transform: rotate(45deg); pointer-events: none; }
.fl.is-bad input { border-color: #c2452d; }
.pick__l { display: block; font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.pick__o { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pick label { position: relative; }
.pick input { position: absolute; opacity: 0; inset: 0; }
.pick label span { display: grid; place-items: center; min-height: 52px; padding: 0 12px; border: 1px solid var(--line); border-radius: var(--r-s); font-weight: 500; color: var(--ink); cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.pick input:checked + span { background: var(--blue-700); border-color: var(--blue-700); color: #fff; }
.pick input:focus-visible + span { outline: 2px solid var(--sun-deep); outline-offset: 2px; }
.drop { display: block; position: relative; padding: 20px; border: 1.5px dashed var(--blue-300); border-radius: var(--r-s); background: var(--paper); cursor: pointer; transition: border-color .2s, background-color .2s; }
.drop:hover { border-color: var(--blue-500); background: var(--mist); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop__t { display: block; font-weight: 600; color: var(--ink); }
.drop__d { display: block; margin-top: 2px; font-size: 15px; color: var(--mute); }
.drop.is-bad { border-color: #c2452d; background: #fdf3f1; }
.drop.is-bad .drop__t { color: #b03c26; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--blue-700); }
.check a { color: var(--blue-600); text-decoration: underline; text-underline-offset: 3px; }
.form__send { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.form__msg { font-size: 16px; color: var(--blue-600); font-weight: 500; }
.form__msg.is-bad { color: #b03c26; }
.book__side { grid-column: 9 / -1; display: grid; gap: 16px; position: sticky; top: calc(var(--hd) + 16px); }
.note { padding: clamp(22px, 2.2vw, 32px); border-radius: var(--r-m); background: var(--blue-700); color: rgba(255, 255, 255, .84); }
.note .kick { color: var(--on-dark); margin-bottom: 12px; }
.note .h3 { color: #fff; margin-bottom: 10px; font-size: 32px; font-weight: 300; }
.note__s { margin-top: 10px; font-size: 15.5px; color: rgba(255, 255, 255, .7); }
.note .tlink { color: #fff; margin-top: 12px; }
.note--plain { background: #fff; border: 1px solid var(--line); color: var(--body); }
.note--plain p { margin-top: 6px; font-size: 16px; }
.newpt { background: var(--navy-900); color: rgba(255, 255, 255, .8); }
.newpt .h2 { color: #fff; }
.newpt .lede { color: rgba(255, 255, 255, .8); margin: 20px 0 28px; }
.newpt__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: center; }
.newpt__intro { grid-column: 1 / span 5; }
.steps { grid-column: 7 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.steps li { padding: 22px 24px; border-radius: var(--r-m); background: rgba(255, 255, 255, .06); }
.steps strong { display: block; font: 400 20.5px/1.2 var(--display); color: #fff; }
.steps span { display: block; margin-top: 6px; font-size: 15.5px; line-height: 1.5; }
.after { background: var(--white); }
.after__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.big { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-content: start; padding: clamp(24px, 2.4vw, 36px); border-radius: var(--r-m); background: var(--mist); color: var(--ink); transition: background-color .3s; }
.big:hover { background: var(--blue-100); }
.big__t { font: 400 clamp(20.5px, 1.8vw, 26px)/1.15 var(--display); letter-spacing: -.022em; }
.big__d { grid-column: 1; color: var(--mute); font-size: 16px; }
.big .arw { grid-column: 2; grid-row: 1; width: 22px; height: 22px; margin-top: 6px; color: var(--blue-500); }

/* ---------- New patient form ---------- */
.np { background: var(--paper); }
.np__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start; }
.np__side { grid-column: 1 / span 3; position: sticky; top: calc(var(--hd) + 8px); }
.stepper li { position: relative; }
.stepper li + li::before { content: ""; position: absolute; left: 11px; top: -14px; height: 28px; width: 2px; background: var(--line); }
.stepper li.is-done + li::before { background: var(--blue-700); }
.stepper button { display: grid; grid-template-columns: 24px 1fr; column-gap: 16px; align-items: start; width: 100%; padding: 12px 0; text-align: left; color: var(--mute); cursor: default; }
.stepper button:not(:disabled) { cursor: pointer; }
.stepper i { width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; border: 2px solid var(--line); background: #fff; display: grid; place-items: center; transition: background-color .3s, border-color .3s; }
.stepper span { font-size: 14.5px; line-height: 1.45; }
.stepper strong { display: block; font-weight: 600; font-size: 16.5px; color: var(--mute); transition: color .3s; }
.stepper .is-now i { border-color: var(--blue-700); box-shadow: inset 0 0 0 5px #fff; background: var(--blue-700); }
.stepper .is-now strong { color: var(--ink); }
.stepper .is-done i { border-color: var(--blue-700); background: var(--blue-700); }
.stepper .is-done i::after { content: ""; width: 9px; height: 5px; margin-top: -2px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.stepper .is-done strong { color: var(--ink); }
.stepper .is-done button:hover strong { color: var(--blue-700); }
.np__ready { margin-top: 28px; padding: 24px; border-radius: var(--r-m); background: #fff; border: 1px solid var(--line); }
.np__ready ul { margin-top: 12px; display: grid; gap: 8px; }
.np__ready li { position: relative; padding-left: 18px; font-size: 15.5px; line-height: 1.45; }
.np__ready li::before { content: ""; position: absolute; left: 0; top: .55em; width: 6px; height: 6px; border-radius: 50%; background: var(--sun); }
.form--np { grid-column: 5 / -1; position: relative; overflow: hidden; gap: 0; padding-top: clamp(30px, 3.4vw, 52px); }
.np__bar { position: absolute; inset: 0 0 auto; height: 5px; background: var(--mist); }
.np__bar i { display: block; height: 100%; width: 16.66%; background: var(--blue-700); transition: width .6s var(--ease); }
.step { display: grid; gap: 36px; }
.step[hidden] { display: none; }
.step__count { font: 600 13.5px/1.2 var(--text); letter-spacing: .09em; text-transform: uppercase; color: var(--blue-500); margin-bottom: 12px; }
.step__h { font: 300 clamp(28px, 2.8vw, 42px)/1.1 var(--display); letter-spacing: -.03em; color: var(--ink); outline: 0; }
.form--np legend { font: 600 17px/1.3 var(--text); letter-spacing: 0; margin-bottom: 14px; }
.form__3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.form__3--title { grid-template-columns: minmax(96px, .5fr) 1fr 1fr; }
.form__3--card, .form__3--med { grid-template-columns: 1.6fr 1fr 1fr; }
.form__hint { font-size: 15px; line-height: 1.5; color: var(--mute); }
.cond { display: grid; gap: 16px; }
.cond[hidden] { display: none; }
.pick--3 .pick__o { grid-template-columns: repeat(3, 1fr); }
.pick--5 .pick__o { grid-template-columns: repeat(5, 1fr); }
.pick label span { text-align: center; line-height: 1.25; padding-block: 8px; }
.opts { display: grid; gap: 8px; }
.opt, .tick { display: flex; align-items: flex-start; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-s); background: var(--white); color: var(--ink); font-size: 16px; line-height: 1.4; cursor: pointer; transition: border-color .2s, background-color .2s; }
.opt:hover, .tick:hover { border-color: var(--blue-300); }
.opt:has(input:checked), .tick:has(input:checked) { border-color: var(--blue-700); background: var(--mist); }
.opt input, .tick input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--blue-700); }
.checks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.tick { padding: 12px 14px; font-size: 15.5px; }
.legal { padding: 20px 22px; border-radius: var(--r-s); background: var(--mist); font-size: 15px; line-height: 1.6; color: var(--body); }
.legal p + p, .legal ul, .legal ul + p { margin-top: 12px; }
.legal ul { display: grid; gap: 6px; }
.legal li { position: relative; padding-left: 16px; }
.legal li::before { content: ""; position: absolute; left: 0; top: .62em; width: 5px; height: 5px; border-radius: 50%; background: var(--blue-500); }
.legal--scroll { max-height: 280px; overflow-y: auto; }
.rep { display: grid; gap: 12px; }
.rep__row[hidden] { display: none; }
.rep__add { justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; font-weight: 600; font-size: 15.5px; color: var(--blue-700); }
.rep__add::before { content: "+"; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1px solid var(--blue-300); font-weight: 400; font-size: 18px; line-height: 1; }
.rep__add:hover { text-decoration: underline; text-underline-offset: 4px; }
.step__nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 28px; border-top: 1px solid var(--line); }
.step__nav--start { justify-content: flex-start; flex-wrap: wrap; gap: 12px 24px; border: 0; padding-top: 8px; }
.step__nav--start .tlink { white-space: nowrap; }
.step__nav--start .btn { flex: none; }
.btn--line { border: 1px solid var(--line); color: var(--ink); background: #fff; }
.btn--line:hover { background: var(--mist); border-color: var(--blue-300); }
.form--np > .form__msg { margin-top: 16px; }
.form--np > .form__msg:empty { display: none; }
.pick.is-bad .pick__l, .opts.is-bad .pick__l, .check.is-bad { color: #b03c26; }
.pick.is-bad label span, .opts.is-bad .opt { border-color: #e0a497; }
.step--done p { max-width: 56ch; }

/* ---------- Condition pages ---------- */
.ph .kick a { text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .35); text-underline-offset: 4px; }
.ph .kick a:hover { text-decoration-color: #fff; }
.cond-page { background: var(--white); }
.cond__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start; }
.prose { grid-column: 1 / span 7; font-size: clamp(17px, 1.25vw, 18.5px); line-height: 1.7; color: var(--body); }
.prose > * + * { margin-top: 1.1em; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin-top: 1.9em; font: 300 clamp(26px, 2.5vw, 38px)/1.15 var(--display); letter-spacing: -.03em; color: var(--ink); text-wrap: balance; scroll-margin-top: calc(var(--hd) + 24px); }
.prose h3 { margin-top: 1.7em; font: 500 clamp(19px, 1.5vw, 22px)/1.3 var(--text); letter-spacing: -.01em; color: var(--ink); }
.prose h2 + *, .prose h3 + * { margin-top: .7em; }
.prose strong { font-weight: 600; color: var(--ink); }
.prose ul, .prose ol { display: grid; gap: .5em; padding-left: 0; }
.prose li { position: relative; padding-left: 24px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .68em; width: 6px; height: 6px; border-radius: 50%; background: var(--sun); }
.prose ol { counter-reset: n; }
.prose ol li { counter-increment: n; padding-left: 32px; overflow-wrap: anywhere; }
.prose ol li::before { content: counter(n) "."; position: absolute; left: 0; font-weight: 600; color: var(--blue-700); }
.prose .ilink { overflow-wrap: anywhere; }
.prose__fig img { border-radius: var(--r-m); background: var(--mist); max-height: 520px; width: auto; }
.prose__fig figcaption { margin-top: 8px; font-size: 15px; line-height: 1.4; color: var(--mute); }
.prose__row { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.prose__row .prose__fig { flex: 0 1 auto; max-width: calc(50% - 8px); }
.prose__row .prose__fig img { max-height: 260px; }
.prose__fig--doc a { display: inline-flex; align-items: center; gap: 20px; padding: 14px 24px 14px 14px; border-radius: var(--r-m); background: var(--mist); transition: background-color .25s; }
.prose__fig--doc a:hover { background: var(--blue-100); }
.prose__fig--doc img { width: 84px; height: auto; border-radius: 8px; }
.embed { aspect-ratio: 16 / 9; border-radius: var(--r-m); overflow: hidden; background: var(--navy-900); }
.embed iframe { width: 100%; height: 100%; border: 0; }
.cond__side { grid-column: 9 / -1; position: sticky; top: calc(var(--hd) + 8px); display: grid; gap: 16px; }
.who { display: grid; grid-template-columns: 76px 1fr; column-gap: 18px; align-items: center; padding: 16px; border-radius: var(--r-m); background: var(--mist); color: var(--ink); transition: background-color .25s; }
.who:hover { background: var(--blue-100); }
.who > img { grid-row: 1 / span 3; width: 76px; height: 76px; border-radius: 50%; object-fit: cover; }
.who__k { align-self: end; font-size: 13.5px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: var(--blue-500); }
.who__n { font: 400 21px/1.2 var(--display); letter-spacing: -.02em; }
.who__r { align-self: start; font-size: 15px; color: var(--mute); }
.who--all { grid-template-columns: 1fr; row-gap: 4px; padding: 20px; }
.who--all .hero__faces { margin-bottom: 10px; }
.who--all .hero__faces img { border-color: #fff; }
.toc { padding: 22px 24px; border-radius: var(--r-m); border: 1px solid var(--line); }
.toc .kick { margin-bottom: 12px; }
.toc ul { display: grid; gap: 2px; }
.toc a { display: block; padding: 6px 0; font-size: 15.5px; line-height: 1.4; color: var(--body); transition: color .2s; }
.toc a:hover { color: var(--blue-700); text-decoration: underline; text-underline-offset: 4px; }
.cond__book { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding-top: 4px; }
.rows--2 { grid-template-columns: 1fr 1fr; }

/* ---------- Referrers ---------- */
.refer { background: var(--white); }
.refer__grid { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start; }
.refer__how { grid-column: 1 / span 6; position: sticky; top: calc(var(--hd) + 24px); }
.refer__steps { margin-top: 36px; display: grid; gap: 28px; }
.refer__steps > div { padding-top: 28px; border-top: 1px solid var(--line); }
.refer__steps p { margin-top: 8px; max-width: 54ch; }
.urgent { grid-column: 8 / -1; padding: clamp(26px, 3vw, 44px); border-radius: var(--r-l); background: var(--blue-700); color: rgba(255, 255, 255, .88); }
.urgent .h3 { color: #fff; font-size: clamp(28px, 2.6vw, 38px); font-weight: 300; }
.urgent ul { margin-top: 24px; display: grid; gap: 14px; }
.urgent li { position: relative; padding-left: 24px; font-size: 17.5px; line-height: 1.45; }
.urgent li::before { content: ""; position: absolute; left: 0; top: .52em; width: 8px; height: 8px; border-radius: 50%; background: var(--sun); }
.refdocs { background: var(--paper); }

/* ---------- Contact ---------- */
.arrive { background: var(--mist); }
.arrive__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.arrive figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-m); background: var(--blue-100); }
.arrive figcaption { margin-top: 14px; font-size: 16px; line-height: 1.5; color: var(--body); max-width: 40ch; }

/* ---------- Motion ---------- */
.js [data-rise], .js [data-load] { opacity: 0; transform: translateY(22px); }
.js [data-split] { visibility: hidden; }
.js.is-ready [data-split] { visibility: visible; }
.js.no-motion [data-rise], .js.no-motion [data-load] { opacity: 1; transform: none; }
.js.no-motion [data-split] { visibility: visible; }
.sl-mask { padding-bottom: .16em; margin-bottom: -.16em; }
@media (prefers-reduced-motion: reduce) {
  .hero__media iframe { display: none; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1320px) {
  .hd__tel span { display: none; }
  .hd__tel { width: 44px; height: 44px; justify-content: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .4); }
  .hd__tel .ico { color: #fff; }
  .hd__act { gap: 10px; }
}
@media (max-width: 1240px) {
  .films__grid { gap: 16px; }
  .film__body { padding: 20px; }
  :root { --hd: 76px; }
  .hd__nav, .mega { display: none; }
  .hd__burger { display: block; }
  .hd__act { margin-left: auto; }
  .hd__logo img { width: 122px; }
  .hd.is-solid .hd__row { height: 68px; }
  .hero__main { grid-column: 1 / span 9; }
  .hero__panel { display: none; }
  .find__intro, .visit__intro, .kidlist__grid > div, .az__side, .bio__side, .crew__intro, .sheets__head, .newpt__intro, .refer__how { grid-column: 1 / -1; position: static; }
  .find__body, .tasks, .kidlist__grid .rows, .az__list, .bio__main, .crew__body, .sheetgrid, .steps, .urgent { grid-column: 1 / -1; margin-top: 36px; position: static; }
  .places__head > div, .sec__head > div, .cta__h { grid-column: 1 / -1; }
  .places__head > .lede, .sec__head > .lede { grid-column: 1 / -1; margin-top: 16px; }
  .cta__act { grid-column: 1 / -1; justify-content: flex-start; }
  .kids__card { grid-template-columns: 1fr; }
  .kids__img { order: 1; min-height: 0; aspect-ratio: 16 / 9; border-radius: var(--r-l) var(--r-l) 0 0; }
  .kids__text { order: 2; border-radius: 0 0 var(--r-l) var(--r-l); }
  .ph__text, .ph--media .ph__text { grid-column: 1 / -1; }
  .ph__side { grid-column: 1 / span 9; padding-left: 0; margin-top: 24px; }
  .ph__aside { grid-column: 1 / -1; margin-top: 36px; }
  .ph__pic { aspect-ratio: 16 / 9; }
  .form { grid-column: 1 / -1; }
  .prose, .cond__side { grid-column: 1 / -1; position: static; }
  .cond__side { margin-top: 40px; grid-template-columns: 1fr 1fr; align-items: start; }
  .cond__book { grid-column: 1 / -1; }
  .np__side { grid-column: 1 / -1; position: static; margin-bottom: 24px; }
  .stepper { display: none; }
  .np__ready { margin-top: 0; }
  .np__ready ul { grid-template-columns: repeat(2, 1fr); }
  .book__side { grid-column: 1 / -1; position: static; margin-top: 24px; grid-template-columns: repeat(3, 1fr); align-items: start; }
  .az__side { display: block; }
  .filters { display: flex; flex-wrap: wrap; gap: 8px; }
  .filters button { border: 1px solid var(--line); border-radius: 99px; min-height: 44px; }
  .filters button[aria-pressed="true"] { border-color: var(--blue-700); }
  .az__jump { margin-top: 20px; }
  .bio__img { max-width: 320px; }
  .ft__top { grid-template-columns: 1fr 1fr 1fr; }
  .ft__brand { grid-column: 1 / -1; }
  .partners__row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .partners__t { max-width: none; }
  .partners__logos { width: 100%; }
}
@media (max-width: 860px) {
  .bio__side { position: static; }
  .bio__img { max-width: none; aspect-ratio: 4 / 3; }
  .bio__img img { object-position: 50% 22%; }
  .place__map { aspect-ratio: 16 / 10; }
  .sheet { min-height: 0; flex-direction: row; align-items: center; gap: 16px; padding: 18px 16px 18px 20px; }
  .sheet__f { flex: none; }
  .sheet__k { display: none; }
  .sheet__t { font-size: 19px; }
  body { font-size: 16.5px; }
  .ph__side, .hero__main { grid-column: 1 / -1; }
  .hero__docs, .team-rail__row { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); scrollbar-width: none; }
  .hero__docs::-webkit-scrollbar, .team-rail__row::-webkit-scrollbar { display: none; }
  .hero__docs .doc, .team-rail__row .doc { flex: 0 0 min(58vw, 250px); scroll-snap-align: start; }
  .team-rail .team-rail__row { margin-inline: 0; padding-inline: var(--gut); }
  .rows--2, .cond__side, .films__grid { grid-template-columns: 1fr; }
  .places__grid, .topics__grid, .extras__grid, .after__grid, .arrive__grid, .book__side { grid-template-columns: 1fr; }
  .partners__logos { display: grid; grid-template-columns: repeat(3, 1fr); justify-items: center; gap: 8px 12px; }
  .find__item { grid-template-columns: 1fr; }
  .find__who { justify-self: start; }
  .mega__grid--4 { grid-template-columns: 1fr 1fr; }
  .bio__facts, .crew__people, .crew__office, .steps { grid-template-columns: 1fr; }
  .ft__top { grid-template-columns: 1fr; gap: 28px; }
  .ft__soc { margin-left: 0; width: 100%; }
  .ft__base span { width: 100%; }
  .partners__logos { gap: 20px 12px; }
  .partners__row { align-items: center; }
  .partners__t { text-align: center; }
  .pl--racs { height: 60px; } .pl--asohns { height: 52px; } .pl--macquarie { height: 40px; } .pl--usyd { height: 36px; } .pl--northside { height: 56px; } .pl--sees { height: 48px; }
  .az__group { grid-template-columns: 1fr; }
  .az__letter { padding: 0 0 8px; }
  .row--tag { grid-template-columns: 1fr auto; }
  .row--tag .tag { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 10px; }
  .row--tag .arw { grid-column: 2; grid-row: 1 / span 3; }
}
@media (max-width: 600px) {
  /* Hero, page headers and the closing banner read centred on phones */
  .hero__main, .ph__text, .ph__side, .cta__row { text-align: center; }
  .hero__intro, .ph__intro { margin-inline: auto; }
  .hero__act, .ph__act, .cta__act { justify-content: center; }
  .hero__team { display: flex; flex-direction: column; align-items: center; gap: 12px; }
  .hero__teamt { text-align: center; }
  .cta__h { text-wrap: balance; }
  .cta__act { flex-direction: column; }
}
@media (max-width: 560px) {
  .tabs { display: grid; grid-template-columns: 1fr 1fr; overflow: visible; margin-inline: 0; padding-inline: 0; }
  .tabs button { width: 100%; padding: 0 12px; }
  .step__nav > span:empty { display: none; }
  .task .arw, .row .arw, .sheet .arw { width: 36px; height: 36px; padding: 9px; }
  .task, .row { column-gap: 14px; }
  .row--doc { grid-template-columns: 52px 1fr; }
  .row--doc .arw { display: none; }
  .row--doc .row__d { font-size: 15px; }
  .hero__teamt span, .hero__teamt { font-size: 14px; }
  .hero__h { font-size: clamp(38px, 11vw, 46px); }
  .hero__main .kick { font-size: 12.5px; letter-spacing: .08em; }
  .find__item { gap: 14px; }
  .ft__top { gap: 24px 20px; grid-template-columns: 1fr 1fr; }
  .ft__brand, .ft__top > .ft__col:last-child { grid-column: 1 / -1; }
  .ft__col h3 { font-size: 20px; }
  .ft__col p { font-size: 15px; }
  .btn { min-height: 50px; padding: 0 20px; }
  .hd__act .btn { display: none; }
  .hero__faces img { width: 44px; height: 44px; }
  .hero__team { gap: 12px; font-size: 14.5px; }
  .hero__act .btn, .ph__act .btn { flex: 1 1 100%; }
  .form__2, .form__3, .form__3--title, .form__3--card, .form__3--med, .checks, .np__ready ul { grid-template-columns: 1fr; }
  .pick--3 .pick__o, .pick--5 .pick__o { grid-template-columns: 1fr 1fr; }
  .step__nav .btn { flex: 1; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gut)); padding-inline: var(--gut); scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tabs button { flex: none; }
  .seg { display: grid; width: 100%; }
  .row--doc { grid-template-columns: 52px 1fr auto; column-gap: 14px; }
  .row--doc img { width: 52px; height: 52px; }
  .sheetgrid { grid-template-columns: 1fr; }
  .sheet { min-height: 0; }
  .task, .row, .find__item { padding: 18px 16px 18px 20px; }
  .place__map { aspect-ratio: 4 / 3; }
}

/* ---------- Client revisions, 30 Nov ---------- */
/* Header spacing. The logo sits the same distance from the top and left edges (client request), and the header row
   uses that same distance on the right. The row is as tall as gap + logo + gap, so the menu and buttons are centred
   on the logo. Gaps: desktop 32px, tablet 24px, mobile 16px; compact sticky header 24 / 16 / 12px.
   Logo height = width x 133 / 276 (the logo file's proportions). */
.hd { --logo-gap: 32px; --logo-w: 138px; }
.hd.is-solid { --logo-gap: 24px; --logo-w: 112px; }
.hd .hd__row, .hd.is-solid .hd__row { max-width: none; height: calc(2 * var(--logo-gap) + var(--logo-w) * 133 / 276); padding: 0 var(--logo-gap); transition: height .35s var(--ease), padding .35s var(--ease); }
.hd .hd__logo img, .hd.is-solid .hd__logo img { display: block; width: var(--logo-w); }
.hd__logo { position: absolute; top: var(--logo-gap); left: var(--logo-gap); z-index: 1; transition: top .35s var(--ease), left .35s var(--ease); }
.hd__row::before { content: ""; flex: none; width: var(--logo-w); transition: width .35s var(--ease); }
@media (max-width: 1240px) {
  .hd { --logo-gap: 24px; --logo-w: 122px; }
  .hd.is-solid { --logo-gap: 16px; --logo-w: 112px; }
}
@media (max-width: 600px) {
  .hd { --logo-gap: 16px; }
  .hd.is-solid { --logo-gap: 12px; }
}
/* Page tops start below the taller header by the same distance as before (the extra header height is added). */
:root { --hd-top: 130.5px; }
@media (max-width: 1240px) { :root { --hd-top: 106.8px; } }
@media (max-width: 600px) { :root { --hd-top: 90.8px; } }
.hero { padding-top: calc(var(--hd-top) + 40px); }
.ph { padding-top: calc(var(--hd-top) + clamp(40px, 5.2vw, 84px)); }
/* --hd = compact header height (logo 54px + two gaps), so sticky panels and anchor jumps stay clear of it. */
:root { --hd: 102px; }
@media (max-width: 1240px) { :root { --hd: 86px; } }
@media (max-width: 600px) { :root { --hd: 78px; } }

/* Overlapping surgeon faces: the first surgeon (Prof. Patel) sits on top */
.hero__faces img { position: relative; }
.hero__faces img:nth-child(1) { z-index: 5; }
.hero__faces img:nth-child(2) { z-index: 4; }
.hero__faces img:nth-child(3) { z-index: 3; }
.hero__faces img:nth-child(4) { z-index: 2; }
.hero__faces img:nth-child(5) { z-index: 1; }

/* Find the right care: several surgeons per row, stacked in order */
.find__whos { display: grid; gap: 8px; justify-items: stretch; }
@media (max-width: 860px) { .find__whos { justify-items: start; } }

/* Team: full biography with lists */
.bio__intro { margin-top: 16px; font-size: 17.5px; line-height: 1.6; max-width: 62ch; }
.bio__quals + .bio__intro { margin-top: 24px; }
.bio__facts--full { grid-template-columns: 1fr; max-width: 70ch; }
.bio__facts dd p + ul { margin-top: 10px; }
.bio__facts dd ul { display: grid; gap: 6px; }
.bio__facts dd li { position: relative; padding-left: 20px; }
.bio__facts dd li::before { content: ""; position: absolute; left: 2px; top: .68em; width: 6px; height: 6px; border-radius: 50%; background: var(--sun); }
.btn--line .arw { color: var(--blue-500); }

/* Care team: office team first, then anaesthetists */
.crew__people--anaes { margin-top: 36px; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, .16); }
.crew__people li.is-noimg { min-height: 68px; padding-left: 84px; }

/* Referral criteria panel */
.urgent__set + .urgent__set { margin-top: 36px; padding-top: 32px; border-top: 1px solid rgba(255, 255, 255, .18); }
.urgent__note { margin-top: 14px; font-size: 17px; line-height: 1.5; }
.urgent__note--alert { margin-top: 24px; font-weight: 600; color: #fff; }
.urgent__part { margin-top: 24px; font: 600 13.5px/1.2 var(--text); letter-spacing: .09em; text-transform: uppercase; color: #fff; }
.urgent .urgent__part + ul { margin-top: 12px; }

/* Equal image sizes on pages that ask for it */
.prose__row--even .prose__fig { flex: 0 0 calc((100% - 32px) / 3); max-width: 220px; }
.prose__row--even .prose__fig img { width: 100%; height: auto; max-height: none; aspect-ratio: 4 / 3; object-fit: contain; }

/* "All ..." link in the Related conditions header: on smaller screens it sits under the heading (like the header's intro text), instead of a narrow column */
@media (max-width: 1240px) { .sec__head > .sec__all { grid-column: 1 / -1 !important; justify-self: start !important; margin-top: 16px; } }

/* Request forms: conditional blocks stay hidden until their condition is met (fieldsets have display rules of their own) */
[data-when][hidden] { display: none !important; }
@media (max-width: 600px) { .sheets__group { grid-template-columns: 1fr; } .sheetgrid { grid-template-columns: 1fr; } .sheet__t { min-width: 0; overflow-wrap: anywhere; } }
