:root {
  --navy-950: #041d2a;
  --navy-900: #082c3e;
  --navy-800: #0b3d50;
  --navy-700: #14556a;
  --teal-600: #008e92;
  --teal-500: #00a6a6;
  --teal-400: #25c7c0;
  --teal-100: #dff8f5;
  --blue-600: #1468d4;
  --blue-100: #eaf2ff;
  --ink: #102a3a;
  --muted: #5b6d78;
  --line: #d8e4e8;
  --surface: #f3f8f9;
  --white: #ffffff;
  --shadow: 0 22px 60px rgba(4, 29, 42, .10);
  --radius-lg: 24px;
  --radius-md: 16px;
  --container: min(1160px, calc(100% - 40px));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: var(--container); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 9999; background: var(--white); color: var(--navy-950); padding: 12px 18px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid #65e0da; outline-offset: 4px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  height: 84px;
  color: var(--white);
  background: rgba(4, 29, 42, .82);
  border-bottom: 1px solid rgba(255,255,255,.13);
  backdrop-filter: blur(14px);
  transition: background .25s ease, box-shadow .25s ease;
}
.site-header.scrolled { background: rgba(4, 29, 42, .97); box-shadow: 0 10px 35px rgba(0,0,0,.15); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: 0 0 auto; }
.brand-mark { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 14px; color: #fff; background: linear-gradient(145deg, var(--teal-500), #1678e2); font-size: 23px; font-weight: 800; box-shadow: 0 9px 25px rgba(0,166,166,.25); position: relative; }
.brand-mark span { position: absolute; top: 5px; right: 7px; font-size: 11px; color: #d7fffc; }
.brand-copy { display: grid; line-height: 1; }
.brand-copy strong { font-size: 20px; letter-spacing: -.02em; }
.brand-copy small { margin-top: 7px; font-size: 10px; font-weight: 800; letter-spacing: .2em; color: #b5c7d1; }
.primary-nav { display: flex; align-items: center; gap: 30px; }
.primary-nav > a:not(.button) { text-decoration: none; color: #dbe7ec; font-size: 15px; font-weight: 650; position: relative; }
.primary-nav > a:not(.button)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -9px; height: 2px; background: var(--teal-400); transition: right .2s ease; }
.primary-nav > a:not(.button):hover::after, .primary-nav > a.active::after { right: 0; }
.menu-toggle { display: none; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.22); border-radius: 12px; background: transparent; padding: 11px; cursor: pointer; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: #fff; transition: transform .2s ease, opacity .2s ease; }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 23px; border: 0; border-radius: 12px; background: linear-gradient(135deg, var(--teal-500), #0d7fd6); color: #fff; text-decoration: none; font-weight: 750; box-shadow: 0 12px 30px rgba(0,142,146,.22); transition: transform .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(0,142,146,.30); }
.button-small { min-height: 44px; padding-inline: 19px; font-size: 14px; }
.button-light { background: #fff; color: var(--navy-900); box-shadow: none; }
.text-link { display: inline-flex; gap: 9px; align-items: center; color: var(--navy-900); text-decoration: none; font-weight: 750; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }
.text-link-light { color: #fff; }

.hero { position: relative; min-height: 800px; display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--navy-950); }
.hero-image { position: absolute; inset: 0; background-image: url("assets/dhyayi-clinical-innovation.png"); background-position: center; background-size: cover; transform: scale(1.01); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,29,42,.98) 0%, rgba(4,29,42,.91) 34%, rgba(4,29,42,.37) 66%, rgba(4,29,42,.12) 100%), linear-gradient(0deg, rgba(4,29,42,.55) 0%, transparent 45%); }
.hero-content { position: relative; z-index: 1; padding-top: 105px; }
.hero-content > * { max-width: 690px; }
.eyebrow { margin: 0 0 19px; color: #6ae2dc; font-size: 13px; line-height: 1.2; text-transform: uppercase; letter-spacing: .18em; font-weight: 850; }
.eyebrow span { display: inline-block; width: 34px; height: 2px; margin: 0 11px 4px 0; background: currentColor; }
.eyebrow-dark { color: var(--teal-600); }
.hero h1 { margin: 0; max-width: 750px; font-size: clamp(3.5rem, 7vw, 6.7rem); line-height: .93; letter-spacing: -.065em; text-wrap: balance; }
.hero-lede { margin: 30px 0 0; color: #d8e7ec; font-size: clamp(1.05rem, 1.7vw, 1.28rem); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 34px; }
.hero-signals { display: flex; flex-wrap: wrap; gap: 11px; padding: 0; margin: 54px 0 0; list-style: none; }
.hero-signals li { padding: 8px 12px; border: 1px solid rgba(255,255,255,.22); border-radius: 99px; background: rgba(255,255,255,.08); color: #e6f1f4; font-size: 13px; font-weight: 650; backdrop-filter: blur(8px); }

.proof-strip { background: var(--navy-900); color: #fff; border-top: 1px solid rgba(255,255,255,.12); }
.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.proof-grid > div { min-height: 124px; display: grid; align-content: center; padding: 24px 28px; border-right: 1px solid rgba(255,255,255,.12); }
.proof-grid > div:first-child { padding-left: 0; }
.proof-grid > div:last-child { border-right: 0; }
.proof-grid strong { font-size: 15px; }
.proof-grid span { margin-top: 5px; color: #a9c0cb; font-size: 13px; }

.section { padding: 112px 0; }
.section-heading { max-width: 820px; margin-bottom: 54px; }
.split-heading { max-width: none; display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: end; }
.section-heading h2, .clinician-copy h2, .about-section h2, .contact-section h2 { margin: 0; color: var(--navy-950); font-size: clamp(2.35rem, 4.4vw, 4.5rem); line-height: 1.04; letter-spacing: -.05em; text-wrap: balance; }
.section-heading > p, .split-heading > p { margin: 0 0 8px; color: var(--muted); font-size: 18px; }
.capability-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.capability-card { min-height: 420px; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; position: relative; display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.capability-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #b8d6dd; }
.featured-card { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }
.card-number { position: absolute; top: 30px; right: 30px; color: #9cb0ba; font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.icon-shell { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 46px; border-radius: 14px; color: var(--teal-600); background: var(--teal-100); }
.featured-card .icon-shell { color: #75eee7; background: rgba(255,255,255,.1); }
.icon-shell svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.capability-card h3 { margin: 0 0 14px; color: var(--navy-950); font-size: 24px; line-height: 1.2; letter-spacing: -.025em; }
.featured-card h3 { color: #fff; }
.capability-card p { margin: 0; color: var(--muted); }
.featured-card p { color: #c3d5dc; }
.tag-list { display: flex; flex-wrap: wrap; gap: 7px; padding: 0; margin: auto 0 0; list-style: none; }
.tag-list li { padding: 6px 9px; border-radius: 99px; background: var(--surface); color: var(--navy-700); font-size: 12px; font-weight: 700; }
.featured-card .tag-list li { background: rgba(255,255,255,.09); color: #dff8f5; }

.clinician-section { background: var(--surface); }
.clinician-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: start; }
.clinician-copy { position: sticky; top: 130px; }
.clinician-copy h2 { font-size: clamp(2.5rem, 4vw, 4rem); }
.large-copy { font-size: 20px; line-height: 1.6; color: #3f5663; }
.clinician-copy .large-copy { margin: 28px 0; }
.principles-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.principles-grid article { min-height: 270px; padding: 29px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.principle-icon { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--blue-100); color: var(--blue-600); font-size: 12px; font-weight: 850; }
.principles-grid h3 { margin: 47px 0 11px; color: var(--navy-950); font-size: 21px; letter-spacing: -.02em; }
.principles-grid p { margin: 0; color: var(--muted); }

.serve-section { padding-bottom: 120px; }
.serve-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.serve-grid article { padding: 36px 28px; border-right: 1px solid var(--line); }
.serve-grid article:first-child { padding-left: 0; }
.serve-grid article:last-child { border-right: 0; }
.serve-grid span { display: block; min-height: 55px; color: var(--navy-950); font-size: 18px; font-weight: 800; line-height: 1.35; }
.serve-grid p { margin: 19px 0 0; color: var(--muted); font-size: 15px; }

.approach-section { color: #fff; background: var(--navy-950); position: relative; overflow: hidden; }
.approach-section::after { content: ""; position: absolute; width: 460px; height: 460px; right: -130px; top: -130px; border-radius: 50%; background: radial-gradient(circle, rgba(0,166,166,.25), transparent 68%); }
.light-heading { position: relative; z-index: 1; }
.light-heading h2 { color: #fff; }
.light-heading > p { color: #b8cad2; }
.approach-steps { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding: 0; margin: 70px 0 0; list-style: none; counter-reset: step; border-top: 1px solid rgba(255,255,255,.18); }
.approach-steps li { padding: 33px 28px 0 0; }
.approach-steps > li > span { display: inline-block; color: #65ded8; font-size: 12px; font-weight: 850; letter-spacing: .12em; }
.approach-steps h3 { margin: 35px 0 13px; font-size: 22px; }
.approach-steps p { margin: 0; color: #aec2cb; }

.insights-section { background: #fff; }
.insight-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.insight-card { min-height: 315px; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: linear-gradient(145deg, #fff 60%, #f2fbfb); }
.insight-label { margin: 0 0 34px; color: var(--teal-600); text-transform: uppercase; letter-spacing: .13em; font-size: 12px; font-weight: 850; }
.insight-card h3 { max-width: 560px; margin: 0 0 15px; color: var(--navy-950); font-size: 27px; line-height: 1.2; letter-spacing: -.03em; }
.insight-card > p:not(.insight-label) { margin: 0; color: var(--muted); }
.insight-card a { display: inline-block; margin-top: 26px; color: var(--blue-600); font-weight: 750; text-decoration: none; }
.india-callout { display: grid; grid-template-columns: .8fr 1.2fr auto; align-items: center; gap: 45px; margin-top: 20px; padding: 36px; border-radius: var(--radius-lg); background: var(--teal-100); }
.india-callout .eyebrow { margin-bottom: 10px; }
.india-callout h3 { margin: 0; color: var(--navy-950); font-size: 25px; }
.india-callout > p { margin: 0; color: #365360; }

.about-section { background: var(--surface); }
.about-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start; }
.about-layout p { color: var(--muted); }
.about-layout .large-copy { color: #314b58; margin-top: 0; }

.contact-section { padding: 100px 0; color: #fff; background: linear-gradient(120deg, #076f76, #0e5c98); }
.contact-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 90px; align-items: center; }
.contact-section .eyebrow { color: #c9fffb; }
.contact-section h2 { color: #fff; font-size: clamp(2.5rem, 4.6vw, 4.7rem); }
.contact-action > p { margin: 0 0 27px; font-size: 18px; color: #e2f3f5; }
.contact-action small { display: block; margin-top: 18px; color: #c7e2e6; font-size: 12px; }
.contact-action code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }

.site-footer { padding: 70px 0 26px; color: #d9e7ec; background: var(--navy-950); }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.brand-footer { color: #fff; }
.footer-grid > div > p { max-width: 330px; margin-top: 25px; color: #9fb6c0; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.footer-links > div { display: grid; align-content: start; gap: 10px; }
.footer-links strong { margin-bottom: 8px; color: #fff; }
.footer-links a { color: #a9bec7; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; margin-top: 60px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.13); color: #8fa9b4; font-size: 12px; }

@media (max-width: 980px) {
  :root { --container: min(100% - 32px, 760px); }
  .site-header { backdrop-filter: none; }
  .menu-open .site-header { background: var(--navy-950); }
  .menu-toggle { display: block; }
  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: grid;
    align-content: start;
    gap: 0;
    width: 100%;
    height: calc(100vh - 84px);
    height: calc(100dvh - 84px);
    padding: 24px max(24px, calc((100vw - 760px) / 2)) 40px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--navy-950);
    transform: translateX(100%);
    visibility: hidden;
    pointer-events: none;
    transition: transform .25s ease, visibility 0s linear .25s;
  }
  .primary-nav.open { transform: translateX(0); visibility: visible; pointer-events: auto; transition-delay: 0s; }
  .primary-nav > a:not(.button) { display: flex; align-items: center; min-height: 58px; padding: 14px 6px; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 18px; }
  .primary-nav .button { margin-top: 24px; }
  .menu-open .menu-toggle span:nth-child(2) { transform: translateY(7px) rotate(45deg); }
  .menu-open .menu-toggle span:nth-child(3) { opacity: 0; }
  .menu-open .menu-toggle span:nth-child(4) { transform: translateY(-7px) rotate(-45deg); }
  .hero { min-height: 760px; }
  .hero-image { background-position: 62% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(4,29,42,.97) 0%, rgba(4,29,42,.82) 60%, rgba(4,29,42,.45) 100%), linear-gradient(0deg, rgba(4,29,42,.62), transparent); }
  .hero-content > * { max-width: 620px; }
  .hero h1 { font-size: clamp(3.3rem, 9vw, 5.3rem); }
  .proof-grid { grid-template-columns: 1fr 1fr; }
  .proof-grid > div { border-bottom: 1px solid rgba(255,255,255,.12); }
  .proof-grid > div:first-child { padding-left: 28px; }
  .split-heading, .clinician-layout, .about-layout, .contact-layout { grid-template-columns: 1fr; gap: 35px; }
  .capability-grid { grid-template-columns: 1fr 1fr; }
  .clinician-copy { position: static; }
  .serve-grid { grid-template-columns: 1fr 1fr; }
  .serve-grid article { border-bottom: 1px solid var(--line); }
  .serve-grid article:first-child { padding-left: 28px; }
  .approach-steps { grid-template-columns: 1fr 1fr; }
  .india-callout { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 640px) {
  :root { --container: calc(100% - 28px); }
  .site-header { height: 72px; }
  .primary-nav { height: calc(100vh - 72px); height: calc(100dvh - 72px); padding: 18px 20px 32px; }
  .brand-mark { width: 41px; height: 41px; border-radius: 12px; }
  .brand-copy strong { font-size: 18px; }
  .hero { min-height: 760px; align-items: end; }
  .hero-image { background-position: 68% center; opacity: .7; }
  .hero-shade { background: linear-gradient(0deg, rgba(4,29,42,.99) 12%, rgba(4,29,42,.76) 64%, rgba(4,29,42,.4)); }
  .hero-content { padding: 116px 0 48px; }
  .hero h1 { max-width: 100%; font-size: clamp(2.8rem, 12.8vw, 3.75rem); line-height: .98; letter-spacing: -.055em; }
  .hero-lede { margin-top: 24px; font-size: 16px; line-height: 1.58; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 18px; }
  .hero-actions .text-link { justify-content: center; }
  .hero-signals { margin-top: 38px; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-grid > div { min-height: 94px; border-right: 0; padding-inline: 0; }
  .proof-grid > div:first-child { padding-left: 0; }
  .section { padding: 78px 0; }
  .section-heading { margin-bottom: 37px; }
  .section-heading h2, .clinician-copy h2, .about-section h2, .contact-section h2 { font-size: clamp(2.25rem, 11vw, 3.3rem); }
  .capability-grid, .principles-grid, .insight-grid, .serve-grid, .approach-steps, .footer-grid, .footer-links { grid-template-columns: 1fr; }
  .capability-card { min-height: 390px; padding: 27px; }
  .principles-grid article { min-height: 235px; }
  .serve-grid article { padding-inline: 0; border-right: 0; }
  .serve-grid article:first-child { padding-left: 0; }
  .serve-grid span { min-height: auto; }
  .approach-steps li { padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .approach-steps h3 { margin-top: 18px; }
  .insight-card { min-height: auto; padding: 28px; }
  .india-callout { padding: 28px; }
  .contact-section { padding: 78px 0; }
  .footer-grid { gap: 44px; }
  .footer-bottom { flex-direction: column; gap: 10px; }
}

@media (max-width: 430px) {
  .brand { gap: 10px; }
  .brand-copy small { letter-spacing: .16em; }
  .hero { min-height: 720px; }
  .hero h1 { font-size: clamp(2.7rem, 12.6vw, 3.25rem); }
  .hero-actions { margin-top: 28px; }
  .hero-signals { margin-top: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
