/* =========================================================
   Mark Benveniste — official site
   Design: credible healthcare-executive aesthetic.
   No external font/asset requests => fast first paint (SEO).
   ========================================================= */

:root {
  --navy: #0e2a47;
  --navy-deep: #0a1f36;
  --navy-soft: #14375c;
  --gold: #b5893f;
  --gold-light: #d9b877;
  --ink: #1c2733;
  --slate: #4a5a6a;
  --slate-light: #6b7b8c;
  --line: #e3e8ee;
  --paper: #ffffff;
  --mist: #f5f7fa;
  --mist-2: #eef2f6;
  --max: 1120px;
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(14, 42, 71, .06), 0 4px 12px rgba(14, 42, 71, .05);
  --shadow-md: 0 10px 30px rgba(14, 42, 71, .10);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); line-height: 1.18; font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.4rem, 5vw, 3.5rem); margin: 0 0 .4em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); margin: 0 0 .5em; }
h3 { font-size: 1.28rem; margin: 0 0 .35em; }
p { margin: 0 0 1.1em; color: var(--slate); }
a { color: var(--navy-soft); text-decoration: none; }
a:hover { color: var(--gold); }
img { max-width: 100%; display: block; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  font-family: var(--sans); font-size: .8rem; font-weight: 700; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold); margin: 0 0 1rem;
}
.lead { font-size: 1.15rem; color: var(--slate); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { font-family: var(--serif); font-weight: 600; font-size: 1.2rem; color: var(--navy); letter-spacing: -0.01em; }
.brand span { color: var(--gold); }
.nav-links { display: flex; gap: 30px; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-size: .95rem; font-weight: 500; color: var(--slate); font-family: var(--sans); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--navy); }
.nav-cta {
  background: var(--navy); color: #fff !important; padding: 9px 18px; border-radius: 999px;
  font-weight: 600; font-size: .9rem;
}
.nav-cta:hover { background: var(--gold); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: .2s; }

/* ---------- Hero ---------- */
.hero { background: linear-gradient(165deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-soft) 100%); color: #fff; position: relative; overflow: hidden; }
.hero::after {
  content: ""; position: absolute; right: -140px; top: -140px; width: 460px; height: 460px;
  background: radial-gradient(circle, rgba(181,137,63,.28), transparent 70%); pointer-events: none;
}
.hero .wrap { display: grid; grid-template-columns: 1.35fr 1fr; gap: 56px; align-items: center; padding-top: 84px; padding-bottom: 84px; position: relative; z-index: 1; }
.hero .eyebrow { color: var(--gold-light); }
.hero h1 { color: #fff; }
.hero p { color: rgba(255, 255, 255, .82); font-size: 1.18rem; max-width: 34ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 8px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: 999px; font-weight: 600; font-size: .98rem; font-family: var(--sans); transition: .2s; cursor: pointer; border: 0; }
.btn-primary { background: var(--gold); color: #23180a; }
.btn-primary:hover { background: var(--gold-light); color: #23180a; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #fff; border: 1px solid rgba(255, 255, 255, .35); }
.btn-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.06); }

/* portrait */
.portrait-frame { position: relative; justify-self: center; }
.portrait {
  width: 300px; height: 360px; border-radius: 16px; object-fit: cover;
  background: linear-gradient(160deg, #1c3d5f, #0a1f36); border: 1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow-md);
}
.portrait-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7); text-align: center; gap: 10px;
}
.portrait-placeholder .initials { font-family: var(--serif); font-size: 3.4rem; color: var(--gold-light); }
.portrait-placeholder small { font-size: .72rem; letter-spacing: .06em; max-width: 20ch; line-height: 1.4; }
.portrait-badge {
  position: absolute; bottom: -18px; left: -18px; background: #fff; color: var(--navy);
  border-radius: 12px; padding: 12px 16px; box-shadow: var(--shadow-md); font-family: var(--sans);
}
.portrait-badge strong { display: block; font-size: 1.4rem; font-family: var(--serif); color: var(--gold); line-height: 1; }
.portrait-badge span { font-size: .74rem; color: var(--slate); text-transform: uppercase; letter-spacing: .08em; }

/* ---------- Trust strip ---------- */
.trust { border-bottom: 1px solid var(--line); background: var(--mist); }
.trust .wrap { display: flex; align-items: center; gap: 40px; padding: 22px 24px; flex-wrap: wrap; justify-content: center; }
.trust span { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--slate-light); font-weight: 600; }
.trust-logos { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; }
.trust-logos img { height: 44px; width: auto; border-radius: 6px; opacity: .95; }

/* ---------- Sections ---------- */
section.block { padding: 84px 0; }
section.block.tint { background: var(--mist); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 48px; }

/* stats */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); }
.stat .num { font-family: var(--serif); font-size: 2.3rem; color: var(--navy); line-height: 1; }
.stat .num em { color: var(--gold); font-style: normal; }
.stat .label { font-size: .92rem; color: var(--slate); margin-top: 8px; }

/* two column */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }

/* cards / expertise */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); transition: .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #d5dee7; }
.card .ico { width: 46px; height: 46px; border-radius: 10px; background: linear-gradient(150deg, var(--navy), var(--navy-soft)); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.card .ico svg { width: 24px; height: 24px; stroke: var(--gold-light); }
.card p { margin: 0; font-size: .98rem; }

/* timeline */
.timeline { position: relative; margin: 0; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; left: 15px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.timeline li { position: relative; padding: 0 0 34px 52px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline .dot { position: absolute; left: 8px; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--gold); }
.timeline .role { font-family: var(--serif); font-size: 1.2rem; color: var(--navy); font-weight: 600; }
.timeline .org { font-weight: 600; color: var(--navy-soft); font-size: .98rem; }
.timeline .meta { font-size: .84rem; color: var(--slate-light); text-transform: uppercase; letter-spacing: .06em; margin: 2px 0 8px; }
.timeline p { font-size: .97rem; margin: 0; }

/* pill list */
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.pills li { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: .9rem; color: var(--navy-soft); font-weight: 500; }

/* quote */
.quote { border-left: 4px solid var(--gold); padding: 6px 0 6px 26px; }
.quote p { font-family: var(--serif); font-size: 1.5rem; color: var(--navy); line-height: 1.4; font-style: italic; }

/* CTA band */
.cta-band { background: linear-gradient(165deg, var(--navy) 0%, var(--navy-deep) 100%); color: #fff; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.82); max-width: 52ch; margin-left: auto; margin-right: auto; }

/* education row */
.edu-row { display: flex; gap: 20px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 26px; box-shadow: var(--shadow-sm); margin-bottom: 18px; }
.edu-row img { height: 56px; width: 56px; object-fit: contain; border-radius: 8px; flex-shrink: 0; }
.edu-row h3 { margin: 0 0 2px; font-size: 1.12rem; }
.edu-row p { margin: 0; font-size: .95rem; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); display: flex; gap: 16px; align-items: flex-start; }
.contact-card .ico { width: 42px; height: 42px; border-radius: 10px; background: var(--mist-2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-card .ico svg { width: 22px; height: 22px; stroke: var(--navy); }
.contact-card h3 { margin: 0 0 3px; font-size: 1.05rem; }
.contact-card p, .contact-card a { margin: 0; font-size: .96rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.72); padding: 56px 0 30px; font-size: .92rem; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.12); }
.site-footer h4 { color: #fff; font-family: var(--sans); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 16px; }
.site-footer .brand { color: #fff; font-size: 1.3rem; display: inline-block; margin-bottom: 12px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: var(--gold-light); }
.footer-bottom { padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .82rem; color: rgba(255,255,255,.5); }

/* ---------- Sub-page hero ---------- */
.page-hero { background: linear-gradient(165deg, var(--navy-deep), var(--navy)); color: #fff; padding: 72px 0 60px; }
.page-hero h1 { color: #fff; margin-bottom: .3em; }
.page-hero p { color: rgba(255,255,255,.8); max-width: 60ch; }
.breadcrumb { font-size: .82rem; color: rgba(255,255,255,.55); margin-bottom: 18px; }
.breadcrumb a { color: rgba(255,255,255,.75); }

/* prose */
.prose { max-width: 720px; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose p, .prose li { color: var(--slate); }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }

/* ---------- Blog ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: .2s; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #d5dee7; }
.post-card .thumb { height: 8px; background: linear-gradient(90deg, var(--navy), var(--gold)); }
.post-card .body { padding: 26px; display: flex; flex-direction: column; flex: 1; }
.post-card .tag { font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.post-card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.post-card h3 a { color: var(--navy); }
.post-card h3 a:hover { color: var(--gold); }
.post-card p { font-size: .96rem; margin-bottom: 18px; flex: 1; }
.post-card .more { font-weight: 600; font-size: .92rem; color: var(--navy-soft); font-family: var(--sans); }

.article { max-width: 740px; margin: 0 auto; }
.article-meta { font-size: .86rem; color: var(--slate-light); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.article .byline { display: flex; align-items: center; gap: 12px; margin: 26px 0 8px; padding-top: 24px; border-top: 1px solid var(--line); }
.article .byline img { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.article .byline strong { color: var(--navy); font-family: var(--sans); display: block; font-size: .98rem; }
.article .byline span { font-size: .86rem; color: var(--slate-light); }
.article .prose p, .article .prose li { color: var(--ink); }
.article .prose h2 { margin-top: 1.7em; }
.article-cta { margin-top: 40px; padding: 30px; background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius); }
.article-cta p { margin: 0 0 6px; }
.post-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--line); font-size: .95rem; flex-wrap: wrap; }

/* utilities */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; text-align: center; padding-top: 60px; padding-bottom: 64px; }
  .hero p { max-width: none; }
  .hero-actions { justify-content: center; }
  .split, .contact-grid, .footer-top { grid-template-columns: 1fr; gap: 34px; }
  .cards { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .nav-links { position: fixed; inset: 68px 0 auto 0; background: #fff; flex-direction: column; align-items: flex-start; gap: 0; padding: 10px 24px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md); transform: translateY(-140%); transition: transform .25s ease; }
  .nav-links.open { transform: translateY(0); }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 0; width: 100%; }
  .nav-toggle { display: block; }
  .footer-top { text-align: left; }
}
@media (max-width: 480px) {
  body { font-size: 17px; }
  .stats { grid-template-columns: 1fr; }
  section.block { padding: 60px 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
