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

    :root {
      --bg: #080808;
      --bg2: #111111;
      --bg3: #181818;
      --border: rgba(255, 255, 255, 0.07);
      --text: #f5f0ea;
      --muted: rgba(245, 240, 234, 0.45);
      --accent: oklch(0.72 0.18 55);
      --accent2: oklch(0.62 0.14 200);
      --serif: 'DM Serif Display', Georgia, serif;
      --sans: 'DM Sans', system-ui, sans-serif;
      --mono: 'DM Mono', monospace;
    }

    html {
      scroll-behavior: smooth;
      scroll-snap-type: y proximity;
    }

    #hero {
      scroll-snap-align: start;
    }

    body {
      background: var(--bg);
      color: var(--text);
      font-family: var(--sans);
      font-size: 16px;
      line-height: 1.6;
      overflow-x: hidden;
      -webkit-font-smoothing: antialiased;
    }



    /* HERO */
    #hero {
      height: calc(100vh - 61px);
      min-height: 600px;
      display: grid;
      grid-template-columns: 1fr 1fr;
      grid-template-rows: 1fr;
      align-items: stretch;
      padding: 60px 0 0;
      position: relative;
      overflow: hidden;
      background-image: url('uploads/avatar-1777023920424.jpeg');
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
    }

    #hero::after {
      content: '';
      position: absolute;
      inset: 0;
      background: rgba(8, 8, 8, 0.55);
      pointer-events: none;
      z-index: 0;
    }

    #hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(ellipse 60% 80% at 70% 30%, oklch(0.72 0.18 55 / 0.06) 0%, transparent 70%);
      pointer-events: none;
      z-index: 1;
    }

    .hero-content {
      position: relative;
      z-index: 2;
      padding-left: 48px;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .hero-eyebrow {
      font-family: var(--mono);
      font-size: 11px;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 20px;
      display: flex;
      align-items: stretch;
      gap: 10px;
    }

    .hero-eyebrow::before {
      content: '';
      display: block;
      width: 24px;
      height: 1px;
      background: var(--accent);
    }

    .hero-name {
      font-family: var(--serif);
      font-size: clamp(52px, 6vw, 88px);
      line-height: 1.0;
      letter-spacing: -0.02em;
      margin-bottom: 20px;
    }

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

    .hero-title {
      font-size: 15px;
      color: var(--muted);
      letter-spacing: 0.04em;
      margin-bottom: 36px;
      text-transform: uppercase;
      font-weight: 500;
    }

    .hero-tagline {
      font-family: var(--serif);
      font-size: clamp(18px, 2vw, 24px);
      line-height: 1.45;
      color: rgba(245, 240, 234, 0.82);
      max-width: 520px;
      margin-bottom: 64px;
    }

    .hero-tagline strong {
      color: var(--accent);
      font-style: italic;
    }

    .hero-stats {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1px;
      background: var(--border);
      border: 1px solid var(--border);
      max-width: 550px;
      margin-bottom: 44px;
    }

    .hero-stat {
      background: rgba(8, 8, 8, 0.35);
      padding: 20px;
    }

    .stat-num {
      font-family: var(--serif);
      font-size: 32px;
      color: var(--accent);
      display: block;
      line-height: 1;
      margin-bottom: 4px;
    }

    .stat-label {
      font-size: 11px;
      color: var(--muted);
      text-transform: uppercase;
      letter-spacing: 0.08em;
    }

    .hero-actions {
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
    }

    .btn-primary {
      background: var(--accent);
      color: var(--bg);
      padding: 14px 28px;
      font-size: 13px;
      font-weight: 600;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      border: none;
      cursor: pointer;
      text-decoration: none;
      display: inline-block;
      transition: opacity 0.2s;
      border-radius: 2px;
    }

    .btn-primary:hover {
      opacity: 0.85;
    }

    .btn-ghost {
      background: transparent;
      color: var(--text);
      padding: 14px 28px;
      font-size: 13px;
      font-weight: 500;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      border: 1px solid var(--border);
      cursor: pointer;
      text-decoration: none;
      display: inline-block;
      transition: border-color 0.2s;
      border-radius: 2px;
    }

    .btn-ghost:hover {
      border-color: rgba(255, 255, 255, 0.25);
    }

    /* VIRTUAL IVO */
    .virtual-ivo-panel {
      position: absolute;
      top: 100px;
      right: 48px;
      width: 320px;
      background: var(--bg2);
      border: 1px solid var(--border);
      border-radius: 4px;
      overflow: hidden;
      height: 480px;
      display: flex;
      flex-direction: column;
    }

    .vi-header {
      padding: 16px 20px;
      border-bottom: 1px solid var(--border);
      display: flex;
      align-items: stretch;
      gap: 12px;
      background: var(--bg3);
    }

    .vi-avatar {
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: var(--bg3);
      overflow: hidden;
      position: relative;
      flex-shrink: 0;
    }

    .vi-avatar::after {
      content: '';
      position: absolute;
      bottom: 1px;
      right: 1px;
      width: 9px;
      height: 9px;
      border-radius: 50%;
      background: #4ade80;
      border: 2px solid var(--bg3);
    }

    .vi-label {
      flex: 1;
    }

    .vi-name {
      font-size: 14px;
      font-weight: 600;
    }

    .vi-status {
      font-size: 11px;
      color: var(--muted);
    }

    .vi-badge {
      font-family: var(--mono);
      font-size: 9px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--accent);
      border: 1px solid var(--accent);
      padding: 3px 8px;
      border-radius: 2px;
    }

    .vi-video-area {
      flex: 1;
      position: relative;
      display: flex;
      align-items: stretch;
      justify-content: stretch;
      overflow: hidden;
      background: #0d0d0d;
    }

    .vi-placeholder-visual {
      display: flex;
      flex-direction: column;
      align-items: stretch;
      gap: 20px;
      text-align: center;
      padding: 32px;
    }

    .vi-avatar-large {
      width: 96px;
      height: 96px;
      border-radius: 50%;
      background: linear-gradient(135deg, oklch(0.72 0.18 55 / 0.15), oklch(0.52 0.18 200 / 0.15));
      border: 1px solid oklch(0.72 0.18 55 / 0.3);
      display: flex;
      align-items: stretch;
      justify-content: stretch;
      font-family: var(--serif);
      font-size: 36px;
      color: var(--accent);
      position: relative;
    }

    .vi-ring {
      position: absolute;
      inset: -8px;
      border-radius: 50%;
      border: 1px solid oklch(0.72 0.18 55 / 0.2);
      animation: pulse-ring 2.5s ease-in-out infinite;
    }

    .vi-ring2 {
      position: absolute;
      inset: -18px;
      border-radius: 50%;
      border: 1px solid oklch(0.72 0.18 55 / 0.1);
      animation: pulse-ring 2.5s ease-in-out infinite 0.8s;
    }

    @keyframes pulse-ring {

      0%,
      100% {
        opacity: 0.3;
        transform: scale(1);
      }

      50% {
        opacity: 1;
        transform: scale(1.04);
      }
    }

    .vi-placeholder-title {
      font-family: var(--serif);
      font-size: 22px;
      margin-bottom: 4px;
    }

    .vi-placeholder-sub {
      font-size: 13px;
      color: var(--muted);
      max-width: 280px;
      line-height: 1.5;
    }

    .vi-footer {
      padding: 14px 16px;
      border-top: 1px solid var(--border);
      display: flex;
      gap: 8px;
      align-items: stretch;
      background: var(--bg3);
    }

    .vi-input {
      flex: 1;
      background: var(--bg2);
      border: 1px solid var(--border);
      color: var(--text);
      padding: 10px 14px;
      font-family: var(--sans);
      font-size: 13px;
      border-radius: 2px;
      outline: none;
    }

    .vi-input::placeholder {
      color: var(--muted);
    }

    .vi-input:focus {
      border-color: oklch(0.72 0.18 55 / 0.4);
    }

    .vi-send {
      background: var(--accent);
      border: none;
      color: var(--bg);
      width: 38px;
      height: 38px;
      cursor: pointer;
      border-radius: 2px;
      display: flex;
      align-items: stretch;
      justify-content: stretch;
      transition: opacity 0.2s;
      font-size: 16px;
    }

    .vi-send:hover {
      opacity: 0.85;
    }

    .vi-suggestions {
      display: flex;
      gap: 6px;
      flex-wrap: wrap;
      padding: 0 16px 12px;
      background: var(--bg3);
    }

    .vi-chip {
      font-size: 11px;
      color: var(--muted);
      border: 1px solid var(--border);
      padding: 4px 10px;
      border-radius: 2px;
      cursor: pointer;
      transition: color 0.2s, border-color 0.2s;
      white-space: nowrap;
    }

    .vi-chip:hover {
      color: var(--accent);
      border-color: oklch(0.72 0.18 55 / 0.4);
    }

    /* SECTION GENERIC */
    section {
      padding: 100px 48px 0 48px;
    }

    .section-label {
      font-family: var(--mono);
      font-size: 10px;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 16px;
      display: flex;
      align-items: stretch;
      gap: 10px;
    }

    .section-label::before {
      content: '';
      width: 20px;
      height: 1px;
      background: var(--accent);
    }

    .section-title {
      font-family: var(--serif);
      font-size: clamp(36px, 4.5vw, 64px);
      line-height: 1.08;
      letter-spacing: -0.02em;
      margin-bottom: 16px;
    }

    .section-sub {
      font-size: 16px;
      color: var(--muted);
      max-width: 600px;
      line-height: 1.7;
    }

    .section-header {
      margin-bottom: 64px;
    }

    .section-header.compact {
      margin-bottom: 32px;
    }

    .section-sub.prominent {
      color: var(--text);
      font-size: clamp(20px, 2.5vw, 28px);
      line-height: 1.4;
      max-width: none;
      font-weight: 400;
    }

    hr.divider {
      border: none;
      border-top: 1px solid var(--border);
      margin: 0 48px;
    }

    /* IMPACT BAR */
    #impact {
      padding: 0;
      background: rgba(8, 8, 8, 0.45);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      display: flex;
      flex-direction: column;
      gap: 0;
      position: absolute;
      right: 0;
      top: 50%;
      transform: translateY(-50%);
      border-left: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      z-index: 10;
      min-height: auto !important;
    }

    .impact-item a {
      color: inherit;
      text-decoration: none;
      display: contents;
    }

    .impact-item {
      flex: 1;
      min-width: 160px;
      padding: 20px 24px;
      border-bottom: 1px solid var(--border);
      display: flex;
      flex-direction: column;
      gap: 2px;
      cursor: pointer;
      transition: background 0.2s;
      position: relative;
    }

    .impact-item:hover {
      background: var(--bg3);
    }

    .impact-item::after {
      content: '↗';
      position: absolute;
      top: 12px;
      right: 12px;
      font-size: 10px;
      color: var(--muted);
      opacity: 0;
      transition: opacity 0.2s;
    }

    .impact-item:hover::after {
      opacity: 1;
    }

    .impact-item:last-child {
      border-bottom: none;
    }

    .impact-num {
      font-family: var(--serif);
      font-size: 34px;
      line-height: 1;
      background: linear-gradient(135deg, var(--text) 0%, var(--accent) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    }

    .impact-num span {
      color: var(--accent);
    }

    .impact-desc {
      font-size: 12px;
      color: var(--muted);
      line-height: 1.4;
    }

    /* PORTFOLIO */
    #portfolio {
      padding-top: 100px;
    }

    .portfolio-grid {
      display: grid;
      grid-template-columns: repeat(12, 1fr);
      gap: 1px;
      background: var(--border);
      border: 1px solid var(--border);
    }

    .proj-card {
      background: var(--bg);
      cursor: pointer;
      transition: background 0.25s;
      position: relative;
      overflow: hidden;
    }

    .proj-card:hover {
      background: var(--bg2);
    }

    .proj-card.featured {
      grid-column: span 7;
    }

    .proj-card.medium {
      grid-column: span 5;
    }

    .proj-card.half,
    .proj-card.third {
      grid-column: span 6;
    }

    .proj-card.full {
      grid-column: span 12;
    }

    .proj-media {
      width: 100%;
      background: var(--bg3);
      border-bottom: 1px solid var(--border);
      overflow: hidden;
      position: relative;
      flex-shrink: 0;
    }

    .proj-card.featured .proj-media {
      height: 560px;
    }

    .proj-card.medium .proj-media {
      height: 440px;
    }

    .proj-card.half .proj-media,
    .proj-card.third .proj-media {
      height: 400px;
    }

    .proj-card.full .proj-media {
      height: 640px;
    }

    .proj-media img,
    .proj-media video {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.5s ease;
    }

    .proj-card:hover .proj-media img,
    .proj-card:hover .proj-media video {
      transform: scale(1.03);
    }

    .proj-media-placeholder {
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
      align-items: stretch;
      justify-content: stretch;
      gap: 12px;
      color: var(--border);
      position: relative;
      overflow: hidden;
    }

    .proj-media-placeholder::before {
      content: '';
      position: absolute;
      inset: 0;
      background: repeating-linear-gradient(45deg,
          transparent,
          transparent 20px,
          rgba(255, 255, 255, 0.015) 20px,
          rgba(255, 255, 255, 0.015) 21px);
    }

    .proj-media-placeholder-label {
      font-family: var(--mono);
      font-size: 10px;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: rgba(255, 255, 255, 0.12);
      z-index: 1;
    }

    .proj-media-upload {
      position: absolute;
      inset: 0;
      display: flex;
      align-items: stretch;
      justify-content: stretch;
      opacity: 0;
      transition: opacity 0.2s;
      background: rgba(8, 8, 8, 0.7);
      z-index: 2;
    }

    .proj-card:hover .proj-media-upload {
      opacity: 1;
    }

    .proj-media-upload span {
      font-size: 11px;
      color: var(--muted);
      letter-spacing: 0.08em;
      text-transform: uppercase;
      border: 1px solid var(--border);
      padding: 8px 16px;
      border-radius: 2px;
      background: var(--bg2);
      pointer-events: none;
    }

    .proj-inner {
      padding: 32px;
      height: auto;
      display: flex;
      flex-direction: column;
      min-height: 0;
    }

    .proj-meta {
      display: flex;
      align-items: stretch;
      gap: 10px;
      margin-bottom: 24px;
    }

    .proj-tag {
      font-family: var(--mono);
      font-size: 10px;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--bg);
      background: var(--accent);
      padding: 4px 10px;
      border-radius: 4px;
      font-weight: 600;
      box-shadow: 0 2px 10px oklch(0.72 0.18 55 / 0.3);
    }

    .proj-tag.blue {
      color: oklch(0.72 0.14 200);
      border-color: oklch(0.72 0.14 200 / 0.3);
    }

    .proj-tag.green {
      color: oklch(0.75 0.14 145);
      border-color: oklch(0.75 0.14 145 / 0.3);
    }

    .proj-year {
      font-size: 11px;
      color: var(--muted);
      margin-left: auto;
    }

    .proj-title {
      font-family: var(--serif);
      font-size: clamp(22px, 2.5vw, 34px);
      line-height: 1.15;
      letter-spacing: -0.01em;
      margin-bottom: 12px;
    }

    .proj-card.medium .proj-title,
    .proj-card.half .proj-title,
    .proj-card.third .proj-title {
      font-size: clamp(18px, 2vw, 24px);
    }

    .proj-company {
      font-size: 12px;
      color: var(--muted);
      letter-spacing: 0.06em;
      text-transform: uppercase;
      margin-bottom: 16px;
      font-weight: 500;
    }

    .proj-summary {
      font-size: 14px;
      color: rgba(245, 240, 234, 0.65);
      line-height: 1.65;
      margin-bottom: 24px;
      flex: 1;
    }

    .proj-impacts {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin-bottom: 24px;
    }

    .proj-impact-pill {
      font-family: var(--mono);
      font-size: 12px;
      font-weight: 600;
      background: rgba(255, 255, 255, 0.05);
      color: var(--text);
      padding: 5px 14px;
      border-radius: 6px;
      border: 1px solid rgba(255, 255, 255, 0.15);
      backdrop-filter: blur(4px);
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .proj-card:hover .proj-impact-pill {
      border-color: var(--accent);
      background: oklch(0.72 0.18 55 / 0.1);
      color: var(--accent);
      transform: translateY(-2px);
    }

    .proj-expand {
      display: flex;
      align-items: stretch;
      gap: 6px;
      font-size: 12px;
      color: var(--muted);
      letter-spacing: 0.06em;
      text-transform: uppercase;
      font-weight: 500;
      margin-top: auto;
      transition: color 0.2s;
    }

    .proj-card:hover .proj-expand {
      color: var(--accent);
    }

    .proj-expand-arrow {
      width: 16px;
      height: 1px;
      background: currentColor;
      position: relative;
      transition: width 0.2s;
    }

    .proj-card:hover .proj-expand-arrow {
      width: 24px;
    }

    .proj-expand-arrow::after {
      content: '';
      position: absolute;
      right: 0;
      top: -3px;
      width: 7px;
      height: 7px;
      border-right: 1px solid currentColor;
      border-top: 1px solid currentColor;
      transform: rotate(45deg);
    }

    .moma-badge {
      position: absolute;
      top: 14px;
      right: 14px;
      z-index: 3;
      background: var(--bg3);
      border: 1px solid var(--border);
      padding: 6px 12px;
      font-family: var(--mono);
      font-size: 10px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: oklch(0.85 0.08 55);
      display: flex;
      align-items: stretch;
      gap: 6px;
      border-radius: 2px;
    }

    .moma-badge::before {
      content: '★';
      color: var(--accent);
    }

    /* FULLSCREEN VIDEO CARDS */
    .proj-card.fullscreen {
      grid-column: span 12 !important;
      height: 100vh;
      position: relative;
      overflow: hidden;
      scroll-snap-align: center;
      cursor: pointer;
    }

    .proj-card.fullscreen .proj-media {
      position: absolute;
      inset: 0;
      height: 100%;
      border-bottom: none;
      background: var(--bg);
    }

    .proj-card.fullscreen .proj-media video,
    .proj-card.fullscreen .proj-media img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .proj-card.fullscreen:hover .proj-media video,
    .proj-card.fullscreen:hover .proj-media img {
      transform: scale(1.03);
    }

    /* Mask overlay for fullscreen cards */
    .mask-overlay {
      position: absolute;
      inset: 0;
      z-index: 2;
      pointer-events: none;
    }

    .mask-frame {
      width: 86vw;
      max-width: 1400px;
      aspect-ratio: 1213 / 667;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      display: flex;
      align-items: flex-end;
      justify-content: stretch;
      pointer-events: none;
    }

    .mask-overlay::before {
      content: '';
      position: absolute;
      inset: 0;
      background: rgba(8, 8, 8, 0.35);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      -webkit-mask-image: linear-gradient(#fff, #fff), url("data:image/svg+xml,%3Csvg width='221' height='122' viewBox='0 0 221 122' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M183 4C183 1.79086 184.791 0 187 0H217C219.209 0 221 1.79086 221 4V14V28V99C221 101.209 219.209 103 217 103H182C179.791 103 178 104.791 178 107V118C178 120.209 176.209 122 174 122H28C25.7909 122 24 120.209 24 118V103V94V46C24 43.7909 22.2091 42 20 42H4C1.79086 42 0 40.2091 0 38V18C0 15.7909 1.79086 14 4 14H24H43H179C181.209 14 183 12.2091 183 10V4Z' fill='%23ffffff'/%3E%3C/svg%3E%0A");
      -webkit-mask-composite: source-over, destination-out;
      mask-image: linear-gradient(#fff, #fff), url("data:image/svg+xml,%3Csvg width='221' height='122' viewBox='0 0 221 122' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M183 4C183 1.79086 184.791 0 187 0H217C219.209 0 221 1.79086 221 4V14V28V99C221 101.209 219.209 103 217 103H182C179.791 103 178 104.791 178 107V118C178 120.209 176.209 122 174 122H28C25.7909 122 24 120.209 24 118V103V94V46C24 43.7909 22.2091 42 20 42H4C1.79086 42 0 40.2091 0 38V18C0 15.7909 1.79086 14 4 14H24H43H179C181.209 14 183 12.2091 183 10V4Z' fill='%23ffffff'/%3E%3C/svg%3E%0A");
      mask-composite: subtract;
      mask-repeat: no-repeat, no-repeat;
      -webkit-mask-repeat: no-repeat, no-repeat;
      mask-position: center, center;
      -webkit-mask-position: center, center;
      mask-size: cover, 86vw auto;
      -webkit-mask-size: cover, 86vw auto;
    }

    .mask-content {
      position: absolute;
      inset: 0;
      z-index: 1;
      pointer-events: none;
    }

    .mask-title {
      position: absolute;
      top: 9vh;
      left: 48px;
      font-family: var(--serif);
      font-size: clamp(35px, 6vw, 94px);
      line-height: 1.0;
      text-align: left;
      text-shadow: 0 4px 40px rgba(0, 0, 0, 0.8);
      margin: 0;
      color: var(--text);
    }

    .mask-pills {
      position: absolute;
      bottom: 2vh;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      justify-content: stretch;
      gap: 12px;
      flex-wrap: wrap;
    }

    .proj-card.fullscreen .proj-impact-pill {
      font-size: 13px;
      padding: 8px 18px;
      background: rgba(8, 8, 8, 0.45);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border: 1px solid rgba(255, 255, 255, 0.12);
    }

    .mask-cta {
      position: absolute;
      bottom: 9vh;
      right: 6vw;
      background: var(--accent);
      color: #080808;
      font-family: var(--sans);
      font-weight: 600;
      font-size: 13px;
      padding: 12px 24px;
      border-radius: 4px;
      pointer-events: auto;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      white-space: nowrap;
      cursor: pointer;
      display: inline-block;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    }

    /* Scroll-triggered entrance animation */
    @keyframes maskReveal {
      from {
        opacity: 0;
        transform: translateY(50px) scale(0.96);
      }

      to {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }

    .proj-card.fullscreen .mask-content {
      opacity: 0;
    }

    .proj-card.fullscreen.in-view .mask-content {
      animation: maskReveal 0.9s 0.15s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }

    /* Scroll snap for portfolio */
    #portfolio {
      padding-left: 0;
      padding-right: 0;
    }

    #portfolio .section-header {
      padding: 0 48px;
    }

    @media (max-width: 900px) {
      .proj-card.fullscreen {
        height: 70vh;
      }

      .proj-card.half,
      .proj-card.third {
        grid-column: span 12;
      }

      .mask-frame {
        width: 92vw;
      }

      .mask-title {
        font-size: clamp(24px, 7vw, 44px);
        top: 7vh;
        left: 24px;
      }

      .mask-cta {
        font-size: 11px;
        padding: 10px 18px;
        bottom: 10vh;
        right: 4vw;
      }

      .mask-pills {
        bottom: 2vh;
      }
    }

    /* MODAL */
    .modal-overlay {
      position: fixed;
      inset: 0;
      z-index: 200;
      background: rgba(8, 8, 8, 0.92);
      backdrop-filter: blur(8px);
      display: flex;
      align-items: stretch;
      justify-content: stretch;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s;
    }

    .modal-overlay.open {
      opacity: 1;
      pointer-events: all;
    }

    .modal {
      background: var(--bg2);
      width: 100%;
      height: 100vh;
      overflow-y: auto;
      transform: translateY(20px);
      transition: transform 0.3s;
    }

    .modal-overlay.open .modal {
      transform: translateY(0);
    }

    .modal-header {
      padding: 32px 40px 0;
      position: sticky;
      top: 0;
      background: var(--bg2);
      border-bottom: 1px solid var(--border);
      padding-bottom: 24px;
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 20px;
      z-index: 2;
    }

    .modal-close {
      background: none;
      border: none;
      color: var(--muted);
      cursor: pointer;
      font-size: 20px;
      width: 32px;
      height: 32px;
      display: flex;
      align-items: stretch;
      justify-content: stretch;
      flex-shrink: 0;
      transition: color 0.2s;
      border-radius: 2px;
    }

    .modal-close:hover {
      color: var(--text);
      background: var(--bg3);
    }

    .modal-body {
      padding: 32px 40px 40px;
    }

    .modal--wide {
      width: 100%;
    }

    .modal-body--media {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 40px;
    }

    .modal-media-col {
      display: flex;
      flex-direction: column;
      gap: 20px;
    }

    .modal-text-col {
      min-width: 0;
    }

    @media (max-width: 900px) {
      .modal-body--media {
        grid-template-columns: 1fr;
        gap: 24px;
      }

      .modal {
        height: 100vh;
      }
    }

    .modal-impacts {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
      margin: 24px 0;
    }

    .modal-impact-row {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      padding: 14px 16px;
      background: var(--bg3);
      border-radius: 2px;
    }

    .modal-impact-icon {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--accent);
      flex-shrink: 0;
      margin-top: 6px;
    }

    .modal-impact-text {
      font-size: 13px;
      line-height: 1.5;
      color: rgba(245, 240, 234, 0.8);
    }

    .modal-detail-title {
      font-family: var(--serif);
      font-size: 18px;
      margin-bottom: 12px;
      margin-top: 24px;
      color: var(--accent);
    }

    .modal-detail-text {
      font-size: 14px;
      color: var(--muted);
      line-height: 1.7;
    }

    /* CV TIMELINE */
    #cv {
      background: var(--bg);
    }

    .cv-timeline {
      position: relative;
    }

    .cv-timeline::before {
      content: '';
      position: absolute;
      left: 220px;
      top: 0;
      bottom: 0;
      width: 1px;
      background: var(--border);
    }

    .cv-item {
      display: grid;
      grid-template-columns: 220px 1fr;
      gap: 48px;
      padding: 36px 0;
      border-bottom: 1px solid var(--border);
      position: relative;
    }

    .cv-item:last-child {
      border-bottom: none;
    }

    .cv-left {
      padding-right: 24px;
      text-align: right;
    }

    .cv-period {
      font-family: var(--mono);
      font-size: 11px;
      color: var(--muted);
      letter-spacing: 0.06em;
      margin-bottom: 6px;
    }

    .cv-location {
      font-size: 12px;
      color: var(--muted);
      opacity: 0.6;
    }

    .cv-dot {
      position: absolute;
      left: 215px;
      top: 44px;
      width: 9px;
      height: 9px;
      border-radius: 50%;
      background: var(--bg3);
      border: 1px solid var(--border);
    }

    .cv-item.current .cv-dot {
      background: var(--accent);
      border-color: var(--accent);
      box-shadow: 0 0 12px oklch(0.72 0.18 55 / 0.4);
    }

    .cv-right {
      padding-left: 40px;
    }

    .cv-company {
      font-size: 11px;
      color: var(--accent);
      letter-spacing: 0.1em;
      text-transform: uppercase;
      font-weight: 500;
      margin-bottom: 4px;
    }

    .cv-role {
      font-family: var(--serif);
      font-size: 22px;
      margin-bottom: 12px;
      line-height: 1.2;
    }

    .cv-bullets {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .cv-bullets li {
      font-size: 13px;
      color: var(--muted);
      padding-left: 16px;
      position: relative;
      line-height: 1.55;
    }

    .cv-bullets li::before {
      content: '-';
      position: absolute;
      left: 0;
      color: var(--accent);
      font-size: 11px;
    }

    .cv-bullets li strong {
      color: var(--text);
    }

    .cv-expand-btn {
      background: none;
      border: none;
      cursor: pointer;
      color: var(--muted);
      font-size: 12px;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      display: flex;
      align-items: stretch;
      gap: 6px;
      margin-top: 12px;
      padding: 0;
      font-family: var(--sans);
      font-weight: 500;
      transition: color 0.2s;
    }

    .cv-expand-btn:hover {
      color: var(--accent);
    }

    .cv-extra {
      display: none;
      margin-top: 12px;
    }

    .cv-extra.open {
      display: flex;
      flex-direction: column;
      gap: 6px;
    }

    .cv-edu {
      margin-top: 56px;
    }

    .cv-edu-title {
      font-family: var(--serif);
      font-size: 28px;
      margin-bottom: 32px;
    }

    .edu-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1px;
      background: var(--border);
      border: 1px solid var(--border);
    }

    .edu-card {
      background: var(--bg);
      padding: 28px;
    }

    .edu-school {
      font-size: 12px;
      color: var(--accent);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      margin-bottom: 8px;
    }

    .edu-degree {
      font-family: var(--serif);
      font-size: 18px;
      margin-bottom: 6px;
      line-height: 1.3;
    }

    .edu-detail {
      font-size: 12px;
      color: var(--muted);
    }

    /* AI CV */
    #ai-cv {
      background: var(--bg2);
    }

    .ai-cv-wrapper {
      border: 1px solid var(--border);
      border-radius: 4px;
      overflow: hidden;
    }

    .ai-cv-header {
      background: var(--bg3);
      padding: 20px 32px;
      display: flex;
      align-items: stretch;
      gap: 16px;
      border-bottom: 1px solid var(--border);
    }

    .ai-cv-icon {
      width: 36px;
      height: 36px;
      border: 1px solid oklch(0.72 0.18 55 / 0.4);
      border-radius: 2px;
      display: flex;
      align-items: stretch;
      justify-content: stretch;
      color: var(--accent);
      font-size: 16px;
    }

    .ai-cv-label {
      flex: 1;
    }

    .ai-cv-label-title {
      font-size: 14px;
      font-weight: 600;
    }

    .ai-cv-label-sub {
      font-size: 11px;
      color: var(--muted);
    }

    .ai-cv-copy-btn {
      background: none;
      border: 1px solid var(--border);
      color: var(--muted);
      font-size: 11px;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      padding: 8px 16px;
      cursor: pointer;
      font-family: var(--sans);
      font-weight: 500;
      transition: all 0.2s;
      border-radius: 2px;
    }

    .ai-cv-copy-btn:hover {
      color: var(--text);
      border-color: rgba(255, 255, 255, 0.2);
    }

    .ai-cv-body {
      padding: 40px;
      font-family: var(--mono);
      font-size: 12.5px;
      line-height: 1.8;
      color: rgba(245, 240, 234, 0.7);
      white-space: pre-wrap;
    }

    .ai-cv-body .cv-h1 {
      color: var(--text);
      font-size: 16px;
      letter-spacing: 0.06em;
    }

    .ai-cv-body .cv-h2 {
      color: var(--accent);
      margin-top: 1.5em;
    }

    .ai-cv-body .cv-highlight {
      color: var(--text);
    }

    /* CONTACT */
    #contact {
      padding: 100px 48px;
      text-align: center;
      position: relative;
      overflow: hidden;
      display: none;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }

    #contact.active {
      display: flex;
    }

    #contact::before {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(ellipse 50% 60% at 50% 80%, oklch(0.72 0.18 55 / 0.05) 0%, transparent 70%);
      pointer-events: none;
    }

    .contact-title {
      font-family: var(--serif);
      font-size: clamp(40px, 5vw, 72px);
      line-height: 1.1;
      margin-bottom: 24px;
      position: relative;
      z-index: 2;
    }

    .contact-sub {
      font-size: 16px;
      color: var(--muted);
      margin-bottom: 48px;
      max-width: 600px;
      position: relative;
      z-index: 2;
    }

    .contact-links {
      display: flex;
      gap: 24px;
      justify-content: center;
      flex-wrap: wrap;
      position: relative;
      z-index: 2;
    }

    .contact-link {
      color: var(--muted);
      text-decoration: none;
      font-size: 13px;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      font-weight: 500;
      display: flex;
      align-items: stretch;
      gap: 8px;
      padding: 12px 24px;
      border: 1px solid var(--border);
      border-radius: 2px;
      transition: all 0.2s;
    }

    .contact-link:hover {
      color: var(--text);
      border-color: rgba(255, 255, 255, 0.2);
    }

    .contact-link.primary {
      background: var(--accent);
      color: var(--bg);
      border-color: var(--accent);
      font-weight: 600;
    }

    .contact-link.primary:hover {
      opacity: 0.85;
    }


    /* SKILLS */
    .skills-section {
      margin-top: 64px;
    }

    .skills-label {
      font-family: var(--mono);
      font-size: 10px;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 16px;
    }

    .skills-wrap {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .skill-tag {
      font-size: 12px;
      color: var(--muted);
      border: 1px solid var(--border);
      padding: 5px 12px;
      border-radius: 2px;
    }

    /* CV TOGGLE */
    .cv-toggle-bar {
      display: flex;
      gap: 0;
      border: 1px solid var(--border);
      border-radius: 4px;
      overflow: hidden;
      margin-bottom: 40px;
      max-width: 640px;
    }

    .cv-toggle-btn {
      flex: 1;
      display: flex;
      align-items: stretch;
      justify-content: stretch;
      gap: 10px;
      padding: 18px 28px;
      background: var(--bg3);
      border: none;
      cursor: pointer;
      font-family: var(--sans);
      font-size: 14px;
      font-weight: 500;
      color: var(--muted);
      transition: all 0.2s;
      border-right: 1px solid var(--border);
      position: relative;
    }

    .cv-toggle-btn:last-child {
      border-right: none;
    }

    .cv-toggle-btn.active {
      background: var(--accent);
      color: var(--bg);
    }

    .cv-toggle-btn:not(.active):hover {
      color: var(--text);
      background: var(--bg2);
    }

    .cv-toggle-icon {
      font-size: 16px;
    }

    .cv-toggle-badge {
      font-family: var(--mono);
      font-size: 10px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      padding: 3px 8px;
      border-radius: 2px;
      background: oklch(0.72 0.14 200 / 0.15);
      color: oklch(0.72 0.14 200);
      border: 1px solid oklch(0.72 0.14 200 / 0.3);
    }

    .cv-toggle-btn.active .cv-toggle-badge {
      background: rgba(8, 8, 8, 0.2);
      color: var(--bg);
      border-color: rgba(8, 8, 8, 0.2);
    }

    /* FORMATTED CV PANEL */
    .cv-formatted-panel {
      border: 1px solid var(--border);
      border-radius: 4px;
      overflow: hidden;
    }

    .cfv-header {
      background: var(--bg3);
      padding: 40px;
      border-bottom: 1px solid var(--border);
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 32px;
    }

    .cfv-name {
      font-family: var(--serif);
      font-size: 36px;
      letter-spacing: -0.01em;
      margin-bottom: 6px;
    }

    .cfv-title {
      font-size: 13px;
      color: var(--accent);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      font-weight: 500;
      margin-bottom: 8px;
    }

    .cfv-contact {
      font-size: 12px;
      color: var(--muted);
      font-family: var(--mono);
    }

    .cfv-stats {
      display: flex;
      gap: 24px;
      flex-shrink: 0;
    }

    .cfv-stat {
      text-align: center;
    }

    .cfv-stat span {
      display: block;
      font-family: var(--serif);
      font-size: 22px;
      color: var(--accent);
    }

    .cfv-stat {
      font-size: 11px;
      color: var(--muted);
      text-transform: uppercase;
      letter-spacing: 0.06em;
    }

    .cfv-summary {
      padding: 28px 40px;
      font-size: 14px;
      color: rgba(245, 240, 234, 0.7);
      line-height: 1.7;
      border-bottom: 1px solid var(--border);
      background: var(--bg2);
    }

    .cfv-section-title {
      font-family: var(--mono);
      font-size: 10px;
      letter-spacing: 0.15em;
      text-transform: uppercase;
      color: var(--accent);
      padding: 20px 40px 0;
      margin-bottom: -4px;
    }

    .cfv-job {
      padding: 24px 40px;
      border-bottom: 1px solid var(--border);
    }

    .cfv-job:last-of-type {
      border-bottom: none;
    }

    .cfv-job-header {
      display: flex;
      justify-content: space-between;
      align-items: flex-start;
      margin-bottom: 12px;
      gap: 16px;
    }

    .cfv-company {
      font-size: 11px;
      color: var(--accent);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      font-weight: 500;
      margin-bottom: 2px;
    }

    .cfv-role {
      font-family: var(--serif);
      font-size: 18px;
    }

    .cfv-period {
      font-family: var(--mono);
      font-size: 11px;
      color: var(--muted);
      white-space: nowrap;
      margin-top: 2px;
    }

    .cfv-bullets {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 5px;
    }

    .cfv-bullets li {
      font-size: 13px;
      color: var(--muted);
      padding-left: 16px;
      position: relative;
      line-height: 1.55;
    }

    .cfv-bullets li::before {
      content: '-';
      position: absolute;
      left: 0;
      color: var(--accent);
      font-size: 11px;
    }

    .cfv-bullets li strong {
      color: var(--text);
    }

    .cfv-edu-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1px;
      background: var(--border);
      padding: 0 40px 32px;
      margin-top: 12px;
    }

    .cfv-edu-item {
      padding: 16px 20px;
      background: var(--bg2);
      border-radius: 2px;
    }

    .cfv-edu-deg {
      font-size: 13px;
      font-weight: 600;
      margin-bottom: 4px;
    }

    .cfv-edu-school {
      font-size: 11px;
      color: var(--muted);
    }

    /* ROLE MATRIX */
    .role-matrix-wrap {
      border: 1px solid var(--border);
      border-radius: 4px;
      overflow: hidden;
    }

    .roles-comp-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 64px;
      padding: 0 48px;
      align-items: stretch;
    }

    .roles-comp-col {
      display: flex;
      flex-direction: column;
    }

    #roles-grid,
    #comp-chart {
      flex: 1;
      display: flex;
      flex-direction: column;
      min-height: 0;
    }

    .role-matrix-wrap,
    .comp-chart-wrap {
      flex: 1;
      display: flex;
      flex-direction: column;
      min-height: 0;
    }

    .role-matrix-note,
    .comp-footer-note {
      margin-top: auto;
    }

    .comp-chart-svg-wrap {
      flex: 1;
      min-height: 0;
      display: flex;
      align-items: stretch;
    }

    .comp-chart-svg-wrap svg {
      height: 100% !important;
      width: 100%;
    }

    @media (max-width: 1200px) {
      .roles-comp-grid {
        grid-template-columns: 1fr;
        gap: 80px;
      }
    }

    .role-matrix-header {
      display: grid;
      grid-template-columns: 180px 1fr;
      background: var(--bg3);
      border-bottom: 1px solid var(--border);
    }

    .role-matrix-header-cell {
      padding: 16px 24px;
      border-right: 1px solid var(--border);
      font-family: var(--mono);
      font-size: 10px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--muted);
    }

    .role-matrix-header-cell:last-child {
      border-right: none;
    }

    .role-matrix-header-cell.accent {
      color: var(--accent);
    }

    .role-matrix-row {
      display: grid;
      grid-template-columns: 180px 1fr;
      border-bottom: 1px solid var(--border);
    }

    .role-matrix-row:last-child {
      border-bottom: none;
    }

    .role-matrix-row-label {
      padding: 28px 24px;
      border-right: 1px solid var(--border);
      display: flex;
      flex-direction: column;
      gap: 6px;
      background: var(--bg2);
    }

    .row-label-title {
      font-family: var(--serif);
      font-size: 15px;
      line-height: 1.2;
    }

    .row-label-sub {
      font-family: var(--mono);
      font-size: 10px;
      color: var(--muted);
      letter-spacing: 0.06em;
    }

    .role-matrix-cell {
      padding: 24px;
      border-right: 1px solid var(--border);
      background: var(--bg);
      position: relative;
      transition: background 0.2s;
    }

    .role-matrix-cell:last-child {
      border-right: none;
    }

    .role-matrix-cell.strong {
      background: oklch(0.72 0.18 55 / 0.05);
    }

    .role-matrix-cell.strong:hover {
      background: oklch(0.72 0.18 55 / 0.09);
    }

    .role-matrix-cell.preferred {
      background: oklch(0.72 0.18 55 / 0.1);
    }

    .role-matrix-cell.preferred:hover {
      background: oklch(0.72 0.18 55 / 0.15);
    }

    .role-matrix-cell.weak {
      background: var(--bg);
      opacity: 0.5;
    }

    .cell-fit-label {
      font-family: var(--mono);
      font-size: 9px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      margin-bottom: 8px;
      display: flex;
      align-items: stretch;
      gap: 6px;
    }

    .cell-fit-label.fit-strong {
      color: var(--accent);
    }

    .cell-fit-label.fit-preferred {
      color: oklch(0.72 0.18 55);
    }

    .cell-fit-label.fit-weak {
      color: var(--muted);
    }

    .cell-fit-dot {
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: currentColor;
    }

    .cell-role-title {
      font-size: 13px;
      font-weight: 600;
      color: var(--text);
      margin-bottom: 8px;
      line-height: 1.3;
    }

    .cell-role-title.muted {
      color: var(--muted);
    }

    .cell-bullets {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 4px;
    }

    .cell-bullets li {
      font-size: 11px;
      color: var(--muted);
      padding-left: 12px;
      position: relative;
      line-height: 1.4;
    }

    .cell-bullets li::before {
      content: '-';
      position: absolute;
      left: 0;
      color: var(--accent);
      font-size: 9px;
      top: 1px;
    }

    .cell-preferred-badge {
      position: absolute;
      top: 12px;
      right: 12px;
      font-family: var(--mono);
      font-size: 9px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--accent);
      border: 1px solid oklch(0.72 0.18 55 / 0.3);
      padding: 2px 7px;
      border-radius: 2px;
    }

    .role-matrix-note {
      padding: 20px 24px;
      background: var(--bg3);
      border-top: 1px solid var(--border);
      font-size: 12px;
      color: var(--muted);
      font-style: italic;
      display: flex;
      align-items: stretch;
      gap: 10px;
    }

    .role-matrix-note::before {
      content: '↗';
      color: var(--accent);
      font-style: normal;
      font-size: 14px;
    }

    @media (max-width: 900px) {

      .role-matrix-header,
      .role-matrix-row {
        grid-template-columns: 1fr;
      }

      .role-matrix-header-cell:first-child,
      .role-matrix-row-label {
        display: none;
      }
    }

    /* ROLE FIT (old cards — keep for mobile fallback) */
    .roles-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1px;
      background: var(--border);
      border: 1px solid var(--border);
    }

    @media (max-width: 900px) {
      .roles-grid {
        grid-template-columns: 1fr;
      }
    }

    .role-card {
      background: var(--bg);
      padding: 36px;
      display: flex;
      flex-direction: column;
      gap: 16px;
      transition: background 0.2s;
    }

    .role-card:hover {
      background: var(--bg2);
    }

    .role-header {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
    }

    .role-icon {
      width: 44px;
      height: 44px;
      flex-shrink: 0;
      border: 1px solid var(--border);
      border-radius: 2px;
      display: flex;
      align-items: stretch;
      justify-content: stretch;
      font-size: 20px;
      background: var(--bg3);
    }

    .role-fit-score {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      gap: 4px;
    }

    .role-fit-label {
      font-family: var(--mono);
      font-size: 9px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--muted);
    }

    .role-fit-bar {
      display: flex;
      gap: 3px;
    }

    .role-fit-pip {
      width: 16px;
      height: 4px;
      border-radius: 1px;
      background: var(--border);
    }

    .role-fit-pip.filled {
      background: var(--accent);
    }

    .role-title {
      font-family: var(--serif);
      font-size: 20px;
      line-height: 1.2;
      letter-spacing: -0.01em;
    }

    .role-types {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }

    .role-type-tag {
      font-family: var(--mono);
      font-size: 10px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: var(--muted);
      border: 1px solid var(--border);
      padding: 3px 8px;
      border-radius: 2px;
    }

    .role-evidence {
      display: flex;
      flex-direction: column;
      gap: 8px;
      margin-top: 4px;
    }

    .role-evidence-item {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      font-size: 12px;
      color: rgba(245, 240, 234, 0.6);
      line-height: 1.5;
    }

    .role-evidence-dot {
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: var(--accent);
      flex-shrink: 0;
      margin-top: 5px;
      opacity: 0.6;
    }

    .role-evidence-item strong {
      color: var(--text);
      font-weight: 500;
    }

    .role-note {
      font-size: 11px;
      color: var(--muted);
      border-top: 1px solid var(--border);
      padding-top: 14px;
      margin-top: 4px;
      font-style: italic;
      line-height: 1.5;
    }

    /* COMPENSATION */
    #comp-chart {
      width: 100%;
    }

    .comp-chart-wrap {
      background: var(--bg2);
      border: 1px solid var(--border);
      border-radius: 4px;
      overflow: hidden;
    }

    .comp-chart-header {
      padding: 24px 32px;
      border-bottom: 1px solid var(--border);
      display: flex;
      align-items: stretch;
      justify-content: space-between;
      gap: 24px;
      flex-wrap: wrap;
    }

    .comp-summary-stats {
      display: flex;
      gap: 40px;
    }

    .comp-stat {
      display: flex;
      flex-direction: column;
      gap: 2px;
    }

    .comp-stat-num {
      font-family: var(--serif);
      font-size: 28px;
      color: var(--accent);
    }

    .comp-stat-label {
      font-family: var(--mono);
      font-size: 11px;
      color: var(--muted);
      letter-spacing: 0.1em;
      text-transform: uppercase;
    }

    .comp-chart-svg-wrap {
      padding: 16px 0 0;
      position: relative;
    }

    .comp-tooltip {
      position: absolute;
      background: var(--bg3);
      border: 1px solid var(--border);
      border-radius: 2px;
      padding: 8px 14px;
      font-size: 12px;
      pointer-events: none;
      opacity: 0;
      transition: opacity 0.15s;
      white-space: nowrap;
      z-index: 10;
    }

    .comp-tooltip.visible {
      opacity: 1;
    }

    .comp-tooltip-year {
      font-family: var(--mono);
      font-size: 10px;
      color: var(--muted);
      margin-bottom: 2px;
    }

    .comp-tooltip-val {
      font-family: var(--serif);
      font-size: 18px;
      color: var(--accent);
    }

    .comp-tooltip-delta {
      font-size: 11px;
      color: oklch(0.75 0.14 145);
      margin-top: 2px;
    }

    .comp-footer-note {
      padding: 14px 32px;
      border-top: 1px solid var(--border);
      font-size: 11px;
      color: var(--muted);
      font-style: italic;
    }

    /* SCROLLBAR */
    ::-webkit-scrollbar {
      width: 4px;
    }

    ::-webkit-scrollbar-track {
      background: var(--bg);
    }

    ::-webkit-scrollbar-thumb {
      background: var(--border);
      border-radius: 2px;
    }

    ::-webkit-scrollbar-thumb:hover {
      background: rgba(255, 255, 255, 0.18);
    }

    /* ═══════════════════════════════════════════════════════
     POLISH — transitions, micro-interactions, reveals
  ═══════════════════════════════════════════════════════ */

    /* Page fade-in */
    body {
      animation: bodyIn 0.45s ease both;
    }

    @keyframes bodyIn {
      from {
        opacity: 0
      }

      to {
        opacity: 1
      }
    }

    /* Nav: glass on scroll */
    nav {
      transition: background 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
    }

    nav.nav--scrolled {
      background: rgba(8, 8, 8, 0.97) !important;
      backdrop-filter: blur(20px) !important;
      -webkit-backdrop-filter: blur(20px) !important;
      box-shadow: 0 1px 0 rgba(255, 255, 255, 0.07);
    }

    /* Nav link hover underline sweep */
    .nav-links a {
      position: relative;
    }

    .nav-links a::after {
      content: '';
      position: absolute;
      bottom: -6px;
      left: 0;
      right: 0;
      height: 1px;
      background: var(--accent);
      transform: scaleX(0);
      transform-origin: left;
      transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .nav-links a:hover::after {
      transform: scaleX(1);
    }

    .nav-links a.nav--active {
      color: var(--text);
    }

    /* Hero entrance — staggered */
    .hero-eyebrow {
      animation: heroUp 0.75s 0.08s cubic-bezier(0.16, 1, 0.3, 1) both;
    }

    .hero-name {
      animation: heroUp 0.85s 0.18s cubic-bezier(0.16, 1, 0.3, 1) both;
    }

    .hero-title {
      animation: heroUp 0.75s 0.30s cubic-bezier(0.16, 1, 0.3, 1) both;
    }

    .hero-tagline {
      animation: heroUp 0.75s 0.40s cubic-bezier(0.16, 1, 0.3, 1) both;
    }

    .hero-stats {
      animation: heroUp 0.75s 0.50s cubic-bezier(0.16, 1, 0.3, 1) both;
    }

    .hero-actions {
      animation: heroUp 0.75s 0.60s cubic-bezier(0.16, 1, 0.3, 1) both;
    }

    .virtual-ivo-panel {
      animation: heroIn 0.85s 0.28s cubic-bezier(0.16, 1, 0.3, 1) both;
    }

    @keyframes heroUp {
      from {
        opacity: 0;
        transform: translateY(28px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes heroIn {
      from {
        opacity: 0;
        transform: translateX(36px);
      }

      to {
        opacity: 1;
        transform: translateX(0);
      }
    }

    /* Scroll-reveal utility */
    .sr {
      opacity: 0;
      transform: translateY(20px);
      transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    }

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

    /* Button press feedback */
    .btn-primary {
      transition: opacity 0.2s, transform 0.12s;
    }

    .btn-primary:hover {
      opacity: 0.88;
    }

    .btn-primary:active {
      transform: scale(0.97);
    }

    .btn-ghost {
      transition: border-color 0.2s, color 0.2s, transform 0.12s;
    }

    .btn-ghost:active {
      transform: scale(0.97);
    }

    .nav-cta {
      transition: opacity 0.2s, transform 0.12s;
    }

    .nav-cta:active {
      transform: scale(0.96);
    }

    /* Portfolio card — improved easing */
    .proj-card {
      transition: background 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .proj-media img,
    .proj-media video {
      transition: transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .proj-expand-arrow {
      transition: width 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .proj-expand {
      transition: color 0.25s;
    }

    /* Modal — smoother */
    .modal-overlay {
      transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .modal {
      transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s;
    }

    .modal-overlay:not(.open) .modal {
      opacity: 0;
    }

    .modal-close {
      transition: color 0.2s, background 0.2s;
    }

    /* Impact bar */
    .impact-num {
      transition: color 0.2s;
    }

    .impact-item:hover .impact-num {
      color: var(--accent);
    }

    .impact-item:hover .impact-num span {
      color: var(--text);
    }

    /* Virtual Ivo chips */
    .vi-chip {
      transition: color 0.2s, border-color 0.2s, background 0.2s, transform 0.12s;
    }

    .vi-chip:hover {
      background: oklch(0.72 0.18 55 / 0.1);
      color: var(--accent);
      border-color: oklch(0.72 0.18 55 / 0.45);
    }

    .vi-chip:active {
      transform: scale(0.95);
    }

    .vi-send {
      transition: opacity 0.2s, transform 0.12s;
    }

    .vi-send:hover {
      opacity: 0.88;
    }

    .vi-send:active {
      transform: scale(0.92);
    }

    /* Skill tags */
    .skill-tag {
      transition: border-color 0.2s, color 0.2s, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
      cursor: default;
    }

    .skill-tag:hover {
      border-color: rgba(255, 255, 255, 0.22);
      color: var(--text);
      transform: translateY(-1px);
    }

    /* Education cards */
    .edu-card {
      transition: background 0.25s, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .edu-card:hover {
      background: var(--bg2);
      transform: translateY(-2px);
    }

    /* CV expand gap animation */
    .cv-expand-btn {
      transition: color 0.2s, gap 0.2s;
    }

    .cv-expand-btn:hover {
      gap: 10px;
    }

    /* Role matrix */
    .role-matrix-cell {
      transition: background 0.25s;
    }

    /* Contact links */
    .contact-link {
      transition: color 0.2s, border-color 0.2s, background 0.2s,
        transform 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    .contact-link:hover {
      transform: translateY(-2px) !important;
    }

    .contact-link:active {
      transform: scale(0.97) !important;
    }

    /* Comp tooltip */
    .comp-tooltip {
      transition: opacity 0.15s ease;
    }

    @media (max-width: 900px) {
      #hero {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr auto;
        padding: 40px 0 0;
        gap: 40px;
        height: auto;
        min-height: calc(100vh - 61px);
      }

      .hero-content {
        padding: 0 20px;
      }

      .hero-name {
        margin-bottom: 12px;
      }

      .hero-title {
        margin-bottom: 24px;
      }

      .hero-tagline {
        margin-bottom: 32px;
      }

      section {
        padding: 0;
      }

      #impact {
        position: relative;
        top: auto;
        right: auto;
        transform: none;
        width: 100%;
        flex-direction: row;
        overflow-x: auto;
        border-left: none;
        border-bottom: none;
        border-top: 1px solid var(--border);
        padding: 0;
      }

      .impact-item {
        min-width: 120px;
        padding: 10px 16px;
        border-bottom: none;
        border-right: 1px solid var(--border);
      }

      hr.divider {
        padding-left: 20px;
        padding-right: 20px;
      }

      .cv-timeline::before {
        left: 0;
      }

      .cv-item {
        grid-template-columns: 1fr;
        gap: 4px;
      }

      .cv-left {
        text-align: left;
        padding-right: 0;
      }

      .cv-dot {
        display: none;
      }

      .cv-right {
        padding-left: 0;
      }

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

      .portfolio-grid {
        display: flex;
        flex-direction: column;
      }

      .modal-impacts {
        grid-template-columns: 1fr;
      }

      .modal {
        max-height: 90vh;
      }

      .modal-body {
        padding: 24px 20px;
      }

      .modal-header {
        padding: 20px 20px 16px;
      }



      .main-tabs {
        padding: 0 16px;
        gap: 20px;
      }

      .main-tabs-links {
        margin-left: 20px !important;
        gap: 20px !important;
      }

      /* Portfolio fixes */
      .fc-wrapper {
        min-height: auto;
        aspect-ratio: auto;
      }

      .fc-left {
        min-height: 200px;
        padding: 40px 20px;
      }

      .fc-right {
        min-height: 400px;
      }

      .fc-card-overlay {
        padding: 24px 20px;
      }

      .fc-card-desc {
        font-size: 20px;
      }
    }

    /* Carousel */
    .carousel-wrap {
      position: relative;
      overflow: hidden;
      border-radius: 4px;
      border: 1px solid var(--border);
      margin-bottom: 24px;
    }

    .carousel-track {
      display: flex;
      transition: transform 0.4s ease;
    }

    .carousel-slide {
      flex: 0 0 100%;
    }

    .carousel-img {
      width: 100%;
      height: 360px;
      object-fit: cover;
      display: block;
    }

    .carousel-btn {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(8, 8, 8, 0.7);
      border: 1px solid var(--border);
      color: var(--text);
      width: 36px;
      height: 36px;
      display: flex;
      align-items: stretch;
      justify-content: stretch;
      cursor: pointer;
      font-size: 16px;
      border-radius: 2px;
      z-index: 2;
    }

    .carousel-btn:hover {
      background: var(--accent);
      color: var(--bg);
      border-color: var(--accent);
    }

    .carousel-prev {
      left: 12px;
    }

    .carousel-next {
      right: 12px;
    }

    .carousel-dots {
      position: absolute;
      bottom: 12px;
      left: 0;
      right: 0;
      display: flex;
      justify-content: stretch;
      gap: 8px;
      z-index: 2;
    }

    .carousel-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.3);
      border: none;
      cursor: pointer;
      padding: 0;
    }

    .carousel-dot.active {
      background: var(--accent);
    }

    /* MAIN TABS */
    .main-tabs {
      position: sticky;
      top: 0;
      z-index: 90;
      background: rgba(8, 8, 8, 0.9);
      backdrop-filter: blur(16px);
      border-bottom: 1px solid var(--border);
      border-top: 1px solid var(--border);
      padding: 0 48px;
      display: flex;
      gap: 32px;
      overflow-x: auto;
      scrollbar-width: none;
    }

    .main-tab-link {
      color: var(--muted);
      font-family: var(--sans);
      font-size: 13px;
      font-weight: 500;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      padding: 20px 0;
      cursor: pointer;
      white-space: nowrap;
      text-decoration: none;
      transition: color 0.2s;
      flex-shrink: 0;
    }

    .main-tab-link:hover {
      color: var(--accent);
    }

    .main-tabs::-webkit-scrollbar {
      display: none;
    }

    .main-tab {
      background: none;
      border: none;
      color: var(--muted);
      font-family: var(--sans);
      font-size: 13px;
      font-weight: 500;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      padding: 20px 0;
      cursor: pointer;
      white-space: nowrap;
      border-bottom: 2px solid transparent;
      transition: color 0.2s, border-color 0.2s;
      flex-shrink: 0;
    }

    .main-tab:hover {
      color: var(--text);
    }

    .main-tab.active {
      color: var(--accent);
      border-bottom-color: var(--accent);
    }

    .tab-section {
      display: none;
      min-height: 100vh;
    }

    .tab-section.active {
      display: block;
    }

    /* BLOG GRID */
    .blog-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
      gap: 32px;
      margin-top: 40px;
    }

    .blog-card {
      background: var(--bg2);
      border: 1px solid var(--border);
      border-radius: 4px;
      overflow: hidden;
      cursor: pointer;
      transition: transform 0.3s, border-color 0.3s, background 0.3s;
      display: flex;
      flex-direction: column;
    }

    .blog-card:hover {
      transform: translateY(-8px);
      border-color: rgba(255, 255, 255, 0.15);
      background: var(--bg3);
    }

    .blog-card-img {
      width: 100%;
      height: 200px;
      object-fit: cover;
      background: var(--bg3);
      border-bottom: 1px solid var(--border);
    }

    .blog-card-content {
      padding: 24px;
      flex-grow: 1;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .blog-date {
      font-family: var(--mono);
      font-size: 10px;
      letter-spacing: 0.1em;
      color: var(--muted);
      text-transform: uppercase;
    }

    .blog-title {
      font-family: var(--serif);
      font-size: 22px;
      line-height: 1.2;
      color: var(--text);
    }

    .blog-excerpt {
      font-size: 14px;
      color: var(--muted);
      line-height: 1.6;
      display: -webkit-box;
      -webkit-line-clamp: 3;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }

    .blog-read-more {
      font-family: var(--mono);
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--accent);
      margin-top: auto;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .blog-read-more::after {
      content: '→';
      transition: transform 0.2s;
    }

    .blog-card:hover .blog-read-more::after {
      transform: translateX(4px);
    }

    /* CULTURAL FIT STYLES */
    .cultural-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
      gap: 48px;
      margin-top: 40px;
    }

    .cultural-point {
      margin-bottom: 32px;
    }

    .cultural-point-title {
      font-family: var(--serif);
      font-size: 20px;
      color: var(--accent);
      margin-bottom: 12px;
      display: block;
    }

    .cultural-point-text {
      font-size: 15px;
      color: rgba(245, 240, 234, 0.75);
      line-height: 1.7;
    }

    .cultural-group {
      margin-bottom: 64px;
      padding-bottom: 32px;
      border-bottom: 1px solid var(--border);
    }

    .cultural-group:last-child {
      border-bottom: none;
    }

    .cultural-group-title {
      font-family: var(--serif);
      font-size: 28px;
      color: var(--text);
      margin-bottom: 32px;
      display: flex;
      align-items: center;
      gap: 16px;
    }

    .cultural-group-title::before {
      content: '';
      width: 8px;
      height: 8px;
      background: var(--accent);
      border-radius: 50%;
    }


    /* Feature Carousel CSS */
    .fc-container {
      width: 100vw;
      margin-left: calc(-50vw + 50%);
      margin-bottom: 0;
    }

    .fc-wrapper {
      position: relative;
      overflow: hidden;
      border-radius: 0;
      display: flex;
      flex-direction: column;
      min-height: 80vh;
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
    }


    @media (min-width: 901px) {
      .fc-wrapper {
        flex-direction: row;
        min-height: 600px;
        aspect-ratio: 16/9;
      }
    }


    .fc-left {
      width: 100%;
      min-height: 100px;

      position: relative;
      z-index: 30;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      padding: 0;
      background: var(--bg2);
    }


    @media (min-width: 901px) {

      .fc-left {
        width: 25%;
        padding-left: 64px;
        padding-right: 48px;
        height: 100%;
      }
    }

    .fc-grad-top,
    .fc-grad-bot {
      position: absolute;
      top: 0;
      bottom: 0;
      width: 80px;
      height: 100%;
      z-index: 40;
    }

    .fc-grad-top {
      left: 0;
      background: linear-gradient(to right, var(--bg2), transparent);
    }

    .fc-grad-bot {
      right: 0;
      background: linear-gradient(to left, var(--bg2), transparent);
    }


    .fc-items-wrap {
      position: relative;
      width: 100%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      z-index: 20;
    }


    @media (min-width: 901px) {

      .fc-items-wrap {
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 6px;
      }
      .fc-grad-top, .fc-grad-bot {
        display: none;
      }
    }

    .fc-item-motion {
      position: absolute;
      display: flex;
      align-items: center;
      justify-content: center;
    }


    @media (min-width: 901px) {

      .fc-item-motion {
        position: relative;
        transform: none !important;
      }
    }

    .fc-btn {
      display: flex;
      align-items: center;
      width: fit-content;
      gap: 16px;
      padding: 10px 20px;

      border-radius: 40px;
      transition: all 0.7s;
      text-align: left;
      border: 1px solid rgba(255, 255, 255, 0.1);
      background: transparent;
      color: rgba(255, 255, 255, 0.6);
      cursor: pointer;
    }

    @media (min-width: 901px) {

      .fc-btn {
        padding: 6px 18px;
        border-radius: 30px;
      }
    }

    .fc-btn.active {
      background: var(--text);
      color: var(--bg);
      border-color: var(--text);
      z-index: 10;
    }

    .fc-btn:hover:not(.active) {
      border-color: rgba(255, 255, 255, 0.25);
      color: var(--text);
    }

    .fc-label {
      font-family: var(--sans);
      font-weight: 500;
      font-size: 12px;

      letter-spacing: -0.02em;
      white-space: nowrap;
      text-transform: uppercase;
    }

    @media (min-width: 901px) {

      .fc-label {
        font-size: 12px;
      }
    }

    .fc-right {
      flex: 1;
      position: relative;
      background: rgba(0, 0, 0, 0.3);
      display: flex;
      align-items: stretch;
      justify-content: stretch;
      padding: 0;
      overflow: hidden;
      border-top: 1px solid var(--border);
    }


    @media (min-width: 901px) {

      .fc-right {
        border-top: none;
        border-left: 1px solid var(--border);
        height: 100%;
      }
    }

    .fc-cards {
      position: relative;
      width: 100%;
      height: 100%;
      display: flex;
      align-items: stretch;
      justify-content: stretch;
    }

    .fc-card {
      position: absolute;
      inset: 0;
      border-radius: 0;
      overflow: hidden;
      border: none;
      background: var(--bg);
      transform-origin: center;
    }

    .fc-img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: all 0.7s;

    }

    .fc-card-overlay {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      padding: 24px;
      padding-bottom: 80px;
      background: linear-gradient(to bottom, rgba(8, 8, 8, 0.9) 0%, rgba(8, 8, 8, 0.5) 40%, transparent 100%);
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      pointer-events: none;
      z-index: 50;
    }

    @media (min-width: 901px) {
      .fc-card-overlay {
        padding: 48px;
        padding-bottom: 140px;
      }
    }




    .fc-card-badge {
      background: var(--accent);
      color: var(--bg);
      padding: 8px 16px;
      border-radius: 4px;
      font-size: 11px;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.25em;
      width: fit-content;
      margin-bottom: 20px;
      box-shadow: 0 4px 20px oklch(0.72 0.18 55 / 0.4);
      animation: badgePulse 3s infinite ease-in-out;
    }

    @keyframes badgePulse {

      0%,
      100% {
        box-shadow: 0 4px 20px oklch(0.72 0.18 55 / 0.4);
      }

      50% {
        box-shadow: 0 4px 30px oklch(0.72 0.18 55 / 0.6);
      }
    }

    .fc-card-desc {
      color: #fff;
      font-family: var(--serif);
      font-size: 24px;
      line-height: 1.2;
    }

    .fc-live {
      position: absolute;
      top: 32px;
      left: 32px;
      display: flex;
      align-items: stretch;
      gap: 12px;
      opacity: 0;
      transition: opacity 0.3s;
    }

    .fc-live.active {
      opacity: 1;
    }

    .fc-impact-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .fc-impact-tag {
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.2);
      color: #fff;
      padding: 8px 16px;
      border-radius: 8px;
      font-size: 14px;
      font-weight: 500;
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      display: flex;
      align-items: center;
      gap: 8px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    }

    .fc-impact-tag::before {
      content: '✦';
      color: var(--accent);
      font-size: 12px;
    }

    .fc-live-dot {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #fff;
      box-shadow: 0 0 10px #fff;
    }

    .fc-live span {
      color: rgba(255, 255, 255, 0.8);
      font-size: 10px;
      text-transform: uppercase;
      letter-spacing: 0.3em;
      font-family: var(--mono);
    }

    .fc-see-more {
      margin-top: 32px;
      background: var(--text);
      color: var(--bg);
      padding: 12px 24px;
      border-radius: 4px;
      font-size: 13px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      width: fit-content;
      cursor: pointer;
      pointer-events: auto;
      transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
      border: none;
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .fc-see-more:hover {
      background: var(--accent);
      transform: translateY(-2px);
      box-shadow: 0 8px 25px oklch(0.72 0.18 55 / 0.4);
    }

    .fc-see-more::after {
      content: '→';
      font-size: 16px;
      transition: transform 0.3s;
    }

    .fc-see-more:hover::after {
      transform: translateX(4px);
    }

    .proj-see-more {
      margin-top: auto;
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 12px;
      color: var(--muted);
      text-transform: uppercase;
      letter-spacing: 0.06em;
      font-weight: 500;
      transition: color 0.2s;
    }

    .proj-card:hover .proj-see-more {
      color: var(--accent);
    }

    .proj-see-more::after {
      content: '';
      width: 16px;
      height: 1px;
      background: currentColor;
      transition: width 0.2s;
    }

    .proj-card:hover .proj-see-more::after {
      width: 24px;
    }
/* MARKDOWN STYLES FOR CULTURAL FIT */
.markdown-body {
  column-count: 2;
  column-gap: 48px;
}

.markdown-body h3 {
  column-span: all;
  font-family: var(--serif);
  font-size: 28px;
  margin-bottom: 24px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
  margin-top: 0;
}

.markdown-body h3:first-child {
  border-top: none;
  padding-top: 0;
}

.markdown-body h4 {
  font-size: 14px;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 8px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  break-after: avoid;
  margin-top: 0;
}

.markdown-body p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 32px;
  break-inside: avoid;
}

.markdown-body strong {
  color: var(--text);
}

@media (max-width: 900px) {
  .markdown-body {
    column-count: 1;
  }
}
