/* executive-profile.css
   Open article layout — left sticky sidebar, editorial typography
   No boxes except key callouts. Cobalt used intentionally.
   Theme-safe: vars only.
*/

/* ============================================================
   PAGE OUTER — sidebar + content layout
   ============================================================ */

.profile-outer {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 0;
  align-items: start;
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
  padding: 56px 0 80px;
}

/* ── Left sticky sidebar ── */
.profile-sidebar {
  position: sticky;
  top: 88px;
  /* nav height + breathing room */
  padding-right: 40px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  scrollbar-width: none;
}

.profile-sidebar::-webkit-scrollbar {
  display: none;
}

.sidebar-label {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin-bottom: 16px;
  display: block;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sidebar-nav a {
  display: block;
  font-size: 12px;
  color: var(--ink-dim);
  padding: 6px 10px;
  border-radius: 8px;
  border-left: 2px solid transparent;
  line-height: 1.4;
  transition: color .15s ease, border-color .15s ease, background .15s ease;
  text-decoration: none;
}

.sidebar-nav a:hover {
  color: var(--ink-muted);
  background: var(--glass);
}

.sidebar-nav a.is-active {
  color: var(--cobalt-text);
  border-left-color: var(--cobalt-active);
  background: rgba(26, 107, 255, .06);
}

/* ── Main article content ── */
.profile-content {
  min-width: 0;
  padding-left: 48px;
  border-left: 1px solid var(--border2);
}

/* ============================================================
   HERO — above the sidebar layout
   ============================================================ */

/* ── Profile Hero — dramatic editorial ── */

.profile-hero {
  width: min(1100px, calc(100% - 48px));
  margin: 0 auto;
  padding: 96px 0 64px;
  border-bottom: 1px solid var(--border2);
  margin-bottom: 0;
}

.profile-hero-inner {
  max-width: 780px;
}

.profile-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 32px;
}

.profile-eyebrow .kicker {
  margin: 0;
}

/* ── Name block with cobalt rule ── */
.profile-hero-name {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 16px;
}

.profile-cobalt-rule {
  width: 4px;
  height: 72px;
  background: linear-gradient(to bottom, var(--cobalt-active), rgba(26, 107, 255, 0));
  border-radius: 99px;
  flex-shrink: 0;
}

.profile-title {
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1;
  margin: 0;
  letter-spacing: -0.03em;
  font-weight: 700;
  color: var(--ink);
}

.profile-born {
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin: 0 0 0 28px;
  /* aligns under title, past the rule */
  opacity: .55;
}

.profile-subtitle {
  margin: 24px 0 28px 28px;
  color: var(--ink-muted);
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  line-height: 1.5;
  font-style: italic;
  font-weight: 600;
}

/* ── Meta pills ── */
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 36px 28px;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--border2);
  background: var(--glass);
  color: var(--ink-dim);
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 500;
}

/* ── Intro paragraph ── */
.profile-hero-intro {
  margin-left: 28px;
  max-width: 62ch;
}

.profile-hero-intro p {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--ink-muted);
  margin: 0 0 16px;
}

.profile-hero-intro p:last-of-type {
  margin-bottom: 24px;
}

.profile-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── Responsive ── */
@media (max-width: 960px) {
  .profile-hero {
    padding-top: 80px;
  }

  .profile-title {
    font-size: clamp(2.4rem, 7vw, 3.5rem);
  }

  .profile-cobalt-rule {
    height: 56px;
  }
}

@media (max-width: 560px) {
  .profile-hero-name {
    gap: 16px;
  }

  .profile-born,
  .profile-subtitle,
  .meta-row,
  .profile-hero-intro {
    margin-left: 0;
  }

  .profile-cobalt-rule {
    display: none;
  }

  .profile-title {
    font-size: 2.4rem;
  }
}

/* ============================================================
   ARTICLE SECTIONS — open flow, no boxes
   ============================================================ */

.section-block {
  padding: 0 0 52px;
  margin: 0;
  border-bottom: 1px solid var(--border2);
  margin-bottom: 52px;
}

.section-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Section eyebrow — cobalt label */
.section-block h2 {
  margin: 0 0 6px;
  font-size: 10.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--cobalt-text);
  font-weight: 600;
}

/* Section headline */
.section-block h3 {
  margin: 0 0 24px;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  letter-spacing: -0.02em;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
}

/* Sections with only h2 (no h3 subhead) */
.section-block>h2:only-of-type:not(:has(~ h3)) {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  letter-spacing: -0.02em;
  font-weight: 700;
  line-height: 1.2;
  color: var(--ink);
  text-transform: none;
  margin-bottom: 24px;
}

/* ── Prose ── */
.prose p {
  margin: 0 0 18px;
  color: var(--ink-muted);
  font-size: 15.5px;
  line-height: 1.9;
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose ul {
  margin: 0 0 18px;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.prose ul li {
  font-size: 15px;
  line-height: 1.75;
  color: var(--ink-muted);
  padding-left: 22px;
  position: relative;
}

.prose ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--cobalt-text);
  opacity: .55;
  font-size: 12px;
  top: 3px;
}

/* ── Pullquote — keep boxed, this is a callout ── */
.pullquote {
  margin: 32px 0;
  padding: 28px 32px;
  border-radius: 0;
  border: none;
  border-left: 3px solid var(--cobalt-active);
  background: transparent;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(1.15rem, 2.2vw, 1.45rem);
  line-height: 1.5;
  letter-spacing: .01em;
}

/* ============================================================
   PRODUCT IMAGES — stacked offset like hero
   ============================================================ */

.product-stack {
  position: relative;
  height: 480px;
  margin: 56px auto 8px;
  max-width: 420px;

}

.product-img {
  position: absolute;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border2);
  object-fit: cover;
  object-position: top;
}

.product-img:nth-child(1) {
  width: 52%;
  aspect-ratio: 9 / 19.5;
  height: auto;
  top: 0;
  right: 0;
  transform: rotate(1.8deg);
  z-index: 1;
  opacity: .90;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .4);
  object-fit: cover;
  object-position: top;
  border-radius: 45px;
}

.product-img:nth-child(2) {
  width: 56%;
  aspect-ratio: 9 / 19.5;
  height: auto;
  bottom: 0;
  left: 0;
  z-index: 2;
  box-shadow: 0 32px 72px rgba(26, 107, 255, .15), 0 20px 56px rgba(0, 0, 0, .45);
  object-fit: cover;
  object-position: top;
  border-radius: 45px;
}

/* CTA link */
.product-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--border2);
  background: var(--glass);
  color: var(--ink);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .02em;
  transition: transform .15s ease, background .15s ease;
}

.product-cta:hover {
  transform: translateY(-1px);
  background: var(--glass2);
}

.product-cta__arrow {
  font-size: 16px;
  line-height: 1;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 960px) {
  .profile-outer {
    grid-template-columns: 1fr;
    padding: 32px 0 60px;
  }

  .profile-sidebar {
    display: none;
    /* hidden on mobile — TOC in hero card serves instead */
  }

  .profile-content {
    padding-left: 0;
    border-left: none;
  }

  .profile-hero {
    width: min(880px, calc(100% - 48px));
    padding-top: 76px;
  }

  .profile-grid {
    grid-template-columns: 1fr;
  }

  .product-stack {
    height: 380px;
    max-width: 340px;
  }

  .pullquote {
    padding: 20px 24px;
  }
}

  .product-img:nth-child(1),
  .product-img:nth-child(2) {
    border-radius: 30px;
  }

@media (max-width: 640px) {
  .section-block {
    padding-bottom: 36px;
    margin-bottom: 36px;
  }

  .profile-title {
    font-size: 2.2rem;
  }

  .product-stack {
    height: 340px;
    max-width: 260px;
  }

  .product-img:nth-child(1),
  .product-img:nth-child(2) {
    width: 46%;
    border-radius: 18px;
  }
}