/* ─── TOKENS (mirrors index exactly) ─────────────────── */
:root {
  --ink:        #0D1117;
  --ink-dim:    #6B7280;
  --surface:    #FFFFFF;
  --panel:      #F4F5F6;
  --dark:       #0F1B2D;
  --navy:       #1A3A5C;
  --blue:       #2563AE;
  --sky:        #5BA8D9;
  --lime:       #C8E84A;
  --lime-dark:  #A8C832;
  --border-l:   #E5E7EB;
  --radius:     12px;
  --radius-lg:  18px;
  --nav-h:      56px;

  /* ── motion tokens (same as index) ── */
  --ease-out-expo: cubic-bezier(.16,1,.3,1);
  --ease-spring:   cubic-bezier(.34,1.56,.64,1);
  --ease-gentle:   cubic-bezier(.25,.46,.45,.94);
}

/* ─── RESET ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans', sans-serif;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img, video { display: block; width: 100%; }
ul { list-style: none; }

/* ─── NAV ────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  height: var(--nav-h);
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-l);
  transition: box-shadow .3s var(--ease-out-expo);
}
nav.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,.07);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 20px;
}
.nav-logo {
  font-family: 'Noto Sans', sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -.3px;
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: opacity .2s;
}
.nav-logo:hover { opacity: .75; }
.nav-logo span {
  display: inline-block;
  width: 20px; height: 20px;
  border: 2px solid var(--ink);
  border-radius: 4px;
}
.nav-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--ink-dim);
}
.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #22C55E;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .4; }
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-size: 14px;
  color: var(--ink-dim);
  transition: color .2s;
}

/* Lime underline — plain links only, NOT .nav-cta */
.nav-links a:not(.nav-cta) {
  position: relative;
  padding-bottom: 2px;
}
.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 1.5px;
  background: var(--lime-dark);
  border-radius: 2px;
  transition: width .25s var(--ease-out-expo);
}
.nav-links a:not(.nav-cta):hover        { color: var(--ink); }
.nav-links a:not(.nav-cta):hover::after { width: 100%; }

.nav-active {
  font-weight: 600;
  color: var(--ink) !important;
}
.nav-active:not(.nav-cta)::after { width: 100% !important; }

/* Contact CTA — unchanged from original */
.nav-cta {
  font-size: 13px;
  font-weight: 600;
  padding: 8px 16px;
  background: #d0d0d0;
  color: #000 !important;
  border-radius: 8px;
  transition: background .2s, transform .15s;
}
.nav-cta:hover { background: #e1e1e1; transform: translateY(-1px); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s var(--ease-out-expo), opacity .2s;
}

/* Hamburger → X when open */
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border-l);
  padding: 20px 32px 24px;
  z-index: 99;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-6px);
  opacity: 0;
  transition: transform .25s var(--ease-out-expo), opacity .2s;
}
.mobile-menu.open {
  display: flex;
  transform: translateY(0);
  opacity: 1;
}
.mobile-menu a {
  font-size: 16px;
  color: var(--ink-dim);
  padding: 12px 0;
  border-bottom: 1px solid var(--border-l);
  transition: color .2s;
}
.mobile-menu a:hover { color: var(--ink); }
.mobile-menu a:last-child { border-bottom: none; }

/* ─── MAIN LAYOUT ────────────────────────────────────── */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  padding-top: var(--nav-h);
}

/* ─── LEFT PANEL ─────────────────────────────────────── */
.about-left {
  position: sticky;
  top: var(--nav-h);
  height: calc(100vh - var(--nav-h));
  background: var(--dark);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.about-left::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

/* ─────────────────────────────────────────────────────────
   VIDEO POSITION (desktop)
   object-position controls which part of the video is visible
   when it is cropped to fill the panel.

   Format: object-position: [horizontal] [vertical]
     horizontal — "left" | "center" | "right" | 0–100%
     vertical   — "top"  | "center" | "bottom" | 0–100%

   Vertical guide:
     0%   = top of video is anchored (shows top of frame)
     50%  = centred (default browser behaviour)
     60%  = slightly below centre ← current desktop value
     100% = bottom of video is anchored (shows bottom of frame)

   To shift the subject UP on desktop → lower the % (e.g. 40%)
   To shift the subject DOWN on desktop → raise the % (e.g. 80%)

   Mobile override is in the @media (max-width: 960px) block
   below — search for "VIDEO POSITION (mobile)" to find it.
   ───────────────────────────────────────────────────────── */
.about-video,
.video-placeholder {
  position: absolute;
  object-position: center 60%;   /* ← DESKTOP: adjust vertical % here */
  filter: grayscale(100%);
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Placeholder styling */
.video-placeholder {
  background: linear-gradient(
    145deg,
    var(--dark) 0%,
    #162236 50%,
    #1A3A5C 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-placeholder-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  padding: 24px;
}
.video-icon {
  width: 72px; height: 72px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.06);
  margin-bottom: 4px;
}
.video-placeholder-label {
  font-family: 'Noto Sans', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: rgba(255,255,255,.7);
  letter-spacing: .3px;
}
.video-placeholder-hint {
  font-size: 12px;
  color: rgba(255,255,255,.35);
  line-height: 1.6;
}

/* Name tag — bottom-left above badges */
.left-name-tag {
  position: absolute;
  bottom: 100px;
  left: 28px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.left-name {
  font-family: 'Noto Sans', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  letter-spacing: -.3px;
}
.left-role { font-size: 13px; color: rgba(255,255,255,.6); }

/* Credential badges */
.credential-badges {
  position: absolute;
  bottom: 28px;
  left: 28px;
  right: 28px;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.badge {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(6px);
  padding: 6px 12px;
  border-radius: 20px;
  letter-spacing: .2px;
  transition: background .2s, border-color .2s;
}
.badge:hover {
  background: rgba(255,255,255,.18);
  border-color: rgba(255,255,255,.3);
}

/* ─── RIGHT PANEL ────────────────────────────────────── */
.about-right {
  display: flex;
  flex-direction: column;
  background: var(--surface);
}

/* Shared section padding */
.about-section,
.why-section,
.testimonials-section,
.experience-section {
  padding: 56px 60px;
  border-bottom: 1px solid var(--border-l);
}

/* ── About section ───────────────────────────────────── */
.about-heading {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 28px;
}
.about-body {
  font-size: 1.25rem;
  line-height: 2;
  color: var(--ink);
  margin-bottom: 18px;
  max-width: 520px;
}
.about-body:last-of-type { margin-bottom: 0; }

.about-cta-row {
  display: flex;
  gap: 12px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 22px;
  background: var(--lime);
  color: var(--ink);
  font-size: clamp(18px, 2.75vh, 24px);
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  transition: background .2s, transform .2s var(--ease-spring), box-shadow .2s;
}
.btn-primary:hover {
  background: var(--lime-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(168,200,50,.3);
}
.btn-primary:active { transform: translateY(0); }

/* ── Why section ─────────────────────────────────────── */
.why-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  color: var(--ink);
}
.why-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}
.why-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.why-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-l);
  font-size: 15px;
  color: var(--ink);
  line-height: 1.5;
  transition: color .2s, padding-left .2s var(--ease-out-expo);
}
.why-item:first-child { border-top: 1px solid var(--border-l); }
.why-item:hover {
  color: var(--blue);
  padding-left: 6px;
}
.why-item:hover .why-check svg circle { stroke: var(--blue); }
.why-item:hover .why-check svg path  { stroke: var(--blue); }
.why-check {
  flex-shrink: 0;
  width: 20px; height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ── Testimonials section ────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.testimonial-card {
  padding: 24px;
  background: var(--panel);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-l);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .25s var(--ease-spring), box-shadow .25s;
}
.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,.08);
}
.testimonial-card:last-child {
  grid-column: span 2;
}
.t-stars { color: #F59E0B; font-size: 13px; letter-spacing: 2px; }
.t-quote {
  font-size: 14px;
  line-height: 1.75;
  color: var(--ink);
  font-style: italic;
  flex: 1;
}
.t-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}
.t-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.t-name { font-size: 13px; font-weight: 600; color: var(--ink); }
.t-org  { font-size: 12px; color: var(--ink-dim); }

/* ── Experience section ──────────────────────────────── */
.exp-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.exp-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border-l);
  transition: padding-left .2s var(--ease-out-expo);
}
.exp-item:first-child { border-top: 1px solid var(--border-l); }
.exp-item:hover { padding-left: 6px; }
.exp-item:hover .exp-dot { background: var(--lime-dark); }
.exp-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
  transition: background .2s;
}
.exp-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}
.exp-org  { font-size: 15px; font-weight: 600; color: var(--ink); }
.exp-role { font-size: 13px; color: var(--ink-dim); }
.exp-year { font-size: 13px; color: var(--ink-dim); white-space: nowrap; }

/* ── Footer ──────────────────────────────────────────── */
.about-footer {
  padding: 32px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid var(--border-l);
  margin-top: auto;
}
.footer-copy { font-size: 12px; color: var(--ink-dim); }
.footer-links {
  display: flex;
  gap: 20px;
}
.footer-links a {
  font-size: 12px;
  color: var(--ink-dim);
  transition: color .2s;
}
.footer-links a:hover { color: var(--ink); }

/* ═══════════════════════════════════════════════════════
   RESPONSIVE
   Breakpoints mirror work.css / contact.css / process.css
   exactly: 960 → 768 → 480
   ═══════════════════════════════════════════════════════ */

/* ── 960px: stack to single column ──────────────────── */
@media (max-width: 960px) {
  .about-layout { grid-template-columns: 1fr; }

  .about-left {
    position: relative;
    top: auto;
    height: 60vw;
    min-height: 320px;
  }

  /* ─────────────────────────────────────────────────────
     VIDEO POSITION (mobile — 960px and below)
     The panel is now a fixed-height banner rather than a
     full-height sticky column, so the crop changes.

     Increase the vertical % to push the subject DOWN
     (shows more of the top of the video).
     Decrease it to push the subject UP (shows more bottom).

     Current value: 75%  →  slightly lower than desktop's 60%
     Try 80% or 85% if you need it further down.
     Try 65% or 70% if you want to move it back up a little.

     To adjust: find "object-position" inside this
     @media (max-width: 960px) block and change the
     second value (the vertical percentage).
     ───────────────────────────────────────────────────── */
  .about-video,
  .video-placeholder {
    object-position: center 46%;   /* ← MOBILE: adjust vertical % here */
  }

  .about-section,
  .why-section,
  .testimonials-section,
  .experience-section { padding: 40px 36px; }

  .about-footer { padding: 24px 36px; }
}

/* ── 768px: mobile nav + compact layout ─────────────── */
@media (max-width: 768px) {
  nav { padding: 0 20px; }
  .nav-links,
  .nav-status,
  .nav-cta { display: none; }
  .hamburger { display: flex; }

  .about-section,
  .why-section,
  .testimonials-section,
  .experience-section { padding: 36px 24px; }

  /* Why items: remove indent hover on touch (no hover state) */
  .why-item:hover  { padding-left: 0; }
  .exp-item:hover  { padding-left: 0; }

  .about-cta-row   { flex-direction: column; }
  .btn-primary     { width: 100%; justify-content: center; }

  .about-footer    { padding: 24px; flex-direction: column; align-items: flex-start; }

  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonial-card:last-child { grid-column: span 1; }
}

/* ── 480px: small phones ─────────────────────────────── */
@media (max-width: 480px) {
  .about-left      { height: 65vw; min-height: 260px; }
  .about-heading   { font-size: 28px; letter-spacing: -.5px; }
  .about-body      { font-size: 16px; }

  .credential-badges { left: 16px; right: 16px; bottom: 16px; }
  .left-name-tag     { left: 16px; bottom: 90px; }

  .exp-org         { font-size: 14px; }
  .why-item        { font-size: 14px; }
}
