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

    :root {
      --bg: oklch(0.14 0.005 260);
      --fg: oklch(0.96 0.012 85);
      --fg-10: oklch(0.96 0.012 85 / 0.10);
      --fg-20: oklch(0.96 0.012 85 / 0.20);
      --fg-30: oklch(0.96 0.012 85 / 0.30);
      --fg-35: oklch(0.96 0.012 85 / 0.35);
      --fg-40: oklch(0.96 0.012 85 / 0.40);
      --fg-50: oklch(0.96 0.012 85 / 0.50);
      --fg-55: oklch(0.96 0.012 85 / 0.55);
      --fg-60: oklch(0.96 0.012 85 / 0.60);
      --fg-65: oklch(0.96 0.012 85 / 0.65);
      --fg-70: oklch(0.96 0.012 85 / 0.70);
      --fg-75: oklch(0.96 0.012 85 / 0.75);
      --fg-85: oklch(0.96 0.012 85 / 0.85);
      --font-serif: "Fraunces", "Cormorant Garamond", Georgia, serif;
      --font-sans: "Inter Tight", "Inter", system-ui, sans-serif;
      --halo-scale: 1;
      --name-opacity: 1;
    }

    html,
    body {
      width: 100%;
      min-height: 100dvh;
      overflow-x: hidden;
      overscroll-behavior-y: auto;
      background: radial-gradient(ellipse at center, hsl(0 0% 8%) 0%, hsl(0 0% 4%) 100%);
      color: var(--fg);
      font-family: var(--font-sans);
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      text-rendering: geometricPrecision;
      font-synthesis: none;
      -webkit-overflow-scrolling: touch;
    }

    html::-webkit-scrollbar {
      width: 6px;
    }

    html::-webkit-scrollbar-track {
      background: hsl(0 0% 4%);
    }

    html::-webkit-scrollbar-thumb {
      background: oklch(0.96 0.012 85 / 0.06);
      border-radius: 100px;
      transition: background 0.3s ease;
    }

    html::-webkit-scrollbar-thumb:hover {
      background: oklch(0.96 0.012 85 / 0.16);
    }

    html {
      overflow-y: scroll;
      scrollbar-width: thin;
      scrollbar-color: oklch(0.96 0.012 85 / 0.08) transparent;
    }

    body {
      min-height: 100dvh;
    }

    /* ─── POST FX LAYERS ─── */
    #grain {
      pointer-events: none;
      position: fixed;
      inset: -50%;
      width: 200%;
      height: 200%;
      z-index: 5;
      opacity: 0.04;
      mix-blend-mode: overlay;
      background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.9 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
      animation: grain-shift 7s steps(6) infinite;
    }

    @keyframes grain-shift {
      0% {
        transform: translate(0, 0);
      }

      20% {
        transform: translate(-3%, 2%);
      }

      40% {
        transform: translate(2%, -2%);
      }

      60% {
        transform: translate(-2%, 3%);
      }

      80% {
        transform: translate(3%, -1%);
      }

      100% {
        transform: translate(0, 0);
      }
    }

    #canvas-container {
      position: fixed;
      inset: 0;
      z-index: 0;
      background: radial-gradient(ellipse at center, hsl(0 0% 8%) 0%, hsl(0 0% 4%) 100%);
    }

    #name-halo {
      position: fixed;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%) scale(var(--halo-scale));
      transform-origin: center;
      width: 640px;
      height: 400px;
      z-index: 2;
      pointer-events: none;
      background: radial-gradient(ellipse at center, oklch(0.94 0.015 85 / 0.18) 0%, oklch(0.90 0.012 85 / 0.09) 35%, transparent 72%);
      filter: blur(55px);
      opacity: 0;
      animation: halo-in 3.5s cubic-bezier(0.2, 0.8, 0.2, 1) 0.4s forwards;
    }

    @keyframes halo-in {
      0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(calc(0.3 * var(--halo-scale)));
      }

      100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(var(--halo-scale));
      }
    }

    #vignette {
      pointer-events: none;
      position: fixed;
      inset: 0;
      z-index: 1;
      background: radial-gradient(ellipse 90% 70% at 50% 50%, transparent 35%, rgba(0, 0, 0, 0.45) 80%, rgba(0, 0, 0, 0.85) 100%);
    }

    /* ─── SCROLL PROGRESS ─── */
    #scroll-progress {
      position: fixed;
      top: 0;
      left: 0;
      width: 0%;
      height: 1.5px;
      z-index: 200;
      background: linear-gradient(90deg, oklch(0.96 0.012 85 / 0.0), oklch(0.96 0.012 85 / 0.5), oklch(0.96 0.012 85 / 0.0));
      opacity: 0;
      transition: opacity 0.6s ease;
      pointer-events: none;
    }

    #scroll-progress.visible {
      opacity: 1;
    }

    /* ─── HERO SECTION ─── */
    #root {
      position: relative;
      width: 100%;
      height: 100vh;
      height: 100dvh;
      overflow: hidden;
    }

    #ui {
      position: absolute;
      inset: 0;
      z-index: 10;
      pointer-events: none;
      display: flex;
      flex-direction: column;
      opacity: 0;
      transition: opacity 0.8s ease;
    }

    #ui.visible {
      opacity: 1;
    }

    header {
      width: 100%;
      padding: 2rem 3.5rem 0;
      display: flex;
      justify-content: space-between;
      align-items: baseline;
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 100;
      opacity: 0;
      transition: opacity 0.8s ease;
    }

    header.visible {
      opacity: 1;
    }

    .date-mark {
      font-family: ui-monospace, "SF Mono", Menlo, monospace;
      font-size: 10.5px;
      font-weight: 500;
      letter-spacing: 0.28em;
      color: var(--fg-75);
      pointer-events: auto;
      user-select: text;
      cursor: text;
      margin-left: 1.6rem;
      line-height: 1;
      display: inline-flex;
      align-items: baseline;
      position: relative;
      top: -7px;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
    }

    nav {
      display: flex;
      align-items: baseline;
      gap: 0;
      pointer-events: auto;
    }

    .nav-sep {
      display: inline-block;
      width: 0;
      height: 0;
      margin: 0 0.9rem;
      flex-shrink: 0;
    }

    .nav-link {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 7px 16px;
      font-family: var(--font-sans);
      font-size: 11.5px;
      font-weight: 400;
      letter-spacing: 0.025em;
      color: var(--fg-65);
      text-decoration: none;
      transition: color 0.2s ease;
    }

    .nav-link:hover {
      color: var(--fg);
    }

    .nav-link-pill {
      display: inline-flex;
      flex-direction: row;
      align-items: baseline;
      gap: 6px;
      padding: 0;
      font-family: ui-monospace, "SF Mono", Menlo, monospace;
      font-size: 10.5px;
      font-weight: 400;
      font-style: normal;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      line-height: 1;
      color: var(--fg-65);
      text-decoration: none;
      transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      position: relative;
    }

    .nav-link-pill .nav-text {
      position: relative;
    }

    .nav-link-pill .nav-text::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      width: 0;
      height: 1px;
      background: linear-gradient(90deg, var(--fg), oklch(0.96 0.012 85 / 0.85));
      transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-link-pill:hover {
      color: var(--fg);
    }

    .nav-link-pill:hover .nav-text::after {
      width: 100%;
    }

    main {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      padding: 0 1.5rem;
    }

    .name-block {
      display: flex;
      flex-direction: column;
      align-items: center;
      pointer-events: auto;
      will-change: opacity, transform;
      transform: translate3d(0, 0, 0);
    }

    .eyebrow {
      font-family: var(--font-sans);
      font-size: 10px;
      font-weight: 400;
      letter-spacing: 0.40em;
      text-transform: uppercase;
      color: oklch(0.98 0.012 85 / 0.78);
      margin-bottom: 1.8rem;
      display: flex;
      align-items: center;
      gap: 0.9rem;
    }

    .eyebrow-dot {
      width: 3px;
      height: 3px;
      border-radius: 50%;
      background: oklch(0.96 0.012 85 / 0.22);
      flex-shrink: 0;
    }

    h1 {
      font-family: var(--font-serif);
      font-optical-sizing: auto;
      font-weight: 350;
      line-height: 0.95;
      letter-spacing: -0.01em;
      margin: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 0.08em;
      pointer-events: none;
      user-select: none;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      text-rendering: optimizeLegibility;
    }

    .name-line-1 {
      display: block;
      font-size: clamp(1.6rem, 4vw, 3.2rem);
      font-style: normal;
      background: linear-gradient(180deg, #ffffff 30%, #f2f2f7 70%, oklch(0.92 0.005 240) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      line-height: 0.95;
      white-space: nowrap;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      opacity: 0;
      filter: blur(8px);
      letter-spacing: 0.40em;
      transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.1s,
        filter 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.1s,
        letter-spacing 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.1s;
    }

    #ui.visible .name-line-1 {
      opacity: 1;
      filter: blur(0px);
      letter-spacing: -0.01em;
    }

    .name-line-2 {
      display: block;
      font-size: clamp(1.8rem, 4.5vw, 3.6rem);
      font-style: italic;
      font-weight: 320;
      background: linear-gradient(180deg, oklch(0.96 0.015 85) 15%, oklch(0.88 0.025 80) 70%, oklch(0.78 0.03 75) 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      line-height: 0.95;
      white-space: nowrap;
      -webkit-font-smoothing: antialiased;
      -moz-osx-font-smoothing: grayscale;
      opacity: 0;
      filter: blur(8px);
      letter-spacing: 0.40em;
      transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.25s,
        filter 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.25s,
        letter-spacing 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.25s;
    }

    #ui.visible .name-line-2 {
      opacity: 1;
      filter: blur(0px);
      letter-spacing: -0.015em;
    }

    .name-word {
      display: inline-block;
      white-space: nowrap;
    }

    .cap-first {
      font-size: 1.15em;
      display: inline;
      vertical-align: baseline;
      font-variation-settings: "opsz" 72, "wght" 300;
      transition: font-variation-settings 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.1s, transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    }

    #ui.visible .cap-first {
      font-variation-settings: "opsz" 72, "wght" 390;
    }

    .cap-rest {
      display: inline;
      font-size: 0.82em;
      letter-spacing: 0.06em;
      vertical-align: baseline;
      font-variation-settings: "opsz" 72, "wght" 300;
      transition: font-variation-settings 1.2s cubic-bezier(0.22, 1, 0.36, 1) 0.1s, transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    }

    #ui.visible .cap-rest {
      font-variation-settings: "opsz" 72, "wght" 360;
    }

    .name-word:hover .cap-first {
      font-variation-settings: "opsz" 72, "wght" 440 !important;
      transform: translateY(-1px);
    }

    .name-word:hover .cap-rest {
      font-variation-settings: "opsz" 72, "wght" 400 !important;
      transform: translateY(-1px);
    }

    #ui.animation-complete .name-line-1 {
      transition: none !important;
      animation: none !important;
      filter: none !important;
      opacity: 1 !important;
      letter-spacing: -0.01em !important;
    }

    #ui.animation-complete .name-line-2 {
      transition: none !important;
      animation: none !important;
      filter: none !important;
      opacity: 1 !important;
      letter-spacing: -0.015em !important;
    }

    #ui.animation-complete .cap-first {
      transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1) !important;
      animation: none !important;
      font-variation-settings: "opsz" 72, "wght" 390 !important;
    }

    #ui.animation-complete .cap-rest {
      transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1) !important;
      animation: none !important;
      font-variation-settings: "opsz" 72, "wght" 360 !important;
    }

    #ui.animation-complete .name-word:hover .cap-first {
      font-variation-settings: "opsz" 72, "wght" 440 !important;
      transform: translateY(-1px) !important;
    }

    #ui.animation-complete .name-word:hover .cap-rest {
      font-variation-settings: "opsz" 72, "wght" 400 !important;
      transform: translateY(-1px) !important;
    }

    .subtext {
      margin-top: 2rem;
      max-width: 420px;
      font-family: var(--font-sans);
      font-size: 10px;
      font-weight: 400;
      line-height: 1.8;
      letter-spacing: 0.34em;
      text-transform: uppercase;
      color: var(--fg-75);
      pointer-events: auto;
    }

    .subtext-mid {
      font-size: 0.97em;
      letter-spacing: 0.32em;
    }

    .cta-group {
      margin-top: 2.2rem;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 1.75rem;
      pointer-events: auto;
    }

    .cta-primary {
      display: inline-flex;
      align-items: center;
      gap: 7px;
      padding: 7px 16px 7px 18px;
      border-radius: 100px;
      font-family: var(--font-sans);
      font-size: 9.5px;
      font-weight: 500;
      letter-spacing: 0.01em;
      color: var(--bg);
      background: var(--fg);
      text-decoration: none;
      position: relative;
      overflow: hidden;
      transition: background 0.2s ease, box-shadow 0.3s ease, transform 0.18s ease;
      box-shadow: 0 1px 0 oklch(1 0 0 / 0.12) inset, 0 8px 32px oklch(0.96 0.012 85 / 0.14), 0 2px 8px oklch(0 0 0 / 0.22);
    }

    .cta-primary::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, oklch(1 0 0 / 0.08) 0%, transparent 60%);
      pointer-events: none;
    }

    .cta-primary:hover {
      background: oklch(0.92 0.010 85);
      box-shadow: 0 1px 0 oklch(1 0 0 / 0.15) inset, 0 12px 40px oklch(0.96 0.012 85 / 0.20), 0 4px 12px oklch(0 0 0 / 0.28);
      transform: translateY(-1px);
    }

    .cta-primary:hover .cta-arrow {
      transform: translate(2px, -2px);
    }

    .cta-arrow {
      transition: transform 0.2s ease;
      flex-shrink: 0;
    }

    .cta-secondary {
      font-family: var(--font-sans);
      font-size: 11.5px;
      font-weight: 400;
      letter-spacing: 0.01em;
      color: oklch(0.96 0.012 85 / 0.48);
      text-decoration: none;
      text-underline-offset: 5px;
      text-decoration: underline;
      text-decoration-color: oklch(0.96 0.012 85 / 0.18);
      transition: color 0.2s ease, text-decoration-color 0.2s ease;
    }

    .cta-secondary:hover {
      color: var(--fg);
      text-decoration-color: oklch(0.96 0.012 85 / 0.50);
    }

    /* ─── SCROLL INDICATOR ─── */
    .scroll-indicator {
      position: absolute;
      bottom: 2rem;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
      pointer-events: none;
      opacity: 0;
      transition: opacity 1.2s ease 0.6s;
    }

    #ui.visible .scroll-indicator {
      opacity: 1;
    }

    .scroll-text {
      font-family: var(--font-sans);
      font-size: 8.5px;
      font-weight: 400;
      letter-spacing: 0.32em;
      text-transform: uppercase;
      color: var(--fg-35);
      white-space: nowrap;
      text-align: center;
      text-indent: 0.32em;
    }

    .scroll-line-wrap {
      width: 1px;
      height: 18px;
      background: oklch(0.96 0.012 85 / 0.1);
      position: relative;
      overflow: hidden;
    }

    .scroll-line-active {
      position: absolute;
      top: -100%;
      left: 0;
      width: 100%;
      height: 100%;
      background: linear-gradient(180deg, transparent, oklch(0.96 0.012 85 / 0.5), transparent);
      animation: scroll-slide 2.2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
    }

    @keyframes scroll-slide {
      0% {
        top: -100%;
      }

      80%,
      100% {
        top: 100%;
      }
    }

    /* ─── CONTENT SECTIONS ─── */
    .content-wrapper {
      position: relative;
      z-index: 4;
      background: linear-gradient(180deg, hsl(0 0% 5% / 0.85) 0%, hsl(0 0% 4% / 0.95) 200px, hsl(0 0% 3%) 400px);
    }

    .section {
      position: relative;
      z-index: 4;
      padding: 8rem 4rem;
      max-width: 1200px;
      margin: 0 auto;
    }

    .section[data-reveal] {
      opacity: 0;
      transform: translateY(16px);
      transition: opacity 0.65s cubic-bezier(.2, .8, .2, 1), transform 0.65s cubic-bezier(.2, .8, .2, 1);
      content-visibility: auto;
      contain-intrinsic-size: 1px 800px;
    }

    .section[data-reveal].in-view {
      opacity: 1;
      transform: none;
    }

    .section-head {
      display: flex;
      justify-content: space-between;
      align-items: flex-end;
      margin-bottom: 3.5rem;
      border-bottom: 1px solid oklch(0.96 0.012 85 / 0.07);
      padding-bottom: 1.75rem;
      gap: 2rem;
    }

    .section-eyebrow {
      font-family: var(--font-sans);
      font-size: 10px;
      font-weight: 400;
      letter-spacing: 0.40em;
      text-transform: uppercase;
      color: oklch(0.96 0.012 85 / 0.55);
      margin-bottom: 0.875rem;
      display: inline-flex;
      align-items: center;
      gap: .9rem;
    }

    .section-eyebrow::before {
      content: "";
      width: 20px;
      height: 1px;
      background: linear-gradient(90deg, oklch(0.96 0.012 85 / 0.45), transparent);
    }

    .section-title {
      font-family: var(--font-serif);
      font-weight: 300;
      font-size: clamp(1.8rem, 3.6vw, 2.8rem);
      line-height: 1.05;
      letter-spacing: -.02em;
      color: #f0f0f2;
    }

    .section-title em {
      font-style: italic;
      color: #e8e4de;
    }

    .section-counter {
      font-family: ui-monospace, "SF Mono", Menlo, monospace;
      font-size: 10.5px;
      letter-spacing: 0.16em;
      color: var(--fg-40);
      white-space: nowrap;
      padding-bottom: 0.25rem;
    }

    /* ─── GLASS CARDS ─── */
    .glass {
      position: relative;
      background:
        linear-gradient(180deg, oklch(0.96 0.012 85 / 0.02), oklch(0.96 0.012 85 / 0.0)),
        linear-gradient(180deg, oklch(0.08 0.003 260 / 0.90), oklch(0.03 0.001 260 / 0.96));
      border: 1px solid oklch(0.96 0.012 85 / 0.13);
      border-radius: 18px;
      backdrop-filter: blur(12px) saturate(140%);
      -webkit-backdrop-filter: blur(12px) saturate(140%);
      overflow: hidden;
      box-shadow:
        0 1px 0 oklch(1 0 0 / 0.06) inset,
        0 0 0 1px oklch(0.96 0.012 85 / 0.06) inset,
        -1.5px -1.5px 3.5px oklch(0.6 0.16 340 / 0.16),
        1.5px 1.5px 3.5px oklch(0.65 0.12 190 / 0.16),
        0 16px 36px oklch(0 0 0 / 0.52);
      transition: border-color 0.4s ease, transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s ease;
    }

    .glass::before {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: inherit;
      pointer-events: none;
      background: linear-gradient(135deg, oklch(1 0 0 / 0.07) 0%, transparent 40%);
    }

    .glass::after {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: inherit;
      pointer-events: none;
      box-shadow: 0 1px 0 oklch(1 0 0 / 0.04) inset;
    }

    .glass:hover {
      border-color: oklch(0.96 0.012 85 / 0.26);
      transform: translateY(-4px);
      box-shadow:
        0 1px 0 oklch(1 0 0 / 0.08) inset,
        0 0 0 1px oklch(0.96 0.012 85 / 0.08) inset,
        -2px -2px 5px oklch(0.6 0.16 340 / 0.22),
        2px 2px 5px oklch(0.65 0.12 190 / 0.22),
        0 32px 80px oklch(0 0 0 / 0.68);
    }

    .glint {
      position: absolute;
      top: 0;
      left: 0;
      width: 60px;
      height: 60px;
      pointer-events: none;
      opacity: 0.7;
      background: radial-gradient(circle at top left, oklch(0.96 0.012 85 / 0.25), transparent 70%);
    }

    /* ─── BENTO GRID ─── */
    .bento {
      display: grid;
      grid-template-columns: repeat(12, 1fr);
      gap: 1.25rem;
    }

    .bento-card {
      padding: 1.6rem 1.6rem 1.4rem;
      display: flex;
      flex-direction: column;
      min-height: 280px;
      grid-column: span 6;
    }

    .bento-card.featured {
      grid-column: span 6;
      min-height: 280px;
      padding: 1.6rem 1.6rem 1.4rem;
    }

    .bento-card.medium {
      grid-column: span 6;
    }

    .bento-card.third {
      grid-column: span 6;
    }

    .bento-card.half {
      grid-column: span 6;
    }

    .bento-card.full {
      grid-column: span 6;
    }

    /* Card entrance stagger */
    .section[data-reveal] .bento-card,
    .section[data-reveal] .work-card {
      opacity: 0;
      transform: translateY(16px);
      transition: opacity 0.55s cubic-bezier(.2, .8, .2, 1) var(--stagger, 0s),
        transform 0.55s cubic-bezier(.2, .8, .2, 1) var(--stagger, 0s);
    }

    .section[data-reveal].in-view .bento-card,
    .section[data-reveal].in-view .work-card {
      opacity: 1;
      transform: none;
    }

    .bento-meta {
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-family: ui-monospace, "SF Mono", Menlo, monospace;
      font-size: 9.5px;
      letter-spacing: 0.14em;
      color: var(--fg-35);
      padding-bottom: 0.875rem;
      margin-bottom: 1rem;
      border-bottom: 1px solid oklch(0.96 0.012 85 / 0.06);
    }

    .bento-meta .num {
      color: var(--fg-60);
    }

    .bento-company {
      font-family: var(--font-serif);
      font-weight: 300;
      font-size: clamp(1.3rem, 2vw, 1.7rem);
      line-height: 1.05;
      letter-spacing: -.015em;
      color: var(--fg);
      margin-bottom: .5rem;
    }

    .bento-card.featured .bento-company {
      font-size: clamp(1.3rem, 2vw, 1.7rem);
      font-style: italic;
    }

    .bento-role {
      font-family: var(--font-sans);
      font-size: 10px;
      letter-spacing: 0.20em;
      text-transform: uppercase;
      color: var(--fg-60);
      margin-bottom: 0.875rem;
    }

    .bento-period {
      font-family: ui-monospace, "SF Mono", Menlo, monospace;
      font-size: 10px;
      color: var(--fg-50);
      letter-spacing: 0.04em;
      margin-bottom: 1.1rem;
    }

    .bento-bullet {
      font-family: var(--font-sans);
      font-size: 12.5px;
      line-height: 1.65;
      color: var(--fg-70);
      margin-top: 0.5rem;
    }

    .bento-bullet+.bento-bullet {
      margin-top: .5rem;
    }

    /* ─── WORK CARDS ─── */
    .work-bento {
      display: grid;
      grid-template-columns: repeat(12, 1fr);
      grid-auto-rows: min-content;
      align-items: start;
      gap: 1.25rem;
      isolation: isolate;
    }

    .work-card {
      display: flex;
      flex-direction: column;
      padding: 1.8rem;
      min-height: 320px;
      text-decoration: none;
      color: inherit;
      grid-column: span 6;
    }

    .work-card.featured {
      grid-column: span 6;
      min-height: 320px;
      padding: 1.8rem;
    }

    .work-card.standard {
      grid-column: span 6;
    }

    .work-card.half {
      grid-column: span 6;
    }

    .work-card.full {
      grid-column: span 12;
      min-height: 280px;
    }

    .work-tagline-2 {
      font-family: ui-monospace, "SF Mono", Menlo, monospace;
      font-size: 9.5px;
      letter-spacing: 0.20em;
      text-transform: uppercase;
      color: var(--fg-50);
      margin-bottom: 1.2rem;
      display: flex;
      align-items: center;
      gap: .6rem;
    }

    .work-tagline-2::before {
      content: "";
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: oklch(0.92 0.012 85);
      box-shadow: 0 0 10px oklch(0.96 0.012 85 / 0.5);
    }

    .work-name-2 {
      font-family: var(--font-serif);
      font-weight: 300;
      font-style: italic;
      font-size: clamp(1.5rem, 2.6vw, 2.1rem);
      line-height: 1.05;
      letter-spacing: -.02em;
      color: var(--fg);
      margin-bottom: 0.875rem;
    }

    .work-card.featured .work-name-2 {
      font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    }

    .work-blurb-2 {
      font-family: var(--font-sans);
      font-size: 12.5px;
      line-height: 1.65;
      color: var(--fg-70);
      margin-bottom: 1.4rem;
    }

    .work-stack-2 {
      display: flex;
      flex-wrap: wrap;
      gap: .35rem;
      margin-top: auto;
    }

    .stack-chip {
      font-family: var(--font-sans);
      font-size: 9px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--fg-60);
      padding: 3.5px 9px;
      border-radius: 100px;
      border: 1px solid oklch(0.96 0.012 85 / 0.10);
      background: oklch(0.96 0.012 85 / 0.02);
      transition: border-color 0.2s ease, background 0.2s ease;
    }

    .glass:hover .stack-chip {
      border-color: oklch(0.96 0.012 85 / 0.16);
      background: oklch(0.96 0.012 85 / 0.04);
    }

    /* ─── EXTERNAL LINK INDICATOR ─── */
    .link-indicator {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 28px;
      height: 28px;
      border-radius: 50%;
      border: 1px solid oklch(0.96 0.012 85 / 0.15);
      background: oklch(0.96 0.012 85 / 0.04);
      margin-left: auto;
      opacity: 0.6;
      transform: scale(1);
      transition: opacity 0.3s ease, transform 0.3s ease, border-color 0.2s ease, background 0.2s ease;
      pointer-events: auto;
    }

    .glass:hover .link-indicator {
      opacity: 0.85;
    }

    .link-indicator:hover {
      opacity: 1 !important;
      transform: scale(1.08);
      border-color: oklch(0.96 0.012 85 / 0.3);
      background: oklch(0.96 0.012 85 / 0.08);
    }

    .link-indicator svg {
      width: 10px;
      height: 10px;
      color: var(--fg-60);
    }

    /* ─── FOOTER ─── */
    .footer {
      position: relative;
      z-index: 4;
      padding: 5rem 4rem 3rem;
      max-width: 1200px;
      margin: 0 auto;
      text-align: center;
    }

    .footer-line {
      width: 40px;
      height: 1px;
      background: linear-gradient(90deg, transparent, oklch(0.96 0.012 85 / 0.25), transparent);
      margin: 0 auto 2rem;
    }

    .footer-text {
      font-family: var(--font-sans);
      font-size: 10.5px;
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: var(--fg-35);
      line-height: 1.8;
    }

    .footer-links {
      display: inline-flex;
      gap: 1.5rem;
      margin-top: 1rem;
    }

    .footer-link {
      font-family: ui-monospace, "SF Mono", Menlo, monospace;
      font-size: 10.5px;
      font-weight: 400;
      font-style: normal;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: var(--fg-65);
      text-decoration: none;
      transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .footer-link:hover {
      color: var(--fg);
    }

    .footer-mail {
      margin-top: 1.25rem;
      text-align: center;
    }

    .footer-mail-link {
      font-family: var(--font-sans);
      font-size: 11px;
      font-weight: 400;
      letter-spacing: 0.02em;
      text-transform: lowercase;
      color: var(--fg-55);
      text-decoration: none;
      transition: color 0.2s ease;
    }

    .footer-mail-link:hover {
      color: var(--fg-85);
    }

    /* ─── RESPONSIVE ─── */
    @media (max-width: 900px) {

      .bento-card.featured,
      .bento-card.medium,
      .bento-card.third,
      .bento-card.half,
      .bento-card.full,
      .work-card.featured,
      .work-card.standard,
      .work-card.half,
      .work-card.full {
        grid-column: span 12;
      }

      .section {
        padding: 5rem 1.5rem;
      }

      .section-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
      }

      .section-counter {
        align-self: flex-start;
        padding-bottom: 0;
      }

      .footer {
        padding: 4rem 1.5rem 2.5rem;
      }
    }

    @media (max-width: 640px) {
      header {
        padding: 0.6rem 0.6rem 0 1.25rem;
        align-items: center;
      }

      .date-mark {
        margin-left: 0.5rem;
        font-size: 9px;
        top: 1px;
      }

      .nav-sep {
        margin: 0 0.5rem 0 0.2rem;
      }

      #name-halo {
        --halo-scale: 0.83;
        top: 48.5%;
      }

      .eyebrow {
        font-size: 9px;
        letter-spacing: 0.30em;
        margin-bottom: 1.6rem;
      }

      .subtext {
        font-size: 8px;
        margin-top: 1.8rem;
        max-width: 300px;
        line-height: 1.7;
        letter-spacing: 0.30em;
      }

      .subtext-mid {
        letter-spacing: 0.28em;
      }

      .cta-group {
        margin-top: 1.6rem;
        gap: 1rem;
      }

      .cta-primary {
        padding: 6px 14px 6px 15px;
        font-size: 8.5px;
        gap: 6px;
      }

      .cta-primary svg {
        width: 12px;
        height: 12px;
      }

      .nav-link-pill {
        padding: 5px 12px;
        font-size: 8.5px;
        gap: 5px;
      }

      .nav-link-pill svg {
        width: 10px;
        height: 10px;
      }

      .cta-secondary {
        display: none;
      }

      .work-card.featured {
        min-height: 320px;
        padding: 1.8rem;
      }

      .bento-card.featured {
        min-height: 260px;
        padding: 1.6rem;
      }
    }

    @media (color-gamut: p3) {
      :root {
        --fg: color(display-p3 0.96 0.94 0.91);
      }
    }

    .stagger-1 { --stagger: 0.08s; }
    .stagger-2 { --stagger: 0.16s; }
    .stagger-3 { --stagger: 0.24s; }
    .stagger-4 { --stagger: 0.32s; }
    .stagger-5 { --stagger: 0.40s; }
    .work-card-heading {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      margin-bottom: 1.2rem;
    }
    .work-tagline-compact { margin-bottom: 0; }

.nav-github { display:inline-block; width:10.5px; height:10.5px; margin:0 .65rem 0 .4rem; color:inherit; line-height:0; vertical-align:middle; flex-shrink:0; position:relative; top:2px; } 
.nav-github svg { width:10.5px; height:10.5px; display:block; }
.nav-github:hover { opacity:.7; transform:translateY(-1px); }

/* Keep every header control separated by the same measured space. */
nav { gap: 0.9rem; }
.nav-sep { margin: 0; }
.nav-github { margin: 0; }
@media (max-width: 640px) {
  nav { gap: 0.25rem; }
  nav .nav-sep { display: none; }
}
