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

  :root {
    --sand:       #f5f0e8;
    --sand-dark:  #e8e0d0;
    --sand-mid:   #d4c9b4;
    --ocean:      #c5dce8;
    --ocean-deep: #7aadcc;
    --ocean-dark: #3a7a9c;
    --sage:       #a8c4a2;
    --sage-dark:  #6b9465;
    --terra:      #c4855a;
    --terra-light:#e8c4a8;
    --gold:       #c9a84c;
    --gold-light: #f0dfa0;
    --plum:       #7a5c8a;
    --plum-light: #c4aad0;
    --ink:        #2c2420;
    --ink-mid:    #5c4a3c;
    --ink-light:  #8a7a70;
    --white:      #fdfaf5;
    --nav-h:      64px;
    --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'DM Sans', sans-serif;
    background: var(--sand);
    color: var(--ink);
    min-height: 100vh;
    overflow-x: hidden;
  }

  /* ============================================
     NAVIGATION
  ============================================ */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-h);
    background: rgba(253,250,245,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--sand-dark);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2.5rem;
    z-index: 1000;
  }

  .nav-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: 0.02em;
    text-decoration: none;
  }

  .nav-logo span {
    color: var(--terra);
  }

  .nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
  }

  .nav-links a {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--ink-mid);
    text-decoration: none;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    position: relative;
    transition: color var(--transition);
  }

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

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

  .nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
  }

  .nav-toggle span {
    display: block;
    width: 24px; height: 1.5px;
    background: var(--ink);
    transition: var(--transition);
  }

  /* ============================================
     HERO / OVERVIEW SECTION
  ============================================ */
  #home {
    min-height: 100vh;
    padding-top: var(--nav-h);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  /* Hero text header */
  .hero-header {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 3rem 2rem 1.5rem;
  }

  .hero-subtitle-top {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-light);
    margin-bottom: 0.75rem;
  }

  .hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 600;
    color: var(--ink);
    line-height: 1.1;
    letter-spacing: -0.01em;
  }

  .hero-title em {
    font-style: italic;
    color: var(--terra);
  }

  .hero-desc {
    font-size: 1rem;
    color: var(--ink-mid);
    margin-top: 0.75rem;
    font-weight: 300;
    letter-spacing: 0.02em;
  }

  /* ============================================
     OVERVIEW CANVAS
  ============================================ */
  .overview-canvas {
    position: relative;
    z-index: 5;
    width: 100%;
    max-width: 1100px;
    margin: 1rem auto 0;
    padding: 0 1.5rem 3rem;
  }

  /* ============================================
     OVERVIEW PANELS
  ============================================ */
  .topic-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(4, auto);
    gap: 1.5rem;
    position: relative;
    z-index: 5;
  }

  .topic-card {
    position: relative;
    border-radius: 2rem;
    padding: 1.5rem 1.5rem 1.25rem;
    border: 1px solid rgba(255,255,255,0.7);
    transition: transform var(--transition), box-shadow var(--transition);
    cursor: default;
  }

  .topic-card--clickable {
    cursor: pointer;
  }

  .topic-card:hover {
    transform: translateY(-3px);
  }

  .topic-card--clickable:hover {
    box-shadow: 0 10px 24px rgba(44, 36, 32, 0.12);
  }

  /* Individual panel color themes */
  .topic-card--wie {
    grid-column: 1 / 7;
    grid-row: 1 / 2;
    background: linear-gradient(135deg, #f8f8d8 0%, #e1e7bd 100%);
    box-shadow: 0 4px 20px rgba(180,150,100,0.15);
  }

  .topic-card--innovatie {
    grid-column: 1 / 4;
    grid-row: 2 / 3;
    background: linear-gradient(135deg, #dce8f0 0%, #c8dce8 100%);
    box-shadow: 0 4px 20px rgba(100,160,200,0.15);
  }

  .topic-card--eindreflectie {
    grid-column: 3 / 11;
    grid-row: 3 / 4;
    background: linear-gradient(135deg, #f0d4e7 0%, #e2bbd5 100%);
    box-shadow: 0 4px 20px rgba(180,130,80,0.15);
  }

  .topic-card--internationalisering {
    grid-column: 10 / 13;
    grid-row: 2 / 3;
    background: linear-gradient(135deg, #ddeedd 0%, #c8e0c8 100%);
    box-shadow: 0 4px 20px rgba(100,180,100,0.15);
  }

  .topic-card--seminaries {
    grid-column: 7 / 13;
    grid-row: 1 / 2;
    background: linear-gradient(135deg, #e8dcf0 0%, #d8c8e8 100%);
    box-shadow: 0 4px 20px rgba(150,100,180,0.15);
  }

  .topic-card--persoonlijk {
    grid-column: 4 / 10;
    grid-row: 2 / 3;
    background: linear-gradient(135deg, #f5d7d1 0%, #f8cec6 100%);
    box-shadow: 0 4px 20px rgba(200,160,80,0.15);
  }

  /* Panel header */
  .topic-card-header {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(0,0,0,0.07);
  }


  .topic-card-icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
    font-size: 17px;
  }


  .topic-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.2;
  }

  .topic-tagline {
    font-size: 0.72rem;
    color: var(--ink-light);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-top: 2px;
  }

  /* Markers grid inside panel */
  .markers-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    position: relative;
    z-index: 3;
  }

  /* ============================================
     MARKER PINS
  ============================================ */
  .marker {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.75rem 0.4rem 0.55rem;
    background: rgba(255,255,255,0.75);
    border: 1px solid rgba(255,255,255,0.9);
    border-radius: 999px;
    cursor: pointer;
    transition: all var(--transition);
    font-size: 0.8rem;
    font-weight: 400;
    color: var(--ink);
    user-select: none;
    text-decoration: none;
  }

  .marker:hover {
    background: rgba(255,255,255,0.95);
    transform: scale(1.04) translateY(-1px);
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  }

  .marker-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
  }

  /* Dot colors per region */
  .topic-card--wie       .marker-dot { background: var(--gold); }
  .topic-card--innovatie .marker-dot { background: var(--ocean-dark); }
  .topic-card--eindreflectie .marker-dot { background: #aa2f8b; }
  .topic-card--internationalisering .marker-dot { background: var(--sage-dark); }
  .topic-card--seminaries .marker-dot { background: var(--plum); }
  .topic-card--persoonlijk .marker-dot { background:#f8866f ; }

  /* Panel icon bg colors */
  .topic-card--wie       .topic-card-icon { background: rgba(196,133,90,0.15); color: var(--terra); }
  .topic-card--innovatie .topic-card-icon { background: rgba(58,122,156,0.15); color: var(--ocean-dark); }
  .topic-card--eindreflectie .topic-card-icon { background: #f5ade3ab; color: #aa2f8b; }
  .topic-card--internationalisering .topic-card-icon { background: rgba(107,148,101,0.15); color: var(--sage-dark); }
  .topic-card--seminaries .topic-card-icon { background: rgba(122,92,138,0.15); color: var(--plum); }
  .topic-card--persoonlijk .topic-card-icon { background: rgba(201,168,76,0.15); color: #f8866f ; }

  /* ============================================
     MODAL OVERLAY
  ============================================ */
  .modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(44,36,32,0.5);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }

  .modal-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .modal {
    background: var(--white);
    border-radius: 1.5rem;
    width: 100%;
    max-width: 540px;
    max-height: 100vh;
    overflow-y: auto;
    padding: 2rem;
    position: relative;
    transform: translateY(20px) scale(0.97);
    transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
    border: 1px solid var(--sand-dark);
  }

  .modal--section {
    max-width: 860px;
  }

  .modal-overlay.active .modal {
    transform: translateY(0) scale(1);
  }

  .modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 1rem;
  }

  .modal-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--ink);
    line-height: 1.15;
    margin-bottom: 0.25rem;
  }

  .modal-region {
    font-size: 0.8rem;
    color: var(--ink-light);
    margin-bottom: 1.5rem;
  }

  .modal-region:empty {
    display: none;
  }

  .modal-img {
    width: calc(100% + 2rem);
    margin-left: -1rem;
    margin-right: -1rem;
    height: clamp(170px, 22vh, 210px);
    border-radius: 1rem;
    background: var(--sand-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    opacity: 1;
    overflow: hidden;
    position: relative;
  }

  .modal-img--gallery {
    background: var(--white); 
  }

  .modal-photo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    border-radius: 1rem;
  }

  .modal-gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.4rem;
    line-height: 1;
    transition: background var(--transition);
  }

  .modal-gallery-btn:hover {
    background: rgba(0, 0, 0, 0.6);
  }

  .modal-gallery-btn--prev {
    left: 0.6rem;
  }

  .modal-gallery-btn--next {
    right: 0.6rem;
  }

  .modal-gallery-counter {
    position: absolute;
    bottom: 0.5rem;
    right: 0.6rem;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 0.72rem;
    letter-spacing: 0.03em;
  }

  .modal-img-inner {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--sand-dark) 0%, var(--sand-mid) 100%);
    display: flex; align-items: center; justify-content: center;
    border-radius: 1rem;
    font-size: 3rem;
    opacity: 0.5;
  }

  .modal-img--gallery .modal-img-inner {
    opacity: 1;
    background: transparent;
  }

  .modal-section {
    margin-bottom: 1.25rem;
  }

  .modal-section-label {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink-light);
    margin-bottom: 0.4rem;
  }

  .modal-section-text {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--ink-mid);
  }

  .modal-default-content.is-hidden,
  .modal-rich-content.is-hidden {
    display: none;
  }

  .modal-rich-content {
    padding-top: 0.25rem;
  }

  .modal-rich-content .section-container {
    max-width: none;
    margin: 0;
  }

  .modal-rich-content .about-grid,
  .modal-rich-content .reflection-grid {
    gap: 1.25rem;
  }

  .modal-rich-content .stats-row {
    gap: 1rem;
    margin-bottom: 1.5rem;
  }

  .modal-rich-content .activities-intro {
    margin-bottom: 1.75rem;
    max-width: none;
  }

  .modal-rich-content .section-title {
    margin-bottom: 1rem;
  }

  .modal-rich-content .section-label {
    margin-bottom: 0.4rem;
  }

  .modal-rich-content .about-text p:last-child,
  .modal-rich-content .reflection-card:last-child,
  .modal-rich-content .activities-intro:last-child {
    margin-bottom: 0;
  }

  .modal-learnings {
    background: var(--sand);
    border-radius: 0.875rem;
    padding: 1rem 1.25rem;
    border-left: 3px solid var(--terra);
  }

  .modal-learnings .modal-section-label {
    color: var(--terra);
    letter-spacing: 0.1em;
  }

  .modal-close {
    position: absolute;
    top: 1.25rem; right: 1.25rem;
    width: 32px; height: 32px;
    border: 1px solid var(--sand-dark);
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--ink-mid);
    transition: all var(--transition);
    line-height: 1;
    font-family: inherit;
  }

  .modal-close:hover {
    background: var(--sand-dark);
    color: var(--ink);
    transform: rotate(90deg);
  }

  /* ============================================
     LIGHTBOX
  ============================================ */
  .lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(15, 15, 18, 0.82);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  .lightbox-content {
    position: relative;
    max-width: min(96vw, 1200px);
    max-height: 92vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .lightbox-image {
    display: block;
    max-width: 100%;
    max-height: 92vh;
    object-fit: contain;
    border-radius: 1rem;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.35);
    cursor: default;
  }

  .lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 999px;
    background: rgba(253,250,245,0.92);
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
    box-shadow: 0 8px 24px rgba(0,0,0,0.22);
    transition: transform 0.2s ease, background 0.2s ease;
    z-index: 3;
  }

  .lightbox-nav:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.05);
  }

  .lightbox-nav--prev {
    left: 0.75rem;
  }

  .lightbox-nav--next {
    right: 0.75rem;
  }

  .lightbox-counter {
    position: absolute;
    bottom: -0.9rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: rgba(253,250,245,0.92);
    color: var(--ink-mid);
    font-size: 0.78rem;
    letter-spacing: 0.03em;
    box-shadow: 0 8px 24px rgba(0,0,0,0.16);
    z-index: 3;
  }

  .lightbox-nav.is-hidden,
  .lightbox-counter.is-hidden {
    display: none;
  }

  .lightbox-close {
    position: absolute;
    top: -0.75rem;
    right: -0.75rem;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 50%;
    background: rgba(253,250,245,0.96);
    color: var(--ink);
    font-size: 1.15rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, background 0.2s ease;
    z-index: 4;
  }

  .lightbox-close:hover {
    transform: scale(1.05);
    background: var(--white);
  }

  /* ============================================
     ABOUT / OVER MIJ SECTION
  ============================================ */
  .section-container {
    max-width: 900px;
    margin: 0 auto;
  }

  .section-label {
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-light);
    margin-bottom: 0.75rem;
  }

  .section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 2rem;
    line-height: 1.15;
  }

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

  .about-text p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--ink-mid);
    margin-bottom: 1rem;
    font-weight: 300;
  }

  .skills-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .skill-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--ink);
  }

  .skill-bar {
    width: 120px;
    height: 4px;
    background: var(--sand-dark);
    border-radius: 999px;
    overflow: hidden;
  }

  .skill-fill {
    height: 100%;
    background: var(--terra);
    border-radius: 999px;
    transform-origin: left;
    animation: skillGrow 1.2s cubic-bezier(0.4,0,0.2,1) both;
    animation-play-state: paused;
  }

  .skill-fill.visible {
    animation-play-state: running;
  }

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

  /* ============================================
     CONTENT SECTIONS
  ============================================ */
  .detail-section {
    padding: 6rem 2rem;
    background: var(--white);
  }

  .modal-source-sections {
    display: none;
  }

  .activities-intro {
    font-size: 1rem;
    color: var(--ink-mid);
    line-height: 1.8;
    font-weight: 300;
    max-width: 640px;
    margin-bottom: 3rem;
  }

  .stats-row {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
  }

  .stat-card {
    background: var(--white);
    border: 1px solid var(--sand-dark);
    border-radius: 1rem;
    padding: 1.25rem 1.75rem;
    flex: 1;
    min-width: 140px;
  }

  .stat-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--terra);
    line-height: 1;
  }

  .stat-label {
    font-size: 0.75rem;
    color: var(--ink-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.25rem;
  }

  .reflection-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .reflection-card {
    background: var(--sand);
    border-radius: 1.25rem;
    padding: 1.5rem;
    border: 1px solid var(--sand-dark);
    transition: transform var(--transition);
  }

  .reflection-card:hover {
    transform: translateY(-2px);
  }

  .reflection-card-icon {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }

  .reflection-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.5rem;
  }

  .reflection-card p {
    font-size: 0.875rem;
    color: var(--ink-mid);
    line-height: 1.7;
    font-weight: 300;
  }

  /* ============================================
     FOOTER
  ============================================ */
  footer {
    background: var(--ink);
    color: rgba(255,255,255,0.5);
    text-align: center;
    padding: 2rem;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
  }

  footer span { color: rgba(255,255,255,0.8); }

  .footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }
  .footer-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    letter-spacing: 0.02em;
  }
  .footer-name span { color: #e8c4a8; }
  .footer-tagline {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.45);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
  }
  .footer-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 0.5rem;
  }
  .footer-contact a,
  .footer-contact span {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    transition: color 0.2s;
  }
  .footer-contact a:hover { color: #e8c4a8; }
  .footer-contact i { font-size: 0.75rem; opacity: 0.7; }
  .footer-copy {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.3);
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
  }

  /* ============================================
     RESPONSIVE
  ============================================ */
  @media (max-width: 900px) {
    .topic-grid {
      grid-template-columns: 1fr 1fr;
      grid-template-rows: auto;
      gap: 1rem;
    }

    .topic-card--wie,
    .topic-card--innovatie,
    .topic-card--eindreflectie,
    .topic-card--internationalisering,
    .topic-card--seminaries,
    .topic-card--persoonlijk {
      grid-column: auto;
      grid-row: auto;
    }

    .topic-card--persoonlijk {
      grid-column: 1 / -1;
    }

    .about-grid { grid-template-columns: 1fr; gap: 2rem; }
    .reflection-grid { grid-template-columns: 1fr; }
    .stats-row { gap: 1rem; }
  }

  @media (max-width: 600px) {
    nav { padding: 0 1.25rem; }
    .nav-links { display: none; }
    .nav-links.open {
      display: flex;
      flex-direction: column;
      position: fixed;
      top: var(--nav-h); left: 0; right: 0;
      background: var(--white);
      padding: 1.5rem 1.5rem 2rem;
      border-bottom: 1px solid var(--sand-dark);
      gap: 1.25rem;
      z-index: 999;
    }
    .nav-toggle { display: flex; }

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

    .topic-card--persoonlijk { grid-column: 1; }
    .hero-header { padding-top: 2rem; }
    .modal { padding: 1.5rem; }
    .modal-title { font-size: 1.5rem; }
  }

  /* ============================================
     SCROLL FADE IN
  ============================================ */
  .fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
  }

  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }

  /* Stagger delays */
  .fade-in:nth-child(1) { transition-delay: 0.05s; }
  .fade-in:nth-child(2) { transition-delay: 0.12s; }
  .fade-in:nth-child(3) { transition-delay: 0.19s; }
  .fade-in:nth-child(4) { transition-delay: 0.26s; }
  .fade-in:nth-child(5) { transition-delay: 0.33s; }
  .fade-in:nth-child(6) { transition-delay: 0.40s; }

  /* Scrollbar */
  ::-webkit-scrollbar { width: 6px; }
  ::-webkit-scrollbar-track { background: var(--sand); }
  ::-webkit-scrollbar-thumb { background: var(--sand-mid); border-radius: 3px; }

  .topic-title-trigger { display:block; width:100%; text-align:left; background:transparent; border:0; padding:0; cursor:pointer; position:relative; z-index:2; }
  .topic-title-trigger:hover .topic-title { color: inherit; text-decoration: none; }
  .topic-title-trigger:hover .topic-tagline { color: var(--ink); }
  .topic-title-trigger:focus-visible { outline: none; }
  .topic-title-trigger .topic-title { margin: 0; transition: color 0.2s ease; }
  .topic-title-trigger .topic-tagline { margin: 0; transition: color 0.2s ease; }

  /* ============================================
     PROJECTEN PAGE — BACKGROUND
  ============================================ */
  
  .page-bg {
    position: fixed;
    inset: 0;
    background:
      radial-gradient(ellipse 80% 60% at 50% 40%, var(--ocean) 0%, transparent 65%),
      linear-gradient(180deg, var(--sand) 0%, var(--sand-dark) 100%);
    z-index: -1;
  }
  .page-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
      repeating-linear-gradient(0deg, transparent, transparent 38px, rgba(139,110,80,0.06) 38px, rgba(139,110,80,0.06) 39px),
      repeating-linear-gradient(90deg, transparent, transparent 38px, rgba(139,110,80,0.04) 38px, rgba(139,110,80,0.04) 39px);
  }

  /* Pastel ellipse accents only for projecten page */
  .projects-page .page-bg {
    background:
      radial-gradient(ellipse 58% 42% at 14% 20%, rgba(239, 188, 216, 0.75) 0%, rgba(239, 188, 216, 0) 70%),
      radial-gradient(ellipse 62% 44% at 86% 22%, rgba(186, 210, 245, 0.76) 0%, rgba(186, 210, 245, 0) 71%),
      radial-gradient(ellipse 66% 48% at 50% 80%, rgba(206, 188, 240, 0.74) 0%, rgba(206, 188, 240, 0) 73%),
      linear-gradient(180deg, var(--sand) 0%, var(--sand-dark) 100%);
  }

  .index-page .page-bg {
    background:
      radial-gradient(ellipse 60% 44% at 78% 16%, rgba(239, 188, 216, 0.72) 0%, rgba(239, 188, 216, 0) 70%),
      radial-gradient(ellipse 56% 40% at 20% 72%, rgba(186, 210, 245, 0.74) 0%, rgba(186, 210, 245, 0) 72%),
      radial-gradient(ellipse 64% 46% at 58% 52%, rgba(206, 188, 240, 0.7) 0%, rgba(206, 188, 240, 0) 73%),
      linear-gradient(180deg, var(--sand) 0%, var(--sand-dark) 100%);
  }

  /* ============================================
     PROJECTEN PAGE — HERO
  ============================================ */
  .page-hero {
    padding: calc(var(--nav-h) + 4rem) 2.5rem 3.5rem;
    max-width: 860px;
    margin: 0 auto;
  }
  .page-hero-label {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--terra);
    margin-bottom: 0.75rem;
  }
  .page-hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    font-weight: 600;
    color: var(--ink);
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin-bottom: 1rem;
  }
  .page-hero h1 em {
    font-style: italic;
    color: var(--terra);
  }
  .page-hero-desc {
    font-size: 1rem;
    color: var(--ink-mid);
    max-width: 560px;
    line-height: 1.75;
    font-weight: 300;
  }

  /* ============================================
     CV PAGE — HERO & LAYOUT
  ============================================ */
  .cv-page .page-bg {
    background:
      radial-gradient(ellipse 58% 42% at 78% 16%, rgba(233, 192, 161, 0.58) 0%, rgba(233, 192, 161, 0) 70%),
      radial-gradient(ellipse 48% 38% at 18% 20%, rgba(192, 216, 226, 0.62) 0%, rgba(192, 216, 226, 0) 72%),
      linear-gradient(180deg, #f8f3ea 0%, #efe5d7 100%);
  }

  .cv-page .page-hero {
    max-width: 1100px;
    padding-bottom: 2rem;
  }

  .cv-hero {
    position: relative;
  }

  .cv-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
  }

  .cv-download-btn,
  .cv-secondary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 48px;
    padding: 0.85rem 1.4rem;
    border-radius: 999px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform var(--transition), background var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition);
  }

  .cv-download-btn {
    border: 0;
    background: var(--terra);
    color: var(--white);
    box-shadow: 0 10px 24px rgba(196, 133, 90, 0.24);
    cursor: pointer;
  }

  .cv-download-btn:hover {
    background: var(--ink);
    transform: translateY(-2px);
  }

  .cv-secondary-link {
    background: rgba(253, 250, 245, 0.72);
    border: 1px solid var(--sand-mid);
    color: var(--ink);
  }

  .cv-secondary-link:hover {
    border-color: var(--terra);
    color: var(--terra);
    transform: translateY(-2px);
  }

  .cv-print-note {
    margin-top: 0.85rem;
    font-size: 0.88rem;
    color: var(--ink-light);
    max-width: 620px;
  }

  .cv-layout {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2.5rem 5rem;
    display: grid;
    gap: 1.5rem;
  }

  .cv-profile-card {
    background: linear-gradient(135deg, rgba(253,250,245,0.96) 0%, rgba(245,238,228,0.95) 100%);
    border: 1px solid rgba(232, 224, 208, 0.9);
    border-radius: 2rem;
    padding: 1.75rem;
    box-shadow: 0 14px 40px rgba(44,36,32,0.08);
  }

  .cv-profile-head {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
  }

  .cv-portrait {
    border-radius: 1.5rem;
    overflow: hidden;
    background: var(--sand-dark);
    aspect-ratio: 1 / 1.12;
    border: 1px solid rgba(0,0,0,0.06);
  }

  .cv-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .cv-card-kicker,
  .cv-section-label {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--terra);
    margin-bottom: 0.6rem;
  }

  .cv-name,
  .cv-section-title {
    font-family: 'Cormorant Garamond', serif;
    color: var(--ink);
    line-height: 1.1;
  }

  .cv-name {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 0.75rem;
  }

  .cv-section-title {
    font-size: 1.65rem;
    margin-bottom: 1.1rem;
  }

  .cv-summary {
    color: var(--ink-mid);
    line-height: 1.8;
    font-weight: 300;
  }

  .cv-summary--small {
    font-size: 0.95rem;
  }

  .cv-quickfacts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
    margin-top: 1.5rem;
  }

  .cv-fact {
    background: rgba(255,255,255,0.66);
    border: 1px solid rgba(232,224,208,0.95);
    border-radius: 1.2rem;
    padding: 0.95rem 1rem;
  }

  .cv-fact span {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink-light);
    margin-bottom: 0.4rem;
  }

  .cv-fact strong {
    font-size: 0.95rem;
    color: var(--ink);
    font-weight: 500;
  }

  .cv-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.9fr);
    gap: 1.5rem;
  }

  .cv-column {
    display: grid;
    gap: 1.5rem;
    align-content: start;
  }

  .cv-card {
    background: rgba(253,250,245,0.94);
    border: 1px solid rgba(232,224,208,0.9);
    border-radius: 1.6rem;
    padding: 1.5rem;
    box-shadow: 0 10px 28px rgba(44,36,32,0.06);
  }

  .cv-timeline {
    display: grid;
    gap: 1rem;
  }

  .cv-timeline-item,
  .cv-stack-item {
    padding: 1rem 1.05rem;
    border-radius: 1.15rem;
    background: linear-gradient(180deg, rgba(245,240,232,0.72) 0%, rgba(255,255,255,0.82) 100%);
    border: 1px solid rgba(232,224,208,0.8);
  }

  .cv-timeline-item h4,
  .cv-stack-item h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    color: var(--ink);
    line-height: 1.2;
    margin-bottom: 0.45rem;
  }

  .cv-timeline-item p,
  .cv-stack-item p {
    color: var(--ink-mid);
    line-height: 1.75;
    font-size: 0.92rem;
    font-weight: 300;
  }

  .cv-timeline-year {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--terra);
    margin-bottom: 0.45rem;
  }

  .cv-stack {
    display: grid;
    gap: 0.85rem;
  }

  .cv-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
  }

  .cv-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.75rem;
    border-radius: 999px;
    background: rgba(196,133,90,0.1);
    border: 1px solid rgba(196,133,90,0.18);
    color: var(--ink);
    font-size: 0.8rem;
    line-height: 1;
  }

  .cv-list,
  .cv-contact-list {
    list-style: none;
    display: grid;
    gap: 0.85rem;
  }

  .cv-list li,
  .cv-contact-list li {
    color: var(--ink-mid);
    line-height: 1.7;
    font-size: 0.92rem;
  }

  .cv-list strong,
  .cv-contact-list a {
    color: var(--ink);
    font-weight: 500;
    text-decoration: none;
  }

  .cv-contact-list i {
    width: 18px;
    color: var(--terra);
    margin-right: 0.45rem;
  }

  .cv-column--aside {
    position: relative;
  }

  .cv-section .cv-summary:last-child {
    margin-bottom: 0;
  }

  .cv-page .footer-inner {
    max-width: 1100px;
  }

  @media (max-width: 980px) {
    .cv-profile-head {
      grid-template-columns: 120px minmax(0, 1fr);
    }

    .cv-quickfacts,
    .cv-grid {
      grid-template-columns: 1fr;
    }
  }

  @media (max-width: 640px) {
    .cv-layout,
    .cv-page .page-hero {
      padding-left: 1.5rem;
      padding-right: 1.5rem;
    }

    .cv-profile-card,
    .cv-card {
      padding: 1.25rem;
      border-radius: 1.35rem;
    }

    .cv-profile-head {
      grid-template-columns: 1fr;
    }

    .cv-portrait {
      max-width: 180px;
    }
  }

  @media print {
    @page {
      margin: 12mm;
    }

    body {
      background: #fff;
      color: #111;
    }

    .cv-page .page-bg,
    .cv-page nav,
    .cv-page footer,
    .cv-page .cv-hero-actions,
    .cv-page .cv-print-note {
      display: none !important;
    }

    .cv-page .page-hero {
      padding: 0 0 1rem;
      max-width: none;
    }

    .cv-layout {
      padding: 0;
      max-width: none;
      gap: 1rem;
    }

    .cv-card,
    .cv-profile-card {
      box-shadow: none;
      break-inside: avoid;
      page-break-inside: avoid;
    }

    .cv-download-btn,
    .cv-secondary-link {
      display: none !important;
    }
  }

  /* ============================================
     PROJECTEN PAGE — TIMELINE
  ============================================ */
  .projects-timeline {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 2.5rem 6rem;
    position: relative;
  }
  .projects-timeline::before {
    content: '';
    position: absolute;
    left: 2.5rem;
    top: 0; bottom: 0;
    width: 1px;
    background: linear-gradient(to bottom, transparent, var(--sand-mid) 6%, var(--sand-mid) 94%, transparent);
  }

  .project-card-wrapper {
    position: relative;
    margin-bottom: 2.5rem;
    margin-left: 3rem;
  }
  .project-card-wrapper::before {
    content: '';
    position: absolute;
    left: -2.6rem;
    top: 2.2rem;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #dba38f;
    border: 2px solid var(--sand);
    z-index: 1;
    box-shadow: 0 0 0 3px rgba(219,163,143,0.2);
  }

  /* ============================================
     PROJECTEN PAGE — PROJECT CARD
  ============================================ */
  .project-card {
    display: grid;
    grid-template-columns: 1fr;
    background: var(--white);
    border: 1px solid var(--sand-dark);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(44,36,32,0.07);
    transition: box-shadow var(--transition), transform var(--transition);
  }
  .project-card:hover {
    box-shadow: 0 10px 40px rgba(44,36,32,0.13);
    transform: translateY(-3px);
  }
  @media (min-width: 640px) {
    .project-card { grid-template-columns: 260px 1fr; }
  }

  .project-img {
    position: relative;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  .project-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .project-img-placeholder { font-size: 4rem; opacity: 0.45; user-select: none; }
  .project-img-tag {
    position: absolute;
    top: 1rem; left: 1rem;
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.28rem 0.7rem;
    border-radius: 100px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }

  .project-content {
    padding: 2rem 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
  }
  .project-meta { display: flex; align-items: center; gap: 0.55rem; flex-wrap: wrap; }
  .project-year, .project-type {
    font-size: 0.7rem; font-weight: 500;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: var(--ink-light);
  }
  .project-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--sand-mid); }
  .project-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.65rem; font-weight: 600;
    line-height: 1.15; color: var(--ink);
  }
  .project-desc { font-size: 0.9rem; color: var(--ink-mid); line-height: 1.75; font-weight: 300; }

  .project-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.1rem; }
  .project-tag {
    font-size: 0.7rem; font-weight: 400;
    padding: 0.24rem 0.65rem;
    border-radius: 100px; border: 1px solid;
  }

  .project-reflection-toggle {
    display: inline-flex; align-items: center; gap: 0.45rem;
    font-size: 0.8rem; font-weight: 500; letter-spacing: 0.03em;
    background: none; border: none; cursor: pointer; padding: 0;
    margin-top: 0.25rem; transition: opacity 0.2s;
    font-family: 'DM Sans', sans-serif; color: #b6816d;
  }
  .project-reflection-toggle:hover { opacity: 0.65; }
  .project-reflection-toggle i { font-size: 0.65rem; transition: transform 0.3s ease; }
  .project-reflection-toggle.open i { transform: rotate(180deg); }

  .project-reflection-body {
    display: none;
    background: #f9f1ec; border-radius: 12px;
    padding: 1.25rem 1.4rem;
    font-size: 0.875rem; color: var(--ink-mid);
    line-height: 1.78; font-weight: 300;
    border-left: 3px solid #d8a08d;
    margin-top: 0.25rem;
  }
  .project-reflection-body.open { display: block; }
  .project-reflection-body p + p { margin-top: 0.75rem; }

  /* ============================================
     PROJECTEN PAGE — CARD COLOR VARIANTS
  ============================================ */
  .project-card--entrep .project-img { background: linear-gradient(135deg, #e9f3e7 0%, #d9ebd4 100%); }
  .project-card--entrep .project-img {
    padding: 1rem;
  }
  .project-gallery {
    position: relative;
  }
  .project-gallery .project-gallery-image {
    object-fit: contain;
    width: 100%;
    height: 100%;
  }
  .project-gallery-image {
    display: block;
    border-radius: 0.9rem;
    background: rgba(255,255,255,0.45);
  }
  .project-gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 999px;
    background: rgba(253,250,245,0.88);
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.4rem;
    line-height: 1;
    box-shadow: 0 4px 12px rgba(44,36,32,0.12);
    z-index: 2;
    transition: transform 0.2s ease, background 0.2s ease;
  }
  .project-gallery-btn:hover {
    background: var(--white);
    transform: translateY(-50%) scale(1.05);
  }
  .project-gallery-btn--prev { left: 0.75rem; }
  .project-gallery-btn--next { right: 0.75rem; }
  .project-gallery-counter {
    position: absolute;
    bottom: 0.8rem;
    right: 0.8rem;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    background: rgba(253,250,245,0.9);
    color: var(--ink-mid);
    font-size: 0.72rem;
    letter-spacing: 0.03em;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(44,36,32,0.08);
  }
  .project-card--entrep .project-img-tag { background: rgba(125,168,119,0.2); color: #6f9168; border: 1px solid rgba(125,168,119,0.34); }
  .project-card--entrep .project-title { color: #6f9168; }
  .project-card--entrep .project-tag { background: rgba(125,168,119,0.11); color: #6f9168; border-color: rgba(125,168,119,0.28); }
  .project-card--entrep .project-reflection-toggle { color: #6f9168; }
  .project-card--entrep .project-reflection-body { border-left-color: #6f9168; }

  .project-card--it .project-img { background: linear-gradient(135deg, #e4eef5 0%, #d6e6f2 100%); }
  .project-card--it .project-img {
    padding: 1rem;
  }
  .project-card--it .project-img-tag { background: rgba(111,154,184,0.2); color: #5d7f99; border: 1px solid rgba(111,154,184,0.34); }
  .project-card--it .project-title { color: #5d7f99; }
  .project-card--it .project-tag { background: rgba(111,154,184,0.11); color: #5d7f99; border-color: rgba(111,154,184,0.28); }
  .project-card--it .project-reflection-toggle { color: #5d7f99; }
  .project-card--it .project-reflection-body { border-left-color: #5d7f99; }

  .project-card-wrapper:nth-child(1)::before { background: #d8a08d; }
  .project-card-wrapper:nth-child(2)::before { background: #93b48d; }
  .project-card-wrapper:nth-child(3)::before { background: #88abc2; }

  /* ============================================
     PROJECTEN PAGE — GROUP CARD (Stage + Bachelorproef)
  ============================================ */
  .project-group {
    background: var(--white);
    border: 1px solid var(--sand-dark);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(44,36,32,0.07);
    transition: box-shadow var(--transition);
  }
  .project-group:hover { box-shadow: 0 8px 36px rgba(44,36,32,0.11); }

  .project-group-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #f6e8df 0%, #efd6c8 100%);
    border-bottom: 1px solid rgba(216,160,141,0.32);
  }
  .project-group-icon { font-size: 2rem; line-height: 1; opacity: 0.8; }
  .project-group-label {
    font-size: 0.7rem; font-weight: 500;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: #b6816d; margin-bottom: 0.2rem; opacity: 0.9;
  }
  .project-group-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.5rem; font-weight: 600;
    color: #b6816d; line-height: 1.15;
  }

  .project-subgrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .project-subcard {
    display: flex; flex-direction: column; gap: 0.6rem;
    padding: 1.5rem 1.75rem;
  }
  .project-subcard:first-child { border-right: 1px solid var(--sand-dark); }
  .project-subcard-icon { font-size: 1.6rem; line-height: 1; margin-bottom: 0.1rem; }
  .project-subcard-type {
    font-size: 0.68rem; font-weight: 500;
    letter-spacing: 0.1em; text-transform: uppercase;
    color: #b6816d; opacity: 0.85;
  }
  .project-subcard-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem; font-weight: 600;
    color: var(--ink); line-height: 1.2;
  }
  .project-subcard-desc {
    font-size: 0.875rem; color: var(--ink-mid);
    line-height: 1.72; font-weight: 300;
  }
  .project-group .project-tag {
    background: rgba(216,160,141,0.13);
    color: #b6816d;
    border-color: rgba(216,160,141,0.3);
  }

  /* ============================================
     PROJECTEN PAGE — RESPONSIVE ADDITIONS
  ============================================ */
  @media (max-width: 640px) {
    .projects-timeline { padding-left: 1.5rem; padding-right: 1.5rem; }
    .projects-timeline::before { left: 1.5rem; }
    .project-subgrid { grid-template-columns: 1fr; }
    .project-subcard:first-child { border-right: none; border-bottom: 1px solid var(--sand-dark); }
    .project-card-wrapper { margin-left: 1.75rem; }
    .project-card-wrapper::before { left: -1.3rem; }
    .page-hero { padding-left: 1.5rem; padding-right: 1.5rem; }
    .project-content { padding: 1.4rem 1.2rem; }
  }

  /* ============================================
     HOME PAGE
  ============================================ */
  .home-page .page-bg {
    background: linear-gradient(180deg, var(--sand) 0%, var(--sand-dark) 100%);
  }

  .home-page .hero {
    min-height: 72vh;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    padding-top: var(--nav-h);
    overflow: hidden;
  }

  .home-page .hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2.5rem 2.5rem 3rem 7rem;
    position: relative;
  }

  .home-page .hero-eyebrow {
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--terra);
    font-weight: 500;
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: homeFadeUp 0.7s ease forwards 0.2s;
  }

  .home-page .hero-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3.5rem, 5vw, 5.5rem);
    font-weight: 300;
    line-height: 1.05;
    color: var(--ink);
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: homeFadeUp 0.7s ease forwards 0.35s;
  }

  .home-page .hero-name em {
    font-style: italic;
    color: var(--terra);
  }

  .home-page .hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.2rem, 2vw, 1.6rem);
    font-weight: 300;
    color: var(--ink-mid);
    margin-bottom: 2.5rem;
    letter-spacing: 0.04em;
    line-height: 1.35;
    opacity: 0;
    animation: homeFadeUp 0.7s ease forwards 0.5s;
  }

  .home-page .hero-intro {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--ink-mid);
    max-width: 560px;
    margin-bottom: 3rem;
    font-weight: 300;
    opacity: 0;
    animation: homeFadeUp 0.7s ease forwards 0.65s;
  }

  .home-page .hero-ctas {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    opacity: 0;
    animation: homeFadeUp 0.7s ease forwards 0.8s;
  }

  .home-page .btn-primary,
  .home-page .btn-outline {
    padding: 0.85rem 2rem;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.875rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    display: inline-block;
    transition: background var(--transition), border-color var(--transition), color var(--transition), transform var(--transition);
  }

  .home-page .btn-primary {
    background: var(--terra);
    color: var(--white);
    border: none;
  }

  .home-page .btn-primary:hover {
    background: var(--ink);
    transform: translateY(-2px);
  }

  .home-page .btn-outline {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--sand-mid);
  }

  .home-page .btn-outline:hover {
    border-color: var(--terra);
    color: var(--terra);
    transform: translateY(-2px);
  }

  .home-page .hero-right {
    position: relative;
    overflow: hidden;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-left: 0;
  }

  .home-page .hero-photo-grid {
    display: none;
  }

  .home-page .photo-cell {
    overflow: hidden;
    position: relative;
  }

  .home-page .photo-cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .home-page .hero-right::after {
    content: '';
    position: absolute;
    width: min(560px, 72vw);
    height: min(560px, 72vw);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background:
      radial-gradient(circle at 35% 35%, rgba(232,196,168,0.5), rgba(232,196,168,0) 58%),
      radial-gradient(circle at 65% 65%, rgba(196,133,90,0.18), rgba(196,133,90,0) 64%);
    pointer-events: none;
  }

  .home-page .profile-wrap {
    position: relative;
    z-index: 2;
    opacity: 0;
    animation: homePhotoReveal 0.9s ease forwards 0.5s;
  }

  .home-page .profile-frame {
    width: min(420px, 58vw);
    aspect-ratio: 1;
    position: relative;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(196,133,90,0.98) 0%, rgba(180,113,73,0.92) 100%);
    padding: 0.55rem;
    box-shadow: 0 16px 42px rgba(44,36,32,0.18);
  }

  .home-page .profile-frame::before {
    display: none;
  }

  .home-page .profile-frame img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 54% center;
    border-radius: 50%;
    display: block;
    box-shadow: 0 0 0 1px rgba(253,250,245,0.34);
  }

  .home-page .profile-tag {
    display: none;
  }

  .home-page .profile-tag-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink);
  }

  .home-page .profile-tag-sub {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-light);
  }

  .home-page .scroll-hint {
    position: absolute;
    bottom: 1.25rem;
    left: 7rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 0.8rem;
    background: rgba(253,250,245,0.72);
    border: 1px solid var(--sand-dark);
    border-radius: 100px;
    box-shadow: 0 8px 24px rgba(44,36,32,0.06);
    opacity: 0;
    animation: homeFadeUp 0.7s ease forwards 1.1s;
  }

  .home-page .scroll-line {
    width: 40px;
    height: 1px;
    background: var(--terra);
    position: relative;
    overflow: hidden;
  }

  .home-page .scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--ink);
    animation: homeLineSlide 2s ease infinite 1.5s;
  }

  .home-page .scroll-label {
    font-size: 0.7rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--terra);
    font-weight: 500;
  }

  .home-page .about,
  .home-page .journey {
    padding: 6rem 5rem 8rem;
    max-width: 1400px;
    margin: 0 auto;
  }

  .home-page .about {
    max-width: none;
    background: linear-gradient(135deg, rgba(232, 224, 208, 0.92) 0%, rgba(245, 240, 232, 0.88) 100%);
  }

  .home-page .about > .reveal {
    max-width: 1400px;
    margin: 0 auto;
  }

  .home-page .section-label {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--terra);
    font-weight: 500;
    margin-bottom: 1rem;
  }

  .home-page .about-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 5rem;
    align-items: start;
  }

  .home-page .about-heading,
  .home-page .skills-heading,
  .home-page .journey-heading,
  .home-page .future-heading {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    color: var(--ink);
  }

  .home-page .about-heading {
    font-size: clamp(2.2rem, 3.5vw, 3.5rem);
    line-height: 1.15;
    margin-bottom: 2rem;
  }

  .home-page .about-heading em,
  .home-page .journey-heading em,
  .home-page .future-heading em {
    font-style: italic;
    color: var(--terra);
  }

  .home-page .about-desc {
    font-size: 0.975rem;
    line-height: 1.9;
    color: var(--ink-mid);
    font-weight: 300;
    margin-bottom: 1.5rem;
  }

  .home-page .trait-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 2.5rem;
  }

  .home-page .trait {
    padding: 0.45rem 1.1rem;
    background: var(--white);
    border: 1px solid var(--sand-dark);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    color: var(--ink-mid);
    border-radius: 100px;
    transition: border-color var(--transition), color var(--transition), background var(--transition);
  }

  .home-page .trait:hover {
    border-color: var(--terra-light);
    background: var(--terra-light);
    color: var(--ink);
  }

  .home-page .cards-area {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }

  .home-page .cards-area--spaced {
    margin-top: 2rem;
  }

  .home-page .card {
    background: var(--white);
    border: 1px solid var(--sand-dark);
    border-radius: 1rem;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition);
  }

  .home-page .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(44,36,32,0.08);
  }

  .home-page .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--terra);
    transition: height 0.4s ease;
  }

  .home-page .card:hover::before {
    height: 100%;
  }

  .home-page .card-icon {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }

  .home-page .card-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--ink);
    margin-bottom: 0.6rem;
  }

  .home-page .card-text {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--ink-mid);
    font-weight: 300;
  }

  .home-page .skills-section {
    background: var(--ink);
    padding: 7rem 5rem;
    color: var(--white);
  }

  .home-page .skills-inner {
    max-width: 1400px;
    margin: 0 auto;
  }

  .home-page .skills-section .section-label {
    color: var(--terra-light);
  }

  .home-page .skills-heading {
    font-size: clamp(2rem, 3vw, 3rem);
    color: var(--white);
    margin-bottom: 3.5rem;
    max-width: 600px;
  }

  .home-page .skills-heading em {
    font-style: italic;
    color: var(--terra-light);
  }

  /* Skills columns */
  .home-page .skills-cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
  }

  .home-page .skill-group-title {
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--ink-light);
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.75rem;
  }

  /* Skill items with bars */
  .home-page .skill-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.25rem;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .home-page .skill-name {
    font-size: 0.9rem;
    color: rgba(253, 250, 245, 0.85);
    font-weight: 300;
    line-height: 1.3;
  }

  .home-page .skill-bar-wrap {
    flex: 0 0 80px;
    height: 3px;
    background: rgba(255, 255, 255, 0.12);
    position: relative;
    overflow: hidden;
  }

  .home-page .skill-bar {
    height: 100%;
    background: var(--terra-light);
    border-radius: 0;
    transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  }

  /* Skill levels */
  .home-page .skill-bar--62 { width: 62%; }
  .home-page .skill-bar--65 { width: 65%; }
  .home-page .skill-bar--68 { width: 68%; }
  .home-page .skill-bar--70 { width: 70%; }
  .home-page .skill-bar--72 { width: 72%; }
  .home-page .skill-bar--75 { width: 75%; }
  .home-page .skill-bar--76 { width: 76%; }
  .home-page .skill-bar--78 { width: 78%; }
  .home-page .skill-bar--80 { width: 80%; }
  .home-page .skill-bar--82 { width: 82%; }
  .home-page .skill-bar--84 { width: 84%; }
  .home-page .skill-bar--85 { width: 85%; }
  .home-page .skill-bar--88 { width: 88%; }
  .home-page .skill-bar--90 { width: 90%; }

  /* Responsive */
  @media (max-width: 1100px) {
    .home-page .skills-cols {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 700px) {
    .home-page .skills-section {
      padding: 5rem 1.5rem;
    }

    .home-page .skills-cols {
      grid-template-columns: 1fr;
      gap: 2.5rem;
    }

    .home-page .skills-heading {
      margin-bottom: 2.5rem;
    }

    .home-page .skill-bar-wrap {
      flex-basis: 70px;
    }
  }

  .home-page .photo-strip {
    display: flex;
    gap: 3px;
    overflow: hidden;
    height: 300px;
  }

  .home-page .strip-img {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    transition: flex 0.5s ease;
  }

  .home-page .strip-img:hover {
    flex: 2.5;
  }

  .home-page .strip-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  .home-page .journey-heading {
    font-size: clamp(2rem, 3vw, 3rem);
    margin-bottom: 4rem;
  }

  .home-page .journey-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }

  .home-page .col-school,
  .home-page .col-work {
    background: var(--white);
    border: 1px solid var(--sand-dark);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 20px rgba(44,36,32,0.07);
    transition: box-shadow var(--transition), transform var(--transition);
  }

  .home-page .col-school:hover,
  .home-page .col-work:hover {
    box-shadow: 0 10px 40px rgba(44,36,32,0.13);
    transform: translateY(-3px);
  }

  .home-page .journey-col-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 0;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(216,160,141,0.28);
  }

  .home-page .col-school .journey-col-title {
    background: linear-gradient(135deg, #e4eef5 0%, #d6e6f2 100%);
    color: #5d7f99;
  }

  .home-page .col-work .journey-col-title {
    background: linear-gradient(135deg, #f6e8df 0%, #efd6c8 100%);
    color: #b6816d;
  }

  .home-page .journey-col-title .col-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
  }

  .home-page .col-school .col-dot {
    background: var(--ocean-dark);
  }

  .home-page .col-work .col-dot {
    background: var(--terra);
  }

  .home-page .tl-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 1.5rem 1.75rem 1.75rem;
  }

  .home-page .tl-item {
    display: grid;
    grid-template-columns: 64px 1fr;
    gap: 0 1.25rem;
    padding: 1.25rem 1.35rem;
    border: 1px solid var(--sand-dark);
    border-radius: 14px;
    background: rgba(245,240,232,0.42);
    position: relative;
    transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  }

  .home-page .tl-item:hover {
    border-color: rgba(216,160,141,0.35);
    box-shadow: 0 8px 24px rgba(44,36,32,0.08);
    transform: translateY(-2px);
  }

  .home-page .tl-item:last-child {
    border-bottom: 1px solid var(--sand-dark);
  }

  .home-page .tl-year {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.55rem;
    font-weight: 600;
    color: var(--sand-mid);
    line-height: 1.2;
    padding-top: 0.1rem;
  }

  .home-page .tl-title {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--ink);
    margin-bottom: 0.4rem;
  }

  .home-page .tl-text {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--ink-mid);
    font-weight: 300;
  }

  .home-page .tl-tag {
    display: inline-block;
    margin-top: 0.6rem;
    padding: 0.25rem 0.7rem;
    background: rgba(253,250,245,0.86);
    border: 1px solid rgba(216,160,141,0.26);
    border-radius: 100px;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ink-light);
  }

  .home-page .col-school .tl-title {
    color: #5d7f99;
  }

  .home-page .col-school .tl-tag {
    color: #5d7f99;
    border-color: rgba(111,154,184,0.28);
    background: rgba(111,154,184,0.1);
  }

  .home-page .col-work .tl-title {
    color: #b6816d;
  }

  .home-page .col-work .tl-tag {
    color: #b6816d;
    border-color: rgba(216,160,141,0.3);
    background: rgba(216,160,141,0.13);
  }

  .home-page .future {
    padding: 8rem 5rem;
    background: linear-gradient(135deg, rgba(232, 224, 208, 0.92) 0%, rgba(245, 240, 232, 0.88) 100%);
  }

  .home-page .future-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 6rem;
    align-items: center;
  }

  .home-page .future-heading {
    font-size: clamp(2.5rem, 4vw, 4rem);
    line-height: 1.1;
    margin-bottom: 2rem;
  }

  .home-page .future-text {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--ink-mid);
    font-weight: 300;
    margin-bottom: 2.5rem;
  }

  .home-page .quote-block {
    border-left: 2px solid var(--terra);
    padding: 1.5rem 2rem;
    background: var(--white);
    border-radius: 0 1rem 1rem 0;
    margin-bottom: 3rem;
  }

  .home-page .quote-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.35rem;
    font-style: italic;
    color: var(--ink);
    line-height: 1.5;
    font-weight: 300;
  }

  .home-page .future-visual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .home-page .future-card {
    background: var(--white);
    border: 1px solid var(--sand-dark);
    border-radius: 1rem;
    padding: 1.75rem;
    text-align: center;
    transition: transform var(--transition), box-shadow var(--transition);
  }

  .home-page .future-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(44,36,32,0.08);
  }

  .home-page .future-card:nth-child(1) {
    grid-column: 1 / 3;
  }

  .home-page .future-card-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
  }

  .home-page .future-card-label {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--terra);
    margin-bottom: 0.4rem;
  }

  .home-page .future-card-value {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    color: var(--ink);
  }

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

  .home-page .reveal.in-view {
    opacity: 1;
    transform: none;
  }

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

  @keyframes homePhotoReveal {
    from { opacity: 0; transform: scale(1.04); }
    to { opacity: 1; transform: scale(1); }
  }

  @keyframes homeLineSlide {
    0% { left: -100%; }
    100% { left: 100%; }
  }

  @media (max-width: 900px) {
    .home-page .hero {
      grid-template-columns: 1fr;
      min-height: auto;
    }

    .home-page .hero-right {
      height: 60vw;
      min-height: 340px;
      justify-content: center;
      padding-left: 0;
    }

    .home-page .hero-left,
    .home-page .about,
    .home-page .journey,
    .home-page .future {
      padding: 5rem 2rem;
    }

    .home-page .hero-left {
      padding-top: 3rem;
      padding-bottom: 3rem;
      padding-left: 2rem;
      padding-right: 2rem;
    }

    .home-page .about {
      padding-top: 4rem;
    }

    .home-page .about-grid,
    .home-page .future-inner,
    .home-page .journey-cols {
      grid-template-columns: 1fr;
      gap: 3rem;
    }

    .home-page .cards-area,
    .home-page .skills-cols {
      grid-template-columns: 1fr;
    }

    .home-page .skills-section {
      padding: 5rem 2rem;
    }

    .home-page .scroll-hint {
      display: none;
    }

    .home-page .profile-wrap {
      display: block;
      width: auto;
    }
  }

  @media (max-width: 600px) {
    .home-page .hero-left {
      padding-top: 3rem;
    }

    .home-page .profile-frame {
      width: min(280px, 72vw);
      aspect-ratio: 1;
    }

    .home-page .photo-strip {
      height: 220px;
    }

    .home-page .future-card:nth-child(1) {
      grid-column: auto;
    }

    .home-page .future-visual {
      grid-template-columns: 1fr;
    }
  }

  /* ============================================
     TYPOGRAPHY ALIGNMENT
  ============================================ */
  body {
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
  }

  .nav-logo,
  .hero-title,
  .section-title,
  .page-hero h1,
  .project-title,
  .project-group-title,
  .project-subcard-title,
  .footer-name,
  .home-page .hero-name,
  .home-page .about-heading,
  .home-page .skills-heading,
  .home-page .journey-heading,
  .home-page .future-heading,
  .home-page .card-title,
  .home-page .tl-year,
  .home-page .quote-text,
  .home-page .future-card-value {
    font-family: 'Cormorant Garamond', serif;
  }

  .hero-title,
  .page-hero h1,
  .home-page .hero-name {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 0;
  }

  .section-title,
  .home-page .about-heading,
  .home-page .skills-heading,
  .home-page .journey-heading {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: 0;
  }

  .home-page .future-heading {
    font-size: clamp(2.2rem, 4.5vw, 3.6rem);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: 0;
  }

  .home-page .hero-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    line-height: 1.75;
    letter-spacing: 0.02em;
  }

  .hero-desc,
  .page-hero-desc,
  .activities-intro,
  .project-desc,
  .project-subcard-desc,
  .home-page .hero-intro,
  .home-page .about-desc,
  .home-page .future-text {
    font-size: 1rem;
    line-height: 1.8;
    font-weight: 300;
  }

  .section-label,
  .hero-subtitle-top,
  .page-hero-label,
  .home-page .section-label,
  .home-page .hero-eyebrow,
  .project-year,
  .project-type,
  .project-img-tag,
  .project-tag,
  .project-group-label,
  .project-subcard-type {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.16em;
  }
