:root{
    --ink:#0E2A43;
    --ink-soft:#3F5B73;
    --ortho:#2EA3D9;
    --ortho-deep:#0E72A0;
    --ortho-light:#E3F3FA;
    --gyne:#3FB6A8;
    --gyne-deep:#1F8B7E;
    --gyne-light:#E1F5F1;
    --gold:#C9A24B;
    --sky:#2EA3D9;
    --sky-deep:#0E72A0;
    --cream:#F4FAFD;
    --paper:#E7F2F8;
    --line:rgba(14,42,67,0.12);
    --white:#FFFFFF;
  }
  *{box-sizing:border-box; margin:0; padding:0;}
  html{scroll-behavior:smooth;}
  section[id], div[id]{ scroll-margin-top:110px; }
  body{
    background:var(--cream);
    color:var(--ink);
    font-family:'Inter',sans-serif;
    -webkit-font-smoothing:antialiased;
    overflow-x:hidden;
  }
  h1,h2,h3,.display{
    font-family:'Fraunces',serif;
    font-weight:450;
    letter-spacing:-0.01em;
  }
  .mono{
    font-family:'JetBrains Mono',monospace;
    text-transform:uppercase;
    letter-spacing:0.12em;
    font-size:0.72rem;
  }
  a{color:inherit;}
  img{max-width:100%;display:block;}
  .wrap{max-width:1180px; margin:0 auto; padding:0 32px;}
  @media(max-width:640px){.wrap{padding:0 20px;}}

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

  /* ============ NAV ============ */
  header{
    position:fixed; top:0; left:0; right:0; z-index:100;
    background:linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(231,246,253,0.92) 100%);
    backdrop-filter:blur(12px);
    border-bottom:1px solid rgba(14,114,160,0.14);
    box-shadow:0 8px 30px -18px rgba(14,42,67,0.25);
  }
  nav{
    display:flex; align-items:center; justify-content:space-between;
    padding:18px 32px; max-width:1180px; margin:0 auto;
  }
  .logo{
    font-family:'Fraunces',serif; font-size:1.4rem; font-weight:500;
    display:flex; align-items:center; gap:12px; text-decoration:none;
  }
  .logo-mark{
    width:42px; height:42px; flex-shrink:0; display:block;
  }
  .logo-text{display:flex; flex-direction:column; line-height:1; gap:5px;}
  .logo-word{display:flex; align-items:baseline; letter-spacing:-0.01em;}
  .logo .syn{font-style:italic; font-weight:600; color:var(--sky-deep);}
  .logo .ova{font-style:italic; font-weight:400; color:var(--ink); opacity:0.88;}
  .logo .health{
    font-family:'JetBrains Mono',monospace; font-style:normal; font-weight:500;
    font-size:0.62rem; letter-spacing:0.32em; text-transform:uppercase; color:var(--ink-soft);
  }
  .navlinks{display:flex; gap:32px; align-items:center;}
  .navlinks a{font-size:0.93rem; font-weight:600; text-decoration:none; color:var(--ink); opacity:0.78; transition:opacity .2s, color .2s;}
  .navlinks a:hover{opacity:1; color:var(--sky-deep);}
  .nav-cta{
    background:linear-gradient(135deg, var(--sky) 0%, var(--sky-deep) 100%);
    color:#FFFFFF !important; opacity:1 !important; padding:11px 24px; border-radius:4px;
    font-size:0.87rem; font-weight:700; text-decoration:none; white-space:nowrap;
    box-shadow:0 10px 24px -10px rgba(14,114,160,0.55);
    transition:transform .2s, box-shadow .2s;
  }
  .nav-cta:hover{transform:translateY(-1px); box-shadow:0 14px 28px -10px rgba(14,114,160,0.65);}
  .menu-btn{display:none; background:none; border:none; cursor:pointer; padding:8px;}
  .menu-btn span{display:block; width:22px; height:2px; background:var(--ink); margin:5px 0;}
  @media(max-width:880px){
    .navlinks{
      position:fixed; top:64px; left:0; right:0; background:var(--white);
      flex-direction:column; padding:24px 32px; gap:20px; border-bottom:1px solid var(--line);
      transform:translateY(-150%); transition:transform .3s ease; align-items:flex-start;
      box-shadow:0 16px 30px -18px rgba(14,42,67,0.25);
    }
    .navlinks.open{transform:translateY(0);}
    .menu-btn{display:block;}
  }

  /* ============ HERO ============ */
  .hero{
    position:relative; padding:170px 0 0 0; overflow:hidden;
  }
  .hero::before{
    content:''; position:absolute; top:-120px; right:-160px; width:560px; height:560px; border-radius:50%;
    background:radial-gradient(circle, rgba(46,163,217,0.16) 0%, rgba(46,163,217,0) 70%);
    pointer-events:none;
  }
  .hero::after{
    content:''; position:absolute; bottom:-160px; left:-180px; width:480px; height:480px; border-radius:50%;
    background:radial-gradient(circle, rgba(63,182,168,0.16) 0%, rgba(63,182,168,0) 70%);
    pointer-events:none;
  }
  .hero-grid{
    display:grid; grid-template-columns:1.1fr 0.9fr; align-items:center; gap:40px;
    max-width:1180px; margin:0 auto; padding:0 32px 0;
  }
  .hero-eyebrow{
    font-family:'JetBrains Mono',monospace; font-size:0.74rem; letter-spacing:0.16em; text-transform:uppercase;
    color:var(--ink-soft); margin-bottom:22px; display:flex; align-items:center; gap:10px;
  }
  .hero-eyebrow::before{content:''; width:28px; height:1px; background:var(--gyne); display:inline-block;}
  .hero h1{
    font-size:clamp(2.4rem, 5vw, 3.7rem); line-height:1.04; font-weight:450;
    margin-bottom:26px;
  }
  .hero h1 em{font-style:italic; font-weight:450; color:var(--gyne-deep);}
  .hero h1 .ortho-word{color:var(--ortho-deep); font-style:italic;}
  .hero p.lede{
    font-size:1.12rem; line-height:1.65; color:var(--ink-soft); max-width:460px; margin-bottom:34px;
  }
  .hero-actions{display:flex; gap:16px; flex-wrap:wrap; margin-bottom:50px;}
  .btn-primary{
    background:var(--ink); color:var(--cream); padding:15px 28px; border-radius:2px;
    text-decoration:none; font-weight:600; font-size:0.94rem; display:inline-flex; align-items:center; gap:8px;
    transition:background .2s, transform .2s, box-shadow .2s;
    box-shadow:0 14px 30px -14px rgba(23,35,51,0.45);
  }
  .btn-primary:hover{background:var(--gyne-deep); transform:translateY(-2px); box-shadow:0 18px 34px -14px rgba(166,86,58,0.45);}
  .btn-ghost{
    border:1px solid var(--line); color:var(--ink); padding:15px 28px; border-radius:2px;
    text-decoration:none; font-weight:600; font-size:0.94rem; transition:border-color .2s, background .2s;
  }
  .btn-ghost:hover{border-color:var(--ink); background:rgba(23,35,51,0.04);}
  .hero-stats{display:flex; gap:40px; border-top:1px solid var(--line); padding-top:24px; padding-bottom:56px;}
  .hero-stat .num{font-family:'Fraunces',serif; font-size:1.7rem; font-weight:500;}
  .hero-stat .lbl{font-size:0.78rem; color:var(--ink-soft); margin-top:2px;}

  /* The signature seam visual */
  .seam-visual{
    position:relative; height:520px; display:flex; align-items:center; justify-content:center;
  }
  .seam-svg{width:100%; height:100%;}
  .seam-card{
    position:absolute; background:var(--white); border:1px solid var(--line);
    padding:16px 18px; border-radius:3px; box-shadow:0 14px 34px -16px rgba(23,35,51,0.25);
    font-size:0.82rem; max-width:190px;
  }
  .seam-card .mono{display:block; margin-bottom:6px; color:var(--ink-soft);}
  .seam-card.card-gyne{top:6%; right:-2%;}
  .seam-card.card-ortho{bottom:8%; left:-4%;}
  @media(max-width:980px){
    .hero-grid{grid-template-columns:1fr;}
    .seam-visual{height:380px; margin-top:20px;}
  }
  @media(max-width:560px){
    .hero{padding-top:130px;}
    .hero-actions{flex-direction:column;}
    .hero-stats{gap:24px; flex-wrap:wrap;}
  }

  /* ============ section utility ============ */
  section{padding:110px 0;}
  @media(max-width:640px){section{padding:70px 0;}}
  .section-head{max-width:640px; margin-bottom:64px;}
  .section-head .mono{color:var(--ink-soft); margin-bottom:14px; display:block;}
  .section-head h2{font-size:clamp(1.9rem,3.4vw,2.6rem); line-height:1.12;}
  .anchor-heading{margin:64px 0 20px; padding-top:8px;}
  .anchor-heading:first-of-type{margin-top:0;}
  .anchor-heading .mono{color:var(--sky-deep); margin-bottom:8px; display:block;}
  .anchor-heading h3{font-size:1.5rem; color:var(--ink); font-weight:500;}
  .divider{height:1px; background:var(--line); width:100%;}

  /* ============ ABOUT ============ */
  .about{background:var(--white);}
  .about-grid{display:grid; grid-template-columns:0.9fr 1.1fr; gap:64px; align-items:start;}
  .about-quote{
    font-family:'Fraunces',serif; font-style:italic; font-size:1.5rem; line-height:1.4;
    color:var(--ink); border-left:2px solid var(--gyne); padding-left:24px;
  }
  .about-body p{color:var(--ink-soft); line-height:1.75; margin-bottom:18px; font-size:1.02rem;}
  @media(max-width:880px){.about-grid{grid-template-columns:1fr; gap:40px;}}

  /* ============ SPECIALISTS ============ */
  .specialists{background:var(--cream);}
  .doctor-block{
    display:grid; grid-template-columns:0.85fr 1.15fr; gap:0; margin-bottom:28px;
    border:1px solid var(--line); background:var(--white);
    box-shadow:0 30px 60px -36px rgba(23,35,51,0.22);
  }
  .doctor-block.is-reverse .doctor-photo{order:1;}
  .doctor-photo{
    padding:0; display:flex; flex-direction:column; justify-content:flex-end;
    color:var(--white); position:relative; min-height:440px; overflow:hidden;
  }
  .doctor-photo.gyne{background:var(--gyne-deep); border-top:3px solid var(--gyne);}
  .doctor-photo.ortho{background:var(--ortho-deep); border-top:3px solid var(--ortho);}
  .photo-frame{
    position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  }
  .photo-frame img{
    position:absolute; inset:0; width:100%; height:100%; object-fit:cover; object-position:center 20%;
    filter:saturate(1.05) contrast(1.03);
    image-rendering:auto;
  }
  .photo-frame .photo-tint{
    position:absolute; inset:0; mix-blend-mode:multiply; opacity:0.22;
  }
  .doctor-photo.gyne .photo-tint{background:linear-gradient(165deg,var(--gyne) 0%, var(--gyne-deep) 100%);}
  .doctor-photo.ortho .photo-tint{background:linear-gradient(165deg,var(--ortho) 0%, var(--ortho-deep) 100%);}
  .photo-pattern{
    position:absolute; inset:0; opacity:0.16;
    background-image:radial-gradient(circle at 1px 1px, rgba(255,255,255,0.9) 1.4px, transparent 0);
    background-size:22px 22px;
  }
  .avatar-mono{
    width:128px; height:128px; border-radius:50%; border:1.5px solid rgba(255,255,255,0.55);
    display:flex; align-items:center; justify-content:center;
    font-family:'Fraunces',serif; font-size:2.6rem; font-weight:450; color:rgba(255,255,255,0.95);
    background:rgba(255,255,255,0.08); backdrop-filter:blur(2px); position:relative; z-index:2;
  }
  .photo-caption{
    position:relative; z-index:2; padding:30px 36px 34px;
    background:linear-gradient(0deg, rgba(10,12,16,0.86) 0%, rgba(10,12,16,0.5) 55%, rgba(10,12,16,0) 100%);
    width:100%;
  }
  .doctor-photo .mono{color:rgba(255,255,255,0.8); margin-bottom:8px;}
  .doctor-photo h3{font-size:1.7rem; color:var(--white); margin-bottom:5px; font-weight:500;}
  .doctor-photo .role{font-size:0.95rem; opacity:0.95; margin-bottom:16px;}
  .cred-list{list-style:none; font-size:0.83rem; line-height:1.65; opacity:0.95;}
  .cred-list li{padding-left:14px; position:relative;}
  .cred-list li::before{content:'—'; position:absolute; left:0; opacity:0.75;}
  .doctor-detail{padding:48px 44px;}
  .doctor-detail > p.intro{color:var(--ink-soft); line-height:1.7; margin-bottom:30px; font-size:1rem;}
  .service-cats{display:grid; grid-template-columns:1fr 1fr; gap:28px;}
  .service-cat h4{
    font-family:'JetBrains Mono',monospace; font-size:0.74rem; text-transform:uppercase; letter-spacing:0.1em;
    margin-bottom:12px; color:var(--ink);
  }
  .service-cat.gyne-cat h4{color:var(--gyne-deep);}
  .service-cat.ortho-cat h4{color:var(--ortho-deep);}
  .service-cat ul{list-style:none; font-size:0.88rem; line-height:1.85; color:var(--ink-soft);}
  .service-cat ul li{padding-left:16px; position:relative;}
  .service-cat ul li::before{content:'+'; position:absolute; left:0; color:var(--ink-soft); opacity:0.5;}
  @media(max-width:980px){
    .doctor-block{grid-template-columns:1fr;}
    .doctor-block.is-reverse .doctor-photo{order:0;}
    .service-cats{grid-template-columns:1fr;}
    .doctor-detail{padding:36px 28px;}
    .doctor-photo{padding:36px 28px;}
  }

  /* ============ MISSION / VALUES ============ */
  .mvv{background:var(--ink); color:var(--cream);}
  .mvv .section-head .mono{color:rgba(250,245,236,0.6);}
  .mvv .section-head h2{color:var(--cream);}
  .mvv-grid{display:grid; grid-template-columns:repeat(2,1fr); gap:1px; background:rgba(250,245,236,0.15); margin-bottom:64px;}
  .mvv-card{background:var(--ink); padding:36px;}
  .mvv-card h3{font-size:1.2rem; color:var(--cream); margin-bottom:10px; font-weight:500;}
  .mvv-card p{color:rgba(250,245,236,0.7); font-size:0.94rem; line-height:1.6;}
  .values-row{display:grid; grid-template-columns:repeat(5,1fr); gap:24px;}
  .value-item .mono{color:var(--gyne); display:block; margin-bottom:10px;}
  .value-item h4{font-size:1.02rem; color:var(--cream); margin-bottom:8px; font-weight:500;}
  .value-item p{font-size:0.85rem; color:rgba(250,245,236,0.65); line-height:1.55;}
  @media(max-width:880px){.mvv-grid{grid-template-columns:1fr;} .values-row{grid-template-columns:repeat(2,1fr); row-gap:32px;}}
  @media(max-width:560px){.values-row{grid-template-columns:1fr;}}

  /* ============ WHY CHOOSE ============ */
  .why{background:var(--paper);}
  .why-grid{display:grid; grid-template-columns:repeat(5,1fr); gap:1px; background:var(--line);}
  .why-item{
    background:var(--paper); padding:32px 24px; transition:background .3s ease, transform .3s ease;
    position:relative; overflow:hidden;
  }
  .why-item::before{
    content:''; position:absolute; top:0; left:0; right:0; height:3px;
    background:linear-gradient(90deg, var(--sky), var(--gyne)); transform:scaleX(0); transform-origin:left;
    transition:transform .35s ease;
  }
  .why-item:hover{background:var(--white); transform:translateY(-4px); box-shadow:0 18px 34px -20px rgba(14,42,67,0.28);}
  .why-item:hover::before{transform:scaleX(1);}
  .why-item .check{
    width:44px; height:44px; border-radius:50%; border:1.5px solid var(--ortho-deep); color:var(--ortho-deep);
    display:flex; align-items:center; justify-content:center; margin-bottom:18px;
    transition:background .3s ease, transform .35s ease, border-color .3s ease;
  }
  .why-item .check svg{width:20px; height:20px; transition:stroke .3s ease;}
  .why-item:hover .check{background:var(--ortho-deep); transform:scale(1.08) rotate(-4deg); border-color:var(--ortho-deep);}
  .why-item:hover .check svg{stroke:#FFFFFF;}
  .why-item p{font-size:0.92rem; line-height:1.5; color:var(--ink-soft);}
  @media(max-width:980px){.why-grid{grid-template-columns:repeat(2,1fr);}}
  @media(max-width:560px){.why-grid{grid-template-columns:1fr;}}

  /* ============ CONTACT ============ */
  .contact{background:var(--white);}
  .contact-grid{display:grid; grid-template-columns:1fr 1fr; gap:64px;}
  .contact-info h2{font-size:clamp(1.9rem,3.4vw,2.5rem); margin-bottom:20px; line-height:1.15;}
  .contact-info > p{color:var(--ink-soft); line-height:1.7; margin-bottom:36px; max-width:420px;}
  .info-row{display:flex; gap:18px; padding:20px 0; border-top:1px solid var(--line);}
  .info-row:last-of-type{border-bottom:1px solid var(--line);}
  .info-row .mono{color:var(--ink-soft); min-width:130px; padding-top:2px;}
  .info-row .val{font-size:1rem; font-weight:500;}
  .info-row .val a{text-decoration:none; border-bottom:1px solid var(--gyne); padding-bottom:1px;}
  .map-frame{
    border:1px solid var(--line); background:var(--paper); min-height:340px; position:relative; overflow:hidden;
  }
  .map-frame iframe{width:100%; height:100%; min-height:340px; border:0; filter:saturate(0.85);}
  @media(max-width:880px){.contact-grid{grid-template-columns:1fr; gap:40px;}}

  /* ============ FOOTER ============ */
  footer{background:var(--ink); color:rgba(250,245,236,0.6); padding:40px 0;}
  .footer-row{display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:16px;}
  .footer-row .logo .health{color:var(--cream);}
  .footer-row .logo .syn{color:#6FCBF0;}
  .footer-row .logo .ova{color:#9EE0F7;}
  .footer-row p{font-size:0.84rem;}

  /* scroll reveal */
  .reveal{opacity:0; transform:translateY(18px); transition:opacity .7s ease, transform .7s ease;}
  .reveal.in{opacity:1; transform:translateY(0);}
