  /* =========================================
     Tokens
     ========================================= */
  :root {
    --bg:           #fbfbfd;
    --bg-elev:      #ffffff;
    --bg-section:   #f5f5f7;
    --bg-dark:      #0b0b0d;

    --ink:          #1d1d1f;
    --ink-soft:     #424245;
    --ink-mute:     #6e6e73;
    --ink-hair:     #d2d2d7;

    --on-dark:      #f5f5f7;
    --on-dark-soft: #b6b6bb;

    --accent:       #0071e3;       /* Apple-blue style link */
    --accent-ink:   #0058b8;
    --green:        #1f6f43;       /* cricket project accent */
    --green-deep:   #0a4d2e;

    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-sm: 10px;

    --shadow-soft: 0 1px 2px rgba(0,0,0,.04), 0 8px 24px rgba(0,0,0,.06);
    --shadow-card: 0 2px 4px rgba(0,0,0,.04), 0 30px 60px -20px rgba(0,0,0,.18);

    --maxw: 1240px;
    --pad:  clamp(20px, 4vw, 48px);

    --font-display: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", Arial, sans-serif;
    --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
    --font-serif:   "Newsreader", "Iowan Old Style", "Apple Garamond", Georgia, serif;
  }

  @media (prefers-color-scheme: dark) {
    :root {
      --bg:           #000000;
      --bg-elev:      #0f0f10;
      --bg-section:   #0a0a0b;
      --bg-dark:      #0b0b0d;

      --ink:          #f5f5f7;
      --ink-soft:     #c7c7cc;
      --ink-mute:     #86868b;
      --ink-hair:     #2a2a2c;

      --shadow-soft: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.5);
      --shadow-card: 0 2px 4px rgba(0,0,0,.4), 0 30px 60px -20px rgba(0,0,0,.6);
    }
  }

  /* =========================================
     Reset / base
     ========================================= */
  *, *::before, *::after { box-sizing: border-box; }
  html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
  @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

  body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 17px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
  }

  img, svg { display: block; max-width: 100%; }
  a { color: var(--accent); text-decoration: none; }
  a:hover { text-decoration: underline; text-underline-offset: 3px; }

  ::selection { background: var(--ink); color: var(--bg); }

  .container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding-inline: var(--pad);
  }

  /* =========================================
     Nav (Apple-style sticky translucent bar)
     ========================================= */
  .nav {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    background: color-mix(in srgb, var(--bg) 78%, transparent);
    border-bottom: 1px solid color-mix(in srgb, var(--ink) 8%, transparent);
  }
  .nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
  }
  .nav__logo {
    color: var(--ink);
    display: inline-flex;
    align-items: center;
    height: 28px;
  }
  .nav__logo svg { height: 26px; width: auto; }
  .nav__logo:hover { text-decoration: none; opacity: .7; }

  .nav__links { display: flex; gap: clamp(18px, 3vw, 32px); align-items: center; }
  .nav__links a {
    color: var(--ink-soft);
    font-size: 14px;
    font-weight: 500;
  }
  .nav__links a:hover { color: var(--ink); text-decoration: none; }
  /* Button-styled CTA inside the nav — pulls the eye to the conversion link */
  .nav__links a.nav__cta {
    color: var(--bg);
    background: var(--ink);
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: 600;
    transition: transform .2s ease, background .2s ease;
  }
  .nav__links a.nav__cta:hover {
    transform: translateY(-1px);
    background: color-mix(in srgb, var(--ink) 86%, transparent);
    text-decoration: none;
  }

  /* Hamburger button — hidden on desktop, shown on mobile */
  .nav__hamburger {
    display: none;
    width: 40px; height: 40px;
    padding: 0;
    border: 1px solid color-mix(in srgb, var(--ink) 12%, transparent);
    background: transparent;
    border-radius: 10px;
    cursor: pointer;
    color: var(--ink);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: border-color .2s ease;
    -webkit-tap-highlight-color: transparent;
  }
  .nav__hamburger:hover,
  .nav__hamburger:focus-visible {
    border-color: var(--ink);
    outline: none;
  }
  .nav__hamburger span {
    display: block;
    width: 18px;
    height: 1.6px;
    background: currentColor;
    border-radius: 2px;
    transition: transform .25s cubic-bezier(.2,.7,.2,1), opacity .15s ease;
    transform-origin: center;
  }
  /* X state when menu is open */
  .nav.is-menu-open .nav__hamburger span:nth-child(1) {
    transform: translateY(5.6px) rotate(45deg);
  }
  .nav.is-menu-open .nav__hamburger span:nth-child(2) { opacity: 0; }
  .nav.is-menu-open .nav__hamburger span:nth-child(3) {
    transform: translateY(-5.6px) rotate(-45deg);
  }

  /* Mobile menu overlay */
  .nav__mobile-menu {
    display: none;
    position: fixed;
    top: 60px;
    right: 0;
    bottom: 0;
    left: 0;
    background: var(--bg);
    z-index: 49;
    flex-direction: column;
    padding: clamp(20px, 5vw, 32px);
    gap: 4px;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity .25s cubic-bezier(.2,.7,.2,1), transform .25s cubic-bezier(.2,.7,.2,1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .nav__mobile-menu.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
  .nav__mobile-menu a {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(28px, 7vw, 40px);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--ink);
    text-decoration: none;
    padding: 14px 4px;
    border-bottom: 1px solid var(--ink-hair);
    transition: opacity .2s ease;
  }
  .nav__mobile-menu a:active { opacity: 0.6; }
  .nav__mobile-menu a.nav__mobile-cta {
    margin-top: clamp(20px, 4vw, 32px);
    background: var(--ink);
    color: var(--bg);
    border-radius: 16px;
    text-align: center;
    border-bottom: none;
    padding: 18px 24px;
    font-size: clamp(20px, 4.5vw, 24px);
  }
  body.menu-open { overflow: hidden; }

  /* Mobile breakpoint switch */
  @media (max-width: 640px) {
    .nav__links { display: none; }
    .nav__hamburger { display: flex; }
    .nav__mobile-menu { display: flex; }
  }

  /* =========================================
     Hero
     ========================================= */
  .hero {
    padding: clamp(80px, 14vh, 160px) 0 clamp(60px, 10vh, 120px);
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .hero::after {
    /* very faint conic accent — subtle atmosphere */
    content: "";
    position: absolute;
    inset: -20% -10% auto -10%;
    height: 60%;
    background:
      radial-gradient(ellipse 60% 40% at 50% 0%,
        color-mix(in srgb, var(--accent) 10%, transparent) 0%,
        transparent 70%);
    pointer-events: none;
    z-index: 0;
  }
  .hero > * { position: relative; z-index: 1; }

  .eyebrow {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin: 0 0 clamp(20px, 3vh, 28px);
  }

  .hero h1 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(44px, 8vw, 88px);
    line-height: 1.04;
    letter-spacing: -0.035em;
    margin: 0;
  }
  .hero h1 .accent {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    letter-spacing: -0.02em;
  }

  .hero__sub {
    margin: clamp(20px, 3vh, 28px) auto 0;
    max-width: 720px;
    color: var(--ink-soft);
    font-size: clamp(17px, 1.6vw, 21px);
    line-height: 1.5;
  }

  .hero__ctas {
    margin-top: clamp(32px, 5vh, 48px);
    display: inline-flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 22px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 500;
    transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
    will-change: transform;
  }
  .btn:hover { text-decoration: none; transform: translateY(-1px); }
  .btn--primary {
    background: var(--ink);
    color: var(--bg);
  }
  .btn--primary:hover { background: color-mix(in srgb, var(--ink) 86%, transparent); }
  .btn--ghost {
    background: transparent;
    color: var(--ink);
    border: 1px solid color-mix(in srgb, var(--ink) 18%, transparent);
  }
  .btn--ghost:hover { border-color: var(--ink); }
  .btn .arrow { transition: transform .2s ease; }
  .btn:hover .arrow { transform: translateX(2px); }

  /* =========================================
     Section heading
     ========================================= */
  .section {
    padding: clamp(80px, 12vh, 140px) 0;
  }
  .section--alt { background: var(--bg-section); }

  .section__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: clamp(40px, 6vh, 64px);
    flex-wrap: wrap;
  }
  .section__head h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(32px, 4.5vw, 48px);
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin: 0;
  }
  .section__head p {
    color: var(--ink-mute);
    margin: 0;
    max-width: 380px;
    font-size: 15px;
  }

  /* =========================================
     Featured project (huge Apple-style hero card)
     ========================================= */
  .feature {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    color: var(--on-dark);
    box-shadow: var(--shadow-card);
    isolation: isolate;
  }
  .feature + .feature {
    margin-top: clamp(20px, 3vw, 32px);
  }

  /* Color variants — each project has its own atmosphere */
  .feature--cricket {
    background: linear-gradient(160deg, #0a4d2e 0%, #1f6f43 60%, #0a3b22 100%);
    --feature-ink: #0a3b22;
  }
  .feature--gogi {
    background: linear-gradient(160deg, #7a2d0a 0%, #c2410c 60%, #5a1f08 100%);
    --feature-ink: #7a2d0a;
  }
  .feature--apa {
    background: linear-gradient(160deg, #3a0d18 0%, #6e1a2e 60%, #200508 100%);
    --feature-ink: #3a0d18;
  }
  .feature--stats {
    background: linear-gradient(160deg, #082848 0%, #0f3b6e 60%, #031529 100%);
    --feature-ink: #082848;
  }
  .feature--wag {
    background: linear-gradient(160deg, #2f5540 0%, #3f6b4f 60%, #1e3a2b 100%);
    --feature-ink: #1e3a2b;
  }

  .feature::before {
    /* atmospheric highlight + shadow */
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 60% 40% at 80% 0%, rgba(255,255,255,.18), transparent 60%),
      radial-gradient(ellipse 60% 40% at 0% 100%, rgba(0,0,0,.35), transparent 60%);
    pointer-events: none;
    z-index: 0;
  }

  .feature__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: clamp(24px, 4vw, 48px);
    align-items: center;
    padding: clamp(40px, 6vw, 72px);
  }
  /* Alternate layout: visual on the left, copy on the right */
  .feature--reverse .feature__grid {
    grid-template-columns: 1fr 1.1fr;
  }
  .feature--reverse .feature__copy { order: 2; }
  .feature--reverse .feature__visual { order: 1; }

  @media (max-width: 880px) {
    .feature__grid,
    .feature--reverse .feature__grid { grid-template-columns: 1fr; padding: 32px; }
    .feature--reverse .feature__copy { order: 1; }
    .feature--reverse .feature__visual { order: 2; }
  }

  .feature__tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.78);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    padding: 6px 12px;
    border-radius: 999px;
    width: fit-content;
  }
  .feature__tag .dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--feature-dot, #5ce895);
    box-shadow: 0 0 8px var(--feature-dot, #5ce895);
  }
  .feature--cricket { --feature-dot: #5ce895; }
  .feature--gogi    { --feature-dot: #ffb347; }
  .feature--apa     { --feature-dot: #f4b860; }
  .feature--stats   { --feature-dot: #7dd3fc; }
  .feature--wag     { --feature-dot: #a8d5b5; }

  .feature h3 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(28px, 4vw, 44px);
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin: 18px 0 14px;
    color: #fff;
  }
  .feature p {
    color: rgba(255,255,255,0.82);
    font-size: clamp(15px, 1.4vw, 17px);
    line-height: 1.6;
    margin: 0 0 18px;
    max-width: 50ch;
  }
  .feature p kbd {
    font-family: var(--font-body);
    font-size: 0.9em;
    font-weight: 600;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 6px;
    padding: 1px 6px;
    margin: 0 1px;
    color: #fff;
  }
  .feature__meta {
    display: flex; flex-wrap: wrap; gap: 8px;
    margin: 18px 0 28px;
  }
  .pill {
    font-size: 12px;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 5px 10px;
    border-radius: 999px;
  }
  .feature__ctas { display: inline-flex; gap: 10px; flex-wrap: wrap; }
  .feature .btn--primary { background: #fff; color: var(--feature-ink, #0a3b22); }
  .feature .btn--primary:hover { background: #f0f0f0; }
  .feature .btn--ghost { color: #fff; border-color: rgba(255,255,255,0.32); }
  .feature .btn--ghost:hover { border-color: #fff; }

  .feature__visual {
    border-radius: var(--radius-md);
    overflow: hidden;
    transform: translateY(0);
    transition: transform .6s cubic-bezier(.2,.7,.2,1);
  }
  .feature:hover .feature__visual { transform: translateY(-4px); }
  .feature__visual img { width: 100%; height: auto; display: block; }

  /* =========================================
     Project grid (placeholder for future projects)
     ========================================= */
  .grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(16px, 2vw, 24px);
    margin-top: clamp(24px, 4vh, 40px);
  }
  @media (max-width: 720px) { .grid { grid-template-columns: 1fr; } }

  .card {
    position: relative;
    background: var(--bg-elev);
    border: 1px solid var(--ink-hair);
    border-radius: var(--radius-md);
    padding: 28px;
    min-height: 220px;
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  }
  .card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
    border-color: color-mix(in srgb, var(--ink) 18%, transparent);
  }

  .card--coming {
    background: var(--bg-section);
    border: 1px dashed var(--ink-hair);
    color: var(--ink-mute);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .card--coming h4 {
    margin: 12px 0 6px;
    font-size: 17px;
    font-weight: 600;
    color: var(--ink-soft);
  }
  .card--coming p { margin: 0; font-size: 14px; }
  .card--coming a {
    color: var(--ink);
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid color-mix(in srgb, var(--ink) 30%, transparent);
    transition: border-color .2s ease;
  }
  .card--coming a:hover { border-bottom-color: var(--ink); }

  /* Subtle 'more on the way' line, sits below the feature stack */
  .work__more {
    margin: clamp(28px, 4vw, 40px) 0 0;
    text-align: center;
    color: var(--ink-mute);
    font-size: 15px;
  }
  .work__more a {
    color: var(--ink);
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid color-mix(in srgb, var(--ink) 30%, transparent);
    margin-left: 4px;
    transition: border-color .2s ease;
  }
  .work__more a:hover { border-bottom-color: var(--ink); }

  /* Post-projects CTA banner — converts at the moment of peak interest */
  .work__cta {
    margin: clamp(40px, 5vw, 60px) 0 0;
    background: var(--ink);
    color: var(--bg);
    border-radius: var(--radius-lg);
    padding: clamp(32px, 4vw, 56px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(20px, 3vw, 40px);
    flex-wrap: wrap;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
    isolation: isolate;
  }
  .work__cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(ellipse 50% 60% at 100% 0%, rgba(255,255,255,.08), transparent 60%),
      radial-gradient(ellipse 50% 60% at 0% 100%, rgba(255,255,255,.04), transparent 60%);
    pointer-events: none;
    z-index: -1;
  }
  .work__cta h3 {
    font-family: var(--font-display);
    font-size: clamp(22px, 2.6vw, 30px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 0 0 6px;
    color: var(--bg);
  }
  .work__cta h3 em {
    font-family: var(--font-serif);
    font-weight: 400;
    font-style: italic;
    letter-spacing: -0.015em;
  }
  .work__cta p {
    margin: 0;
    color: color-mix(in srgb, var(--bg) 70%, transparent);
    font-size: 15px;
    max-width: 50ch;
  }
  .work__cta .btn--primary {
    background: var(--bg);
    color: var(--ink);
    flex: 0 0 auto;
  }
  .work__cta .btn--primary:hover {
    background: color-mix(in srgb, var(--bg) 90%, transparent);
  }
  @media (max-width: 720px) {
    .work__cta { text-align: left; }
  }

  /* =========================================
     Project cards (compact grid — homepage teaser + projects index)
     ========================================= */
  .projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(16px, 2vw, 24px);
    margin-top: clamp(32px, 4vw, 48px);
  }
  @media (max-width: 760px) {
    .projects-grid { grid-template-columns: 1fr; }
  }

  .project-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-elev);
    border: 1px solid var(--ink-hair);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    color: var(--ink);
    transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s ease, border-color .3s ease;
    position: relative;
    isolation: isolate;
  }
  .project-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    border-color: color-mix(in srgb, var(--ink) 14%, transparent);
    text-decoration: none;
  }

  /* Thumbnail — the project mockup, in its accent-colored frame */
  .project-card__thumb {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    position: relative;
    display: block;
  }
  .project-card__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform .5s cubic-bezier(.2,.7,.2,1);
  }
  .project-card:hover .project-card__thumb img { transform: scale(1.04); }

  .project-card__body {
    padding: clamp(20px, 2.4vw, 28px);
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1 1 auto;
  }
  .project-card__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin: 0;
  }
  .project-card__eyebrow .dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--card-dot, var(--ink-mute));
  }
  .project-card__title {
    font-family: var(--font-display);
    font-size: clamp(20px, 2.2vw, 24px);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 0;
    line-height: 1.15;
  }
  .project-card__desc {
    font-size: 15px;
    line-height: 1.55;
    color: var(--ink-soft);
    margin: 0;
  }
  .project-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 2px;
  }
  .project-card__meta .pill {
    color: var(--ink-soft);
    background: color-mix(in srgb, var(--ink) 5%, transparent);
    border: 1px solid var(--ink-hair);
  }
  .project-card__link {
    margin-top: auto;
    padding-top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink);
  }
  .project-card__link .arrow { transition: transform .2s ease; }
  .project-card:hover .project-card__link .arrow { transform: translateX(3px); }

  /* Accent color variants for the card dot + thumb frame */
  .project-card--cricket { --card-dot: #1f6f43; }
  .project-card--stats   { --card-dot: #0f3b6e; }
  .project-card--gogi    { --card-dot: #c2410c; }
  .project-card--apa     { --card-dot: #6e1a2e; }
  .project-card--wag     { --card-dot: #3f6b4f; }

  /* "View all projects" row */
  .projects-viewall {
    margin-top: clamp(32px, 4vw, 44px);
    display: flex;
    justify-content: center;
  }

  .card__icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: color-mix(in srgb, var(--ink) 6%, transparent);
    display: grid; place-items: center;
    color: var(--ink-soft);
  }

  /* =========================================
     About — split layout
     ========================================= */
  .about {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(32px, 5vw, 80px);
    align-items: start;
  }
  @media (max-width: 880px) { .about { grid-template-columns: 1fr; } }

  .about h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(32px, 4vw, 44px);
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin: 0 0 8px;
  }
  .about h2 em {
    font-family: var(--font-serif);
    font-weight: 400;
    font-style: italic;
    letter-spacing: -0.015em;
  }
  .about__lede {
    font-size: 17px;
    color: var(--ink-soft);
  }
  .about__body p {
    color: var(--ink-soft);
    font-size: 17px;
    line-height: 1.65;
    margin: 0 0 18px;
  }
  .about__body p strong { color: var(--ink); font-weight: 600; }

  .pills {
    display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px;
  }
  .pills span {
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-soft);
    background: var(--bg-elev);
    border: 1px solid var(--ink-hair);
    padding: 6px 12px;
    border-radius: 999px;
  }

  /* =========================================
     Resume section
     ========================================= */
  .resume {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(32px, 5vw, 80px);
    align-items: start;
  }
  @media (max-width: 880px) { .resume { grid-template-columns: 1fr; } }

  .resume h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(32px, 4vw, 44px);
    line-height: 1.1;
    letter-spacing: -0.025em;
    margin: 0 0 8px;
  }
  .resume h2 em {
    font-family: var(--font-serif);
    font-weight: 400;
    font-style: italic;
    letter-spacing: -0.015em;
  }
  .resume__lede {
    font-size: 17px;
    color: var(--ink-soft);
    margin: 0;
  }
  .resume__panel {
    background: var(--bg-elev);
    border: 1px solid var(--ink-hair);
    border-radius: var(--radius-md);
    padding: clamp(24px, 3vw, 36px);
  }
  .resume__row {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--ink-hair);
  }
  .resume__row:last-of-type { border-bottom: none; }
  .resume__row .role {
    font-weight: 600;
    color: var(--ink);
    font-size: 15px;
    flex: 1 1 auto;
  }
  .resume__row .org {
    color: var(--ink-soft);
    font-size: 14px;
  }
  .resume__row .when {
    color: var(--ink-mute);
    font-size: 13px;
    font-variant-numeric: tabular-nums;
    flex: 0 0 auto;
    white-space: nowrap;
  }
  .resume__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: clamp(20px, 3vw, 28px);
  }

  /* =========================================
     Consult / Hire-me section
     ========================================= */
  .consult__head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto clamp(40px, 6vh, 64px);
  }
  .consult__eyebrow {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ink-mute);
    margin: 0 0 18px;
  }
  .consult__head h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin: 0 0 16px;
  }
  .consult__head h2 em {
    font-family: var(--font-serif);
    font-weight: 400;
    font-style: italic;
    letter-spacing: -0.015em;
  }
  .consult__head p {
    color: var(--ink-soft);
    font-size: clamp(16px, 1.5vw, 19px);
    line-height: 1.5;
    margin: 0;
  }

  /* CTA + trust signals directly under the head */
  .consult__head-cta {
    margin-top: clamp(24px, 3vw, 32px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(16px, 3vw, 28px);
    flex-wrap: wrap;
  }
  .consult__trust {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: clamp(12px, 2vw, 20px);
    flex-wrap: wrap;
    justify-content: center;
  }
  .consult__trust li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    color: var(--ink-soft);
  }
  .consult__trust svg {
    color: #1e8d50;
    flex: 0 0 auto;
  }

  /* Service tiles row */
  .consult__services {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(14px, 1.8vw, 20px);
    margin-bottom: clamp(48px, 7vh, 72px);
  }
  @media (max-width: 880px) {
    .consult__services { grid-template-columns: 1fr; }
  }
  .service-tile {
    background: var(--bg-elev);
    border: 1px solid var(--ink-hair);
    border-radius: var(--radius-md);
    padding: clamp(22px, 2.5vw, 30px);
    transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
  }
  .service-tile:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--ink) 18%, transparent);
    box-shadow: var(--shadow-soft);
  }
  .service-tile__icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: color-mix(in srgb, var(--ink) 6%, transparent);
    display: grid; place-items: center;
    color: var(--ink);
    margin-bottom: 18px;
  }
  .service-tile h3 {
    font-family: var(--font-display);
    font-size: 19px;
    font-weight: 600;
    margin: 0 0 8px;
    letter-spacing: -0.01em;
  }
  .service-tile p {
    font-size: 15px;
    line-height: 1.55;
    color: var(--ink-soft);
    margin: 0;
  }

  /* Intake form panel */
  .consult__form-wrap {
    max-width: 760px;
    margin: 0 auto;
    background: var(--bg-elev);
    border: 1px solid var(--ink-hair);
    border-radius: var(--radius-lg);
    padding: clamp(28px, 4vw, 48px);
    box-shadow: var(--shadow-soft);
  }
  .consult__form-head {
    margin-bottom: clamp(24px, 3vw, 32px);
  }
  .consult__form-head h3 {
    font-family: var(--font-display);
    font-size: clamp(22px, 2.5vw, 28px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin: 0 0 6px;
  }
  .consult__form-head p {
    color: var(--ink-mute);
    font-size: 14px;
    margin: 0;
  }
  .consult-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 18px;
  }
  @media (max-width: 600px) { .consult-form { grid-template-columns: 1fr; } }

  .field { display: flex; flex-direction: column; gap: 8px; }
  .field--full { grid-column: 1 / -1; }
  .field label {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink);
    letter-spacing: -0.005em;
  }
  .field label .optional {
    color: var(--ink-mute);
    font-weight: 500;
    margin-left: 4px;
  }
  .field input,
  .field select,
  .field textarea {
    font: inherit;
    font-size: 15px;
    color: var(--ink);
    background: var(--bg);
    border: 1px solid var(--ink-hair);
    border-radius: 10px;
    padding: 12px 14px;
    width: 100%;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
    -webkit-appearance: none;
    appearance: none;
  }
  .field input::placeholder,
  .field textarea::placeholder { color: var(--ink-mute); }
  .field input:focus,
  .field select:focus,
  .field textarea:focus {
    outline: none;
    border-color: var(--ink);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--ink) 12%, transparent);
  }
  .field input:invalid:not(:placeholder-shown),
  .field textarea:invalid:not(:placeholder-shown) {
    border-color: color-mix(in srgb, #d33 50%, var(--ink-hair));
  }
  .field textarea {
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
  }
  .field select {
    background-image:
      linear-gradient(45deg, transparent 50%, var(--ink-soft) 50%),
      linear-gradient(135deg, var(--ink-soft) 50%, transparent 50%);
    background-position:
      calc(100% - 18px) calc(50% - 2px),
      calc(100% - 13px) calc(50% - 2px);
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    padding-right: 38px;
  }

  .consult-form__submit-row {
    grid-column: 1 / -1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 8px;
  }
  .consult-form__note {
    font-size: 12px;
    color: var(--ink-mute);
    margin: 0;
    line-height: 1.5;
    flex: 1 1 200px;
  }
  .consult-form button[type="submit"] {
    /* re-uses .btn--primary visual */
    flex: 0 0 auto;
    border: none;
    cursor: pointer;
    font-family: inherit;
  }
  .consult-form__success {
    grid-column: 1 / -1;
    display: none;
    background: color-mix(in srgb, #1e8d50 12%, transparent);
    border: 1px solid color-mix(in srgb, #1e8d50 30%, transparent);
    color: var(--ink);
    border-radius: 12px;
    padding: 16px 18px;
    font-size: 14px;
    line-height: 1.5;
  }
  .consult-form.is-sent .consult-form__success { display: block; }

  /* =========================================
     Contact strip
     ========================================= */
  .contact {
    text-align: center;
    padding: clamp(80px, 12vh, 140px) 0;
  }
  .contact h2 {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(40px, 6vw, 72px);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin: 0 0 12px;
  }
  .contact h2 em {
    font-family: var(--font-serif);
    font-weight: 400;
    font-style: italic;
  }
  .contact p {
    margin: 0 auto 32px;
    max-width: 560px;
    color: var(--ink-soft);
    font-size: clamp(16px, 1.4vw, 19px);
  }

  /* Contact methods grid — three tiles for email/phone/linkedin */
  .contact__methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(12px, 1.5vw, 16px);
    max-width: 960px;
    margin: clamp(32px, 5vh, 48px) auto 0;
    text-align: left;
  }
  @media (max-width: 720px) {
    .contact__methods { grid-template-columns: 1fr; max-width: 420px; }
  }
  .contact-tile {
    display: block;
    background: var(--bg-elev);
    border: 1px solid var(--ink-hair);
    border-radius: var(--radius-md);
    padding: 22px 24px;
    color: var(--ink);
    text-decoration: none;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  }
  .contact-tile:hover {
    transform: translateY(-2px);
    border-color: color-mix(in srgb, var(--ink) 18%, transparent);
    box-shadow: var(--shadow-soft);
    text-decoration: none;
  }
  .contact-tile__icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: color-mix(in srgb, var(--ink) 6%, transparent);
    display: grid; place-items: center;
    color: var(--ink-soft);
    margin-bottom: 14px;
  }
  .contact-tile__label {
    font-size: 12px;
    font-weight: 600;
    color: var(--ink-mute);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0 0 4px;
  }
  .contact-tile__value {
    font-size: 14px;
    font-weight: 500;
    color: var(--ink);
    margin: 0;
    overflow-wrap: anywhere;
  }

  /* =========================================
     Footer
     ========================================= */
  .footer {
    border-top: 1px solid var(--ink-hair);
    padding: 32px 0;
    color: var(--ink-mute);
    font-size: 13px;
  }
  .footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
  }
  .footer a { color: var(--ink-mute); }
  .footer a:hover { color: var(--ink); text-decoration: none; }
  .footer__links { display: flex; gap: 18px; flex-wrap: wrap; }

  /* =========================================
     Reveal-on-scroll
     ========================================= */
  .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1);
  }
  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
  @media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
  }

  /* Skip-link a11y */
  .skip {
    position: absolute;
    left: -9999px;
    top: 8px;
    background: var(--ink);
    color: var(--bg);
    padding: 8px 12px;
    border-radius: 8px;
    z-index: 100;
  }
  .skip:focus { left: 8px; }
