/* New design for the inner pages (everything except the home page). The page content and markup stay as they were;
   these rules replace the old look: blobs, paws and masks go, photos sit in rounded frames, buttons become pills and
   the navy sections get the home page's wave. Everything is scoped to <main class="nx">. */
.nx { --navy: #062041; --navy-2: #0d2f5a; --ink-2: #40536c; --line: #dfe4ea; --cream: #fffefd; --paper: #f7f5f0;
  --yellow: #fedb78; --sky: #79bce8; --sky-2: #a8d3f0; --sky-3: #dfeff9; --r: 28px;
  --serif: Lora, Georgia, serif; --sans: Montserrat, "Segoe UI", system-ui, sans-serif; --ease: cubic-bezier(.2,.7,.2,1); }

/* old decoration: shapes, paws, pebbles, glows and the old wave images */
.nx [class*="Decor_box"]:has(img[alt=""]), .nx [class*="Decor_box"]:not(:has(img)),
.nx [class*="_paws"], .nx [class*="_pebble"], .nx [class*="_glow"], .nx [class*="CallToAction_bands"],
.nx img[src*="values-wave"], .nx img[src*="service-detail-wave"], .nx [class*="Values_paw"], .nx [class*="ServiceHelp_paw"],
.nx [class*="AboutStory_decor"] { display: none !important; }

/* eyebrow tags and buttons */
.nx [class*="Tag_tag__"] { gap: 10px; padding: 7px 15px; border-radius: 999px; background: var(--sky-3); color: var(--navy);
  font: 600 12.5px/1.3 var(--sans); letter-spacing: .09em; }
.nx [class*="Tag_tag__"] img { display: none; }
.nx [class*="Tag_tag__"]::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 3px rgba(254, 219, 120, .35); }
.nx [class*="Tag_dark__"] { background: rgba(255, 255, 255, .1); color: var(--sky-2); }
.nx [class*="Button_btn__"] { gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font: 600 16px/1.2 var(--sans); letter-spacing: 0;
  transition: background-color .2s, transform .25s var(--ease), box-shadow .25s; }
.nx [class*="Button_btn__"] img { display: none; }
.nx [class*="Button_primary__"] { background: var(--navy); color: #fff; }
.nx [class*="Button_secondary__"] { background: var(--yellow); color: var(--navy); }
.nx [class*="Button_outline__"] { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .55); color: #fff; backdrop-filter: none; -webkit-backdrop-filter: none; }
@media (hover: hover) { .nx [class*="Button_btn__"]:hover { transform: translateY(-1px); } .nx [class*="Button_secondary__"]:hover { box-shadow: 0 10px 24px rgba(208, 160, 40, .28); filter: none; } }

/* section headings */
.nx [class*="SectionHeading_title__"], .nx [class*="ServiceSplit_title__"], .nx [class*="Locations_title__"], .nx [class*="ClinicHours_title__"],
.nx [class*="RuledHeading_title__"], .nx [class*="Advice_relatedTitle__"] { letter-spacing: -.02em; text-wrap: balance; }
.nx [class*="RuledHeading_rule__"] { display: none; }

/* page hero (About, Services, Contact): copy left, photo in a rounded frame right */
.nx [class*="PageHero_hero__"] { height: auto; overflow: visible; display: grid; gap: 28px; width: min(1320px, 100% - 2 * var(--gutter)); margin: 0 auto; padding: 28px 0 40px; }
.nx [class*="PageHero_inner__"] { display: contents; }
.nx [class*="PageHero_copy__"] { width: auto; min-height: 0; margin: 0; gap: 20px; justify-content: center; }
.nx [class*="PageHero_title__"] { font-size: clamp(40px, 9.6vw, 76px); line-height: 1.02; letter-spacing: -.035em; text-wrap: balance; }
.nx [class*="PageHero_lead__"] { max-width: 34em; font-size: clamp(17px, 1.400vw, 19px); line-height: 1.55; color: var(--ink-2); }
.nx [class*="PageHero_art__"] { position: relative; inset: auto; order: 2; width: 100%; height: auto; margin: 0; aspect-ratio: 1.15; border-radius: 34px; overflow: hidden; background: var(--sky-3); }
.nx [class*="PageHero_art__"] [class*="Decor_box"], .nx [class*="TeamHero_photo__"], .nx [class*="ClinicHours_art__"] [class*="Decor_box"] { position: absolute; inset: 0; left: 0; top: 0; width: 100%; height: 100%; -webkit-mask: none; mask: none; }
.nx [class*="PageHero_art__"] [class*="Decor_asset"], .nx [class*="ServiceSplit_photo__"] [class*="Decor_asset"], .nx [class*="TeamProfile_art__"] [class*="Decor_asset"], .nx [class*="ClinicHours_art__"] [class*="Decor_asset"] { width: 100%; height: 100%; rotate: 0deg; scale: 1; }
.nx [class*="PageHero_art__"] img, .nx [class*="ServiceSplit_photo__"] img, .nx [class*="ClinicHours_art__"] img { object-fit: cover; }
@media (min-width: 1000px) {
  .nx [class*="PageHero_hero__"] { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: center; gap: 56px; padding: 44px 0 64px; }
  .nx [class*="PageHero_hero__"] > [class*="PageHero_art__"] { grid-column: 2; grid-row: 1 / span 2; order: 0; aspect-ratio: 1.02; }
  .nx [class*="PageHero_copy__"] { grid-column: 1; }
}

/* service and area page hero: the banner photo becomes the frame on the right */
.nx section:has(> [class*="ServiceDetailHero_banner__"]) { display: grid; gap: 28px; width: min(1320px, 100% - 2 * var(--gutter)); margin: 0 auto; padding: 24px 0 36px; }
.nx [class*="ServiceDetailHero_banner__"] { order: 2; height: auto; aspect-ratio: 1.3; border-radius: 34px; background: var(--sky-3); }
.nx [class*="ServiceDetailHero_banner__"] img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nx [class*="ServiceDetailHero_inner__"] { width: auto; max-width: none; padding: 0; margin: 0; gap: 22px; }
.nx [class*="ServiceDetailHero_heading__"] { gap: 18px; }
.nx [class*="ServiceDetailHero_title__"] { font-size: clamp(38px, 8.400vw, 64px); line-height: 1.04; letter-spacing: -.03em; text-wrap: balance; }
.nx [class*="ServiceDetailHero_intro__"] { max-width: 36em; font-size: clamp(17px, 1.300vw, 19px); line-height: 1.6; color: var(--ink-2); }
.nx [class*="ServiceDetailHero_intro__"] p + p { margin-top: 1em; }
.nx [class*="ServiceDetailHero_crumbText__"] { font: 600 12.5px/1.3 var(--sans); letter-spacing: .09em; color: var(--ink-2); }
@media (min-width: 1000px) {
  .nx section:has(> [class*="ServiceDetailHero_banner__"]) { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); align-items: center; gap: 56px; padding: 44px 0 56px; }
  .nx [class*="ServiceDetailHero_banner__"] { grid-column: 2; grid-row: 1; aspect-ratio: .95; }
  .nx [class*="ServiceDetailHero_inner__"] { grid-column: 1; grid-row: 1; }
}

/* photo and text side by side */
.nx [class*="ServiceSplit_inner__"] { gap: clamp(32px, 6vw, 80px); }
.nx [class*="ServiceSplit_art__"] { --s: 1px; width: min(100%, 540px); height: auto; aspect-ratio: 1.06; }
.nx [class*="ServiceSplit_art__"]::before { content: ""; position: absolute; inset: 18px -18px -18px 18px; border-radius: 32px; background: var(--sky-3); }
.nx [class*="ServiceSplit_section__"]:nth-of-type(odd) [class*="ServiceSplit_art__"]::before { inset: 18px 18px -18px -18px; background: #fff1c9; }
.nx [class*="ServiceSplit_photo__"] { position: absolute; inset: 0; left: 0; top: 0; width: 100%; height: 100%; -webkit-mask: none; mask: none; border-radius: 32px; overflow: hidden; box-shadow: 0 24px 50px rgba(6, 32, 65, .12); }
.nx [class*="ServiceSplit_copy__"] { gap: 18px; }
.nx [class*="ServiceSplit_title__"] { font-size: clamp(30px, 3.200vw, 44px); line-height: 1.1; }
.nx [class*="ServiceSplit_text__"], .nx [class*="ServiceSplit_list__"] { font-size: clamp(17px, 1.300vw, 19px); line-height: 1.6; }
.nx [class*="ServiceSplit_title__"]:not(:first-child) { margin-top: 18px; }
.nx [class*="ServiceSplit_list__"] { list-style: none; display: grid; gap: 10px; font-weight: 500; }
.nx [class*="ServiceSplit_list__"] li { position: relative; margin: 0; padding-left: 34px; }
.nx [class*="ServiceSplit_list__"] li::before { content: ""; position: absolute; left: 0; top: .3em; width: 22px; height: 22px; border-radius: 50%;
  background: var(--sky-3) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m7 12.500 3.200 3.200L17 9' fill='none' stroke='%23062041' stroke-width='2.400' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat; }
@media (max-width: 1023.98px) { .nx [class*="ServiceSplit_art__"] { width: calc(100% - 18px); margin: 0 auto 18px; } }

/* navy "What we believe" band with the home page's wave and numbered cards */
.nx [class*="Values_section__"] { counter-reset: value; margin-block: 24px; }
.nx [class*="Values_panel__"] { position: relative; overflow: visible; }
.nx [class*="Values_panel__"]::before, .nx [class*="Values_panel__"]::after { content: ""; position: absolute; left: 0; width: 100%; height: clamp(38px, 6vw, 90px);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath fill='%2379bce8' d='M0 12C200 66 460 72 720 34S1220-12 1440 36V85H0Z'/%3E%3Cpath fill='%23fedb78' d='M0 28C200 80 460 84 720 48S1220 4 1440 50V85H0Z'/%3E%3Cpath fill='%23062041' d='M0 44C200 92 460 96 720 62S1220 20 1440 64V91H0Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; }
.nx [class*="Values_panel__"]::before { bottom: calc(100% - 2px); }
.nx [class*="Values_panel__"]::after { top: calc(100% - 2px); rotate: 180deg; }
.nx [class*="Values_inner__"] { gap: 36px; padding-block: 56px 72px; }
.nx [class*="Values_grid__"] { grid-template-columns: minmax(0, 1fr); gap: 14px; width: min(1320px, 100%); padding: 0; }
.nx [class*="Values_item__"] { counter-increment: value; align-items: flex-start; gap: 14px; padding: 26px 24px; border: 1px solid rgba(255, 255, 255, .12); border-radius: 24px; background: rgba(255, 255, 255, .05); text-align: left; }
.nx [class*="Values_item__"]::before { content: counter(value); display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--yellow); color: var(--navy); font: 700 15px/1 var(--sans); }
.nx [class*="Values_text__"] { gap: 8px; }
.nx [class*="Values_title__"] { font-size: 23px; line-height: 1.2; color: #fff; }
.nx [class*="Values_body__"] { font-size: 16px; line-height: 1.55; color: var(--sky-2); letter-spacing: 0; }
@media (min-width: 700px) { .nx [class*="Values_grid__"] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1100px) { .nx [class*="Values_grid__"] { grid-template-columns: repeat(4, minmax(0, 1fr)); } .nx [class*="Values_inner__"] { padding-block: 72px 88px; } }

/* "What can we help with?" cards */
.nx [class*="ServiceHelp_grid__"] { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; width: min(1320px, 100%); margin-inline: auto; }
.nx [class*="ServiceHelp_item__"] { position: relative; display: block; width: auto; padding: 26px 24px 26px 82px; border: 1px solid var(--line); border-radius: 24px; background: #fff; text-align: left; }
.nx [class*="ServiceHelp_item__"]::before { content: ""; position: absolute; left: 24px; top: 26px; width: 40px; height: 40px; border-radius: 14px;
  background: var(--sky-3) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20.500s-7-4.300-7-10A4 4 0 0 1 12 8a4 4 0 0 1 7 2.500c0 5.700-7 10-7 10Z' fill='none' stroke='%23062041' stroke-width='1.900' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat; }
.nx [class*="ServiceHelp_text__"] { gap: 8px; }
.nx [class*="ServiceHelp_title__"] { font-size: 21px; line-height: 1.2; text-align: left; }
.nx [class*="ServiceHelp_title__"] br { display: none; }
.nx [class*="ServiceHelp_body__"] { font-size: 16px; line-height: 1.55; text-align: left; color: var(--ink-2); }
@media (min-width: 700px) { .nx [class*="ServiceHelp_grid__"] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; } }
@media (min-width: 1100px) { .nx [class*="ServiceHelp_grid__"] { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* closing card: navy, photo on the right, no old bands */
.nx [class*="CallToAction_card__"] { width: min(1320px, 100%); margin-inline: auto; border-radius: 34px; box-shadow: 0 30px 60px rgba(6, 32, 65, .18); }
.nx [class*="CallToAction_title__"] { letter-spacing: -.02em; }
.nx [class*="CallToAction_text__"] { color: var(--sky-2); }
@media (min-width: 1024px) {
  .nx [class*="CallToAction_photo__"] { left: 50%; top: 0; width: 50%; height: 100%; }
  .nx [class*="CallToAction_photo__"]::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--navy) 0, rgba(6, 32, 65, 0) 38%); }
  .nx [class*="CallToAction_photo__"] img { object-fit: cover; object-position: 55% 35%; }
}

/* cards: team, advice, services */
.nx [class*="TeamCard_photo__"], .nx [class*="ServiceCard_media__"] { border-radius: 26px; overflow: hidden; }
.nx [class*="Advice_card__"], .nx [class*="ServiceCard_card__"] { border-radius: 26px; }
.nx [class*="Advice_card__"] { border: 1px solid var(--line); background: #fff; box-shadow: none; transition: transform .25s var(--ease), box-shadow .25s; }
@media (hover: hover) { .nx [class*="Advice_card__"]:hover, .nx [class*="ServiceCard_card__"]:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(6, 32, 65, .1); } }

/* reading pages: contents card and FAQ */
.nx [class*="LegalPage_contents__"], .nx [class*="Advice_panel__"] { border: 0; border-radius: 24px; background: var(--sky-3); }
.nx [class*="Faq_item__"] { border: 1px solid var(--line); border-radius: 20px; background: #fff; }

/* hours, map and areas */
.nx [class*="ClinicHours_card__"] { border-radius: 28px; }
.nx [class*="ClinicHours_art__"] { position: relative; overflow: hidden; border-radius: 28px; }
.nx [class*="LocationMap_map__"] { border-radius: 28px; overflow: hidden; }
.nx [class*="ServiceAreas_suburb__"] { border-radius: 999px; }

/* contact methods under the Contact hero */
.nx [class*="ContactHero_methods__"] { flex-wrap: wrap; gap: 16px 30px; height: auto; margin: 0; }
.nx [class*="ContactHero_divider__"] { display: none; }
.nx [class*="ContactHero_methodText__"], .nx [class*="ContactHero_address__"] { white-space: normal; }
.nx [class*="ContactHero_icon__"] { width: 46px; height: 46px; background: var(--sky-3); }
.nx [class*="ContactHero_methodTitle__"] { font-size: 18px; }
.nx [class*="ContactHero_methodValue__"] { font-size: 15px; line-height: 1.45; }
@media (min-width: 1000px) { .nx [class*="ContactHero_methods__"] { grid-column: 1; } }

/* the photo under the opening hours text sits in a rounded frame */
.nx [class*="ClinicHours_art__"] { --s: 1px; position: relative; left: auto; top: auto; width: min(100%, 420px); height: auto; aspect-ratio: 1.1; margin-top: 12px; align-self: flex-start; border-radius: 28px; overflow: hidden; background: var(--sky-3); }

/* clinic photo with its card, inside a rounded frame */
.nx [class*="ClinicFeature_section__"] { width: min(1320px, 100% - 2 * var(--gutter)); margin: 24px auto; border-radius: 34px; overflow: hidden; }

/* remaining old decoration */
.nx [class*="LegalPage_paw"], .nx [class*="AboutTeam_paw"], .nx [class*="EmergencyHero_wave"] { display: none !important; }

/* team photos in rounded frames instead of masks */
.nx [class*="TeamHero_photo__"] { -webkit-mask: none; mask: none; border-radius: 34px; overflow: hidden; }
.nx [class*="TeamProfile_avatar__"] { inset: 0; left: 0; top: 0; width: 100%; height: 100%; -webkit-mask: none; mask: none; border-radius: 34px; overflow: hidden; background: var(--sky-3); }
.nx [class*="TeamProfile_art__"] { --s: 1px; width: min(100%, 480px); height: auto; aspect-ratio: .94; }
.nx [class*="TeamProfile_art__"] [class*="Decor_box"] { position: absolute; inset: 0; left: 0; top: 0; width: 100%; height: 100%; }
.nx [class*="TeamProfile_art__"] img { object-fit: cover; }

/* emergency: the navy title band ends with the home page's wave */
.nx [class*="EmergencyHero_intro__"] { position: relative; }
.nx [class*="EmergencyHero_intro__"]::after { content: ""; position: absolute; left: 0; top: calc(100% - 2px); width: 100%; height: clamp(38px, 6vw, 90px); rotate: 180deg; z-index: 1;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath fill='%2379bce8' d='M0 12C200 66 460 72 720 34S1220-12 1440 36V85H0Z'/%3E%3Cpath fill='%23fedb78' d='M0 28C200 80 460 84 720 48S1220 4 1440 50V85H0Z'/%3E%3Cpath fill='%23062041' d='M0 44C200 92 460 96 720 62S1220 20 1440 64V91H0Z'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; }
.nx [class*="EmergencyHero_section__"]::before { display: none; }
.nx [class*="EmergencyHero_inner__"] { padding-top: clamp(64px, 9vw, 120px); }
.nx img[src*="/shapes/paw-"] { display: none !important; }
.nx [class*="TeamProfile_art__"] img { object-position: 50% 22%; }

/* ---------- premium type and motion (3 Dec 2026) ---------- */
/* buttons: same feel as the shared .btn */
.nx [class*="Button_btn__"] { position: relative; isolation: isolate; overflow: hidden; letter-spacing: .005em; transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s; }
.nx [class*="Button_btn__"]::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(105deg, transparent 32%, rgba(255, 255, 255, .45) 48%, transparent 64%); translate: -130% 0; transition: translate .9s var(--ease); }
.nx [class*="Button_btn__"]::after { content: ""; flex: none; width: 17px; height: 17px; margin-right: -4px; background: currentColor; transition: translate .35s var(--ease);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h13M12.500 6.500 18 12l-5.500 5.500' fill='none' stroke='black' stroke-width='2.200' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h13M12.500 6.500 18 12l-5.500 5.500' fill='none' stroke='black' stroke-width='2.200' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.nx [class*="Button_primary__"] { background: linear-gradient(180deg, #123a6b 0%, #0a2a52 50%, var(--navy) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 1px 2px rgba(6, 32, 65, .2), 0 12px 24px -14px rgba(6, 32, 65, .7); }
.nx [class*="Button_secondary__"] { background: linear-gradient(180deg, #ffe597 0%, #fdd768 55%, #f9cd52 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75), inset 0 -1px 0 rgba(176, 128, 20, .18), 0 1px 2px rgba(6, 32, 65, .1), 0 10px 22px -12px rgba(176, 128, 20, .6); }
@media (hover: hover) {
  .nx [class*="Button_btn__"]:hover { transform: translateY(-2px); }
  .nx [class*="Button_btn__"]:hover::before { translate: 130% 0; }
  .nx [class*="Button_btn__"]:hover::after { translate: 4px 0; }
  .nx [class*="Button_primary__"]:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 2px 4px rgba(6, 32, 65, .16), 0 20px 34px -16px rgba(6, 32, 65, .75); }
  .nx [class*="Button_outline__"]:hover { background: rgba(255, 255, 255, .08); }
}
.nx [class*="Button_btn__"]:active { transform: scale(.98); transition-duration: .12s; }

/* eyebrow labels ("OUR SERVICES"): no pill; spaced small capitals with a fine yellow-to-blue line that draws in */
.nx [class*="Tag_tag__"] { gap: 12px; padding: 0; border-radius: 0; background: none; color: var(--navy-2); font: 600 12px/1.3 var(--sans); letter-spacing: .2em; }
.nx [class*="Tag_tag__"]::before, .nx [class*="SectionHeading_heading__"] [class*="Tag_tag__"]::after, .nx [class*="Values_inner__"] [class*="Tag_tag__"]::after,
.nx [class*="Locations_inner__"] > [class*="Tag_tag__"]::after, .nx [class*="EmergencyHero_introInner__"] [class*="Tag_tag__"]::after {
  content: ""; flex: none; width: 30px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--yellow), var(--sky)); box-shadow: none; transform-origin: right center; }
.nx [class*="Tag_tag__"]::before { transform-origin: left center; }
.nx [class*="Tag_tag__"]::after { background: linear-gradient(90deg, var(--sky), var(--yellow)) !important; }
.nx [class*="Tag_dark__"] { background: none; color: var(--sky-2); }
.nx [class*="ServiceDetailHero_crumbText__"] { letter-spacing: .2em; font-size: 12px; }

/* reading text: lighter weight, more air, softer colour, nicer line breaks */
.nx p, .nx li { text-wrap: pretty; }
.nx :is([class*="_lead__"], [class*="_intro__"], [class*="_lede__"]) { font-weight: 400; line-height: 1.7; color: #3e4f66; letter-spacing: 0; }
.nx :is([class*="_lead__"], [class*="_intro__"]) { font-size: clamp(17px, 1.350vw, 19.5px); }
.nx :is([class*="ServiceSplit_text__"], [class*="ClinicHours_text__"], [class*="Locations_text__"], [class*="ClinicFeature_text__"], [class*="LegalPage_text__"], [class*="ServiceAreas_lede__"], [class*="Advice_cardSummary__"], [class*="ServiceHelp_body__"], [class*="ServiceCard_"] p, [class*="TeamProfile_bio__"], [class*="CallToAction_text__"], [class*="Faq_answer__"]) { font-weight: 400; line-height: 1.7; letter-spacing: 0; }
.nx :is([class*="ServiceSplit_text__"], [class*="ClinicFeature_text__"], [class*="LegalPage_text__"], [class*="TeamProfile_bio__"], [class*="ServiceAreas_lede__"], [class*="Locations_text__"], [class*="ClinicHours_text__"]) { color: #3e4f66; }
.nx :is(h1, h2, h3) { text-wrap: balance; }

/* motion: the hero text rises in on load; headings, cards and photos glide up as they scroll into view.
   Only opacity and translate are animated, so hover lifts still work. Content is always visible without support. */
@media (prefers-reduced-motion: no-preference) {
  .nx :is([class*="PageHero_copy__"], [class*="ServiceDetailHero_inner__"], [class*="TeamHero_copy__"], [class*="LegalPage_heroInner__"], [class*="BookingHero_copy__"], [class*="TeamProfile_copy__"]) > * { animation: nx-rise .9s var(--ease) both; }
  .nx :is([class*="PageHero_copy__"], [class*="ServiceDetailHero_inner__"], [class*="TeamHero_copy__"], [class*="LegalPage_heroInner__"], [class*="BookingHero_copy__"], [class*="TeamProfile_copy__"]) > :nth-child(2) { animation-delay: .08s; }
  .nx :is([class*="PageHero_copy__"], [class*="ServiceDetailHero_inner__"], [class*="TeamHero_copy__"], [class*="LegalPage_heroInner__"], [class*="BookingHero_copy__"], [class*="TeamProfile_copy__"]) > :nth-child(3) { animation-delay: .16s; }
  .nx :is([class*="PageHero_copy__"], [class*="ServiceDetailHero_inner__"], [class*="TeamHero_copy__"], [class*="LegalPage_heroInner__"], [class*="BookingHero_copy__"], [class*="TeamProfile_copy__"]) > :nth-child(n+4) { animation-delay: .24s; }
  .nx :is([class*="PageHero_art__"], [class*="ServiceDetailHero_banner__"]) { animation: nx-photo 1.1s .1s var(--ease) both; }
  @keyframes nx-rise { from { opacity: 0; translate: 0 18px; } }
  @keyframes nx-photo { from { opacity: 0; scale: .97; } }
  @supports (animation-timeline: view()) {
    .nx :is([class*="SectionHeading_block__"], [class*="ServiceSplit_copy__"], [class*="ServiceSplit_art__"], [class*="Values_item__"], [class*="ServiceHelp_item__"], [class*="Advice_card__"], [class*="ServiceCard_card__"], [class*="TeamCard_card__"], [class*="Faq_item__"], [class*="ClinicHours_card__"], [class*="CallToAction_card__"], [class*="Approach_step__"], [class*="LegalPage_section__"], [class*="ClinicHours_intro__"], [class*="Locations_inner__"] > *) {
      animation: nx-reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 38%; }
    .nx [class*="Tag_tag__"]::before, .nx [class*="Tag_tag__"]::after { animation: nx-line linear both; animation-timeline: view(); animation-range: entry 10% entry 60%; }
    @keyframes nx-reveal { from { opacity: .15; translate: 0 30px; } }
    @keyframes nx-line { from { scale: 0 1; } }
  }
}

/* area pages: the clinic photo is a full-width cover again with the old wavy bottom edge (the user likes it); the text
   sits below it in the new style. !important beats the old inline object-position on the photo. */
.nx.nx-area section:has(> [class*="ServiceDetailHero_banner__"]) { display: block; width: auto; margin: 0; padding: 0; }
.nx.nx-area [class*="ServiceDetailHero_banner__"] { position: relative; width: 100%; height: max(230px, min(calc(600 * 100vw / 1728), 640px)); aspect-ratio: auto; border-radius: 0; box-shadow: none; background: var(--sky-3); }
.nx.nx-area [class*="ServiceDetailHero_banner__"] img:not([src*="service-detail-wave"]) { object-position: 3% 52% !important; }
@media (min-width: 420px) { .nx.nx-area [class*="ServiceDetailHero_banner__"] img:not([src*="service-detail-wave"]) { object-position: 22% 52% !important; } }
.nx.nx-area img[src*="service-detail-wave"] { display: block !important; position: absolute; inset: auto 0 -1px; width: 100%; height: auto; object-fit: fill; }
.nx.nx-area [class*="ServiceDetailHero_inner__"] { width: min(1320px, 100% - 2 * var(--gutter)); margin: 0 auto; padding: 18px 0 40px; }
@media (min-width: 700px) { .nx.nx-area [class*="ServiceDetailHero_banner__"] img:not([src*="service-detail-wave"]) { object-position: 50% 34% !important; } }
@media (min-width: 1000px) {
  .nx.nx-area [class*="ServiceDetailHero_inner__"] { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: start; column-gap: 64px; row-gap: 22px; padding: 28px 0 56px; }
  .nx.nx-area [class*="ServiceDetailHero_heading__"] { grid-row: 1 / span 2; }
  .nx.nx-area [class*="ServiceDetailHero_inner__"] > a { grid-column: 2; justify-self: start; }
}
