/* ─── Base ─────────────────────────────────────────────────────────── */
html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
section[id] { scroll-margin-top: 80px; }

/* ─── Fonts ────────────────────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

/* ─── Hero image background ────────────────────────────────────────── */
.hero-bg {
  background-image:
    linear-gradient(135deg, rgba(10,20,50,0.92) 0%, rgba(14,116,144,0.70) 100%),
    url('https://images.unsplash.com/photo-1551288049-bebda4e38f71?auto=format&fit=crop&w=1600&q=80');
  background-size: cover;
  background-position: center 40%;
}

/* ─── Cards & articles ─────────────────────────────────────────────── */
article { transition: transform .25s ease, box-shadow .25s ease; }
article:hover { transform: translateY(-3px); box-shadow: 0 20px 60px -12px rgba(0,0,0,.18); }

/* ─── Mobile nav ───────────────────────────────────────────────────── */
#mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 8px 30px -4px rgba(0,0,0,.12);
  z-index: 30;
  padding: 1rem 1.5rem 1.5rem;
}
#mobile-menu.open { display: block; }
#hamburger { cursor: pointer; display: flex; flex-direction: column; gap: 5px; }
#hamburger span {
  display: block; width: 22px; height: 2px;
  background: #334155;
  transition: transform .25s ease, opacity .25s ease;
  border-radius: 2px;
}
#hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#hamburger.active span:nth-child(2) { opacity: 0; }
#hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Fade-in on scroll ─────────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in-delay-1 { transition-delay: .1s; }
.fade-in-delay-2 { transition-delay: .2s; }
.fade-in-delay-3 { transition-delay: .3s; }

/* ─── Pulsing WhatsApp button ───────────────────────────────────────── */
.wa-pulse {
  animation: waPulse 2.4s ease infinite;
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,.5); }
  60%       { box-shadow: 0 0 0 12px rgba(16,185,129,0); }
}

/* ─── Testimonials ──────────────────────────────────────────────────── */
.quote-mark {
  font-size: 4rem;
  line-height: 1;
  color: #06b6d4;
  opacity: .25;
  font-family: Georgia, serif;
  user-select: none;
}

/* ─── Tool badges ───────────────────────────────────────────────────── */
.tool-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 99px;
  background: #fff;
  border: 1px solid #e2e8f0;
  font-size: .82rem;
  font-weight: 600;
  color: #334155;
  transition: border-color .2s, color .2s;
}
.tool-badge:hover { border-color: #06b6d4; color: #0e7490; }

/* ─── Case-study image panels ───────────────────────────────────────── */
.case-img-panel {
  position: relative;
  overflow: hidden;
  min-height: 220px;
}
.case-img-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform .6s ease;
}
article:hover .case-img-panel img { transform: scale(1.04); }
.case-img-panel .overlay {
  position: absolute;
  inset: 0;
}
.case-img-panel .panel-content {
  position: relative;
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* ─── Stat counters ─────────────────────────────────────────────────── */
.stat-num { display: inline-block; font-variant-numeric: tabular-nums; }

/* ─── Skill bars ────────────────────────────────────────────────────── */
.skill-bar { height: 4px; background: #e2e8f0; border-radius: 2px; overflow: hidden; }
.skill-bar-fill { height: 100%; background: linear-gradient(90deg, #06b6d4, #0e7490); border-radius: 2px; width: 0; transition: width 1.2s ease; }

/* ─── About avatar ──────────────────────────────────────────────────── */
.avatar-ring {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, #06b6d4 0%, #164e63 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; font-weight: 800; color: #fff;
  font-family: 'Plus Jakarta Sans', Inter, sans-serif;
  box-shadow: 0 0 0 4px #fff, 0 0 0 6px #06b6d4;
  flex-shrink: 0;
}

/* ─── Details/summary animation ────────────────────────────────────── */
details summary { list-style: none; }
details summary::-webkit-details-marker { display: none; }

/* ─── Section-divider lines ─────────────────────────────────────────── */
.section-rule { width: 48px; height: 3px; background: #06b6d4; border-radius: 2px; margin-bottom: 1rem; }

/* ─── Case-study cards (real anonymized analysis) ───────────────────── */
.case-card { transition: transform .25s ease, box-shadow .25s ease; }
.case-card:hover { transform: translateY(-3px); box-shadow: 0 22px 60px -14px rgba(15,23,42,.22); }

.case-visual-cyan, .case-visual-amber {
  position: relative; display: flex; flex-direction: column; gap: .6rem;
  padding: 3rem 1.5rem 1.75rem; justify-content: flex-start;
}
.case-visual-cyan  { background: linear-gradient(160deg,#f0fbfe 0%, #ecfeff 55%, #ffffff 100%); }
.case-visual-amber { background: linear-gradient(160deg,#fffdf3 0%, #fffbeb 55%, #ffffff 100%); }
@media (min-width:1024px){
  .case-visual-cyan, .case-visual-amber { border-right: 1px solid #e2e8f0; }
}
@media (max-width:1023px){
  .case-visual-cyan, .case-visual-amber { border-bottom: 1px solid #e2e8f0; }
}
.case-num { position: absolute; top: 1rem; left: 1.25rem; font-size: .7rem; font-weight: 800; letter-spacing: .18em; color: #94a3b8; }
.case-fig { margin: 0; }
.case-fig + .case-fig { margin-top: .75rem; padding-top: .9rem; border-top: 1px dashed #dbe3ec; }
.case-img { width: 100%; border-radius: .75rem; display: block; cursor: zoom-in; }
.case-contain { object-fit: contain; max-height: 290px; background: #fff; border: 1px solid #eef2f7; padding: .45rem; }
.case-cover { object-fit: cover; height: 220px; border: 1px solid #eef2f7; }
.case-cap { margin-top: .5rem; font-size: .72rem; line-height: 1.45; color: #64748b; }

.case-domain { display: inline-block; font-size: .64rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: .3rem .72rem; border-radius: 999px; }
.case-domain-brand { color: #0e7490; background: #ecfeff; border: 1px solid #cffafe; }
.case-domain-amber { color: #b45309; background: #fffbeb; border: 1px solid #fde68a; }
.case-title { color: #0f172a; }
.case-goal { margin-top: .55rem; font-size: .8rem; font-style: italic; font-weight: 600; }
.case-goal-brand { color: #0891b2; }
.case-goal-amber { color: #b45309; }
.case-context { font-size: .95rem; }
.case-h  { font-size: .64rem; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; color: #94a3b8; margin-bottom: .25rem; }
.case-body { font-size: .85rem; line-height: 1.55; color: #334155; }
.case-body-strong { font-size: .88rem; line-height: 1.55; color: #1e293b; }
.case-metrics { display: grid; grid-template-columns: repeat(2,1fr); gap: .6rem; margin-top: 1.25rem; }
@media (min-width:640px){ .case-metrics { grid-template-columns: repeat(4,1fr); } }
.metric { background: #f8fafc; border: 1px solid #eef2f7; border-radius: .7rem; padding: .6rem .65rem; }
.metric-val { font-size: 1.02rem; font-weight: 800; color: #0f172a; font-family: 'Plus Jakarta Sans', Inter, sans-serif; line-height: 1.12; }
.metric-lab { font-size: .63rem; color: #64748b; margin-top: .22rem; line-height: 1.3; }
.case-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.case-tag { font-size: .68rem; font-weight: 600; color: #475569; background: #f1f5f9; border-radius: 999px; padding: .25rem .6rem; }
.case-outcome { margin-top: 1.25rem; border-radius: .9rem; padding: .85rem 1rem; }
.case-outcome-brand { background: #ecfeff; border: 1px solid #cffafe; }
.case-outcome-amber { background: #fffbeb; border: 1px solid #fde68a; }
.case-h2 { font-size: .64rem; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; margin-bottom: .3rem; }
.case-outcome-brand .case-h2 { color: #0e7490; }
.case-outcome-amber .case-h2 { color: #b45309; }

/* ─── Lightbox (click charts to enlarge) ───────────────────────────── */
.lightbox { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 4vw; background: rgba(15,23,42,.86); backdrop-filter: blur(4px); cursor: zoom-out; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 94vw; max-height: 90vh; border-radius: .6rem; background: #fff; box-shadow: 0 30px 80px -10px rgba(0,0,0,.6); }
.lightbox-close { position: absolute; top: 1.1rem; right: 1.4rem; color: #fff; font-size: 2rem; line-height: 1; font-weight: 300; cursor: pointer; opacity: .8; }
.lightbox-close:hover { opacity: 1; }

/* ═══════════════════════════════════════════════════════════════════════
   PERSONAL-BRAND REDESIGN — 2026 refresh (Alex/Christina-inspired)
   ═══════════════════════════════════════════════════════════════════════ */

/* ─── Softer page defaults ──────────────────────────────────────────── */
body { -webkit-font-smoothing: antialiased; }
.font-display { letter-spacing: -0.02em; }

/* ─── Sticky nav polish ─────────────────────────────────────────────── */
.nav-blur { background: rgba(255,255,255,0.82); backdrop-filter: saturate(180%) blur(12px); }
.nav-link { position: relative; }
.nav-link::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -4px; height: 2px;
  background: #06b6d4; border-radius: 2px; transition: right .28s ease;
}
.nav-link:hover::after { right: 0; }
.nav-link-active::after { right: 0; }

/* ─── Hero (homepage) ───────────────────────────────────────────────── */
.hero-soft {
  background:
    radial-gradient(1100px 520px at 82% -8%, rgba(6,182,212,.14), transparent 60%),
    radial-gradient(760px 520px at 8% 108%, rgba(217,119,6,.10), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
  color: #0e7490; background: #ecfeff; border: 1px solid #cffafe;
  padding: .38rem .85rem; border-radius: 999px;
}
.hero-name {
  background: linear-gradient(115deg, #0f172a 0%, #0e7490 55%, #06b6d4 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ─── Headshot frame (drop assets/armand.jpg to replace the initials) ── */
.headshot-frame {
  position: relative; width: 100%; max-width: 380px; aspect-ratio: 1/1; margin-inline: auto;
  border-radius: 2rem; overflow: hidden; isolation: isolate;
  background: linear-gradient(150deg, #0e7490 0%, #06b6d4 45%, #22d3ee 100%);
  box-shadow: 0 30px 70px -24px rgba(14,116,144,.55), 0 0 0 1px rgba(255,255,255,.6) inset;
}
.headshot-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 2; }
.headshot-fallback {
  position: absolute; inset: 0; z-index: 1; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: .35rem; color: #fff; text-align: center;
}
.headshot-fallback .initials { font-family: 'Plus Jakarta Sans', Inter, sans-serif; font-size: 4.5rem; font-weight: 800; line-height: 1; }
.headshot-fallback .hint { font-size: .68rem; font-weight: 600; letter-spacing: .04em; opacity: .85; max-width: 15rem; padding: 0 1rem; }
.headshot-blob {
  position: absolute; z-index: -1; border-radius: 50%; filter: blur(8px); opacity: .5;
}
.headshot-badge {
  position: absolute; z-index: 3; bottom: 1rem; left: 50%; transform: translateX(-50%);
  display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap;
  background: rgba(255,255,255,.94); backdrop-filter: blur(6px);
  border: 1px solid #e2e8f0; border-radius: 999px; padding: .5rem .95rem;
  font-size: .76rem; font-weight: 700; color: #0f172a; box-shadow: 0 12px 30px -12px rgba(15,23,42,.35);
}

/* ─── Social icon buttons ───────────────────────────────────────────── */
.social-btn {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  background: #fff; border: 1px solid #e2e8f0; color: #334155;
  transition: transform .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
}
.social-btn:hover { transform: translateY(-2px); border-color: #06b6d4; color: #0e7490; box-shadow: 0 12px 24px -12px rgba(6,182,212,.5); }
.social-btn svg { width: 20px; height: 20px; }

/* ─── Tool logo chips (toolkit) ─────────────────────────────────────── */
.tool-chip {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .7rem 1.1rem; border-radius: 14px; background: #fff; border: 1px solid #e2e8f0;
  font-weight: 700; font-size: .9rem; color: #1e293b;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.tool-chip:hover { transform: translateY(-3px); border-color: #cbd5e1; box-shadow: 0 16px 34px -18px rgba(15,23,42,.3); }
.tool-chip .glyph { font-size: 1.25rem; line-height: 1; }

/* ─── Featured-work preview cards (homepage) ────────────────────────── */
.feature-card {
  display: flex; flex-direction: column; height: 100%;
  border-radius: 1.25rem; overflow: hidden; background: #fff; border: 1px solid #e2e8f0;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: 0 26px 60px -26px rgba(15,23,42,.35); border-color: #cbd5e1; }
.feature-card .thumb { position: relative; height: 168px; overflow: hidden; background: #0f172a; }
.feature-card .thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: transform .5s ease, opacity .3s ease; }
.feature-card:hover .thumb img { transform: scale(1.06); opacity: 1; }
.feature-card .thumb .kicker {
  position: absolute; top: .8rem; left: .8rem; z-index: 2;
  font-size: .62rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
  padding: .3rem .6rem; border-radius: 999px; background: rgba(255,255,255,.92); color: #0e7490;
}

/* ═══ COURSE CATALOG (student lectures: SAS · Python · Power BI · SQL) ═══ */
.course-tabs { display: flex; flex-wrap: wrap; gap: .6rem; }
.course-tab {
  display: inline-flex; align-items: center; gap: .55rem; cursor: pointer;
  padding: .7rem 1.15rem; border-radius: 999px; font-weight: 700; font-size: .9rem;
  background: #fff; border: 1px solid #e2e8f0; color: #475569;
  transition: all .2s ease;
}
.course-tab .glyph { font-size: 1.1rem; }
.course-tab:hover { border-color: #f59e0b; color: #b45309; }
.course-tab.active { background: #0f172a; border-color: #0f172a; color: #fff; box-shadow: 0 14px 30px -14px rgba(15,23,42,.5); }
.course-tab.active:hover { color: #fff; }

.course-panel { display: none; }
.course-panel.active { display: block; animation: coursefade .4s ease; }
@keyframes coursefade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.course-head {
  display: flex; flex-wrap: wrap; align-items: flex-start; gap: 1rem; justify-content: space-between;
  padding: 1.6rem 1.75rem; border-radius: 1.25rem 1.25rem 0 0;
  background: linear-gradient(135deg, #0f172a 0%, #164e63 100%); color: #fff;
}
.course-head .c-icon { font-size: 2.2rem; line-height: 1; }
.course-meta-pill {
  display: inline-flex; align-items: center; gap: .4rem; font-size: .72rem; font-weight: 700;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2);
  padding: .3rem .7rem; border-radius: 999px; color: #e0f2fe;
}
.course-body {
  border: 1px solid #e2e8f0; border-top: 0; border-radius: 0 0 1.25rem 1.25rem;
  background: #fff; padding: 1.5rem 1.5rem 1.75rem;
}
.module-grid { display: grid; gap: .9rem; }
@media (min-width: 768px) { .module-grid { grid-template-columns: 1fr 1fr; } }
.module-card {
  border: 1px solid #e8edf3; border-radius: 1rem; padding: 1.1rem 1.15rem; background: #f8fafc;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.module-card:hover { border-color: #fcd34d; background: #fffdf5; transform: translateY(-2px); }
.module-top { display: flex; align-items: center; gap: .7rem; margin-bottom: .6rem; }
.module-num {
  flex-shrink: 0; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px;
  background: #0f172a; color: #fff; font-weight: 800; font-size: .82rem; font-family: 'Plus Jakarta Sans', Inter, sans-serif;
}
.module-title { font-weight: 800; font-size: .98rem; color: #0f172a; line-height: 1.25; }
.lecture-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .3rem; }
.lecture-list li {
  position: relative; padding-left: 1.2rem; font-size: .82rem; color: #475569; line-height: 1.5;
}
.lecture-list li::before {
  content: ""; position: absolute; left: 0; top: .52rem; width: 6px; height: 6px; border-radius: 2px;
  background: #f59e0b;
}
.course-outcomes {
  margin-top: 1.25rem; padding: 1rem 1.15rem; border-radius: 1rem;
  background: #ecfeff; border: 1px solid #cffafe;
}
.course-outcomes .co-h { font-size: .64rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: #0e7490; margin-bottom: .45rem; }

/* ─── Section eyebrow variants ──────────────────────────────────────── */
.section-rule-amber { background: #d97706 !important; }

/* ─── Responsive headshot sizing ────────────────────────────────────── */
@media (max-width: 1023px) {
  .headshot-frame { max-width: 300px; }
}

/* ═══ Contact form (email-focused) ══════════════════════════════════════ */
.field-label { font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #64748b; margin-bottom: .35rem; display: block; }
.field-input, .field-textarea {
  width: 100%; border: 1px solid #e2e8f0; border-radius: .8rem; padding: .72rem .95rem;
  font-size: .92rem; color: #0f172a; background: #fff; font-family: inherit;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field-textarea { resize: vertical; min-height: 130px; }
.field-input::placeholder, .field-textarea::placeholder { color: #94a3b8; }
.field-input:focus, .field-textarea:focus { outline: none; border-color: #06b6d4; box-shadow: 0 0 0 3px rgba(6,182,212,.15); }
.field-input.accent:focus, .field-textarea.accent:focus { border-color: #d97706; box-shadow: 0 0 0 3px rgba(217,119,6,.15); }

.contact-method {
  display: flex; align-items: center; gap: .95rem; padding: 1rem 1.15rem; border-radius: 1rem;
  border: 1px solid #e2e8f0; background: #fff;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.contact-method:hover { border-color: #06b6d4; transform: translateY(-2px); box-shadow: 0 16px 32px -18px rgba(6,182,212,.45); }
.contact-method.accent:hover { border-color: #d97706; box-shadow: 0 16px 32px -18px rgba(217,119,6,.45); }
.contact-method .cm-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #ecfeff; color: #0e7490; flex-shrink: 0; }
.contact-method.accent .cm-icon { background: #fffbeb; color: #b45309; }
.contact-method .cm-icon svg { width: 20px; height: 20px; }
.contact-method .cm-label { font-size: .68rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #94a3b8; }
.contact-method .cm-value { font-size: .92rem; font-weight: 600; color: #0f172a; word-break: break-word; }

/* ═══ About page — hero + experience timeline ══════════════════════════ */
.about-hero { background: radial-gradient(900px 460px at 50% -10%, rgba(6,182,212,.14), transparent 62%), linear-gradient(180deg,#ffffff 0%, #f8fafc 100%); }
.about-photo {
  width: 190px; height: 190px; border-radius: 50%; object-fit: cover; margin-inline: auto;
  box-shadow: 0 0 0 6px #fff, 0 0 0 8px #cffafe, 0 24px 48px -20px rgba(14,116,144,.5);
}
.timeline { position: relative; padding-left: 1.9rem; }
.timeline::before { content: ""; position: absolute; left: .48rem; top: .5rem; bottom: .5rem; width: 2px; background: linear-gradient(#06b6d4, #e2e8f0); }
.tl-item { position: relative; padding-bottom: 1.9rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: -1.62rem; top: .3rem; width: 13px; height: 13px; border-radius: 50%; background: #06b6d4; box-shadow: 0 0 0 4px #fff, 0 0 0 5px #cffafe; }
.tl-year { font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #0e7490; }
.tl-role { font-weight: 800; color: #0f172a; margin-top: .12rem; font-size: 1.02rem; }
.tl-org { font-size: .86rem; color: #64748b; }
.tl-desc { font-size: .9rem; color: #334155; margin-top: .4rem; line-height: 1.55; }

/* ═══ Navigation dropdowns (Professional / Students) ══════════════════ */
.nav-dd { position: relative; }
.nav-dd-btn { display: inline-flex; align-items: center; gap: .28rem; background: none; border: 0; cursor: pointer; font: inherit; color: inherit; padding: 0; }
.nav-dd-btn .chev { width: 14px; height: 14px; transition: transform .2s ease; }
.nav-dd:hover .nav-dd-btn .chev, .nav-dd.open .nav-dd-btn .chev { transform: rotate(180deg); }
.nav-dd::after { content: ""; position: absolute; top: 100%; left: 0; right: 0; height: 12px; }
.nav-dd-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(8px);
  min-width: 210px; background: #fff; border: 1px solid #e2e8f0; border-radius: .9rem;
  box-shadow: 0 20px 44px -16px rgba(15,23,42,.28); padding: .4rem;
  opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease, visibility .18s; z-index: 60;
}
.nav-dd:hover .nav-dd-menu, .nav-dd.open .nav-dd-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(6px); }
.nav-dd-menu a { display: block; padding: .55rem .8rem; border-radius: .6rem; font-size: .85rem; font-weight: 500; color: #334155; white-space: nowrap; }
.nav-dd-menu a:hover { background: #f1f5f9; color: #0e7490; }
.mm-group-label { font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #94a3b8; padding: .8rem .5rem .2rem; }
.mm-sub { padding-left: 1.4rem !important; }

/* ═══ Footer (single dark section) ════════════════════════════════════ */
.footer-link { color: #cbd5e1; transition: color .18s ease; }
.footer-link:hover { color: #22d3ee; }
.footer-icon {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 11px;
  border: 1px solid rgba(255,255,255,.16); color: #cbd5e1;
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}
.footer-icon:hover { color: #fff; border-color: #22d3ee; background: rgba(34,211,238,.12); transform: translateY(-2px); }
.footer-icon svg { width: 18px; height: 18px; }

/* ═══ Global professional polish ══════════════════════════════════════ */
::selection { background: #06b6d4; color: #fff; }
:focus-visible { outline: 2px solid #06b6d4; outline-offset: 2px; border-radius: 6px; }
html { scroll-padding-top: 84px; }
img { max-width: 100%; }
/* refined, consistent card elevation */
.feature-card, .module-card, .case-card { will-change: transform; }
/* smoother, slightly tighter display headings */
h1.font-display, h2.font-display, h3.font-display { text-wrap: balance; }

/* ═══════════════════════════════════════════════════════════════════════
   PROFESSIONAL POLISH LAYER — site-wide (all pages share this stylesheet)
   ═══════════════════════════════════════════════════════════════════════ */
:root {
  --ease: cubic-bezier(.4, 0, .2, 1);
  --shadow-xs: 0 1px 2px rgba(15,23,42,.05);
  --shadow-sm: 0 2px 6px -1px rgba(15,23,42,.06), 0 1px 3px -1px rgba(15,23,42,.05);
  --shadow-md: 0 10px 24px -8px rgba(15,23,42,.12), 0 4px 10px -6px rgba(15,23,42,.07);
  --shadow-lg: 0 24px 50px -16px rgba(15,23,42,.22), 0 10px 20px -12px rgba(15,23,42,.12);
}

/* — Typography & rendering — */
body { letter-spacing: -0.006em; font-feature-settings: "cv11","ss01"; }
.font-display { letter-spacing: -0.028em; }
h1.font-display { line-height: 1.03; }
p { text-wrap: pretty; }
.stat-num, .metric-val, .tl-year { font-variant-numeric: tabular-nums; }

/* — Smooth, consistent interaction easing — */
a, button, .tool-badge, .tool-chip, .case-card, .feature-card, .module-card,
.contact-method, .course-tab, .social-btn, .field-input, .field-textarea,
.nav-link, .metric, .case-tag, .feature-card .thumb img { transition-timing-function: var(--ease); }

/* — Unified, softer card elevation across every card type — */
.feature-card, .case-card { box-shadow: var(--shadow-sm); }
.feature-card:hover, .case-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.module-card { box-shadow: var(--shadow-xs); }
.module-card:hover { box-shadow: var(--shadow-md); }
.contact-method { box-shadow: var(--shadow-xs); }

/* Tailwind-utility cards (testimonials / process / promise) — compound selector out-ranks .shadow-sm */
.rounded-2xl.bg-white.border.border-ink-200 { box-shadow: var(--shadow-sm) !important; transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
.rounded-2xl.bg-white.border.border-ink-200:hover { box-shadow: var(--shadow-md) !important; transform: translateY(-3px); }
.rounded-2xl.bg-ink-900.border.border-ink-700 { transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.rounded-2xl.bg-ink-900.border.border-ink-700:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

/* Services "what you can build" cards + process steps */
article.rounded-2xl { box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s var(--ease); }
article.rounded-2xl:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

/* — Buttons: subtle lift on solid & outline CTAs (scoped to real buttons) — */
a[class~="rounded-full"][class~="bg-ink-900"],
a[class~="rounded-full"][class~="bg-brand-500"],
a[class~="rounded-full"][class~="bg-brand-600"],
a[class~="rounded-full"][class~="bg-accent-500"],
a[class~="rounded-full"][class~="bg-accent-600"],
a[class~="rounded-full"][class~="bg-white"],
button[type="submit"] {
  transition: transform .18s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
a[class~="rounded-full"][class~="bg-ink-900"]:hover,
a[class~="rounded-full"][class~="bg-brand-500"]:hover,
a[class~="rounded-full"][class~="bg-brand-600"]:hover,
a[class~="rounded-full"][class~="bg-accent-500"]:hover,
a[class~="rounded-full"][class~="bg-accent-600"]:hover,
a[class~="rounded-full"][class~="bg-white"]:hover,
button[type="submit"]:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* — Section accent bar — */
.section-rule { height: 3px; width: 44px; border-radius: 999px; }

/* — Metric tiles — */
.metric { box-shadow: var(--shadow-xs); transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease); }
.metric:hover { border-color: #cbd5e1; box-shadow: var(--shadow-sm); transform: translateY(-1px); }

/* — Tags / chips — */
.case-tag { transition: background .2s var(--ease), color .2s var(--ease); }
.case-tag:hover { background: #e0f2fe; color: #0e7490; }
.tool-badge:hover, .tool-chip:hover { box-shadow: var(--shadow-sm); }

/* — Inputs — */
.field-input, .field-textarea { box-shadow: inset 0 1px 2px rgba(15,23,42,.04); }

/* — Nav & dropdown depth — */
.nav-blur { box-shadow: 0 1px 0 rgba(15,23,42,.05); }
.nav-dd-menu { box-shadow: var(--shadow-lg); }

/* — Case-study imagery — */
.case-cover, .case-contain { box-shadow: var(--shadow-xs); }

/* — Refined selection & focus (reinforce) — */
::selection { background: #06b6d4; color: #fff; }
:focus-visible { outline: 2px solid #06b6d4; outline-offset: 2px; border-radius: 6px; }

/* — Professional scrollbar (desktop) — */
@media (min-width: 768px) {
  * { scrollbar-width: thin; scrollbar-color: #cbd5e1 transparent; }
  ::-webkit-scrollbar { width: 12px; height: 12px; }
  ::-webkit-scrollbar-track { background: transparent; }
  ::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 999px; border: 3px solid #fff; }
  ::-webkit-scrollbar-thumb:hover { background: #94a3b8; }
}

/* — Readability & clean-professional text refinements — */
p { line-height: 1.66; }
.case-body { line-height: 1.62; color: #334155; }
.case-context { line-height: 1.66; color: #334155; }
.case-body-strong { line-height: 1.6; }
.lecture-list li { line-height: 1.55; }
.tl-desc { line-height: 1.6; }
.case-title { letter-spacing: -0.02em; }
.metric-lab { line-height: 1.35; }

/* — Respect reduced motion — */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
  .fade-in { opacity: 1 !important; transform: none !important; }
}
