:root{
  --ink:#2d292b;
  --black:#111;
  --teal:#10a7ad;
  --teal-dark:#087c82;
  --teal-soft:#e8f7f7;
  --white:#fff;
  --surface:#f7f8f8;
  --grey:#666;
  --border:#dedfdf;
  --success:#186a46;
}

*{box-sizing:border-box}

html{scroll-behavior:smooth}

body{
  margin:0;
  font-family:Arial,Helvetica,sans-serif;
  color:var(--ink);
  background:#fff;
  line-height:1.55;
}

a{color:inherit}

.wrap{
  width:min(1180px,calc(100% - 36px));
  margin:auto;
}

header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,.97);
  border-bottom:1px solid var(--border);
}

.nav{
  min-height:82px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
}

.logo{
  text-decoration:none;
  font-size:22px;
  font-weight:900;
  letter-spacing:-.03em;
}

.logo span{color:var(--teal-dark)}

.menu{
  display:flex;
  align-items:center;
  gap:20px;
}

.menu a{
  text-decoration:none;
  font-size:14px;
  font-weight:750;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:46px;
  padding:11px 20px;
  border-radius:999px;
  border:1px solid var(--ink);
  text-decoration:none;
  font-weight:800;
}

.btn-primary{
  color:#fff;
  background:var(--teal);
  border-color:var(--teal);
}

.btn-dark{
  color:#fff;
  background:#111;
}

.btn-light{background:#fff}

.hero{padding:78px 0 68px}

.hero-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:60px;
  align-items:center;
}

.eyebrow{
  color:var(--teal-dark);
  font-size:12px;
  font-weight:900;
  letter-spacing:.14em;
  text-transform:uppercase;
}

h1{
  margin:15px 0 22px;
  font-size:clamp(44px,6vw,78px);
  line-height:.98;
  letter-spacing:-.048em;
}

h2{
  font-size:clamp(30px,4vw,48px);
  line-height:1.05;
  letter-spacing:-.035em;
}

.lead{
  max-width:760px;
  font-size:19px;
  color:#444;
}

.actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:28px;
}

.section{
  padding:72px 0;
  border-top:1px solid var(--border);
}

.soft{background:var(--surface)}

.dark{
  color:#fff;
  background:#111;
}

.grid-3,
.grid-4{
  display:grid;
  gap:18px;
  margin-top:28px;
}

.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-4{grid-template-columns:repeat(4,1fr)}

.card{
  padding:25px;
  border:1px solid var(--border);
  border-radius:24px;
  background:#fff;
}

.dark .card{
  color:#fff;
  background:#1b1b1b;
  border-color:#333;
}

.stat{
  font-size:clamp(38px,5vw,58px);
  line-height:1;
  font-weight:900;
  color:var(--teal-dark);
}

.dark .stat{color:#55d0d4}

.stat-label{
  margin-top:9px;
  font-weight:800;
}

.notice{
  padding:20px 22px;
  border-left:5px solid var(--teal);
  background:var(--teal-soft);
  border-radius:12px;
}

table{
  width:100%;
  border-collapse:collapse;
}

th,td{
  padding:14px 12px;
  text-align:left;
  border-bottom:1px solid var(--border);
}

th{
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.06em;
  color:#666;
}

.table-wrap{overflow-x:auto}

.candidate-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
}

.candidate{
  overflow:hidden;
  border:1px solid var(--border);
  border-radius:24px;
  background:#fff;
}

.candidate-photo{
  aspect-ratio:4/4.8;
  background:#f1f2f2;
}

.candidate-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.candidate-content{padding:22px}

.badge{
  display:inline-flex;
  padding:6px 10px;
  border-radius:999px;
  background:var(--teal-soft);
  color:var(--teal-dark);
  font-size:11px;
  font-weight:900;
}

.blind-card{
  padding:24px;
  border:1px solid var(--border);
  border-radius:22px;
}

.candidate-code{
  font-family:monospace;
  font-size:13px;
  color:#666;
}

.field{
  margin-bottom:18px;
}

.field-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:18px;
}

label{
  display:block;
  margin-bottom:7px;
  font-weight:800;
}

input,select,textarea{
  width:100%;
  min-height:48px;
  padding:11px 13px;
  border:1px solid #bfc2c2;
  border-radius:12px;
  font:inherit;
  font-size:16px;
}

textarea{
  min-height:130px;
  resize:vertical;
}

.checkbox{
  display:flex;
  gap:10px;
  align-items:flex-start;
}

.checkbox input{
  width:20px;
  min-height:20px;
  margin-top:3px;
}

footer{
  padding:45px 0;
  background:var(--ink);
  color:#eee;
}

@media(max-width:850px){
  .hero-grid,
  .grid-3,
  .grid-4,
  .candidate-grid{
    grid-template-columns:1fr;
  }

  .field-grid{
    grid-template-columns:1fr;
  }

  .menu a:not(.btn){
    display:none;
  }
}


/* ======================================================
   DRKTMED WORKFORCE — VISUAL STORYTELLING
====================================================== */

.workforce-visual{
    width:100%;
}

.workforce-photo-grid{
    display:grid;
    grid-template-columns:1.35fr .65fr;
    grid-template-rows:repeat(2,1fr);
    gap:10px;
    min-height:500px;
}

.workforce-photo-grid figure{
    margin:0;
    overflow:hidden;
    border-radius:24px;
    background:#eef1f1;
}

.workforce-photo-main{
    grid-row:1 / 3;
}

.workforce-photo-grid img{
    width:100%;
    height:100%;
    min-height:240px;
    object-fit:cover;
    display:block;
}

.workforce-photo-main img{
    min-height:500px;
}

.workforce-image-fallback{
    min-height:500px;
    display:grid;
    align-items:end;
    padding:36px;
    border-radius:28px;

    background:
        linear-gradient(
            145deg,
            #edf7f7,
            #d9eeee
        );

    border-left:
        5px solid
        var(--teal);
}


/* MEDICAL PRACTICE BRIDGE */

.care-bridge{
    padding:32px 0;
    color:#fff;
    background:var(--ink);
}

.care-bridge-inner{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:34px;
}

.care-bridge h2{
    margin:5px 0 8px;
    color:#fff;
    font-size:27px;
}

.care-bridge p{
    margin:0;
    max-width:650px;
    color:#d5d5d5;
}

.care-bridge .eyebrow{
    color:#66d4d8;
}

.care-bridge-actions{
    display:flex;
    flex-wrap:wrap;
    justify-content:flex-end;
    gap:10px;
}

.care-bridge .btn-light{
    color:#111;
}


@media(max-width:850px){

    .workforce-photo-grid{
        min-height:auto;
    }

    .workforce-photo-main img{
        min-height:400px;
    }

    .care-bridge-inner{
        align-items:flex-start;
        flex-direction:column;
    }

    .care-bridge-actions{
        justify-content:flex-start;
    }

}


@media(max-width:560px){

    .workforce-photo-grid{
        grid-template-columns:1fr 1fr;
        grid-template-rows:auto auto;
    }

    .workforce-photo-main{
        grid-column:1 / 3;
        grid-row:auto;
    }

    .workforce-photo-main img{
        min-height:380px;
    }

    .workforce-photo-small img{
        min-height:180px;
    }

}

.workforce-hero-picture{
    width:100%;
    overflow:hidden;
    border-radius:28px;
    background:#eef7f7;
    border:1px solid var(--border);
}

.workforce-hero-picture img{
    display:block;
    width:100%;
    height:auto;
}

.feature-icon{
    width:48px;
    height:48px;
    margin-bottom:16px;
}

.feature-icon img{
    display:block;
    width:100%;
    height:100%;
}


/* ======================================================
   MEDICAL CENTRE PRIMARY BRAND
====================================================== */

.medical-site-header{
    position:sticky;
    top:0;
    z-index:100;
    background:rgba(255,255,255,.97);
    border-bottom:1px solid var(--border);
}

.medical-nav{
    min-height:84px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:28px;
}

.medical-brand{
    display:flex;
    align-items:center;
    text-decoration:none;
    flex-shrink:0;
}

.medical-logo{
    display:block;
    width:auto;
    max-width:245px;
    max-height:58px;
    object-fit:contain;
}

.medical-brand-text strong{
    display:block;
    font-size:17px;
}

.medical-brand-text span{
    display:block;
    margin-top:3px;
    font-size:11px;
    text-transform:uppercase;
    letter-spacing:.14em;
}

.medical-menu{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:17px;
    flex-wrap:wrap;
}

.medical-menu > a:not(.btn){
    text-decoration:none;
    font-size:13px;
    font-weight:750;
}


/* ======================================================
   DUAL IDENTITY HERO
====================================================== */

.dual-hero{
    padding:62px 0 72px;
    background:#fff;
}

.dual-brand-intro{
    max-width:850px;
    margin-bottom:38px;
}

.dual-brand-intro h1{
    max-width:830px;
    margin:12px 0 16px;
    font-size:clamp(42px,5vw,68px);
}

.dual-service-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:24px;
}

.dual-service{
    overflow:hidden;
    border:1px solid var(--border);
    border-radius:26px;
    background:#fff;
}

.dual-image{
    width:100%;
    height:315px;
    overflow:hidden;
    background:#f2f5f5;
}

.dual-image img{
    display:block;
    width:100%;
    height:100%;
    object-fit:cover;
}


/*
 * Medical portrait:
 * keep the face/upper torso framed,
 * never enlarge into full-page photography.
 */

.medical-care .dual-image img{
    object-position:center 25%;
}


/*
 * Workforce illustration is different,
 * so there is no repeated founder photograph.
 */

.workforce-care .dual-image{
    background:#eef7f7;
}

.workforce-care .dual-image img{
    object-fit:contain;
    padding:10px 18px 0;
}


.dual-content{
    position:relative;
    padding:27px 28px 30px;
}

.dual-number{
    position:absolute;
    right:27px;
    top:23px;
    color:#d9dddd;
    font-size:35px;
    font-weight:900;
}

.dual-content h2{
    max-width:500px;
    margin:9px 0 13px;
    font-size:31px;
}

.dual-content p{
    max-width:570px;
}

.dual-actions{
    display:flex;
    flex-wrap:wrap;
    gap:9px;
    margin-top:22px;
}

.dual-status{
    margin-top:17px;
    color:#666;
    font-size:13px;
}


/*
 * Medical Centre retains white/black/teal
 * branding. Consultancy is not a separate brand.
 */

.medical-care{
    border-top:5px solid #2d292b;
}

.workforce-care{
    border-top:5px solid #10a7ad;
}


/* ======================================================
   REMOVE LEGACY OVERSIZED HERO IMAGERY
====================================================== */

.workforce-photo-grid,
.workforce-hero-picture,
.workforce-visual{
    max-height:none;
}

.workforce-photo-grid{
    display:none !important;
}


/* ======================================================
   RESPONSIVE
====================================================== */

@media(max-width:1050px){

    .medical-menu{
        gap:12px;
    }

    .medical-menu > a:not(.btn){
        font-size:12px;
    }

}


@media(max-width:850px){

    .dual-service-grid{
        grid-template-columns:1fr;
    }

    .dual-image{
        height:300px;
    }

    .medical-menu > a:not(.btn){
        display:none;
    }

}


@media(max-width:520px){

    .dual-hero{
        padding-top:40px;
    }

    .dual-image{
        height:260px;
    }

    .dual-content{
        padding:23px 21px 26px;
    }

    .dual-actions{
        flex-direction:column;
    }

    .dual-actions .btn{
        width:100%;
    }

}
