@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=DM+Sans:ital,wght@0,300;0,400;0,500;0,600;1,300&display=swap');

:root {
  --charcoal: #2c2c2c;
  --charcoal-light: #3a3a3a;
  --coral: #e8725a;
  --coral-dark: #c45a44;
  --coral-light: #f0a08a;
  --coral-pale: #fdf0ec;
  --off-white: #faf8f5;
  --border: #e8e4de;
  --text: #333333;
  --text-muted: #777777;
  --white: #ffffff;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--off-white);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
}

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: var(--charcoal);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  border-bottom: 3px solid var(--coral);
}
.navbar-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.3px;
}
.navbar-brand span { color: var(--coral-light); }
/* ── HAMBURGER TOGGLE ── */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform 0.2s, opacity 0.2s;
}

.navbar-nav {
  display: flex;
  gap: 0;
  list-style: none;
}
.navbar-nav a {
  display: block;
  padding: 0.5rem 1rem;
  color: #bbb;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.2s;
  border-bottom: 2px solid transparent;
}
.navbar-nav a:hover,
.navbar-nav a.active { color: var(--coral-light); border-bottom-color: var(--coral); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  background: var(--charcoal);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 64px;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,114,90,0.12) 0%, transparent 70%);
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,114,90,0.07) 0%, transparent 70%);
}
.hero-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 4rem 2rem;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--coral);
  font-weight: 600;
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 32px;
  height: 2px;
  background: var(--coral);
}
.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 0.5rem;
  font-weight: 700;
}
.hero-credentials {
  font-size: 1rem;
  color: var(--coral-light);
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}
.hero-tagline {
  font-size: 1.1rem;
  color: #aaa;
  max-width: 560px;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.cert-badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}
.badge {
  background: rgba(232,114,90,0.15);
  border: 1px solid rgba(232,114,90,0.3);
  color: var(--coral-light);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
}
.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--coral);
  color: var(--white);
  padding: 0.8rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-primary:hover { background: var(--coral-dark); transform: translateY(-1px); }
.btn-outline {
  border: 1.5px solid rgba(255,255,255,0.25);
  color: #ccc;
  padding: 0.8rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  transition: border-color 0.2s, color 0.2s;
  display: inline-block;
}
.btn-outline:hover { border-color: var(--coral-light); color: var(--coral-light); }

/* ── HERO SPLIT LAYOUT ── */
.hero-split {
  display: flex;
  align-items: center;
  gap: 4rem;
}
.hero-text {
  flex: 1;
}
.hero-photo {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
}
.hero-headshot-wrap {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid var(--coral);
  box-shadow: 0 12px 40px rgba(232,114,90,0.25);
}

/* ── PAGE HEADER ── */
.page-header {
  background: var(--charcoal);
  padding: 7rem 2rem 3rem;
  border-bottom: 3px solid var(--coral);
}
.page-header-inner { max-width: 860px; margin: 0 auto; text-align: center; }
.page-header-headshot {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.page-header-headshot .headshot-wrap {
  width: 200px;
  height: 200px;
}
.page-header .eyebrow {
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--coral);
  font-weight: 600;
  margin-bottom: 0.8rem;
}
.page-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  font-weight: 700;
  line-height: 1.15;
}
.page-header p {
  color: #aaa;
  margin-top: 0.75rem;
  font-size: 1rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ── CONTENT AREA ── */
.content-wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 3.5rem 2rem 5rem;
}

/* ── SECTION TITLE ── */
.section-title {
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--coral);
  font-weight: 600;
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--border);
}

/* ── ABOUT ── */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: start;
  margin-bottom: 3rem;
}
@media (max-width: 640px) { .about-grid { grid-template-columns: 1fr; } }
.about-text p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 1rem;
}
.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 3px solid var(--coral);
  padding: 1.5rem;
  border-radius: 2px;
}
.info-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  color: var(--charcoal);
  margin-bottom: 1rem;
}
.info-row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}
.info-row:last-child { border-bottom: none; }
.info-label { color: var(--coral); font-weight: 600; min-width: 60px; font-size: 0.75rem; letter-spacing: 0.5px; text-transform: uppercase; }
.info-value { color: var(--text); }

/* ── EXPERIENCE ── */
.placement-block {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
}
.placement-block:last-child { border-bottom: none; }
.placement-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0.4rem;
  flex-wrap: wrap;
}
.placement-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--charcoal);
}
.placement-dates {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--coral);
  background: var(--coral-pale);
  padding: 3px 12px;
  border-radius: 20px;
  white-space: nowrap;
}
.placement-org {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}
.placement-type {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--coral-light);
  background: rgba(232,114,90,0.1);
  border: 1px solid rgba(232,114,90,0.2);
  padding: 2px 10px;
  border-radius: 20px;
  margin-bottom: 0.9rem;
}
.placement-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.placement-bullets li {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.6;
  padding-left: 1.1rem;
  position: relative;
}
.placement-bullets li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.55em;
  width: 5px; height: 5px;
  background: var(--coral);
  border-radius: 50%;
}

/* ── CV PAGE ── */
.cv-section { margin-bottom: 2.5rem; }
.cv-entry {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.cv-entry:last-child { border-bottom: none; }
.cv-entry-left {}
.cv-title { font-weight: 600; color: var(--charcoal); font-size: 0.95rem; }
.cv-org { font-size: 0.88rem; color: var(--text-muted); margin-top: 2px; }
.cv-date { font-size: 0.8rem; color: var(--coral); font-weight: 600; white-space: nowrap; }
.cert-table { width: 100%; border-collapse: collapse; }
.cert-table td { padding: 0.6rem 0; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.cert-table td:first-child { font-weight: 600; color: var(--charcoal); width: 55%; }
.cert-table td:nth-child(2) { color: var(--text-muted); width: 30%; }
.cert-table td:last-child { color: var(--coral); font-weight: 600; text-align: right; }
.cert-table tr:last-child td { border-bottom: none; }
.competency-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}
@media (max-width: 560px) { .competency-grid { grid-template-columns: 1fr 1fr; } }
.competency-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--coral);
  padding: 0.6rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--charcoal);
}

/* ── CONTACT / COLLABORATE FORMS ── */
.form-wrap { max-width: 620px; }
.form-group { margin-bottom: 1.4rem; }
.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 3px;
  background: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem;
  color: var(--charcoal);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--coral); }
.form-group textarea { min-height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }
.form-submit {
  background: var(--coral);
  color: var(--white);
  border: none;
  padding: 0.85rem 2.5rem;
  border-radius: 4px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  letter-spacing: 0.5px;
}
.form-submit:hover { background: var(--coral-dark); }

/* ── QR LANDING ── */
.qr-landing {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
  padding: 2rem;
}
.qr-landing .qr-box {
  width: 200px; height: 200px;
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: 8px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.qr-landing h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: var(--charcoal);
  margin-bottom: 0.75rem;
}
.qr-landing p { color: var(--text-muted); margin-bottom: 1.5rem; line-height: 1.7; }
.quick-links { display: flex; flex-direction: column; gap: 0.6rem; margin-top: 1.5rem; }
.quick-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-left: 3px solid var(--coral);
  padding: 0.75rem 1rem;
  text-decoration: none;
  color: var(--charcoal);
  font-weight: 500;
  font-size: 0.9rem;
  transition: border-color 0.2s, background 0.2s;
  border-radius: 2px;
  text-align: left;
}
.quick-link:hover { background: var(--coral-pale); border-left-color: var(--coral-dark); }
.quick-link-icon { color: var(--coral); font-size: 1rem; }

/* ── FOOTER ── */
footer {
  background: var(--charcoal);
  border-top: 3px solid var(--coral);
  padding: 2rem;
  text-align: center;
}
footer p { color: #888; font-size: 0.8rem; line-height: 1.7; }
footer a { color: var(--coral-light); text-decoration: none; }
footer a:hover { color: var(--coral); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-up { animation: fadeUp 0.6s ease forwards; }
.fade-up-1 { animation-delay: 0.1s; opacity: 0; }
.fade-up-2 { animation-delay: 0.25s; opacity: 0; }
.fade-up-3 { animation-delay: 0.4s; opacity: 0; }
.fade-up-4 { animation-delay: 0.55s; opacity: 0; }

/* ── SOCIAL LINKS ── */
.social-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 1.5rem;
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--coral);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.social-link:hover { color: var(--coral-dark); }
.social-link svg { flex-shrink: 0; }

/* ── FOOTER SOCIAL ── */
.footer-social {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.footer-social-link {
  color: #888;
  transition: color 0.2s;
  display: flex;
  align-items: center;
}
.footer-social-link:hover { color: var(--coral-light); }

/* ── HEADSHOT ── */
.headshot-section {
  margin-bottom: 2rem;
}
.headshot-wrap {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--coral);
  box-shadow: 0 8px 24px rgba(232,114,90,0.2);
}
.headshot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.headshot-placeholder-lg {
  width: 100%;
  height: 100%;
  background: var(--coral-pale);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  padding: 1rem;
}
.headshot-placeholder-lg span {
  font-size: 0.75rem;
  color: var(--coral);
  font-weight: 600;
}
.headshot-placeholder-lg small {
  font-size: 0.65rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ══════════════════════════════════════════
   MOBILE RESPONSIVE
   ══════════════════════════════════════════ */

@media (max-width: 768px) {
  /* ── NAVBAR ── */
  .nav-toggle {
    display: flex;
  }
  .navbar {
    padding: 0 1rem;
    flex-wrap: wrap;
  }
  .navbar-nav {
    display: none;
    flex-direction: column;
    width: 100%;
    background: var(--charcoal);
    border-top: 1px solid var(--charcoal-light);
    padding: 0.5rem 0 1rem;
  }
  .navbar-nav.open {
    display: flex;
  }
  .navbar-nav a {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
  }

  /* ── HERO ── */
  .hero-split {
    flex-direction: column-reverse;
    gap: 2rem;
    text-align: center;
  }
  .hero-eyebrow {
    justify-content: center;
  }
  .hero-headshot-wrap {
    width: 200px;
    height: 200px;
  }
  .hero-inner {
    padding: 2.5rem 1.25rem;
  }
  .hero-tagline {
    font-size: 1rem;
  }
  .hero-credentials {
    font-size: 0.88rem;
  }
  .hero-cta {
    flex-direction: column;
  }
  .hero-cta a {
    text-align: center;
  }
  .cert-badges {
    gap: 6px;
  }
  .badge {
    font-size: 0.62rem;
    padding: 4px 10px;
  }

  /* ── PAGE HEADER ── */
  .page-header {
    padding: 5.5rem 1.25rem 2rem;
  }
  .page-header-headshot .headshot-wrap {
    width: 150px;
    height: 150px;
  }

  /* ── CONTENT ── */
  .content-wrap {
    padding: 2rem 1.25rem 3rem;
  }

  /* ── ABOUT ── */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* ── EXPERIENCE ── */
  .placement-header {
    flex-direction: column;
    gap: 0.4rem;
  }
  .placement-name {
    font-size: 1.1rem;
  }

  /* ── CV ── */
  .cv-entry {
    flex-direction: column;
    gap: 0.25rem;
  }
  .cert-table td {
    font-size: 0.8rem;
    padding: 0.5rem 0;
  }
  .cert-table td:first-child {
    width: auto;
  }
  .cert-table td:nth-child(2) {
    display: none;
  }
  .competency-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* ── FORMS ── */
  .form-row {
    grid-template-columns: 1fr;
  }

  /* ── FOOTER ── */
  footer {
    padding: 1.5rem 1rem;
  }
  footer p {
    font-size: 0.72rem;
  }

  /* ── BUTTONS ── */
  .btn-primary, .btn-outline {
    width: 100%;
    text-align: center;
    padding: 0.9rem 1.5rem;
  }
}
