/* ══════════════════════════════════════════
   LOGAN S. — PORTFOLIO · styles.css
   Premium Finance Professional Theme
══════════════════════════════════════════ */

/* ── CSS VARIABLES ── */
:root {
  --white:       #ffffff;
  --off-white:   #f5f8fd;
  --mist:        #dbeafe;
  --sky:         #bfdbfe;
  --soft-blue:   #e8f2ff;
  --accent:      #1d5fd6;
  --mid-blue:    #3b82f6;
  --deep-blue:   #0f3d8c;
  --navy:        #071e3d;
  --charcoal:    #1a2840;
  --text-body:   #2e4263;
  --text-mid:    #5070a0;
  --text-light:  #8faac8;
  --border:      rgba(29,95,214,0.11);
  --border-md:   rgba(29,95,214,0.22);
  --glow:        rgba(29,95,214,0.18);
  --card-bg:     rgba(255,255,255,0.96);

  --space-xs:    0.5rem;
  --space-sm:    1rem;
  --space-md:    1.5rem;
  --space-lg:    2.5rem;
  --space-xl:    4rem;
  --space-2xl:   6.5rem;

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   18px;
  --radius-full: 100px;

  --shadow-sm:   0 2px 8px rgba(7,30,61,0.06);
  --shadow-md:   0 8px 32px rgba(7,30,61,0.09);
  --shadow-lg:   0 20px 64px rgba(7,30,61,0.13);
  --shadow-glow: 0 12px 40px rgba(29,95,214,0.22);

  --transition:  0.26s cubic-bezier(0.4,0,0.2,1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Figtree', sans-serif;
  background: var(--white);
  color: var(--navy);
  overflow-x: hidden;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ── CANVAS ── */
#bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* ── UTILITY ── */
section { position: relative; z-index: 1; }

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 108px 5%;
}

.label {
  font-family: 'Inconsolata', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.9rem;
}
.label::before {
  content: '';
  display: block;
  width: 22px; height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}
.label.center {
  justify-content: center;
}
.label.center::before,
.label.center::after {
  content: '';
  display: block;
  width: 22px; height: 1px;
  background: currentColor;
  flex-shrink: 0;
}

.display-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 600;
  line-height: 1.07;
  letter-spacing: -0.015em;
  color: var(--navy);
}

.section-h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--navy);
  margin-bottom: 1rem;
}
.section-h2 .em { color: var(--accent); font-style: italic; }

.lead {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.88;
  font-weight: 300;
  max-width: 540px;
}

.hairline {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-md), transparent);
  position: relative;
  z-index: 1;
}

/* ── SCROLL REVEAL ── */
.r {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.78s ease, transform 0.78s ease;
}
.r.in { opacity: 1; transform: none; }
.r.d1 { transition-delay: 0.08s; }
.r.d2 { transition-delay: 0.17s; }
.r.d3 { transition-delay: 0.26s; }
.r.d4 { transition-delay: 0.34s; }
.r.d5 { transition-delay: 0.42s; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  padding: 0.8rem 1.65rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn-dark {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.btn-dark:hover {
  background: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}
.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--border-md);
}
.btn-outline:hover {
  border-color: var(--accent);
  background: var(--soft-blue);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--text-mid);
  border-color: var(--border);
}
.btn-ghost:hover {
  color: var(--navy);
  border-color: var(--border-md);
  background: var(--off-white);
  transform: translateY(-2px);
}

/* ══════════════════════════════════
   NAV
══════════════════════════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
nav.scrolled {
  box-shadow: 0 2px 24px rgba(7,30,61,0.07);
}

.nav-wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.01em;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-wordmark em { color: var(--accent); font-style: normal; }

.nav-links {
  display: flex;
  gap: 2.2rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-mid);
  text-decoration: none;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform var(--transition);
}
.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }
.nav-links a.active { color: var(--accent); }

.nav-pill {
  background: var(--navy) !important;
  color: white !important;
  padding: 0.44rem 1.1rem !important;
  border-radius: var(--radius-sm) !important;
  letter-spacing: 0.06em !important;
}
.nav-pill:hover {
  background: var(--accent) !important;
  transform: none;
}
.nav-pill::after { display: none; }

/* hamburger — defined in mobile section below */

/* ══════════════════════════════════
   HERO
══════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 88px 5% 60px;
  overflow: hidden;
}

.hero-grid {
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 4.5rem;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: 'Inconsolata', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--soft-blue);
  border: 1px solid var(--border-md);
  padding: 0.38rem 0.95rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  animation: fadeUp 0.9s 0.1s both;
}
.tag-pulse {
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2.4s ease-in-out infinite;
  flex-shrink: 0;
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin-bottom: 1.4rem;
  animation: fadeUp 0.9s 0.22s both;
}
.hero-title .em {
  color: var(--accent);
  font-style: italic;
}

.hero-sub {
  font-size: 1.04rem;
  color: var(--text-body);
  line-height: 1.88;
  font-weight: 300;
  max-width: 510px;
  margin-bottom: 2.4rem;
  animation: fadeUp 0.9s 0.33s both;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  animation: fadeUp 0.9s 0.44s both;
}

/* ── HERO PHOTO ── */
.hero-photo-side {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeUp 0.9s 0.3s both;
}

.photo-orbit {
  position: relative;
  width: 380px;
  height: 380px;
}

.orbit-ring {
  position: absolute;
  inset: -28px;
  border-radius: 50%;
  border: 1px solid var(--border-md);
  animation: spinSlow 28s linear infinite;
}
.orbit-ring::before {
  content: '';
  position: absolute;
  top: -4px; left: 50%;
  width: 8px; height: 8px;
  background: var(--accent);
  border-radius: 50%;
  transform: translateX(-50%);
  box-shadow: 0 0 12px var(--accent);
}

.orbit-ring-2 {
  position: absolute;
  inset: -55px;
  border-radius: 50%;
  border: 1px dashed rgba(29,95,214,0.15);
  animation: spinSlow 44s linear infinite reverse;
}
.orbit-ring-2::after {
  content: '';
  position: absolute;
  bottom: -3px; right: 20%;
  width: 6px; height: 6px;
  background: var(--mid-blue);
  border-radius: 50%;
  opacity: 0.6;
}

.photo-circle {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--soft-blue) 0%, #d4e8ff 40%, var(--mist) 100%);
  border: 2px solid rgba(29,95,214,0.2);
  box-shadow:
    0 0 0 8px rgba(29,95,214,0.04),
    0 32px 80px rgba(7,30,61,0.12),
    inset 0 2px 6px rgba(255,255,255,0.9);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: box-shadow var(--transition);
}
.photo-circle:hover {
  box-shadow:
    0 0 0 10px rgba(29,95,214,0.07),
    0 40px 100px rgba(7,30,61,0.16),
    inset 0 2px 6px rgba(255,255,255,0.9);
}
.photo-circle::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(29,95,214,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29,95,214,0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

/* Actual profile image */
.profile-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  z-index: 1;
}

/* Silhouette fallback */
.photo-silhouette {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.silhouette-head {
  width: 100px; height: 100px;
  background: linear-gradient(160deg, #c8daf5, #a8c4e8);
  border-radius: 50%;
  margin-bottom: 0;
  box-shadow: 0 4px 20px rgba(7,30,61,0.1);
}
.silhouette-shoulders {
  width: 200px; height: 110px;
  background: linear-gradient(160deg, #8ab4e0, #6e9dd0);
  border-radius: 100px 100px 0 0;
  box-shadow: 0 -4px 20px rgba(7,30,61,0.08);
}

.photo-upload-hint {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-md);
  border-radius: var(--radius-full);
  padding: 0.32rem 0.95rem;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.06em;
  white-space: nowrap;
  z-index: 10;
  font-family: 'Inconsolata', monospace;
  text-transform: uppercase;
}

/* Floating data cards */
.float-card {
  position: absolute;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: var(--shadow-md);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--navy);
  white-space: nowrap;
  z-index: 20;
  animation: floatY 4s ease-in-out infinite;
}
.float-card:nth-child(3) { top: 6%; right: -8%; animation-delay: 0s; }
.float-card:nth-child(4) { bottom: 22%; left: -14%; animation-delay: 1.8s; }
.float-card:nth-child(5) { top: 56%; right: -12%; animation-delay: 3.2s; }

.fc-icon {
  width: 30px; height: 30px;
  background: var(--soft-blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.fc-meta { display: flex; flex-direction: column; }
.fc-val { font-weight: 700; font-size: 0.86rem; color: var(--navy); line-height: 1.2; }
.fc-sub { font-size: 0.67rem; color: var(--text-light); font-weight: 400; }

/* ══════════════════════════════════
   ABOUT
══════════════════════════════════ */
#about { background: var(--off-white); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5.5rem;
  align-items: center;
}

.about-visual { position: relative; }

.ring-container {
  position: relative;
  width: 320px;
  height: 320px;
  margin: 0 auto;
}
.ring-container svg { width: 100%; height: 100%; }

.arc-spin-2 {
  animation: spinRing 18s linear infinite;
  transform-origin: center;
}
.arc-spin-3 {
  animation: spinRing 12s linear infinite reverse;
  transform-origin: center;
}

.ring-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.ring-icon { font-size: 1.6rem; margin-bottom: 0.3rem; }
.ring-degree {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
}
.ring-school {
  font-family: 'Inconsolata', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 0.25rem;
}

.about-stat-row {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 1.8rem;
}
.about-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.7rem 1rem;
  min-width: 72px;
  box-shadow: var(--shadow-sm);
}
.as-val {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent);
}
.as-lbl {
  font-size: 0.65rem;
  color: var(--text-light);
  font-family: 'Inconsolata', monospace;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.1rem;
}

.about-content { display: flex; flex-direction: column; gap: 1.1rem; }
.about-p {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.9;
  font-weight: 300;
}
.about-highlight {
  background: white;
  border-left: 3px solid var(--accent);
  padding: 1rem 1.2rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 0.93rem;
  color: var(--text-body);
  line-height: 1.78;
  font-style: italic;
  box-shadow: var(--shadow-sm);
}
.about-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.3rem;
}
.pill {
  padding: 0.3rem 0.85rem;
  background: var(--soft-blue);
  border: 1px solid var(--border-md);
  border-radius: var(--radius-full);
  font-size: 0.77rem;
  font-weight: 500;
  color: var(--accent);
}

/* ══════════════════════════════════
   WHY ME
══════════════════════════════════ */
#why { background: var(--white); }

.why-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.why-header .section-h2 { margin: 0 auto 0.9rem; }
.why-header .lead { margin: 0 auto; }

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

.why-card {
  position: relative;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem 1.65rem;
  overflow: hidden;
  transition: all 0.32s ease;
  cursor: default;
}
.why-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--mid-blue));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}
.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-md);
}
.why-card:hover::after { transform: scaleX(1); }

.wc-num {
  font-family: 'Inconsolata', monospace;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  color: var(--text-light);
  margin-bottom: 0.8rem;
}
.wc-icon {
  width: 48px; height: 48px;
  background: var(--soft-blue);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
  transition: all 0.3s;
}
.why-card:hover .wc-icon {
  background: var(--accent);
  transform: scale(1.06);
}
.wc-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.wc-desc {
  font-size: 0.84rem;
  color: var(--text-mid);
  line-height: 1.72;
  font-weight: 300;
}

/* ══════════════════════════════════
   RESULTS (dark section)
══════════════════════════════════ */
#results {
  background: linear-gradient(160deg, var(--navy) 0%, #102a58 55%, #0f3870 100%);
  position: relative;
  overflow: hidden;
}
#results::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 40%, rgba(29,95,214,0.22) 0%, transparent 70%);
}
#results::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(191,219,254,0.3), transparent);
}

.results-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.results-header .label {
  color: var(--sky);
  justify-content: center;
}
.results-header .label::before,
.results-header .label::after {
  background: var(--sky);
}
.results-header .section-h2 { color: white; margin: 0 auto 0.9rem; }
.results-header .section-h2 .em { color: var(--sky); }
.results-header .lead {
  color: rgba(255,255,255,0.52);
  text-align: center;
  margin: 0 auto;
}

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

.result-card {
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 1.85rem 1.5rem;
  backdrop-filter: blur(6px);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}
.result-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(191,219,254,0.35), transparent);
}
.result-card:hover {
  background: rgba(255,255,255,0.09);
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.18);
}

.rc-ico { font-size: 1.7rem; margin-bottom: 1rem; }
.rc-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.12rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.5rem;
}
.rc-desc {
  font-size: 0.83rem;
  color: rgba(191,219,254,0.62);
  line-height: 1.68;
  font-weight: 300;
}

/* ══════════════════════════════════
   EXPERIENCE
══════════════════════════════════ */
#experience { background: var(--off-white); }

.exp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-top: 2.5rem;
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 32px;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 8px; top: 6px; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--accent), rgba(29,95,214,0.08));
}

.t-item {
  position: relative;
  margin-bottom: 2.6rem;
}
.t-dot {
  position: absolute;
  left: -28px; top: 5px;
  width: 16px; height: 16px;
  background: white;
  border: 2px solid var(--accent);
  border-radius: 50%;
}
.t-dot::after {
  content: '';
  position: absolute;
  inset: 3px;
  background: var(--accent);
  border-radius: 50%;
}
.t-co {
  font-family: 'Inconsolata', monospace;
  font-size: 0.67rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.25rem;
}
.t-role {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.t-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.t-list li {
  font-size: 0.86rem;
  color: var(--text-mid);
  line-height: 1.6;
  padding-left: 1.1rem;
  position: relative;
}
.t-list li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 600;
}

/* Builder Box */
.builder-box {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.builder-head {
  background: linear-gradient(135deg, var(--navy), #1a3560);
  padding: 1.4rem 1.6rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.builder-head-icon { font-size: 1.6rem; }
.builder-head-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.1rem;
}
.builder-head-sub {
  font-size: 0.75rem;
  color: rgba(191,219,254,0.65);
  font-family: 'Inconsolata', monospace;
  letter-spacing: 0.08em;
}
.builder-body { padding: 0.5rem 0; }
.b-row {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 0.85rem 1.6rem;
  font-size: 0.86rem;
  color: var(--text-body);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.b-row:last-child { border-bottom: none; }
.b-row:hover { background: var(--soft-blue); }
.b-row-icon { font-size: 1rem; flex-shrink: 0; margin-top: 0.05rem; }

/* ══════════════════════════════════
   SKILLS
══════════════════════════════════ */
#skills { background: var(--white); }

.skills-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.sk {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.48rem 1.05rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 500;
  cursor: default;
  transition: all var(--transition);
  border: 1px solid transparent;
}
.sk:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

.sk-a {
  background: var(--soft-blue);
  color: var(--accent);
  border-color: var(--border-md);
}
.sk-a:hover { background: var(--accent); color: white; border-color: var(--accent); }

.sk-b {
  background: white;
  color: var(--navy);
  border-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.sk-b:hover { background: var(--navy); color: white; border-color: var(--navy); }

.sk-c {
  background: var(--off-white);
  color: var(--text-body);
  border-color: var(--border);
}
.sk-c:hover { background: var(--deep-blue); color: white; border-color: var(--deep-blue); }

/* ══════════════════════════════════
   CAREER PATH
══════════════════════════════════ */
#career { background: var(--off-white); }

.career-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5.5rem;
  align-items: start;
}

.career-ladder {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: white;
}
.cl-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.95rem 1.4rem;
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}
.cl-row:last-child { border-bottom: none; }
.cl-row:hover {
  background: var(--soft-blue);
  padding-left: 1.7rem;
}
.cl-row-top { background: var(--soft-blue); }

.cl-num {
  font-family: 'Inconsolata', monospace;
  font-size: 0.67rem;
  letter-spacing: 0.1em;
  color: var(--text-light);
  flex-shrink: 0;
  width: 22px;
}
.cl-title {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--navy);
  flex: 1;
}
.cl-arrow {
  color: var(--text-light);
  font-size: 0.85rem;
  flex-shrink: 0;
}
.cl-badge {
  font-family: 'Inconsolata', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(29,95,214,0.1);
  color: var(--accent);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  flex-shrink: 0;
}
.cl-star {
  color: var(--accent);
  font-size: 1rem;
  flex-shrink: 0;
}

.career-text {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding-top: 3.2rem;
}
.career-text .section-h2 { margin-bottom: 0; }
.career-note {
  background: white;
  border-left: 3px solid var(--accent);
  padding: 1rem 1.2rem;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.75;
  font-style: italic;
  box-shadow: var(--shadow-sm);
}

/* ══════════════════════════════════
   CTA (dark)
══════════════════════════════════ */
#cta {
  background: linear-gradient(160deg, var(--navy) 0%, #0f2a5a 60%, #071e3d 100%);
  position: relative;
  overflow: hidden;
}
#cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 60%, rgba(29,95,214,0.18) 0%, transparent 70%);
}

.cta-center {
  max-width: 760px;
  margin: 0 auto;
  padding: 120px 5%;
  text-align: center;
  position: relative;
}

.cta-label {
  color: var(--sky) !important;
  justify-content: center;
  margin-bottom: 1.4rem;
}
.cta-label::before, .cta-label::after {
  background: var(--sky) !important;
}

.cta-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  color: white;
  margin-bottom: 1.4rem;
  letter-spacing: -0.01em;
}
.cta-title .em {
  color: var(--sky);
  font-style: italic;
}

.cta-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.52);
  line-height: 1.85;
  font-weight: 300;
  max-width: 520px;
  margin: 0 auto 2.5rem;
}

.cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn-main {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--accent);
  color: white;
  padding: 0.9rem 2rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: all var(--transition);
  border: 2px solid var(--accent);
}
.cta-btn-main:hover {
  background: #1751be;
  border-color: #1751be;
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(29,95,214,0.4);
}

.cta-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--sky);
  padding: 0.9rem 2rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: all var(--transition);
  border: 2px solid rgba(191,219,254,0.3);
}
.cta-btn-secondary:hover {
  background: rgba(191,219,254,0.08);
  border-color: rgba(191,219,254,0.55);
  transform: translateY(-2px);
}

/* ══════════════════════════════════
   FOOTER
══════════════════════════════════ */
footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 2rem 5%;
  position: relative;
  z-index: 1;
}
.footer-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
}
.footer-logo em { color: var(--mid-blue); font-style: normal; }
.footer-meta {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.3);
  font-family: 'Inconsolata', monospace;
  letter-spacing: 0.06em;
}
.footer-links {
  display: flex;
  gap: 1.5rem;
}
.footer-links a {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.35);
  text-decoration: none;
  font-family: 'Inconsolata', monospace;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.footer-links a:hover { color: rgba(255,255,255,0.75); }

/* ══════════════════════════════════
   ANIMATIONS
══════════════════════════════════ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.72); }
}
@keyframes spinSlow {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes spinRing {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
@keyframes floatY {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

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

/* Tablet */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr 350px;
    gap: 3rem;
  }
  .photo-orbit { width: 320px; height: 320px; }
  .float-card:nth-child(3) { right: -4%; }
  .float-card:nth-child(4) { left: -8%; }
  .float-card:nth-child(5) { right: -6%; }

  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .why-card:last-child { grid-column: auto; max-width: none; }

  .results-grid { grid-template-columns: repeat(2, 1fr); }
  .career-layout { gap: 3rem; }
  .about-grid { gap: 3.5rem; }
}

/* Mobile nav */
@media (max-width: 768px) {
  .nav-hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    gap: 0;
    padding: 1rem 0 1.5rem;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 40px rgba(7,30,61,0.1);
    transform: translateY(-110%);
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
    pointer-events: none;
  }
  .nav-links.open {
    transform: translateY(0);
    pointer-events: all;
  }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 0.9rem 5%;
    font-size: 0.86rem;
  }
  .nav-links a::after { display: none; }
  .nav-pill {
    margin: 0.5rem 5%;
    text-align: center;
    border-radius: var(--radius-sm) !important;
    padding: 0.7rem 1rem !important;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  .hero-title { font-size: clamp(2.2rem, 8vw, 3.2rem); }
  .hero-sub { max-width: 100%; }
  .hero-btns { justify-content: center; }
  .hero-photo-side { order: -1; }
  .photo-orbit { width: 280px; height: 280px; }
  .float-card { display: none; }

  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-visual { order: -1; }
  .ring-container { width: 260px; height: 260px; }

  .why-grid { grid-template-columns: 1fr; }
  .why-card:last-child { max-width: none; }

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

  .exp-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  .career-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .career-text { padding-top: 0; }

  .wrap { padding: 72px 5%; }

  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .footer-links { justify-content: center; }
}

@media (max-width: 480px) {
  .hero-title { font-size: clamp(2rem, 9vw, 2.8rem); }
  .photo-orbit { width: 240px; height: 240px; }
  .cta-btns { flex-direction: column; align-items: center; }
  .cta-btn-main, .cta-btn-secondary { width: 100%; justify-content: center; }
  .about-stat-row { gap: 0.7rem; }
}

/* ══════════════════════════════════
   PREMIUM ABOUT CARD (replaces ring)
══════════════════════════════════ */
.ring-container, .arc-spin-2, .arc-spin-3,
.ring-center, .ring-icon, .ring-degree, .ring-school,
.about-stat-row, .about-stat, .as-val, .as-lbl {
  display: none !important;
}

.about-card-visual {
  background: white;
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  max-width: 360px;
  margin: 0 auto;
}
.acv-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--mid-blue), #60a5fa);
}
.acv-photo-wrap {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  margin: 2rem auto 0;
  border: 3px solid var(--soft-blue);
  box-shadow: 0 4px 20px rgba(29,95,214,0.15);
  background: var(--soft-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}
.acv-photo { width:100%; height:100%; object-fit:cover; border-radius:50%; }
.acv-photo-fallback {
  display: none;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.acv-fallback-icon {
  width: 60px; height: 60px;
  object-fit: contain;
  opacity: 0.5;
  filter: invert(30%) sepia(60%) saturate(400%) hue-rotate(200deg);
}
.acv-identity { text-align: center; padding: 1rem 1.5rem 0; }
.acv-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; font-weight: 700;
  color: var(--navy); line-height: 1.2;
}
.acv-title { font-size: 0.8rem; color: var(--text-mid); font-weight: 400; margin-top: 0.2rem; }
.acv-location {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-family: 'Inconsolata', monospace;
  font-size: 0.68rem; letter-spacing: 0.06em;
  color: var(--text-light); margin-top: 0.55rem;
}
.acv-divider { height:1px; background:var(--border); margin:1.4rem 1.5rem; }
.acv-creds {
  display: flex; align-items: center;
  justify-content: center; padding: 0 1.5rem;
}
.acv-cred { flex:1; text-align:center; }
.acv-cred-val {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; font-weight: 700; color: var(--accent);
}
.acv-cred-lbl {
  font-family: 'Inconsolata', monospace;
  font-size: 0.6rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--text-light); margin-top: 0.1rem;
}
.acv-cred-sep { width:1px; height:36px; background:var(--border); flex-shrink:0; }
.acv-tags {
  display: flex; flex-wrap: wrap; gap: 0.45rem;
  justify-content: center; padding: 1.4rem 1.5rem 1.8rem;
}
.acv-tag {
  padding: 0.28rem 0.8rem;
  background: var(--soft-blue);
  border: 1px solid var(--border-md);
  border-radius: var(--radius-full);
  font-size: 0.73rem; font-weight: 500; color: var(--accent);
}

/* ══════════════════════════════════
   ICON IMAGE STYLES
══════════════════════════════════ */
.wc-img {
  width: 26px; height: 26px;
  object-fit: contain;
  filter: invert(27%) sepia(80%) saturate(500%) hue-rotate(200deg) brightness(0.85);
  display: block;
}
.why-card:hover .wc-img {
  filter: brightness(0) invert(1);
}
.rc-img {
  width: 32px; height: 32px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  display: block;
}
.b-img {
  width: 18px; height: 18px;
  object-fit: contain;
  filter: invert(27%) sepia(80%) saturate(500%) hue-rotate(200deg) brightness(0.85);
  display: block;
}
.b-row:hover .b-img {
  filter: invert(27%) sepia(80%) saturate(700%) hue-rotate(200deg) brightness(0.75);
}
/* rc-ico now acts as image container */
.rc-ico {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 0;
}

/* ══════════════════════════════════
   HERO — CENTERED (no photo)
══════════════════════════════════ */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 88px 5% 60px;
  overflow: hidden;
  text-align: center;
}

/* Override old grid layout */
.hero-grid { display: none !important; }

.hero-center {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-center .hero-tag {
  margin-bottom: 1.8rem;
}

.hero-center .hero-title {
  font-size: clamp(3rem, 7vw, 5.2rem);
  text-align: center;
  max-width: 720px;
  margin-bottom: 1.6rem;
}

.hero-center .hero-sub {
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.6rem;
  font-size: 1.08rem;
}

.hero-center .hero-btns {
  justify-content: center;
}

/* Hide photo-related elements */
.hero-photo-side,
.photo-orbit,
.orbit-ring,
.orbit-ring-2,
.photo-circle,
.float-card { display: none !important; }

@media (max-width: 768px) {
  .hero-center .hero-title {
    font-size: clamp(2.2rem, 9vw, 3.4rem);
  }
  .hero-center .hero-sub {
    font-size: 0.97rem;
  }
}

/* ── PROFILE PHOTO: fill circle, no overflow ── */
.acv-photo-wrap {
  width: 110px !important;
  height: 110px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  flex-shrink: 0;
  display: block !important;
  position: relative;
}
.acv-photo {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
  border-radius: 50% !important;
  display: block !important;
}

/* ── FORCE PHOTO VISIBLE ── */
.acv-photo-wrap {
  display: flex !important;
}
.acv-photo {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top !important;
  border-radius: 50% !important;
}

/* ══════════════════════════════════
   CTA — SPLIT LAYOUT WITH FORM
══════════════════════════════════ */
#cta {
  background: linear-gradient(160deg, var(--navy) 0%, #0f2a5a 60%, #071e3d 100%);
  position: relative;
  overflow: hidden;
  padding: 0;
}
#cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 80% at 20% 50%, rgba(29,95,214,0.18) 0%, transparent 65%);
  pointer-events: none;
}

/* Override old cta-center */
.cta-center { display: none !important; }

.cta-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 100px 5%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  position: relative;
}

/* Left side */
.cta-left {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  padding-top: 0.5rem;
}

.cta-label {
  font-family: 'Inconsolata', monospace;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sky);
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.cta-label span {
  display: block;
  width: 22px; height: 1px;
  background: var(--sky);
}

.cta-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  color: white;
  letter-spacing: -0.01em;
}
.cta-title .em {
  color: var(--sky);
  font-style: italic;
}

.cta-sub {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.85;
  font-weight: 300;
  max-width: 400px;
}

.cta-btn-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255,255,255,0.08);
  color: white;
  border: 1px solid rgba(255,255,255,0.18);
  padding: 0.85rem 1.6rem;
  border-radius: 8px;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: all var(--transition);
  width: fit-content;
}
.cta-btn-linkedin:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.35);
  transform: translateY(-2px);
}

/* Right side — form card */
.cta-right { width: 100%; }

.contact-form-wrap {
  background: white;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.25);
}

.cf-header {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3560 100%);
  padding: 1.4rem 1.8rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.cf-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.2rem;
}
.cf-sub {
  font-size: 0.75rem;
  color: rgba(191,219,254,0.65);
  font-family: 'Inconsolata', monospace;
  letter-spacing: 0.04em;
}

.cf-body {
  padding: 1.6rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cf-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.cf-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.cf-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-mid);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-family: 'Inconsolata', monospace;
}

.cf-input {
  font-family: 'Figtree', sans-serif;
  font-size: 0.88rem;
  color: var(--navy);
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}
.cf-input::placeholder { color: var(--text-light); }
.cf-input:focus {
  border-color: var(--accent);
  background: white;
  box-shadow: 0 0 0 3px rgba(29,95,214,0.1);
}
.cf-input:hover:not(:focus) { border-color: var(--border-md); }

.cf-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238faac8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.2rem;
}

.cf-textarea {
  resize: vertical;
  min-height: 90px;
  line-height: 1.6;
}

.cf-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--navy);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0.9rem 1.5rem;
  font-family: 'Figtree', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all var(--transition);
  width: 100%;
  margin-top: 0.25rem;
}
.cf-submit:hover {
  background: var(--accent);
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(29,95,214,0.3);
}
.cf-submit:active { transform: translateY(0); }

.cf-success {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: 8px;
  padding: 0.8rem 1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: #15803d;
}
.cf-success svg { color: #16a34a; flex-shrink: 0; }

/* CTA responsive */
@media (max-width: 900px) {
  .cta-inner {
    grid-template-columns: 1fr;
    gap: 3rem;
    padding: 72px 5%;
  }
  .cta-sub { max-width: 100%; }
}

@media (max-width: 480px) {
  .cf-row-2 { grid-template-columns: 1fr; }
  .cf-body { padding: 1.3rem 1.2rem; }
  .cf-header { padding: 1.1rem 1.2rem; }
}

/* ══════════════════════════════════
   SKILLS — CATEGORIZED GRID
══════════════════════════════════ */
.skills-categories {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  margin-top: 2.4rem;
}

.sk-cat {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.sk-cat:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.sk-cat-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1rem 1.25rem 0.9rem;
  background: linear-gradient(135deg, var(--soft-blue), #eef5ff);
  border-bottom: 1px solid var(--border);
}

.sk-cat-icon {
  font-size: 1.1rem;
  line-height: 1;
  flex-shrink: 0;
}

.sk-cat-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
}

.sk-cat-list {
  list-style: none;
  padding: 0.75rem 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.sk-cat-list li {
  font-size: 0.84rem;
  color: var(--text-body);
  font-weight: 400;
  padding: 0.48rem 1.25rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: background var(--transition), color var(--transition), padding-left var(--transition);
  line-height: 1.4;
}
.sk-cat-list li:last-child {
  border-bottom: none;
}
.sk-cat-list li::before {
  content: '';
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.5;
  flex-shrink: 0;
  transition: opacity var(--transition), transform var(--transition);
}
.sk-cat-list li:hover {
  background: var(--soft-blue);
  color: var(--accent);
  padding-left: 1.5rem;
}
.sk-cat-list li:hover::before {
  opacity: 1;
  transform: scale(1.3);
}

/* Responsive */
@media (max-width: 1024px) {
  .skills-categories {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 540px) {
  .skills-categories {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════
   MOBILE NAV — HAMBURGER & DRAWER
══════════════════════════════════ */

/* Hamburger button — hidden on desktop, shown on mobile */
.nav-hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--navy);
  border-radius: 6px;
  transition: background var(--transition);
  z-index: 310;
  flex-shrink: 0;
  line-height: 0;
}
.nav-hamburger:hover { background: var(--soft-blue); }

/* SVG icons inside the button */
.ham-icon { display: block; }

/* Mobile drawer — off-screen by default, slides in when .open */
.mobile-drawer {
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  z-index: 200;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  /* hidden from screen readers until open */
}
.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-drawer-inner {
  display: flex;
  flex-direction: column;
  padding: 1.5rem 6%;
}

.mob-link {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--border);
  letter-spacing: -0.01em;
  transition: color 0.2s ease, padding-left 0.2s ease;
}
.mob-link:first-child { border-top: 1px solid var(--border); }
.mob-link:hover,
.mob-link:active { color: var(--accent); padding-left: 0.6rem; }

.mob-link-cta {
  margin-top: 2rem;
  border: none !important;
  background: var(--navy);
  color: white !important;
  padding: 1rem 1.5rem !important;
  border-radius: 8px !important;
  font-size: 1rem !important;
  font-family: 'Figtree', sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em;
  justify-content: center;
  text-transform: uppercase;
}
.mob-link-cta:hover,
.mob-link-cta:active {
  background: var(--accent) !important;
  padding-left: 1.5rem !important;
}

/* ── Show hamburger, hide desktop links on mobile ── */
@media (max-width: 768px) {
  .nav-links     { display: none !important; }
  .nav-hamburger { display: flex !important; }
}
