/* ========================================
   neuromeghan.com — shared styles
   ======================================== */

:root {
  --teal:      #0d7a7a;
  --teal-dark: #0a5c5c;
  --teal-mid:  #1a9090;
  --teal-soft: #e6f4f4;
  --teal-pale: #f2fafa;
  --ink:       #111e1e;
  --ink-2:     #1a2c2c;
  --text:      #2d3f3f;
  --muted:     #5e7474;
  --muted-lt:  #8ea8a8;
  --line:      #d8e8e8;
  --line-dark: #c0d4d4;
  --bg:        #ffffff;
  --bg-2:      #f5fafa;
  --bg-dark:   #0d1f1f;
  --bg-dark2:  #122424;

  --disp: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Reset */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

/* Layout */
.wrap { max-width: 1100px; margin: 0 auto; padding: 0 28px; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ----------------------------------------
   NAV
   ---------------------------------------- */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(13, 31, 31, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 66px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}
.nav-logo-mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(13,122,122,.6);
  flex-shrink: 0;
}
.nav-logo-mark img { width: 100%; height: 100%; object-fit: cover; }
.nav-logo-text {
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -.01em;
  line-height: 1.2;
}
.nav-logo-text span { display: block; font-size: 11px; font-weight: 400; color: var(--teal-mid); letter-spacing: .06em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: #9dbcbc;
  text-decoration: none;
  padding: 7px 12px;
  border-radius: 6px;
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.06); }
.nav-links a.active { color: #fff; }
.nav-cta {
  font-size: 13.5px;
  font-weight: 600;
  color: #fff !important;
  background: var(--teal);
  padding: 9px 18px !important;
  border-radius: 6px;
}
.nav-cta:hover { background: var(--teal-dark) !important; }

/* Mobile nav */
.nav-mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #9dbcbc;
  border-radius: 2px;
}
@media (max-width: 820px) {
  .nav-links a:not(.nav-cta) { display: none; }
}

/* ----------------------------------------
   HERO — HOMEPAGE
   ---------------------------------------- */
.hero {
  background: var(--bg-dark);
  color: #fff;
  padding: 90px 0 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 70% 50%, rgba(13,122,122,.18) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(13,122,122,.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  position: relative;
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding-top: 64px; }
}
.hero-kicker {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--teal-mid);
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.06;
  color: #fff;
}
.hero h1 em { font-style: normal; color: var(--teal-mid); }
.hero-bio {
  margin-top: 22px;
  font-size: clamp(15.5px, 1.8vw, 17.5px);
  color: #b0cccc;
  max-width: 52ch;
  line-height: 1.72;
}
.hero-actions {
  margin-top: 34px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-cred-strip {
  margin-top: 56px;
  padding: 22px 0 28px;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
}
.hero-cred-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  color: #8fbbbb;
  font-weight: 500;
}
.hero-cred-item::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal-mid);
  flex-shrink: 0;
}
.hero-photo-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-photo {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  border-radius: 20px 20px 0 0;
  filter: grayscale(12%);
}
.hero-photo-badge {
  position: absolute;
  bottom: 0;
  right: 12%;
  background: var(--teal);
  color: #fff;
  padding: 14px 20px;
  border-radius: 12px 12px 0 0;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  line-height: 1.4;
  box-shadow: 0 -4px 24px rgba(13,122,122,.3);
}
.hero-photo-badge strong { display: block; font-size: 16px; margin-bottom: 2px; }

/* ----------------------------------------
   BUTTONS
   ---------------------------------------- */
.btn {
  display: inline-block;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  padding: 13px 26px;
  border-radius: 7px;
  letter-spacing: .01em;
  transition: background .2s, color .2s, border-color .2s, box-shadow .2s;
}
.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 2px 14px rgba(13,122,122,.3);
}
.btn-primary:hover { background: var(--teal-dark); box-shadow: 0 4px 20px rgba(13,122,122,.4); }
.btn-ghost-dark {
  color: #c8e0e0;
  border: 1.5px solid rgba(200,224,224,.25);
}
.btn-ghost-dark:hover { color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost {
  color: var(--teal-dark);
  border: 1.5px solid var(--line-dark);
}
.btn-ghost:hover { background: var(--teal-soft); border-color: var(--teal); }

/* ----------------------------------------
   SHARED SECTION STYLES
   ---------------------------------------- */
section { padding: 88px 0; }
.sec-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 14px;
}
h2 {
  font-size: clamp(28px, 3.8vw, 42px);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.1;
  color: var(--ink);
}
.sec-lede {
  margin-top: 16px;
  font-size: 17px;
  color: var(--muted);
  max-width: 60ch;
  line-height: 1.72;
}
.sec-head { margin-bottom: 52px; }
.sec-dark { background: var(--bg-dark); color: #fff; }
.sec-dark h2 { color: #fff; }
.sec-dark .sec-label { color: var(--teal-mid); }
.sec-dark .sec-lede { color: #8fbbbb; }
.sec-tinted { background: var(--bg-2); }
.sec-tinted + .sec-tinted { border-top: 1px solid var(--line); }

/* ----------------------------------------
   EXPERTISE PILLARS (home)
   ---------------------------------------- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 740px) { .pillars-grid { grid-template-columns: 1fr; } }
.pillar {
  border: 1px solid var(--line);
  border-top: 4px solid var(--teal);
  border-radius: 12px;
  padding: 38px 32px;
  background: #fff;
  transition: box-shadow .25s, transform .25s;
}
.pillar:hover { box-shadow: 0 8px 28px rgba(13,122,122,.1); transform: translateY(-2px); }
.pillar-icon {
  width: 48px;
  height: 48px;
  background: var(--teal-soft);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.pillar-icon svg { width: 26px; height: 26px; stroke: var(--teal-dark); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pillar h3 { font-size: 19px; font-weight: 700; letter-spacing: -.01em; margin-bottom: 10px; }
.pillar p { font-size: 14.5px; color: var(--text); line-height: 1.7; }

/* ----------------------------------------
   CREDENTIALS GRID
   ---------------------------------------- */
.creds-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 640px) { .creds-grid { grid-template-columns: 1fr; } }
.cred-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 22px 24px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
}
.cred-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal-mid);
  flex-shrink: 0;
  margin-top: 5px;
}
.cred-item p {
  font-size: 14.5px;
  color: #c8e0e0;
  line-height: 1.55;
}
.cred-item p strong { color: #fff; font-weight: 600; }

/* ----------------------------------------
   SPEAKING HIGHLIGHTS (home)
   ---------------------------------------- */
.speaking-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 760px) { .speaking-split { grid-template-columns: 1fr; gap: 40px; } }
.speaking-photo {
  border-radius: 16px;
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
}
.speaking-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 28px; }
.speaking-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  font-size: 15px;
  color: var(--text);
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--bg-2);
  border-left: 3px solid var(--teal);
}
.speaking-list li::before { content: ''; }

/* ----------------------------------------
   RESEARCH CARDS
   ---------------------------------------- */
.research-cards { display: flex; flex-direction: column; gap: 18px; }
.research-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 30px 32px;
  background: #fff;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: box-shadow .25s, border-color .25s;
}
.research-card:hover { border-color: var(--teal); box-shadow: 0 6px 24px rgba(13,122,122,.08); }
.research-badge {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 20px;
  white-space: nowrap;
}
.badge-pub { background: var(--teal-soft); color: var(--teal-dark); }
.badge-progress { background: #fef3c7; color: #92400e; }
.research-card-body h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.45;
  margin-bottom: 6px;
}
.research-card-body p { font-size: 14px; color: var(--muted); }

/* ----------------------------------------
   COURSE CARD
   ---------------------------------------- */
.course-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  background: #fff;
  box-shadow: 0 4px 24px rgba(13,122,122,.07);
}
@media (max-width: 700px) { .course-card { grid-template-columns: 1fr; } }
.course-card-img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}
.course-card-body { padding: 44px 42px; }
.course-card-body h3 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -.015em;
  margin-bottom: 14px;
}
.course-card-body p { font-size: 15px; color: var(--text); line-height: 1.72; margin-bottom: 20px; }
.course-bonus {
  background: var(--teal-soft);
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 24px;
}
.course-bonus p { font-size: 13.5px; color: var(--teal-dark); line-height: 1.6; margin: 0; }
.course-bonus strong { font-weight: 700; }

/* ----------------------------------------
   NEUROT SECTION
   ---------------------------------------- */
.neurot-card {
  background: var(--bg-dark2);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 16px;
  padding: 52px 56px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  margin-top: 52px;
}
@media (max-width: 700px) { .neurot-card { grid-template-columns: 1fr; padding: 36px 32px; } }
.neurot-card h3 { font-size: 26px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.neurot-card p { font-size: 15.5px; color: #8fbbbb; line-height: 1.72; max-width: 58ch; }

/* ----------------------------------------
   ABOUT PAGE
   ---------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: start;
}
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; gap: 44px; } }
.about-photo {
  width: 100%;
  border-radius: 16px;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: top;
  position: sticky;
  top: 90px;
}
.about-body h2 { font-size: clamp(26px, 3.4vw, 38px); }
.about-body p { font-size: 16px; color: var(--text); line-height: 1.8; margin-top: 20px; }
.edu-items { margin-top: 40px; display: flex; flex-direction: column; gap: 16px; }
.edu-item {
  padding: 20px 22px;
  border-left: 3px solid var(--teal);
  background: var(--bg-2);
  border-radius: 0 8px 8px 0;
}
.edu-item .degree { font-size: 15px; font-weight: 600; color: var(--ink); }
.edu-item .school { font-size: 13.5px; color: var(--muted); margin-top: 3px; }

/* ----------------------------------------
   SPEAKING PAGE
   ---------------------------------------- */
.engagement-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 640px) { .engagement-grid { grid-template-columns: 1fr; } }
.engagement-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 22px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.engagement-item:hover { border-color: var(--teal); box-shadow: 0 4px 16px rgba(13,122,122,.08); }
.engagement-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--teal);
  background: var(--teal-soft);
  padding: 4px 9px;
  border-radius: 20px;
  flex-shrink: 0;
  margin-top: 1px;
}
.engagement-item p { font-size: 14.5px; color: var(--text); line-height: 1.55; font-weight: 500; }
.engagement-item small { display: block; font-size: 13px; color: var(--muted); margin-top: 3px; font-weight: 400; }

/* Speaking topics */
.topic-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}
@media (max-width: 740px) { .topic-cards { grid-template-columns: 1fr; } }
.topic-card {
  padding: 32px 28px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  background: rgba(255,255,255,.03);
}
.topic-card h3 { font-size: 17px; font-weight: 700; color: #fff; margin-bottom: 10px; }
.topic-card p { font-size: 14px; color: #8fbbbb; line-height: 1.65; }

/* ----------------------------------------
   CONTACT PAGE
   ---------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 72px;
  align-items: start;
}
@media (max-width: 780px) { .contact-grid { grid-template-columns: 1fr; gap: 44px; } }
.contact-info h2 { font-size: clamp(26px, 3.4vw, 40px); }
.contact-info p { font-size: 16px; color: var(--text); margin-top: 18px; line-height: 1.75; }
.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
  font-size: 15.5px;
  color: var(--ink);
  font-weight: 500;
}
.contact-detail svg { width: 20px; height: 20px; stroke: var(--teal); fill: none; stroke-width: 1.8; flex-shrink: 0; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13.5px; font-weight: 600; color: var(--ink); }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-size: 15px;
  font-family: var(--body);
  color: var(--ink);
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(13,122,122,.1);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

/* ----------------------------------------
   FOOTER
   ---------------------------------------- */
footer {
  background: var(--bg-dark);
  color: #fff;
  padding: 52px 0 36px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-brand .name { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.footer-brand .title { font-size: 13px; color: #6aa0a0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.footer-links a { font-size: 13.5px; color: #7aadad; text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.06);
  font-size: 12.5px;
  color: #486060;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
