@font-face {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
    src: url('../fonts/open-sans-latin.woff2') format('woff2');
}

:root {
    --navy: #12324a;
    --teal: #087e86;
    --muted: #586d77;
    --line: #dce6e8;
    --pale: #f0f6f6;
    font-family: 'Open Sans', Arial, sans-serif;
    color: var(--navy);
    background: #fff;
    font-synthesis: none;
    color-scheme: light;
    line-height: 1.7;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; display: flex; flex-direction: column; }
main { flex: 1; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 3px solid #ce9332; outline-offset: 6px; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
.wrap { width: min(1240px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; top: -100px; left: 20px; padding: 12px 18px; background: var(--navy); color: #fff; z-index: 20; }
.skip-link:focus { top: 15px; }

/* Shared navigation */
.site-header { min-height: 102px; display: flex; align-items: center; gap: 34px; }
.brand { display: inline-flex; align-items: center; gap: 12px; line-height: 1.15; flex-shrink: 0; }
.brand > span { font-size: 23px; font-weight: 800; letter-spacing: 2px; }
.brand small { display: block; font-size: 8px; font-weight: 600; letter-spacing: 3.8px; margin-top: 8px; }
.primary-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; font-size: 13px; font-weight: 600; }
.primary-nav a { padding-block: 12px; white-space: nowrap; position: relative; }
.primary-nav a:hover, .primary-nav a[aria-current=page] { color: var(--teal); }
.primary-nav a[aria-current=page]::after { content: ''; position: absolute; bottom: 3px; left: 0; width: 18px; height: 2px; background: var(--teal); }
.header-contact { display: inline-flex; align-items: center; gap: 20px; border-left: 1px solid var(--line); padding-left: 32px; font-size: 13px; font-weight: 700; white-space: nowrap; }
.header-contact span { color: var(--teal); font-size: 22px; }
.header-contact:hover { color: var(--teal); }

/* Typography and actions */
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-weight: 600; }
h1 { font-size: clamp(48px, 4.9vw, 72px); letter-spacing: -.04em; line-height: 1.15; margin-bottom: 26px; }
h1 span { color: var(--teal); }
h2 { font-size: 32px; letter-spacing: -.045em; line-height: 1.25; margin-bottom: 20px; }
h3 { font-size: 17px; line-height: 1.4; letter-spacing: -.025em; margin-bottom: 8px; }
.eyebrow { color: var(--teal); font-size: 11px; font-weight: 800; letter-spacing: .15em; line-height: 1.6; margin-bottom: 24px; }
.lead { font-size: 20px; letter-spacing: -.025em; line-height: 1.65; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 38px; padding: 15px 24px; min-height: 54px; background: var(--teal); color: #fff; border: 1px solid var(--teal); border-radius: 4px; font-size: 14px; font-weight: 700; transition: background .15s; }
.button span { font-size: 21px; line-height: 1; }
.button:hover { background: #06656c; border-color: #06656c; }
.text-link { display: inline-flex; align-items: center; gap: 12px; font-size: 13px; font-weight: 700; color: var(--teal); }
.text-link:hover { text-decoration: underline; text-underline-offset: 5px; }
.text-link span { font-size: 20px; line-height: 1; }
.photo-note { color: var(--muted); font-size: 11px; line-height: 1.6; margin: 16px 0 0; }

/* Home: header and hero share the first viewport; the footer follows. */
.home-screen { height: 100vh; height: 100dvh; display: grid; grid-template-rows: auto minmax(0, 1fr); }
.home-screen > main { display: grid; min-height: 0; }
.hero { display: grid; min-height: 0; background: var(--pale); }
.hero-grid { display: grid; grid-template-columns: .82fr 1.18fr; grid-template-rows: minmax(0, 1fr); align-items: center; min-height: 0; gap: 60px; padding-block: clamp(24px, 5dvh, 64px); }
.hero-copy { min-width: 0; }
.hero h1 { font-size: clamp(42px, 4.2vw, 62px); max-width: 520px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; }
.hero-visual { height: 100%; max-height: 720px; min-height: 0; overflow: hidden; border: 7px solid #fff; border-radius: 85px 10px 85px 10px; background: #fff; }
.hero-visual img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.equipment-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px 22px; }
.gallery-image { aspect-ratio: 1.45; overflow: hidden; border-radius: 5px; background: var(--pale); }
.gallery-image img { width: 100%; height: 100%; object-fit: cover; }
.gallery-image--clinical img { object-position: 50% 38%; }
.gallery-image--monitoring img { object-position: 50% 70%; }
.gallery-image--needles img { object-position: 50% 58%; }
.equipment-gallery figcaption { font-size: 15px; font-weight: 600; padding-top: 15px; letter-spacing: -.015em; }

/* About: one concise introduction with an equipment photo composition. */
.about-page { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: center; padding-block: 56px 64px; }
.about-copy h1 { margin-bottom: 24px; }
.about-copy .lead { margin-bottom: 16px; }
.about-copy > p:not(.eyebrow):not(.lead) { color: var(--muted); font-size: 15px; line-height: 1.9; margin-bottom: 28px; max-width: 410px; }
.photo-mosaic { display: grid; grid-template-columns: 1fr .85fr; grid-template-rows: 230px 230px; gap: 16px; }
.photo-mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: 5px; }
.photo-mosaic .mosaic-tall { grid-row: 1 / 3; border-top-left-radius: 60px; object-position: 50% 50%; }
.photo-mosaic img:last-child { border-bottom-right-radius: 60px; }

/* Equipment gallery. */
.equipment-page { padding-block: 45px 56px; }
.page-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: end; margin-bottom: 36px; }
.page-intro h1 { font-size: 53px; margin: 0; }
.page-intro .eyebrow { margin-bottom: 18px; }
.page-intro > p { max-width: 380px; color: var(--muted); font-size: 15px; margin-bottom: 6px; justify-self: end; }
.page-intro > .button { justify-self: end; align-self: center; }
.equipment-page .gallery-image { aspect-ratio: 1.2; }

/* Contact details and an interactive Google map. */
.contact-page { display: grid; grid-template-columns: .92fr 1.08fr; gap: 70px; align-items: center; padding-block: 56px 64px; }
.contact-copy h1 { margin-bottom: 26px; }
.contact-number { display: block; width: fit-content; color: var(--teal); font-size: clamp(26px, 2.7vw, 37px); letter-spacing: -.04em; font-weight: 600; line-height: 1.5; white-space: nowrap; }
.contact-number:hover { text-decoration: underline; text-underline-offset: 7px; }
.contact-info { margin: 0 0 30px; }
.contact-info > div { margin-bottom: 22px; }
.contact-info dt { font-size: 11px; font-weight: 700; letter-spacing: .06em; color: var(--muted); margin-bottom: 6px; }
.contact-info dd { margin: 0; font-size: 15px; line-height: 1.8; }
.contact-info address { font-style: normal; }
.contact-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; }
.location-map { height: 520px; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: var(--pale); }
.location-map iframe { display: block; border: 0; width: 100%; height: 100%; }

/* A compact footer replaces the separate contact strip. */
.site-footer { background: var(--navy); color: #fff; }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-block: 32px; }
.footer-brand { color: #fff; }
.footer-brand > span { font-size: 20px; }
.footer-brand small { font-size: 7px; letter-spacing: 3.35px; }
.footer-brand img { background: #fff; border-radius: 6px; padding: 3px; }
.footer-main nav { display: flex; flex-wrap: wrap; gap: 25px; font-size: 12px; color: #d2e0e7; }
.footer-main nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
.footer-phone { font-size: 17px; font-weight: 600; letter-spacing: -.02em; }
.footer-phone small { display: block; color: #b9cfd9; font-size: 10px; font-weight: 400; letter-spacing: .02em; margin-bottom: 3px; }
.footer-phone > span { color: #87d1d5; padding-left: 10px; }
.footer-phone:hover { text-decoration: underline; text-underline-offset: 5px; }
.footer-bottom { border-top: 1px solid #ffffff22; color: #b9cfd9; font-size: 11px; padding-block: 17px; }
.error-page { padding-block: 80px; max-width: 700px; min-height: 55vh; }
.error-page h1 { font-size: 46px; }
.error-page > p { color: var(--muted); margin-bottom: 30px; }

@media (max-width: 1100px) {
    .wrap { width: calc(100% - 64px); }
    .site-header { gap: 23px; }
    .primary-nav { gap: 22px; font-size: 12px; }
    .header-contact { padding-left: 23px; gap: 14px; font-size: 12px; }
    .brand > span { font-size: 21px; }
    .brand small { font-size: 7px; letter-spacing: 3.5px; }
    .hero-grid { gap: 38px; }
    .hero-visual { border-radius: 65px 10px 65px 10px; }
    .hero h1 { font-size: 48px; }
    .hero-actions { gap: 20px; }
    .about-page { gap: 50px; }
    .photo-mosaic { grid-template-rows: 210px 210px; gap: 12px; }
    .contact-page { gap: 45px; }
    .footer-main { gap: 24px; }
    .footer-main nav { gap: 18px; }
    .footer-phone { font-size: 15px; }
}

@media (max-width: 850px) {
    .site-header { min-height: 90px; gap: 20px; }
    .brand > span { font-size: 18px; letter-spacing: 1.5px; }
    .brand small { font-size: 6px; letter-spacing: 3px; }
    .brand > img { width: 36px; height: 36px; }
    .primary-nav { gap: 16px; }
    .header-contact { padding-left: 17px; gap: 9px; }
    .hero-grid { gap: 25px; }
    .hero h1 { font-size: 42px; }
    .hero-actions { align-items: flex-start; flex-direction: column; gap: 16px; }
    .eyebrow { font-size: 10px; }
    .equipment-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 25px 18px; }
    .equipment-gallery figcaption { font-size: 13px; }
    .about-page { gap: 32px; }
    .about-page h1 { font-size: 49px; }
    .about-copy > p:not(.eyebrow):not(.lead) { font-size: 14px; }
    .photo-mosaic { grid-template-rows: 190px 190px; }
    .page-intro h1 { font-size: 46px; }
    .page-intro > p { font-size: 14px; }
    .contact-page { gap: 32px; }
    .contact-copy h1 { font-size: 54px; }
    .location-map { height: 480px; }
    .contact-number { font-size: 27px; }
    .footer-main { flex-wrap: wrap; }
    .footer-main nav { margin-left: auto; }
    .footer-phone { width: 100%; }
}

@media (max-width: 700px) {
    .wrap { width: calc(100% - 40px); }
    .site-header { min-height: 0; flex-wrap: wrap; justify-content: space-between; gap: 17px; padding-block: 21px 12px; }
    .brand { gap: 10px; }
    .brand > span { font-size: 20px; letter-spacing: 1.4px; }
    .brand small { font-size: 7px; letter-spacing: 3px; margin-top: 7px; }
    .header-contact { border: 0; padding: 0; margin-left: auto; font-size: 12px; gap: 8px; }
    .header-contact span { font-size: 20px; }
    .primary-nav { order: 3; width: 100%; margin: 0; padding-top: 5px; border-top: 1px solid var(--line); justify-content: space-between; font-size: 12px; gap: 16px; }
    .primary-nav a { padding-block: 8px; }
    .primary-nav a[aria-current=page]::after { bottom: 0; }
    h1 { font-size: 51px; letter-spacing: -.05em; }
    h2 { font-size: 28px; }
    .eyebrow { font-size: 10px; margin-bottom: 20px; letter-spacing: .12em; }
    .button { min-height: 51px; padding: 13px 21px; gap: 32px; font-size: 13px; }
    .text-link { font-size: 12px; gap: 9px; }
    .photo-note { font-size: 10px; margin-top: 13px; }
    .hero-grid { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); padding-block: clamp(16px, 3dvh, 32px); gap: clamp(14px, 3dvh, 28px); }
    .hero-copy { padding: 0; }
    .hero .eyebrow { margin-bottom: 16px; }
    .hero h1 { font-size: clamp(30px, 4.7dvh, 50px); max-width: 460px; margin-bottom: 20px; }
    .hero-actions { flex-direction: row; align-items: center; gap: 20px; }
    .hero-visual { max-height: none; border-width: 5px; border-radius: 50px 8px 50px 8px; }
    .equipment-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 14px; }
    .gallery-image, .equipment-page .gallery-image { aspect-ratio: 1.12; }
    .equipment-gallery figcaption { font-size: 12px; padding-top: 10px; line-height: 1.5; }
    .about-page { grid-template-columns: 1fr; gap: 32px; padding-block: 35px 38px; }
    .about-page h1 { font-size: 53px; }
    .about-copy .lead { font-size: 20px; }
    .about-copy > p:not(.eyebrow):not(.lead) { font-size: 14px; max-width: none; margin-bottom: 24px; }
    .photo-mosaic { grid-template-rows: 165px 165px; gap: 12px; }
    .photo-mosaic .mosaic-tall { border-top-left-radius: 40px; }
    .photo-mosaic img:last-child { border-bottom-right-radius: 40px; }
    .equipment-page { padding-block: 32px 38px; }
    .page-intro { grid-template-columns: 1fr; gap: 20px; margin-bottom: 27px; }
    .page-intro h1 { font-size: 47px; }
    .page-intro > p { justify-self: start; font-size: 14px; margin-bottom: 0; }
    .page-intro > .button { justify-self: start; }
    .contact-page { grid-template-columns: 1fr; padding-block: 35px 38px; gap: 35px; }
    .contact-copy h1 { font-size: 57px; margin-bottom: 20px; }
    .contact-number { font-size: 32px; }
    .contact-info dd { font-size: 14px; }
    .contact-info > div { margin-bottom: 20px; }
    .contact-actions { gap: 18px; }
    .location-map { height: 360px; }
    .footer-main { display: grid; grid-template-columns: 1fr; gap: 24px; padding-block: 29px; }
    .footer-brand > span { font-size: 20px; }
    .footer-brand small { font-size: 7px; letter-spacing: 3px; }
    .footer-main nav { gap: 27px; margin-left: 0; font-size: 12px; }
    .footer-phone { font-size: 18px; }
    .footer-phone small { font-size: 10px; }
    .footer-bottom { font-size: 10px; padding-block: 16px; }
    .error-page { padding-block: 45px; }
    .error-page h1 { font-size: 38px; }
}

@media (max-width: 350px) {
    .brand > span { font-size: 17px; }
    .brand small { font-size: 6px; letter-spacing: 2.6px; }
    .brand > img { width: 30px; height: 30px; }
    .header-contact { font-size: 11px; gap: 5px; }
    .primary-nav { gap: 10px; font-size: 11px; }
    .hero-actions { gap: 16px; }
    .hero-actions .text-link { font-size: 11px; }
    .about-page h1 { font-size: 48px; }
    .page-intro h1 { font-size: 41px; }
    .photo-mosaic { grid-template-rows: 140px 140px; gap: 9px; }
    .contact-number { font-size: 28px; }
}

@media (min-width: 701px) and (max-width: 900px) and (orientation: portrait) {
    .hero-grid { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); padding-block: 32px; gap: 28px; }
    .hero .eyebrow { margin-bottom: 16px; }
    .hero h1 { font-size: clamp(36px, 5dvh, 54px); margin-bottom: 20px; }
    .hero-actions { flex-direction: row; }
    .hero-visual { max-height: none; }
}

@media (max-height: 600px) and (orientation: landscape) {
    .home-screen .site-header { min-height: 64px; padding-block: 10px 8px; row-gap: 8px; }
    .hero-grid { grid-template-columns: .9fr 1.1fr; grid-template-rows: minmax(0, 1fr); gap: 24px; padding-block: 12px; }
    .hero .eyebrow { font-size: 9px; margin-bottom: 10px; }
    .hero h1 { font-size: clamp(24px, 7dvh, 40px); margin-bottom: 14px; }
    .hero .button { min-height: 44px; padding: 10px 18px; font-size: 12px; }
    .hero-visual { border-radius: 35px 8px 35px 8px; }
}

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
