/* Layout refinements, loaded after the base and photograph styles. */
.header .nav-row {
  min-height: 84px;
}
.header nav {
  gap: 24px;
}
.header nav > a {
  white-space: nowrap;
}
.page-hero {
  padding-block: 60px;
}
.page-hero h1 {
  font-size: clamp(2.5rem, 4vw, 3.8rem);
  letter-spacing: -.045em;
}
.page-hero .lead {
  font-size: 1.125rem;
  line-height: 1.65;
  margin-top: 22px;
}
.sector-sidebar {
  position: sticky;
  top: 108px;
  padding: 22px;
  background: var(--soft);
  border-radius: var(--radius);
}
.sector-sidebar .eyebrow {
  margin-bottom: 18px;
}
.sector-sidebar a {
  min-height: 44px;
  padding-block: 12px;
  line-height: 1.5;
}
.contact-page-grid h2 {
  font-size: 1.65rem;
  line-height: 1.3;
}
.contact-page-grid .eyebrow {
  margin-bottom: 14px;
}
.contact-page-grid .form-intro {
  max-width: 58ch;
  line-height: 1.7;
}
.contact-page-grid .contact-note {
  line-height: 1.75;
}
.division-laboratory img,
.laboratory-category-photo img {
  object-fit: contain;
  object-position: center;
  padding: 12px;
  background: var(--soft);
}
.division-imaging-photo img {
  object-position: center 22%;
}
.dental-service-photo.dental-handpiece-repair {
  --photo-zoom: 1.06;
}
.imaging-opg {
  --imaging-photo-zoom: 1;
}
.imaging-opg img {
  object-position: center 22%;
}

/* The homepage keeps detailed service descriptions on their own pages. */
.home-page main > .section {
  padding-block: 80px;
}
.home-page main > section > .container,
.home-page .hero-copy,
.home-page .home-sector-copy {
  min-width: 0;
}
.home-page h2 {
  font-size: clamp(2rem, 3vw, 2.8rem);
}
.home-page .eyebrow {
  margin-bottom: 18px;
}
.home-page .section-heading {
  gap: 36px;
  margin-bottom: 34px;
}
.home-page .section-heading > p {
  max-width: 36ch;
}
.home-hero {
  padding-block: 52px 60px;
}
.home-hero .hero-grid {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: 60px;
}
.home-hero h1 {
  font-size: clamp(2.75rem, 4.2vw, 4.25rem);
}
.home-hero .hero-image {
  height: 520px;
}
.home-hero .lead {
  margin-top: 24px;
}
.home-hero .hero-foot {
  margin-top: 32px;
}
.home-page .service-strip span {
  padding-block: 19px;
}
.home-page .home-sectors-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px;
  border: 0;
}
.home-page .home-sector-card {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-width: 0;
}
.home-page .home-sector-card:nth-child(n + 4) {
  grid-column: span 3;
}
.home-page .home-sector-card .division-photo {
  order: -1;
  flex: 0 0 auto;
  height: 216px;
  aspect-ratio: auto;
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--soft);
}
.home-page .home-sector-copy {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 25px 26px 27px;
}
.home-page .home-sector-card .division-top {
  padding-bottom: 16px;
  gap: 14px;
  align-items: center;
}
.home-page .home-sector-card .division-number {
  font-size: .875rem;
}
.home-page .home-sector-card .division-label {
  font-size: .75rem;
  line-height: 1.45;
}
.home-page .home-sector-card h3 {
  font-size: 1.4rem;
  line-height: 1.3;
  min-height: 2.6em;
  max-width: 26ch;
}
.home-page .home-sector-card p {
  margin-top: 13px;
  font-size: .9375rem;
  line-height: 1.65;
  max-width: 48ch;
}
.home-page .home-sector-card .text-link {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  min-height: 44px;
  margin-top: auto;
  padding-top: 20px;
  line-height: 1.5;
}
.home-page .home-about {
  background: var(--soft);
  border-block: 1px solid var(--line);
}
.home-page .home-about-layout {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr);
  align-items: start;
  gap: 88px;
}
.home-about-heading h2 {
  max-width: 14ch;
}
.home-about-experience {
  margin-top: 32px;
  padding-left: 20px;
  border-left: 2px solid var(--accent);
}
.home-about-experience p {
  font-size: 2rem;
  font-weight: 550;
  letter-spacing: -.04em;
  line-height: 1.2;
}
.home-about-experience span {
  display: block;
  margin-top: 8px;
  font-size: .875rem;
  color: var(--muted);
}
.home-page .home-about-copy > p {
  max-width: 64ch;
  margin-bottom: 20px;
  color: var(--muted);
  line-height: 1.75;
}
.home-about-education {
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid #ccd8df;
}
.home-about-education h3 {
  font-size: 1.125rem;
  line-height: 1.4;
  letter-spacing: -.02em;
}
.home-about-education p {
  margin-top: 12px;
  font-size: .9375rem;
  color: var(--muted);
  line-height: 1.7;
}
.home-page .home-testing {
  padding-block: 64px;
  background: var(--paper);
}
.home-testing .feature-layout {
  align-items: start;
  gap: 72px;
}
.home-testing h2 {
  max-width: 20ch;
}
.home-testing .text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.home-page main > .home-process {
  padding-top: 24px;
  border-bottom: 1px solid var(--line);
}
.home-process .partner-steps {
  gap: 38px;
}
.home-process .partner-steps li {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.home-process .partner-steps h3 {
  font-size: 1.2rem;
}
.home-process .partner-steps p {
  font-size: .9375rem;
  line-height: 1.7;
}
.home-partnerships .partnership-teaser {
  gap: 80px;
}
.home-partnerships .teaser-aside {
  padding-left: 28px;
  font-size: 1.3rem;
  gap: 16px;
}
.home-partnerships .teaser-aside span:last-child {
  font-size: 1rem;
  line-height: 1.65;
}
.home-page .home-contact-cta {
  padding-block: 48px;
}
.home-page .home-contact-cta h2 {
  font-size: clamp(1.8rem, 2.5vw, 2.4rem);
}

/* The full navigation needs more space than the old 1000px breakpoint. */
@media (max-width: 1200px) {
  .header .nav-row {
    min-height: 76px;
    flex-wrap: wrap;
    gap: 16px;
  }
  .header .menu-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 6px 0 6px 12px;
    background: transparent;
    border: 0;
    color: var(--ink);
    cursor: pointer;
    font-size: .9375rem;
  }
  .header nav {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding-bottom: 16px;
  }
  .header nav > a {
    padding: 13px 0;
    white-space: normal;
  }
  .header nav .button {
    margin-top: 8px;
  }
  .js .header nav {
    display: none;
  }
  .js .header nav.is-open {
    display: flex;
  }
  .home-hero .hero-grid {
    gap: 36px;
  }
  .home-hero .hero-image {
    height: 470px;
  }
  .home-page .home-about-layout,
  .home-testing .feature-layout,
  .home-partnerships .partnership-teaser {
    gap: 44px;
  }
  .home-page .home-sector-copy {
    padding-inline: 22px;
  }
}
@media (max-width: 1000px) {
  .home-page .home-sectors-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .home-page .home-sector-card,
  .home-page .home-sector-card:nth-child(n + 4) {
    grid-column: auto;
  }
  .home-page .home-sector-card:last-child {
    grid-column: 1 / -1;
  }
  .home-page .home-sector-card:last-child h3 {
    min-height: 0;
  }
}
@media (max-width: 900px) {
  .home-hero .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .home-hero .hero-copy {
    max-width: 680px;
  }
  .home-hero h1 {
    font-size: clamp(2.75rem, 6vw, 3.75rem);
  }
  .home-hero .hero-image {
    height: 390px;
  }
}
@media (max-width: 800px) {
  .page-hero {
    padding-block: 44px;
  }
  .page-hero h1 {
    font-size: clamp(2.2rem, 5.8vw, 3.2rem);
  }
  .sector-sidebar {
    position: static;
    padding: 18px 20px;
  }
  .sector-sidebar .eyebrow {
    margin-bottom: 4px;
  }
  .sector-sidebar a {
    min-height: 40px;
    padding-block: 8px;
  }
  .home-page main > .section {
    padding-block: 60px;
  }
  .home-page .home-about-layout,
  .home-testing .feature-layout,
  .home-partnerships .partnership-teaser {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .home-about-heading h2 {
    max-width: none;
  }
  .home-about-experience {
    margin-top: 24px;
  }
  .home-page .home-testing {
    padding-block: 54px;
  }
  .home-page main > .home-process {
    padding-top: 10px;
  }
  .home-process .partner-steps {
    gap: 28px;
  }
}
@media (max-width: 620px) {
  .home-hero {
    padding-block: 34px 40px;
  }
  .home-hero h1 {
    font-size: clamp(2.2rem, 9.3vw, 2.9rem);
  }
  .home-hero .hero-image {
    height: 310px;
  }
  .home-hero .hero-actions {
    gap: 20px;
  }
  .home-hero .hero-foot {
    gap: 12px 16px;
    font-size: .75rem;
  }
  .home-page .service-strip span {
    padding: 16px 8px;
    font-size: .75rem;
  }
  .home-page .home-sectors-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .home-page .home-sector-card:last-child {
    grid-column: auto;
  }
  .home-page .home-sector-card .division-photo {
    height: 216px;
  }
  .home-page .home-sector-card h3 {
    min-height: 0;
    max-width: none;
  }
  .home-page .home-sector-copy {
    padding: 22px;
  }
  .home-page .home-sector-card .text-link {
    padding-top: 16px;
  }
  .home-page .section-heading {
    margin-bottom: 28px;
  }
  .home-page .section-heading > p {
    margin-top: 16px;
  }
  .home-testing h2 br {
    display: none;
  }
  .home-page .home-contact-cta {
    padding-block: 40px;
  }
}

/* Licensed photographs: preserve the real equipment and use framing only. */
.hero-image img[src*="licensed-autoclave-"] {
  object-position: center 72%;
}
.dental-service-photo.dental-validation img[src*="licensed-autoclave-"],
.validation-photo.dental-validation img[src*="licensed-autoclave-"] {
  object-position: center 76%;
}
.dental-service-photo.autoclave-validation-edited,
.validation-photo.autoclave-validation-edited {
  --photo-zoom: 1;
  --photo-origin: 50% 50%;
}
.dental-service-photo.autoclave-validation-edited img,
.validation-photo.autoclave-validation-edited img {
  object-fit: cover;
  object-position: center top;
}
.validation-photo.autoclave-validation-edited img {
  object-position: 60% top;
}
.division-aesthetic img[src*="licensed-aesthetic-"],
.aesthetic-category-photo img[src*="licensed-aesthetic-"] {
  object-position: center 55%;
}
.footer-bottom > a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.photo-credits-intro {
  max-width: 72ch;
  color: var(--muted);
  margin-bottom: 36px;
}
.photo-credits-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
}
.photo-credit img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 72%;
  border-radius: var(--radius);
  margin-bottom: 24px;
}
.photo-credit h2 {
  font-size: 1.65rem;
}
.photo-credit p {
  margin-top: 14px;
  color: var(--muted);
}
.photo-credit a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
@media (max-width: 620px) {
  .photo-credits-grid {
    grid-template-columns: 1fr;
  }
}

/* Different photographs for imaging overview, service work and OPG. */
.home-page .division-imaging-photo img[src*="dental-opg-"] {
  object-position: center 48%;
}
.imaging-opg img[src*="field-imaging-opg-"] {
  object-position: center 42%;
}

/* Real micromotor parts, with transparent backgrounds and complete framing. */
.detail-services .salon-micromotor-service {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  gap: 28px;
  align-items: center;
  padding: 24px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.salon-micromotor-photo {
  display: block;
  aspect-ratio: 4 / 3;
  min-width: 0;
}
.salon-micromotor-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.detail-services .aesthetic-service-availability {
  grid-column: 1 / -1;
}
@media (max-width: 620px) {
  .detail-services .salon-micromotor-service {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 20px;
  }
}

/* Let the enquiry form follow its generated automatic height. */
.contact-page-grid > *,
.zoho-enquiry-embed {
  min-width: 0;
}
.zoho-enquiry-embed {
  width: 100%;
}
.zoho-enquiry-embed iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 0;
}
.zoho-form-fallback {
  margin-top: 22px;
}

/* Each overview card has one primary link and specific service links. */
.division-linked {
  position: relative;
  transition: background .18s, border-color .18s;
}
.sector-card-title::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: var(--radius);
}
.division-linked:hover,
.division-linked:focus-within {
  border-color: var(--accent);
  background: #f7f9fa;
}
.sector-card-title:hover,
.sector-card-title:focus-visible,
.section-title-link:hover h2,
.section-title-link:focus-visible h2,
.service-heading-link:hover,
.service-heading-link:focus-visible {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}
.sector-card-title:focus-visible {
  outline: none;
}
.sector-card-title:focus-visible::after {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
.card-arrow {
  display: inline-block;
  margin-left: 9px;
  color: var(--accent);
  font-weight: 500;
}
.inline-service-link,
.form-privacy-note a,
.privacy-copy a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.division-linked .inline-service-link {
  position: relative;
  z-index: 2;
}
.inline-service-link:hover,
.form-privacy-note a:hover,
.privacy-copy a:hover {
  color: var(--accent);
}
.section-title-link {
  display: block;
}
.service-strip a {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 19px 10px;
  font-size: .875rem;
  font-weight: 600;
  text-align: center;
}
.service-strip a + a {
  border-left: 1px solid var(--line);
}
.service-strip a:hover {
  background: var(--soft);
  color: var(--accent);
}
.home-page .home-sector-card h3 {
  min-height: 0;
}
.home-partnerships .partnership-teaser {
  display: block;
}
.home-partnerships .partnership-teaser > div {
  max-width: 820px;
}
.home-partnerships .partnership-teaser > div > p:not(.eyebrow) {
  max-width: 65ch;
}

/* Other sectors remain available without delaying the current page on mobile. */
.sector-sidebar nav {
  display: block;
}
.sector-sidebar [hidden] {
  display: none !important;
}
.sector-toggle {
  width: 100%;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font: inherit;
  font-size: .9375rem;
  font-weight: 600;
  cursor: pointer;
}
.sector-toggle span {
  font-size: 1.4rem;
  color: var(--accent);
}
.sector-toggle[aria-expanded="true"] span {
  transform: rotate(45deg);
}
#enquiry,
.validation-services article[id],
.medical-equipment-grid,
#interventions,
#installation,
#handpiece-repairs {
  scroll-margin-top: 24px;
}
.contact-hours {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.contact-hours h3 {
  font-size: 1rem;
  line-height: 1.4;
}
.contact-hours dl {
  margin: 12px 0 0;
  font-size: .875rem;
}
.contact-hours dl > div {
  margin-top: 10px;
}
.contact-hours dt {
  font-weight: 600;
}
.contact-hours dd {
  margin: 3px 0 0;
  color: var(--muted);
}
.contact-hours > p {
  margin-top: 12px;
  font-size: .8125rem;
  color: var(--muted);
}
.form-privacy-note {
  margin-block: 18px 24px;
  padding-left: 15px;
  border-left: 2px solid var(--accent);
  max-width: 65ch;
  font-size: .875rem;
  line-height: 1.7;
  color: var(--muted);
}
.privacy-copy {
  max-width: 850px;
}
.privacy-copy section + section {
  margin-top: 38px;
}
.privacy-copy h2 {
  font-size: 1.6rem;
  line-height: 1.3;
  margin-bottom: 14px;
}
.privacy-copy p,
.privacy-copy li {
  color: var(--muted);
  line-height: 1.75;
}
.privacy-copy p + p {
  margin-top: 14px;
}
.privacy-copy ul {
  padding-left: 24px;
}
.privacy-copy li + li {
  margin-top: 8px;
}
.privacy-updated {
  margin-top: 18px;
  font-size: .875rem;
  color: var(--muted);
}
.footer-hours {
  margin-top: 10px;
  max-width: 260px;
  font-size: .8125rem;
  line-height: 1.65;
  color: var(--muted);
}
.footer-hours span {
  display: block;
}
.medical-equipment-heading { margin-bottom: 28px; }
.medical-equipment-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px;
}
.medical-equipment-card { min-width: 0; }
.medical-equipment-photo {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--soft);
  margin-bottom: 20px;
}
.medical-equipment-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.medical-equipment-card h3 { font-size: 1.5rem; }
.medical-equipment-card p { margin-top: 12px; color: var(--muted); }
.medical-equipment-card .text-link,
.medical-service-options .text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 14px;
}
.medical-equipment-card h3 a:hover { color: var(--accent); }
.medical-service-summary {
  margin-top: 40px;
  padding: 24px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.medical-service-summary h2 { font-size: 1.65rem; }
.medical-service-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 24px;
}
.medical-service-options h3 { font-size: 1.15rem; }
.medical-service-options p {
  margin-top: 8px;
  font-size: .9375rem;
  color: var(--muted);
}
.about-intro-copy > p:not(.eyebrow):not(.lead) {
  color: var(--muted);
  margin-top: 20px;
  line-height: 1.75;
}
.about-timeline {
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 1050px;
}
.about-timeline li {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  column-gap: 32px;
  row-gap: 10px;
  padding-block: 26px;
  border-top: 1px solid var(--line);
}
.about-timeline li > span {
  grid-column: 1;
  grid-row: 1 / span 2;
  margin-bottom: 0;
}
.about-timeline h3,
.about-timeline p {
  grid-column: 2;
}
.about-timeline p {
  margin-top: 0;
}
.about-education {
  max-width: 900px;
  margin-top: 38px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .division-linked { transition: none; }
}
@media (max-width: 800px) {
  .about-timeline li {
    display: block;
  }
  .about-timeline li > span {
    margin-bottom: 18px;
  }
  .about-timeline p {
    margin-top: 13px;
  }
  .sector-sidebar {
    display: block;
    padding: 12px 20px;
  }
  .sector-sidebar nav {
    margin-top: 8px;
    padding-top: 6px;
    border-top: 1px solid var(--line);
  }
  .home-page main > .section {
    padding-block: 48px;
  }
  .home-page main > .home-process {
    padding-top: 8px;
  }
}
@media (max-width: 620px) {
  .medical-equipment-grid,
  .medical-service-options {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .medical-service-summary { padding: 20px; }
  .service-strip a {
    padding: 16px 8px;
    font-size: .75rem;
  }
  .topline .container {
    gap: 10px;
  }
  .topline .container > a {
    white-space: nowrap;
  }
}


/* Registered company information */
.company-details-list {
  margin: 0;
  border-top: 1px solid var(--line);
}
.company-details-list > div {
  display: grid;
  grid-template-columns: minmax(180px, .8fr) minmax(0, 1.7fr);
  gap: 24px;
  padding-block: 18px;
  border-bottom: 1px solid var(--line);
}
.company-details-list dt {
  color: var(--muted);
  font-size: .9375rem;
}
.company-details-list dd {
  margin: 0;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.company-address {
  font-style: normal;
  line-height: 1.8;
}
@media (max-width: 620px) {
  .company-details-list > div {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
}

/* Legal links sit quietly beside the copyright, apart from service navigation. */
.footer-bottom {
  align-items: center;
  flex-wrap: wrap;
  column-gap: 32px;
  row-gap: 12px;
}
.footer-copyright {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
}
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 20px;
  font-size: .75rem;
}
.footer-legal a {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.footer-legal a:hover { color: var(--ink); }
@media (max-width: 620px) {
  .footer-bottom { align-items: flex-start; gap: 12px; }
  .footer-copyright { flex-direction: column; align-items: flex-start; gap: 4px; }
  .footer-legal { gap: 4px 24px; }
  .footer-legal a { min-height: 44px; }
}

/* Keep the mobile homepage introduction focused on its main heading. */
@media (max-width: 620px) {
  .home-hero .hero-copy > .eyebrow { display: none; }
}
