/* ===========================
   RESET & ROOT VARIABLES
=========================== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #080b10;
  --bg-alt: #0d1117;
  --surface: #111820;
  --surface-2: #1a2232;
  --border: rgba(255,255,255,0.07);
  --accent: #e8c97a;
  --accent-2: #4fc3f7;
  --accent-3: #81c995;
  --text: #e8edf4;
  --text-muted: #7a8799;
  --text-dim: #4a5568;
  --font-display: 'Cormorant Garamond', serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 16px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  cursor: none;
}

/* ===========================
   CUSTOM CURSOR
=========================== */
.cursor {
  position: fixed;
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.15s ease, opacity 0.3s;
  transform: translate(-50%, -50%);
}

.cursor-dot {
  position: fixed;
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.05s;
}

body:hover .cursor { opacity: 1; }

/* ===========================
   NAVBAR
=========================== */
#navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 48px;
  background: transparent;
  transition: background var(--transition), backdrop-filter var(--transition);
}

#navbar.scrolled {
  background: rgba(8, 11, 16, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { width: 100%; }

.nav-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--accent-3);
  font-weight: 500;
}

.status-dot {
  width: 7px;
  height: 7px;
  background: var(--accent-3);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

/* ===========================
   HERO
=========================== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 48px 80px;
  position: relative;
  overflow: hidden;
}

/* Atmospheric background */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 201, 122, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 195, 247, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.hero-bg-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: clamp(80px, 14vw, 180px);
  font-weight: 700;
  color: rgba(255,255,255,0.015);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: 0.1em;
  user-select: none;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-left { flex: 1; }

.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  font-weight: 400;
  animation: fadeUp 0.8s ease both;
}

.hero-name {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
}

.line-reveal {
  display: block;
  animation: fadeUp 0.9s ease both;
  background: linear-gradient(135deg, #e8edf4 30%, var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.delay-1 { animation-delay: 0.12s; }

.hero-role {
  font-size: 0.9rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 20px;
  animation: fadeUp 0.9s 0.2s ease both;
}

.hero-desc {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.75;
  max-width: 480px;
  font-weight: 300;
  margin-bottom: 36px;
  animation: fadeUp 0.9s 0.3s ease both;
}

.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  animation: fadeUp 0.9s 0.4s ease both;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  animation: fadeUp 0.9s 0.5s ease both;
}

.stat { text-align: left; }

.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border);
}

/* PROFILE FRAME */
.hero-right {
  flex-shrink: 0;
  animation: fadeIn 1.2s 0.3s ease both;
}

.profile-frame {
  position: relative;
  width: 340px;
  height: 340px;
}

.profile-ring {
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  border: 1px solid rgba(232, 201, 122, 0.2);
  animation: spin 20s linear infinite;
}

.ring-2 {
  inset: -32px;
  border-color: rgba(79, 195, 247, 0.1);
  animation: spin 30s linear infinite reverse;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.profile-img {
  width: 340px;
  height: 340px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 3px solid rgba(232, 201, 122, 0.3);
  display: block;
  position: relative;
  z-index: 1;
  filter: brightness(0.95) contrast(1.05);
}

.profile-badge {
  position: absolute;
  bottom: 10px;
  right: -10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 8px 18px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  z-index: 2;
  white-space: nowrap;
  backdrop-filter: blur(8px);
}

/* SCROLL HINT */
.scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: fadeIn 1s 1s ease both;
}

.scroll-hint span {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(0.7); }
}

/* ===========================
   BUTTONS
=========================== */
.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  background: var(--accent);
  color: #080b10;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}

.cta-primary:hover {
  background: #f0d88a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 201, 122, 0.3);
}

.cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  background: transparent;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), transform var(--transition);
}

.cta-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

/* ===========================
   SECTIONS
=========================== */
.section {
  padding: 100px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-alt {
  max-width: 100%;
  background: var(--bg-alt);
  padding: 100px 0;
}

.section-alt > * {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 48px;
  padding-right: 48px;
}

.section-alt .section-header {
  max-width: 1200px;
  margin: 0 auto 56px;
  padding: 0 48px;
}

.section-header {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 56px;
}

.section-num {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.1em;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--text);
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 48px;
  height: 2px;
  background: var(--accent);
}

/* ===========================
   ABOUT
=========================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: start;
}

.about-lead {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 20px;
  font-weight: 400;
}

.about-text p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 14px;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.atag {
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.78rem;
  font-weight: 500;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: border-color var(--transition), color var(--transition);
}

.atag:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.about-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.info-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.info-row:last-of-type { border-bottom: none; }

.info-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  font-weight: 500;
}

.info-value {
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 400;
}

/* ===========================
   SKILLS
=========================== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

.skill-category {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: border-color var(--transition), transform var(--transition);
}

.skill-category:hover {
  border-color: rgba(232, 201, 122, 0.2);
  transform: translateY(-4px);
}

.skill-cat-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
}

.skill-category h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 20px;
  font-weight: 600;
}

.skill-bars { display: flex; flex-direction: column; gap: 14px; }

.skill-bar-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.skill-bar-row span {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.bar {
  height: 4px;
  background: var(--surface-2);
  border-radius: 4px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  width: var(--w);
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  border-radius: 4px;
  transform-origin: left;
  animation: barGrow 1.2s cubic-bezier(0.4, 0, 0.2, 1) both;
}

@keyframes barGrow {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* ===========================
   PROJECTS
=========================== */
.projects-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}

.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.project-card:hover {
  border-color: rgba(232, 201, 122, 0.2);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.project-card:hover::before { opacity: 1; }

.project-card.featured {
  border-color: rgba(232, 201, 122, 0.15);
  background: linear-gradient(135deg, var(--surface), var(--surface-2));
}

.project-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(255,255,255,0.04);
  position: absolute;
  top: 16px;
  right: 20px;
  line-height: 1;
}

.project-tag-top {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(232, 201, 122, 0.1);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
  width: fit-content;
}

.project-emoji {
  font-size: 2rem;
  margin-bottom: 14px;
  display: block;
}

.project-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--text);
  margin-bottom: 12px;
  font-weight: 700;
}

.project-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
  flex: 1;
  margin-bottom: 20px;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.project-tech span {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 4px;
  background: var(--surface-2);
  color: var(--accent-2);
  border: 1px solid rgba(79, 195, 247, 0.15);
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.05em;
  margin-top: auto;
  transition: gap var(--transition), color var(--transition);
}

.project-link:hover { gap: 12px; color: var(--text); }

/* ===========================
   CERTIFICATIONS
=========================== */
.certs-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

.cert-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--transition), transform var(--transition);
}

.cert-item:hover {
  border-color: rgba(232, 201, 122, 0.2);
  transform: translateX(6px);
}

.cert-icon { font-size: 1.6rem; flex-shrink: 0; }

.cert-info { flex: 1; }

.cert-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 3px;
}

.cert-issuer {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 300;
}

.cert-badge {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-3);
  background: rgba(129, 201, 149, 0.1);
  border: 1px solid rgba(129, 201, 149, 0.2);
  padding: 4px 10px;
  border-radius: 20px;
  flex-shrink: 0;
}

/* ===========================
   CONTACT
=========================== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-lead {
  font-family: var(--font-display);
  font-size: 1.6rem;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 16px;
  font-weight: 400;
}

.contact-left > p {
  font-size: 0.93rem;
  color: var(--text-muted);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 36px;
}

.contact-methods { display: flex; flex-direction: column; gap: 16px; }

.contact-method {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  transition: border-color var(--transition), transform var(--transition);
}

.contact-method:hover {
  border-color: rgba(232, 201, 122, 0.25);
  transform: translateX(6px);
}

.cm-icon { font-size: 1.4rem; }

.cm-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-dim);
  margin-bottom: 2px;
}

.cm-value {
  display: block;
  font-size: 0.88rem;
  color: var(--text);
  font-weight: 400;
}

.contact-form-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}

.form-row { margin-bottom: 16px; }

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 14px 18px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 300;
  transition: border-color var(--transition);
  outline: none;
  resize: vertical;
}

.form-row input::placeholder,
.form-row textarea::placeholder {
  color: var(--text-dim);
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--accent);
}

/* ===========================
   FOOTER
=========================== */
footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 60px 48px 40px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
}

.footer-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 300;
  letter-spacing: 0.05em;
  margin-bottom: 28px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 28px;
}

.footer-links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--accent); }

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-dim);
  font-weight: 300;
}

/* ===========================
   ANIMATIONS
=========================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 900px) {
  #navbar { padding: 16px 24px; }
  .nav-links { display: none; }
  .hero { padding: 100px 24px 60px; }
  .hero-content { flex-direction: column-reverse; gap: 40px; }
  .hero-right { display: flex; justify-content: center; }
  .profile-frame, .profile-img { width: 220px; height: 220px; }
  .section { padding: 70px 24px; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .projects-grid { grid-template-columns: 1fr; }
  .contact-wrapper { grid-template-columns: 1fr; gap: 40px; }
  .section-alt .section-header,
  .skills-grid,
  .certs-list { padding: 0 24px; }
  footer { padding: 40px 24px 28px; }
}

@media (max-width: 600px) {
  .hero-name { font-size: 3rem; }
  .hero-stats { gap: 18px; }
  .certs-list { grid-template-columns: 1fr; }
}


/* ===========================
   DEVELOPER PROFILES SECTION
=========================== */

.profiles-section {
  padding: 100px 0;
  background: var(--bg-alt);
}

.profiles-section .section-header {
  max-width: 1200px;
  margin: 0 auto 56px;
  padding: 0 48px;
  display: flex;
  align-items: baseline;
  gap: 20px;
}

.profiles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ===========================
   PROFILE CARD
=========================== */

.profile-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

/* top accent line — same as project cards */
.profile-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0;
  transition: opacity var(--transition);
}

.profile-card:hover {
  border-color: rgba(232, 201, 122, 0.2);
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.profile-card:hover::before {
  opacity: 1;
}

/* icon box */
.profile-card .card-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.6rem;
  transition: border-color var(--transition);
}

.profile-card:hover .card-icon {
  border-color: rgba(232, 201, 122, 0.25);
}

.profile-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.profile-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 24px;
  flex: 1;
}

.profile-card a.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 26px;
  background: var(--accent);
  color: #080b10;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  margin-top: auto;
}

.profile-card a.btn:hover {
  background: #f0d88a;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(232, 201, 122, 0.3);
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 900px) {
  .profiles-grid,
  .profiles-section .section-header {
    padding: 0 24px;
  }
}
