  :root {
    --pearl: #F8F6F2;
    --pearl-deep: #EDE9E1;
    --pearl-shadow: #D9D3C7;
    --gold: #B8975A;
    --gold-light: #D4AF6E;
    --ink: #2C2926;
    --ink-soft: #5C5550;
    --ink-muted: #9B928A;
    --white: #FDFCFA;
  }

  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  body {
    font-family: 'Jost', sans-serif;
    background: var(--pearl);
    color: var(--ink);
    overflow-x: hidden;
  }

  /* ── Subtle pearl texture overlay ── */
  body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='400' height='400' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 0;
  }

  /* ── NAV ── */
  nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 4rem;
    background: rgba(248, 246, 242, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--pearl-shadow);
  }

  .nav-brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--ink);
  }

  .nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
  }

  .nav-links a {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-soft);
    text-decoration: none;
    transition: color 0.3s;
    position: relative;
  }

  .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: width 0.3s ease;
  }

  .nav-links a:hover {
    color: var(--ink);
  }

  .nav-links a:hover::after {
    width: 100%;
  }

  /* ── HERO ── */
  .hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 4rem 4rem;
    position: relative;
    overflow: hidden;
  }

  .hero-bg-circle {
    position: absolute;
    right: -10%;
    top: 50%;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--pearl-deep) 0%, transparent 70%);
    opacity: 0.7;
  }

  .hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 1;
  }

  .hero-text {
    animation: fadeUp 0.9s ease both;
  }

  .hero-eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
  }

  .hero-eyebrow::before {
    content: '';
    display: block;
    width: 30px;
    height: 1px;
    background: var(--gold);
  }

  .hero-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 0.4rem;
    color: var(--ink);
  }

  .hero-name em {
    font-style: italic;
    color: var(--ink-soft);
  }

  .hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--gold);
    letter-spacing: 0.05em;
    margin-bottom: 1.8rem;
  }

  .hero-bio {
    font-size: 0.95rem;
    line-height: 1.85;
    color: var(--ink-soft);
    max-width: 440px;
    margin-bottom: 2.5rem;
  }

  .hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.85rem 2rem;
    background: var(--ink);
    color: var(--pearl);
    font-size: 0.78rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
  }

  .hero-cta:hover {
    background: var(--gold);
    color: var(--white);
    gap: 1.2rem;
  }

  /* ── PROFILE PICTURE with hover card ── */
  .profile-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    animation: fadeUp 0.9s 0.2s ease both;
  }

  .profile-frame {
    position: relative;
    width: 380px;
    height: 460px;
    cursor: pointer;
  }

  .profile-frame::before {
    content: '';
    position: absolute;
    top: 16px;
    left: 16px;
    right: -16px;
    bottom: -16px;
    border: 2px solid var(--gold-light);
    z-index: 0;
    transition: transform 0.4s ease;
  }

  .profile-frame:hover::before {
    transform: translate(-4px, -4px);
  }

  .profile-img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: sepia(8%) contrast(1.05);
    transition: filter 0.4s;
  }

  .profile-frame:hover .profile-img {
    filter: sepia(0%) contrast(1.08);
  }

  /* Profile placeholder (no real image) */
  .profile-placeholder {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    background: linear-gradient(145deg, var(--pearl-deep) 0%, var(--pearl-shadow) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    transition: filter 0.4s;
  }

  .profile-placeholder svg {
    opacity: 0.35;
  }

  .profile-placeholder span {
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.85rem;
    color: var(--ink-muted);
    letter-spacing: 0.1em;
  }

  /* HOVER CARD on profile */
  .hover-card {
    position: absolute;
    bottom: -20px;
    right: -200px;
    width: 220px;
    background: var(--white);
    border: 1px solid var(--pearl-shadow);
    padding: 1.2rem 1.4rem;
    box-shadow: 0 20px 60px rgba(44, 41, 38, 0.12);
    z-index: 10;
    opacity: 0;
    transform: translateX(10px) scale(0.97);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
  }

  .profile-frame:hover .hover-card {
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: auto;
  }

  .hover-card-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.2rem;
  }

  .hover-card-role {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.8rem;
  }

  .hover-card-divider {
    width: 30px;
    height: 1px;
    background: var(--pearl-shadow);
    margin-bottom: 0.8rem;
  }

  .hover-card-text {
    font-size: 0.8rem;
    line-height: 1.6;
    color: var(--ink-soft);
  }

  .hover-card-arrow {
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 8px solid var(--white);
  }

  /* ── SECTION COMMONS ── */
  section {
    padding: 7rem 2rem;
    position: relative;
    z-index: 1;
  }

  .section-header {
    text-align: center;
    margin-bottom: 4rem;
  }

  .section-eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 500;
    margin-bottom: 0.8rem;
  }

  .section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 300;
    color: var(--ink);
    line-height: 1.2;
  }

  .section-divider {
    width: 50px;
    height: 1px;
    background: var(--gold);
    margin: 1.2rem auto 0;
  }

  /* ── CERTIFICATES ── */
  .section-white {
    background: var(--white);
  }

  .certs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
  }

  .cert-card {
    position: relative;
    background: var(--pearl);
    border: 1px solid var(--pearl-shadow);
    padding: 2rem;
    cursor: default;
    transition: all 0.3s ease;
    overflow: visible;
  }

  .cert-card:hover {
    border-color: var(--gold-light);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(44, 41, 38, 0.08);
  }

  .cert-icon {
    width: 44px;
    height: 44px;
    background: var(--pearl-deep);
    border: 1px solid var(--pearl-shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    color: var(--gold);
    font-size: 1.1rem;
  }

  .cert-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.3rem;
    line-height: 1.3;
  }

  .cert-year {
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    color: var(--ink-muted);
    text-transform: uppercase;
  }

  .cert-btn {
    margin-top: 12px;
    padding: 10px 18px;

    background-color: #ffffff;
    color: #111;

    border: 2px solid #d4af37;
    /* gold */
    border-radius: 0;
    /* sharp corners */

    font-size: 10px;
    font-weight: bold;
    letter-spacing: 0.5px;

    cursor: pointer;
    transition: all 0.25s ease;
  }

  /* Hover effect */
  .cert-btn:hover {
    background-color: #d4af37;
    color: #ffffff;
  }

  /* Cert hover tooltip */
  .cert-tooltip {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%) translateY(-100%) scale(0.95);
    width: 240px;
    background: var(--ink);
    color: var(--pearl);
    padding: 1rem 1.2rem;
    z-index: 20;
    opacity: 0;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
  }

  .cert-card:hover .cert-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(calc(-100% - 12px)) scale(1);
  }

  .cert-tooltip::after {
    content: '';
    position: absolute;
    bottom: -7px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 7px solid var(--ink);
  }

  .cert-tooltip-org {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 0.4rem;
  }

  .cert-tooltip-desc {
    font-size: 0.8rem;
    line-height: 1.55;
    color: rgba(248, 246, 242, 0.85);
  }

  /* ── ACHIEVEMENTS ── */
  .achievements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 0 auto;
  }

  .achievement-card {
    text-decoration: none;
    color: inherit;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    padding: 1.8rem;
    background: var(--white);
    border: 1px solid var(--pearl-shadow);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
  }

  .achievement-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--gold);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.3s ease;
  }

  .achievement-card:hover::before {
    transform: scaleY(1);
  }

  .achievement-card:hover {
    box-shadow: 0 12px 35px rgba(44, 41, 38, 0.07);
    transform: translateX(4px);
  }

  .achievement-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--pearl-shadow);
    line-height: 1;
    min-width: 50px;
  }

  .achievement-info {
    flex: 1;
  }

  .achievement-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.4rem;
  }

  .achievement-desc {
    font-size: 0.82rem;
    line-height: 1.65;
    color: var(--ink-soft);
  }

  /* ── PROJECTS ── */

  .projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
  }

  .project-card {
    background: var(--pearl);
    border: 1px solid var(--pearl-shadow);
    overflow: hidden;
    cursor: pointer;
    group: true;
    position: relative;
    transition: all 0.3s;
  }

  .project-card:hover {
    box-shadow: 0 20px 50px rgba(44, 41, 38, 0.1);
    transform: translateY(-6px);
    border-color: var(--gold-light);
  }

  .project-img {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, var(--pearl-deep), var(--pearl-shadow));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
  }

  .project-img-overlay {
    position: absolute;
    inset: 0;
    background: var(--ink);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .project-card:hover .project-img-overlay {
    opacity: 0;
  }

  .project-overlay-text {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold-light);
    font-weight: 500;
  }

  .project-body {
    padding: 1.5rem;
  }

  .project-tag {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.5rem;
    font-weight: 500;
  }

  .project-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.5rem;
  }

  .project-desc {
    font-size: 0.8rem;
    line-height: 1.65;
    color: var(--ink-soft);
  }

  /* ── CONNECTIONS ── */
  .connections-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
  }

  .connection-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    padding: 1.5rem 1.8rem;
    background: var(--white);
    border: 1px solid var(--pearl-shadow);
    min-width: 140px;
    cursor: pointer;
    transition: all 0.3s;
  }

  .connection-card:hover {
    border-color: var(--gold-light);
    transform: translateY(-3px);
  }

  .connection-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
  }

  .connection-name {
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--ink);
    text-align: center;
  }

  .connection-role {
    font-size: 0.7rem;
    color: var(--ink-muted);
    letter-spacing: 0.05em;
    text-align: center;
  }

  /* Connection hover tooltip */
  .conn-tooltip {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%) translateY(-100%) scale(0.95);
    width: 210px;
    background: var(--white);
    border: 1px solid var(--pearl-shadow);
    padding: 0.9rem 1rem;
    box-shadow: 0 12px 35px rgba(44, 41, 38, 0.12);
    z-index: 20;
    opacity: 0;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    pointer-events: none;
    text-align: left;
  }

  .connection-card:hover .conn-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(calc(-100% - 10px)) scale(1);
  }

  .conn-tooltip::after {
    content: '';
    position: absolute;
    bottom: -7px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 7px solid var(--pearl-shadow);
  }

  .conn-tooltip-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.2rem;
  }

  .conn-tooltip-relation {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.5rem;
  }

  .conn-tooltip-desc {
    font-size: 0.77rem;
    line-height: 1.55;
    color: var(--ink-soft);
  }

  /* ── STATS BAR ── */
  .stats-bar {
    background: var(--ink);
    padding: 3rem 4rem;
    display: flex;
    justify-content: center;
    gap: 6rem;
    position: relative;
    z-index: 1;
  }

  .stat-item {
    text-align: center;
  }

  .stat-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 300;
    color: var(--gold-light);
    line-height: 1;
    margin-bottom: 0.4rem;
  }

  .stat-label {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(248, 246, 242, 0.5);
    font-weight: 400;
  }

  /* ── FOOTER ── */
  footer {
    background: var(--pearl-deep);
    border-top: 1px solid var(--pearl-shadow);
    padding: 2.5rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
  }

  .footer-brand {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    color: var(--ink);
  }

  .footer-text {
    font-size: 0.75rem;
    color: var(--ink-muted);
    letter-spacing: 0.05em;
  }

  /* ── ANIMATIONS ── */
  @keyframes fadeUp {
    from {
      opacity: 0;
      transform: translateY(30px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* ── DEGREE TIMELINE ── */
  .section-pearl {
    background: var(--pearl);
  }

  .timeline {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    padding-left: 3rem;
  }

  .timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, var(--gold), transparent);
  }

  .timeline-item {
    position: relative;
    margin-bottom: 3rem;
    animation: fadeUp 0.6s ease both;
  }

  .timeline-item:nth-child(1) {
    animation-delay: 0.1s;
  }

  .timeline-item:nth-child(2) {
    animation-delay: 0.2s;
  }

  .timeline-item:nth-child(3) {
    animation-delay: 0.3s;
  }

  .timeline-dot {
    position: absolute;
    left: -3rem;
    top: 6px;
    width: 12px;
    height: 12px;
    border: 2px solid var(--gold);
    background: var(--pearl);
    transform: rotate(45deg);
    transition: background 0.3s;
  }

  .timeline-item:hover .timeline-dot {
    background: var(--gold);
  }

  .timeline-year {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.4rem;
  }

  .timeline-degree {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.2rem;
  }

  .timeline-school {
    font-size: 0.85rem;
    color: var(--ink-soft);
    margin-bottom: 0.6rem;
  }

  .timeline-desc {
    font-size: 0.8rem;
    line-height: 1.65;
    color: var(--ink-muted);
  }

  /* SVG icon placeholders */
  .project-placeholder-icon {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    color: var(--pearl-shadow);
  }

  /* Scrollbar */
  ::-webkit-scrollbar {
    width: 5px;
  }

  ::-webkit-scrollbar-track {
    background: var(--pearl);
  }

  ::-webkit-scrollbar-thumb {
    background: var(--pearl-shadow);
  }