/* ==========================================================
   mavahidy.com — Corporate Executive Theme
   Navy · Gold · Ivory
   ========================================================== */

:root {
  --navy-900: #071528;
  --navy-800: #0B1F3A;
  --navy-700: #132C52;
  --navy-600: #1C3B6B;
  --gold-500: #C9A227;
  --gold-400: #D9B84A;
  --gold-300: #E3C766;
  --gold-700: #8A6D12;
  --ivory:    #F7F5F0;
  --paper:    #FFFFFF;
  --ink:      #1A2433;
  --slate:    #4A5568;
  --muted:    #6B7685;
  --line:     #E3DFD5;
  --wa:       #25D366;
  --wa-dark:  #1DA851;

  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(11,31,58,.06), 0 2px 8px rgba(11,31,58,.05);
  --shadow:    0 10px 30px rgba(11,31,58,.10);
  --shadow-lg: 0 24px 60px rgba(7,21,40,.28);
  --container: 1180px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.2; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.icon { width: 24px; height: 24px; flex: none; }
.icon-sm { width: 18px; height: 18px; }
.wa-icon { width: 26px; height: 26px; flex: none; }
.wa-icon.icon-sm { width: 19px; height: 19px; }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 1000;
  background: var(--gold-500); color: var(--navy-900); padding: 8px 14px; border-radius: 6px; font-weight: 600;
}
.skip-link:focus { left: 12px; }
:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-900); color: #C8D1DE; font-size: 13px; letter-spacing: .02em; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar-titles { margin: 0; display: flex; align-items: center; gap: 10px; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; font-size: 11.5px; color: var(--gold-300); }
.topbar-titles .sep { font-size: 7px; color: var(--gold-500); }
.topbar-links { display: flex; gap: 22px; }
.topbar-links a { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; color: #C8D1DE; transition: color .2s; }
.topbar-links a:hover { color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(11,31,58,.97);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(201,162,39,.25);
  transition: box-shadow .3s;
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(0,0,0,.25); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; color: #fff; }
.brand-mark { width: 40px; height: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-name { font-family: var(--font-serif); font-size: 21px; font-weight: 600; letter-spacing: .01em; }
.brand-sub { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-300); font-weight: 600; }

.site-nav { display: flex; align-items: center; gap: 6px; }
.site-nav a {
  text-decoration: none; color: #DCE3EC; font-size: 15px; font-weight: 500;
  padding: 10px 14px; border-radius: 6px; position: relative; transition: color .2s;
}
.site-nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--gold-500); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.site-nav a:hover, .site-nav a.active { color: #fff; }
.site-nav a:hover::after, .site-nav a.active::after { transform: scaleX(1); }
.site-nav .nav-cta { margin-left: 10px; border: 1px solid var(--gold-500); color: var(--gold-300); padding: 9px 20px; }
.site-nav .nav-cta:hover { background: var(--gold-500); color: var(--navy-900); }

.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-sans); font-weight: 600; font-size: 15px; letter-spacing: .01em;
  padding: 14px 26px; border-radius: 8px; text-decoration: none; border: 1px solid transparent;
  cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: linear-gradient(180deg, var(--gold-400), var(--gold-500)); color: var(--navy-900); box-shadow: 0 8px 22px rgba(201,162,39,.28); }
.btn-gold:hover { box-shadow: 0 12px 28px rgba(201,162,39,.38); }
.btn-whatsapp { background: var(--wa); color: #fff; box-shadow: 0 8px 22px rgba(37,211,102,.25); }
.btn-whatsapp:hover { background: var(--wa-dark); }
.btn-outline-light { border-color: rgba(227,199,102,.6); color: var(--gold-300); background: transparent; }
.btn-outline-light:hover { background: rgba(201,162,39,.12); border-color: var(--gold-300); }
.btn-lg { padding: 17px 30px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy-800); color: #fff; padding: 96px 0 0; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(28,59,107,.9), transparent 60%),
    radial-gradient(600px 400px at 10% 90%, rgba(201,162,39,.10), transparent 60%),
    linear-gradient(180deg, var(--navy-800), var(--navy-900));
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0; opacity: .07;
  background-image:
    linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.25fr .85fr; gap: 64px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px; flex-wrap: wrap;
  text-transform: uppercase; letter-spacing: .18em; font-size: 13px; font-weight: 600; color: var(--gold-300);
  padding: 8px 16px; border: 1px solid rgba(201,162,39,.4); border-radius: 999px; background: rgba(201,162,39,.06);
  margin-bottom: 26px;
}
.eyebrow-sep { width: 6px; height: 6px; background: var(--gold-500); transform: rotate(45deg); display: inline-block; }
.hero h1 { font-family: var(--font-serif); font-weight: 600; font-size: clamp(42px, 6vw, 72px); letter-spacing: -.01em; line-height: 1.05; margin-bottom: 24px; }
.hero-lead { font-size: 19px; color: #C9D3E0; max-width: 620px; margin-bottom: 36px; }
.hero-lead em { font-style: normal; color: #fff; border-bottom: 2px solid var(--gold-500); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-visual { display: flex; justify-content: center; }
.crest-card, .portrait {
  position: relative; width: 100%; max-width: 400px; aspect-ratio: 1 / 1.08; margin: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(28,59,107,.75), rgba(7,21,40,.85));
  border: 1px solid rgba(201,162,39,.35);
  box-shadow: var(--shadow-lg);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
}
.crest-card::before, .portrait::before {
  content: ""; position: absolute; inset: 14px; border: 1px solid rgba(201,162,39,.25); border-radius: 10px; pointer-events: none;
}
.crest-card img { width: 52%; filter: drop-shadow(0 18px 30px rgba(0,0,0,.45)); }
.crest-caption { display: flex; gap: 10px; align-items: center; font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: #B9C5D6; font-weight: 600; }
.crest-caption .dot { color: var(--gold-500); font-size: 7px; }
.portrait { overflow: hidden; padding: 0; }
.portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.portrait::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(7,21,40,.92)); pointer-events: none; }
.portrait::before { z-index: 2; }
.portrait-plate { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 22px 26px 26px; text-align: left; display: flex; flex-direction: column; gap: 4px; }
.portrait-plate::before { content: ""; width: 40px; height: 2px; background: var(--gold-500); margin-bottom: 8px; }
.plate-name { font-family: var(--font-serif); font-size: 22px; font-weight: 600; color: #fff; line-height: 1.2; }
.plate-role { font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-300); font-weight: 600; }

.stats {
  position: relative; margin: 80px 0 0; display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--paper); color: var(--ink); border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  box-shadow: 0 -10px 40px rgba(0,0,0,.15);
}
.stat { padding: 30px 28px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat dt { font-family: var(--font-serif); font-size: 40px; font-weight: 700; color: var(--navy-800); line-height: 1.1; }
.stat dt::after { content: ""; display: block; width: 28px; height: 2px; background: var(--gold-500); margin: 12px 0 10px; }
.stat dd { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.45; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; }
.section-tint { background: var(--ivory); }
.section-navy { background: var(--navy-800); color: #fff; position: relative; overflow: hidden; }
.section-navy::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(700px 400px at 50% 0%, rgba(28,59,107,.8), transparent 70%);
}
.section-navy .container { position: relative; }

.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
.kicker { text-transform: uppercase; letter-spacing: .2em; font-size: 12.5px; font-weight: 700; color: var(--gold-700); margin-bottom: 14px; }
.kicker-light { color: var(--gold-300); }
.section h2 { font-family: var(--font-serif); font-weight: 600; font-size: clamp(30px, 3.6vw, 44px); color: var(--navy-800); letter-spacing: -.005em; }
.section-navy h2 { color: #fff; }
.rule { display: block; width: 64px; height: 3px; background: var(--gold-500); margin-top: 22px; }
.center .rule { margin-left: auto; margin-right: auto; }
.section-intro { margin-top: 22px; color: #B9C5D6; font-size: 18px; }
.lead { font-size: 19px; color: var(--ink); }

/* About */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start; }
.about-body p { color: var(--slate); }
.about-body .lead { color: var(--ink); }
.about-body strong { color: var(--navy-800); font-weight: 600; }
.about-highlights { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 40px 0 0; max-width: 440px; }
.about-body .text-link { margin-top: 8px; }
.hl { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border: 1px solid var(--line); border-left: 3px solid var(--gold-500); border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow-sm); }
.hl .icon { color: var(--gold-700); margin-top: 2px; }
.hl h3 { font-size: 15.5px; color: var(--navy-800); margin-bottom: 4px; }
.hl p { margin: 0; font-size: 14px; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--navy-700); text-decoration: none; border-bottom: 1px solid var(--gold-500); padding-bottom: 3px; }
.text-link:hover { color: var(--gold-700); }

/* Expertise cards */
.cards-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 30px;
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; position: relative; overflow: hidden;
}
.card::before { content: ""; position: absolute; left: 0; top: 0; width: 100%; height: 3px; background: var(--gold-500); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }
.card-icon { width: 54px; height: 54px; border-radius: 12px; background: var(--navy-800); color: var(--gold-300); display: grid; place-items: center; margin-bottom: 22px; }
.card h3 { font-size: 19px; color: var(--navy-800); margin-bottom: 10px; }
.card p { margin: 0; color: var(--slate); font-size: 15.5px; }

/* Projects */
.projects { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.project {
  display: flex; flex-direction: column;
  background: linear-gradient(170deg, rgba(28,59,107,.55), rgba(7,21,40,.6));
  border: 1px solid rgba(201,162,39,.22); border-radius: var(--radius-lg); padding: 34px 30px 30px;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.project:hover { transform: translateY(-5px); border-color: rgba(201,162,39,.6); box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.project-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.project-num { font-family: var(--font-serif); font-size: 40px; color: rgba(227,199,102,.35); font-weight: 700; line-height: 1; }
.project-icon { width: 56px; height: 56px; border-radius: 50%; border: 1px solid rgba(201,162,39,.5); color: var(--gold-300); display: grid; place-items: center; }
.project-tag { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-300); font-weight: 600; margin-bottom: 8px; }
.project h3 { font-family: var(--font-serif); font-size: 25px; font-weight: 600; margin-bottom: 14px; color: #fff; }
.project > p { color: #C2CDDC; font-size: 15.5px; }
.checks { list-style: none; padding: 0; margin: 4px 0 28px; flex: 1; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: #DCE3EC; padding: 7px 0; border-top: 1px solid rgba(255,255,255,.07); }
.checks .icon { color: var(--gold-400); margin-top: 3px; }

/* Approach */
.steps { list-style: none; padding: 0; margin: 0 0 72px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; counter-reset: s; position: relative; }
.step { padding: 0 36px; border-left: 1px solid var(--line); }
.step:first-child { border-left: 0; padding-left: 0; }
.step-num { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; border-radius: 50%; background: var(--navy-800); color: var(--gold-300); font-family: var(--font-serif); font-size: 20px; font-weight: 700; margin-bottom: 20px; box-shadow: 0 0 0 6px rgba(201,162,39,.15); }
.step h3 { font-size: 20px; color: var(--navy-800); margin-bottom: 10px; }
.step p { color: var(--slate); margin: 0; font-size: 15.5px; }

.competencies { background: var(--ivory); border-radius: var(--radius-lg); padding: 40px; border: 1px solid var(--line); }
.competencies-h { font-family: var(--font-serif); font-size: 24px; color: var(--navy-800); margin-bottom: 22px; font-weight: 600; }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.tags li { padding: 9px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; font-size: 14px; font-weight: 500; color: var(--navy-700); transition: border-color .2s, color .2s; }
.tags li:hover { border-color: var(--gold-500); color: var(--gold-700); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 72px; align-items: center; }
.contact-grid .lead { margin-top: 24px; color: var(--slate); }
.contact-list { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: center; }
.contact-list > li > .icon { width: 46px; height: 46px; padding: 11px; border-radius: 10px; background: var(--navy-800); color: var(--gold-300); }
.cl-label { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.contact-list a { color: var(--navy-800); font-weight: 600; text-decoration: none; }
.contact-list a:hover { color: var(--gold-700); }

.wa-card {
  background: var(--navy-800); color: #fff; border-radius: var(--radius-lg); padding: 44px 40px; text-align: center;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(201,162,39,.35); position: relative;
}
.wa-card::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(201,162,39,.2); border-radius: 10px; pointer-events: none; }
.wa-card-icon { width: 78px; height: 78px; margin: 0 auto 22px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 8px rgba(37,211,102,.15); }
.wa-card-icon .wa-icon { width: 42px; height: 42px; }
.wa-card h3 { font-family: var(--font-serif); font-size: 26px; font-weight: 600; margin-bottom: 12px; }
.wa-card p { color: #C2CDDC; }
.wa-card .wa-number { font-size: 22px; font-weight: 700; color: var(--gold-300); letter-spacing: .03em; margin-bottom: 24px; }
.wa-card .btn { position: relative; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #AEB9C8; padding: 72px 0 0; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.2fr; gap: 56px; padding-bottom: 48px; }
.footer-logo { width: 280px; height: auto; margin-bottom: 20px; }
.footer-brand p { max-width: 420px; }
.footer-h { font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-300); margin-bottom: 18px; }
.footer-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-list a { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: #AEB9C8; transition: color .2s; }
.footer-list a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px; padding-bottom: 26px; font-size: 13.5px; }
.footer-bottom p { margin: 0; }
.footer-titles { color: var(--gold-300); letter-spacing: .06em; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 200;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--wa); color: #fff; text-decoration: none; font-weight: 600; font-size: 15px;
  padding: 13px 20px 13px 15px; border-radius: 999px; box-shadow: 0 10px 28px rgba(0,0,0,.25);
  transition: transform .2s var(--ease), background .2s;
}
.wa-float:hover { transform: translateY(-3px); background: var(--wa-dark); }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 100px 0; }
.notfound .code { font-family: var(--font-serif); font-size: 110px; color: var(--navy-800); line-height: 1; }
.notfound p { color: var(--slate); }

/* ---------- Reveal animation ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  * { transition: none !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .cards-3, .projects { grid-template-columns: repeat(2, 1fr); }
  .hero-grid { gap: 40px; }
}
@media (max-width: 920px) {
  .topbar-titles { display: none; }
  .topbar-inner { justify-content: center; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-800); border-bottom: 1px solid rgba(201,162,39,.3); padding: 8px 24px 20px;
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,.06); }
  .site-nav a::after { display: none; }
  .site-nav .nav-cta { margin: 14px 0 0; text-align: center; }
  .hero { padding-top: 64px; }
  .hero-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .hero-visual.has-photo { order: 0; }
  .crest-card, .portrait { max-width: 300px; }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: 56px; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .step, .step:first-child { border-left: 0; padding: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .section { padding: 80px 0; }
  .about-grid, .contact-grid { gap: 40px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .topbar-links span { display: none; }
  .topbar-links { gap: 26px; }
  .brand-name { font-size: 18px; }
  .brand-sub { font-size: 9px; letter-spacing: .08em; }
  .brand-mark { width: 34px; }
  .cards-3, .projects, .about-highlights { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .hero-lead { font-size: 17px; }
  .stat { padding: 22px 18px; }
  .stat dt { font-size: 32px; }
  .competencies { padding: 28px 22px; }
  .wa-card { padding: 36px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .wa-float { padding: 14px; }
  .wa-float-label { display: none; }
  .crest-caption { font-size: 9px; letter-spacing: .08em; gap: 6px; }
  .crest-card, .portrait { max-width: 300px; }
  .plate-name { font-size: 19px; }
  .plate-role { font-size: 10px; }
  .portrait-plate { padding: 18px 20px 20px; }
  .eyebrow { font-size: 10.5px; letter-spacing: .12em; gap: 8px; border-radius: 10px; padding: 8px 12px; }
  .brand-sub { font-size: 8.5px; letter-spacing: .05em; }
  .hero h1 { font-size: 40px; }
}

/* ---------- LinkedIn-based additions ---------- */
.hero-role { display: flex; align-items: flex-start; gap: 8px; color: #DCE3EC; font-size: 15.5px; margin: -8px 0 18px; }
.hero-role .icon { color: var(--gold-300); margin-top: 4px; }
.hero-role strong { color: #fff; font-weight: 600; }

.timeline { list-style: none; margin: 0 auto; padding: 0 0 0 34px; max-width: 900px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 9px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--gold-500), rgba(201,162,39,.15)); }
.tl-item { position: relative; margin-bottom: 22px; }
.tl-dot { position: absolute; left: -32px; top: 28px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); border: 3px solid var(--navy-700); }
.is-current .tl-dot { background: var(--gold-500); border-color: var(--gold-500); box-shadow: 0 0 0 6px rgba(201,162,39,.2); }
.tl-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px 28px; box-shadow: var(--shadow-sm); }
.is-current .tl-card { border-left: 3px solid var(--gold-500); }
.tl-head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.tl-org { font-family: var(--font-serif); font-size: 22px; font-weight: 600; color: var(--navy-800); }
.badge { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; background: var(--navy-800); color: var(--gold-300); padding: 4px 10px; border-radius: 999px; }
.tl-type { font-size: 13.5px; color: var(--muted); margin: 4px 0 6px; }
.tl-role { padding-top: 12px; margin-top: 12px; border-top: 1px solid var(--line); }
.tl-role:first-of-type { border-top: 0; margin-top: 4px; padding-top: 4px; }
.tl-role-head { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; flex-wrap: wrap; }
.tl-role h4 { margin: 0; font-size: 16.5px; color: var(--navy-700); font-weight: 600; }
.tl-dates { font-size: 13.5px; font-weight: 600; color: var(--gold-700); white-space: nowrap; }
.tl-role p { margin: 8px 0 0; color: var(--slate); font-size: 15px; }

.cred-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 28px; align-items: start; }
.cred-col { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-sm); }
.cred-h { display: flex; align-items: center; gap: 12px; font-family: var(--font-serif); font-size: 23px; font-weight: 600; color: var(--navy-800); margin-bottom: 18px; }
.cred-h .icon { color: var(--gold-700); }
.cred-list { list-style: none; padding: 0; margin: 0; }
.cred-list li { padding: 13px 0 13px 16px; border-top: 1px solid var(--line); position: relative; }
.cred-list li:first-child { border-top: 0; }
.cred-list li::before { content: ""; position: absolute; left: 0; top: 22px; width: 6px; height: 6px; background: var(--gold-500); transform: rotate(45deg); }
.cred-list strong { display: block; color: var(--navy-800); font-size: 15.5px; font-weight: 600; line-height: 1.4; }
.cred-list span { display: block; color: var(--muted); font-size: 13.5px; margin-top: 2px; }
.cred-list li.featured strong { color: var(--navy-900); }

.pullquote { margin: 0 auto 64px; max-width: 860px; text-align: center; padding: 40px 36px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pullquote blockquote { margin: 0; font-family: var(--font-serif); font-size: clamp(22px, 2.6vw, 30px); line-height: 1.4; color: var(--navy-800); font-style: italic; }
.pullquote figcaption { margin-top: 16px; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-700); font-weight: 600; }

@media (max-width: 920px) {
  .cred-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .timeline { padding-left: 26px; }
  .timeline::before { left: 6px; }
  .tl-dot { left: -26px; width: 14px; height: 14px; }
  .tl-card { padding: 20px; }
  .tl-org { font-size: 19px; }
  .cred-col { padding: 24px 20px; }
  .pullquote { padding: 28px 8px; }
}

/* ---------- Academic Spotlight ---------- */
.academic { margin-top: 56px; }
.academic-head { text-align: center; margin-bottom: 28px; }
.academic-head h3 { font-family: var(--font-serif); font-size: clamp(24px, 2.6vw, 32px); font-weight: 600; color: var(--navy-800); }
.academic-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: stretch; }
.thesis-card { position: relative; background: var(--navy-800); color: #fff; border-radius: var(--radius-lg); padding: 38px 36px; border: 1px solid rgba(201,162,39,.35); box-shadow: var(--shadow); overflow: hidden; }
.thesis-card::before { content: ""; position: absolute; inset: 12px; border: 1px solid rgba(201,162,39,.2); border-radius: 10px; pointer-events: none; }
.thesis-card::after { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(201,162,39,.18), transparent 70%); pointer-events: none; }
.thesis-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 22px; position: relative; }
.thesis-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--gold-300); }
.thesis-credits { font-size: 13px; font-weight: 700; color: var(--navy-900); background: linear-gradient(180deg, var(--gold-300), var(--gold-500)); padding: 6px 14px; border-radius: 999px; }
.thesis-card h4 { font-family: var(--font-serif); font-size: clamp(24px, 2.4vw, 30px); font-weight: 600; line-height: 1.3; margin: 0 0 12px; position: relative; }
.thesis-school { color: #B9C5D6; font-size: 15px; margin-bottom: 20px; position: relative; }
.thesis-facts { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; position: relative; }
.thesis-facts li { display: flex; gap: 10px; align-items: flex-start; color: #DCE3EC; font-size: 15px; padding-top: 10px; border-top: 1px solid rgba(255,255,255,.08); }
.thesis-facts .icon { color: var(--gold-400); margin-top: 3px; }
.grades { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px 30px 18px; box-shadow: var(--shadow-sm); }
.grades-h { display: flex; align-items: center; gap: 12px; font-family: var(--font-serif); font-size: 22px; font-weight: 600; color: var(--navy-800); margin-bottom: 10px; }
.grade-a { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: var(--navy-800); color: var(--gold-300); font-family: var(--font-serif); font-weight: 700; font-size: 20px; }
.grade-list { list-style: none; padding: 0; margin: 0; }
.grade-list li { display: flex; gap: 14px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.grade-list li:first-child { border-top: 0; }
.grade-pill { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--gold-500); color: var(--gold-700); font-weight: 800; font-size: 14px; }
.grade-list strong { display: block; color: var(--navy-800); font-size: 15.5px; font-weight: 600; line-height: 1.35; }
.grade-list span { display: block; color: var(--muted); font-size: 13.5px; }

/* ---------- Endorsements ---------- */
.endorse-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.endorse { position: relative; margin: 0; padding: 44px 38px 32px; border-radius: var(--radius-lg); background: linear-gradient(170deg, rgba(28,59,107,.55), rgba(7,21,40,.6)); border: 1px solid rgba(201,162,39,.25); display: flex; flex-direction: column; }
.endorse-mark { position: absolute; top: 6px; left: 26px; font-family: var(--font-serif); font-size: 96px; line-height: 1; color: rgba(201,162,39,.45); }
.endorse blockquote { margin: 0 0 28px; color: #DCE3EC; font-size: 16.5px; line-height: 1.75; font-style: italic; flex: 1; position: relative; }
.endorse figcaption { display: flex; gap: 16px; align-items: center; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); }
.endorse-avatar { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, var(--gold-300), var(--gold-500)); color: var(--navy-900); font-weight: 700; font-family: var(--font-serif); font-size: 18px; }
.endorse-who { display: flex; flex-direction: column; line-height: 1.4; }
.endorse-who strong { color: #fff; font-size: 16.5px; }
.endorse-who span { color: #B9C5D6; font-size: 13.5px; }
.endorse-who em { font-style: normal; color: var(--gold-300); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; margin-top: 3px; }
.endorse-source { margin: 34px 0 0; text-align: center; color: #9FB0C6; font-size: 14px; display: flex; justify-content: center; align-items: center; gap: 8px; }
.endorse-source a { color: var(--gold-300); }

@media (max-width: 1180px) { .site-nav a { padding: 10px 10px; font-size: 14.5px; } .site-nav .nav-cta { margin-left: 6px; padding: 9px 16px; } }
@media (max-width: 920px) {
  .academic-grid, .endorse-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .thesis-card { padding: 30px 24px; }
  .endorse { padding: 40px 24px 26px; }
  .grades { padding: 24px 20px 12px; }
}
.grade-list .grade-pill { display: grid; color: var(--gold-700); font-size: 14px; }
.grade-list li > div span { display: block; color: var(--muted); font-size: 13.5px; }
.endorse blockquote { padding-top: 16px; }
.site-nav a { white-space: nowrap; }
.brand-sub { white-space: nowrap; }
@media (max-width: 1440px) and (min-width: 921px) {
  .site-nav { gap: 0; }
  .site-nav a { padding: 10px 9px; font-size: 14px; }
  .site-nav a:not(.nav-cta)::after { left: 9px; right: 9px; }
  .site-nav .nav-cta { margin-left: 6px; padding: 8px 14px; }
  .brand-name { font-size: 19px; }
  .brand-sub { font-size: 9.5px; letter-spacing: .08em; }
}
@media (max-width: 1140px) and (min-width: 921px) {
  .brand-sub { display: none; }
}
