/* ═ Article + Doctors page styles ═ */
/* relies on lyxaa.css for :root vars, nav, footer, fonts */
@import url('https://fonts.googleapis.com/css2?family=Spline+Sans+Mono:wght@400;500;600&display=swap');

.pg { background: #fff; color: #1d1d1f; }

/* ═ JOURNAL ARTICLE — light sheet editorial (SF Pro, brand neutral) ═ */
.art-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0%; background: #0071e3; z-index: 999; transition: width .1s linear; }

.art-sheet { max-width: 1240px; margin: 72px auto 48px; background: #fff; border-radius: 0; overflow: visible; box-shadow: none; }

.art-hero { position: relative; padding: 56px 0 0; background: transparent; }
.art-hero::after { content: none; }
.art-wrap { max-width: 1080px; margin: 0 auto; padding: 0 48px; }
.art-back { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono, monospace); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #86868b; text-decoration: none; margin-bottom: 36px; transition: color .25s, gap .25s; }
.art-back:hover { color: #0071e3; gap: 13px; }
.art-back svg { width: 14px; height: 14px; }

.art-meta-top { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; font-family: var(--mono, monospace); font-size: 11.5px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: #86868b; }

.art-h1 { font-weight: 700; font-size: clamp(32px, 4.6vw, 60px); letter-spacing: -.035em; line-height: 1.05; color: #1d1d1f; margin: 0; max-width: 24ch; text-wrap: balance; font-family: inherit; }
.art-dek { font-size: clamp(16.5px, 1.6vw, 20px); line-height: 1.55; font-weight: 400; color: #6e6e73; margin: 22px 0 0; max-width: 62ch; }

.art-byline { display: flex; align-items: center; gap: 14px; margin-top: 34px; }
.art-by-txt { display: flex; flex-direction: column; gap: 3px; line-height: 1.3; }
.art-author { text-decoration: none; font-size: 15px; font-weight: 600; color: #1d1d1f; letter-spacing: -.01em; transition: color .25s; }
.art-author:hover { color: #0071e3; }
.art-by-txt small { font-family: var(--mono, monospace); font-size: 11px; color: #86868b; font-weight: 500; letter-spacing: .05em; }
.art-avatar { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: #e8e8ed; flex: none; box-shadow: 0 0 0 1px rgba(0,0,0,.05); }

.art-cover { max-width: 1080px; margin: 0 auto; padding: 40px 48px 0; }
.art-cover-img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; display: block; border-radius: 16px; background: #ececf0; box-shadow: none; }

.art-cols { max-width: 1080px; margin: 0 auto; padding: 52px 48px 40px; display: grid; grid-template-columns: minmax(0, 1fr) 272px; gap: 64px; align-items: start; }
.art-body { max-width: none; margin: 0; padding: 0; counter-reset: sec; }
.art-side { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 26px; }
.art-side-block { border-top: 1px solid #e8e8ed; padding-top: 18px; }
.art-side-h { display: block; margin-bottom: 14px; font-family: var(--mono, monospace); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #a1a1a6; }
.art-side .art-byline { margin: 0; }
.art-side-cta p { font-size: 13.5px; line-height: 1.6; color: #6e6e73; margin: 0 0 16px; }
.art-side-btn { display: flex; align-items: center; justify-content: center; gap: 8px; background: #1d1d1f; color: #fff; text-decoration: none; font-size: 14px; font-weight: 600; padding: 13px 20px; border-radius: 999px; transition: background .25s, transform .25s; }
.art-side-btn:hover { background: #000; color: #fff; transform: translateY(-1px); }
@media (min-width: 981px) { .art-hero .art-byline { display: none; } }

.art-body p { font-size: 17.5px; line-height: 1.75; color: #424245; margin: 0 0 24px; text-wrap: pretty; letter-spacing: -.002em; }
.art-body > p:first-of-type::first-letter { font-family: inherit; font-weight: inherit; float: none; font-size: inherit; line-height: inherit; padding: 0; color: inherit; }

.art-body h2 { position: relative; font-family: inherit; font-weight: 700; font-size: clamp(23px, 2.6vw, 31px); letter-spacing: -.028em; line-height: 1.15; color: #1d1d1f; margin: 52px 0 18px; padding-top: 30px; border-top: 1px solid #ececf0; counter-increment: sec; }
.art-body h2::before { content: counter(sec) ".\2002"; display: inline; font-family: inherit; font-size: inherit; font-weight: 700; letter-spacing: inherit; color: #0071e3; margin: 0; }
.art-refs h2::before { content: none; }

.art-body h3 { font-size: 18.5px; font-weight: 700; letter-spacing: -.015em; color: #1d1d1f; margin: 38px 0 12px; }
.art-body strong { font-weight: 700; color: #1d1d1f; }
.art-body a { color: #0071e3; text-decoration: none; border-bottom: 1px solid rgba(0,113,227,.32); transition: border-color .2s; }
.art-body a:hover { border-color: #0071e3; }

.art-body ul { margin: 0 0 26px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 13px; }
.art-body ul li { position: relative; padding-left: 26px; font-size: 17px; line-height: 1.62; color: #424245; }
.art-body ul li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 11px; height: 1.5px; border-radius: 2px; background: #0071e3; }

.art-fig { margin: 42px 0; }
.art-fig img { width: 100%; border-radius: 14px; display: block; background: #ececf0; aspect-ratio: 3/2; object-fit: cover; box-shadow: none; }
.art-fig figcaption { margin-top: 13px; padding-left: 14px; border-left: 2px solid #d2d2d7; font-family: var(--mono, monospace); font-size: 12px; color: #86868b; line-height: 1.55; letter-spacing: .01em; }

.art-body ol { margin: 0 0 26px; padding-left: 2px; list-style: none; counter-reset: ol; display: flex; flex-direction: column; gap: 20px; }
.art-body ol > li { position: relative; padding-left: 46px; counter-increment: ol; font-size: 17px; line-height: 1.62; color: #424245; }
.art-body ol > li::before { content: counter(ol); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; background: #f5f5f7; border: none; color: #1d1d1f; font-family: var(--mono, monospace); font-size: 13px; font-weight: 600; display: grid; place-items: center; }
.art-body ol .sub { margin: 12px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; }
.art-body ol .sub li { position: relative; padding-left: 20px; font-size: 15.5px; line-height: 1.55; color: #6e6e73; }
.art-body ol .sub li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 8px; height: 1.5px; border-radius: 2px; background: rgba(0,113,227,.5); }

.art-quote { margin: 46px 0; padding: 4px 0 4px 26px; position: relative; text-align: left; border-left: 3px solid #0071e3; font-family: inherit; font-weight: 600; font-size: clamp(21px, 2.4vw, 28px); letter-spacing: -.022em; line-height: 1.32; color: #1d1d1f; font-style: normal; }
.art-quote::before { content: none; }

.art-key { margin: 46px 0; padding: 30px 32px; border-radius: 18px; background: #f5f5f7; border: none; box-shadow: none; }
.art-key-h { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font-family: var(--mono, monospace); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #0071e3; }
.art-key-h svg { flex: none; }
.art-key ul { margin: 0; gap: 12px; }
.art-key ul li { font-size: 15.5px; color: #424245; padding-left: 26px; }
.art-key ul li::before { background: #0071e3; }

.art-refs { margin-top: 52px; padding-top: 28px; border-top: 1px solid #ececf0; }
.art-refs h2 { font-family: var(--mono,monospace) !important; font-size: 12px !important; font-weight: 600 !important; margin: 0 0 18px !important; letter-spacing: .14em; text-transform: uppercase; color: #86868b; border-top: none; padding-top: 0; }
.art-refs ol { counter-reset: r; display: flex; flex-direction: column; gap: 11px; padding: 0; margin: 0; list-style: none; }
.art-refs ol li { counter-increment: r; position: relative; padding-left: 28px; font-size: 13.5px; line-height: 1.5; color: #86868b; }
.art-refs ol li::before { content: counter(r); position: absolute; left: 0; top: 0; width: auto; height: auto; border: none; background: none; font-family: var(--mono,monospace); font-variant-numeric: tabular-nums; color: #0071e3; font-weight: 600; font-size: 12px; display: block; }
.art-refs a { color: #6e6e73; word-break: break-word; border: none; text-decoration: underline; text-underline-offset: 2px; text-decoration-color: rgba(0,113,227,.35); }
.art-refs a:hover { color: #0071e3; }

.art-cta { max-width: 1080px; margin: 8px auto 0; padding: 0 48px 64px; }
.art-cta-card { position: relative; overflow: hidden; padding: 44px 48px; border-radius: 20px; background: #1d1d1f; color: #fff; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.art-cta-card h3 { font-family: inherit; font-weight: 700; font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -.03em; margin: 0 0 10px; line-height: 1.1; }
.art-cta-card p { font-size: 15px; color: rgba(255,255,255,.68); margin: 0; max-width: 44ch; line-height: 1.55; }
.art-cta-btn { flex: none; display: inline-flex; align-items: center; gap: 9px; background: #fff; color: #1d1d1f; text-decoration: none; font-size: 15px; font-weight: 600; padding: 14px 28px; border-radius: 999px; transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s; }
.art-cta-btn:hover { color: #1d1d1f; transform: translateY(-2px); box-shadow: 0 14px 32px rgba(0,0,0,.35); }

.art-rel { border-top: 1px solid #ececf0; padding: 56px 0 72px; background: transparent; }
.art-rel-in { max-width: 1080px; margin: 0 auto; padding: 0 48px; }
.art-rel-h { font-family: var(--mono, monospace); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 26px; color: #a1a1a6; }
.art-rel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.art-rc { text-decoration: none; overflow: hidden; background: #fff; border: 1px solid #e8e8ed; border-radius: 18px; padding-top: 0; transition: transform .4s cubic-bezier(.16,1,.3,1), box-shadow .4s ease; }
.art-rc:hover { transform: translateY(-4px); box-shadow: 0 26px 52px -38px rgba(0,0,0,.25); }
.art-rc-img { aspect-ratio: 16/10; overflow: hidden; border-radius: 0; background: #ececf0; }
.art-rc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.16,1,.3,1); }
.art-rc:hover .art-rc-img img { transform: scale(1.05); }
.art-rc-b { padding: 18px 20px 22px; }
.art-rc-t { font-family: inherit; font-weight: 600; font-size: 17px; letter-spacing: -.02em; line-height: 1.3; color: #1d1d1f; margin: 11px 0 0; }

@media (max-width: 980px) { .art-cols { grid-template-columns: 1fr; gap: 0; } .art-side { display: none; } }
@media (max-width: 900px) { .art-sheet { margin: 80px 14px 48px; border-radius: 22px; } .art-wrap, .art-cover, .art-cta, .art-rel-in, .art-cols { padding-left: 24px; padding-right: 24px; } .art-cover-img { aspect-ratio: 16/10; } }
@media (max-width: 720px) { .art-rel-grid { grid-template-columns: 1fr; } .art-cta-card { padding: 32px 26px; } }

/* ═══════════ Doctors page ═══════════ */
.dr-hero { padding: 150px 0 50px; text-align: center; background: linear-gradient(180deg, #f5f8fc, #fff); border-bottom: 1px solid var(--hairline,#e9edf2); }
.dr-hero .art-wrap { max-width: 760px; }
.dr-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 18px;
  font-family: var(--mono, monospace); font-size: 12px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--blue, #0071e3);
}
.dr-eyebrow::before { content:""; width:7px; height:7px; border-radius:50%; background: var(--blue,#0071e3); box-shadow: 0 0 0 4px rgba(0,113,227,.14); }
.dr-h1 { font-size: clamp(32px, 4.6vw, 54px); font-weight: 600; letter-spacing: -.038em; line-height: 1.03; margin: 0; color: var(--ink,#111318); text-wrap: balance; }
.dr-sub { font-size: 18px; line-height: 1.55; color: var(--ink-2,#4a4f57); margin: 22px auto 0; max-width: 56ch; }

.dr-sec { padding: 72px 0 96px; }
.dr-grid { max-width: 1120px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.dr-card {
  border-radius: 22px; overflow: hidden; background: #fff;
  border: 1px solid var(--hairline,#e9edf2);
  transition: transform .45s cubic-bezier(.16,1,.3,1), box-shadow .45s, border-color .45s;
  display: flex; flex-direction: column;
}
.dr-card:hover { transform: translateY(-6px); border-color: rgba(0,113,227,.26); box-shadow: 0 30px 60px -30px rgba(8,32,58,.34); }
.dr-photo { position: relative; aspect-ratio: 3/3.4; overflow: hidden; background: #e7edf4; }
.dr-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .7s cubic-bezier(.16,1,.3,1); }
.dr-card:hover .dr-photo img { transform: scale(1.045); }
.dr-badge {
  position: absolute; top: 16px; left: 16px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(8px);
  font-family: var(--mono, monospace); font-size: 10.5px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--blue,#0071e3);
  padding: 6px 12px; border-radius: 999px;
}
.dr-soc {
  position: absolute; right: 14px; bottom: 14px; display: flex; gap: 8px;
  opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s cubic-bezier(.16,1,.3,1);
}
.dr-card:hover .dr-soc { opacity: 1; transform: translateY(0); }
.dr-soc a {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.94); color: #0a1f38; transition: background .25s, color .25s, transform .25s;
}
.dr-soc a:hover { background: var(--blue,#0071e3); color: #fff; transform: translateY(-2px); }
.dr-info { padding: 22px 22px 26px; display: flex; flex-direction: column; flex: 1; }
.dr-name { font-size: 20px; font-weight: 600; letter-spacing: -.025em; color: var(--ink,#111318); margin: 0; }
.dr-role { font-size: 13.5px; font-weight: 600; color: var(--blue,#0071e3); margin: 7px 0 0; }
.dr-cred { font-size: 13px; color: var(--ink-3,#8a9099); margin: 5px 0 0; font-variant-numeric: tabular-nums; }
.dr-bio { font-size: 14.5px; line-height: 1.6; color: var(--ink-2,#4a4f57); margin: 14px 0 0; }
.dr-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 16px 0 0; }
.dr-tag { font-size: 11.5px; font-weight: 500; color: var(--ink-2,#4a4f57); background: var(--gray-bg,#f2f5f8); padding: 5px 11px; border-radius: 999px; }
.dr-book {
  margin-top: auto; padding-top: 20px;
}
.dr-book a {
  display: inline-flex; align-items: center; gap: 8px; width: 100%; justify-content: center;
  background: var(--gray-bg,#f2f5f8); color: var(--ink,#111318); text-decoration: none;
  font-size: 14px; font-weight: 600; padding: 13px 20px; border-radius: 12px;
  transition: background .3s, color .3s, gap .3s;
}
.dr-book a:hover { background: var(--blue,#0071e3); color: #fff; gap: 12px; }

.dr-band { background: linear-gradient(180deg,#0a1f38,#071322); color:#fff; padding: 80px 0; text-align: center; }
.dr-band-in { max-width: 640px; margin: 0 auto; padding: 0 24px; }
.dr-band h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 600; letter-spacing: -.03em; margin: 0 0 14px; }
.dr-band p { font-size: 16px; color: rgba(255,255,255,.72); margin: 0 0 28px; line-height: 1.55; }
.dr-band a {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--blue,#0071e3); color: #fff; text-decoration: none;
  font-size: 15px; font-weight: 600; padding: 15px 32px; border-radius: 999px;
  transition: transform .3s cubic-bezier(.16,1,.3,1), box-shadow .3s;
}
.dr-band a:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0,113,227,.44); }

@media (max-width: 940px) { .dr-grid, .art-rel-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 620px) { .dr-grid { grid-template-columns: 1fr; } }
