:root {
    --bg: #f3efe7;
    --paper: #faf6ed;
    --ink: #14110d;
    --ink-soft: #6b645c;
    --ink-muted: #968d83;
    --rule: #ddd6c8;
    --accent: #5a3a2b;      /* dark cocoa/clay accent */
    --accent-soft: #8b6a55;
    --highlight: #ffe87a;   /* clear yellow highlighter */
    --serif: 'Fraunces', Georgia, serif;
    --sans: 'Inter', -apple-system, sans-serif;
  }

  * { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    background: var(--bg);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 21px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
  }
  a { color: inherit; }

  /* ---- Design-system tokens: defined once, used everywhere ----
     Bold copy gets the yellow highlighter via .mark / strong.
     Italic emphasis (serif, accent colour) via .em / em inside prose.
     Change the look here and it updates across the whole site. */
  strong, .mark {
    font-weight: 600;
    /* Organic highlighter: two semi-transparent passes at slightly different angles,
       so the ink overlaps unevenly like a real marker stroke and the paper tone shows
       through. Irregular border-radius gives soft, hand-drawn stroke ends. */
    background-image:
      linear-gradient(181deg, transparent 30%, rgba(255, 230, 112, 0.74) 33%, rgba(255, 226, 100, 0.74) 86%, transparent 90%),
      linear-gradient(178deg, transparent 40%, rgba(255, 240, 150, 0.5) 43%, rgba(255, 222, 88, 0.42) 90%, transparent 94%);
    background-repeat: no-repeat;
    padding: 0.06em 0.16em 0.02em;
    border-radius: 0.2em 0.5em 0.28em 0.55em;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
  }
  /* Minimal rail: name and nav, frosted glass on scroll */
  .rail {
    position: fixed;
    top: 0; left: 0; right: 0;
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    pointer-events: none;
    border-bottom: 1px solid transparent;
    transition: background 0.3s ease, backdrop-filter 0.3s ease, border-color 0.3s ease;
  }
  .rail.scrolled {
    pointer-events: auto;
    background: color-mix(in srgb, var(--paper) 70%, transparent);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    backdrop-filter: blur(18px) saturate(1.4);
    border-bottom-color: var(--rule);
  }
  .rail > * { pointer-events: auto; }
  .rail .logo {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    font-family: var(--serif);
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -0.015em;
    text-decoration: none;
    color: var(--ink);
  }
  .rail .logo em {
    font-style: italic;
    font-variation-settings: "opsz" 144, "WONK" 1;
  }
  .rail-avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 40%;
    opacity: 0;
    margin-right: 12px;
    margin-left: -46px;
    box-shadow: 0 0 0 1px var(--rule);
    flex: none;
    transition: margin-left 0.45s cubic-bezier(.22,1,.36,1), opacity 0.4s ease;
  }
  .rail.show-avatar .rail-avatar {
    opacity: 1;
    margin-left: 0;
  }
  .rail nav { display: flex; gap: 24px; }
  .rail nav a {
    font-size: 17px;
    text-decoration: none;
    color: var(--ink);
    transition: color 0.2s;
  }
  .rail nav a:hover { color: var(--accent); }

  /* Wrap */
  .wrap {
    max-width: 950px;
    margin: 0 auto;
    padding: 0 40px;
  }

  /* HERO: one block, no sub-sections */
  .hero {
    padding: 200px 0 120px;
  }
  .hero-avatar {
    display: block;
    width: 104px;
    height: 104px;
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 40%;
    margin-bottom: 32px;
    box-shadow: 0 0 0 1px var(--rule);
  }
  .hero h1 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(48px, 5.5vw, 75px);
    line-height: 1.1;
    letter-spacing: -0.025em;
    font-variation-settings: "opsz" 144;
    margin-bottom: 40px;
  }
  .hero h1 em {
    font-style: italic;
    font-variation-settings: "opsz" 144, "SOFT" 50, "WONK" 1;
    color: var(--accent);
  }
  .hero p {
    font-size: 24px;
    line-height: 1.55;
    color: var(--ink);
    max-width: 800px;
  }
  .hero-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 48px;
    font-size: 17px;
    color: var(--ink-soft);
  }
  .hero-contact a {
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid var(--ink);
    padding-bottom: 1px;
    transition: opacity 0.2s, color 0.2s, border-color 0.2s;
  }
  .hero-contact a:hover { color: var(--accent); border-bottom-color: var(--accent); }

  /* Reveal animation on hero */
  .reveal {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
    line-height: inherit;
  }
  .reveal > span {
    display: inline-block;
    transform: translateY(110%);
    transition: transform 1s cubic-bezier(.22,1,.36,1);
  }
  body.ready .reveal > span { transform: translateY(0); }
  body.ready .reveal:nth-of-type(1) > span { transition-delay: 0.05s; }
  body.ready .reveal:nth-of-type(2) > span { transition-delay: 0.18s; }
  body.ready .reveal:nth-of-type(3) > span { transition-delay: 0.30s; }

  .fade {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.9s 0.5s cubic-bezier(.22,1,.36,1), transform 0.9s 0.5s cubic-bezier(.22,1,.36,1);
  }
  body.ready .fade { opacity: 1; transform: translateY(0); }
  .fade-2 { transition-delay: 0.7s; }

  /* Projects: narrative flow with motion */
  .project {
    padding: 72px 0;
    border-top: 1px solid var(--rule);
  }
  .project-num {
    font-family: var(--sans);
    font-size: 12px;
    color: var(--ink-muted);
    letter-spacing: 0.08em;
    margin-bottom: 16px;
  }
  .project p {
    margin-bottom: 28px;
  }
  .project p.lead {
    font-family: var(--serif);
    font-size: 28px;
    line-height: 1.4;
    font-weight: 400;
    margin-bottom: 40px;
  }
  /* Visual */
  .caption {
    font-family: var(--serif);
    font-style: italic;
    font-size: 17px;
    color: var(--ink-muted);
    margin-bottom: 12px;
    font-variation-settings: "opsz" 144, "WONK" 1;
  }
  .frame {
    margin: 8px 0 28px;
    border-radius: 4px;
    overflow: hidden;
    background: var(--paper);
    border: 1px solid var(--rule);
    box-shadow: 0 1px 0 rgba(0,0,0,0.02), 0 20px 40px -24px rgba(20,17,13,0.18);
  }
  .frame svg { display: block; width: 100%; height: auto; }
  .frame img, .frame video { display: block; width: 100%; height: auto; }
  a.frame {
    display: block;
    text-decoration: none;
    transition: box-shadow 0.4s cubic-bezier(.22,1,.36,1), transform 0.4s cubic-bezier(.22,1,.36,1);
  }
  a.frame:hover {
    transform: translateY(-4px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.02), 0 30px 60px -28px rgba(20,17,13,0.28);
  }
  .frame .placeholder {
    aspect-ratio: 19 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-muted);
    font-size: 15px;
    text-align: center;
    padding: 32px;
  }
  .frame-row {
    display: grid;
    gap: 10px;
    margin: 8px 0 28px;
  }
  .frame-row.cols-3 { grid-template-columns: 1fr 1fr 1fr; }
  .frame-row .frame { margin: 0; box-shadow: 0 1px 0 rgba(0,0,0,0.02), 0 14px 28px -16px rgba(20,17,13,0.14); }

  /* Reveal on scroll */
  .observe {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.9s cubic-bezier(.22,1,.36,1), transform 0.9s cubic-bezier(.22,1,.36,1);
  }
  .observe.in { opacity: 1; transform: translateY(0); }

  /* Case link */
  .case-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    padding-bottom: 2px;
    border-bottom: 1px solid var(--ink);
    transition: gap 0.3s, color 0.2s, border-color 0.2s;
  }
  .case-link:hover { gap: 14px; color: var(--accent); border-color: var(--accent); }
  .case-link svg { width: 16px; height: 16px; transition: transform 0.3s; }
  .case-link:hover svg { transform: translate(2px, -2px); }

  /* Clients: quiet, single line */
  .clients {
    padding: 72px 0;
    border-top: 1px solid var(--rule);
  }
  .clients p {
    font-family: var(--serif);
    font-size: clamp(26px, 2.6vw, 33px);
    line-height: 1.45;
    letter-spacing: -0.005em;
    color: var(--ink);
  }
  .clients p em {
    font-style: italic;
    font-variation-settings: "opsz" 144, "WONK" 1;
    color: var(--accent);
  }
  .clients .list {
    margin-top: 16px;
    color: var(--ink-soft);
    font-size: 18px;
    line-height: 1.7;
  }

  /* Footer / contact */
  footer {
    padding: 72px 0 64px;
    border-top: 1px solid var(--rule);
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    font-size: 17px;
    color: var(--ink-soft);
  }
  footer a {
    color: var(--ink);
    text-decoration: none;
    border-bottom: 1px solid var(--ink);
    padding-bottom: 1px;
    transition: color 0.2s, border-color 0.2s;
  }
  footer a:hover { color: var(--accent); border-bottom-color: var(--accent); }
  footer .right { margin-left: auto; }

  /* Mobile */
  @media (max-width: 700px) {
    body { font-size: 16px; }
    .rail { padding: 16px 20px; }
    .wrap { padding: 0 20px; }
    .hero { padding: 120px 0 64px; }
    .hero h1 { font-size: 34px; }
    .hero p { font-size: 17px; }
    .frame-row.cols-3 { grid-template-columns: 1fr; }
    .project { padding: 40px 0; }
    .clients, footer { padding-top: 48px; padding-bottom: 48px; }
    footer .right { margin-left: 0; }
  }

  /* ---- Case-study pages ---- */
  .cs-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: var(--ink-soft);
    text-decoration: none;
    margin-bottom: 48px;
    transition: gap 0.3s, color 0.2s;
  }
  .cs-back:hover { gap: 14px; color: var(--accent); }
  .cs-hero { padding: 140px 0 56px; }
  .cs-hero h1 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(40px, 5vw, 68px);
    line-height: 1.08;
    letter-spacing: -0.025em;
    margin-bottom: 28px;
    max-width: 16ch;
  }
  .cs-hero .standfirst {
    font-family: var(--serif);
    font-size: 26px;
    line-height: 1.4;
    color: var(--ink);
    max-width: 720px;
  }
  /* Meta row: role / scope, no dates */
  .cs-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    padding: 32px 0;
    margin: 8px 0 24px;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
  }
  .cs-meta div { display: flex; flex-direction: column; gap: 6px; }
  .cs-meta .k { font-size: 13px; color: var(--ink-muted); letter-spacing: 0.04em; }
  .cs-meta .v { font-size: 18px; color: var(--ink); }
  /* Section blocks */
  .cs-section { padding: 56px 0; }
  .cs-section h2 {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(28px, 3.4vw, 40px);
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    max-width: 18ch;
  }
  .cs-section p {
    font-size: 21px;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 760px;
  }
  /* Real-image slot: drop a screenshot in here */
  .cs-shot {
    margin: 40px 0;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--rule);
    background: var(--paper);
    box-shadow: 0 1px 0 rgba(0,0,0,0.02), 0 24px 48px -28px rgba(20,17,13,0.18);
  }
  .cs-shot img { display: block; width: 100%; height: auto; }
  .cs-shot .placeholder {
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-muted);
    font-size: 15px;
    text-align: center;
    padding: 24px;
  }
  .cs-caption {
    font-family: var(--serif);
    font-style: italic;
    font-size: 17px;
    color: var(--ink-muted);
    margin-top: 14px;
    font-variation-settings: "opsz" 144, "WONK" 1;
  }
  .cs-shot-row { display: grid; gap: 14px; }
  @media (min-width: 720px) { .cs-shot-row.cols-2 { grid-template-columns: 1fr 1fr; } }
  /* Outcome stat band */
  .cs-stats {
    display: grid;
    gap: 32px;
    padding: 48px 0;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    margin: 24px 0;
  }
  @media (min-width: 720px) { .cs-stats { grid-template-columns: repeat(3, 1fr); } }
  .cs-stat .n {
    font-family: var(--serif);
    font-size: clamp(36px, 4vw, 52px);
    line-height: 1;
    margin-bottom: 8px;
  }
  .cs-stat .l { font-size: 15px; color: var(--ink-muted); line-height: 1.4; }
  .cs-next {
    padding: 64px 0 120px;
    border-top: 1px solid var(--rule);
  }

  /* TryHackMe case-study layout: follows the image-led reference flow while
     keeping the portfolio typography, colour tokens and header treatment. */
  .case-study {
    padding-bottom: 160px;
  }
  .cs-col {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 64px;
  }
  .case-study .cs-hero {
    padding: 140px 64px 64px;
  }
  .case-study .cs-hero h1 {
    max-width: none;
    margin: 0;
    text-wrap: balance;
  }
  .cs-full-bleed {
    width: min(calc(100vw - 80px), 1840px);
    margin-inline: auto;
    aspect-ratio: var(--cs-media-aspect-desktop, 2989 / 1440);
    line-height: 0;
    border-radius: 4px;
    overflow: hidden;
  }
  .cs-full-bleed img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--cs-media-position, center center);
  }
  .cs-media-placeholder {
    width: 100%;
    height: 100%;
    min-height: 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    background:
      radial-gradient(circle at 35% 30%, rgba(255, 232, 122, 0.26), transparent 32%),
      linear-gradient(135deg, rgba(20, 17, 13, 0.92), rgba(90, 58, 43, 0.76));
    color: var(--paper);
    font-family: var(--serif);
    font-size: clamp(24px, 3vw, 42px);
    line-height: 1.2;
    letter-spacing: -0.015em;
    text-align: center;
  }
  .cs-wordmark {
    display: inline-block;
    margin-bottom: 28px;
    font-size: 24px;
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--ink);
  }
  .cs-wordmark span {
    color: var(--accent-soft);
  }
  .cs-shot-band {
    margin-top: 72px;
  }
  .cs-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    padding-top: 72px;
  }
  .cs-client-logo {
    display: block;
    width: auto;
    height: 48px;
    margin-bottom: 28px;
    object-fit: contain;
    object-position: left center;
  }
  .cs-client-logo-wide {
    height: 32px;
    max-width: 220px;
  }
  .cs-overview p,
  .case-study .cs-section p {
    font-size: 18px;
    line-height: 1.75;
    color: var(--ink-soft);
    max-width: none;
    text-wrap: pretty;
  }
  .case-study .cs-section h2 {
    text-wrap: balance;
  }
  .case-study .cs-section strong,
  .case-study .cs-overview strong {
    background-size: 0 100%, 0 100%;
    transition: background-size 0.85s 0.75s cubic-bezier(.22,1,.36,1);
  }
  .case-study .cs-section.in strong,
  .case-study .cs-overview.in strong {
    background-size: 100% 100%, 100% 100%;
  }
  .case-study .cs-label {
    font-family: var(--sans);
    font-size: 11px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ink-muted);
    margin-bottom: 16px;
  }
  .case-study .cs-section .cs-label,
  .case-study .cs-overview .cs-label {
    font-size: 11px;
    line-height: 1.4;
  }
  .case-study .cs-overview-list .cs-label {
    margin-bottom: 24px;
  }
  .cs-overview-list ul {
    list-style: none;
  }
  .cs-overview-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 14px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--ink-soft);
  }
  .cs-overview-list li::before {
    content: "";
    position: absolute;
    top: 13px;
    left: 0;
    width: 8px;
    height: 1px;
    background: var(--ink-muted);
  }
  .case-study .cs-section {
    padding: 0 64px;
    margin-top: 88px;
  }
  .case-study .cs-section h2 {
    max-width: none;
    margin-bottom: 24px;
  }
  .case-study .cs-section-bridge {
    margin-top: 72px;
  }
  .cs-pull {
    font-family: var(--serif);
    font-size: clamp(24px, 3vw, 34px);
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: -0.015em;
    color: var(--ink);
    padding: 72px 0;
    margin: 88px 0 0;
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
  }
  .cs-footer {
    max-width: none;
    margin: 88px 0 0;
    padding: 52px 0 0;
    justify-content: space-between;
  }
  .cs-footer p,
  .cs-footer a {
    font-size: 14px;
    color: var(--ink-muted);
    text-decoration: none;
  }
  .cs-footer a {
    border-bottom: 0;
  }

  /* Closing module: a curated, narrative "what next" that replaces the old footer */
  .cs-more {
    margin-top: 100px;
    padding-top: 56px;
    border-top: 1px solid var(--rule);
  }
  .cs-more-bridge {
    font-family: var(--serif);
    font-weight: 400;
    font-size: clamp(23px, 2.6vw, 31px);
    line-height: 1.28;
    letter-spacing: -0.018em;
    color: var(--ink);
    max-width: 24ch;
    margin-bottom: 44px;
  }
  .cs-more-cards {
    display: grid;
    gap: 32px;
    margin-bottom: 64px;
  }
  @media (min-width: 640px) { .cs-more-cards { grid-template-columns: 1fr 1fr; gap: 28px; } }
  .cs-more-card { display: block; text-decoration: none; color: inherit; }
  .cs-more-thumb {
    aspect-ratio: 2989 / 1440;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--rule);
    background: var(--paper);
    box-shadow: 0 1px 0 rgba(0,0,0,0.02), 0 16px 32px -22px rgba(20,17,13,0.16);
    margin-bottom: 16px;
    transition: box-shadow 0.4s cubic-bezier(.22,1,.36,1), transform 0.4s cubic-bezier(.22,1,.36,1);
  }
  .cs-more-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .cs-more-card:hover .cs-more-thumb {
    transform: translateY(-4px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.02), 0 26px 50px -26px rgba(20,17,13,0.26);
  }
  .cs-more-name {
    display: block;
    font-family: var(--serif);
    font-size: 23px;
    letter-spacing: -0.015em;
    margin-bottom: 5px;
  }
  .cs-more-desc { display: block; font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
  .cs-more-sublabel { margin-top: 4px; margin-bottom: 22px; }
  .cs-more-mini { display: grid; gap: 26px 24px; }
  @media (min-width: 560px) { .cs-more-mini { grid-template-columns: repeat(3, 1fr); } }
  .cs-more-mini-thumb {
    aspect-ratio: 4 / 3;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid var(--rule);
    margin-bottom: 11px;
  }
  .cs-more-mini-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .cs-more-mini-name {
    display: block;
    font-family: var(--serif);
    font-size: 18px;
    letter-spacing: -0.01em;
    margin-bottom: 3px;
  }
  .cs-more-mini-line { display: block; font-size: 14px; line-height: 1.45; color: var(--ink-soft); }
  .cs-more-copy {
    margin-top: 72px;
    font-size: 13px;
    color: var(--ink-muted);
  }

  @media (max-width: 768px) {
    .case-study {
      padding-bottom: 96px;
    }
    .cs-col,
    .case-study .cs-hero,
    .case-study .cs-section {
      padding-left: 28px;
      padding-right: 28px;
    }
    .case-study .cs-hero {
      padding-top: 72px;
      padding-bottom: 56px;
    }
    .cs-overview {
      grid-template-columns: 1fr;
      gap: 40px;
    }
    .cs-footer {
      padding-top: 40px;
    }
  }

  @media (max-width: 767px) {
    .cs-full-bleed {
      width: 100vw;
      aspect-ratio: var(--cs-media-aspect-mobile, 1 / 1);
      border-radius: 0;
    }
  }

  /* ---- Mini wins: bite-size projects, no click-through ---- */
  .wins {
    padding: 32px 0 24px;
    border-top: 1px solid var(--rule);
  }
  .win {
    display: grid;
    gap: 28px;
    padding: 40px 0;
    border-top: 1px solid var(--rule);
    align-items: center;
  }
  @media (min-width: 720px) { .win { grid-template-columns: 1fr 1fr; gap: 48px; } }
  .win:first-of-type { border-top: 0; }
  .win-visual {
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--rule);
    background: var(--paper);
    box-shadow: 0 1px 0 rgba(0,0,0,0.02), 0 16px 32px -20px rgba(20,17,13,0.14);
  }
  .win-visual img, .win-visual video, .win-visual svg { display: block; width: 100%; height: auto; }
  .win-visual .placeholder {
    aspect-ratio: 4 / 3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink-muted);
    font-size: 14px;
    text-align: center;
    padding: 20px;
  }
  /* even wins put visual on the right */
  @media (min-width: 720px) {
    .win:nth-child(even) .win-visual { order: 2; }
  }
  /* Mini-win crossfade: two images fading on a timer */
  .win-visual .crossfade {
    position: relative;
    aspect-ratio: 4 / 3;
  }
  .win-visual .crossfade > img,
  .win-visual .crossfade > video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transition: opacity 0.8s ease;
  }
  /* No-JS fallback: show the first frame */
  .win-visual .crossfade > :first-child { opacity: 1; }
  /* JS-driven cycle: images dwell on a timer, videos play in full before the fade */
  .win-visual .crossfade.cf-js > * { opacity: 0; }
  .win-visual .crossfade.cf-js > .cf-active { opacity: 1; }
  .win-name {
    font-family: var(--serif);
    font-size: 28px;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
  }
  .win-text { font-size: 19px; line-height: 1.55; margin-bottom: 16px; max-width: 46ch; }
  .win-metric {
    font-family: var(--serif);
    font-size: 22px;
  }
  /* ---- Logo wall ---- */
  .logos {
    padding: 72px 0;
    border-top: 1px solid var(--rule);
  }
  .logos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid var(--rule);
    border-left: 1px solid var(--rule);
  }
  @media (min-width: 560px) { .logos-grid { grid-template-columns: repeat(3, 1fr); } }
  @media (min-width: 860px) { .logos-grid { grid-template-columns: repeat(4, 1fr); } }
  .logo-cell {
    background: var(--bg);
    border-right: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    padding: 32px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--serif);
    font-size: 22px;
    letter-spacing: -0.015em;
    color: var(--ink);
    transition: background 0.3s, color 0.3s;
  }
  .logo-cell:hover { background: var(--ink); color: var(--paper); }
