/* ============================================================
   LOG BRIDGE VENTURES — style.css
   ============================================================ */

/* ============================================================
   1. CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --navy:        #1B3F6E;
  --navy-dark:   #142e52;
  --navy-light:  #2E5FA3;
  --bg-light:    #F4F6F9;
  --bg-white:    #FFFFFF;
  --text:        #1E2530;
  --text-muted:  #5C6370;
  --border:      #DDE2EA;
  --shadow-sm:   0 1px 4px rgba(0,0,0,0.07);
  --shadow-md:   0 4px 18px rgba(0,0,0,0.09);
  --shadow-lg:   0 8px 32px rgba(0,0,0,0.12);

  --font-body:    'Inter', sans-serif;
  --font-heading: 'Playfair Display', serif;

  --nav-h:        90px;
  --max-w:        1080px;
  --section-py:   88px;
  --radius:       10px;
  --transition:   0.25s ease;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg-white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */
h1, h2, h3 { font-family: var(--font-heading); line-height: 1.2; }

h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.65rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.15rem; font-family: var(--font-body); font-weight: 600; }

p { color: var(--text-muted); font-size: 1rem; line-height: 1.75; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy-light);
  margin-bottom: 0.6rem;
}

.eyebrow--light { color: rgba(255,255,255,0.65); }

/* ============================================================
   4. LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
}

section {
  padding: var(--section-py) 0;
  scroll-margin-top: var(--nav-h);
}

.section-alt { background: var(--bg-light); }

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3.5rem;
}

.section-header h2 { margin-bottom: 1rem; }

.section-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* ============================================================
   5. BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--navy);
  color: #fff;
  border: 2px solid var(--navy);
}
.btn-primary:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(27,63,110,0.3);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-ghost:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-1px);
}

.btn-submit {
  width: 100%;
  justify-content: center;
  background: #fff;
  color: var(--navy);
  border: 2px solid rgba(255,255,255,0.5);
  font-size: 1rem;
  padding: 1rem 1.8rem;
  margin-top: 0.5rem;
}
.btn-submit:hover {
  background: rgba(255,255,255,0.92);
  transform: translateY(-1px);
}

.btn-calendly {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 6px;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition);
  width: 100%;
}
.btn-calendly:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.12);
  transform: translateY(-1px);
}

/* ============================================================
   6. SCROLL REVEAL
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   7. NAVIGATION
   ============================================================ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}

#navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
}

.nav-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-brand {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-icon {
  font-size: 1.3rem;
  color: var(--navy-light);
  line-height: 1;
}

.nav-logo {
  height: 106px;
  width: auto;
  display: block;
}

.nav-contact {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
  white-space: nowrap;
}
.nav-contact-item:hover { color: var(--navy); }
.nav-contact-item svg { flex-shrink: 0; color: var(--navy-light); }

.nav-cta-btn {
  padding: 0.5rem 1.2rem !important;
  font-size: 0.88rem !important;
  border-radius: 6px !important;
  margin-left: 0.25rem;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 6px;
  transition: background var(--transition);
}
.nav-toggle:hover { background: var(--bg-light); }
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   8. HERO
   ============================================================ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  padding-top: calc(var(--nav-h) + 48px);
  padding-bottom: 64px;
  text-align: center;
  scroll-margin-top: 0;
}

.hero-inner {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 48px);
  animation: fadeInUp 0.8s ease both;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-photo-wrap {
  margin-bottom: 1.8rem;
}

.hero-photo {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
  border: 4px solid #fff;
  box-shadow: 0 0 0 4px var(--navy), var(--shadow-md);
  background: var(--border);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  color: #fff;
  font-weight: 700;
  font-size: 1.4rem;
  font-family: var(--font-body);
  letter-spacing: 0.05em;
}

.photo-placeholder--large {
  font-size: 2.2rem;
}

.hero-heading {
  color: var(--text);
  margin: 0.6rem 0 1.2rem;
}

.hero-sub {
  font-size: 1.1rem;
  max-width: 580px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   9. ABOUT
   ============================================================ */
#about { background: var(--bg-white); }

.about-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 4rem;
  align-items: start;
}

.about-photo-wrap { display: flex; justify-content: center; }

.about-photo {
  width: 240px;
  height: 280px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--bg-white);
  outline: 3px solid var(--navy);
  outline-offset: 6px;
  background: var(--border);
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.about-photo .photo-placeholder {
  border-radius: 0;
}

.about-content h2 { color: var(--text); margin: 0.4rem 0 1.4rem; }

.about-content p { margin-bottom: 1.1rem; }
.about-content p strong { color: var(--navy); font-weight: 600; }

.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.8rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.link-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
  transition: color var(--transition);
}
.link-icon:hover { color: var(--navy-light); }
.link-icon svg { flex-shrink: 0; }

/* ============================================================
   10. CRITERIA
   ============================================================ */
.criteria-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.criteria-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  border-top: 3px solid var(--navy);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.criteria-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.criteria-icon {
  width: 52px;
  height: 52px;
  background: var(--bg-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--navy);
}

.criteria-card h3 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.criteria-value {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  font-family: var(--font-heading);
  line-height: 1.3;
  margin-bottom: 0.4rem;
}

.criteria-detail {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.map-section {
  text-align: center;
  margin-bottom: 2rem;
}

.map-title {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.map-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

#map-container {
  max-width: 680px;
  margin: 0 auto;
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

#map-container svg {
  width: 100%;
  height: auto;
  display: block;
}

.map-loading {
  padding: 3rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
}

/* State SVG styles */
#map-container .state {
  stroke: #fff;
  stroke-width: 0.8;
  stroke-linejoin: round;
  transition: fill var(--transition);
}
#map-container .state-target { fill: var(--navy); }
#map-container .state-other  { fill: #c8d4e8; }
#map-container .state-target:hover { fill: var(--navy-light); cursor: default; }

.criteria-note {
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
}

/* ============================================================
   11. WHY ME
   ============================================================ */
#why-me { background: var(--bg-white); }

.why-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 3rem;
  align-items: start;
}

.why-divider {
  width: 1px;
  background: var(--border);
  align-self: stretch;
  margin: 0 0.5rem;
}

.why-col-title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 1.8rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--navy);
  display: inline-block;
}

.why-items { display: flex; flex-direction: column; gap: 1.6rem; }

.why-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.check-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.why-item strong {
  display: block;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 0.25rem;
  font-size: 0.98rem;
}

.why-item p {
  font-size: 0.9rem;
  line-height: 1.65;
  margin: 0;
}

/* ============================================================
   12. EXPERIENCE
   ============================================================ */
#experience { background: var(--bg-light); }

.exp-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 860px;
  margin: 0 auto;
}

.exp-item {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 1.6rem 1.8rem;
  border-left: 4px solid var(--navy-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 1.4rem;
  align-items: flex-start;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.exp-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
  border-left-color: var(--navy);
}

.exp-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--bg-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  margin-top: 2px;
}

.exp-content h3 {
  color: var(--text);
  margin-bottom: 0.45rem;
  font-size: 1.05rem;
}

.exp-content p {
  font-size: 0.93rem;
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
   13. PERSONAL
   ============================================================ */
#personal { background: var(--bg-white); }

.personal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.personal-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: box-shadow var(--transition), transform var(--transition);
}
.personal-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.personal-card-img {
  width: 100%;
  height: 240px;
  overflow: hidden;
}
.personal-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  transition: transform 0.5s ease;
}
.personal-card-img--group img {
  object-position: center center;
}
.personal-card:hover .personal-card-img img {
  transform: scale(1.03);
}

.personal-card-body {
  padding: 1.5rem 1.6rem;
  border-top: 3px solid var(--navy);
}

.personal-card-body h3 {
  color: var(--text);
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
}

.personal-card-body p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 0;
}

/* ============================================================
   14. CONTACT
   ============================================================ */
#contact {
  background: var(--navy);
  padding-bottom: 0;
}

#contact .container { padding-bottom: var(--section-py); }

.contact-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.contact-heading {
  color: #fff;
  margin: 0.5rem 0 1rem;
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
}

.contact-sub {
  color: rgba(255,255,255,0.72);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* Form */
.form-group { margin-bottom: 1rem; }

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.35rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.optional {
  font-weight: 400;
  text-transform: none;
  font-size: 0.78rem;
  opacity: 0.7;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition), background var(--transition);
  outline: none;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.35); }

.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.14);
}

.form-status {
  font-size: 0.9rem;
  min-height: 1.4rem;
  margin-bottom: 0.5rem;
}
.form-status.success { color: #7dd3b0; }
.form-status.error   { color: #f09898; }

/* Calendly card — primary CTA */
.calendly-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.22);
}

.calendly-card-inner {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}

.calendly-text {
  flex: 1;
  min-width: 0;
}

.calendly-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy-light);
  margin-bottom: 0.5rem;
}

.calendly-card h3 {
  color: var(--text);
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-heading);
  line-height: 1.25;
}

.calendly-desc {
  color: var(--text-muted) !important;
  font-size: 0.9rem !important;
  margin-bottom: 1.4rem !important;
  line-height: 1.65 !important;
}

.calendly-photo-wrap {
  flex-shrink: 0;
}

.calendly-photo {
  width: 130px;
  height: 155px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 3px solid var(--bg-white);
  outline: 3px solid var(--navy);
  outline-offset: 4px;
  background: var(--border);
}

.calendly-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.btn-calendly-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 1rem 1.5rem;
  background: var(--navy);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition);
}
.btn-calendly-primary:hover {
  background: var(--navy-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(27,63,110,0.35);
}

/* Legacy .btn-calendly kept for any fallback use */
.btn-calendly {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 6px;
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--transition);
  width: 100%;
}
.btn-calendly:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.12);
  transform: translateY(-1px);
}

.calendly-note {
  font-size: 0.78rem !important;
  color: var(--text-muted) !important;
  margin: 0.8rem 0 0 !important;
}

/* Secondary form heading */
.form-secondary-heading {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: #fff;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-secondary-sub {
  color: rgba(255,255,255,0.55) !important;
  font-size: 0.88rem !important;
  margin-bottom: 1.5rem !important;
  line-height: 1.6 !important;
}

/* Footer */
.contact-footer {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 2.25rem clamp(20px, 5vw, 48px);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-brand { display: inline-flex; align-items: center; flex-shrink: 0; }

.footer-logo {
  height: 106px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.75;
  transition: opacity var(--transition);
}
.footer-brand:hover .footer-logo { opacity: 1; }

.footer-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.footer-link:hover { color: rgba(255,255,255,0.85); }
.footer-link svg { flex-shrink: 0; }

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3) !important;
  white-space: nowrap;
  margin: 0 !important;
}

/* ============================================================
   MAP FALLBACK (shown when SVG file is unavailable)
   ============================================================ */
.map-fallback {
  padding: 1.5rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  text-align: left;
}

.map-fb-col {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.map-fb-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  border-bottom: 2px solid var(--navy);
  padding-bottom: 0.3rem;
  margin-bottom: 0.1rem;
}

.map-fb-col span:not(.map-fb-label) {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.map-fb-note {
  grid-column: 1 / -1;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--text-muted);
  text-align: center;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border);
}

/* ============================================================
   15. RESPONSIVE — TABLET (max 920px)
   ============================================================ */
@media (max-width: 920px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: center;
  }
  .about-photo-wrap { justify-content: center; }
  .about-links { justify-content: center; }

  .why-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .why-divider { display: none; }

  .personal-grid { grid-template-columns: 1fr 1fr; }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .calendly-card { position: static; }

  /* Nav: hide phone/email text labels on tablet, keep icons + LinkedIn text + button */
  .nav-contact-item.nav-phone span,
  .nav-contact-item.nav-email span {
    display: none;
  }
}

/* ============================================================
   16. RESPONSIVE — MOBILE (max 640px)
   ============================================================ */
@media (max-width: 640px) {
  :root {
    --section-py: 60px;
  }

  .nav-toggle { display: flex; }

  .nav-contact {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 0.75rem 1.25rem 1.25rem;
    gap: 0.1rem;
    box-shadow: var(--shadow-md);
  }
  .nav-contact.open { display: flex; }
  .nav-contact-item { padding: 0.65rem 0; font-size: 0.9rem; }
  .nav-contact-item.nav-phone span,
  .nav-contact-item.nav-email span { display: inline; }
  .nav-cta-btn { margin-left: 0 !important; margin-top: 0.5rem; width: 100%; justify-content: center; }

  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-ctas .btn { width: 100%; max-width: 300px; justify-content: center; }

  .criteria-grid { grid-template-columns: 1fr 1fr; }

  .personal-grid { grid-template-columns: 1fr; }
  .personal-card-img { height: 200px; }

  .exp-item { flex-direction: column; gap: 1rem; }

  .about-photo { width: 180px; height: 210px; }

  .calendly-card-inner {
    flex-direction: column-reverse;
    align-items: center;
    text-align: center;
  }
  .calendly-photo { width: 100px; height: 120px; }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .footer-links { gap: 1rem; }
}

@media (max-width: 440px) {
  .criteria-grid { grid-template-columns: 1fr; }
}
