/* ============================================================
   Jasvinder Singh, MD — Editorial surgical aesthetic
   ============================================================ */

:root {
  /* Palette — warm ivory / deep ink / oxblood */
  --bg:        #FAF7F2;
  --surface:   #FFFFFF;
  --ink:       #1B1F2A;
  --ink-soft:  #2E3340;
  --muted:     #6B6258;
  --muted-2:   #8C8579;
  --hairline:  #E5DCCB;
  --hairline-2:#EEE7D8;
  --accent:    #7B2D26;       /* oxblood */
  --accent-dk: #5E1F1A;
  --accent-tint: #F4E6E3;

  /* Typography */
  --serif: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --sans:  "Manrope", "Helvetica Neue", system-ui, -apple-system, sans-serif;

  /* Layout */
  --wrap-w: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --section-pad: clamp(72px, 9vw, 140px);
  --radius: 6px;
}

/* ============================================================
   Reset & base
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
em { font-style: italic; }

.wrap { width: 100%; max-width: var(--wrap-w); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* ============================================================
   Typography system
   ============================================================ */
.display-1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(54px, 8vw, 116px);
  line-height: 0.96;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
  font-variation-settings: "opsz" 144, "SOFT" 50;
}
.display-1 .ital { font-style: italic; font-weight: 300; }
.display-1 .md {
  display: inline-block;
  font-style: italic;
  font-weight: 300;
  font-size: 0.42em;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--sans);
  color: var(--accent);
  margin-top: 18px;
}

.display-2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin: 0 0 28px;
  font-variation-settings: "opsz" 96;
}
.display-2 em { color: var(--accent); font-style: italic; font-weight: 400; }

h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}

.eyebrow,
.section-eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 28px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow .rule {
  display: inline-block;
  width: 36px;
  height: 1px;
  background: var(--accent);
}

.lead-p {
  font-family: var(--serif);
  font-size: clamp(20px, 1.6vw, 24px);
  line-height: 1.45;
  font-weight: 400;
  color: var(--ink-soft);
  margin: 0 0 28px;
  font-style: italic;
}

.prose p { margin: 0 0 20px; color: var(--ink-soft); }
.prose p strong { color: var(--ink); font-weight: 600; }
.prose p:last-child { margin-bottom: 0; }

/* ============================================================
   Buttons
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 28px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  cursor: pointer;
}
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-dk); border-color: var(--accent-dk); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--bg); }
.btn-block { width: 100%; margin-top: 28px; }

/* ============================================================
   Header / nav
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 247, 242, 0.86);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--hairline);
}
.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logotype { display: inline-flex; align-items: center; gap: 14px; }
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--ink);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 16px;
  letter-spacing: -0.02em;
}
.logo-text { font-family: var(--serif); font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }
.logo-text em { color: var(--accent); font-weight: 400; }
.primary-nav { display: flex; align-items: center; gap: 36px; }
.primary-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
.primary-nav a:hover { color: var(--accent); }
.primary-nav .nav-cta {
  padding: 10px 20px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.primary-nav .nav-cta:hover { background: var(--ink); color: var(--bg); }

@media (max-width: 880px) {
  .primary-nav a:not(.nav-cta) { display: none; }
  .nav-wrap { height: 64px; }
  .logo-text { font-size: 16px; }
  .primary-nav .nav-cta { padding: 9px 16px; font-size: 12px; white-space: nowrap; }
}
@media (max-width: 480px) {
  .logo-mark { width: 32px; height: 32px; font-size: 14px; }
  .logotype { gap: 10px; }
  .primary-nav .nav-cta::before { content: "Consult"; }
  .primary-nav .nav-cta { font-size: 0; padding: 9px 14px; }
  .primary-nav .nav-cta::before { font-size: 12px; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
  padding: clamp(60px, 8vw, 110px) 0 clamp(80px, 9vw, 120px);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--accent-tint) 0%, transparent 60%);
  opacity: 0.6;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  position: relative;
}
.hero-lead {
  font-family: var(--serif);
  font-size: clamp(18px, 1.4vw, 21px);
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 8px 0 36px;
  max-width: 560px;
}
.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.affiliation-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 24px 36px;
  padding-top: 28px;
  border-top: 1px solid var(--hairline);
}
.affiliation-strip li {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  position: relative;
}
.affiliation-strip li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -18px; top: 50%;
  transform: translateY(-50%);
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.5;
}

/* Portrait */
.hero-portrait { justify-self: end; width: 100%; max-width: 400px; }
.portrait-frame {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: 0 30px 60px -30px rgba(27, 31, 42, 0.18);
  position: relative;
}
.portrait-frame::before {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  opacity: 0.25;
  pointer-events: none;
}
.portrait-placeholder {
  aspect-ratio: 4 / 5;
  background:
    repeating-linear-gradient(135deg, var(--hairline) 0 1px, transparent 1px 12px),
    var(--hairline-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 3px;
  color: var(--muted);
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  letter-spacing: 0.02em;
}
.portrait-placeholder small {
  font-family: var(--sans);
  font-style: normal;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted-2);
}
.portrait-meta { padding: 20px 6px 6px; }
.portrait-label { font-family: var(--serif); font-size: 17px; font-weight: 500; margin: 0; }
.portrait-sub { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin: 4px 0 0; }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-portrait { justify-self: start; max-width: 320px; order: -1; }
}

/* ============================================================
   Stats
   ============================================================ */
.stats {
  padding: 56px 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  background: var(--surface);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}
.stat { text-align: left; border-left: 2px solid var(--accent); padding-left: 20px; }
.stat-num {
  font-family: var(--serif);
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 400;
  line-height: 1;
  color: var(--ink);
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.stat-num span { color: var(--accent); }
.stat-label { font-size: 14px; color: var(--muted); margin: 0; line-height: 1.4; }
@media (max-width: 780px) { .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; } }
@media (max-width: 480px) { .stats-grid { grid-template-columns: 1fr; } }

/* ============================================================
   Sections — shared
   ============================================================ */
.section { padding: var(--section-pad) 0; }
.section-head { margin-bottom: 60px; max-width: 760px; }

.two-col {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 7vw, 100px);
  align-items: start;
}
.col-side .section-eyebrow { margin-bottom: 24px; }
.col-side .display-2 { position: sticky; top: 110px; }
@media (max-width: 860px) {
  .two-col { grid-template-columns: 1fr; gap: 36px; }
  .col-side .display-2 { position: static; }
}

/* ============================================================
   About
   ============================================================ */
.section-about { border-top: 1px solid var(--hairline); }

/* ============================================================
   Conditions
   ============================================================ */
.section-conditions { background: var(--surface); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.condition-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}
.condition-card {
  background: var(--surface);
  padding: 48px 40px;
  transition: background 0.3s;
}
.condition-card:hover { background: var(--bg); }
.card-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--accent);
  margin: 0 0 16px;
  font-weight: 400;
}
.condition-card h3 { font-size: 1.625rem; margin-bottom: 14px; }
.card-lead {
  color: var(--ink-soft);
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.55;
}
.condition-card ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
}
.condition-card ul li {
  font-size: 14px;
  color: var(--muted);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}
.condition-card ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 6px; height: 1px;
  background: var(--accent);
}
@media (max-width: 780px) {
  .condition-grid { grid-template-columns: 1fr; }
  .condition-card { padding: 36px 28px; }
  .condition-card ul { grid-template-columns: 1fr; }
}

/* ============================================================
   Approach
   ============================================================ */
.principle {
  padding: 28px 0;
  border-top: 1px solid var(--hairline);
}
.principle:last-child { border-bottom: 1px solid var(--hairline); }
.principle h3 {
  font-size: 1.375rem;
  margin: 0 0 10px;
  color: var(--ink);
}
.principle p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.65;
}

/* ============================================================
   Locations
   ============================================================ */
.section-locations { background: var(--surface); border-top: 1px solid var(--hairline); border-bottom: 1px solid var(--hairline); }
.location-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.location-card {
  padding: 44px;
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  background: var(--bg);
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}
.location-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -30px rgba(27, 31, 42, 0.18);
}
.loc-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 16px;
}
.location-card h3 {
  font-size: 1.875rem;
  margin-bottom: 18px;
}
.location-card address {
  font-style: normal;
  color: var(--ink-soft);
  margin-bottom: 20px;
  line-height: 1.55;
  font-size: 16px;
}
.loc-phone {
  margin: 0 0 24px;
  padding-top: 20px;
  border-top: 1px solid var(--hairline);
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
}
.loc-phone a { color: var(--accent); }
.loc-affiliation {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  font-weight: 500;
}
@media (max-width: 780px) {
  .location-grid { grid-template-columns: 1fr; gap: 24px; }
  .location-card { padding: 32px; }
}

/* ============================================================
   Research
   ============================================================ */
.pub-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.pub-list li {
  padding: 22px 0;
  border-top: 1px solid var(--hairline);
}
.pub-list li:last-child { border-bottom: 1px solid var(--hairline); }
.pub-title {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.4;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 6px;
}
.pub-meta {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}
.pub-meta strong { color: var(--accent); font-weight: 600; }
.pub-conferences {
  margin-top: 32px;
  padding: 24px 0 0;
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.pub-conferences strong { color: var(--ink); font-weight: 600; }

/* ============================================================
   Contact
   ============================================================ */
.section-contact {
  background:
    radial-gradient(circle at 10% 20%, var(--accent-tint) 0%, transparent 40%),
    var(--bg);
  border-top: 1px solid var(--hairline);
}
.contact-wrap {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.contact-lead {
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0 0 24px;
  max-width: 480px;
}
.emergency-note {
  font-size: 14px;
  color: var(--accent-dk);
  background: var(--surface);
  border-left: 3px solid var(--accent);
  padding: 14px 18px;
  margin: 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}

.contact-card {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--radius);
  padding: 44px;
  box-shadow: 0 40px 80px -40px rgba(27, 31, 42, 0.18);
}
.contact-dl { margin: 0; display: flex; flex-direction: column; gap: 20px; }
.contact-dl > div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; align-items: baseline; padding-bottom: 18px; border-bottom: 1px solid var(--hairline); }
.contact-dl > div:last-of-type { border-bottom: none; padding-bottom: 0; }
.contact-dl dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
}
.contact-dl dd { margin: 0; font-size: 15px; color: var(--ink-soft); line-height: 1.5; }
.contact-dl dd a { color: var(--ink); border-bottom: 1px solid var(--hairline); transition: border-color 0.2s; }
.contact-dl dd a:hover { border-color: var(--accent); color: var(--accent); }
@media (max-width: 860px) {
  .contact-wrap { grid-template-columns: 1fr; }
  .contact-card { padding: 32px; }
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: var(--bg);
  padding: 80px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(250, 247, 242, 0.12);
}
.foot-name {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 6px;
  letter-spacing: -0.01em;
}
.foot-name em { color: #D4948C; font-weight: 400; }
.foot-tag { font-size: 13px; color: rgba(250, 247, 242, 0.6); letter-spacing: 0.04em; margin: 0; }
.foot-head {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #D4948C;
  margin: 0 0 16px;
}
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col a {
  font-size: 14px;
  color: rgba(250, 247, 242, 0.78);
  transition: color 0.2s;
}
.foot-col a:hover { color: #fff; }
.foot-bottom {
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.foot-bottom p {
  font-size: 12px;
  color: rgba(250, 247, 242, 0.5);
  margin: 0;
}
.foot-note { max-width: 560px; }
@media (max-width: 780px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   Print
   ============================================================ */
@media print {
  .site-header, .cta-row, .btn, .site-footer { display: none !important; }
  body { background: #fff; color: #000; }
}
