/* ============================================================
   executive.css — additive overrides on top of main.css to
   harden the executive-recruiter positioning. Load AFTER main.css.
   Shifts the accent palette from warm amber to professional blue,
   tightens the hero around a name-first H1, and adds the layouts
   for the executive summary, career card timeline, categorized
   client grid, capability matrix, and availability panel.
   ============================================================ */

:root {
  /* Professional navy + blue overrides the warm amber defaults. */
  --exec-navy:        #1F4E78;
  --exec-navy-2:      #15375A;
  --exec-blue:        #2E75B6;
  --exec-blue-2:      #3498DB;
  --exec-blue-soft:   #e8f1fa;
  --exec-ink:         #2C3E50;
  --exec-gray-bg:     #FAFAFA;

  /* Re-map the design-system tokens used by main.css so other
     pages (experience/portfolio/resume/contact) inherit the
     executive palette without per-page edits. */
  --accent:           var(--exec-blue);
  --accent-2:         var(--exec-blue-2);
  --accent-soft:      var(--exec-blue-soft);
  --link:             var(--exec-blue);
  --bg-elev:          var(--exec-gray-bg);

  /* Use Inter (already loaded) for headlines too. Keeps the
     executive voice corporate rather than editorial. */
  --font-display:     "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

h1, h2, h3 { letter-spacing: -0.025em; font-weight: 700; }
h4 { font-weight: 700; }

/* Tighten brand-mark contrast against navy on light bg */
.brand-mark { background: var(--exec-navy); }
.nav-links a.active { color: var(--exec-blue); }
.nav-links a.active::after { background: var(--exec-blue); }
.btn-primary:hover { background: var(--exec-blue); }
::selection { background: var(--exec-blue-soft); color: var(--exec-navy-2); }
.card .icon { background: var(--exec-blue-soft); color: var(--exec-blue); }

/* ---------- Executive hero (name-first) ---------- */
.exec-hero {
  position: relative;
  background: linear-gradient(180deg, var(--exec-navy), var(--exec-navy-2) 70%, #0b1220);
  color: #fff;
  padding: clamp(4.5rem, 9vw, 7.5rem) 0 clamp(4rem, 8vw, 6rem);
  overflow: hidden;
}
.exec-hero::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(52, 152, 219, .22), transparent 60%),
    radial-gradient(700px 360px at -5% 110%, rgba(46, 117, 182, .18), transparent 60%);
  pointer-events: none;
}
.exec-hero .container { position: relative; }
.exec-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
@media (max-width: 900px) {
  .exec-hero-grid { grid-template-columns: 1fr; }
}
.exec-hero .eyebrow { color: var(--exec-blue-2); margin-bottom: .85em; }
.exec-hero h1 {
  color: #fff;
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.2vw + .5rem, 4.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.02;
  margin: 0 0 .35em;
  text-transform: uppercase;
}
.exec-hero .subhead {
  font-size: clamp(1.05rem, 1.1vw + .8rem, 1.35rem);
  font-weight: 500;
  color: #cfe0f1;
  margin: 0 0 1.1em;
  letter-spacing: 0;
}
.exec-hero .subhead .pipe { color: rgba(255,255,255,.32); margin: 0 .55em; font-weight: 300; }
.exec-hero .lead { color: #d6e3ef; max-width: 62ch; font-size: clamp(1.02rem, .6vw + .92rem, 1.18rem); line-height: 1.6; }
.exec-hero .hero-availability {
  display: inline-block;
  margin: 0 0 1.3em;
  padding: .55rem 1rem;
  background: rgba(46, 117, 182, .18);
  border: 1px solid rgba(52, 152, 219, .35);
  border-radius: 999px;
  color: #e8f1fa;
  font-size: .98rem;
  letter-spacing: .005em;
  line-height: 1.45;
}
.exec-hero .hero-availability strong { color: #fff; font-weight: 700; }
.exec-hero .hero-availability .sep { color: rgba(255,255,255,.4); padding: 0 .35em; }
@media (max-width: 600px) {
  .exec-hero .hero-availability { font-size: .9rem; padding: .5rem .85rem; line-height: 1.5; }
}
.exec-hero .hero-actions { margin-top: 2rem; }
.exec-hero .btn-on-dark:hover { background: var(--exec-blue-2); color: #fff; }
.exec-hero .btn-ghost-on-dark:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.exec-hero .hero-contact {
  margin-top: 2.2rem;
  display: flex; flex-wrap: wrap;
  gap: .55rem 1.2rem;
  color: #aac2d8;
  font-size: .95rem;
  letter-spacing: .01em;
}
.exec-hero .hero-contact a { color: #cfe0f1; }
.exec-hero .hero-contact a:hover { color: #fff; }
.exec-hero .hero-contact .dot { width: 4px; height: 4px; border-radius: 50%; background: rgba(255,255,255,.28); display: inline-block; margin: 0 .15rem; align-self: center; }

/* Placeholder portrait — clean monogram block, ready to swap with a real headshot */
.exec-portrait {
  width: 220px; height: 260px;
  border-radius: 8px;
  background: linear-gradient(160deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.14);
  display: grid; place-items: center;
  position: relative;
  overflow: hidden;
  justify-self: end;
}
@media (max-width: 900px) {
  .exec-portrait { justify-self: start; width: 160px; height: 190px; }
}
.exec-portrait img { display: block; }

/* ---------- Section frame ---------- */
.exec-section { padding: clamp(3.5rem, 6vw, 5.5rem) 0; }
.exec-section .section-head { max-width: 760px; margin: 0 0 2.25rem; }
.exec-section .section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.exec-section h2 { font-family: var(--font-display); font-size: clamp(1.75rem, 2.2vw + .6rem, 2.6rem); margin-bottom: .35em; }
.exec-section .eyebrow { color: var(--exec-blue); }

/* ---------- Executive summary (3-col highlights) ---------- */
.exec-summary p.lead { font-size: 1.2rem; color: var(--ink-2); max-width: 62ch; }
.exec-highlights {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 880px) { .exec-highlights { grid-template-columns: 1fr; } }
.exec-highlight {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--exec-blue);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.4rem;
}
.exec-highlight h3 {
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--exec-blue);
  margin: 0 0 .9rem;
  font-family: var(--font-sans);
  font-weight: 700;
}
.exec-highlight ul { list-style: none; padding: 0; margin: 0; }
.exec-highlight li {
  padding: .55rem 0;
  border-top: 1px solid var(--line);
  color: var(--ink-2);
  font-size: .98rem;
  line-height: 1.5;
}
.exec-highlight li:first-child { border-top: 0; padding-top: 0; }

/* ---------- Career cards ---------- */
.career-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
@media (max-width: 880px) { .career-cards { grid-template-columns: 1fr; } }
.career-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.75rem 1.75rem 1.5rem;
  position: relative;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.career-card:hover { transform: translateY(-2px); border-color: var(--line-2); box-shadow: var(--shadow); }
.career-card .when {
  display: inline-block;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--exec-blue);
  background: var(--exec-blue-soft);
  padding: .25rem .65rem;
  border-radius: 999px;
  margin-bottom: .85rem;
}
.career-card h3 {
  margin: 0 0 .15em;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--exec-ink);
}
.career-card .role { color: var(--exec-navy); font-weight: 600; font-size: 1.05rem; margin: 0 0 .9rem; }
.career-card p.summary { color: var(--ink-2); margin: 0 0 1rem; font-size: .98rem; }
.career-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--line);
}
.career-card li {
  padding: .55rem 0 .55rem 1.5rem;
  border-bottom: 1px solid var(--line);
  font-size: .95rem;
  color: var(--ink-2);
  position: relative;
  line-height: 1.5;
}
.career-card li:last-child { border-bottom: 0; }
.career-card li::before {
  content: "";
  position: absolute; left: 0; top: .95rem;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--exec-blue);
}

/* ---------- Categorized client/project lists ---------- */
.client-cats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2rem;
}
@media (max-width: 880px) { .client-cats { grid-template-columns: 1fr; } }
.client-cat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.3rem;
}
.client-cat h3 {
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--exec-blue);
  margin: 0 0 .85rem;
  font-family: var(--font-sans);
  font-weight: 700;
}
.client-cat p {
  color: var(--ink);
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
}
.client-cat .sep { color: var(--exec-blue); padding: 0 .35em; font-weight: 700; }

/* ---------- Capabilities matrix ---------- */
.cap-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .65rem 1.25rem;
}
@media (max-width: 700px) { .cap-grid { grid-template-columns: 1fr; } }
.cap-item {
  display: flex; align-items: center; gap: .75rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: .9rem 1.1rem;
  font-size: 1rem;
  color: var(--exec-ink);
  font-weight: 500;
}
.cap-item .check {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--exec-blue-soft);
  color: var(--exec-blue);
  display: inline-grid; place-items: center;
  flex: 0 0 18px;
}
.cap-item .check svg { width: 11px; height: 11px; }

/* ---------- Availability panel ---------- */
.availability {
  background: linear-gradient(180deg, var(--exec-navy), var(--exec-navy-2));
  color: #fff;
}
.availability h2 { color: #fff; }
.availability .lead { color: #d6e3ef; max-width: 64ch; }
.availability .avail-grid {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (max-width: 880px) { .availability .avail-grid { grid-template-columns: 1fr; } }
.availability h3 {
  color: #fff;
  font-size: .82rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin: 0 0 .9rem;
  font-family: var(--font-sans);
  font-weight: 700;
}
.availability .seeking-list { list-style: none; padding: 0; margin: 0; }
.availability .seeking-list li {
  padding: .7rem 0 .7rem 1.75rem;
  border-top: 1px solid rgba(255,255,255,.10);
  position: relative;
  color: #e6eef7;
  font-size: 1rem;
}
.availability .seeking-list li:first-child { border-top: 0; }
.availability .seeking-list li::before {
  content: "";
  position: absolute; left: 0; top: 1.15rem;
  width: 10px; height: 2px; background: var(--exec-blue-2);
}
.availability .contact-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.4rem;
}
.availability .contact-card a { color: #fff; font-weight: 600; }
.availability .contact-card a:hover { color: var(--exec-blue-2); text-decoration: none; }
.availability .contact-row { margin-bottom: .9rem; }
.availability .contact-row:last-child { margin-bottom: 0; }
.availability .contact-row .label {
  display: block;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: .25rem;
}
.availability .contact-row .value { font-size: 1.05rem; word-break: break-word; }

/* ---------- FAQ (AEO) ---------- */
.faq { background: #fff; }
.faq-list { display: grid; gap: 0; }
.faq-item {
  padding: 1.4rem 0;
  border-top: 1px solid var(--line);
}
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--exec-navy);
  margin: 0 0 .55rem;
  letter-spacing: -.01em;
}
.faq-item p { color: var(--ink-2); margin: 0; line-height: 1.65; font-size: 1rem; }
.faq-item a { color: var(--exec-blue); font-weight: 500; }

/* ---------- Stat strip (refined for new palette) ---------- */
.exec-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: #fff;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.exec-stats .stat {
  padding: 1.75rem 1.25rem;
  text-align: center;
  border-left: 1px solid var(--line);
}
.exec-stats .stat:first-child { border-left: 0; }
.exec-stats .num {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 2.6vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -.03em;
  color: var(--exec-navy);
  line-height: 1;
}
.exec-stats .num .accent { color: var(--exec-blue); }
.exec-stats .label {
  margin-top: .5rem;
  font-size: .75rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
@media (max-width: 760px) {
  .exec-stats { grid-template-columns: repeat(2, 1fr); }
  .exec-stats .stat:nth-child(3) { border-left: 0; }
  .exec-stats .stat:nth-child(3), .exec-stats .stat:nth-child(4) { border-top: 1px solid var(--line); }
}
