  @font-face { font-family: "Brumder"; src: url("../works/brumder-rough.1710b2944af4.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
  @font-face { font-family: "Franie"; src: url("../works/franie-regular.2077c16c3065.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
  :root {
    color-scheme: dark;
    --wine: #591F28;
    --crimson: #CF3147;
    --rose: #FF6B7F;          /* hero letters only */
    --beige: #E8D9BB;
    --char: #262626;
    --paper: var(--wine);
    --paper-2: #4A1921;
    --ink: var(--beige);
    --title: var(--beige);
    --muted: #CDB9A6;
    --line: #74343E;
    --accent: var(--beige);
    --small: var(--muted);
    --btn-fill: var(--beige);
    --btn-text: var(--wine);
    --display: "Brumder", "Arial Black", Impact, sans-serif;
    --body: "Franie", "Helvetica Neue", Arial, sans-serif;
    --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
    --serif: "Times New Roman", Times, "Liberation Serif", serif;
    --ease: cubic-bezier(.7, 0, .2, 1);
    --gutter: clamp(16px, 4vw, 56px);
  }
  /* Outlined card (no fill) */
  .card-orange {
    border: 1px solid var(--line);
    background: transparent;
  }
  /* Light section: wine and charcoal on beige */
  .sec-beige { background: #F2EBE7; color: var(--char); --ink: var(--char); --title: var(--wine); --muted: #6B5A48; --line: #DCCFCA; --accent: var(--wine); --small: var(--muted); --btn-fill: var(--wine); --btn-text: var(--beige); }
  /* Charcoal section */
  .sec-dark { background: var(--char); --paper: var(--char); --line: #3A3A3A; --muted: #BDB09C; border-top: 0 !important; }
  .sec-dark + .sec, .sec + .sec-dark { border-top: 0; }

  .name, .sec-title, .proj-name, .big, .tl h3, .brand, .svc h3 { color: var(--title); }
  .thesis { color: var(--ink); }

  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--body);
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
  }
  a { color: inherit; }
  ::selection { background: var(--beige); color: var(--wine); }
  :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

  .wrap { padding-inline: var(--gutter); max-width: 1440px; margin-inline: auto; }
  .label {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--small);
  }

  /* ---------- CTA: transparent, ink border, Times, uppercase, curtain hover ---------- */
  .btn {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 28px;
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--ink);
    font-family: var(--serif);
    font-size: 15px;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: color .5s var(--ease);
    will-change: transform;
  }
  .btn::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--btn-fill);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform .55s var(--ease);
  }
  .btn:hover, .btn:focus-visible { color: var(--btn-text); border-color: var(--btn-fill); }
  .btn:hover::before, .btn:focus-visible::before { transform: scaleY(1); }
  .btn .arr { font-family: var(--body); letter-spacing: 0; }

  /* ---------- Nav ---------- */
  .nav {
    position: sticky;
    top: env(safe-area-inset-top, 0px);
    z-index: 20;
    background: color-mix(in srgb, var(--char) 92%, transparent);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
  }
  .nav .wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-block: 14px;
  }
  .brand {
    font-family: var(--display);
    font-weight: 700;
    font-size: 15px;
    letter-spacing: .02em;
    text-transform: uppercase;
    text-decoration: none;
  }
  .nav-links { display: flex; gap: 28px; }
  .nav-links a {
    font-family: var(--mono);
    font-size: 12px;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
    position: relative;
  }
  .nav-links a::after {
    content: "";
    position: absolute; left: 0; right: 0; bottom: -4px;
    height: 1px; background: currentColor;
    transform: scaleX(0); transform-origin: right;
    transition: transform .4s var(--ease);
  }
  .nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
  .clock { font-variant-numeric: tabular-nums; }
  @media (max-width: 720px) {
    .nav-links a.opt, .clock { display: none; }
    .nav-links { gap: 18px; }
  }

  /* ---------- Hero (centred, grid, stickers) ---------- */
  .hero {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: calc(100vh - 53px);
    min-height: calc(100svh - 53px);
    padding: 110px var(--gutter) clamp(40px, 5vw, 64px);
    overflow: hidden;
    isolation: isolate;
  }
  .hero-bg {
    position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image:
      linear-gradient(to right, rgba(232, 217, 187, .07) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(232, 217, 187, .07) 1px, transparent 1px);
    background-size: 80px 80px;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  }
  .hc-slot { position: absolute; z-index: 4; top: 24px; left: var(--gutter); height: 62px; }
  .hero-card {
    position: absolute; top: 0; left: 0; z-index: 2;
    transform-origin: 0 0;
    width: max-content; max-width: calc(100vw - 32px);
    display: inline-flex; flex-direction: column; align-items: stretch;
    padding: 6px 20px 6px 6px;
    background: rgba(232, 217, 187, .06);
    border: 1px solid var(--line);
    border-radius: 30px;
    text-align: left;
    outline: none;
    transition: transform .5s var(--ease), background .4s var(--ease), border-color .4s var(--ease), padding .5s var(--ease), border-radius .5s var(--ease);
  }
  .hc-top { display: flex; align-items: center; gap: 12px; }
  .hc-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
  .hc-inner { overflow: hidden; min-height: 0; display: grid; gap: 2px; }
  .hc-row { display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: baseline; padding: 9px 4px; text-decoration: none; border-top: 1px solid var(--line); opacity: 0; transform: translateY(-6px); transition: opacity .35s ease, transform .45s var(--ease), color .2s ease; }
  .hc-row:first-child { margin-top: 12px; }
  .hc-k { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
  .hc-v { font-size: 15px; color: var(--beige); user-select: all; word-break: break-all; }
  .hc-row:hover .hc-v, .hc-row:focus-visible .hc-v { color: var(--rose); }
  .hero-card:hover, .hero-card:focus-within, .hero-card.is-open {
    transform: scale(1.06);
    background: rgba(38, 38, 38, .97);
    box-shadow: 0 30px 60px rgba(0, 0, 0, .4);
    border-color: var(--beige);
    padding: 12px 22px 10px 12px;
    border-radius: 22px;
  }
  .hero-card:hover .hc-more, .hero-card:focus-within .hc-more, .hero-card.is-open .hc-more { grid-template-rows: 1fr; }
  .hero-card:hover .hc-row, .hero-card:focus-within .hc-row, .hero-card.is-open .hc-row { opacity: 1; transform: none; }
  .hero-card:hover .hc-row:nth-child(2), .hero-card:focus-within .hc-row:nth-child(2), .hero-card.is-open .hc-row:nth-child(2) { transition-delay: .06s; }
  .hero-card:hover .hc-row:nth-child(3), .hero-card:focus-within .hc-row:nth-child(3), .hero-card.is-open .hc-row:nth-child(3) { transition-delay: .12s; }
  .hero-avatar {
    flex: none;
    width: 46px; height: 46px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--beige); color: var(--wine);
    font-family: var(--display); font-weight: 800; font-size: 19px;
  }
  .hero-status { display: flex; align-items: center; gap: 8px; margin: 0; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
  .hero-who { margin: 0; font-size: 15px; font-weight: 500; color: var(--beige); }
  .ping { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #1FA463; flex: none; }
  .ping::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid #1FA463; animation: ping 1.8s var(--ease) infinite; }
  @keyframes ping { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(1.6); opacity: 0; } }

  .prompt {
    margin: auto 0 22px;
    font-family: var(--mono); font-size: 14px; color: var(--muted);
    min-height: 1.6em;
  }
  .prompt .ps { color: var(--beige); }
  .caret { display: inline-block; width: 9px; height: 1.1em; margin-left: 2px; vertical-align: -3px; background: var(--beige); animation: caret 1s steps(1) infinite; }
  @keyframes caret { 50% { opacity: 0; } }

  .htitle {
    margin: 0;
    font-family: var(--display);
    font-weight: 800;
    font-size: clamp(46px, 8.2vw, 128px);
    line-height: .9;
    letter-spacing: -.025em;
    text-transform: uppercase;
    max-width: 13ch;
    text-wrap: balance;
    color: var(--title);
  }
  .htitle em { font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: -.01em; }
  /* part of the letters in rose: the lower slice of the accent word */
  .htitle em .word > span, .htitle em.nosplit {
    background: linear-gradient(to bottom, var(--beige) 0 56%, var(--rose) 56% 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: var(--beige);
  }
  .hsub { margin: 26px 0 0; font-size: clamp(17px, 1.5vw, 20px); color: var(--muted); max-width: 46ch; text-wrap: balance; }
  .hsub strong { font-weight: 500; color: var(--beige); }
  .hero-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 30px; margin-bottom: auto; }

  .hero-stickers { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
  .prompt, .htitle, .hsub, .hero-actions { position: relative; z-index: 2; }
  .htitle, .hsub, .prompt { pointer-events: none; }
  .sticker {
    position: absolute;
    padding: 12px 20px;
    border-radius: 999px;
    font-family: var(--mono); font-size: 15px; font-weight: 500;
    white-space: nowrap; user-select: none; touch-action: none; pointer-events: auto;
    cursor: grab;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .3);
    animation: bob 5s ease-in-out infinite;
    outline: 2px solid transparent; outline-offset: 6px;
    transition: box-shadow .2s ease, outline-color .15s ease;
  }
  .sticker.is-dragging { cursor: grabbing; outline-color: var(--beige); box-shadow: 0 24px 50px rgba(0, 0, 0, .45); z-index: 5; }
  .st1 { top: 36%; left: 15%; --r: -9deg; }
  .st2 { top: 44%; right: 13%; --r: 7deg; animation-delay: -1.5s; }
  .st3 { bottom: 33%; left: 17%; --r: 5deg; animation-delay: -3s; }
  .st4 { bottom: 30%; right: 17%; --r: -6deg; animation-delay: -2s; }
  .st5 { top: 17%; right: 24%; --r: 8deg; animation-delay: -4s; }
  @media (max-width: 1180px) and (min-width: 721px) {
    .st1 { top: 40%; left: 3%; }
    .st2 { top: 50%; right: 2%; }
    .st3 { bottom: 20%; left: 4%; }
    .st4 { bottom: 16%; right: 5%; }
    .st5 { top: 16%; right: 8%; }
  }
  @keyframes bob { 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-10px) rotate(calc(var(--r, 0deg) * -.4)); } }


  @media (max-width: 720px) {
    .sticker { font-size: 12px; padding: 9px 14px; }
    .st1 { top: auto; bottom: 220px; left: 4%; }
    .st2 { top: auto; bottom: 190px; right: 4%; }
    .st3 { top: auto; bottom: 130px; left: auto; right: 14%; }
    .sticker.node.st2, .sticker.node.st4 { display: none; }
    .st1 { bottom: 236px !important; left: 4% !important; }
    .st5 { top: auto !important; bottom: 176px !important; right: 4% !important; left: auto !important; }
    .st3 { bottom: 110px !important; left: 6% !important; right: auto !important; }
    .sticker.node { padding: 7px 11px 7px 7px; }
    .node .n-ic { width: 24px; height: 24px; }
    .hero { padding-bottom: 0; }
    .hero-actions { margin-bottom: 250px; }
    .hero { padding-bottom: 40px; padding-top: 100px; }
    .hc-slot { top: 18px; }
    .hero-card:hover, .hero-card:focus-within, .hero-card.is-open { transform: none; }
    .hc-row { grid-template-columns: 62px 1fr; }
    .hc-v { font-size: 13.5px; }
    .prompt { font-size: 11.5px; white-space: nowrap; }
  }

  /* ---------- Motion: word rise + scroll reveal (only once JS is running) ---------- */
  .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
  .word > span { display: inline-block; }
  .js-motion .word > span { transform: translateY(110%); transition: transform 1s var(--ease); }
  .js-motion .is-in .word > span { transform: translateY(0); }
  .js-motion [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .js-motion [data-reveal].is-in { opacity: 1; transform: none; }

  /* Coding cursor: terminal block caret + JSX-style name tag */
  .fcursor { position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none; display: none; will-change: transform; }
  .has-fcursor .fcursor { display: block; }
  .has-fcursor, .has-fcursor * { cursor: none !important; }
  .fcursor-caret {
    display: block; width: 10px; height: 20px;
    background: var(--beige);
    box-shadow: 0 0 0 1px rgba(89, 31, 40, .6);
    animation: caret 1s steps(1) infinite;
    transition: width .25s var(--ease), height .25s var(--ease), background .2s ease;
  }
  .fcursor-tag {
    position: absolute; top: 24px; left: 8px;
    font-family: var(--mono); font-size: 11px; line-height: 1; white-space: nowrap;
    color: var(--beige);
    background: var(--char);
    border: 1px solid #3A3A3A;
    padding: 6px 8px; border-radius: 4px;
    transition: padding .24s var(--ease), font-size .24s var(--ease);
  }
  .fcursor-tag b { font-weight: 400; color: var(--rose); }
  .fcursor.is-hover .fcursor-caret { width: 3px; height: 26px; animation: none; background: var(--rose); }
  .fcursor.is-hover .fcursor-tag { padding: 8px 10px; font-size: 12px; }
  .fcursor.is-down .fcursor-caret { height: 14px; }
  .fcursor.is-hidden { opacity: 0; }

  /* ---------- Section heads ---------- */
  section { scroll-margin-top: 64px; }
  .sec { padding-block: clamp(56px, 8vw, 120px); border-top: 1px solid var(--line); }
  .sec-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: clamp(24px, 4vw, 48px); }
  .sec-title {
    margin: 0;
    font-family: var(--display);
    font-weight: 700;
    font-size: clamp(32px, 5vw, 64px);
    line-height: 1;
    letter-spacing: -.015em;
    text-transform: uppercase;
  }
  .sec-title em { color: var(--ink);  font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: 0; }

  /* ---------- Work list ---------- */
  .work { border-top: 1px solid var(--beige); }
  .proj { border-bottom: 1px solid var(--line); }
  .proj summary {
    list-style: none;
    cursor: pointer;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr) 32px;
    gap: 16px;
    align-items: center;
    padding-block: clamp(20px, 2.6vw, 34px);
    transition: opacity .35s var(--ease);
  }
  .proj summary::-webkit-details-marker { display: none; }
  .proj-name {
    font-family: var(--display);
    font-weight: 600;
    font-size: clamp(24px, 3.4vw, 48px);
    line-height: 1.05;
    letter-spacing: -.015em;
    transition: transform .5s var(--ease);
  }
  .proj-kind { font-size: 15px; color: var(--ink); }
  .proj-plus { justify-self: end; width: 22px; height: 22px; position: relative; }
  .proj-plus::before, .proj-plus::after {
    content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--ink);
    transition: transform .45s var(--ease);
  }
  .proj-plus::after { transform: rotate(90deg); }
  .proj[open] .proj-plus::after { transform: rotate(0deg); }
  @media (hover: hover) {
    .work:hover .proj summary { opacity: .38; }
    .work .proj summary:hover, .work .proj[open] summary { opacity: 1; }
    .proj summary:hover .proj-name { transform: translateX(14px); }
  }
  @media (max-width: 760px) {
    .proj summary { grid-template-columns: minmax(0, 1fr) 24px; gap: 6px 12px; }
    .proj-name { grid-column: 1; }
    .proj-kind { grid-column: 1; grid-row: 2; }
    .proj-stack { display: none; }
    .proj-plus { grid-column: 2; grid-row: 1 / span 2; }
  }

  .proj-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: clamp(20px, 4vw, 56px);
    padding-bottom: clamp(28px, 4vw, 48px);
  }
  .proj-body p { margin: 0 0 14px; max-width: 60ch; color: var(--ink); }
  .proj-body ul { margin: 0 0 18px; padding-left: 18px; max-width: 60ch; }
  .proj-body li { margin-bottom: 6px; }
  .tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
  .tag { font-family: var(--mono); font-size: 12px; padding: 4px 9px; border: 1px solid var(--small); color: var(--small); }
  .visit { color: var(--accent); font-family: var(--serif); text-transform: uppercase; letter-spacing: .12em; font-size: 14px; }
  @media (max-width: 760px) { .proj-body { grid-template-columns: 1fr; } }

  /* ---------- Project illustrations (fixed colours, same in both themes) ---------- */
  .thumb {
    position: relative;
    aspect-ratio: 4 / 3;
    max-width: 100%;
    overflow: hidden;
    display: grid;
    place-items: center;
    font-family: var(--body);
  }
  .thumb .cap {
    position: absolute; left: 12px; bottom: 10px;
    font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; opacity: .7;
  }
  .phone {
    width: 34%;
    aspect-ratio: 9 / 18.5;
    background: #fff;
    border: 5px solid #0b0b0b;
    border-radius: 20px;
    padding: 10px 8px;
    display: flex; flex-direction: column; gap: 6px;
    box-shadow: 0 24px 40px -18px rgba(0,0,0,.45);
  }
  .b { height: 6px; border-radius: 3px; background: #E2E4E8; }
  .w40 { width: 40%; } .w55 { width: 55%; } .w70 { width: 70%; } .w85 { width: 85%; }
  .hon { background: #E8D9BB; color: #262626; }
  .hon .ok { background: #E7F7EE; color: #127A45; font-size: 8px; font-weight: 600; padding: 5px 6px; border-radius: 5px; }
  .hon .card { border: 1px solid #E6E8EC; border-radius: 6px; padding: 6px; display: grid; gap: 4px; }
  .hon .row { display: flex; align-items: center; gap: 5px; }
  .hon .av { width: 14px; height: 14px; border-radius: 50%; background: #F2B33D; flex: none; }
  .hon .cta { margin-top: auto; background: #591F28; height: 16px; border-radius: 5px; }

  .moda { background: #C9B79A; color: #3B2A20; }
  .moda .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
  .moda .g { aspect-ratio: 3/4; border-radius: 4px; }
  .moda .chat { margin-top: auto; background: #3B2A20; height: 14px; border-radius: 8px; }

  .iron { background: #121212; color: #F4F4F4; }
  .iron .dash { width: 72%; background: #1E1E1E; border: 1px solid #2C2C2C; border-radius: 8px; padding: 12px; display: grid; gap: 9px; }
  .iron .bars { display: flex; align-items: flex-end; gap: 5px; height: 64px; }
  .iron .bars i { flex: 1; background: #E8D9BB; border-radius: 2px 2px 0 0; }
  .iron .set { display: grid; grid-template-columns: 1fr 34px 34px; gap: 6px; }
  .iron .set span { height: 7px; border-radius: 3px; background: #333; }

  .rasd { background: #F2EBE7; color: #1B2533; }
  .rasd .win { width: 80%; background: #fff; border-radius: 6px; box-shadow: 0 18px 30px -18px rgba(60,40,20,.4); overflow: hidden; }
  .rasd .tb { display: flex; gap: 4px; padding: 7px 9px; background: #F4F6F9; border-bottom: 1px solid #E3E7ED; }
  .rasd .tb i { width: 6px; height: 6px; border-radius: 50%; background: #CBD2DC; }
  .rasd .tr { display: grid; grid-template-columns: 1.4fr 1fr 58px; gap: 8px; align-items: center; padding: 7px 10px; border-bottom: 1px solid #EEF1F5; font-family: var(--mono); font-size: 9px; color: #4A5566; }
  .rasd .chip { font-size: 8px; padding: 2px 6px; border-radius: 9px; text-align: center; }
  .rasd .c1 { background: #E3F4EA; color: #17804A; } .rasd .c2 { background: #FBE3E6; color: #A3223A; } .rasd .c3 { background: #FFF1DE; color: #A5620A; }

  .seda { background: #000; color: #fff; text-align: center; }
  .seda .logo { font-family: var(--serif); font-style: italic; font-size: clamp(40px, 6vw, 72px); line-height: 1; letter-spacing: .02em; }
  .seda .sub { font-size: 10px; letter-spacing: .32em; text-transform: uppercase; margin-top: 12px; opacity: .8; }
  .seda .rule { width: 40px; height: 1px; background: #fff; margin: 14px auto 0; opacity: .6; }

  .smab { background: #6E1D2A; color: #fff; }
  .smab .form { width: 62%; background: #FBF7F2; border-radius: 8px; padding: 12px; display: grid; gap: 8px; color: #3A2A2C; }
  .smab .lang { justify-self: end; display: flex; font-size: 9px; border: 1px solid #D9CFC4; border-radius: 10px; overflow: hidden; }
  .smab .lang span { padding: 2px 8px; }
  .smab .lang .on { background: #6E1D2A; color: #fff; }
  .smab .in { height: 16px; border: 1px solid #E2D8CD; border-radius: 4px; background: #fff; }
  .smab .go { height: 18px; background: #6E1D2A; border-radius: 4px; }

  /* cursor-follow preview (desktop only) */

  /* ---------- Services: orange cards ---------- */
  .services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .svc { padding: 26px 24px 28px; }
  .svc h3 {
    margin: 0 0 12px;
    font-family: var(--display);
    font-weight: 700;
    font-size: 21px;
    line-height: 1.15;
  }
  .svc p { margin: 0 0 16px; color: var(--muted); font-size: 15px; }
  .svc ul { list-style: none; margin: 0; padding: 12px 0 0; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 12.5px; display: grid; gap: 5px; }
  @media (max-width: 1000px) { .services { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (max-width: 560px) { .services { grid-template-columns: 1fr; } }

  .sectors {
    margin: clamp(40px, 6vw, 72px) 0 0;
    font-family: var(--serif);
    font-style: italic;
    font-size: clamp(22px, 3vw, 40px);
    line-height: 1.25;
    text-wrap: balance;
    max-width: 30ch;
  }
  .sectors { color: var(--ink); }
  .sectors span { color: var(--ink);  font-family: var(--display); font-style: normal; font-weight: 600; text-transform: uppercase; font-size: .78em; letter-spacing: .01em; }

  /* ---------- Experience timeline ---------- */
  .tl { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--wine); }
  .tl li {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr) minmax(0, 1.3fr);
    gap: 24px;
    padding-block: 26px;
    border-bottom: 1px solid var(--line);
  }
  .tl .when { font-family: var(--mono); font-size: 13px; color: var(--small); font-variant-numeric: tabular-nums; }
  .tl h3 { margin: 0; font-family: var(--display); font-weight: 600; font-size: 22px; line-height: 1.2; }
  .tl .org { display: block; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 19px; color: var(--accent); margin-top: 2px; }
  .tl p { margin: 0; max-width: 60ch; }
  @media (max-width: 800px) { .tl li { grid-template-columns: 1fr; gap: 8px; } }

  /* ---------- Stack ---------- */
  .stack { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px 40px; }
  .stack h3 { margin: 0 0 10px; }
  .stack p { margin: 0; font-size: 15px; line-height: 1.8; }

  /* ---------- Contact ---------- */
  .contact { border-top: 0 !important; padding-block: clamp(72px, 10vw, 150px) clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
  .big {
    margin: 0;
    font-family: var(--display);
    font-weight: 800;
    font-size: clamp(40px, 8.4vw, 132px);
    line-height: .92;
    letter-spacing: -.02em;
    text-transform: uppercase;
    text-wrap: balance;
  }
  .big em { color: var(--muted);  font-family: var(--serif); font-style: italic; font-weight: 400; text-transform: none; letter-spacing: -.01em; }
  .contact-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: clamp(28px, 4vw, 48px); }
  .email { font-family: var(--mono); font-size: 15px; user-select: all; word-break: break-all; }
  .copied { font-family: var(--mono); font-size: 12px; color: var(--ink); min-width: 60px; }
  .site-foot { background: var(--char); }
  .foot {
    display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
    padding-block: 28px;
  }
  .foot nav { display: flex; gap: 22px; flex-wrap: wrap; }

  /* ---------- More work: lists ---------- */
  .links { display: flex; flex-wrap: wrap; gap: 10px 22px; }
  .proj-body strong { font-weight: 500; color: var(--title); }
  .sub-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: clamp(56px, 7vw, 96px) 0 20px; padding-bottom: 14px; border-bottom: 1px solid var(--beige); }
  .sub-title { margin: 0; font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.6vw, 32px); text-transform: uppercase; letter-spacing: -.01em; color: var(--title); }
  .plist { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .plist.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pitem { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 22px 22px 24px; border: 1px solid var(--line); text-decoration: none; transition: border-color .35s var(--ease), background .35s var(--ease); }
  .pitem:hover, .pitem:focus-visible { border-color: var(--beige); background: #2E2E2E; }
  .pitem .pk { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
  .pitem h4 { margin: 0; font-family: var(--display); font-weight: 600; font-size: 20px; line-height: 1.2; color: var(--title); }
  .pitem p { margin: 0; font-size: 14.5px; color: var(--ink); max-width: 44ch; }
  .pitem .go { position: absolute; top: 18px; right: 20px; color: var(--muted); transition: transform .35s var(--ease); }
  .pitem:hover .go { transform: translate(3px, -3px); color: var(--beige); }
  .dev { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .dev li { padding: 22px; border: 1px dashed var(--line); display: grid; gap: 8px; align-content: start; }
  .dev h4 { margin: 0; font-family: var(--display); font-weight: 600; font-size: 20px; color: var(--title); }
  .dev p { margin: 0; font-size: 14.5px; }
  @media (max-width: 900px) { .plist, .dev { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (max-width: 560px) { .plist, .plist.two, .dev { grid-template-columns: 1fr; } }

  .lmk { background: #E8D9BB; }
  .lmk .lwin { width: 78%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .lmk .course { background: #fff; border-radius: 6px; padding: 7px; display: grid; gap: 6px; box-shadow: 0 16px 26px -18px rgba(60,30,20,.5); }
  .lmk .cimg { aspect-ratio: 16/10; border-radius: 4px; background: #591F28; }
  .lmk .prog { height: 5px; border-radius: 3px; background: #EEE6DA; overflow: hidden; }
  .lmk .prog i { display: block; height: 100%; background: #591F28; }
  .njq { background: #3A2A22; }
  .njq .weave { position: absolute; inset: 0; background:
      repeating-linear-gradient(45deg, rgba(232,217,187,.9) 0 6px, transparent 6px 18px),
      repeating-linear-gradient(-45deg, rgba(232,217,187,.35) 0 6px, transparent 6px 18px); }

  /* ---------- Hero "let's talk" pill + terminal contact overlay ---------- */
  .talk {
    position: absolute; z-index: 4; right: var(--gutter); bottom: 24px;
    display: inline-flex; align-items: center; gap: 12px;
    padding: 6px 22px 6px 6px;
    background: rgba(232, 217, 187, .06);
    border: 1px solid var(--line);
    border-radius: 30px;
    color: var(--beige); font: inherit; text-align: left; cursor: pointer;
    transition: transform .5s var(--ease), background .4s var(--ease), border-color .4s var(--ease);
  }
  .talk:hover, .talk:focus-visible { transform: translateY(-3px) scale(1.04); background: rgba(38, 38, 38, .97); border-color: var(--beige); box-shadow: 0 24px 50px rgba(0, 0, 0, .35); }
  .talk-icon {
    position: relative; flex: none; width: 46px; height: 46px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--rose); color: var(--wine);
    font-family: var(--mono); font-size: 15px; font-weight: 500;
  }
  .talk-icon::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px dashed rgba(255, 107, 127, .7); animation: spin 9s linear infinite; }
  @keyframes spin { to { transform: rotate(360deg); } }
  .talk-status { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
  .talk-msg { display: block; font-size: 15px; font-weight: 500; min-width: 25ch; }
  .talk-msg .arr { display: inline-block; margin-left: 6px; transition: transform .35s var(--ease); }
  .talk:hover .talk-msg .arr { transform: translateX(4px); }
  .talk-msg .swap { display: inline-block; transition: opacity .35s ease, transform .45s var(--ease); }
  .talk-msg .swap.out { opacity: 0; transform: translateY(-8px); }

  .cmodal { position: fixed; inset: 0; z-index: 9000; display: grid; place-items: end; padding: 24px var(--gutter); visibility: hidden; }
  .cmodal.is-open { visibility: visible; }
  .cmodal-bg { position: absolute; inset: 0; background: rgba(20, 8, 11, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .4s ease; }
  .cmodal.is-open .cmodal-bg { opacity: 1; }
  .term {
    position: relative; width: min(520px, 100%);
    background: #1C1C1C; color: var(--beige);
    border: 1px solid #3A3A3A; border-radius: 14px;
    box-shadow: 0 40px 80px rgba(0, 0, 0, .55);
    overflow: hidden;
    clip-path: circle(0% at 100% 100%);
    transition: clip-path .7s var(--ease);
  }
  .cmodal.is-open .term { clip-path: circle(150% at 100% 100%); }
  .term-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; background: #262626; border-bottom: 1px solid #333; }
  .term-bar i { width: 11px; height: 11px; border-radius: 50%; background: #3A3A3A; }
  .term-bar i:nth-child(1) { background: var(--rose); }
  .term-bar i:nth-child(2) { background: var(--beige); }
  .term-title { margin: 0 auto; font-family: var(--mono); font-size: 12px; color: var(--muted); transform: translateX(-20px); }
  .term-x { background: none; border: 1px solid #3A3A3A; color: var(--muted); font-family: var(--mono); font-size: 11px; padding: 4px 8px; border-radius: 4px; cursor: pointer; }
  .term-x:hover, .term-x:focus-visible { color: var(--beige); border-color: var(--beige); }
  .term-body { padding: 18px 18px 14px; font-family: var(--mono); font-size: 13px; }
  .term-line { margin: 0 0 14px; color: var(--muted); }
  .term-line .ps { color: var(--rose); }
  .term-line .cmd { color: var(--beige); }
  .term-ok { margin: -6px 0 16px; color: #7BD88F; font-size: 12px; }
  .copt {
    position: relative; isolation: isolate; overflow: hidden;
    display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 14px;
    padding: 16px 14px; margin: 0 -4px;
    border-top: 1px dashed #3A3A3A;
    text-decoration: none; color: var(--beige);
    opacity: 0; transform: translateY(10px);
    transition: opacity .4s ease, transform .5s var(--ease), color .35s var(--ease);
  }
  .copt:last-of-type { border-bottom: 1px dashed #3A3A3A; }
  .cmodal.is-open .copt { opacity: 1; transform: none; }
  .cmodal.is-open .copt:nth-of-type(1) { transition-delay: .25s, .25s, 0s; }
  .cmodal.is-open .copt:nth-of-type(2) { transition-delay: .33s, .33s, 0s; }
  .cmodal.is-open .copt:nth-of-type(3) { transition-delay: .41s, .41s, 0s; }
  .copt::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--beige); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
  .copt:hover, .copt:focus-visible { color: var(--wine); outline: none; }
  .copt:hover::before, .copt:focus-visible::before { transform: scaleX(1); }
  .copt-key { font-size: 12px; color: var(--rose); }
  .copt:hover .copt-key, .copt:focus-visible .copt-key { color: var(--wine); }
  .copt-name { display: block; font-family: var(--display); font-weight: 700; font-size: 24px; line-height: 1.1; text-transform: uppercase; letter-spacing: -.01em; }
  .copt-detail { display: block; margin-top: 3px; font-size: 12px; opacity: .75; word-break: break-all; }
  .copt-go { font-size: 18px; transition: transform .35s var(--ease); }
  .copt:hover .copt-go { transform: translate(3px, -3px); }
  .term-foot { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 14px; font-size: 11px; color: var(--muted); }
  .term-foot kbd { font-family: var(--mono); border: 1px solid #3A3A3A; border-radius: 3px; padding: 1px 5px; color: var(--beige); }

  @media (max-width: 720px) {
    .talk { left: var(--gutter); right: var(--gutter); bottom: 16px; }
    .talk-msg { min-width: 0; font-size: 14px; }
    .cmodal { padding: 12px; place-items: end center; }
    .term { clip-path: circle(0% at 50% 100%); }
    .cmodal.is-open .term { clip-path: circle(150% at 50% 100%); }
    .copt-name { font-size: 20px; }
  }

  /* ---------- Hero: live system diagram (replaces stickers) ---------- */
  .net-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
  .net-svg .edge { fill: none; stroke: rgba(232, 217, 187, .22); stroke-width: 1.2; stroke-dasharray: 4 6; animation: dash 1.2s linear infinite; }
  @keyframes dash { to { stroke-dashoffset: -20; } }
  .net-svg .pkt { fill: var(--rose); }
  .net-svg .pkt.b { fill: var(--beige); }
  .sticker.node {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 14px 9px 9px;
    border-radius: 10px;
    background: var(--char); color: var(--beige);
    border: 1px solid #3A3A3A;
    font-size: 13px;
    box-shadow: 0 14px 30px rgba(0, 0, 0, .3);
  }
  .node .n-ic { width: 30px; height: 30px; border-radius: 7px; display: grid; place-items: center; background: #333; color: var(--beige); font-size: 13px; flex: none; }
  .node .n-txt { display: grid; line-height: 1.25; text-align: left; }
  .node b { font-weight: 500; font-size: 13px; }
  .node i { font-style: normal; font-size: 10.5px; color: var(--muted); }
  .node .n-dot { width: 7px; height: 7px; border-radius: 50%; background: #1FA463; box-shadow: 0 0 0 3px rgba(31, 164, 99, .2); margin-left: 4px; }
  .node-hot .n-ic { background: var(--rose); color: var(--wine); }
  .node-api .n-ic { background: var(--beige); color: var(--wine); }
  .node:hover { border-color: var(--beige); }
  .node.is-dragging { outline-color: var(--rose); }

  /* ---------- Rose details ---------- */
  .proj-name { transition: transform .5s var(--ease), color .35s var(--ease); }
  .sec-head { position: relative; }
  .sec-title::before { content: ""; display: inline-block; width: 10px; height: 10px; background: var(--title); margin-right: 14px; vertical-align: .35em; }
  .stack .sep { color: var(--muted); opacity: .6; }

  /* =========== Hero v2 (layout after toms.framer.media) =========== */
  .th {
    --tx: "Brumder", "Arial Black", Impact, sans-serif;
    position: relative;
    min-height: 100vh; min-height: 100svh;
    display: grid;
    grid-template-rows: auto auto 1fr auto;
    padding: 0 var(--gutter);
    overflow: hidden;
    isolation: isolate;
    font-family: var(--tx);
    color: var(--beige);
    background:
      radial-gradient(60% 70% at 72% 32%, rgba(255, 107, 127, .22), transparent 60%),
      radial-gradient(80% 90% at 75% 40%, #6E2632 0%, #591F28 45%, #2A0F14 100%);
  }
  .th-art { position: absolute; inset: 0; z-index: -1; pointer-events: none; }  /* slot for the new idea */

  .th-top { display: grid; grid-template-columns: 1fr auto auto 1fr; align-items: start; gap: 0 56px; padding-top: 24px; }
  .th-logo { font-weight: 800; font-size: 20px; line-height: 1.05; letter-spacing: -.02em; text-decoration: none; color: var(--beige); }
  .th-col { display: grid; gap: 6px; font-size: 16px; letter-spacing: -.02em; }
  .th-col a { text-decoration: none; color: var(--beige); width: fit-content; }
  .th-col a:hover { color: var(--rose); }
  .th-mail { position: relative; background: none; border: 0; padding: 0 0 2px; font: inherit; color: var(--beige); cursor: pointer; border-bottom: 1px solid rgba(232, 217, 187, .55); text-align: left; }
  .th-mail .tip { position: absolute; left: 100%; top: 50%; translate: 10px -50%; padding: 4px 8px; border-radius: 6px; background: var(--beige); color: var(--wine); font-size: 12px; font-weight: 600; white-space: nowrap; opacity: 0; transition: opacity .2s ease, translate .3s var(--ease); pointer-events: none; }
  .th-mail:hover .tip, .th-mail:focus-visible .tip, .th-mail.is-copied .tip { opacity: 1; translate: 14px -50%; }

  .hire {
    justify-self: end;
    display: inline-flex; align-items: center;
    height: 48px; padding: 0 26px;
    border-radius: 999px; border: 0;
    background: var(--rose); color: var(--wine);
    font-family: var(--tx); font-weight: 700; font-size: 16px; letter-spacing: .01em; text-transform: uppercase;
    cursor: pointer; overflow: hidden;
    transition: background .3s ease;
  }
  .hire:hover, .hire:focus-visible { background: var(--beige); }
  .roll { display: inline-flex; height: 1.1em; line-height: 1.1em; overflow: hidden; }
  .roll > span { display: inline-flex; flex-direction: column; transition: transform .45s var(--ease); transition-delay: calc(var(--i) * 25ms); }
  .roll > span > span { height: 1.1em; }
  .roll .sp { width: .3em; }
  .hire:hover .roll > span, .hire:focus-visible .roll > span { transform: translateY(-50%); }

  .th-sub { display: flex; justify-content: space-between; align-items: start; margin-top: 76px; font-weight: 600; font-size: 18px; line-height: 1.12; letter-spacing: -.02em; text-transform: uppercase; }
  .th-sub .num { white-space: pre; }

  .th-name { align-self: end; padding-bottom: 8px; }
  .th-row1 { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
  .th-word { display: block; margin: 0; font-weight: 900; text-transform: uppercase; line-height: .82; white-space: nowrap; color: var(--beige); }
  /* liquid fill: a rose blob that follows the pointer (set per word from JS) */
  /* small rose waves on a few letters */
  .th-word .th-rise > span {
    background-color: var(--beige);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
  }
  .th-first .th-rise > span { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M29.00,-5.00 L29.45,-5.00 L29.90,-5.00 L30.35,-5.00 L30.80,-5.00 L31.25,-5.00 L31.70,-5.00 L32.15,-5.00 L32.60,-5.00 L33.05,-5.00 L33.50,-5.00 L33.95,-5.00 L34.40,-5.00 L34.85,-5.00 L35.30,-5.00 L35.75,-5.00 L36.20,-5.00 L36.65,-5.00 L37.10,-5.00 L37.55,-5.00 L38.00,-5.00 L38.45,-5.00 L38.90,-5.00 L39.35,-5.00 L39.80,-5.00 L40.25,-5.00 L40.70,-5.00 L41.15,-5.00 L41.60,-5.00 L42.05,-5.00 L42.50,-5.00 L42.95,-5.00 L43.40,-5.00 L43.85,-5.00 L44.30,-5.00 L44.75,-5.00 L45.20,-5.00 L45.65,-5.00 L46.10,-5.00 L46.55,-5.00 L47.00,-5.00 L47.00,12.23 L46.55,15.57 L46.10,18.42 L45.65,21.06 L45.20,23.46 L44.75,25.57 L44.30,27.36 L43.85,28.78 L43.40,29.80 L42.95,30.43 L42.50,30.67 L42.05,30.56 L41.60,30.12 L41.15,29.42 L40.70,28.53 L40.25,27.52 L39.80,26.48 L39.35,25.46 L38.90,24.55 L38.45,23.80 L38.00,23.27 L37.55,22.98 L37.10,22.94 L36.65,23.16 L36.20,23.61 L35.75,24.25 L35.30,25.03 L34.85,25.89 L34.40,26.75 L33.95,27.53 L33.50,28.17 L33.05,28.58 L32.60,28.71 L32.15,28.50 L31.70,27.91 L31.25,26.93 L30.80,25.54 L30.35,23.76 L29.90,21.58 L29.45,19.02 L29.00,15.77 Z' fill='%23FF6B7F'/%3E%3Cpath d='M80.00,90.93 L80.47,89.30 L80.95,87.95 L81.42,86.56 L81.90,85.09 L82.38,83.56 L82.85,81.96 L83.33,80.31 L83.80,78.66 L84.28,77.02 L84.75,75.43 L85.22,73.93 L85.70,72.54 L86.17,71.30 L86.65,70.24 L87.12,69.37 L87.60,68.73 L88.08,68.32 L88.55,68.14 L89.03,68.21 L89.50,68.51 L89.97,69.04 L90.45,69.77 L90.92,70.68 L91.40,71.75 L91.88,72.95 L92.35,74.23 L92.83,75.58 L93.30,76.95 L93.78,78.31 L94.25,79.63 L94.72,80.89 L95.20,82.06 L95.67,83.13 L96.15,84.08 L96.62,84.92 L97.10,85.65 L97.58,86.28 L98.05,86.85 L98.53,87.42 L99.00,88.33 L99.00,110.00 L98.53,110.00 L98.05,110.00 L97.58,110.00 L97.10,110.00 L96.62,110.00 L96.15,110.00 L95.67,110.00 L95.20,110.00 L94.72,110.00 L94.25,110.00 L93.78,110.00 L93.30,110.00 L92.83,110.00 L92.35,110.00 L91.88,110.00 L91.40,110.00 L90.92,110.00 L90.45,110.00 L89.97,110.00 L89.50,110.00 L89.03,110.00 L88.55,110.00 L88.08,110.00 L87.60,110.00 L87.12,110.00 L86.65,110.00 L86.17,110.00 L85.70,110.00 L85.22,110.00 L84.75,110.00 L84.28,110.00 L83.80,110.00 L83.33,110.00 L82.85,110.00 L82.38,110.00 L81.90,110.00 L81.42,110.00 L80.95,110.00 L80.47,110.00 L80.00,110.00 Z' fill='%23FF6B7F'/%3E%3C/svg%3E"); }
  .th-last .th-rise > span { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M86.00,-5.00 L86.38,-5.00 L86.75,-5.00 L87.12,-5.00 L87.50,-5.00 L87.88,-5.00 L88.25,-5.00 L88.62,-5.00 L89.00,-5.00 L89.38,-5.00 L89.75,-5.00 L90.12,-5.00 L90.50,-5.00 L90.88,-5.00 L91.25,-5.00 L91.62,-5.00 L92.00,-5.00 L92.38,-5.00 L92.75,-5.00 L93.12,-5.00 L93.50,-5.00 L93.88,-5.00 L94.25,-5.00 L94.62,-5.00 L95.00,-5.00 L95.38,-5.00 L95.75,-5.00 L96.12,-5.00 L96.50,-5.00 L96.88,-5.00 L97.25,-5.00 L97.62,-5.00 L98.00,-5.00 L98.38,-5.00 L98.75,-5.00 L99.12,-5.00 L99.50,-5.00 L99.88,-5.00 L100.25,-5.00 L100.62,-5.00 L101.00,-5.00 L101.00,17.75 L100.62,20.88 L100.25,23.32 L99.88,25.43 L99.50,27.25 L99.12,28.79 L98.75,30.04 L98.38,31.00 L98.00,31.68 L97.62,32.09 L97.25,32.27 L96.88,32.22 L96.50,31.99 L96.12,31.61 L95.75,31.13 L95.38,30.58 L95.00,30.01 L94.62,29.45 L94.25,28.94 L93.88,28.51 L93.50,28.18 L93.12,27.97 L92.75,27.88 L92.38,27.91 L92.00,28.06 L91.62,28.30 L91.25,28.61 L90.88,28.96 L90.50,29.31 L90.12,29.63 L89.75,29.87 L89.38,30.00 L89.00,29.97 L88.62,29.74 L88.25,29.29 L87.88,28.58 L87.50,27.59 L87.12,26.30 L86.75,24.68 L86.38,22.68 L86.00,19.92 Z' fill='%23FF6B7F'/%3E%3Cpath d='M0.00,93.59 L0.43,92.65 L0.85,91.95 L1.27,91.19 L1.70,90.30 L2.12,89.28 L2.55,88.11 L2.97,86.81 L3.40,85.41 L3.83,83.92 L4.25,82.38 L4.68,80.84 L5.10,79.33 L5.53,77.90 L5.95,76.59 L6.38,75.43 L6.80,74.48 L7.22,73.74 L7.65,73.26 L8.07,73.03 L8.50,73.07 L8.93,73.38 L9.35,73.94 L9.77,74.73 L10.20,75.72 L10.62,76.89 L11.05,78.19 L11.48,79.59 L11.90,81.03 L12.32,82.49 L12.75,83.90 L13.18,85.25 L13.60,86.50 L14.02,87.61 L14.45,88.59 L14.88,89.41 L15.30,90.09 L15.73,90.64 L16.15,91.09 L16.57,91.50 L17.00,92.20 L17.00,110.00 L16.57,110.00 L16.15,110.00 L15.73,110.00 L15.30,110.00 L14.88,110.00 L14.45,110.00 L14.02,110.00 L13.60,110.00 L13.18,110.00 L12.75,110.00 L12.32,110.00 L11.90,110.00 L11.48,110.00 L11.05,110.00 L10.62,110.00 L10.20,110.00 L9.77,110.00 L9.35,110.00 L8.93,110.00 L8.50,110.00 L8.07,110.00 L7.65,110.00 L7.22,110.00 L6.80,110.00 L6.38,110.00 L5.95,110.00 L5.53,110.00 L5.10,110.00 L4.68,110.00 L4.25,110.00 L3.83,110.00 L3.40,110.00 L2.97,110.00 L2.55,110.00 L2.12,110.00 L1.70,110.00 L1.27,110.00 L0.85,110.00 L0.43,110.00 L0.00,110.00 Z' fill='%23FF6B7F'/%3E%3C/svg%3E"); }
  .th-first { font-size: clamp(64px, 12.5vw, 210px); letter-spacing: -.03em; }
  .th-last { font-size: clamp(96px, 21vw, 340px); font-weight: 800; letter-spacing: -.03em; margin-top: 8px; }
  .th-roles { display: flex; gap: 56px; padding-bottom: 2.2vw; font-weight: 600; font-size: 16px; line-height: 1.1; letter-spacing: -.03em; text-transform: uppercase; }
  .th-roles .role { margin: 0; display: grid; grid-template-columns: auto auto; column-gap: 10px; }

  .th-rise { display: block; overflow: hidden; }
  .th-rise > span { display: inline-block; animation: thRise 1.1s var(--ease) both; }
  .th-last .th-rise > span, .th-rise.d2 > span { animation-delay: .12s; }
  @keyframes thRise { from { transform: translateY(100%); } to { transform: none; } }

  @media (max-width: 900px) {
    .th-top { grid-template-columns: 1fr auto; }
    .th-col { display: none; }
    .th-roles { gap: 24px; font-size: 13px; }
  }
  @media (max-width: 720px) {
    .th-sub { margin-top: 48px; font-size: 14px; }
    .th-row1 { flex-direction: column; align-items: flex-start; gap: 18px; }
    .th-roles { padding-bottom: 0; order: -1; }
    .hire { height: 42px; padding: 0 18px; font-size: 14px; }
  }
  .th-art { z-index: 0; }
  .th-top, .th-sub, .th-name { position: relative; z-index: 1; }
  @media (prefers-reduced-motion: reduce) { .th-word .th-rise > span { filter: none; } }

  /* =========== Section header (after devsync, label moved under the title) =========== */
  .shead { display: flex; flex-direction: column; gap: 14px; margin-bottom: clamp(32px, 4vw, 56px); }
  .shead-title {
    margin: 0; max-width: 16ch;
    font-family: var(--display); font-weight: 700;
    font-size: clamp(34px, 3.4vw, 48px); line-height: 1.12; letter-spacing: -.01em;
    color: var(--title); text-wrap: balance;
  }
  .shead-title em { font-family: var(--serif); font-style: italic; font-weight: 400; }
  .shead-label { margin: 0; font-family: var(--body); font-weight: 600; font-size: 16px; color: var(--rose); }
  .sec-beige .shead-label { color: var(--wine); }
  .shead-rule { display: flex; align-items: center; gap: 6px; margin-top: 18px; font-family: var(--body); font-weight: 600; font-size: 16px; color: var(--rose); }
  .sec-beige .shead-rule { color: var(--wine); }
  .shead-rule span { display: inline-flex; justify-content: center; min-width: 22px; font-size: 18px; line-height: 1; }
  .shead-rule span:last-child { font-size: 22px; font-weight: 700; }
  .shead-rule i { flex: 1; height: 2px; background: rgba(232, 217, 187, .22); }
  .sec-beige .shead-rule i { background: rgba(89, 31, 40, .25); }

  /* =========== About (after kernel-dev hero, terminal instead of photo) =========== */
  .about { padding-block: clamp(72px, 9vw, 120px); }
  .ab-status { display: flex; align-items: center; gap: 10px; margin: 0 0 30px; font-family: var(--mono); font-size: 12px; letter-spacing: .02em; text-transform: uppercase; color: var(--rose); }
  .ab-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
  .ab-title { margin: 0; font-family: var(--display); font-weight: 500; font-size: clamp(44px, 5.4vw, 78px); line-height: 1.02; letter-spacing: -.04em; color: var(--title); }
  .ab-title em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; }
  .ab-lead { margin: 24px 0 0; max-width: 52ch; font-family: var(--body); font-weight: 500; font-size: 17px; line-height: 1.6; color: var(--muted); }
  .ab-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
  .ab-loc { margin: 26px 0 0; font-family: var(--mono); font-size: 12px; letter-spacing: .02em; text-transform: uppercase; color: var(--muted); }

  .tw { background: #1C1C1C; border: 1px solid #333; border-radius: 8px; overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); }
  .tw-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid #2E2E2E; font-family: var(--mono); font-size: 12px; color: var(--muted); }
  .tw-bar i { width: 10px; height: 10px; border-radius: 50%; background: #3A3A3A; }
  .tw-bar i:nth-child(1) { background: var(--rose); }
  .tw-bar i:nth-child(2) { background: var(--beige); }
  .tw-bar span { margin-left: 8px; }
  .tw-body { margin: 0; padding: 18px 18px 22px; font-family: var(--mono); font-size: 13px; line-height: 1.9; color: var(--beige); white-space: pre-wrap; min-height: 260px; }
  .tw-body .c { color: var(--rose); }
  .tw-body .o { color: var(--muted); }
  .tw-caret { display: inline-block; width: 8px; height: 1.05em; vertical-align: -2px; background: var(--beige); animation: caret 1s steps(1) infinite; }
  .tw-cap { display: grid; gap: 2px; margin-top: 12px; font-family: var(--mono); font-size: 12px; letter-spacing: .02em; text-transform: uppercase; }
  .tw-cap span:first-child { color: var(--rose); }
  .tw-cap span:last-child { color: var(--muted); }

  .ab-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(48px, 6vw, 80px); }
  .ab-stat { display: flex; flex-direction: column; gap: 46px; padding: 40px 24px 24px; border-left: 1px solid #3A3A3A; }
  .ab-ticks { display: flex; justify-content: space-between; height: 8px; }
  .ab-ticks i { width: 1px; height: 8px; background: #444; }
  .ab-num { display: flex; font-family: var(--body); font-weight: 600; font-size: clamp(56px, 5.6vw, 80px); line-height: 1.2; letter-spacing: -.07em; color: var(--beige); font-variant-numeric: tabular-nums; }
  .ab-num em { font-style: normal; color: var(--rose); }
  .ab-stat p { margin: 0; max-width: 160px; font-family: var(--body); font-weight: 500; font-size: 16px; line-height: 1.3; letter-spacing: -.02em; color: var(--muted); }
  @media (max-width: 900px) {
    .ab-grid { grid-template-columns: 1fr; }
    .ab-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ab-stat { padding: 28px 12px 20px; gap: 28px; }
  }

  /* =========== Fixed header (after nakula.framer.website) =========== */
  .nk { position: fixed; top: 0; left: 0; right: 0; z-index: 60; display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; padding: calc(env(safe-area-inset-top, 0px) + 20px) var(--gutter) 16px; pointer-events: none; transition: background .4s ease; }
  .nk > * { pointer-events: auto; }
  .nk.is-solid { background: linear-gradient(to bottom, rgba(28, 28, 28, .92), rgba(28, 28, 28, .65) 70%, transparent); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
  .nk-logo {
    display: flex; flex-direction: column; align-items: flex-start; gap: .02em;
    font-family: var(--display); font-weight: 900; font-size: 26px; line-height: .82;
    letter-spacing: -.03em; text-transform: uppercase; white-space: nowrap; text-decoration: none;
  }
  .nk-logo .ln { display: block; overflow: hidden; }
  .nk-logo .w, .sp-logo .w { transform: translateY(110%); transition: transform .7s var(--ease); }
  .nk-logo .ln + .ln .w { transition-delay: .07s; }
  .nk.show-logo .nk-logo .w { transform: none; }
  .nk:not(.show-logo) .nk-logo { pointer-events: none; }
  .nk-logo .w {
    display: inline-block; padding-bottom: .06em;
    background-color: var(--beige); background-repeat: no-repeat; background-size: 100% 100%;
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  }
  .nk-logo .w1, .sp-logo .w1 { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M29.00,-5.00 L29.45,-5.00 L29.90,-5.00 L30.35,-5.00 L30.80,-5.00 L31.25,-5.00 L31.70,-5.00 L32.15,-5.00 L32.60,-5.00 L33.05,-5.00 L33.50,-5.00 L33.95,-5.00 L34.40,-5.00 L34.85,-5.00 L35.30,-5.00 L35.75,-5.00 L36.20,-5.00 L36.65,-5.00 L37.10,-5.00 L37.55,-5.00 L38.00,-5.00 L38.45,-5.00 L38.90,-5.00 L39.35,-5.00 L39.80,-5.00 L40.25,-5.00 L40.70,-5.00 L41.15,-5.00 L41.60,-5.00 L42.05,-5.00 L42.50,-5.00 L42.95,-5.00 L43.40,-5.00 L43.85,-5.00 L44.30,-5.00 L44.75,-5.00 L45.20,-5.00 L45.65,-5.00 L46.10,-5.00 L46.55,-5.00 L47.00,-5.00 L47.00,12.23 L46.55,15.57 L46.10,18.42 L45.65,21.06 L45.20,23.46 L44.75,25.57 L44.30,27.36 L43.85,28.78 L43.40,29.80 L42.95,30.43 L42.50,30.67 L42.05,30.56 L41.60,30.12 L41.15,29.42 L40.70,28.53 L40.25,27.52 L39.80,26.48 L39.35,25.46 L38.90,24.55 L38.45,23.80 L38.00,23.27 L37.55,22.98 L37.10,22.94 L36.65,23.16 L36.20,23.61 L35.75,24.25 L35.30,25.03 L34.85,25.89 L34.40,26.75 L33.95,27.53 L33.50,28.17 L33.05,28.58 L32.60,28.71 L32.15,28.50 L31.70,27.91 L31.25,26.93 L30.80,25.54 L30.35,23.76 L29.90,21.58 L29.45,19.02 L29.00,15.77 Z' fill='%23FF6B7F'/%3E%3Cpath d='M80.00,90.93 L80.47,89.30 L80.95,87.95 L81.42,86.56 L81.90,85.09 L82.38,83.56 L82.85,81.96 L83.33,80.31 L83.80,78.66 L84.28,77.02 L84.75,75.43 L85.22,73.93 L85.70,72.54 L86.17,71.30 L86.65,70.24 L87.12,69.37 L87.60,68.73 L88.08,68.32 L88.55,68.14 L89.03,68.21 L89.50,68.51 L89.97,69.04 L90.45,69.77 L90.92,70.68 L91.40,71.75 L91.88,72.95 L92.35,74.23 L92.83,75.58 L93.30,76.95 L93.78,78.31 L94.25,79.63 L94.72,80.89 L95.20,82.06 L95.67,83.13 L96.15,84.08 L96.62,84.92 L97.10,85.65 L97.58,86.28 L98.05,86.85 L98.53,87.42 L99.00,88.33 L99.00,110.00 L98.53,110.00 L98.05,110.00 L97.58,110.00 L97.10,110.00 L96.62,110.00 L96.15,110.00 L95.67,110.00 L95.20,110.00 L94.72,110.00 L94.25,110.00 L93.78,110.00 L93.30,110.00 L92.83,110.00 L92.35,110.00 L91.88,110.00 L91.40,110.00 L90.92,110.00 L90.45,110.00 L89.97,110.00 L89.50,110.00 L89.03,110.00 L88.55,110.00 L88.08,110.00 L87.60,110.00 L87.12,110.00 L86.65,110.00 L86.17,110.00 L85.70,110.00 L85.22,110.00 L84.75,110.00 L84.28,110.00 L83.80,110.00 L83.33,110.00 L82.85,110.00 L82.38,110.00 L81.90,110.00 L81.42,110.00 L80.95,110.00 L80.47,110.00 L80.00,110.00 Z' fill='%23FF6B7F'/%3E%3C/svg%3E"); }
  .nk-logo .w2, .sp-logo .w2 { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='none'%3E%3Cpath d='M86.00,-5.00 L86.38,-5.00 L86.75,-5.00 L87.12,-5.00 L87.50,-5.00 L87.88,-5.00 L88.25,-5.00 L88.62,-5.00 L89.00,-5.00 L89.38,-5.00 L89.75,-5.00 L90.12,-5.00 L90.50,-5.00 L90.88,-5.00 L91.25,-5.00 L91.62,-5.00 L92.00,-5.00 L92.38,-5.00 L92.75,-5.00 L93.12,-5.00 L93.50,-5.00 L93.88,-5.00 L94.25,-5.00 L94.62,-5.00 L95.00,-5.00 L95.38,-5.00 L95.75,-5.00 L96.12,-5.00 L96.50,-5.00 L96.88,-5.00 L97.25,-5.00 L97.62,-5.00 L98.00,-5.00 L98.38,-5.00 L98.75,-5.00 L99.12,-5.00 L99.50,-5.00 L99.88,-5.00 L100.25,-5.00 L100.62,-5.00 L101.00,-5.00 L101.00,17.75 L100.62,20.88 L100.25,23.32 L99.88,25.43 L99.50,27.25 L99.12,28.79 L98.75,30.04 L98.38,31.00 L98.00,31.68 L97.62,32.09 L97.25,32.27 L96.88,32.22 L96.50,31.99 L96.12,31.61 L95.75,31.13 L95.38,30.58 L95.00,30.01 L94.62,29.45 L94.25,28.94 L93.88,28.51 L93.50,28.18 L93.12,27.97 L92.75,27.88 L92.38,27.91 L92.00,28.06 L91.62,28.30 L91.25,28.61 L90.88,28.96 L90.50,29.31 L90.12,29.63 L89.75,29.87 L89.38,30.00 L89.00,29.97 L88.62,29.74 L88.25,29.29 L87.88,28.58 L87.50,27.59 L87.12,26.30 L86.75,24.68 L86.38,22.68 L86.00,19.92 Z' fill='%23FF6B7F'/%3E%3Cpath d='M0.00,93.59 L0.43,92.65 L0.85,91.95 L1.27,91.19 L1.70,90.30 L2.12,89.28 L2.55,88.11 L2.97,86.81 L3.40,85.41 L3.83,83.92 L4.25,82.38 L4.68,80.84 L5.10,79.33 L5.53,77.90 L5.95,76.59 L6.38,75.43 L6.80,74.48 L7.22,73.74 L7.65,73.26 L8.07,73.03 L8.50,73.07 L8.93,73.38 L9.35,73.94 L9.77,74.73 L10.20,75.72 L10.62,76.89 L11.05,78.19 L11.48,79.59 L11.90,81.03 L12.32,82.49 L12.75,83.90 L13.18,85.25 L13.60,86.50 L14.02,87.61 L14.45,88.59 L14.88,89.41 L15.30,90.09 L15.73,90.64 L16.15,91.09 L16.57,91.50 L17.00,92.20 L17.00,110.00 L16.57,110.00 L16.15,110.00 L15.73,110.00 L15.30,110.00 L14.88,110.00 L14.45,110.00 L14.02,110.00 L13.60,110.00 L13.18,110.00 L12.75,110.00 L12.32,110.00 L11.90,110.00 L11.48,110.00 L11.05,110.00 L10.62,110.00 L10.20,110.00 L9.77,110.00 L9.35,110.00 L8.93,110.00 L8.50,110.00 L8.07,110.00 L7.65,110.00 L7.22,110.00 L6.80,110.00 L6.38,110.00 L5.95,110.00 L5.53,110.00 L5.10,110.00 L4.68,110.00 L4.25,110.00 L3.83,110.00 L3.40,110.00 L2.97,110.00 L2.55,110.00 L2.12,110.00 L1.70,110.00 L1.27,110.00 L0.85,110.00 L0.43,110.00 L0.00,110.00 Z' fill='%23FF6B7F'/%3E%3C/svg%3E"); }
  .nk-right { display: flex; align-items: center; gap: 36px; }
  .nk-meta { display: grid; gap: 3px; font-family: var(--body); color: var(--beige); }
  .nk-meta b { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; }
  .nk-meta small { font-size: 12px; color: var(--muted); letter-spacing: .02em; text-transform: uppercase; padding-left: 15px; }
  .nk-meta.time small { padding-left: 0; text-transform: none; }
  .nk-dot { width: 7px; height: 7px; border-radius: 50%; background: #1FA463; box-shadow: 0 0 0 3px rgba(31, 164, 99, .2); }
  .nk-btns { display: flex; gap: 6px; }
  .nk-talk, .nk-burger {
    position: relative; isolation: isolate; overflow: hidden;
    height: 44px; border-radius: 999px; border: 1px solid #3A3A3A; background: #1C1C1C; color: var(--beige);
    font-family: var(--body); font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .02em; cursor: pointer;
  }
  .nk-talk { padding: 0 20px; }
  .nk-burger { width: 46px; display: grid; place-items: center; }
  .nk-talk::before, .nk-burger::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--rose); transform: scale(.2); opacity: 0; transition: transform .45s var(--ease), opacity .3s ease; }
  .nk-talk:hover::before, .nk-burger:hover::before, .nk-talk:focus-visible::before, .nk-burger:focus-visible::before { transform: scale(1); opacity: 1; }
  .nk-talk:hover, .nk-burger:hover { color: var(--wine); border-color: var(--rose); }
  .nk-burger i { display: block; width: 18px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
  .nk-burger i + i { margin-top: 5px; }
  .nk-burger .lines { display: grid; }
  .menu-open .nk-burger i:first-child { transform: translateY(3.25px) rotate(45deg); }
  .menu-open .nk-burger i:last-child { transform: translateY(-3.25px) rotate(-45deg); }

  .mn { position: fixed; inset: 0; z-index: 70; visibility: hidden; }
  .mn.is-open { visibility: visible; }
  .mn-bg { position: absolute; inset: 0; background: rgba(10, 4, 6, .6); opacity: 0; transition: opacity .4s ease; }
  .mn.is-open .mn-bg { opacity: 1; }
  .mn-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(560px, 100%); display: flex; flex-direction: column; background: #1C1C1C; border-left: 1px solid #333; transform: translateX(100%); transition: transform .7s var(--ease); overflow-y: auto; }
  .mn.is-open .mn-panel { transform: none; }
  .mn-head { display: flex; align-items: center; gap: 10px; height: 88px; padding: 0 24px; border-bottom: 1px solid #333; font-family: var(--body); font-size: 14px; text-transform: uppercase; color: var(--beige); }
  .mn-head::before { content: ""; width: 7px; height: 7px; background: var(--rose); }
  .mn-x { margin-left: auto; width: 46px; height: 44px; border-radius: 999px; border: 1px solid #3A3A3A; background: #262626; color: var(--beige); font-size: 18px; cursor: pointer; transition: background .3s ease, color .3s ease, transform .4s var(--ease); }
  .mn-x:hover, .mn-x:focus-visible { background: var(--rose); color: var(--wine); transform: rotate(90deg); }
  .mn-links { list-style: none; margin: 0; padding: 24px 24px 0; }
  .mn-links li { border-bottom: 1px solid #333; overflow: hidden; }
  .mn-links a { display: flex; align-items: center; gap: 10px; padding: 18px 0; font-family: var(--display); font-weight: 900; font-size: clamp(40px, 5vw, 56px); line-height: 1; letter-spacing: -.03em; text-transform: uppercase; color: var(--beige); text-decoration: none; transform: translateY(100%); transition: transform .7s var(--ease), color .25s ease, padding .35s var(--ease); }
  .mn.is-open .mn-links a { transform: none; }
  .mn.is-open .mn-links li:nth-child(2) a { transition-delay: .06s, 0s, 0s; }
  .mn.is-open .mn-links li:nth-child(3) a { transition-delay: .12s, 0s, 0s; }
  .mn.is-open .mn-links li:nth-child(4) a { transition-delay: .18s, 0s, 0s; }
  .mn.is-open .mn-links li:nth-child(5) a { transition-delay: .24s, 0s, 0s; }
  .mn-links a::after { content: ""; width: 9px; height: 9px; background: var(--rose); opacity: 0; transition: opacity .25s ease; }
  .mn-links a:hover, .mn-links a:focus-visible { color: var(--rose); padding-left: 10px; }
  .mn-links a:hover::after, .mn-links a.is-active::after { opacity: 1; }
  .mn-foot { margin-top: auto; padding: 32px 24px 28px; display: grid; gap: 22px; }
  .mn-k { display: block; margin-bottom: 8px; font-family: var(--body); font-size: 12px; text-transform: uppercase; color: var(--muted); }
  .mn-mail { background: none; border: 0; padding: 0; font-family: var(--body); font-size: clamp(20px, 2.2vw, 26px); font-weight: 500; color: var(--rose); cursor: pointer; text-align: left; word-break: break-all; }
  .mn-soc { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; }
  .mn-soc a { font-family: var(--body); font-size: 18px; color: var(--beige); text-decoration: none; }
  .mn-soc a:hover { color: var(--rose); }

  /* hero no longer has its own top bar */
  .th { grid-template-rows: auto 1fr auto !important; padding-top: 96px !important; }
  .th-foot { display: flex; justify-content: flex-end; padding-bottom: clamp(32px, 5vw, 64px); }
  .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .th-sub { margin-top: 24px !important; }
  .th-name { transform-origin: left bottom; will-change: transform, opacity; }

  @media (max-width: 900px) {
    .nk-meta.time { display: none; }
    .nk-meta b { font-size: 13px; white-space: nowrap; } .nk-meta small { font-size: 10px; white-space: nowrap; }
    .nk-right { gap: 12px; min-width: 0; }
    .nk { gap: 10px; }
    .nk-talk { display: none; }
  }

  /* =========== Latest work (after nakula.framer.website) =========== */
  .lw-title {
    display: flex; justify-content: center; align-items: flex-start; gap: 10px;
    margin: 0 0 clamp(48px, 6vw, 96px);
    font-family: var(--display); font-weight: 400; text-transform: uppercase;
    font-size: clamp(64px, 9.7vw, 140px); line-height: 1;
  }
  .lw-title .t {
    background: linear-gradient(to bottom, var(--beige) 30%, rgba(232, 217, 187, .25));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  }
  .lw-title sup { font-family: var(--body); font-size: 16px; font-weight: 500; color: var(--rose); line-height: 1; margin-top: .4em; }
  .lw-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(24px, 4vw, 64px); }
  .lw-side { position: sticky; top: 110px; height: calc(100vh - 150px); display: flex; flex-direction: column; justify-content: space-between; }
  .lw-num { display: flex; align-items: flex-start; height: 1em; overflow: hidden; font-family: var(--display); font-size: clamp(96px, 9.7vw, 140px); line-height: 1; color: var(--rose); }
  .lw-num-track { display: flex; flex-direction: column; transition: transform .7s var(--ease); }
  .lw-num-track span { height: 1em; }
  .lw-num .dot { color: var(--rose); align-self: flex-end; line-height: 1; }
  .lw-nav { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 4px; }
  .lw-nav a { display: inline-flex; align-items: center; gap: 10px; font-family: var(--body); font-size: 16px; font-weight: 600; letter-spacing: -.04em; color: var(--muted); opacity: .55; text-decoration: none; transition: opacity .3s ease, color .3s ease; }
  .lw-nav a::before { content: ""; width: 12px; height: 1px; background: currentColor; transition: width .4s var(--ease); }
  .lw-nav li.is-on a { opacity: 1; color: var(--beige); }
  .lw-nav li.is-on a::before { width: 22px; background: var(--rose); }
  .lw-info { position: relative; min-height: 220px; }
  .lw-item { position: absolute; left: 0; right: 0; bottom: 0; opacity: 0; transform: translateY(24px); transition: opacity .5s ease, transform .6s var(--ease); pointer-events: none; }
  .lw-item.is-on { opacity: 1; transform: none; pointer-events: auto; }
  .lw-item h3 { margin: 0; font-family: var(--body); font-weight: 600; font-size: clamp(36px, 3.9vw, 56px); line-height: 1.05; letter-spacing: -.06em; color: var(--beige); }
  .lw-item p { margin: 10px 0 0; max-width: 24ch; font-family: var(--body); font-weight: 500; font-size: clamp(18px, 1.7vw, 24px); line-height: 1.25; letter-spacing: -.05em; color: var(--muted); }
  .lw-meta { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 16px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
  .lw-meta a { color: var(--rose); text-decoration: none; }
  .lw-meta a:hover { text-decoration: underline; }
  .lw-media { display: grid; gap: clamp(48px, 8vw, 120px); }
  .lw-card { margin: 0; }
  .lw-frame { overflow: hidden; aspect-ratio: 4 / 3; transform: scale(var(--z, 1)); transform-origin: 50% 50%; will-change: transform; }
  .lw-card .thumb { width: 100%; height: 100%; aspect-ratio: auto; border-radius: 0; }
  .lw-card .thumb .cap { font-size: 11px; }
  .lw-cap { display: none; }
  .lw-more { display: flex; justify-content: center; margin-top: clamp(48px, 7vw, 100px); }
  .lw-more-btn { position: relative; display: inline-flex; justify-content: center; min-width: min(680px, 100%); padding: 20px 24px; border: 1px solid #4A3036; border-radius: 999px; font-family: var(--body); font-weight: 700; font-size: 16px; letter-spacing: -.04em; color: var(--rose); text-decoration: none; overflow: hidden; transition: border-color .3s ease; }
  .lw-more-btn:hover { border-color: var(--rose); }
  .lw-more-btn .roll { height: 1.2em; line-height: 1.2em; }
  .lw-more-btn .roll > span > span { height: 1.2em; }
  .lw-more-btn:hover .roll > span { transform: translateY(-50%); }
  @media (max-width: 900px) {
    .lw-grid { grid-template-columns: 1fr; }
    .lw-side { display: none; }
    .lw-cap { display: block; margin-top: 16px; }
    .lw-cap h3 { margin: 0; font-family: var(--body); font-weight: 600; font-size: 32px; letter-spacing: -.05em; color: var(--beige); }
    .lw-cap p { margin: 6px 0 0; font-family: var(--body); font-size: 17px; color: var(--muted); }
  }

  /* =========== Buttons: terminal command + function call =========== */
  .cbtn {
    position: relative; isolation: isolate; overflow: hidden;
    display: inline-flex; align-items: center; gap: 0;
    padding: 14px 20px; min-height: 48px;
    background: transparent; color: var(--beige);
    border: 1px solid var(--beige); border-radius: 0;
    font-family: var(--mono); font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none;
    text-decoration: none; white-space: nowrap; cursor: pointer;
    transition: color .45s var(--ease);
  }
  .cbtn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--beige); transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease); }
  .cbtn .cb-p { color: var(--rose); margin-right: 8px; transition: color .45s var(--ease); }
  .cbtn .cb-pa { color: var(--rose); transition: color .45s var(--ease); }
  .cbtn .cb-arg { display: inline-block; max-width: 0; overflow: hidden; vertical-align: bottom; color: var(--muted); transition: max-width .5s var(--ease), color .45s var(--ease); }
  .cbtn .cb-k { display: inline-block; width: 8px; height: 15px; margin-left: 6px; background: var(--beige); animation: caret 1s steps(1) infinite; transition: background .45s var(--ease); }
  .cbtn:hover, .cbtn:focus-visible { color: var(--wine); }
  .cbtn:hover::before, .cbtn:focus-visible::before { transform: scaleY(1); }
  .cbtn:hover .cb-p, .cbtn:hover .cb-pa, .cbtn:focus-visible .cb-p, .cbtn:focus-visible .cb-pa { color: #B8303F; }
  .cbtn:hover .cb-arg, .cbtn:focus-visible .cb-arg { max-width: 12ch; color: #7A3A44; }
  .cbtn:hover .cb-k, .cbtn:focus-visible .cb-k { background: var(--wine); }
  .cbtn-wide { min-width: min(680px, 100%); justify-content: center; }
  .sec-beige .cbtn { color: var(--wine); border-color: var(--wine); }
  .sec-beige .cbtn::before { background: var(--wine); }
  .sec-beige .cbtn .cb-k { background: var(--wine); }
  .sec-beige .cbtn:hover { color: var(--beige); }
  .sec-beige .cbtn:hover .cb-k { background: var(--beige); }
  /* header version keeps the header's height and dark fill */
  .nk-talk.cbtn { height: 44px; min-height: 0; padding: 0 16px; background: rgba(28, 28, 28, .85); border-color: #4A4A4A; border-radius: 0; text-transform: none; }
  .nk-talk.cbtn::before { background: var(--beige); border-radius: 0; opacity: 1; transform: scaleY(0); transform-origin: bottom; }
  .nk-talk.cbtn:hover { border-color: var(--beige); }
  .nk-talk.cbtn:hover::before { transform: scaleY(1); }
  @media (prefers-reduced-motion: reduce) { .cbtn .cb-k { animation: none; } }
  @media (max-width: 900px) { .nk-talk.cbtn { display: none; } }

  /* =========== How I can help (after nakula services) =========== */
  .hw-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid #DCCFCA; }
  .hw-row { border-bottom: 1px solid #DCCFCA; transition: background .5s var(--ease); cursor: default; }
  .hw-row.is-on { background: #E9DDD7; }
  .hw-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.25fr); gap: 24px; padding: 26px 0; }
  .hw-num { font-family: var(--body); font-weight: 600; font-size: 32px; line-height: 1; letter-spacing: -.04em; color: #9A8A86; transition: font-size .6s var(--ease), color .4s ease; }
  .hw-num i { font-style: normal; color: var(--crimson); }
  .hw-row.is-on .hw-num { font-size: clamp(56px, 6vw, 88px); color: var(--wine); }
  .hw-media { position: relative; }
  .hw-art { width: 30%; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; opacity: 0; transform: scale(.6); transform-origin: left top; transition: width .7s var(--ease), opacity .4s ease, transform .7s var(--ease); }
  .hw-row.is-on .hw-art { width: 100%; opacity: 1; transform: none; }
  .hw-row:not(.is-on) .hw-art { position: absolute; top: 0; left: 0; }
  .hw-title { margin: 0; font-family: var(--body); font-weight: 600; font-size: 32px; line-height: 1.05; letter-spacing: -.05em; color: var(--wine); transition: font-size .6s var(--ease); }
  .hw-row.is-on .hw-title { font-size: clamp(40px, 3.9vw, 56px); }
  .hw-more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .7s var(--ease); }
  .hw-row.is-on .hw-more { grid-template-rows: 1fr; }
  .hw-more > div { overflow: hidden; min-height: 0; }
  .hw-desc { margin: 10px 0 0; max-width: 30ch; font-family: var(--body); font-weight: 500; font-size: clamp(18px, 1.7vw, 24px); line-height: 1.25; letter-spacing: -.04em; color: #6B5A57; }
  .hw-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 4px; }
  .hw-tags span { padding: 8px 14px; border: 1px solid #CDBDB7; border-radius: 999px; font-family: var(--body); font-size: 15px; font-weight: 500; color: var(--char); }

  /* small illustrations for each service (fixed colours) */
  .hw-art { background: #591F28; display: grid; place-items: center; font-family: var(--mono); color: #E8D9BB; }
  .art-erp { background: #591F28; }
  .art-erp .win { width: 78%; background: #F2EBE7; border-radius: 6px; overflow: hidden; }
  .art-erp .row { display: grid; grid-template-columns: 1.4fr 1fr 44px; gap: 8px; padding: 6px 8px; border-bottom: 1px solid #E3D7D2; font-size: 9px; color: #6B5A57; }
  .art-erp .chip { border-radius: 8px; text-align: center; font-size: 8px; padding: 1px 4px; background: #FBE3E6; color: #A3223A; }
  .art-web { background: #262626; }
  .art-web .br { width: 80%; background: #F2EBE7; border-radius: 6px; overflow: hidden; }
  .art-web .bar { display: flex; gap: 4px; padding: 6px 8px; background: #E3D7D2; }
  .art-web .bar i { width: 6px; height: 6px; border-radius: 50%; background: #CDBDB7; }
  .art-web .bar i:first-child { background: #FF6B7F; }
  .art-web .hero { height: 42px; margin: 8px; border-radius: 4px; background: #591F28; }
  .art-web .cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 0 8px 8px; }
  .art-web .cols i { height: 22px; border-radius: 3px; background: #E3D7D2; }
  .art-mob { background: #FF6B7F; }
  .art-mob .ph { width: 30%; aspect-ratio: 9 / 18; background: #F2EBE7; border: 4px solid #262626; border-radius: 14px; padding: 6px; display: grid; gap: 4px; align-content: start; }
  .art-mob .ph i { height: 7px; border-radius: 3px; background: #DCCFCA; }
  .art-mob .ph i:nth-child(1) { background: #591F28; height: 22px; }
  .art-ai { background: #262626; }
  .art-ai svg { width: 82%; height: auto; }
  .art-ops { background: #1C1C1C; justify-items: start; padding: 16px 18px; font-size: 10px; line-height: 1.8; align-content: center; }
  .art-ops .c { color: #FF6B7F; }
  .art-ops .ok { color: #7BD88F; }
  @media (max-width: 900px) {
    .hw-in { grid-template-columns: 56px minmax(0, 1fr); }
    .hw-media { grid-column: 2; grid-row: 2; }
    .hw-row.is-on .hw-num { font-size: 40px; }
  }

  /* =========== Cut zero: the leading digit is half-hidden by its column edge (devsync) =========== */
  .cz { display: inline-block; overflow: hidden; vertical-align: bottom; line-height: inherit; }
  .cz > span { display: inline-block; margin-left: -.19em; }
  .lw-num-track { margin-left: -.19em; }

  /* =========== Process: horizontal scroll, pinned (after devsync) =========== */
  .pr { position: relative; background: var(--wine); border-top: 1px solid var(--line); }
  .pr-stick { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding-top: 70px; }
  .pr .shead { margin-bottom: clamp(24px, 3vw, 40px); }
  .pr-stick > .wrap { width: 100%; min-width: 0; }
  .pr-track { display: flex; will-change: transform; }
  .pr-step { flex: 0 0 clamp(300px, 32vw, 460px); padding: 8px 40px 8px 0; border-left: 1px solid rgba(232, 217, 187, .18); padding-left: 0; }
  .pr-step + .pr-step { margin-left: 0; }
  .pr-num { display: block; overflow: hidden; font-family: var(--display); font-weight: 700; font-size: clamp(110px, 11vw, 158px); line-height: 1.2; color: var(--rose); }
  .pr-num > span { display: inline-block; margin-left: -.19em; }
  .pr-body { padding-left: 32px; margin-top: clamp(40px, 6vh, 80px); }
  .pr-body h3 { margin: 0 0 12px; font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1.4; color: var(--beige); }
  .pr-body p { margin: 0; max-width: 34ch; font-family: var(--body); font-size: 15px; line-height: 1.6; color: var(--muted); }
  .pr-bar { height: 2px; margin-top: clamp(32px, 5vh, 56px); background: rgba(232, 217, 187, .15); }
  .pr-bar i { display: block; height: 100%; width: 0; background: var(--rose); }
  @media (max-width: 900px) {   /* phones: still pinned, vertical scroll moves the steps sideways */
    .pr-stick { padding-top: 64px; }
    .pr-step { flex-basis: 78vw; padding-right: 24px; }
    .pr-num { font-size: clamp(90px, 26vw, 120px); }
    .pr-body { padding-left: 20px; margin-top: 24px; }
    .pr .shead { margin-bottom: 16px; }
  }

  /* =========== Latest insights / blog (after nakula) =========== */
  .bl-head { position: relative; }
  .bl-all { position: absolute; right: 0; top: 0; }
  .bl-grid { display: grid; grid-template-columns: minmax(0, 2.1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
  .bl-card { position: relative; display: flex; flex-direction: column; border: 1px solid #333; background: #1F1F1F; overflow: hidden; color: var(--beige); text-decoration: none; transition: border-color .3s ease; }
  .bl-card:hover { border-color: var(--rose); }
  .bl-img { position: relative; overflow: hidden; aspect-ratio: 3 / 2; margin: 8px 8px 0; }
  .bl-img > div { position: absolute; inset: 0; transition: transform 1.1s var(--ease); }
  .bl-card:hover .bl-img > div { transform: scale(1.06); }
  .bl-pill { position: absolute; top: 12px; left: 12px; z-index: 2; padding: 6px 10px; border-radius: 999px; background: var(--beige); color: var(--char); font-family: var(--body); font-size: 12px; text-transform: uppercase; letter-spacing: .02em; }
  .bl-body { display: flex; flex-direction: column; gap: 10px; padding: 22px 16px 20px; flex: 1; }
  .bl-date { font-family: var(--body); font-size: 13px; text-transform: uppercase; color: var(--muted); }
  .bl-body h3 { margin: auto 0 0; font-family: var(--body); font-weight: 600; font-size: 22px; line-height: 1.15; letter-spacing: -.04em; color: var(--beige); }
  .bl-body p { margin: 0; font-family: var(--body); font-size: 15px; line-height: 1.35; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .bl-arrow { position: absolute; right: 16px; bottom: 18px; color: var(--rose); opacity: 0; transform: translate(-6px, 6px); transition: opacity .3s ease, transform .4s var(--ease); }
  .bl-card:hover .bl-arrow { opacity: 1; transform: none; }
  /* feature card: image fills the card, text over it */
  .bl-feat .bl-img { position: absolute; inset: 8px; margin: 0; aspect-ratio: auto; }
  .bl-feat .bl-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20, 20, 20, .92), rgba(20, 20, 20, .1) 60%); }
  .bl-feat .bl-body { position: relative; z-index: 2; justify-content: flex-end; min-height: 520px; padding: 28px 28px 30px; }
  .bl-feat h3 { font-size: clamp(28px, 2.3vw, 34px); max-width: 22ch; margin-top: 0; }
  .bl-feat .bl-date { margin-top: auto; }
  /* illustrations */
  .art-b1 { background: radial-gradient(70% 90% at 70% 30%, #8E2F3A, #591F28 55%, #2A0F14); display: grid; place-items: center; }
  .art-b1 pre { margin: 0; padding: 18px 20px; background: rgba(28, 28, 28, .85); border: 1px solid #444; border-radius: 8px; font-family: var(--mono); font-size: 12px; line-height: 1.7; color: var(--beige); transform: rotate(-4deg); box-shadow: 0 30px 60px rgba(0, 0, 0, .45); }
  .art-b1 .c { color: var(--rose); }
  .art-b2 { background: #FF6B7F; display: grid; place-items: center; }
  .art-b2 .duo { display: flex; gap: 14px; align-items: flex-end; }
  .art-b2 .scr { width: 120px; aspect-ratio: 4/3; background: #F2EBE7; border: 4px solid #262626; border-radius: 6px; }
  .art-b2 .ph { width: 44px; aspect-ratio: 9/18; background: #F2EBE7; border: 4px solid #262626; border-radius: 10px; }
  .art-b2 .scr::before, .art-b2 .ph::before { content: ""; display: block; height: 30%; margin: 6px; border-radius: 3px; background: #591F28; }
  .art-b3 { background: #2A2A2A; display: grid; place-items: center; font-family: var(--mono); font-size: 11px; color: var(--beige); }
  .art-b3 .box { display: grid; gap: 6px; }
  .art-b3 .box span { padding: 6px 12px; border: 1px solid #555; border-radius: 4px; }
  .art-b3 .box span:nth-child(2) { border-color: var(--rose); color: var(--rose); }
  @media (max-width: 1000px) {
    .bl-grid { grid-template-columns: 1fr 1fr; }
    .bl-feat { grid-column: 1 / -1; }
  }
  @media (max-width: 640px) {
    .bl-grid { grid-template-columns: 1fr; }
    .bl-all { position: static; margin-top: 18px; align-self: flex-start; }
    .bl-feat .bl-body { min-height: 420px; }
  }

  /* =========== Reviews: About-numbers columns, no cards =========== */
  .rv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .rv { margin: 0; display: flex; flex-direction: column; gap: 40px; padding: 40px 28px 28px; border-left: 1px solid #CDBDB7; }
  .rv .ab-ticks i { background: #CDBDB7; }
  .rv-score { display: flex; align-items: baseline; font-family: var(--body); font-weight: 600; font-size: clamp(56px, 5.6vw, 80px); line-height: 1.1; letter-spacing: -.07em; color: var(--wine); }
  .rv-score em { margin-left: 8px; font-style: normal; font-size: .4em; letter-spacing: 0; color: var(--crimson); }
  .rv blockquote { position: relative; margin: 0; padding-left: 28px; font-family: var(--body); font-weight: 500; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.4; letter-spacing: -.02em; color: var(--char); }
  .rv blockquote::before { content: "\201D"; position: absolute; left: 0; top: -.15em; font-size: 1.6em; color: var(--crimson); }
  .rv blockquote.ph { color: #9A8A86; font-style: italic; }
  .rv-who { display: grid; gap: 4px; margin-top: auto; font-family: var(--body); }
  .rv-who b { font-size: 20px; font-weight: 600; letter-spacing: -.02em; color: var(--wine); }
  .rv-who span { font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .04em; color: #6B5A57; }
  @media (max-width: 900px) { .rv-grid { grid-template-columns: 1fr; } .rv { padding: 32px 0 32px 20px; gap: 28px; } }

  /* =========== CTA + footer (after nakula "Let's work together") =========== */
  main { position: relative; z-index: 2; }
  .cta { position: relative; z-index: 2; overflow: hidden; background: #1C1C1C; color: #CACACA; padding-top: clamp(120px, 16vw, 210px); }
  .cta-glow { position: absolute; inset: 0; pointer-events: none; }
  .cta-glow i { position: absolute; left: 38%; top: -10%; width: 46vw; height: 46vw; max-width: 720px; max-height: 720px; border-radius: 50%;
    background: radial-gradient(closest-side, rgba(207, 49, 71, .22), rgba(89, 31, 40, .18) 45%, transparent 75%); mix-blend-mode: screen;
    transform: translate3d(var(--gx, 0px), var(--gy, 0px), 0); transition: transform .9s var(--ease); filter: blur(6px); }
  .cta-photo { position: absolute; left: 0; right: 0; top: -60px; height: clamp(560px, 62vw, 900px); pointer-events: none; transform: translateY(var(--cy, 0px)); will-change: transform;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 55%, transparent 88%), linear-gradient(to right, transparent 0, #000 18%, #000 82%, transparent 100%); -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 55%, transparent 88%), linear-gradient(to right, transparent 0, #000 18%, #000 82%, transparent 100%); mask-composite: intersect; }
  .cta-photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
  .cta-hand { z-index: 2; }
  .cta-side { position: relative; z-index: 3; }
  .ft { z-index: 3; }
  .cta-top { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: 40px; align-items: center; }
  .lt { margin: 0; display: grid; font-family: var(--display); font-weight: 400; font-size: clamp(64px, 9.7vw, 140px); line-height: 1; letter-spacing: 0; color: var(--beige); text-transform: uppercase; }
  .lt-line { display: block; overflow: hidden; padding-bottom: .02em; }
  .lt-w { display: inline-block; white-space: nowrap; }
  .lt-l { display: inline-block; transition: transform .9s var(--ease), opacity .6s ease, color .3s ease; transition-delay: calc(var(--i) * 35ms); }
  .js-motion .lt:not(.in) .lt-l { transform: translateY(105%); opacity: 0; }
  .lt-l:hover { color: var(--rose); transition-delay: 0s; }
  .cta-side p { margin: 0 0 28px; text-indent: 28px; font-family: var(--body); font-weight: 500; font-size: clamp(18px, 1.7vw, 24px); line-height: 1.2; letter-spacing: -.02em; color: #8F8F8F; }
  .cta-btn { width: 100%; justify-content: center; }
  .ft { position: relative; padding-top: clamp(110px, 14vw, 200px); }
  .ft-grid { display: grid; grid-template-columns: 1.5fr .55fr .75fr 1.1fr; gap: 32px; }
  .ft-k { display: block; font-family: var(--body); font-size: 11px; font-weight: 500; text-transform: uppercase; color: #8F8F8F; }
  .ft-row { display: flex; align-items: baseline; gap: 20px; margin-bottom: 14px; }
  .ft-row .ft-k { width: 58px; flex: none; }
  .ft-mail { font-family: var(--body); font-weight: 500; font-size: clamp(16px, 1.5vw, 22px); letter-spacing: -.01em; color: var(--rose); white-space: nowrap; text-decoration: none; overflow-wrap: anywhere; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
  .ft-mail:hover { background-size: 100% 1px; }
  .ft-phone { font-family: var(--body); font-weight: 500; font-size: clamp(18px, 1.6vw, 24px); letter-spacing: -.02em; color: #CACACA; text-decoration: none; }
  .ft-phone:hover { color: var(--beige); }
  .ft-col { display: flex; flex-direction: column; gap: 6px; }
  .ft-col .ft-k { margin-bottom: 12px; }
  .ft-col a { position: relative; width: fit-content; font-family: var(--body); font-weight: 500; font-size: clamp(18px, 1.5vw, 22px); color: #CACACA; text-decoration: none; transition: color .3s ease, transform .4s var(--ease); }
  .ft-col a i { display: inline-block; font-style: normal; font-size: .7em; margin-left: 4px; transition: transform .4s var(--ease); }
  .ft-col a:hover { color: var(--beige); transform: translateX(6px); }
  .ft-col a:hover i { transform: translate(3px, -3px); color: var(--rose); }
  .ft-copy p { margin: 0 0 18px; max-width: 30ch; font-family: var(--body); font-size: 14px; font-weight: 500; line-height: 1.45; color: #CACACA; }
  .ft-copybox { display: flex; justify-content: space-between; gap: 10px; padding: 12px 0; margin-bottom: 18px; border-bottom: 1px solid #3A3A3A; font-family: var(--mono); font-size: 14px; color: #8F8F8F; overflow-wrap: anywhere; }
  .ft-copybox .copied { color: var(--rose); min-width: 0; }
  .ft-btn { width: 100%; justify-content: center; }
  .ft-bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; padding-block: clamp(56px, 6vw, 80px) 28px; }
  .ft-bottom > div { display: grid; gap: 6px; }
  .ft-small { font-family: var(--body); font-size: 12px; font-weight: 500; text-transform: uppercase; color: #8F8F8F; }
  .ft-loc { font-family: var(--body); font-size: 14px; color: #CACACA; }
  .ft-top { font-family: var(--body); font-size: 14px; font-weight: 500; text-transform: uppercase; color: #CACACA; text-decoration: none; }
  .ft-top i { display: inline-block; font-style: normal; transition: transform .4s var(--ease); }
  .ft-top:hover { color: var(--rose); } .ft-top:hover i { transform: translateY(-4px); }
  /* brand band revealed underneath as the footer scrolls away */
  .fband { position: relative; z-index: 1; height: var(--bandH, clamp(170px, 19vw, 290px)); clip-path: inset(0); background: var(--wine); }
  .fband-in { position: fixed; left: 0; right: 0; bottom: 0; height: var(--bandH, clamp(170px, 19vw, 290px)); display: flex; align-items: flex-end; }
  .fband-row { position: relative; width: 100%; height: 100%; display: flex; align-items: flex-end; padding-bottom: clamp(16px, 2vw, 32px); overflow: hidden; }
  .fband-name { margin: 0; font-family: var(--display); font-size: clamp(58px, 15.5vw, 236px); line-height: .9; color: var(--beige); white-space: nowrap; transform: translateY(var(--by, 0%)); }
  .fband-mark { display: block; width: clamp(170px, 36vw, 560px); height: auto; fill: var(--beige); }
  .fband-name sup { font-size: .14em; vertical-align: top; position: relative; top: .5em; margin-left: .1em; color: var(--rose); }
  .fband-tag { position: absolute; top: clamp(24px, 3vw, 44px); right: var(--gutter); margin: 0; text-align: right; font-family: var(--body); font-weight: 600; font-size: clamp(18px, 2.6vw, 40px); line-height: 1; letter-spacing: -.05em; color: var(--rose); }
  @media (max-width: 1000px) {
    .cta-top { grid-template-columns: 1fr; }
    .cta-side { max-width: 420px; }
    .ft-grid { grid-template-columns: 1fr 1fr; gap: 48px 24px; }
    .ft-contact, .ft-copy { grid-column: 1 / -1; }
  }
  @media (max-width: 600px) {
    .cta-photo { top: 0; height: 520px; } .cta-photo img { object-position: 50% 30%; opacity: .6; } .cta-hand img { opacity: .8; }
    .ft-row { flex-direction: column; gap: 6px; }
    .fband { --bandH: 150px; }
    .fband-tag { left: var(--gutter); right: auto; text-align: left; }
  }
  @media (prefers-reduced-motion: reduce) { .js-motion .lt:not(.in) .lt-l { transform: none; opacity: 1; } }

  /* =========== Splash: hand light + HELLO + terminal — first load and every page change =========== */
  .splash { position: fixed; inset: 0; z-index: 10000; overflow: hidden; background: #161616; color: var(--beige); opacity: 1; transition: opacity .5s ease; animation: spFailsafe 0s 7s forwards; }
  @keyframes spFailsafe { to { visibility: hidden; } }
  .splash.js-held { animation: none; }
  .splash.pre { opacity: 0; }
  .splash.is-out { opacity: 0; transition: opacity .7s ease .35s; }
  .splash.is-off { visibility: hidden; }
  .splash.reset, .splash.reset * { transition: none !important; }
  .sp-beam, .sp-hand { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
  .sp-beam { opacity: 0; transition: opacity 1s ease, transform 1.1s var(--ease); }
  .sp-hand { opacity: 0; transform: translateY(30%); transition: transform 1.3s var(--ease), opacity .8s ease; }
  .sp-hello, .sp-term { position: absolute; margin: 0; opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .8s var(--ease); }
  .sp-hello { left: var(--gutter); top: clamp(80px, 12vh, 140px); margin-top: 0; font-family: var(--display); font-size: clamp(60px, 10vw, 170px); line-height: .9; color: var(--beige); }
  .sp-term { right: var(--gutter); top: auto; bottom: clamp(32px, 8vh, 80px); translate: none; font-family: var(--mono); font-size: clamp(12px, 1.1vw, 16px); line-height: 1.9; color: #CACACA; white-space: pre; transition-delay: .12s; }
  .sp-term b { color: var(--rose); font-weight: 400; }
  #spCount { color: var(--beige); font-variant-numeric: tabular-nums; }
  .splash.lit .sp-beam { opacity: 1; }
  .splash.rise .sp-hand { opacity: 1; transform: none; }
  .splash.named .sp-hello, .splash.named .sp-term { opacity: 1; transform: none; }
  .splash.is-out .sp-beam { transform: scale(3.2); }
  .splash.is-out .sp-hand { opacity: 0; transform: translateY(-12%) scale(1.15); }
  .splash.is-out .sp-hello, .splash.is-out .sp-term { opacity: 0; transform: translateY(-14px); transition-delay: 0s; }
  @media (max-width: 720px) {
    .sp-hello { top: 7%; margin-top: 0; }
    .sp-hand { object-position: 50% 30%; }
    .sp-term { right: var(--gutter); left: auto; top: auto; bottom: 6%; translate: none; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
  }
  html.is-loading { overflow: hidden; }
  html.is-loading .th-rise > span { animation-play-state: paused; }

  /* =========== Works page (after nakula /works) =========== */
  .page[hidden] { display: none !important; }
  .wk { background: #1C1C1C; color: #CACACA; padding: clamp(130px, 14vw, 190px) 0 clamp(40px, 6vw, 80px); }
  .wk-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 32px; align-items: end; margin-bottom: clamp(40px, 5vw, 72px); }
  .wk-side p { margin: 0 0 22px; font-family: var(--body); font-weight: 500; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.3; letter-spacing: -.02em; color: #8F8F8F; }
  .wk-filters { display: flex; flex-wrap: wrap; gap: 8px; }
  .wk-chip { display: inline-flex; align-items: flex-start; gap: 4px; padding: 9px 14px; background: transparent; border: 1px solid #3A3A3A; border-radius: 0; color: #CACACA; font-family: var(--mono); font-size: 13px; cursor: pointer; transition: background .3s ease, color .3s ease, border-color .3s ease; }
  .wk-chip::before { content: "["; color: var(--rose); } .wk-chip::after { content: "]"; color: var(--rose); }
  .wk-chip sup { font-size: 9px; color: #8F8F8F; }
  .wk-chip:hover { border-color: var(--beige); }
  .wk-chip.is-on { background: var(--beige); border-color: var(--beige); color: var(--wine); }
  .wk-chip.is-on::before, .wk-chip.is-on::after, .wk-chip.is-on sup { color: var(--wine); }
  .wk-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(48px, 5vw, 72px) 24px; }
  .wk-card { display: block; color: inherit; text-decoration: none; transition: opacity .35s ease, transform .5s var(--ease); }
  .wk-card.is-hiding { opacity: 0; transform: translateY(16px); }
  .wk-card[hidden] { display: none; }
  .wk-img { position: relative; overflow: hidden; aspect-ratio: 684 / 506; background: #262626; clip-path: inset(0); transition: clip-path 1.1s var(--ease); }
  .js-motion .wk-card[data-reveal]:not(.is-in) .wk-img { clip-path: inset(100% 0 0 0); }
  .wk-img img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.15); transition: transform 1.2s var(--ease), opacity .6s ease; }
  .wk-img img.is-loaded { opacity: 1; transform: scale(1); }
  .wk-img { transition: clip-path .9s var(--ease); }
  .wk-card:hover .wk-img, .wk-card:focus-visible .wk-img { clip-path: inset(4% 3% 4% 3%); }
  .wk-card:hover .wk-img img.is-loaded, .wk-card:focus-visible .wk-img img.is-loaded { transform: scale(1.16); transition: transform 1s var(--ease), opacity .6s ease; }
  .wk-go { position: absolute; top: 16px; right: 16px; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--beige); color: var(--wine); font-size: 20px; transform: scale(0) rotate(-45deg); transition: transform .5s var(--ease); }
  .wk-card:hover .wk-go, .wk-card:focus-visible .wk-go { transform: scale(1) rotate(0); }
  .wk-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 20px 0 10px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: #8F8F8F; }
  .wk-meta span:first-child { color: var(--rose); }
  .wk-of { color: var(--muted); }
  .wk-name { margin: 0 0 10px; font-family: var(--body); font-weight: 600; font-size: clamp(28px, 3.9vw, 56px); line-height: 1.05; letter-spacing: -.05em; color: #CACACA; transition: color .3s ease; }
  .wk-card:hover .wk-name { color: var(--beige); }
  .wk-desc { margin: 0; max-width: 46ch; font-family: var(--body); font-weight: 500; font-size: clamp(16px, 1.65vw, 24px); line-height: 1.25; letter-spacing: -.02em; color: #8F8F8F; }
  .lw-img { display: block; width: 100%; height: 100%; object-fit: cover; }
  @media (max-width: 900px) {
    .wk-head { grid-template-columns: 1fr; }
    .wk-grid { grid-template-columns: 1fr; }
  }
  @media (prefers-reduced-motion: reduce) {
    .splash, .sp-in { transition: opacity .3s ease; }
    .splash.is-out { transform: none; opacity: 0; }
    .js-motion .wk-card[data-reveal]:not(.is-in) .wk-img { clip-path: inset(0); }
    .wk-img img { transform: none !important; }
  }

  /* =========== Hero: trusted-by marquee + start a project (after nakula) =========== */
  .th { grid-template-rows: auto auto 1fr auto auto; }
  .th-trust { position: relative; z-index: 1; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 28px; padding: 18px 0 24px; border-top: 1px solid rgba(232, 217, 187, .16); }
  .th-trust-label { font-family: var(--body); font-size: 14px; font-weight: 500; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
  .th-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent 0, #000 12%, #000 88%, transparent 100%); mask-image: linear-gradient(to right, transparent 0, #000 12%, #000 88%, transparent 100%); }
  .th-track { display: flex; width: max-content; animation: thMarquee 38s linear infinite; }
  .th-marquee:hover .th-track { animation-play-state: paused; }
  .th-set { display: flex; align-items: center; gap: 56px; padding-right: 56px; }
  .tm { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: -.03em; color: rgba(232, 217, 187, .72); white-space: nowrap; transition: color .3s ease; }
  .tm i { font-style: normal; font-family: var(--mono); font-weight: 500; font-size: 14px; color: var(--rose); }
  .tm:hover { color: var(--beige); }
  .tm-logo { display: block; height: 28px; width: auto; max-width: 140px; object-fit: contain; filter: brightness(0) invert(.9) sepia(.25); opacity: .8; transition: opacity .3s ease; }
  .tm:hover .tm-logo { opacity: 1; }
  @keyframes thMarquee { to { transform: translateX(-50%); } }
  .th-start { min-width: 300px; justify-content: center; }
  @media (max-width: 720px) {
    .th-trust { grid-template-columns: auto minmax(0, 1fr); gap: 16px 18px; padding: 16px 0 20px; }
    .th-trust-label { font-size: 12px; }
    .tm { font-size: 17px; }
    .th-start { grid-column: 1 / -1; width: 100%; min-width: 0; }
  }
  @media (prefers-reduced-motion: reduce) { .th-track { animation: none; } .th-marquee { overflow-x: auto; } }

  /* =========== Hero -> About scroll hand-off (after nakula) =========== */
  .th-wrap { position: relative; overflow: hidden; background: var(--char); }
  .th { transform-origin: 50% 0; will-change: transform, opacity; }
  .th-trust, .th-name { opacity: var(--fast, 1); }
  .sw { opacity: .22; transition: opacity .25s ease; }
  .sw.on { opacity: 1; }
  @media (prefers-reduced-motion: reduce) { .sw { opacity: 1; } }

  /* Works page palette: wine, beige, off-white only */
  .wk { background: #1C1C1C; color: var(--beige); }
  .wk .lt { color: var(--beige); }
  .wk .lt-l:hover { color: var(--rose); }
  .wk-side p { color: rgba(232, 217, 187, .72); }
  .wk-chip { border-color: rgba(232, 217, 187, .3); color: var(--beige); }
  .wk-chip::before, .wk-chip::after { color: var(--beige); opacity: .6; }
  .wk-chip sup { color: rgba(232, 217, 187, .6); }
  .wk-chip:hover { border-color: var(--beige); color: var(--beige); }
  .wk-chip.is-on { background: var(--beige); border-color: var(--beige); color: var(--wine); }
  .wk-chip.is-on::before, .wk-chip.is-on::after { opacity: 1; }
  .wk-img { background: #262626; }
  .wk-go { background: var(--beige); color: var(--wine); top: calc(4% + 14px); right: calc(3% + 14px); }
  .wk-meta { color: rgba(232, 217, 187, .6); }
  .wk-meta span:first-child { color: var(--beige); }
  .wk-of { color: rgba(232, 217, 187, .6); }
  .wk-name { color: var(--beige); }
  .wk-card:hover .wk-name { color: var(--beige); }
  .wk-desc { color: rgba(232, 217, 187, .7); }

  /* =========== Project page (after nakula /works/blockhaus) =========== */
  .wk-meta { align-items: baseline; }
  .wk-num { font-family: var(--display); font-size: 30px; line-height: 1; letter-spacing: 0; color: var(--beige); }
  .pj { background: #1C1C1C; color: var(--beige); padding: clamp(130px, 13vw, 170px) 0 clamp(60px, 8vw, 110px); }
  .pj-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 400px); gap: 48px; align-items: start; }
  .pj-back { display: inline-block; margin-bottom: 18px; font-family: var(--mono); font-size: 13px; color: rgba(232, 217, 187, .6); text-decoration: none; transition: color .3s ease; }
  .pj-back b { color: var(--beige); font-weight: 400; } .pj-back:hover { color: var(--rose); }
  .pj-title { font-size: clamp(56px, 7.6vw, 124px); color: var(--beige); }
  .pj-title .lt-l:hover { color: var(--rose); }
  .pj-intro { margin: 26px 0 0; max-width: 48ch; font-family: var(--body); font-weight: 500; font-size: clamp(17px, 1.55vw, 22px); line-height: 1.3; letter-spacing: -.02em; color: rgba(232, 217, 187, .72); }
  .pj-meta { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px 20px; margin: 8px 0 0; padding-top: 6px; }
  .pj-meta dt { font-family: var(--body); font-size: 14px; font-weight: 500; text-transform: uppercase; color: rgba(232, 217, 187, .5); padding-top: 4px; }
  .pj-meta dd { margin: 0; font-family: var(--body); font-weight: 500; font-size: clamp(17px, 1.5vw, 22px); line-height: 1.3; letter-spacing: -.02em; color: var(--beige); }
  .pj-meta dd .nw { white-space: nowrap; }
  .pj-meta dd i { font-style: normal; color: rgba(232, 217, 187, .35); margin: 0 .35em; }
  .pj-live { grid-column: 2; justify-self: start; font-family: var(--body); font-weight: 500; font-size: clamp(17px, 1.5vw, 22px); color: var(--beige); text-decoration: none; transition: color .3s ease; }
  .pj-live span { display: inline-block; transition: transform .35s var(--ease); } .pj-live:hover { color: var(--rose); } .pj-live:hover span { transform: translate(3px, -3px); }
  .pj-media { position: relative; margin-top: clamp(48px, 6vw, 84px); aspect-ratio: 3 / 2; overflow: hidden; border-radius: 8px; background: #262626; clip-path: inset(0 0 0 0 round 8px); transition: clip-path 1.2s var(--ease); }
  .pj-media img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12); transition: transform 1.4s var(--ease), opacity .6s ease; }
  .pj-media img.is-loaded { opacity: 1; }
  .pj-media.is-in img.is-loaded { transform: scale(1); }
  .js-motion .pj-media:not(.is-in) { clip-path: inset(12% 6% 12% 6% round 8px); }
  .pj-block { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 32px; margin-top: clamp(80px, 10vw, 150px); }
  .pj-label { margin: 0; font-family: var(--body); font-weight: 600; font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.04em; color: rgba(232, 217, 187, .55); }
  .pj-label i { font-style: normal; color: var(--beige); }
  .pj-text { margin: 0; text-indent: 40px; font-family: var(--body); font-weight: 600; font-size: clamp(22px, 2.25vw, 32px); line-height: 1.22; letter-spacing: -.04em; color: var(--beige); }
  .pj-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
  .pj-list li { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; align-items: baseline; padding-top: 18px; border-top: 1px solid rgba(232, 217, 187, .15); font-family: var(--body); font-weight: 500; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.35; color: rgba(232, 217, 187, .85); }
  .pj-list .n { font-family: var(--display); font-size: 34px; line-height: 1; color: var(--beige); }
  .pj-stack { display: flex; flex-wrap: wrap; gap: 10px; }
  .pj-stack span { padding: 10px 14px; border: 1px solid rgba(232, 217, 187, .3); font-family: var(--mono); font-size: 14px; color: var(--beige); }
  .pj-stack span::before { content: "[ "; opacity: .55; } .pj-stack span::after { content: " ]"; opacity: .55; }
  .pj-quote { margin: clamp(100px, 12vw, 170px) auto 0; max-width: 920px; text-align: left; }
  .pj-quote blockquote { margin: 0; font-family: var(--body); font-weight: 600; font-size: clamp(28px, 3.9vw, 56px); line-height: 1.1; letter-spacing: -.05em; color: var(--beige); text-indent: 1.1em; position: relative; }
  .pj-quote blockquote::before { content: "\201C"; position: absolute; left: -1.1em; top: 0; text-indent: 0; color: var(--beige); }
  .pj-quote figcaption { margin-top: 26px; font-family: var(--body); font-weight: 500; font-size: 18px; color: rgba(232, 217, 187, .6); }
  .pj-more { margin-top: clamp(100px, 12vw, 170px); }
  .pj-more-h { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 56px); }
  .pj-more-h h2 { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(48px, 6vw, 96px); line-height: 1; color: var(--beige); }
  .js-motion [data-pr] { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
  .js-motion [data-pr].is-in { opacity: 1; transform: none; }
  @media (max-width: 900px) {
    .pj-hero, .pj-block { grid-template-columns: 1fr; }
    .pj-block { gap: 18px; }
    .pj-list { grid-template-columns: 1fr; }
    .pj-quote blockquote::before { position: static; margin-right: .1em; }
    .pj-quote blockquote { text-indent: 0; }
  }
  @media (prefers-reduced-motion: reduce) { .pj-media img { transform: none !important; } .js-motion .pj-media:not(.is-in) { clip-path: inset(0 round 8px); } }

  /* =========== Hero: studio background + cut-out portrait under the name (after toms.framer) =========== */
  .th-bg, .th-person, .th-rose { position: absolute; inset: 0; pointer-events: none; }
  /* portrait box starts above the hero so the photo sits higher */
  .th-person, .th-rose { top: -10%; }
  @media (max-width: 720px) { .th-person, .th-rose { top: -6%; } }
  .th-bg, .th-person { z-index: 0; }
  .th-bg img, .th-person img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; }
  .th-bg img, .th-person img { opacity: 0; transition: opacity 1.2s ease; }
  .th-person img { transition-delay: .15s; }
  html:not(.is-loading) .th-bg img, html:not(.is-loading) .th-person img { opacity: 1; }
  /* rose copy of the name, masked to the portrait: letters turn rose where they cross the photo */
  .th-rose .th-name { position: absolute; margin: 0; }
  .th-rose { z-index: 2;
    -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; -webkit-mask-size: cover; mask-size: cover; -webkit-mask-position: 50% 0%; mask-position: 50% 0%;
    opacity: 0; transition: opacity 1.2s ease .15s; }
  html:not(.is-loading) .th-rose { opacity: 1; }
  .th-rose .th-roles { visibility: hidden; }
  @media (min-width: 721px) { .th-word .th-rise > span { background-image: none !important; } }
  /* phones: the photo fills the screen, so instead of the photo mask the name is beige with a few rose waves */
  @media (max-width: 720px) {
    .th-rose { display: none; }
    .th > .th-name .th-word { -webkit-mask-image: none !important; mask-image: none !important; }
  }
  .th-rose .th-word .th-rise > span { background-color: rgba(255, 107, 127, .82); }
  .th-name, .th-word { position: relative; z-index: 1; }
  .th-roles, .th-sub, .th-trust { position: relative; z-index: 3; }
  .th-roles { text-shadow: 0 1px 2px rgba(20, 6, 9, .55), 0 2px 18px rgba(20, 6, 9, .6); }
  @media (max-width: 720px) {
    .th-person img { object-position: 62% 0%; }
    .th-rose { -webkit-mask-position: 62% 0%; mask-position: 62% 0%; }
  }
  /* project title turns rose on hover */
  .wk-card:hover .wk-name, .wk-card:focus-visible .wk-name { color: var(--rose); }

  /* header: status + clock sit on the left until the logo arrives, then slide back */
  .nk-metas { display: flex; align-items: center; gap: 36px; transition: transform .8s var(--ease); }
  .nk:not(.show-logo) .nk-metas { transform: translateX(var(--mx, 0px)); }

  /* header logo: Marco Maher mark (svg) */
  .nk-logo .w.w-svg { display: block; padding: 0; background: none !important; -webkit-text-fill-color: initial; }
  .nk-mark { display: block; height: 44px; width: auto; fill: var(--beige); transition: fill .3s ease; }
  .nk-logo:hover .nk-mark { fill: var(--rose); }
  @media (max-width: 720px) { .nk-mark { height: 30px; } }
  @media (max-width: 380px) { .nk-mark { height: 24px; } .nk-meta b { font-size: 12px; } .nk-meta small { font-size: 9px; } }

  /* footer band: logo and tagline on one line */
  .fband-row { justify-content: space-between; align-items: flex-end; gap: 24px; }
  .fband-tag { position: static !important; margin: 0 0 .3em !important; text-align: right; }
  @media (max-width: 600px) { .fband-tag { text-align: right; font-size: 15px; } }

  /* =========== Fonts: GC Grind for titles, Franie for content =========== */
  h1, h2, h3, .shead-title, .wk-name, .hw-title, .ab-title, .pj-more-h h2, .lt, .th-word, .ab-num, .rv-score, .num, .sp-hello, .copt-name, .mn-links a, .fband-tag, .ts-lead { font-family: var(--display); font-weight: 800; letter-spacing: 0; }
  .th-word { letter-spacing: -.01em; }
  .shead-title em, .ab-title em { font-family: var(--display); font-style: normal; }
  /* "Let's work together" section + footer: white/grey text to beige */
  .cta, .cta .lt, .ft-phone, .ft-col a, .ft-copy p, .ft-loc, .ft-top { color: var(--beige); }
  .cta-side p, .ft-k, .ft-small, .ft-copybox { color: rgba(232, 217, 187, .62); }

  @media (max-width: 720px) { .th-first { font-size: 13vw !important; } }
  /* hero name: side padding so the spread letters sit closer together */
  @media (min-width: 721px) { .th > .th-name, .th-rose .th-name { padding-left: 0; padding-right: 3vw; box-sizing: border-box; } }

  .rv-proj { font-family: var(--display); font-weight: 800; letter-spacing: 0; text-transform: uppercase; font-size: clamp(40px, 4vw, 60px); }

  /* =========== Journal: list + post pages =========== */
  .bl-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
  .bl-card:hover .bl-img img { transform: scale(1.05); }
  .bl-feat .bl-img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20, 20, 20, .92) 10%, rgba(20, 20, 20, .2) 60%, transparent); }
  .bl-feat .bl-body p { max-width: 46ch; color: rgba(232, 217, 187, .75); }
  .bl-card .bl-h { margin: 0; font: inherit; font-family: var(--body); font-weight: 500; font-size: 22px; line-height: 1.15; }
  .bl-feat .bl-h { font-size: clamp(26px, 3vw, 42px); }
  .jr-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .jr-grid .bl-feat { grid-column: span 3; }
  .post-head { max-width: 980px; }
  .post-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 24px; font-family: var(--mono); font-size: 13px; text-transform: uppercase; color: rgba(232, 217, 187, .6); }
  .post-meta b { font-weight: 400; color: var(--rose); }
  .post-title { font-size: clamp(40px, 5.6vw, 88px); line-height: 1; }
  .post-body { max-width: 720px; margin: clamp(56px, 7vw, 96px) auto 0; font-family: var(--body); font-size: clamp(17px, 1.3vw, 20px); line-height: 1.7; color: rgba(232, 217, 187, .86); }
  .post-body p { margin: 0 0 1.2em; }
  .post-body h2 { margin: 2em 0 .6em; font-family: var(--display); font-weight: 800; font-size: clamp(26px, 2.4vw, 36px); line-height: 1.1; color: var(--beige); }
  .post-body ul { margin: 0 0 1.4em; padding-left: 1.2em; }
  .post-body li { margin-bottom: .5em; }
  .post-body li::marker { color: var(--rose); }
  .post-body strong { color: var(--beige); font-weight: 600; }
  @media (max-width: 900px) { .jr-grid { grid-template-columns: 1fr; } .jr-grid .bl-feat { grid-column: auto; } }

  /* numbers: same style as Services (Franie, tight, cut zero, coloured dot) */
  .lw-num, .wk-num, .pj-list .n, .rv-num { font-family: var(--body) !important; font-weight: 600 !important; letter-spacing: -.04em !important; }
  .lw-num { color: var(--beige); height: 1.2em; line-height: 1.2; }
  .lw-num-track span { height: 1.2em; line-height: 1.2; }
  .lw-num .dot { line-height: 1.2; }
  .lw-num-track { transition: transform .7s var(--ease), width .5s var(--ease); }
  .lw-num .dot { color: var(--rose); }
  .wk-num, .pj-list .n { color: var(--beige); font-size: 32px; }
  .wk-num i, .pj-list .n i, .rv-num i { font-style: normal; color: var(--rose); }
  .rv-num { display: block; font-size: clamp(56px, 6vw, 88px); line-height: 1; color: var(--wine); }
  .rv-num i { color: var(--crimson); }
  .rv-proj { font-family: var(--mono) !important; font-weight: 500 !important; font-size: 13px !important; letter-spacing: .06em !important; color: #6B5A57 !important; margin-top: -24px; }

  /* hero layers: wine base -> studio background (blended into the wine) -> portrait */
  .th { background: var(--wine) !important; }
  .th-bg { background: var(--wine); }
  .th-bg img { mix-blend-mode: luminosity; }
  html:not(.is-loading) .th-bg img { opacity: .55; }
  .th-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 80% at 60% 35%, transparent 30%, rgba(42, 15, 20, .55) 100%); pointer-events: none; }

  /* phones/tablets: pin the hero with sticky positioning and let About slide over it */
  @media (max-width: 900px), (hover: none) {
    .th-wrap { position: sticky; top: 0; z-index: 0; }
    .th-wrap ~ * { position: relative; z-index: 1; }
    .th { will-change: transform, opacity; transform-origin: 50% 30%; }
  }

  /* Latest work: solid charcoal so nothing (like the pinned hero) shows through */
  #work.lw { background: var(--char); --paper: var(--char); --line: #3A3A3A; }

  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    html { scroll-behavior: auto; }
  }
