  .font-serif-custom { font-family: 'Instrument Serif', serif; }
  ::-webkit-scrollbar { width: 0; background: transparent; }

  :root {
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out-circ: cubic-bezier(0.85, 0, 0.15, 1);
    --ease-lux: cubic-bezier(0.7, 0, 0.3, 1);
    --ease-emph: cubic-bezier(.7, 0, .2, 1);
  }

  /* ========= GRAIN OVERLAY (analog warmth, whole page) ========= */
  #grain {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: 0.045;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 160px 160px;
  }

  /* ========= PAGE PROGRESS (thin bar on top) ========= */
  .page-progress {
    position: fixed;
    inset: 0 0 auto;
    height: 2px;
    z-index: 9500;
    pointer-events: none;
  }
  .page-progress span {
    display: block;
    width: 0;
    height: 100%;
    background: linear-gradient(90deg, #c34a20, #111);
    box-shadow: 0 0 16px rgba(195, 74, 32, 0.35);
    transition: width 0.1s linear;
  }

  /* ========= LOADER ========= */
  .loader {
    position: fixed;
    inset: 0;
    z-index: 9000;
    background: #f2f2ef;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 40px;
    transition: transform 1.1s var(--ease-emph), opacity .6s .4s;
  }
  .loader.is-done {
    transform: translateY(-101%);
  }
  .loader__inner {
    width: 100%;
    max-width: 1400px;
    display: grid;
    gap: 14px;
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #111;
  }
  .loader__row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
  }
  .loader__row--sub {
    color: #888;
    font-size: 11px;
  }
  .loader__label {
    font-weight: 500;
  }
  .loader__count {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-size: 64px;
    letter-spacing: -0.04em;
    text-transform: none;
    line-height: 1;
  }
  @media (max-width: 640px) {
    .loader__count { font-size: 42px; }
  }
  .loader__count .pct {
    font-size: 28px;
    color: #888;
    margin-left: 4px;
  }
  .loader__bar {
    height: 1px;
    background: rgba(17, 17, 17, 0.15);
    position: relative;
    overflow: hidden;
  }
  .loader__fill {
    position: absolute;
    inset: 0;
    width: 0;
    background: #111;
    transition: width 0.1s linear;
  }

  @keyframes slideUp { 0% { transform: translateY(120%); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } }
  @keyframes fadeIn { 0% { opacity: 0; } 100% { opacity: 1; } }
  @keyframes scaleIn { 0% { transform: scale(1.1); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
  @keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

  .clip-hidden { clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%); }

  .animate-text-up { animation: slideUp 1.2s var(--ease-in-out-circ) forwards; }
  .animate-fade-in { animation: fadeIn 2s ease forwards; opacity: 0; }
  .animate-image-reveal { animation: scaleIn 1.5s var(--ease-out-expo) forwards; opacity: 0; }

  .fade-up {
    opacity: 0;
    transform: translateY(3rem);
    transition: opacity 1.2s var(--ease-out-expo), transform 1.2s var(--ease-out-expo);
  }
  .fade-up.is-visible { opacity: 1; transform: translateY(0); }
  .delay-100 { transition-delay: 0.1s; animation-delay: 0.1s; }
  .delay-200 { transition-delay: 0.2s; animation-delay: 0.2s; }
  .delay-300 { transition-delay: 0.3s; animation-delay: 0.3s; }
  .delay-400 { transition-delay: 0.4s; animation-delay: 0.4s; }

  .reveal-word {
    opacity: 0.15;
    transition: opacity 0.4s var(--ease-out-expo);
  }
  .reveal-word.active { opacity: 1; }

  .project-row { border-bottom: 1px solid #d4d4d0; }
  .project-row:first-child { border-top: 1px solid #d4d4d0; }
  .project-image-wrap {
    clip-path: inset(100% 0 0 0);
    transition: clip-path 0.8s var(--ease-in-out-circ);
  }
  .project-row:hover .project-image-wrap { clip-path: inset(0 0 0 0); }
  .project-row:hover .project-title { transform: translateX(1rem); color: #f2f2ef; }
  .project-row:hover .project-meta { color: #f2f2ef; }
  .project-row:hover { background-color: #111111; }

  .bg-mesh {
    background-image:
      radial-gradient(at 40% 20%, rgba(200, 200, 190, 0.4) 0, transparent 50%),
      radial-gradient(at 80% 0%, rgba(220, 220, 215, 0.4) 0, transparent 50%),
      radial-gradient(at 0% 50%, rgba(200, 200, 195, 0.4) 0, transparent 50%);
  }

  .marquee-container {
    display: flex;
    width: 200%;
    animation: marquee 20s linear infinite;
  }

  .transition-transform-lux { transition: transform 1s var(--ease-lux); }

  /* Project detail section card — fallback visual when no image */
  .detail-img-fallback {
    background: linear-gradient(135deg, #e5e5e2 0%, #d4d4d0 100%);
    display: flex; align-items: center; justify-content: center;
    font-family: 'Instrument Serif', serif; font-style: italic;
    color: #111; opacity: 0.6; padding: 2rem; text-align: center;
    line-height: 1.1;
  }

  /* Traffic-light chip for the Planbarometer section */
  .chip-green::before, .chip-yellow::before, .chip-red::before {
    content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%;
    margin-right: 6px; vertical-align: middle;
  }
  .chip-green::before { background: #3f5c3c; }
  .chip-yellow::before { background: #c49a2a; }
  .chip-red::before { background: #a53b1f; }

  /* Whitespace in tool body preserved */
  .tool-body { white-space: pre-wrap; }

  /* ========= SCROLL NAV (appears after hero) ========= */
  .scroll-nav {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-100%);
    transition:
      opacity .6s var(--ease-out-expo),
      transform .7s var(--ease-in-out-circ),
      backdrop-filter .4s ease;
  }
  .scroll-nav.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  /* Translucent paper bar with subtle blur */
  .scroll-nav-bar {
    background: rgba(242, 242, 239, 0.72);
    backdrop-filter: blur(18px) saturate(1.1);
    -webkit-backdrop-filter: blur(18px) saturate(1.1);
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
    transition: background .5s var(--ease-out-expo), border-color .5s var(--ease-out-expo);
  }

  /* When menu is open, dissolve the bar so only the hamburger floats */
  body.menu-open .scroll-nav-bar {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom-color: transparent;
  }
  body.menu-open .scroll-nav-bar > a,
  body.menu-open .scroll-nav-bar #navTime {
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s ease;
  }

  /* ========= HAMBURGER (two-line, animated) ========= */
  .hamburger {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    transition: transform .5s var(--ease-out-expo), background .4s ease;
  }
  .hamburger:hover {
    transform: scale(1.05);
  }
  .hamburger svg {
    width: 28px;
    height: 28px;
    overflow: visible;
    transition: transform .55s cubic-bezier(.165,.84,.44,1);
  }
  .hamburger .line {
    stroke: #f2f2ef;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    transition:
      stroke-dasharray .6s cubic-bezier(.4,0,.2,1),
      stroke-dashoffset .6s cubic-bezier(.4,0,.2,1),
      stroke .4s ease;
  }
  /* Trick: one path draws BOTH the top and bottom bars via a 12-unit dash pattern.
     When open, the dasharray extends so the same path traces a full X diagonal. */
  .hamburger .line-top-bottom { stroke-dasharray: 12 63; }

  .hamburger.is-open {
    background: #f2f2ef;
  }
  .hamburger.is-open svg { transform: rotate(-45deg); }
  .hamburger.is-open .line { stroke: #111; }
  .hamburger.is-open .line-top-bottom {
    stroke-dasharray: 20 300;
    stroke-dashoffset: -32.42;
  }

  /* ========= MENU OVERLAY ========= */
  .menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 90;
    background: #111;
    color: #f2f2ef;
    pointer-events: none;
    clip-path: circle(0% at calc(100% - 60px) 60px);
    transition: clip-path 1s var(--ease-in-out-circ);
  }
  .menu-overlay.is-open {
    pointer-events: auto;
    clip-path: circle(150% at calc(100% - 60px) 60px);
  }

  .menu-item {
    display: block;
    overflow: hidden;
  }
  .menu-item > span {
    display: inline-block;
    transform: translateY(110%);
    transition: transform .9s var(--ease-in-out-circ);
  }
  .menu-overlay.is-open .menu-item > span {
    transform: translateY(0);
  }
  .menu-overlay.is-open .menu-item:nth-child(1) > span { transition-delay: .35s; }
  .menu-overlay.is-open .menu-item:nth-child(2) > span { transition-delay: .45s; }
  .menu-overlay.is-open .menu-item:nth-child(3) > span { transition-delay: .55s; }
  .menu-overlay.is-open .menu-item:nth-child(4) > span { transition-delay: .65s; }

  .menu-link {
    position: relative;
    font-size: clamp(3.5rem, 11vw, 10rem);
    letter-spacing: -0.03em;
    line-height: 0.9;
    font-weight: 500;
    transition: color .4s ease, padding-left .5s var(--ease-out-expo);
    display: inline-flex;
    align-items: baseline;
    gap: 0.5rem;
  }
  /* Subtle accent bar that wipes in from the left on hover — the one rust touch */
  .menu-link::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0.15em;
    height: 2px;
    width: 0;
    background: #c34a20;
    transition: width .55s var(--ease-out-expo);
    transform-origin: left center;
  }
  .menu-link:hover {
    padding-left: 1rem;
  }
  .menu-link:hover::before {
    width: calc(100% - 1rem);
  }
  .menu-link .menu-num {
    font-size: 0.25em;
    font-family: 'Manrope', sans-serif;
    letter-spacing: 0.2em;
    color: #555;
    font-weight: 400;
    transition: color .4s ease;
  }
  .menu-link:hover .menu-num { color: #aaa; }

  .menu-footer {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease .8s, transform .6s var(--ease-out-expo) .8s;
  }
  .menu-overlay.is-open .menu-footer {
    opacity: 1;
    transform: translateY(0);
  }

  /* ========= HERO NAV — hide text links on mobile, only show AK. + hamburger handled separately ========= */
  @media (max-width: 768px) {
    .hero-nav-links { display: none; }
  }

  /* ========= PROJECT ROW POLISH ========= */
  .project-row {
    transition: background-color .6s var(--ease-in-out-circ);
  }
  .project-title, .project-meta {
    transition: transform .6s var(--ease-in-out-circ), color .5s ease;
  }
  /* Small arrow indicator that slides in on hover */
  .project-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 0;
    overflow: hidden;
    opacity: 0;
    margin-left: 0;
    transition: width .5s var(--ease-out-expo), opacity .4s ease, margin-left .5s var(--ease-out-expo);
  }
  .project-row:hover .project-arrow {
    width: 2rem;
    opacity: 1;
    margin-left: 1rem;
  }

  /* ========= MOBILE TYPO POLISH ========= */
  @media (max-width: 768px) {
    .project-row { padding-top: 2rem; padding-bottom: 2rem; }
    .project-title { font-size: 2.25rem !important; line-height: 0.95 !important; }
    .project-meta { font-size: 0.65rem !important; }
  }

  /* ========= CURSOR FOR PROJECT ROWS ========= */
  .project-row { cursor: none; }
  @media (max-width: 768px) { .project-row { cursor: pointer; } }

  .cursor-follow {
    position: fixed;
    top: 0; left: 0;
    width: 120px; height: 120px;
    border-radius: 999px;
    background: #f2f2ef;
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 500;
    pointer-events: none;
    z-index: 70;
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.3);
    transition: opacity .3s ease, transform .5s var(--ease-out-expo);
    mix-blend-mode: difference;
  }
  .cursor-follow.is-active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  @media (max-width: 768px) { .cursor-follow { display: none; } }

  /* ========= FOOTER LINE ========= */
  .scroll-nav-bar .ak-mark {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #111;
  }
  .scroll-nav-bar .ak-mark-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: #c34a20;
    animation: pulse 2.4s infinite ease-in-out;
  }
  @keyframes pulse { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .3; transform: scale(1.4); } }

  /* ========= HIDE SCROLLBARS ON DETAIL ========= */
  #project-detail::-webkit-scrollbar { width: 0; }

  /* ========= IMPROVED MARQUEE ========= */
  .marquee-container {
    animation: marquee 30s linear infinite;
  }

  /* ========= FADE HERO NAV WHEN SCROLL NAV VISIBLE ========= */
  .hero-nav {
    transition: opacity .4s var(--ease-out-expo);
  }
  .hero-nav.is-hidden {
    opacity: 0;
    pointer-events: none;
  }

  /* ========= MOBILE HERO REFINEMENTS ========= */
  @media (max-width: 768px) {
    .hero-badge {
      position: absolute;
      top: 5rem;
      left: 1.5rem;
      padding-bottom: 0 !important;
    }
    .hero-title-1 { font-size: clamp(3.5rem, 18vw, 5.5rem) !important; }
    .hero-title-2 { font-size: clamp(3.5rem, 18vw, 5.5rem) !important; }
    .hero-title-3 { font-size: clamp(3.5rem, 18vw, 5.5rem) !important; }
  }

  /* ========= MARQUEE MOBILE ========= */
  @media (max-width: 768px) {
    .marquee-container .text-5xl { font-size: 2.75rem; gap: 2rem; }
  }

  /* ========= BETTER FOCUS STYLES ========= */
  a:focus-visible, button:focus-visible {
    outline: 2px solid #c34a20;
    outline-offset: 4px;
    border-radius: 4px;
  }

  /* ========= LEARNING MOBILE POLISH ========= */
  @media (max-width: 768px) {
    #learning .grid > span:first-child {
      display: inline-block;
      margin-bottom: 0;
      font-size: 2rem;
    }
    #learning .text-5xl {
      font-size: 2.75rem !important;
    }
  }

  /* ========= PROJECT DETAIL MOBILE ========= */
  @media (max-width: 768px) {
    #detailContent .text-6xl,
    #detailContent [class*="text-[8vw]"] {
      font-size: 3rem !important;
    }
    #detailContent .aspect-\[21\/9\] {
      aspect-ratio: 16/10;
    }
  }

  /* ========= ABOUT SECTION MOBILE ========= */
  @media (max-width: 768px) {
    #about .text-3xl { font-size: 1.75rem !important; line-height: 1.15 !important; }
    #about h2.scroll-reveal-text { font-size: 1.75rem !important; line-height: 1.2 !important; }
  }

  /* ========= REDUCED MOTION ========= */
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
      scroll-behavior: auto !important;
    }
    .page-progress span { transition: none !important; }
    .loader__fill { transition: none !important; }
    .marquee-container { animation: none !important; }
    .hero__orb, .hero-badge span, .ak-mark-dot { animation: none !important; }
  }

  /* ============================================================
     NEW HERO (editorial)
     ============================================================ */
  .hero-v2 {
    position: relative;
    min-height: 100vh;
    padding: 40px 56px 56px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  /* Intro line: dash + hi + wave + this is Abdi */
  .hero-intro {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 16px;
    letter-spacing: 0.01em;
    color: #2a2a2a;
    margin-top: auto;
    margin-bottom: 22px;
    font-weight: 400;
  }
  .hero-intro .dash {
    width: 48px;
    height: 1px;
    background: #2a2a2a;
    flex-shrink: 0;
  }
  .wave-svg {
    flex-shrink: 0;
    display: inline-block;
    animation: hero-wave 2.6s ease-in-out infinite;
    transform-origin: 50% 85%;
  }
  @keyframes hero-wave {
    0%, 55%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(18deg); }
    20% { transform: rotate(-10deg); }
    30% { transform: rotate(16deg); }
    40% { transform: rotate(-6deg); }
    50% { transform: rotate(10deg); }
  }

  /* Big headline */
  .hero-headline {
    line-height: 0.88;
    text-align: center;
    cursor: default;
    transition: letter-spacing 0.6s ease;
  }
  .hero-headline .line {
    font-size: clamp(48px, 9vw, 128px);
    font-weight: 500;
    letter-spacing: -0.04em;
    color: #0a0a0a;
    display: inline-block;
    line-height: 0.92;
    transition: color 0.5s ease;
  }
  .hero-headline .line-script {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-weight: 400;
    font-size: clamp(40px, 7.5vw, 108px);
    color: #9a9a92;
    display: inline-block;
    margin: 0 20px;
    transform: translateY(6px);
    letter-spacing: -0.01em;
    transition: color 0.5s ease, transform 0.5s ease, font-weight 0.5s ease;
    position: relative;
  }
  .hero-headline .line-script::after {
    content: '';
    position: absolute;
    left: 6%;
    right: 6%;
    bottom: 0.18em;
    height: 2px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.55s cubic-bezier(0.65, 0, 0.35, 1);
  }
  .hero-headline .line-block {
    display: block;
    margin-top: -6px;
  }
  .hero-headline:hover .line-script {
    color: #1a1a1a;
    font-weight: 500;
    transform: translateY(6px) translateX(8px) skewX(-6deg);
  }
  .hero-headline:hover .line-script::after {
    transform: scaleX(1);
  }
  .hero-headline:hover .inline-mark circle,
  .hero-headline:hover .inline-mark line {
    stroke: #0a0a0a;
  }
  .inline-mark circle,
  .inline-mark line {
    transition: stroke 0.5s ease;
  }
  .inline-mark {
    display: inline-block;
    vertical-align: middle;
    margin: 0 10px 0 14px;
    transform: translateY(-8px);
  }

  /* Hero tagline */
  .hero-tagline {
    margin-top: auto;
    padding-top: 32px;
    padding-bottom: 48px;
    max-width: 640px;
    font-size: 18px;
    line-height: 1.55;
    color: #2a2a2a;
    letter-spacing: 0.005em;
    font-weight: 400;
  }
  .hero-tagline em {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    color: #1a1a1a;
    font-weight: 400;
  }

  /* Scroll indicator (right-side vertical rail) */
  .scroll-rail {
    position: absolute;
    right: 32px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    user-select: none;
    transition: opacity 0.25s ease;
    background: transparent;
    border: 0;
    padding: 0;
    color: inherit;
  }
  .scroll-rail:hover { opacity: 0.55; }
  .scroll-rail .rail-label {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 10px;
    letter-spacing: 0.32em;
    color: #3a3a3a;
    font-weight: 500;
    text-transform: uppercase;
  }
  .scroll-rail .rail-track {
    width: 1px;
    height: 110px;
    background: rgba(42, 42, 42, 0.18);
    position: relative;
    overflow: hidden;
  }
  .scroll-rail .rail-track::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 36px;
    background: #1a1a1a;
    animation: rail-drop 2.4s cubic-bezier(0.65, 0, 0.35, 1) infinite;
  }
  @keyframes rail-drop {
    0%   { transform: translateY(-40px); opacity: 0; }
    15%  { opacity: 1; }
    85%  { opacity: 1; }
    100% { transform: translateY(110px); opacity: 0; }
  }
  .scroll-rail .rail-arrow {
    width: 10px;
    height: 10px;
    border-right: 1.2px solid #1a1a1a;
    border-bottom: 1.2px solid #1a1a1a;
    transform: rotate(45deg);
    animation: rail-nudge 2.4s ease-in-out infinite;
  }
  @keyframes rail-nudge {
    0%, 100% { transform: rotate(45deg) translate(0, 0); }
    50%      { transform: rotate(45deg) translate(3px, 3px); }
  }

  @media (max-width: 900px) {
    .hero-v2 { padding: 28px 24px; }
    .hero-headline .line-script { margin: 0 12px; }
    .scroll-rail { right: 16px; }
    .scroll-rail .rail-track { height: 80px; }
  }
  @media (max-width: 560px) {
    .hero-intro { font-size: 13px; gap: 10px; }
    .hero-intro .dash { width: 28px; }
    .hero-headline .line-script { display: block; margin: 4px 0; }
    .hero-tagline { font-size: 15px; max-width: 85%; }
    .scroll-rail { display: none; }
  }

  /* ============================================================
     NEW ABOUT (editorial chapters)
     ============================================================ */
  .about-v2 {
    padding: 64px 72px 120px;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
  }
  .about-v2 .about-label {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 11px;
    letter-spacing: 0.32em;
    color: #5a5a52;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 72px;
  }
  .about-v2 .about-label::before {
    content: '';
    width: 28px;
    height: 1px;
    background: #5a5a52;
  }
  .about-v2 .chapters {
    display: flex;
    flex-direction: column;
    gap: 80px;
  }
  .about-v2 .chapter {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 48px;
    align-items: start;
  }
  .about-v2 .chapter-num {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-size: 16px;
    color: #9a9a92;
    letter-spacing: 0.1em;
    padding-top: 18px;
    position: relative;
  }
  .about-v2 .chapter-num::after {
    content: '';
    position: absolute;
    left: 0;
    top: 48px;
    width: 48px;
    height: 1px;
    background: rgba(42, 42, 42, 0.25);
  }
  .about-v2 .chapter-kicker {
    display: block;
    font-size: 11px;
    letter-spacing: 0.32em;
    color: #5a5a52;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 24px;
  }
  .about-v2 .chapter-body {
    font-size: clamp(24px, 2.8vw, 40px);
    line-height: 1.35;
    letter-spacing: -0.015em;
    color: #0a0a0a;
    font-weight: 400;
  }

  /* Inline glyphs */
  .about-v2 .g {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    margin: 0 8px;
    color: #1a1a1a;
    transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1), color 0.4s ease;
  }
  .about-v2 .g svg { display: block; }
  .about-v2 .g.g-warm  { color: #A07052; }
  .about-v2 .g.g-green { color: #3B6D11; }
  .about-v2 .g.g-blue  { color: #185FA5; }
  .about-v2 .hoverable:hover .g {
    transform: rotate(-12deg) scale(1.15);
  }

  /* Typography accents inside about */
  .about-v2 .italic {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-weight: 400;
    color: #1a1a1a;
  }
  .about-v2 .italic-bold {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-weight: 600;
    color: #0a0a0a;
  }
  .about-v2 .bold-inter {
    font-weight: 600;
    color: #0a0a0a;
  }
  .about-v2 .underlined {
    position: relative;
    display: inline-block;
    color: #1a1a1a;
    transition: color 0.4s ease;
  }
  .about-v2 .underlined::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.08em;
    height: 2px;
    background: currentColor;
    transform: scaleX(1);
    transform-origin: left center;
    transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
  }
  .about-v2 .underlined:hover::after {
    transform: scaleX(0);
    transform-origin: right center;
  }
  .about-v2 .circled {
    position: relative;
    display: inline-block;
    padding: 0 12px;
    color: #0a0a0a;
    cursor: default;
  }
  .about-v2 .circled::before {
    content: '';
    position: absolute;
    inset: -6px -4px -4px -4px;
    border: 1.5px solid #1a1a1a;
    border-radius: 50%;
    transform: rotate(-3deg);
    pointer-events: none;
    transition: transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
  }
  .about-v2 .circled:hover::before {
    transform: rotate(2deg) scale(1.05);
  }
  .about-v2 .reveal {
    position: relative;
    display: inline-block;
    cursor: default;
  }
  .about-v2 .reveal::after {
    content: attr(data-reveal);
    position: absolute;
    left: 0;
    top: 108%;
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-weight: 400;
    font-size: 0.4em;
    color: #5a5a52;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(-6px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
    letter-spacing: 0;
  }
  .about-v2 .reveal:hover::after {
    opacity: 1;
    transform: translateY(0);
  }
  .about-v2 .fade {
    color: #b5b5ad;
    transition: color 0.8s ease;
  }
  .about-v2 .chapter:hover .fade {
    color: #2a2a2a;
  }

  /* Ornament between chapters */
  .about-v2 .ornament {
    display: flex;
    justify-content: center;
    margin: 24px 0;
  }
  .about-v2 .ornament-dot {
    width: 10px;
    height: 10px;
    background: #0a0a0a;
    display: inline-block;
  }

  /* CTA */
  .about-v2 .cta-wrap {
    margin-top: 88px;
    padding-top: 48px;
    border-top: 1px solid rgba(42, 42, 42, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
  }
  .about-v2 .cta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 20px 40px;
    background: #0a0a0a;
    color: #ECEAE3;
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: 0.24em;
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.3s ease, padding 0.3s ease;
    cursor: pointer;
    border: none;
  }
  .about-v2 .cta svg { transition: transform 0.3s ease; }
  .about-v2 .cta:hover {
    background: #1a1a1a;
    padding-right: 48px;
  }
  .about-v2 .cta:hover svg { transform: translate(4px, -4px); }
  .about-v2 .cta-meta {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-size: 15px;
    color: #5a5a52;
  }

  /* Rich scroll-reveal — word-by-word fade while preserving inline elements */
  .scroll-reveal-rich .reveal-unit {
    opacity: 0.15;
    transition: opacity 0.4s var(--ease-out-expo);
  }
  .scroll-reveal-rich .reveal-unit.active { opacity: 1; }

  @media (max-width: 900px) {
    .about-v2 { padding: 40px 28px 80px; }
    .about-v2 .chapter {
      grid-template-columns: 1fr;
      gap: 16px;
    }
    .about-v2 .chapter-num::after { display: none; }
  }
  @media (max-width: 768px) {
    .about-v2 .chapter-body { font-size: 1.5rem !important; line-height: 1.3 !important; }
  }

  /* ============================================================
     LIGHTBOX
     ============================================================ */
  .lightbox {
    position: fixed;
    inset: 0;
    z-index: 9800;
    background: rgba(10, 10, 10, 0.94);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    opacity: 0;
    transition: opacity 0.25s ease;
    cursor: zoom-out;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
  }
  .lightbox.is-open {
    display: flex;
    opacity: 1;
  }
  .lightbox-figure {
    max-width: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    cursor: default;
    margin: 0;
    animation: lightbox-in 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .lightbox-figure img {
    max-width: min(1400px, 95vw);
    max-height: 85vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 2px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.45);
    display: block;
  }
  .lightbox-caption {
    color: #d4d4d0;
    font-size: 13px;
    letter-spacing: 0.02em;
    text-align: center;
    max-width: 720px;
    line-height: 1.5;
  }
  .lightbox-caption:empty { display: none; }
  .lightbox-close {
    position: fixed;
    top: 24px;
    right: 24px;
    background: transparent;
    border: 0;
    color: #f2f2ef;
    cursor: pointer;
    padding: 8px;
    opacity: 0.85;
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 2;
  }
  .lightbox-close:hover {
    opacity: 1;
    transform: rotate(90deg);
  }
  @keyframes lightbox-in {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
  }

  /* Image becomes clickable when zoomable */
  .zoomable { cursor: zoom-in; }

  @media (max-width: 768px) {
    .lightbox { padding: 60px 12px; }
    .lightbox-figure img { max-height: 75vh; }
    .lightbox-close { top: 12px; right: 12px; }
  }
