  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
  html { scroll-behavior: smooth; }
  body {
    background: #faf7f3;
    color: #0a0a0a;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
  }
  /* Majd-style global grain overlay */
  .grain {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: url('../images/grain.png');
    background-repeat: repeat;
    background-size: 161px 161px;
    opacity: 0.04;
    z-index: 100;
    mix-blend-mode: multiply;
  }

  /* ---------- Fixed nav — glass pill ---------- */
  .nav-pill {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 45vw;
    min-width: 600px;
    max-width: 720px;
    background: rgba(36, 36, 36, 0.5);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    backdrop-filter: blur(20px) saturate(140%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 7px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    z-index: 50;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    transition: width .35s cubic-bezier(.32,.72,0,1), max-width .35s cubic-bezier(.32,.72,0,1);
  }
  .nav-pill.menu-open {
    width: 720px;
    max-width: calc(100vw - 48px);
  }
  .nav-row {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 0;
    height: 35px;
  }
  .nav-pill .nav-link {
    flex: 1 1 0;
    text-align: center;
    font-family: 'Inter', 'Inter Placeholder', system-ui, sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    text-decoration: none;
    padding: 0 12px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: background-color .25s ease, color .25s ease;
  }
  .nav-pill .nav-link:hover,
  .nav-pill .nav-link:focus-visible,
  .nav-pill .nav-link.is-open {
    background: rgba(0, 0, 0, 0.35);
  }

  /* Bouncy character roll on hover */
  .nav-pill .nav-link .roll {
    display: inline-flex;
    overflow: hidden;
    line-height: 1.1;
  }
  .nav-pill .nav-link .char {
    display: inline-block;
    position: relative;
    white-space: pre;
    transition: transform .45s cubic-bezier(.34, 1.56, .64, 1);
    transition-delay: calc(var(--i, 0) * 28ms);
    transform: translateY(0);
  }
  .nav-pill .nav-link .char::after {
    content: attr(data-char);
    position: absolute;
    left: 0;
    top: 100%;
    white-space: pre;
  }
  .nav-pill .nav-link:hover .char,
  .nav-pill .nav-link:focus-visible .char {
    transform: translateY(-100%);
  }

  /* Services dropdown */
  .nav-dropdown {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .4s cubic-bezier(.32,.72,0,1), opacity .25s ease, margin-top .35s cubic-bezier(.32,.72,0,1);
    margin-top: 0;
  }
  .nav-pill.menu-open .nav-dropdown {
    max-height: 640px;
    opacity: 1;
    margin-top: 7px;
  }
  .nav-tiles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }
  .nav-tile {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    min-height: 76px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    color: #ffffff;
    text-decoration: none;
    transform-style: preserve-3d;
    transition: background-color .25s ease, transform .35s cubic-bezier(.4,0,.2,1);
    will-change: transform;
  }
  .nav-tile:hover { background: rgba(255, 255, 255, 0.10); }
  .nav-tile-icon {
    width: 20px;
    height: 20px;
    color: rgba(255, 255, 255, 0.7);
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .nav-tile-name {
    font-family: 'Archivo', 'Archivo Placeholder', sans-serif;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -.01em;
    line-height: 1.15;
  }
  .nav-tile-meta {
    font-family: 'Inter', 'Inter Placeholder', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.45);
    margin-top: 2px;
  }
  @media (max-width: 720px) {
    .nav-pill {
      width: calc(100% - 32px);
      min-width: 0;
      max-width: none;
      height: 44px;
    }
    .nav-pill a { font-size: 13px; padding: 0 6px; }
  }

/* ---------- Scroll stage ---------- */
  .stage {
    position: relative;
    height: 250vh;
  }

  /* Sticky portrait pinned through both sections */
  .portrait-pin {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1800px;
    pointer-events: none;
    z-index: 1;
  }
  .flip-card {
    width: min(340px, 32vw);
    aspect-ratio: 3 / 4;
    position: relative;
    transform-style: preserve-3d;
    transform: rotateY(0deg);
    will-change: transform;
  }
  .face {
    position: absolute;
    inset: 0;
    border-radius: 18px;
    overflow: hidden;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    box-shadow: 0 30px 60px -20px rgba(0,0,0,0.45);
  }
  .face img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .face-front img { filter: grayscale(1); }
  .face-back { transform: rotateY(180deg); }

  /* ---------- Hero (top half of stage) ---------- */
  .hero {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 100vh;
    z-index: 3;
    padding: 100px 56px 80px;
    display: grid;
    grid-template-rows: 1fr auto;
    align-items: center;
    justify-items: center;
    pointer-events: none;
  }
  .hero .hero-footer { pointer-events: auto; }
  .hero-title {
    font-size: clamp(72px, 15.5vw, 240px);
    line-height: .88;
    font-weight: 900;
    text-align: center;
    letter-spacing: -.035em;
    text-transform: uppercase;
    position: relative;
    width: 100%;
  }
  .hero-title .word { display: block; }
  .deco {
    position: absolute;
    width: clamp(60px, 7vw, 110px);
    user-select: none;
    pointer-events: none;
  }
  .deco.star  { top: -2vw;  left: 4vw;  transform: rotate(-8deg); }
  .deco.bolt  { bottom: -4vw; right: -2vw; transform: rotate(12deg); }

  .hero-footer {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    font-weight: 700;
  }
  .hero-footer .copy    { font-size: clamp(20px, 2.4vw, 34px); }
  .hero-footer .credit  { font-size: 13px; font-weight: 500; letter-spacing: .04em; opacity: .75; }

  /* ---------- Hey/Bio (bottom half of stage) ---------- */
  .hey {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 100vh;
    z-index: 3;
    padding: 120px 56px 100px;
    display: grid;
    grid-template-columns: 1fr 1.1fr 1fr;
    column-gap: 40px;
    align-items: stretch;
    pointer-events: none;
  }
  .hey > * { pointer-events: auto; }
  .hey .col-left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .hey .greeting {
    font-size: clamp(64px, 10vw, 160px);
    font-weight: 900;
    letter-spacing: -.04em;
    line-height: .9;
  }
  .hey .bio-left {
    font-size: clamp(20px, 1.7vw, 26px);
    font-weight: 700;
    line-height: 1.25;
    max-width: 24ch;
  }
  .hey .col-right {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 18px;
    max-width: 38ch;
    justify-self: end;
    font-size: 18px;
    line-height: 1.5;
  }
  .hey .col-right p { margin-bottom: 4px; }
  .get-started {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #0a0a0a;
    text-decoration: none;
    font-weight: 600;
    margin-top: 6px;
  }
  .get-started .arrow {
    width: 32px; height: 32px;
    border: 1px solid #0a0a0a;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
  }

  /* ---------- Reveal section (Majd Quote spec) ---------- */
  .reveal {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 4;
    background: #faf7f3;
  }
  .reveal-container {
    width: 100%;
    max-width: 1180px;
    height: 150vh;
    padding: 0 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
  }
  .reveal-content {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  .reveal-text {
    font-family: 'Archivo', 'Archivo Placeholder', sans-serif;
    font-size: 36px;
    line-height: 1.2em;
    font-weight: 500;
    letter-spacing: -0.04em;
    max-width: 820px;
    text-align: center;
    color: #111111;
  }
  .reveal-text .word {
    display: inline-block;
    color: rgba(0, 0, 0, 0.1);
    transition: color 0.3s linear;
    will-change: color;
    margin-right: .25em;
  }
  .reveal-text .word.is-in {
    color: rgb(17, 17, 17);
  }

  /* ---------- Services section ---------- */
  .services {
    padding: 60px 56px 120px;
    background: #faf7f3;
    position: relative;
    z-index: 4;
  }
  .services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    max-width: 1400px;
    margin: 0 auto;
  }
  .service-card {
    position: relative;
    aspect-ratio: 320 / 441;
    border-radius: 28px;
    overflow: hidden;
    background: #d3cfc8;
    color: #faf7f3;
    isolation: isolate;
    cursor: pointer;
  }
  .card-visual {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: filter .8s var(--tw-ease, cubic-bezier(.4,0,.2,1)), transform .8s var(--tw-ease, cubic-bezier(.4,0,.2,1));
  }
  .card-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
  }
  /* Soft top shade so the white title/meta stay legible over light photos */
  .card-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,.38) 0%, rgba(0,0,0,0) 32%);
    pointer-events: none;
  }
  .service-card:hover .card-visual, .service-card.is-open .card-visual {
    filter: blur(30px) saturate(0.85);
    transform: scale(1.05);
  }
  .card-header {
    position: absolute;
    top: 28px;
    left: 28px;
    right: 28px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    z-index: 3;
    pointer-events: none;
  }
  .card-title {
    font-family: 'Archivo', 'Archivo Placeholder', sans-serif;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -.02em;
    color: #faf7f3;
    max-width: 80%;
  }
  .card-meta {
    font-family: 'Archivo', 'Archivo Placeholder', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: rgba(250, 247, 243, 0.85);
    white-space: nowrap;
    margin-top: 4px;
  }
  .card-icon {
    position: absolute;
    left: 28px;
    bottom: 28px;
    z-index: 3;
    color: rgba(250, 247, 243, 0.9);
    pointer-events: none;
    transition: opacity .4s ease;
  }
  .service-card:hover .card-icon, .service-card.is-open .card-icon { opacity: 0; }

  /* Hover reveal — exact CSS from reference: absolute inset-0 z-1 flex flex-col justify-end bg-black/10 opacity-0 .8s */
  .card-reveal {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    gap: 12px;
    background-color: rgba(0, 0, 0, 0.1);
    opacity: 0;
    transition-property: opacity;
    transition-duration: .8s;
    transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    pointer-events: none;
  }
  .service-card:hover .card-reveal, .service-card.is-open .card-reveal { opacity: 1; pointer-events: auto; }
  .card-tags {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  .card-tag {
    background: rgba(250, 247, 243, 0.9);
    color: rgb(17, 17, 17);
    border-radius: 999px;
    padding: 8px 14px;
    font-family: 'Archivo', 'Archivo Placeholder', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: -.01em;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transform: translateY(8px);
    opacity: 0;
    transition: transform .5s cubic-bezier(.32,.72,0,1), opacity .35s ease;
  }
  .service-card:hover .card-tag, .service-card.is-open .card-tag {
    transform: translateY(0);
    opacity: 1;
  }
  .service-card:hover .card-tag:nth-child(1), .service-card.is-open .card-tag:nth-child(1) { transition-delay: .12s; }
  .service-card:hover .card-tag:nth-child(2), .service-card.is-open .card-tag:nth-child(2) { transition-delay: .18s; }
  .service-card:hover .card-tag:nth-child(3), .service-card.is-open .card-tag:nth-child(3) { transition-delay: .24s; }
  .service-card:hover .card-tag:nth-child(4), .service-card.is-open .card-tag:nth-child(4) { transition-delay: .30s; }
  .service-card:hover .card-tag:nth-child(5), .service-card.is-open .card-tag:nth-child(5) { transition-delay: .36s; }
  .service-card:hover .card-tag:nth-child(6), .service-card.is-open .card-tag:nth-child(6) { transition-delay: .42s; }
  .card-more {
    align-self: flex-end;
    color: #faf7f3;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-family: 'Archivo', 'Archivo Placeholder', sans-serif;
    font-size: 14px;
    font-weight: 500;
    margin-top: 8px;
    opacity: 0;
    transform: translateY(8px);
    transition: transform .5s cubic-bezier(.32,.72,0,1) .48s, opacity .35s ease .48s;
  }
  .service-card:hover .card-more, .service-card.is-open .card-more { transform: translateY(0); opacity: 1; }

  .services-cta-wrap {
    display: flex;
    justify-content: center;
    margin-top: 56px;
  }
  .services-cta {
    background: rgb(17, 17, 17);
    color: rgb(250, 247, 243);
    padding: 16px 28px;
    border-radius: 12px;
    font-family: 'Archivo', 'Archivo Placeholder', sans-serif;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: -.01em;
    text-decoration: none;
    transition: transform .25s ease;
  }
  .services-cta:hover { transform: translateY(-2px); }

  /* ---------- Latest Work ---------- */
  .latest-work {
    background: #000000;
    color: #ffffff;
    padding: 96px 32px 140px;
    position: relative;
    z-index: 5;
  }
  .lw-label {
    color: rgba(255, 255, 255, 0.4);
    font-family: 'Inter', 'Inter Placeholder', sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.1em;
    margin-bottom: 28px;
    padding-left: 4px;
  }
  .lw-cards {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  .lw-card {
    position: relative;
    display: grid;
    grid-template-columns: 1.35fr 1fr;
    gap: 56px;
    background: #0d0d0d;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 28px;
    padding: 24px;
    overflow: hidden;
    cursor: none;
    text-decoration: none;
    color: inherit;
  }
  .lw-image {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: #1a1a1a;
  }
  .lw-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s cubic-bezier(.32,.72,0,1);
  }
  .lw-card:hover .lw-image img { transform: scale(1.03); }
  .lw-content {
    display: flex;
    flex-direction: column;
    padding: 24px 24px 20px 8px;
  }
  .lw-title {
    font-family: 'Archivo', 'Archivo Placeholder', sans-serif;
    font-size: 56px;
    font-weight: 500;
    letter-spacing: -.025em;
    line-height: 1.02;
    color: #ffffff;
    margin-bottom: 32px;
  }
  .lw-desc {
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Inter', 'Inter Placeholder', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
    max-width: 540px;
    margin-bottom: auto;
  }
  .lw-meta {
    display: flex;
    gap: 56px;
    margin-top: 48px;
    align-self: flex-end;
  }
  .lw-meta-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 90px;
  }
  .lw-meta-label {
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Inter', 'Inter Placeholder', sans-serif;
    font-size: 14px;
    font-weight: 400;
  }
  .lw-meta-value {
    color: #ffffff;
    font-family: 'Inter', 'Inter Placeholder', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.06em;
  }
  .lw-follower {
    position: absolute;
    pointer-events: none;
    background: #faf7f3;
    color: #0a0a0a;
    padding: 14px 24px;
    border-radius: 999px;
    font-family: 'Archivo', 'Archivo Placeholder', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    white-space: nowrap;
    opacity: 0;
    left: 0;
    top: 0;
    transform: translate(-50%, -50%) scale(.7);
    transition: opacity .2s ease, transform .25s cubic-bezier(.32,.72,0,1);
    z-index: 3;
  }
  .lw-card:hover .lw-follower {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  /* ---------- Scroll-driven zoom section ---------- */
  .zoom-section {
    position: relative;
    height: 280vh;
    background-color: #ffffff;
    z-index: 4;
    transition: background-color 0s linear;
  }
  .zoom-stage {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }
  .zoom-frame {
    position: relative;
    width: 28vw;
    max-width: calc(86vh * 16 / 9);   /* never taller than the viewport at full zoom */
    aspect-ratio: 16 / 9;
    border-radius: 1vw;
    overflow: hidden;
    background: #000;
    will-change: width;
    box-shadow: 0 30px 60px -30px rgba(0,0,0,0.25);
  }
  /* overscan 1px so sub-pixel widths during the zoom never reveal a seam */
  .zoom-frame .pf-media { inset: -1px; width: auto; height: auto; }
  .zoom-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  /* ---------- Responsive ---------- */
  @media (max-width: 900px) {
    .nav-pill {
      width: auto;
      left: 20px;
      right: 20px;
      transform: none;
    }
    .flip-card { width: min(280px, 60vw); }
    .hey {
      grid-template-columns: 1fr;
      grid-template-rows: auto 1fr auto;
      row-gap: 24px;
      padding: 110px 24px 110px;
    }
    .hey .col-left { gap: 24px; }
    .hey .col-right { justify-self: start; max-width: 100%; }
    .hero { padding: 100px 24px 80px; }
    .deco.star { left: 2vw; top: -4vw; }
    .deco.bolt { right: 2vw; bottom: 0; }
    .reveal-container { padding: 0 20px; }
    .reveal-text { font-size: 24px; max-width: 540px; }
    .services { padding: 40px 24px 80px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .card-header { top: 20px; left: 20px; right: 20px; }
    .card-title { font-size: 18px; }
    .card-icon { left: 20px; bottom: 20px; }
    .card-reveal { padding: 20px; }
    .card-tag { font-size: 12px; padding: 6px 12px; }
  }
  @media (max-width: 540px) {
    .services-grid { grid-template-columns: 1fr; }
  }
  @media (max-width: 900px) {
    .latest-work { padding: 64px 20px 80px; }
    .lw-card {
      grid-template-columns: 1fr;
      gap: 16px;
      padding: 16px;
      border-radius: 22px;
      cursor: auto;
    }
    .lw-content { padding: 8px 8px 16px; }
    .lw-title { font-size: 38px; margin-bottom: 20px; }
    .lw-desc { font-size: 15px; }
    .lw-meta { gap: 36px; margin-top: 28px; align-self: flex-start; }
    .lw-follower { display: none; }
  }

  /* ---------- Portfolio video showcase ---------- */
  .portfolio {
    background: #faf7f3;
    padding: 0 24px 40px;
    position: relative;
    z-index: 5;
  }
  /* 2 cards per row on desktop/tablet (4 sub-tracks, each card spans 2) so an odd last card sits centered */
  .pf-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }
  .pf-grid > .pf-card { grid-column: span 2; }
  /* a lone last half-width card sits centred (counting only half-width cards) */
  .pf-grid > .pf-card:last-child:nth-child(odd of .pf-card:not(.pf-card--wide)) { grid-column: 2 / span 2; }
  /* full-row banner card, keeps its own wide shape */
  .pf-grid > .pf-card.pf-card--wide { grid-column: 1 / -1; aspect-ratio: 2560 / 974; }
  .pf-card {
    position: relative;
    display: block;
    aspect-ratio: 947 / 730;         /* landscape block; portrait videos are cropped to their middle band, where the device sits */
    border-radius: 32px;
    overflow: hidden;
    isolation: isolate;              /* keeps rounded clip stable on Safari while video plays */
    background: #1a1a1a;
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
    transform: translateZ(0);
  }
  .pf-media,
  .pf-media img,
  .pf-media video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .pf-media {
    transition: transform .9s cubic-bezier(.32,.72,0,1);
    will-change: transform;
  }
  .pf-card:hover .pf-media { transform: scale(1.03); }
  /* Video sits on top of the static mockup, invisible until a real frame is painted */
  .pf-media video {
    opacity: 0;
    transition: opacity .7s ease;
    pointer-events: none;            /* card link gets the click, never the video */
    background: transparent;
  }
  .pf-card.is-ready .pf-media video,
  .is-ready > video { opacity: 1; }
  /* Light-background projects: dark text, no darkening gradient */
  .pf-card--light { color: #0a0a0a; background: #e4e2df; }
  .pf-card.pf-card--light::after { display: none; }
  .pf-card--light .pf-title, .pf-card--light .pf-tag { text-shadow: none; }
  .pf-media video::-webkit-media-controls { display: none !important; }
  .pf-media video::-webkit-media-controls-start-playback-button { display: none !important; }
  /* Soft gradients so the white text stays readable over any frame */
  .pf-card::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
      linear-gradient(180deg, rgba(0,0,0,.38) 0%, rgba(0,0,0,0) 32%),
      linear-gradient(0deg, rgba(0,0,0,.38) 0%, rgba(0,0,0,0) 28%);
  }
  .pf-title,
  .pf-tag {
    position: absolute;
    z-index: 2;
    left: 32px;
    right: 32px;
    margin: 0;
    pointer-events: none;
    text-shadow: 0 1px 12px rgba(0,0,0,.18);
  }
  .pf-title {
    top: 30px;
    font-family: 'Inter', 'Inter Placeholder', sans-serif;
    font-size: clamp(24px, 2.3vw, 38px);
    font-weight: 500;
    letter-spacing: -.055em;
    line-height: 1.22;
    max-width: 80%;
  }
  .pf-tag {
    bottom: 30px;
    font-family: 'Inter', 'Inter Placeholder', sans-serif;
    font-size: clamp(14px, 1.15vw, 19px);
    font-weight: 500;
    letter-spacing: -.03em;
  }
  @media (max-width: 900px) {
    .portfolio { padding: 0 12px 24px; }
    .pf-grid { gap: 12px; }
    .pf-card { border-radius: 24px; }
    .pf-title { left: 22px; top: 20px; font-size: 24px; }
    .pf-tag { left: 22px; bottom: 20px; font-size: 14px; }
  }
  @media (max-width: 640px) {
    /* Single column: plain stack, so none of the centring spans above can apply */
    .pf-grid { display: flex; flex-direction: column; }
    .pf-grid > .pf-card.pf-card--wide { aspect-ratio: 4 / 3; }   /* phones: crop to the laptop in the middle */
    .pf-title { font-size: 26px; }
    .pf-tag { font-size: 15px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .pf-media, .pf-media video { transition: none !important; }
    .pf-card:hover .pf-media { transform: none; }
  }

  /* ---------- Lenis smooth scroll ---------- */
  html.lenis, html.lenis body { height: auto; }
  .lenis.lenis-smooth { scroll-behavior: auto !important; }
  .lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
  .lenis.lenis-stopped { overflow: clip; }
  .lenis.lenis-smooth iframe { pointer-events: none; }

  /* ---------- Scroll reveal (fade + rise on enter) ---------- */
  .reveal-up {
    opacity: 0;
    transform: translate3d(0, 40px, 0);
    transition: opacity .9s cubic-bezier(.22,.61,.36,1), transform .9s cubic-bezier(.22,.61,.36,1);
    will-change: transform, opacity;
  }
  .reveal-up.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
  /* Stagger service cards within their grid */
  .services-grid .service-card.reveal-up:nth-child(1) { transition-delay: 0ms; }
  .services-grid .service-card.reveal-up:nth-child(2) { transition-delay: 90ms; }
  .services-grid .service-card.reveal-up:nth-child(3) { transition-delay: 180ms; }
  .services-grid .service-card.reveal-up:nth-child(4) { transition-delay: 270ms; }
  .services-grid .service-card.reveal-up:nth-child(5) { transition-delay: 60ms; }
  .services-grid .service-card.reveal-up:nth-child(6) { transition-delay: 150ms; }
  .services-grid .service-card.reveal-up:nth-child(7) { transition-delay: 240ms; }
  .services-grid .service-card.reveal-up:nth-child(8) { transition-delay: 330ms; }
  .pf-grid .pf-card.reveal-up:nth-child(even) { transition-delay: 120ms; }
  /* Stagger latest-work cards within their list */
  .lw-cards .lw-card.reveal-up:nth-child(1) { transition-delay: 0ms; }
  .lw-cards .lw-card.reveal-up:nth-child(2) { transition-delay: 120ms; }
  .lw-cards .lw-card.reveal-up:nth-child(3) { transition-delay: 240ms; }

  @media (prefers-reduced-motion: reduce) {
    .flip-card { transition: none !important; }
    html { scroll-behavior: auto; }
    .reveal-up { opacity: 1 !important; transform: none !important; transition: none !important; }
  }

  /* ---------- Portfolio page (Latest Work layout, one card per site) ---------- */
  body.page-portfolio { background: #000000; }
  .portfolio-page { min-height: 100vh; padding-top: 120px; }
  .lw-image .pf-media { transition: transform .6s cubic-bezier(.32,.72,0,1); }
  .lw-card:hover .lw-image .pf-media { transform: scale(1.03); }
  .lw-card:hover .lw-image .pf-media img { transform: none; }   /* the wrapper scales, so image + video move together */
  .pf-more { display: flex; justify-content: center; padding-top: 32px; }
  @media (max-width: 900px) {
    .portfolio-page { padding-top: 100px; }
  }

  /* ---------- Shared section heading (site type scale) ---------- */
  .sec-head { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
  .sec-label {                 /* same voice as "/CREATING SINCE 2022" and "LATEST WORK" */
    font-family: 'Inter', 'Inter Placeholder', sans-serif;
    font-size: 13px; font-weight: 500; letter-spacing: .1em;
    color: rgba(10,10,10,.5);
  }
  .sec-title {                 /* heavy Inter, like "WEBSITE DEVELOPER" / "Hey!" */
    font-family: 'Inter', 'Inter Placeholder', sans-serif;
    font-size: clamp(44px, 6.4vw, 104px);
    font-weight: 900;
    letter-spacing: -.04em;
    line-height: .92;
    color: #0a0a0a;
    text-wrap: balance;
  }
  .sec-sub {
    max-width: 34rem;
    font-family: 'Inter', 'Inter Placeholder', sans-serif;
    font-size: clamp(16px, 1.25vw, 18px); line-height: 1.6;
    color: rgba(10,10,10,.55);
    text-wrap: balance;
  }
  /* word-by-word rise when the heading scrolls in */
  [data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
  [data-split] .w > span {
    display: inline-block;
    transform: translate3d(0, 105%, 0);
    transition: transform .9s cubic-bezier(.22,.61,.36,1);
    transition-delay: calc(var(--i, 0) * 70ms);
  }
  [data-split].is-in .w > span { transform: translate3d(0, 0, 0); }

  /* ---------- Buttons (site style + nav-style letter roll on hover) ---------- */
  .btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: 52px; padding: 0 26px;
    border-radius: 12px;
    font-family: 'Archivo', 'Archivo Placeholder', sans-serif;
    font-size: 16px; font-weight: 500; letter-spacing: -.01em;
    text-decoration: none; white-space: nowrap;
    border: 0; cursor: pointer;
    transition: transform .25s ease, background .2s ease, color .2s ease, border-color .2s ease;
  }
  .btn:hover { transform: translateY(-2px); }
  .btn:focus-visible { outline: 2px solid #0a0a0a; outline-offset: 3px; }
  .btn-dark { background: #111111; color: #faf7f3; }
  .btn-line { background: transparent; color: #0a0a0a; border: 1px solid rgba(10,10,10,.85); }
  .btn-line:hover { background: #0a0a0a; color: #faf7f3; }
  .btn svg { width: 18px; height: 18px; flex-shrink: 0; transition: transform .3s cubic-bezier(.32,.72,0,1); }
  .btn:hover svg { transform: translateX(3px); }
  .btn .roll { display: inline-flex; overflow: hidden; line-height: 1.2; }
  .btn .char {
    display: inline-block; position: relative; white-space: pre;
    transition: transform .45s cubic-bezier(.34, 1.56, .64, 1);
    transition-delay: calc(var(--i, 0) * 22ms);
  }
  .btn .char::after { content: attr(data-char); position: absolute; left: 0; top: 100%; white-space: pre; }
  .btn:hover .char, .btn:focus-visible .char { transform: translateY(-100%); }

  /* ---------- FAQ ---------- */
  .faq {
    background: #faf7f3;
    padding: 144px 24px 144px;
    position: relative;
    z-index: 5;
  }
  .faq-wrap { max-width: 920px; margin: 0 auto; }
  .faq-list { margin-top: 72px; border-top: 1px solid rgba(10,10,10,.12); }
  .faq-item { border-bottom: 1px solid rgba(10,10,10,.12); }
  .faq-q { margin: 0; font-size: inherit; }
  .faq-trigger {
    width: 100%;
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    padding: 28px 0;
    background: none; border: 0; cursor: pointer; text-align: left;
    font-family: 'Archivo', 'Archivo Placeholder', sans-serif;
    font-size: clamp(19px, 1.7vw, 24px); font-weight: 500;
    letter-spacing: -.02em; line-height: 1.3;
    color: #0a0a0a;
  }
  .faq-trigger span:first-child { transition: transform .4s cubic-bezier(.32,.72,0,1); }
  .faq-trigger:hover span:first-child { transform: translateX(6px); }
  .faq-trigger:focus-visible { outline: 2px solid #0a0a0a; outline-offset: 4px; border-radius: 6px; }
  .faq-icon {                  /* bordered square, like the "Get Started" arrow */
    display: inline-grid; place-items: center; flex-shrink: 0;
    width: 36px; height: 36px; border-radius: 8px;
    border: 1px solid #0a0a0a; color: #0a0a0a;
    transition: background .25s ease, color .25s ease;
  }
  .faq-icon svg { width: 16px; height: 16px; transition: transform .45s cubic-bezier(.34,1.56,.64,1); }
  .faq-trigger:hover .faq-icon { background: #0a0a0a; color: #faf7f3; }
  .faq-trigger[aria-expanded="true"] .faq-icon { background: #0a0a0a; color: #faf7f3; }
  .faq-trigger[aria-expanded="true"] .faq-icon svg { transform: rotate(45deg); }   /* + turns into × */
  /* smooth height animation: 0fr -> 1fr */
  .faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s cubic-bezier(.32,.72,0,1); }
  .faq-a.is-open { grid-template-rows: 1fr; }
  .faq-a-inner { overflow: hidden; }
  .faq-a-inner p {
    max-width: 680px;
    padding: 0 60px 30px 0;
    font-family: 'Inter', 'Inter Placeholder', sans-serif;
    font-size: 16px; line-height: 1.65;
    color: rgba(10,10,10,.55);
    opacity: 0; transform: translateY(-6px);
    transition: opacity .35s ease, transform .45s cubic-bezier(.32,.72,0,1);
  }
  .faq-a.is-open .faq-a-inner p { opacity: 1; transform: none; transition-delay: .08s; }
  .faq-cta {
    margin-top: 72px;
    display: flex; align-items: center; justify-content: space-between; gap: 28px;
    background: #ffffff;
    border: 1px solid rgba(10,10,10,.06);
    border-radius: 28px;
    padding: 36px 40px;
  }
  .faq-cta-title {
    font-family: 'Archivo', 'Archivo Placeholder', sans-serif;
    font-size: clamp(24px, 2.2vw, 32px); font-weight: 500; letter-spacing: -.03em; line-height: 1.1;
    color: #0a0a0a;
  }
  .faq-cta-sub {
    margin-top: 10px; max-width: 30rem;
    font-family: 'Inter', 'Inter Placeholder', sans-serif;
    font-size: 15px; line-height: 1.6; color: rgba(10,10,10,.55);
  }
  .faq-cta-sub a { color: #0a0a0a; font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
  .faq-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
  @media (max-width: 900px) {
    .faq { padding: 96px 20px 104px; }
    .faq-list { margin-top: 48px; }
    .faq-trigger { padding: 22px 0; }
    .faq-a-inner p { padding-right: 0; }
    .faq-cta { flex-direction: column; align-items: flex-start; padding: 28px 24px; border-radius: 22px; margin-top: 48px; }
  }
  @media (max-width: 480px) {
    .faq-cta-actions { width: 100%; }
    .faq-cta-actions .btn { flex: 1 1 100%; }
  }
  @media (prefers-reduced-motion: reduce) {
    .faq-a, .faq-icon, .faq-icon svg, .faq-a-inner p, .faq-trigger span:first-child, .btn, .btn .char { transition: none; }
    [data-split] .w > span { transform: none; transition: none; }
  }

  /* ---------- Client video testimonials ---------- */
  .testimonials {
    background: #faf7f3;
    padding: 144px 24px 0;
    position: relative;
    z-index: 5;
  }
  .tm-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    max-width: 1180px;
    margin: 72px auto 0;
  }
  .tm-card {
    position: relative;
    margin: 0;
    aspect-ratio: 9 / 16;
    border-radius: 28px;
    overflow: hidden;
    isolation: isolate;
    background: #1a1a1a;
    transform: translateZ(0);
  }
  .tm-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
  .tm-video::-webkit-media-controls { display: none !important; }
  .tm-card::after {   /* soft shade so the label stays readable */
    content: ''; position: absolute; inset: 0; pointer-events: none; z-index: 1;
    background: linear-gradient(0deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 30%);
    transition: opacity .3s ease;
  }
  .tm-toggle {
    position: absolute; inset: 0; z-index: 2;
    display: grid; place-items: center;
    background: transparent; border: 0; cursor: pointer; padding: 0;
  }
  .tm-toggle:focus-visible { outline: 3px solid #faf7f3; outline-offset: -6px; border-radius: 28px; }
  .tm-btn {
    display: grid; place-items: center;
    width: 68px; height: 68px; border-radius: 999px;
    background: rgba(255,255,255,.22);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,.35);
    color: #ffffff;
    transition: transform .25s cubic-bezier(.32,.72,0,1), opacity .25s ease, background .2s ease;
  }
  .tm-toggle:hover .tm-btn { transform: scale(1.06); background: rgba(255,255,255,.3); }
  .tm-ic { width: 26px; height: 26px; }
  .tm-ic-play { margin-left: 3px; }
  .tm-ic-pause { display: none; }
  .tm-card.is-playing .tm-ic-play { display: none; }
  .tm-card.is-playing .tm-ic-pause { display: block; }
  /* while playing, the button only shows on hover / keyboard focus */
  .tm-card.is-playing .tm-btn { opacity: 0; transform: scale(.9); }
  .tm-card.is-playing .tm-toggle:hover .tm-btn,
  .tm-card.is-playing .tm-toggle:focus-visible .tm-btn { opacity: 1; transform: scale(1); }
  .tm-card.is-playing::after { opacity: .6; }
  .tm-card.is-loading .tm-btn { animation: tm-pulse 1s ease-in-out infinite; }
  @keyframes tm-pulse { 50% { opacity: .55; } }
  .tm-meta {
    position: absolute; left: 20px; right: 20px; bottom: 20px; z-index: 3;
    display: flex; justify-content: space-between; align-items: center;
    pointer-events: none;
    font: 500 13px/1 'Inter', 'Inter Placeholder', sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #ffffff;
  }
  .tm-dur {
    font-size: 12px; letter-spacing: .04em; padding: 6px 10px; border-radius: 999px;
    background: rgba(0,0,0,.35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  }
  .tm-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; z-index: 3; background: rgba(255,255,255,.18); opacity: 0; transition: opacity .3s ease; }
  .tm-card.is-started .tm-progress { opacity: 1; }
  .tm-bar { display: block; height: 100%; width: 100%; background: #ffffff; transform: scaleX(0); transform-origin: left; }
  @media (max-width: 900px) {
    .testimonials { padding: 96px 0 0; }
    .testimonials .sec-head { padding: 0 20px; }
    .tm-row { margin-top: 48px; }
    /* swipeable row on tablets and phones */
    .tm-row {
      display: flex; gap: 12px; max-width: none;
      overflow-x: auto; scroll-snap-type: x mandatory;
      padding: 0 20px 8px; scroll-padding: 0 20px;
      scrollbar-width: none;
    }
    .tm-row::-webkit-scrollbar { display: none; }
    .tm-card { flex: 0 0 min(72vw, 320px); scroll-snap-align: start; border-radius: 22px; }
    .tm-toggle:focus-visible { border-radius: 22px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .tm-btn, .tm-card::after, .tm-progress { transition: none; }
    .tm-card.is-loading .tm-btn { animation: none; }
  }
  /* stagger FAQ rows and testimonial cards as they rise in */
  .faq-list .faq-item.reveal-up:nth-child(2) { transition-delay: 60ms; }
  .faq-list .faq-item.reveal-up:nth-child(3) { transition-delay: 120ms; }
  .faq-list .faq-item.reveal-up:nth-child(4) { transition-delay: 180ms; }
  .faq-list .faq-item.reveal-up:nth-child(5) { transition-delay: 240ms; }
  .faq-list .faq-item.reveal-up:nth-child(6) { transition-delay: 300ms; }
  .tm-row .tm-card.reveal-up:nth-child(2) { transition-delay: 120ms; }
  .tm-row .tm-card.reveal-up:nth-child(3) { transition-delay: 240ms; }

  /* ---------- Contact popup ---------- */
  .contact-modal {
    margin: auto; padding: 0; border: 0; background: transparent;
    width: min(560px, calc(100vw - 32px));
    max-height: calc(100dvh - 32px);
    color: #faf7f3;
    overflow: visible;
  }
  .contact-modal::backdrop {
    background: rgba(10, 10, 10, .55);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    animation: cm-fade .3s ease both;
  }
  .contact-modal[open] .cm-card { animation: cm-in .45s cubic-bezier(.22,.61,.36,1) both; }
  .contact-modal.is-closing .cm-card { animation: cm-out .22s ease both; }
  .contact-modal.is-closing::backdrop { animation: cm-fade .22s ease reverse both; }
  @keyframes cm-fade { from { opacity: 0; } to { opacity: 1; } }
  @keyframes cm-in { from { opacity: 0; transform: translateY(18px) scale(.97); } to { opacity: 1; transform: none; } }
  @keyframes cm-out { to { opacity: 0; transform: translateY(10px) scale(.98); } }
  .cm-card {
    position: relative;
    background: #0d0d0d;
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 28px;
    padding: 44px 44px 36px;
    box-shadow: 0 40px 100px -30px rgba(0,0,0,.6);
    max-height: calc(100dvh - 32px);
    overflow-y: auto;
  }
  .cm-close {
    position: absolute; top: 20px; right: 20px;
    width: 44px; height: 44px; border-radius: 12px;
    display: grid; place-items: center;
    background: transparent; color: #faf7f3; cursor: pointer;
    border: 1px solid rgba(255,255,255,.18);
    transition: background .2s ease, border-color .2s ease, transform .35s cubic-bezier(.34,1.56,.64,1);
  }
  .cm-close svg { width: 18px; height: 18px; }
  .cm-close:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.35); transform: rotate(90deg); }
  .cm-close:focus-visible, .cm-btn:focus-visible, .cm-value:focus-visible { outline: 2px solid #faf7f3; outline-offset: 3px; }
  .cm-eyebrow {
    display: flex; align-items: center; gap: 14px;
    font: 500 13px/1 'Inter', 'Inter Placeholder', sans-serif; letter-spacing: .14em;
    color: rgba(250,247,243,.6);
  }
  .cm-line { width: 36px; height: 1px; background: #faf7f3; }
  .cm-title {
    margin-top: 18px;
    font-family: 'Inter', 'Inter Placeholder', sans-serif;
    font-size: clamp(40px, 5vw, 56px); font-weight: 900;
    letter-spacing: -.04em; line-height: .95;
  }
  .cm-sub {
    margin-top: 16px;
    font: 400 16px/1.55 'Inter', 'Inter Placeholder', sans-serif;
    color: rgba(250,247,243,.6);
  }
  .cm-rows { margin-top: 28px; border-top: 1px solid rgba(255,255,255,.1); }
  .cm-row { padding: 24px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .cm-row:last-child { border-bottom: 0; padding-bottom: 4px; }
  .cm-label {
    font: 500 12px/1 'Inter', 'Inter Placeholder', sans-serif; letter-spacing: .14em;
    color: rgba(250,247,243,.5);
  }
  .cm-value {
    display: inline-block; margin-top: 12px;
    font-family: 'Archivo', 'Archivo Placeholder', sans-serif;
    font-size: clamp(22px, 2.6vw, 30px); font-weight: 500; letter-spacing: -.03em; line-height: 1.15;
    color: #faf7f3; text-decoration: none;
    background-image: linear-gradient(currentColor, currentColor);
    background-size: 100% 1px; background-repeat: no-repeat; background-position: 0 100%;
    padding-bottom: 4px;
    word-break: break-word;
    transition: background-size .35s cubic-bezier(.32,.72,0,1);
  }
  .cm-value:hover { background-size: 0 1px; background-position: 100% 100%; }
  .cm-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
  .cm-btn {
    display: inline-flex; align-items: center; gap: 10px;
    height: 48px; padding: 0 20px; border-radius: 12px;
    font-family: 'Archivo', 'Archivo Placeholder', sans-serif;
    font-size: 15px; font-weight: 500; letter-spacing: -.01em;
    text-decoration: none; cursor: pointer; white-space: nowrap;
    border: 1px solid transparent;
    transition: transform .25s ease, background .2s ease, border-color .2s ease;
  }
  .cm-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
  .cm-btn:hover { transform: translateY(-2px); }
  .cm-btn-primary { background: #faf7f3; color: #0a0a0a; }
  .cm-btn-primary:hover { background: #ffffff; }
  .cm-btn-wa { background: #1fa855; color: #ffffff; }
  .cm-btn-wa:hover { background: #22b85d; }
  .cm-btn-ghost { background: transparent; color: #faf7f3; border-color: rgba(255,255,255,.22); }
  .cm-btn-ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.4); }
  @media (max-width: 520px) {
    .cm-card { padding: 32px 22px 24px; border-radius: 22px; }
    .cm-close { top: 14px; right: 14px; }
    .cm-actions .cm-btn { flex: 1 1 0; justify-content: center; }
  }
  @media (prefers-reduced-motion: reduce) {
    .contact-modal[open] .cm-card, .contact-modal.is-closing .cm-card,
    .contact-modal::backdrop, .contact-modal.is-closing::backdrop { animation: none; }
  }

  /* nav: keep all four labels whole on small phones */
  @media (max-width: 480px) {
    .nav-pill .nav-link { flex: 1 1 auto; padding: 0 6px; font-size: 14px; }
  }

  /* ---------- Footer ---------- */
  .site-footer {
    position: relative; z-index: 5;
    background: #0a0a0a; color: #faf7f3;
    padding: 120px 56px 32px;
    overflow: hidden;
    border-radius: 40px 40px 0 0;
  }
  body.page-portfolio .site-footer { border-top: 1px solid rgba(255,255,255,.08); }
  .f-top {
    display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px;
    padding-bottom: 72px; border-bottom: 1px solid rgba(255,255,255,.1);
  }
  .f-label {
    font: 500 13px/1 'Inter', 'Inter Placeholder', sans-serif; letter-spacing: .1em;
    color: rgba(250,247,243,.45);
  }
  .f-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; }
  .f-title {
    font-family: 'Inter', 'Inter Placeholder', sans-serif;
    font-size: clamp(44px, 5.8vw, 96px); font-weight: 900;
    letter-spacing: -.04em; line-height: .92;
    max-width: 11ch;
  }
  .f-sub {
    max-width: 30rem;
    font: 400 clamp(16px, 1.2vw, 18px)/1.6 'Inter', 'Inter Placeholder', sans-serif;
    color: rgba(250,247,243,.55);
  }
  .btn-light { background: #faf7f3; color: #0a0a0a; margin-top: 6px; }
  .btn-light:hover { background: #ffffff; }
  .site-footer .btn:focus-visible { outline-color: #faf7f3; }
  .f-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; align-content: start; padding-top: 8px; }
  .f-col ul { list-style: none; margin: 22px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
  .f-link {
    display: inline-flex; align-items: center;
    font: 500 clamp(17px, 1.35vw, 20px)/1.2 'Archivo', 'Archivo Placeholder', sans-serif; letter-spacing: -.01em;
    color: #faf7f3; text-decoration: none;
  }
  .f-link .roll { display: inline-flex; overflow: hidden; line-height: 1.2; }
  .f-link .char {
    display: inline-block; position: relative; white-space: pre;
    transition: transform .45s cubic-bezier(.34, 1.56, .64, 1);
    transition-delay: calc(var(--i, 0) * 22ms);
  }
  .f-link .char::after { content: attr(data-char); position: absolute; left: 0; top: 100%; white-space: pre; }
  .f-link:hover .char, .f-link:focus-visible .char { transform: translateY(-100%); }
  .f-link:focus-visible { outline: 2px solid #faf7f3; outline-offset: 4px; border-radius: 4px; }
  .f-plain li { font: 400 15px/1.45 'Inter', 'Inter Placeholder', sans-serif; color: rgba(250,247,243,.7); }
  .f-clock { display: flex; align-items: center; gap: 10px; font-variant-numeric: tabular-nums; color: #faf7f3 !important; }
  .f-dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: f-pulse 2s infinite; }
  @keyframes f-pulse { 70% { box-shadow: 0 0 0 8px rgba(34,197,94,0); } 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0); } }

  /* giant wordmark, letters rise one by one */
  .f-mark {
    margin: 48px 0 8px;
    font-family: 'Inter', 'Inter Placeholder', sans-serif;
    font-size: 18.6vw; font-weight: 900; text-transform: uppercase;
    letter-spacing: -.055em; line-height: .78;
    text-align: center; white-space: nowrap;
    color: #faf7f3;
    user-select: none;
  }
  .f-mark .c { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .04em; }
  .f-mark .c > span {
    display: inline-block;
    transform: translate3d(0, 105%, 0);
    transition: transform 1.1s cubic-bezier(.22,.61,.36,1);
    transition-delay: calc(var(--i, 0) * 60ms);
  }
  .f-mark.is-in .c > span { transform: translate3d(0, 0, 0); }

  .f-bottom {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1);
    font: 400 14px/1.4 'Inter', 'Inter Placeholder', sans-serif; color: rgba(250,247,243,.55);
  }
  .f-since { font-size: 13px; font-weight: 500; letter-spacing: .04em; }
  .f-top-btn {
    display: inline-flex; align-items: center; gap: 12px;
    color: #faf7f3; text-decoration: none; font-weight: 500;
  }
  .f-top-btn svg {
    width: 32px; height: 32px; padding: 7px; border-radius: 8px;
    border: 1px solid rgba(250,247,243,.6);
    transition: transform .35s cubic-bezier(.34,1.56,.64,1), background .2s ease, color .2s ease;
  }
  .f-top-btn:hover svg { transform: translateY(-4px); background: #faf7f3; color: #0a0a0a; }
  .f-top-btn:focus-visible { outline: 2px solid #faf7f3; outline-offset: 4px; border-radius: 6px; }

  @media (max-width: 1100px) {
    .f-top { grid-template-columns: 1fr; gap: 56px; }
  }
  @media (max-width: 640px) {
    .site-footer { padding: 88px 20px 24px; border-radius: 28px 28px 0 0; }
    .f-top { padding-bottom: 48px; }
    .f-cols { grid-template-columns: 1fr 1fr; gap: 36px 20px; }
    .f-cols .f-col:last-child { grid-column: 1 / -1; }
    .f-mark { margin-top: 36px; }
    .f-bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  }
  @media (prefers-reduced-motion: reduce) {
    .f-mark .c > span { transform: none; transition: none; }
    .f-dot { animation: none; }
    .f-link .char, .f-top-btn svg { transition: none; }
  }
  .f-cols .f-col.reveal-up:nth-child(2) { transition-delay: 100ms; }
  .f-cols .f-col.reveal-up:nth-child(3) { transition-delay: 200ms; }


  /* ---------- Services dropdown (9 services + "All services") ---------- */
  .nav-tile { min-height: 60px; padding: 12px 16px; }
  .nav-tile-name { font-size: 15px; }
  .nav-all {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    margin-top: 6px; height: 46px; border-radius: 14px;
    background: #faf7f3; color: #0a0a0a; text-decoration: none;
    font: 500 15px/1 'Archivo', 'Archivo Placeholder', sans-serif;
    transition: background .2s ease;
  }
  .nav-all svg { width: 16px; height: 16px; transition: transform .3s cubic-bezier(.32,.72,0,1); }
  .nav-all:hover { background: #ffffff; }
  .nav-all:hover svg { transform: translateX(3px); }
  .nav-pill .nav-link[aria-current="page"] { opacity: 1; }
  .nav-pill .nav-link[aria-current="page"] { position: relative; }
  .nav-pill .nav-link[aria-current="page"]::after {   /* small "you are here" dot under the label */
    content: ''; position: absolute; left: 50%; bottom: 2px;
    width: 4px; height: 4px; margin-left: -2px; border-radius: 50%;
    background: currentColor; opacity: .8;
  }
  @media (max-width: 900px) {
    .nav-pill.menu-open { height: auto; }
    .nav-pill.menu-open .nav-dropdown { max-height: calc(100dvh - 110px); overflow-y: auto; overscroll-behavior: contain; }
  }
  @media (max-width: 720px) {
    .nav-tiles { gap: 5px; }
    .nav-tile { min-height: 52px; padding: 10px 12px; gap: 10px; }
    .nav-pill .nav-tile-name { font-size: 13.5px; }
    .nav-tile-icon, .nav-tile-icon svg { width: 16px; height: 16px; }
  }

  /* ---------- Services page ---------- */
  .services-page { padding: 150px 56px 120px; min-height: 100vh; }
  .services-page .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 72px; max-width: 1280px; }
  .services-page .service-card { aspect-ratio: 4 / 5; scroll-margin-top: 110px; outline: none; }
  .services-page .service-card:focus-visible { box-shadow: 0 0 0 3px #faf7f3, 0 0 0 5px #0a0a0a; }
  .services-page .service-card:target { box-shadow: 0 0 0 3px #faf7f3, 0 0 0 5px #0a0a0a; }
  .services-cta-box { max-width: 1280px; margin: 64px auto 0; }
  @media (max-width: 900px) {
    .services-page { padding: 120px 20px 88px; }
    .services-page .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 48px; }
  }
  @media (max-width: 540px) {
    .services-page .services-grid { grid-template-columns: 1fr; }
  }

  /* =====================================================================
     Brand accent: matte red for primary (formerly black) CTAs
     ===================================================================== */
  :root { --accent: #B80C09; --accent-hover: #9F0A08; }
  .btn-dark, .services-cta { background: var(--accent); color: #faf7f3; }
  .btn-dark:hover, .services-cta:hover { background: var(--accent-hover); }
  .cm-btn-primary { background: var(--accent); color: #faf7f3; }
  .cm-btn-primary:hover { background: var(--accent-hover); }
  .site-footer .btn-light { background: var(--accent); color: #faf7f3; }
  .site-footer .btn-light:hover { background: var(--accent-hover); }
  .faq-trigger[aria-expanded="true"] .faq-icon { background: var(--accent); border-color: var(--accent); }
  .tm-progress .tm-bar { background: var(--accent); }

  /* =====================================================================
     Footer polish
     ===================================================================== */
  .site-footer::before {          /* soft matte-red glow behind the headline */
    content: ''; position: absolute; pointer-events: none;
    width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
    left: -18vw; top: -32vw;
    background: radial-gradient(closest-side, rgba(184,12,9,.22), rgba(184,12,9,0));
  }
  .f-top, .f-mark, .f-bottom { position: relative; }
  .f-label { display: inline-flex; align-items: center; gap: 10px; }
  .f-cta > .f-label::before {     /* red status dot on "available" */
    content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent);
    box-shadow: 0 0 0 4px rgba(184,12,9,.18);
  }
  .f-title { max-width: 12ch; }
  .f-cols { border-left: 1px solid rgba(255,255,255,.08); padding-left: 48px; }
  .f-col ul { gap: 12px; }
  .f-link { position: relative; }
  .f-link::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px;
    background: var(--accent); transform: scaleX(0); transform-origin: right;
    transition: transform .45s cubic-bezier(.32,.72,0,1);
  }
  .f-link:hover::after, .f-link:focus-visible::after { transform: scaleX(1); transform-origin: left; }
  .f-plain li { color: rgba(250,247,243,.6); }
  .f-mark {
    margin: 64px 0 0; text-align: left; font-size: 18vw;   /* JS fits it to the exact width */
    line-height: .8; letter-spacing: -.05em;
  }
  .f-mark .c:last-child { margin-right: 0; }
  .f-bottom { margin-top: 28px; }
  .f-top-btn svg { border-color: rgba(250,247,243,.35); }
  .f-top-btn:hover svg { background: var(--accent); border-color: var(--accent); color: #faf7f3; }
  @media (max-width: 1100px) {
    .f-cols { border-left: 0; padding-left: 0; padding-top: 0; }
  }

  /* =====================================================================
     Mobile menu drawer (≤ 720px)
     ===================================================================== */
  .m-bar, .m-drawer { display: none; }
  @media (max-width: 720px) {
    .nav-pill { height: auto !important; padding: 6px 6px 6px 18px; border-radius: 18px; }
    .nav-pill .nav-row, .nav-pill .nav-dropdown { display: none !important; }
    .m-bar { display: flex; align-items: center; justify-content: space-between; height: 40px; }
    .nav-pill .m-logo {
      font: 800 18px/1 'Inter', 'Inter Placeholder', sans-serif; letter-spacing: -.03em;
      color: #ffffff; text-decoration: none; padding: 0;
    }
    .m-toggle {
      position: relative; width: 44px; height: 40px; border-radius: 12px; border: 0; cursor: pointer;
      background: rgba(255,255,255,.12);
    }
    .m-toggle span {
      position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: #ffffff;
      transition: transform .4s cubic-bezier(.32,.72,0,1), top .4s cubic-bezier(.32,.72,0,1);
    }
    .m-toggle span:nth-child(1) { top: 15px; }
    .m-toggle span:nth-child(2) { top: 23px; }
    .drawer-open .m-toggle span:nth-child(1) { top: 19px; transform: rotate(45deg); }
    .drawer-open .m-toggle span:nth-child(2) { top: 19px; transform: rotate(-45deg); }
    .drawer-open .nav-pill { background: rgba(36,36,36,.9); }

    .m-drawer {
      display: flex; flex-direction: column; justify-content: space-between;
      position: fixed; inset: 0; z-index: 49;
      background: #0a0a0a; color: #faf7f3;
      padding: 108px 24px 32px;
      overflow-y: auto; overscroll-behavior: contain;
      clip-path: inset(0 0 100% 0);
      visibility: hidden;
      transition: clip-path .6s cubic-bezier(.76,0,.24,1), visibility 0s linear .6s;
    }
    .drawer-open .m-drawer { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .6s cubic-bezier(.76,0,.24,1), visibility 0s; }
    .drawer-open body { overflow: hidden; }
    .m-links { list-style: none; margin: 0; padding: 0; }
    .m-item { border-bottom: 1px solid rgba(255,255,255,.1); overflow: hidden; }
    .m-item > a, .m-sub-toggle {
      display: flex; align-items: center; justify-content: space-between; width: 100%;
      padding: 18px 0; background: none; border: 0; cursor: pointer; text-align: left;
      font: 900 clamp(34px, 10vw, 44px)/1 'Inter', 'Inter Placeholder', sans-serif; letter-spacing: -.04em;
      color: #faf7f3; text-decoration: none;
      transform: translateY(100%); opacity: 0;
      transition: transform .7s cubic-bezier(.22,.61,.36,1), opacity .5s ease, color .2s ease;
    }
    .drawer-open .m-item > a, .drawer-open .m-sub-toggle { transform: none; opacity: 1; }
    .drawer-open .m-item:nth-child(1) > a { transition-delay: .18s; }
    .drawer-open .m-item:nth-child(2) .m-sub-toggle { transition-delay: .24s; }
    .drawer-open .m-item:nth-child(3) > a { transition-delay: .30s; }
    .drawer-open .m-item:nth-child(4) > a { transition-delay: .36s; }
    .m-item [aria-current="page"] { color: var(--accent); }
    .m-plus {
      display: grid; place-items: center; width: 36px; height: 36px; border-radius: 8px;
      border: 1px solid rgba(250,247,243,.4); flex-shrink: 0;
    }
    .m-plus svg { width: 16px; height: 16px; transition: transform .45s cubic-bezier(.34,1.56,.64,1); }
    .m-sub-toggle[aria-expanded="true"] .m-plus { background: var(--accent); border-color: var(--accent); }
    .m-sub-toggle[aria-expanded="true"] .m-plus svg { transform: rotate(45deg); }
    .m-sub { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s cubic-bezier(.32,.72,0,1); }
    .m-sub.is-open { grid-template-rows: 1fr; }
    .m-sub > div { overflow: hidden; }
    .m-sub ul { list-style: none; margin: 0; padding: 0 0 18px; display: grid; gap: 4px; }
    .m-sub a {
      display: flex; align-items: center; gap: 8px; padding: 9px 0;
      font: 500 17px/1.2 'Archivo', 'Archivo Placeholder', sans-serif; color: rgba(250,247,243,.75); text-decoration: none;
    }
    .m-sub a:active { color: #faf7f3; }
    .m-sub-all a { color: #faf7f3; }
    .m-sub-all svg { width: 16px; height: 16px; }
    .m-foot {
      display: flex; flex-direction: column; gap: 18px; padding-top: 32px;
      opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .6s cubic-bezier(.22,.61,.36,1);
    }
    .drawer-open .m-foot { opacity: 1; transform: none; transition-delay: .45s; }
    .m-foot .btn { width: 100%; }
    .m-foot p { font: 500 12px/1.4 'Inter', 'Inter Placeholder', sans-serif; letter-spacing: .1em; color: rgba(250,247,243,.45); }
  }

  /* =====================================================================
     Phones & tablets: homepage stage, zoom, portfolio cards
     ===================================================================== */
  @media (max-width: 900px) {
    /* hero + about stack in normal flow; the portrait sits between them and flips as you scroll */
    .stage { height: auto; display: flex; flex-direction: column; }
    .hero { position: relative; order: 1; height: auto; min-height: 88svh; padding: 110px 20px 32px; }
    .hero-title { font-size: clamp(40px, 13.4vw, 120px); }
    .hero-footer .credit { font-size: 11px; }
    .portrait-pin { position: relative; order: 2; height: auto; padding: 8px 0 24px; }
    .flip-card { width: min(320px, 74vw); }
    .hey {
      position: relative; order: 3; height: auto;
      padding: 40px 20px 72px; pointer-events: auto;
    }
    .hey .col-left { justify-content: flex-start; }
    .hey .greeting { font-size: clamp(64px, 20vw, 120px); }
    .hey .bio-left { max-width: none; }
    .zoom-section { height: 170vh; }
    .zoom-frame { border-radius: 14px; }
  }
  @media (max-width: 900px) {
    /* project cards: media on top, title + service underneath (no text over the screenshots) */
    .pf-card { aspect-ratio: auto; display: flex; flex-direction: column; padding-bottom: 20px; }
    .pf-card::after { display: none; }
    .pf-media { position: relative; inset: auto; width: 100%; height: auto; aspect-ratio: 1440 / 1110; }
    .pf-grid > .pf-card.pf-card--wide { aspect-ratio: auto; }
    .pf-grid > .pf-card.pf-card--wide .pf-media { aspect-ratio: 4 / 3; }
    .pf-title, .pf-tag { position: static; text-shadow: none; padding: 0 20px; }
    .pf-title { order: 2; margin-top: 18px; font-size: 24px; max-width: none; }
    .pf-tag { order: 3; margin-top: 6px; font-size: 14px; opacity: .7; }
    .pf-card:hover .pf-media { transform: none; }
  }
  @media (max-width: 640px) {
    .pf-grid { gap: 14px; }
    .pf-title { font-size: 26px; }
    .pf-tag { font-size: 15px; }
  }

  /* Projects page: client logo in place of the project name */
  .lw-title--logo { display: flex; align-items: center; min-height: 88px; margin-bottom: 28px; }
  .lw-title--logo img { display: block; max-width: 100%; height: auto; }
  @media (max-width: 900px) {
    .lw-title--logo { min-height: 64px; margin-bottom: 16px; }
    .lw-title--logo img { transform: scale(.82); transform-origin: left center; }
  }

  /* Desktop nav: pill hugs its four links instead of stretching them apart */
  @media (min-width: 721px) {
    .nav-pill { width: auto; min-width: 0; max-width: none; }
    .nav-row { justify-content: center; gap: 4px; }
    .nav-pill .nav-link { flex: 0 0 auto; padding: 0 22px; }
    .nav-pill.menu-open { width: 720px; max-width: calc(100vw - 48px); }
    .nav-pill.menu-open .nav-row { justify-content: space-around; }
  }
  /* footer without the wordmark: bottom bar sits right under the columns */
  .f-top { border-bottom: 0; padding-bottom: 56px; }

  /* Services page: 4 services in one row on desktop */
  .services-page .services-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  @media (max-width: 1100px) { .services-page .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
  @media (max-width: 540px) { .services-page .services-grid { grid-template-columns: 1fr; } }

  /* Homepage project cards: white, so they run seamlessly into the (white) showcase below */
  .portfolio { background: linear-gradient(180deg, #faf7f3 0, #ffffff 72px); padding-top: 72px; }

  /* =====================================================================
     Brand palette (from the portrait lighting)
       Deep Crimson  #A71322  — primary accent (CTAs, highlights)
       Scarlet       #C00025  — hover / brighter highlight
       Dark Burgundy #510612  — deep shadows, glows
       Black Cherry  #2B0B0F  — red-tinted blacks for dark sections
     ===================================================================== */
  :root {
    --brand-crimson: #A71322;
    --brand-scarlet: #C00025;
    --brand-burgundy: #510612;
    --brand-cherry: #2B0B0F;
    --accent: var(--brand-crimson);
    --accent-hover: var(--brand-scarlet);
  }
  ::selection { background: var(--brand-crimson); color: #faf7f3; }

  /* small labels pick up the crimson */
  .sec-label, .lw-label { color: var(--brand-crimson); }
  .site-footer .f-label, .cm-label, .cm-eyebrow { color: rgba(214, 120, 128, .85); }
  .cm-line { background: var(--brand-crimson); }

  /* red-tinted blacks on dark surfaces */
  .site-footer {
    background:
      radial-gradient(120% 70% at 100% 100%, rgba(81,6,18,.55), rgba(81,6,18,0) 60%),
      linear-gradient(180deg, #0a0a0a 0%, var(--brand-cherry) 100%);
  }
  .site-footer::before { background: radial-gradient(closest-side, rgba(167,19,34,.28), rgba(167,19,34,0)); }
  .f-cta > .f-label::before { background: var(--brand-scarlet); box-shadow: 0 0 0 4px rgba(192,0,37,.2); }
  .site-footer .btn-light { background: var(--accent); }
  .site-footer .btn-light:hover { background: var(--accent-hover); }

  body.page-portfolio {
    background:
      radial-gradient(90% 50% at 50% 0%, rgba(81,6,18,.45), rgba(81,6,18,0) 70%) no-repeat,
      #000000;
  }
  .latest-work { background: transparent; }
  body:not(.page-portfolio) .latest-work { background: #000; }
  .lw-card { background: linear-gradient(160deg, #110a0b 0%, #0d0d0d 55%); border-color: rgba(167,19,34,.14); }
  .lw-card:hover { border-color: rgba(167,19,34,.35); }
  .lw-meta-label { color: rgba(214, 120, 128, .75); }

  .cm-card {
    background:
      radial-gradient(90% 60% at 0% 0%, rgba(81,6,18,.55), rgba(81,6,18,0) 70%),
      linear-gradient(180deg, #0d0d0d, var(--brand-cherry));
    border-color: rgba(167,19,34,.3);
  }
  .contact-modal::backdrop { background: rgba(43, 11, 15, .6); }

  .tm-card { background: var(--brand-cherry); }
  .pf-card { background: var(--brand-cherry); }
  @media (max-width: 720px) {
    .m-drawer {
      background:
        radial-gradient(120% 60% at 100% 100%, rgba(81,6,18,.6), rgba(81,6,18,0) 65%),
        linear-gradient(180deg, #0a0a0a, var(--brand-cherry));
    }
    .m-foot p { color: rgba(214, 120, 128, .75); }
  }

  /* hover accents on light sections */
  .faq-trigger:hover .faq-icon { background: var(--brand-crimson); border-color: var(--brand-crimson); color: #faf7f3; }
  .get-started:hover .arrow { background: var(--brand-crimson); border-color: var(--brand-crimson); color: #faf7f3; }
  .get-started .arrow { transition: background .25s ease, color .25s ease, border-color .25s ease; }
  .btn:focus-visible, .faq-trigger:focus-visible { outline-color: var(--brand-crimson); }
  .f-link::after { background: var(--brand-scarlet); }

  /* =====================================================================
     Hero objects: Shopify bag, live metric card, Liquid editor, design cursor
     ===================================================================== */
  .hi { font-size: clamp(7px, .78vw, 12.5px); animation: hi-float 7s ease-in-out infinite; transform: rotate(var(--r, 0deg)); }
  @keyframes hi-float {
    0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
    50%      { transform: translateY(-.9em) rotate(calc(var(--r, 0deg) * .5)); }
  }
  .hi-shopify {
    width: 7.4em; height: auto;
    filter: drop-shadow(0 1.6em 1.2em rgba(40, 60, 10, .28)) drop-shadow(0 .2em .25em rgba(0,0,0,.18)) saturate(1.08) contrast(1.04);
    top: -5.6em; left: 6em; --r: -11deg;
  }
  .hi-metric {
    display: flex; flex-direction: column; gap: .35em;
    width: 13.2em; padding: 1.05em 1.15em .9em;
    background: #ffffff; border-radius: 1.3em; text-align: left; text-transform: none; letter-spacing: 0;
    border: 1px solid rgba(10,10,10,.06);
    box-shadow: 0 2.2em 3em -1.4em rgba(10,10,10,.35), 0 .2em .5em rgba(10,10,10,.06);
    top: -6.4em; right: 10em; --r: 6deg; animation-delay: -2.5s;
  }
  .hi-metric-top { display: flex; align-items: center; gap: .5em; font: 500 .95em/1 'Inter', sans-serif; color: rgba(10,10,10,.55); }
  .hi-metric-top i { width: .6em; height: .6em; border-radius: 50%; background: #1fa855; box-shadow: 0 0 0 .22em rgba(31,168,85,.18); }
  .hi-metric b { font: 800 2.3em/1 'Inter', sans-serif; letter-spacing: -.04em; color: #0a0a0a; }
  .hi-metric svg { width: 100%; height: 2.6em; display: block; }
  .hi-code {
    display: block; width: 17.5em; border-radius: 1.1em; overflow: hidden; text-align: left; text-transform: none; letter-spacing: 0;
    background: #141012; border: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 2.4em 3.2em -1.4em rgba(10,10,10,.55);
    bottom: -8.2em; right: -1em; --r: 7deg; animation-delay: -1.2s;
  }
  .hi-code-bar { display: flex; align-items: center; gap: .42em; padding: .7em .9em; background: #1d1719; }
  .hi-code-bar i { width: .68em; height: .68em; border-radius: 50%; background: #ff5f57; }
  .hi-code-bar i:nth-child(2) { background: #febc2e; }
  .hi-code-bar i:nth-child(3) { background: #28c840; }
  .hi-code-bar em { margin-left: .7em; font: 500 .8em/1 'Inter', sans-serif; font-style: normal; color: rgba(250,247,243,.5); }
  .hi-code-body { display: flex; flex-direction: column; gap: .5em; padding: .9em 1em 1.05em; font: 500 .86em/1.1 ui-monospace, 'SF Mono', Menlo, Consolas, monospace; color: #cfc7c2; white-space: nowrap; }
  .hi-code-body .in { padding-left: 1.4em; } .hi-code-body .in2 { padding-left: 2.8em; }
  .hi-code-body u { text-decoration: none; }
  .hi-code-body .k { color: #ff6b7d; } .hi-code-body .v { color: #f3e9dc; } .hi-code-body .t { color: #7cc4ff; }
  .hi-code-body .a { color: #c8a6ff; } .hi-code-body .s { color: #9ad08a; }
  .hi-cursor { display: block; bottom: -8.6em; left: 16em; animation-delay: -3.8s; text-transform: none; letter-spacing: 0; }
  .hi-cursor svg { width: 2.5em; height: 2.5em; display: block; filter: drop-shadow(0 .3em .35em rgba(0,0,0,.3)); }
  .hi-cursor span {
    display: block; margin: -.35em 0 0 1.9em; padding: .5em .8em; border-radius: .3em .9em .9em .9em;
    background: var(--brand-crimson); color: #fff; font: 600 1em/1 'Inter', sans-serif;
    box-shadow: 0 .8em 1.4em -.5em rgba(167,19,34,.6);
  }
  .deco.hi { width: auto; }
  .deco.hi-shopify { width: 7.4em; }
  .deco.hi-metric { width: 13.2em; }
  .deco.hi-code { width: 17.5em; }
  @media (max-width: 900px) {
    .hi { font-size: clamp(5.2px, 1.55vw, 9px); }
    .hi-shopify { top: -11em; left: 1em; }
    .hi-metric  { top: -13.5em; right: 1em; }
    .hi-code    { bottom: -15em; right: 0; }
    .hi-cursor  { bottom: -11em; left: 3em; }
  }
  @media (prefers-reduced-motion: reduce) { .hi { animation: none; } }

  #cro-and-ab-testing .card-icon { display: none; }   /* the mockup already fills the bottom of this card */


  /* =====================================================================
     Hero v2: "More revenue from the same traffic"
     ===================================================================== */
  /* hero and about now sit in normal page flow */
  .stage:has(.hero-v2) { height: auto !important; display: block !important; }
  .hero-v2 { position: relative; height: auto; min-height: 100vh; pointer-events: auto; display: flex; flex-direction: column; align-items: stretch; justify-items: initial; padding: 104px 32px 28px; }
  .hero-v2 a { pointer-events: auto; }
  .hx { flex: 1; display: flex; flex-direction: column; justify-content: center; }
  .hx-title {
    font-size: min(8.6vw, 13.5vh, 150px);
    line-height: .9;
    font-weight: 800;
    letter-spacing: -.04em;
    text-transform: uppercase;
    text-align: center;
    color: #0a0a0a;
  }
  .hx-line { display: block; }
  .hx-light { font-weight: 300; }
  .hx-title mark { background: #A71322; color: #faf7f3; padding: 0 .07em; }
  .hx-row { display: grid; grid-template-columns: 39% 39% 22%; margin-top: min(2.6vw, 4vh); }
  .hx-copy { grid-column: 2; margin-top: min(2.4vw, 3.6vh); }
  .hx-copy p { font-size: clamp(16px, 1.3vw, 20px); line-height: 1.38; max-width: 360px; color: #0a0a0a; }
  .hx-cta { display: flex; gap: 6px; margin-top: 10px; }
  .hx-btn {
    background: #A71322; color: #faf7f3; text-decoration: none;
    font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    padding: 0 26px; height: 54px; display: inline-flex; align-items: center;
    transition: background .2s ease;
  }
  .hx-btn:hover { background: #0a0a0a; }
  .hx-box {
    width: 52px; height: 54px; display: inline-grid; place-items: center;
    border: 1.5px solid #A71322; color: #A71322; text-decoration: none; font-size: 16px;
    transition: background .2s ease, color .2s ease;
  }
  .hx-box:hover { background: #A71322; color: #faf7f3; }
  .hx-stats { grid-column: 3; }
  .hx-label { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #A71322; margin-bottom: 12px; }
  .hx-stat { border-top: 1px solid rgba(10,10,10,.35); padding: 10px 0 14px; }
  .hx-stat strong { display: block; font-size: min(3.7vw, 6vh, 56px); font-weight: 800; letter-spacing: -.04em; line-height: 1.12; color: #0a0a0a; }
  .hx-stat span { font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: rgba(10,10,10,.7); }
  .hx-foot { align-items: center; font-size: 14px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; }
  .hx-foot span { opacity: .8; }
  .hx-scroll { color: #A71322; text-decoration: none; font-weight: 600; }
  .hx-scroll:hover { text-decoration: underline; }

  @media (max-width: 900px) {
    .hero-v2 { padding: 110px 20px 28px; min-height: auto; }
    .hx-title { font-size: 10.2vw; }
    .hx-row { grid-template-columns: 1fr; gap: 32px; margin-top: 28px; }
    .hx-copy, .hx-stats { grid-column: 1; margin-top: 0; }
    .hx-stat strong { font-size: 44px; }
    .hx-foot { margin-top: 40px; font-size: 11px; gap: 12px; }
    .hx-foot span:first-child { max-width: 34%; }
  }


  /* =====================================================================
     About v2: "Hey!" introduction with portrait and stats
     ===================================================================== */
  .about-v2 { padding: 72px 32px 110px; border-bottom: 1px solid rgba(10,10,10,.85); }
  .ab-head { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 24px; }
  .ab-num { color: #A71322; font-size: 15px; font-weight: 700; letter-spacing: .04em; }
  .ab-tag { background: #A71322; color: #faf7f3; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 7px 12px; }
  .ab-grid { display: grid; grid-template-columns: minmax(0, 33fr) minmax(0, 67fr); gap: clamp(32px, 6vw, 92px); align-items: start; }
  .ab-photo { aspect-ratio: 481 / 630; overflow: hidden; background: #1a1a1a; }
  .ab-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .ab-hey { font-size: clamp(80px, 9.4vw, 150px); font-weight: 800; letter-spacing: -.045em; line-height: .9; color: #0a0a0a; }
  .ab-lead { font-size: clamp(22px, 2vw, 30px); font-weight: 500; line-height: 1.25; letter-spacing: -.01em; max-width: 740px; margin-top: 36px; }
  .ab-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; margin-top: 72px; }
  .ab-cols p { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.42; color: rgba(10,10,10,.85); max-width: 440px; }
  .ab-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 84px; }
  .ab-stats div { border-top: 1.5px solid #0a0a0a; padding-top: 18px; }
  .ab-stats dt { font-size: clamp(36px, 3.4vw, 52px); font-weight: 800; letter-spacing: -.04em; line-height: 1.05; }
  .ab-stats dd { font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: rgba(10,10,10,.7); margin-top: 8px; }

  @media (max-width: 900px) {
    .about-v2 { padding: 56px 20px 72px; }
    .ab-grid { grid-template-columns: 1fr; }
    .ab-photo { max-width: 420px; }
    .ab-lead { margin-top: 24px; }
    .ab-cols { grid-template-columns: 1fr; gap: 16px; margin-top: 32px; }
    .ab-stats { grid-template-columns: 1fr 1fr; margin-top: 44px; }
  }


  /* =====================================================================
     What I do v2: two services with link rows
     ===================================================================== */
  .svc-v2 { padding: 56px 32px 110px; border-bottom: 1px solid rgba(10,10,10,.85); }
  .svc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 4vw, 60px); margin-top: 20px; }
  .svc-item .ab-num { display: block; margin-bottom: 4px; }
  .svc-title { font-size: clamp(44px, 4.4vw, 68px); font-weight: 300; line-height: .95; letter-spacing: -.04em; text-transform: uppercase; color: #0a0a0a; }
  .svc-title b { font-weight: 800; }
  .svc-copy { font-size: clamp(16px, 1.25vw, 19px); line-height: 1.42; max-width: 540px; margin: 40px 0 46px; color: rgba(10,10,10,.85); }
  .svc-rows { list-style: none; border-top: 1px solid rgba(10,10,10,.35); max-width: 690px; }
  .svc-rows a {
    display: flex; justify-content: space-between; align-items: baseline;
    padding: 14px 0; border-bottom: 1px solid rgba(10,10,10,.35);
    color: #0a0a0a; text-decoration: none; font-size: 17px; font-weight: 500;
    transition: padding .25s ease, color .2s ease;
  }
  .svc-rows a span { color: #A71322; font-size: 15px; transition: transform .25s ease; }
  .svc-rows a:hover { padding-left: 8px; color: #A71322; }
  .svc-rows a:hover span { transform: translate(2px, -2px); }

  @media (max-width: 900px) {
    .svc-v2 { padding: 48px 20px 72px; }
    .svc-grid { grid-template-columns: 1fr; gap: 64px; }
    .svc-copy { margin: 24px 0 28px; }
  }


  /* =====================================================================
     Testimonials v2: square cards, red play button, dark caption tag
     ===================================================================== */
  .tm-v2 { padding: 96px 32px 110px; border-bottom: 1px solid rgba(10,10,10,.85); }
  .tm-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
  .tm-title { font-size: clamp(44px, 4.4vw, 68px); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: #0a0a0a; }
  .tm-sub { max-width: 400px; font-size: clamp(16px, 1.25vw, 19px); line-height: 1.42; color: rgba(10,10,10,.85); }
  .tm-v2 .tm-row { max-width: none; margin: 56px 0 0; gap: 20px; }
  .tm-v2 .tm-card { aspect-ratio: 537 / 726; border-radius: 0; }
  .tm-v2 .tm-card::after { display: none; }
  .tm-v2 .tm-toggle:focus-visible { border-radius: 0; }
  .tm-v2 .tm-btn { width: 84px; height: 84px; background: #A71322; border: 0; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .tm-v2 .tm-toggle:hover .tm-btn { background: #8c0f1c; }
  .tm-v2 .tm-ic { width: 30px; height: 30px; }
  .tm-v2 .tm-meta { left: 18px; right: auto; bottom: 24px; gap: 14px; background: #1a1617; padding: 14px 18px; }
  .tm-v2 .tm-label { font-weight: 700; letter-spacing: .06em; }
  .tm-v2 .tm-dur { background: none; padding: 0; -webkit-backdrop-filter: none; backdrop-filter: none; letter-spacing: .06em; }
  .tm-v2 .tm-bar { background: #A71322; }

  @media (max-width: 900px) {
    .tm-v2 { padding: 64px 0 72px; }
    .tm-head { flex-direction: column; align-items: flex-start; padding: 0 20px; gap: 16px; }
    .tm-v2 .tm-row { margin-top: 32px; }
    .tm-v2 .tm-card { border-radius: 0; }
    .tm-v2 .tm-btn { width: 68px; height: 68px; }
  }


  /* =====================================================================
     Footer v2: shorter, contact first
     ===================================================================== */
  .site-footer:has(.f-cols-v2) { padding-top: 88px; }
  .site-footer:has(.f-cols-v2) .f-top { padding-bottom: 56px; }
  .f-cols-v2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); }
  .f-contact li a { font: 500 17px/1.4 'Inter', 'Inter Placeholder', sans-serif; color: #faf7f3; text-decoration: none; transition: color .2s ease; }
  .f-contact li a:hover { color: #e0505e; }
  .f-bottom .f-clock { color: rgba(250,247,243,.8) !important; font-size: 13px; }
  @media (max-width: 900px) {
    .site-footer:has(.f-cols-v2) { padding-top: 64px; }
    .f-cols-v2 { grid-template-columns: 1fr; }
    .f-cols-v2 .f-col:last-child { grid-column: auto; }
  }


  /* Hero v2 refinements: tighter spacing, no overlap, icons beside the heading */
  .hero-v2 { min-height: auto; padding: 132px 32px 28px; }
  .hx { flex: none; }
  .hx-title { position: relative; line-height: .98; font-size: min(8.6vw, 140px); }
  .hx-title mark { display: inline-block; line-height: .84; padding: .05em .07em .03em; }
  .hx-row { grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 48px; width: 100%; max-width: 1180px; margin: 56px auto 0; }
  .hx-copy { grid-column: 1; margin-top: 0; }
  .hx-copy p { max-width: 420px; }
  .hx-cta { margin-top: 20px; }
  .hx-stats { grid-column: 2; width: 300px; }
  .hx-stat { padding-bottom: 0; }
  .hx-foot { margin-top: 72px; }
  .hx-title .hx-bag { position: absolute; width: 7.4em; height: auto; left: 3%; top: -.1em; --r: -11deg;
    filter: drop-shadow(0 1.6em 1.2em rgba(40, 60, 10, .28)) drop-shadow(0 .2em .25em rgba(0,0,0,.18)); pointer-events: none; }
  .hx-title .hx-card { position: absolute; right: 3%; bottom: .15em; top: auto; --r: 5deg; pointer-events: none; }
  @media (max-width: 1100px) { .hx-title .hx-bag, .hx-title .hx-card { display: none; } }
  @media (max-width: 900px) {
    .hero-v2 { padding: 110px 20px 24px; }
    .hx-title { font-size: 10.2vw; }
    .hx-row { grid-template-columns: 1fr; gap: 32px; margin-top: 28px; }
    .hx-stats { grid-column: 1; width: auto; }
    .hx-foot { margin-top: 44px; }
  }
  @media (min-width: 1101px) {
    .hx-title { max-width: 9.6em; margin: 0 auto; }
    .hx-title .hx-bag { left: -9%; top: 4%; }
    .hx-title .hx-card { right: -3%; bottom: 4%; }
  }


  /* =====================================================================
     Hero v2, centred: one reading line from label to proof
     ===================================================================== */
  .hx-centered { padding: 120px 32px 28px; }
  .hx-centered .hx { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .hx-eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: rgba(10,10,10,.7);
    padding: 8px 14px; border: 1px solid rgba(10,10,10,.15); border-radius: 999px; background: rgba(255,255,255,.5);
  }
  .hx-eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: #1fa855; box-shadow: 0 0 0 3px rgba(31,168,85,.18); }
  .hx-centered .hx-title { margin: 24px auto 0; max-width: none; width: fit-content; font-size: min(8vw, 12.5vh, 132px); line-height: .98; }
  .hx-centered .hx-sub { margin-top: 26px; max-width: 540px; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.45; color: rgba(10,10,10,.8); }
  .hx-centered .hx-cta { justify-content: center; margin-top: 28px; }
  .hx-proof {
    display: grid; grid-template-columns: auto auto; justify-content: center; column-gap: 0;
    margin-top: 40px; border-top: 1px solid rgba(10,10,10,.15); padding-top: 18px;
  }
  .hx-proof-item { padding: 0 40px; text-align: center; }
  .hx-proof-item + .hx-proof-item { border-left: 1px solid rgba(10,10,10,.15); }
  .hx-proof-item strong { display: block; font-size: clamp(32px, 2.8vw, 44px); font-weight: 800; letter-spacing: -.04em; line-height: 1.1; color: #0a0a0a; }
  .hx-proof-item span { display: block; margin-top: 4px; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #A71322; }
  .hx-proof-note { grid-column: 1 / -1; margin-top: 12px; font-size: 13px; color: rgba(10,10,10,.55); }
  .hx-centered .hx-foot { margin-top: 48px; }
  /* icons: same size, same height, mirrored either side of the first two lines */
  .hx-centered .hx-title .hx-bag { left: auto; right: calc(100% + .35em); top: .1em; width: 8.4em; --r: -10deg; }
  .hx-centered .hx-title .hx-card { right: auto; left: calc(100% + .3em); top: .35em; bottom: auto; width: 13.2em; --r: 6deg; }
  .hx-card-foot { font: 500 .95em/1 'Inter', sans-serif; color: rgba(10,10,10,.55); }
  .hx-card-foot b { color: #1fa855; font-weight: 700; }
  @media (max-width: 1250px) { .hx-centered .hx-title .hx-bag, .hx-centered .hx-title .hx-card { display: none; } }
  @media (max-width: 900px) {
    .hx-centered { padding: 104px 20px 24px; }
    .hx-centered .hx-title { font-size: 10.2vw; margin-top: 18px; }
    .hx-eyebrow { font-size: 11px; }
    .hx-centered .hx-sub { margin-top: 18px; }
    .hx-proof { margin-top: 32px; }
    .hx-proof-item { padding: 0 18px; }
    .hx-proof-item strong { font-size: 30px; }
    .hx-proof-item span { font-size: 10px; }
    .hx-centered .hx-foot { margin-top: 36px; }
  }
  .hx-card-foot { display: block; margin-top: .1em; }
  .hx-card-foot b { font: 700 1em/1 'Inter', sans-serif; letter-spacing: 0; color: #1fa855; }
  .hx-centered .hx-sub { max-width: 600px; text-wrap: balance; }
  .hx-centered { padding-top: 112px; }
  .hx-centered .hx-title { font-size: min(8vw, 11.6vh, 132px); margin-top: 20px; }
  .hx-centered .hx-sub { margin-top: 22px; }
  .hx-centered .hx-cta { margin-top: 24px; }
  .hx-proof { margin-top: 32px; padding-top: 16px; }
  .hx-centered .hx-foot { margin-top: 36px; }
  /* breathing room between the icons and the headline (px, not the icons' own em) */
  .hx-centered .hx-title .hx-bag  { right: calc(100% + 34px); top: 2%; }
  .hx-centered .hx-title .hx-card { left: calc(100% + 30px); top: 5%; }
  @media (max-width: 1400px) { .hx-centered .hx-title .hx-bag, .hx-centered .hx-title .hx-card { display: none; } }


  /* =====================================================================
     Client logo strip (proof right under the hero)
     ===================================================================== */
  .trust { padding: 28px 0 40px; border-top: 1px solid rgba(10,10,10,.12); border-bottom: 1px solid rgba(10,10,10,.12); }
  .trust-label { text-align: center; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #A71322; margin-bottom: 24px; }
  .trust-track { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
  .trust-row { list-style: none; display: flex; align-items: center; gap: 72px; width: max-content; animation: trust-scroll 42s linear infinite; }
  .trust-track:hover .trust-row { animation-play-state: paused; }
  .trust-row li { flex: none; display: grid; place-items: center; height: 56px; }
  .trust-row img { width: var(--w); height: auto; max-height: 56px; object-fit: contain; opacity: .78; transition: opacity .2s ease; }
  .trust-row li:hover img { opacity: 1; }
  @keyframes trust-scroll { to { transform: translateX(calc(-50% - 36px)); } }
  @media (prefers-reduced-motion: reduce) {
    .trust-row { animation: none; flex-wrap: wrap; justify-content: center; width: auto; padding: 0 20px; gap: 32px 48px; }
    .trust-row li[aria-hidden="true"] { display: none; }
  }
  @media (max-width: 900px) {
    .trust { padding: 22px 0 28px; }
    .trust-row { gap: 48px; animation-duration: 32s; }
    .trust-row img { width: calc(var(--w) * .8); }
    @keyframes trust-scroll { to { transform: translateX(calc(-50% - 24px)); } }
  }

  /* next step after the services */
  .svc-next { margin-top: 72px; padding: 32px; background: #fff; border: 1px solid rgba(10,10,10,.1); display: flex; align-items: center; justify-content: space-between; gap: 32px; }
  .svc-next p { font-size: clamp(17px, 1.35vw, 20px); line-height: 1.45; max-width: 640px; color: rgba(10,10,10,.8); }
  .svc-next p b { color: #0a0a0a; font-weight: 700; }
  .svc-next .hx-cta { margin-top: 0; align-items: center; gap: 20px; flex: none; }
  .svc-next .hx-btn { border: 0; cursor: pointer; font-family: inherit; }
  .svc-next-link { font-size: 15px; font-weight: 500; color: #0a0a0a; text-decoration: underline; text-underline-offset: 4px; }
  .svc-next-link:hover { color: #A71322; }
  @media (max-width: 900px) {
    .svc-next { flex-direction: column; align-items: flex-start; padding: 24px; margin-top: 48px; }
    .svc-next .hx-cta { flex-wrap: wrap; }
  }

  /* floating WhatsApp, shown after the hero */
  .wa-float {
    position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom)); z-index: 90;
    display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px 12px 14px; border-radius: 999px;
    background: #1fa855; color: #fff; text-decoration: none; font: 600 15px/1 'Inter', sans-serif;
    box-shadow: 0 12px 30px -10px rgba(10,60,30,.55);
    opacity: 0; transform: translateY(16px); pointer-events: none; transition: opacity .3s ease, transform .3s ease, background .2s ease;
  }
  .wa-float svg { width: 22px; height: 22px; }
  .wa-float.is-shown { opacity: 1; transform: none; pointer-events: auto; }
  .wa-float:hover { background: #178a45; }
  .wa-float:focus-visible { outline: 3px solid #0a0a0a; outline-offset: 3px; }
  @media (max-width: 600px) { .wa-float span { display: none; } .wa-float { padding: 14px; } }


  /* =====================================================================
     Hero bottom + logo row, less text
     ===================================================================== */
  .hx-centered { padding-bottom: 56px; }
  .hx-proof { margin-top: 36px; }
  .trust { padding: 26px 32px; }
  .trust-in { display: flex; align-items: center; gap: 40px; }
  .trust-label { flex: none; text-align: left; margin: 0; padding-right: 40px; border-right: 1px solid rgba(10,10,10,.15);
    font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; line-height: 1.5; color: rgba(10,10,10,.6); }
  .trust-label b { color: #A71322; font-weight: 700; }
  .trust-track { flex: 1; min-width: 0; }
  @media (max-width: 900px) {
    .hx-centered { padding-bottom: 40px; }
    .trust { padding: 20px; }
    .trust-in { gap: 20px; }
    .trust-label { padding-right: 20px; font-size: 10px; }
  }

  /* =====================================================================
     One corner system for the whole page
       pills  999px : nav, label chip, WhatsApp
       buttons 12px : every button and the arrow box
       tags     8px : small red labels
       cards   24px : project cards, video frames, photos, boxes
     ===================================================================== */
  :root { --r-btn: 12px; --r-tag: 8px; --r-card: 24px; }
  .btn, .hx-btn, .hx-box, .svc-next .hx-btn, .f-top-btn svg { border-radius: var(--r-btn) !important; }
  .ab-tag, .tm-v2 .tm-meta, .pf-card .pin { border-radius: var(--r-tag); }
  .pf-card, .zoom-frame, .tm-v2 .tm-card, .ab-photo, .svc-next, .faq-cta, .cm-card, .portrait, .tm-v2 .tm-toggle:focus-visible { border-radius: var(--r-card) !important; }
  .ab-photo, .tm-v2 .tm-card { overflow: hidden; }
  .hi-metric { border-radius: 16px; }
  @media (max-width: 900px) { :root { --r-card: 20px; } }
  @media (max-width: 600px) {
    .trust-in { flex-direction: column; align-items: stretch; gap: 14px; }
    .trust-label { border-right: 0; padding-right: 0; text-align: center; }
    .trust-label br { display: none; }
    .trust-label b { margin-left: .35em; }
  }


  /* =====================================================================
     Reference-led pass: one main action, How it works
     ===================================================================== */
  .hx-btn { gap: 10px; border: 0; cursor: pointer; font-family: inherit; }
  .hx-btn span { font-size: 16px; transition: transform .25s ease; }
  .hx-btn:hover span { transform: translate(2px, -2px); }
  .hx-btn-ghost {
    height: 54px; display: inline-flex; align-items: center; padding: 0 24px; border-radius: var(--r-btn);
    border: 1.5px solid rgba(10,10,10,.85); color: #0a0a0a; text-decoration: none;
    font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
    transition: background .2s ease, color .2s ease;
  }
  .hx-btn-ghost:hover { background: #0a0a0a; color: #faf7f3; }
  .hx-centered .hx-cta { gap: 12px; }

  .how-v2 { padding: 72px 32px 110px; border-bottom: 1px solid rgba(10,10,10,.85); }
  .how-light { font-weight: 300; }
  .how-steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 48px; }
  .how-steps li { background: #fff; border: 1px solid rgba(10,10,10,.1); border-radius: var(--r-card); padding: 28px; }
  .how-n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: var(--r-tag); background: #A71322; color: #faf7f3; font-size: 14px; font-weight: 700; }
  .how-steps h3 { font-size: clamp(24px, 2vw, 30px); font-weight: 800; letter-spacing: -.03em; margin: 22px 0 10px; color: #0a0a0a; }
  .how-steps p { font-size: 17px; line-height: 1.45; color: rgba(10,10,10,.75); }
  .about-v2 { border-top: 1px solid rgba(10,10,10,.85); }
  @media (max-width: 900px) {
    .how-v2 { padding: 56px 20px 72px; }
    .how-steps { grid-template-columns: 1fr; gap: 14px; margin-top: 32px; }
    .how-steps li { padding: 22px; }
    .hx-btn-ghost { height: 52px; padding: 0 20px; }
  }


  /* "Sound familiar?" problem section (after the logos) */
  .pain { padding: 72px 32px 80px; border-bottom: 1px solid rgba(10,10,10,.85); }
  .pain .tm-title { max-width: 14em; }
  .pain-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 44px; }
  .pain-grid li { background: #fff; border: 1px solid rgba(10,10,10,.1); border-radius: var(--r-card); padding: 28px; }
  .pain-x { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(167,19,34,.1); color: #A71322; font-size: 22px; font-weight: 700; line-height: 1; }
  .pain-grid h3 { font-size: clamp(22px, 1.8vw, 26px); font-weight: 800; letter-spacing: -.03em; margin: 18px 0 8px; color: #0a0a0a; }
  .pain-grid p { font-size: 17px; line-height: 1.45; color: rgba(10,10,10,.75); }
  .pain-fix { margin-top: 36px; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.4; color: rgba(10,10,10,.8); }
  .pain-fix b { color: #A71322; }
  .pain-fix a { color: #0a0a0a; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; margin-left: .3em; white-space: nowrap; }
  .pain-fix a:hover { color: #A71322; }
  @media (max-width: 900px) {
    .pain { padding: 56px 20px 64px; }
    .pain-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 28px; }
    .pain-grid li { padding: 22px; }
  }


  /* "Sound familiar?" as a dark before/after contrast (not another row of cards) */
  .pain-vs { background: #140c0e; color: #faf7f3; border-bottom: 0; padding: 88px 32px 96px;
    background-image: radial-gradient(60% 80% at 85% 100%, rgba(167,19,34,.35), transparent 70%); }
  .pv-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
  .pv-title { font-size: clamp(40px, 4.6vw, 72px); font-weight: 800; letter-spacing: -.04em; line-height: 1; max-width: 13em; }
  .pv-title span { display: block; font-weight: 300; color: rgba(250,247,243,.75); }
  .pv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 1100px; margin: 56px auto 0; }
  .pv-col { border-radius: var(--r-card); padding: 32px; }
  .pv-before { background: rgba(250,247,243,.04); border: 1px solid rgba(250,247,243,.12); }
  .pv-after { background: #faf7f3; color: #0a0a0a; box-shadow: 0 30px 60px -30px rgba(0,0,0,.6); }
  .pv-label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
  .pv-before .pv-label { color: rgba(250,247,243,.55); }
  .pv-after .pv-label { color: #A71322; }
  .pv-col ul { list-style: none; display: grid; gap: 14px; }
  .pv-col li { position: relative; padding-left: 34px; font-size: 17px; line-height: 1.45; }
  .pv-col li::before { position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; }
  .pv-before li { color: rgba(250,247,243,.7); }
  .pv-before li::before { content: '\2715'; background: rgba(224,80,94,.15); color: #e0505e; }
  .pv-after li::before { content: '\2713'; background: rgba(31,168,85,.14); color: #1a8f48; }
  .pv-cta { display: flex; justify-content: center; align-items: center; gap: 22px; margin-top: 44px; }
  .pv-link { color: #faf7f3; font-weight: 600; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; }
  .pv-link:hover { color: #e0505e; }
  @media (max-width: 900px) {
    .pain-vs { padding: 64px 20px 72px; }
    .pv-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 36px; }
    .pv-col { padding: 24px; }
    .pv-cta { flex-direction: column; gap: 16px; }
  }


  /* section label: number lives inside the tag ("01 · What I do") */
  .ab-tag { display: inline-flex; align-items: center; gap: 10px; }
  .ab-tag i { font-style: normal; font-weight: 700; opacity: .7; padding-right: 10px; border-right: 1px solid rgba(250,247,243,.4); }
  .svc-grid { margin-top: 28px; }
  .svc-title { margin-top: 0; }


  /* CTA banner after What I do: face + question + one action */
  .svc-next-v2 { background: #A71322; border: 0; color: #faf7f3; padding: 28px 32px; gap: 32px;
    background-image: radial-gradient(70% 140% at 100% 0%, rgba(255,255,255,.14), transparent 60%);
    box-shadow: 0 30px 60px -36px rgba(167,19,34,.8); }
  .sn-who { display: flex; align-items: center; gap: 20px; min-width: 0; }
  .sn-avatar { position: relative; flex: none; width: 64px; height: 64px; }
  .sn-avatar img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(250,247,243,.85); }
  .sn-avatar i { position: absolute; right: 2px; bottom: 2px; width: 14px; height: 14px; border-radius: 50%; background: #2fd06a; border: 2px solid #A71322; }
  .svc-next-v2 p { max-width: none; color: inherit; }
  .sn-q { font-size: clamp(20px, 1.7vw, 26px); font-weight: 800; letter-spacing: -.02em; line-height: 1.2; }
  .sn-a { margin-top: 4px; font-size: 16px; line-height: 1.45; color: rgba(250,247,243,.82) !important; }
  .sn-actions { display: flex; flex-direction: column; align-items: center; gap: 10px; flex: none; }
  .sn-btn { height: 54px; padding: 0 26px; border: 0; border-radius: var(--r-btn); background: #faf7f3; color: #0a0a0a; cursor: pointer;
    font: 700 14px/1 'Inter', sans-serif; letter-spacing: .08em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 10px;
    transition: transform .2s ease, background .2s ease; }
  .sn-btn:hover { transform: translateY(-2px); background: #fff; }
  .sn-btn span { color: #A71322; font-size: 16px; }
  .sn-wa { font-size: 14px; font-weight: 500; color: rgba(250,247,243,.9); text-decoration: underline; text-underline-offset: 3px; }
  .sn-wa:hover { color: #fff; }
  @media (max-width: 900px) {
    .svc-next-v2 { padding: 24px; }
    .sn-who { align-items: flex-start; }
    .sn-actions { align-items: flex-start; width: 100%; }
    .sn-btn { width: 100%; justify-content: center; }
  }


  /* Selected work heading + FAQ heading in the shared section style */
  .pf-head { padding: 96px 8px 40px; }
  .faq-head { margin-bottom: 48px; }
  .faq-head .tm-sub { margin-top: 18px; max-width: 560px; }
  .faq-wa { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px; border-radius: var(--r-btn);
    background: #1fa855; color: #fff; text-decoration: none; font: 600 15px/1 'Inter', sans-serif; flex: none; transition: background .2s ease, transform .2s ease; }
  .faq-wa svg { width: 20px; height: 20px; }
  .faq-wa:hover { background: #178a45; transform: translateY(-2px); }
  @media (max-width: 900px) { .pf-head { padding: 64px 0 28px; } .faq-head { margin-bottom: 32px; } }
  .portfolio { padding-top: 0; }
  .pf-head { padding-top: 64px; }
  .how-v2 { padding-bottom: 80px; }


  /* ===== Hormozi pass: microcopy, objections, lead form ===== */
  .hx-micro { margin-top: 12px; font-size: 14px; color: rgba(10,10,10,.6); }
  .objections { padding: 36px 32px; border-bottom: 1px solid rgba(10,10,10,.12); }
  .obj-row { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 32px; max-width: 1280px; margin: 0 auto; }
  .obj-row li { display: flex; gap: 14px; align-items: flex-start; }
  .obj-ic { flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: rgba(31,168,85,.14); color: #1a8f48; font-weight: 800; font-size: 14px; }
  .obj-row h3 { font-size: 17px; font-weight: 700; letter-spacing: -.01em; color: #0a0a0a; }
  .obj-row p { margin-top: 4px; font-size: 15px; line-height: 1.45; color: rgba(10,10,10,.7); }
  @media (max-width: 900px) { .objections { padding: 28px 20px; } .obj-row { grid-template-columns: 1fr; gap: 18px; } }

  .lead-form { display: grid; gap: 14px; margin-top: 22px; }
  .lf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  .lf-field { display: grid; gap: 6px; }
  .lf-field > span { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: rgba(10,10,10,.65); }
  .lf-field em { font-style: normal; text-transform: none; letter-spacing: 0; color: rgba(10,10,10,.45); }
  .lf-field input, .lf-field select { height: 48px; padding: 0 14px; border: 1px solid rgba(10,10,10,.2); border-radius: var(--r-btn); background: #fff; font: 400 16px 'Inter', sans-serif; color: #0a0a0a; width: 100%; }
  .lf-field input:focus, .lf-field select:focus { outline: 2px solid #A71322; outline-offset: 1px; border-color: transparent; }
  .lf-field input[aria-invalid="true"], .lf-field select[aria-invalid="true"] { border-color: #A71322; background: #fff6f6; }
  .lf-error { color: #A71322; font-size: 14px; }
  .lf-submit { height: 56px; border: 0; border-radius: var(--r-btn); background: #A71322; color: #faf7f3; cursor: pointer; font: 700 15px/1 'Inter', sans-serif; letter-spacing: .06em; text-transform: uppercase; display: inline-flex; align-items: center; justify-content: center; gap: 10px; transition: background .2s ease; }
  .lf-submit:hover { background: #0a0a0a; }
  .lf-note { font-size: 13px; color: rgba(10,10,10,.6); text-align: center; }
  .lf-mail { background: none; border: 0; padding: 0; font: inherit; color: #0a0a0a; text-decoration: underline; cursor: pointer; }
  .lf-done { background: rgba(31,168,85,.1); color: #146c37; border-radius: var(--r-tag); padding: 12px 14px; font-size: 14px; }
  .cm-alt { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(10,10,10,.1); font-size: 13px; color: rgba(10,10,10,.6); }
  .cm-alt a { color: #0a0a0a; }
  .f-legal { color: inherit; margin-left: 10px; text-decoration: underline; text-underline-offset: 3px; }
  @media (max-width: 600px) { .lf-row { grid-template-columns: 1fr; } }
  /* lead form sits on the dark popup */
  .contact-modal .lf-field > span { color: rgba(250,247,243,.75); }
  .contact-modal .lf-field em { color: rgba(250,247,243,.5); }
  .contact-modal .lf-note, .contact-modal .cm-alt { color: rgba(250,247,243,.65); }
  .contact-modal .lf-mail, .contact-modal .cm-alt a { color: #faf7f3; }
  .contact-modal .cm-alt { border-top-color: rgba(250,247,243,.15); }
  .contact-modal .lf-error { color: #ff8a95; }
  .contact-modal .lf-done { background: rgba(31,168,85,.18); color: #8ff0b4; }
  .contact-modal .lf-submit:hover { background: #c41a2c; }
  .contact-modal .cm-card { max-height: calc(100dvh - 32px); overflow-y: auto; }
  /* three services */
  @media (min-width: 1101px) { .services-page .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: 1280px; } }
  @media (min-width: 541px) and (max-width: 1100px) { .services-page .services-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
  .nav-tiles .nav-tile:last-child:nth-child(odd) { grid-column: 1 / -1; }


  /* ===== Results (CRO proof) ===== */
  .results { padding: 72px 32px 96px; border-bottom: 1px solid rgba(10,10,10,.85); }
  .rs-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 20px; margin-top: 44px; align-items: stretch; }
  .rs-card { background: #140c0e; color: #faf7f3; border-radius: var(--r-card); padding: 32px; display: flex; flex-direction: column; gap: 28px;
    background-image: radial-gradient(70% 90% at 100% 0%, rgba(167,19,34,.4), transparent 70%); }
  .rs-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
  .rs-live { display: inline-flex; align-items: center; gap: 8px; color: rgba(250,247,243,.8); }
  .rs-live i { width: 8px; height: 8px; border-radius: 50%; background: #2fd06a; box-shadow: 0 0 0 3px rgba(47,208,106,.2); }
  .rs-legend { display: inline-flex; align-items: center; gap: 8px; color: rgba(250,247,243,.6); }
  .rs-legend b { width: 10px; height: 10px; border-radius: 3px; display: inline-block; margin-left: 6px; }
  .rs-legend .a, .rs-bars .a { background: rgba(250,247,243,.28); }
  .rs-legend .b, .rs-bars .b { background: #e0505e; }
  .rs-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
  .rs-head p { font-size: 14px; color: rgba(250,247,243,.75); }
  .rs-head strong { font-size: 30px; font-weight: 800; letter-spacing: -.04em; color: #faf7f3; }
  .rs-main .rs-head strong { font-size: clamp(48px, 5vw, 76px); line-height: 1; }
  .rs-main .rs-head p { font-size: 16px; font-weight: 600; color: #faf7f3; }
  .rs-bars { display: grid; gap: 8px; margin-top: 14px; }
  .rs-bars span { display: flex; align-items: center; justify-content: flex-end; height: 26px; width: var(--v); border-radius: 6px; padding: 0 10px; }
  .rs-main .rs-bars span { height: 38px; }
  .rs-bars em { font-style: normal; font-size: 12px; font-weight: 700; color: #0a0a0a; }
  .rs-bars .a em { color: #faf7f3; }
  .rs-two { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 24px; border-top: 1px solid rgba(250,247,243,.12); }
  .rs-info { display: grid; gap: 14px; }
  .rs-block { background: #fff; border: 1px solid rgba(10,10,10,.1); border-radius: var(--r-card); padding: 24px; }
  .rs-block h3 { font-size: 19px; font-weight: 800; letter-spacing: -.02em; color: #0a0a0a; margin-bottom: 8px; }
  .rs-block p { font-size: 16px; line-height: 1.5; color: rgba(10,10,10,.75); }
  .rs-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
  .rs-chips li { font-size: 14px; font-weight: 500; padding: 7px 12px; border-radius: 999px; background: rgba(167,19,34,.08); color: #7e0f1a; }
  @media (max-width: 900px) {
    .results { padding: 56px 20px 72px; }
    .rs-grid { grid-template-columns: 1fr; margin-top: 32px; }
    .rs-card { padding: 22px; }
    .rs-two { grid-template-columns: 1fr; }
  }

  /* ===== Results page ===== */
  .results-page { padding-top: 110px; }
  .rp-hero { padding: 40px 32px 56px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
  .rp-title { font-size: clamp(44px, 6.4vw, 96px); font-weight: 800; letter-spacing: -.045em; line-height: .95; color: #0a0a0a; }
  .rp-title span { font-weight: 300; }
  .rp-sub { max-width: 560px; font-size: clamp(17px, 1.35vw, 20px); line-height: 1.45; color: rgba(10,10,10,.75); }
  .rp-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
  .page-results .results { border-top: 1px solid rgba(10,10,10,.85); }

  .calc { padding: 72px 32px 96px; border-bottom: 1px solid rgba(10,10,10,.85); }
  .calc-head { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
  .calc-head .tm-title { max-width: 16em; }
  .calc-head .tm-sub { max-width: 560px; }
  .calc-box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 20px; margin-top: 44px; }
  .calc-in { background: #fff; border: 1px solid rgba(10,10,10,.1); border-radius: var(--r-card); padding: 32px; display: grid; gap: 26px; align-content: start; }
  .calc-field { display: grid; gap: 10px; }
  .calc-field > span { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(10,10,10,.6); }
  .calc-input { display: flex; align-items: center; gap: 8px; height: 56px; padding: 0 16px; border: 1px solid rgba(10,10,10,.18); border-radius: var(--r-btn); background: #faf7f3; }
  .calc-input:focus-within { outline: 2px solid #A71322; outline-offset: 1px; }
  .calc-input input { flex: 1; min-width: 0; border: 0; background: none; font: 800 24px/1 'Inter', sans-serif; letter-spacing: -.02em; color: #0a0a0a; outline: none; }
  .calc-input em { font-style: normal; font-weight: 700; font-size: 20px; color: rgba(10,10,10,.5); }
  .calc-input select { border: 0; background: none; font: 800 22px 'Inter', sans-serif; color: rgba(10,10,10,.6); cursor: pointer; }
  .calc-range { width: 100%; accent-color: #A71322; }
  .calc-now { font-size: 15px; color: rgba(10,10,10,.65); padding-top: 18px; border-top: 1px solid rgba(10,10,10,.1); }
  .calc-now b { color: #0a0a0a; }
  .calc-out { background: #140c0e; color: #faf7f3; border-radius: var(--r-card); padding: 32px; display: flex; flex-direction: column; gap: 18px;
    background-image: radial-gradient(70% 90% at 100% 0%, rgba(167,19,34,.45), transparent 70%); }
  .calc-label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #e0505e; }
  .calc-rows { list-style: none; display: grid; gap: 10px; }
  .calc-rows li { display: grid; grid-template-columns: 1fr auto; align-items: baseline; column-gap: 16px; padding: 16px 18px; border-radius: 14px; background: rgba(250,247,243,.05); border: 1px solid rgba(250,247,243,.1); }
  .calc-rows li.is-key { background: rgba(224,80,94,.14); border-color: rgba(224,80,94,.5); }
  .calc-rows span { font-size: 15px; color: rgba(250,247,243,.8); }
  .calc-rows b { font-size: clamp(26px, 2.6vw, 38px); font-weight: 800; letter-spacing: -.04em; text-align: right; font-variant-numeric: tabular-nums; }
  .calc-rows small { grid-column: 2; text-align: right; font-size: 12px; color: rgba(250,247,243,.55); }
  .calc-year { font-size: 16px; color: rgba(250,247,243,.8); }
  .calc-year b { color: #faf7f3; }
  .calc-btn { height: 56px; border: 0; border-radius: var(--r-btn); background: #faf7f3; color: #0a0a0a; cursor: pointer; font: 700 15px/1 'Inter', sans-serif; letter-spacing: .06em; text-transform: uppercase; display: inline-flex; align-items: center; justify-content: center; gap: 10px; transition: transform .2s ease; }
  .calc-btn span { color: #A71322; }
  .calc-btn:hover { transform: translateY(-2px); }
  .calc-foot { font-size: 12px; line-height: 1.5; color: rgba(250,247,243,.5); }
  .rp-final { padding: 96px 32px 110px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
  .rp-final .tm-sub { max-width: 520px; }
  @media (max-width: 900px) {
    .results-page { padding-top: 90px; }
    .rp-hero { padding: 24px 20px 44px; }
    .calc { padding: 56px 20px 72px; }
    .calc-box { grid-template-columns: 1fr; margin-top: 32px; }
    .calc-in, .calc-out { padding: 22px; }
    .rp-final { padding: 64px 20px 80px; }
  }
  .calc-in, .calc-field, .calc-input { min-width: 0; }
  .calc-input input { width: 100%; }

  /* ===== Revenue calculator v2: one card, one answer ===== */
  .rc { padding: 24px 32px 110px; }
  .rc-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; }
  .rc-head .rp-title { max-width: 12em; }
  .rc-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); max-width: 1180px; margin: 48px auto 0;
    border-radius: 28px; overflow: hidden; background: #fff; border: 1px solid rgba(10,10,10,.1); box-shadow: 0 40px 80px -50px rgba(20,12,14,.45); }
  .rc-in { padding: 40px; display: grid; gap: 30px; align-content: start; min-width: 0; }
  .rc-step { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #A71322; }
  .rc-field { display: grid; grid-template-columns: 1fr auto; align-items: center; row-gap: 14px; min-width: 0; }
  .rc-field label { font-size: 16px; font-weight: 600; color: #0a0a0a; }
  .rc-unit { display: inline-flex; align-items: center; gap: 4px; }
  .rc-val { width: 7.5ch; text-align: right; border: 0; border-bottom: 2px solid rgba(10,10,10,.15); background: none; padding: 2px 0; font: 800 26px/1.1 'Inter', sans-serif; letter-spacing: -.03em; color: #0a0a0a; font-variant-numeric: tabular-nums; }
  #c-cr, #c-aov { width: 4.5ch; }
  .rc-val:focus { outline: none; border-bottom-color: #A71322; }
  .rc-unit em { font-style: normal; font-weight: 800; font-size: 22px; color: rgba(10,10,10,.45); }
  .rc-unit select { border: 0; background: none; font: 800 22px 'Inter', sans-serif; color: rgba(10,10,10,.45); cursor: pointer; }
  .rc-range { grid-column: 1 / -1; -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 999px; cursor: pointer;
    background: linear-gradient(90deg, #A71322 var(--p, 50%), rgba(10,10,10,.1) var(--p, 50%)); }
  .rc-range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 3px solid #A71322; box-shadow: 0 4px 10px rgba(167,19,34,.35); }
  .rc-range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 3px solid #A71322; }
  .rc-range:focus-visible { outline: 2px solid #A71322; outline-offset: 6px; }
  .rc-now { display: flex; justify-content: space-between; padding-top: 22px; border-top: 1px dashed rgba(10,10,10,.18); font-size: 15px; color: rgba(10,10,10,.65); }
  .rc-now b { color: #0a0a0a; font-size: 18px; }
  .rc-out { background: #140c0e; color: #faf7f3; padding: 40px; display: flex; flex-direction: column; gap: 16px; min-width: 0;
    background-image: radial-gradient(70% 80% at 100% 0%, rgba(167,19,34,.5), transparent 70%); }
  .rc-out .rc-step { color: #e0505e; }
  .rc-lifts { display: grid; grid-template-columns: repeat(3, 1fr) 1.6fr; gap: 6px; padding: 5px; border-radius: 14px; background: rgba(250,247,243,.06); border: 1px solid rgba(250,247,243,.1); }
  .rc-lifts button { height: 44px; border: 0; border-radius: 10px; background: none; color: rgba(250,247,243,.75); font: 700 15px/1 'Inter', sans-serif; cursor: pointer; transition: background .2s, color .2s; }
  .rc-lifts button small { display: block; margin-top: 3px; font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .7; }
  .rc-lifts button:hover { color: #fff; }
  .rc-lifts button.is-on { background: #faf7f3; color: #0a0a0a; }
  .rc-lifts .rc-proof.is-on { background: #e0505e; color: #fff; }
  .rc-lead { margin-top: 12px; font-size: 16px; color: rgba(250,247,243,.75); }
  .rc-big { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 14px; }
  .rc-big b { font-size: clamp(52px, 6.2vw, 92px); font-weight: 800; letter-spacing: -.05em; line-height: .95; font-variant-numeric: tabular-nums; }
  .rc-big span { font-size: 18px; color: rgba(250,247,243,.75); }
  .rc-year { font-size: 16px; color: rgba(250,247,243,.75); }
  .rc-year b { color: #faf7f3; }
  .rc-bars { display: grid; gap: 10px; margin: 8px 0 6px; padding-top: 18px; border-top: 1px solid rgba(250,247,243,.12); }
  .rc-bars div { display: grid; grid-template-columns: 92px 1fr auto; align-items: center; gap: 12px; font-size: 13px; }
  .rc-bars span { color: rgba(250,247,243,.65); }
  .rc-bars i { display: block; height: 14px; width: var(--w); border-radius: 999px; transition: width .35s ease; }
  .rc-bars i.a { background: rgba(250,247,243,.3); }
  .rc-bars i.b { background: #e0505e; }
  .rc-bars b { font-variant-numeric: tabular-nums; min-width: 8ch; text-align: right; }
  @media (max-width: 900px) {
    .rc { padding: 16px 16px 72px; }
    .rc-card { grid-template-columns: 1fr; margin-top: 32px; border-radius: 22px; }
    .rc-in, .rc-out { padding: 24px; }
    .rc-lifts { grid-template-columns: repeat(3, 1fr); }
    .rc-lifts .rc-proof { grid-column: 1 / -1; }
    .rc-bars div { grid-template-columns: 70px 1fr auto; }
  }
  @media (min-width: 901px) { .rc-in { align-content: space-between; } }

  /* calculator: sizes matched to the rest of the site */
  @media (min-width: 901px) { .rc-in { align-content: start; } }
  .rc-card { max-width: 1080px; }
  .rc-in, .rc-out { padding: 32px; }
  .rc-in { gap: 26px; }
  .rc-field label { font-size: 15px; }
  .rc-val { font-size: 22px; }
  .rc-unit em, .rc-unit select { font-size: 18px; }
  .rc-lifts button { height: 40px; font-size: 14px; }
  .rc-lead { margin-top: 6px; font-size: 15px; }
  .rc-big b { font-size: clamp(40px, 3.6vw, 56px); letter-spacing: -.04em; }
  .rc-big span, .rc-year { font-size: 15px; }
  .rc-now b { font-size: 16px; }
  .calc-btn { height: 52px; font-size: 14px; }
  @media (max-width: 900px) { .rc-in, .rc-out { padding: 22px; } .rc-big b { font-size: 40px; } }
  .rc-head .rp-title { font-size: clamp(40px, 4.6vw, 68px); max-width: 14em; }
  /* calculator on the homepage */
  .rc-home { padding: 72px 32px 96px; border-bottom: 1px solid rgba(10,10,10,.85); }
  .rc-home .rc-card { max-width: none; margin-top: 44px; }
  @media (max-width: 900px) { .rc-home { padding: 56px 20px 72px; } .rc-home .rc-card { margin-top: 28px; } }

  /* ===== CRO page: services, process, why me ===== */
  .page-results .rc { border-bottom: 1px solid rgba(10,10,10,.85); }
  .cs-svc, .cs-proc { padding: 72px 32px 96px; border-bottom: 1px solid rgba(10,10,10,.85); }
  .cs-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: 20px; margin-top: 44px; align-items: start; }
  .cs-card { background: #fff; border: 1px solid rgba(10,10,10,.1); border-radius: var(--r-card); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
  .cs-dark { background: #140c0e; color: #faf7f3; border: 0; background-image: radial-gradient(70% 70% at 100% 0%, rgba(167,19,34,.45), transparent 70%); }
  .cs-for { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #A71322; }
  .cs-dark .cs-for { color: #e0505e; }
  .cs-card h3 { font-size: clamp(28px, 2.6vw, 38px); font-weight: 800; letter-spacing: -.04em; line-height: 1.05; }
  .cs-desc { font-size: 17px; line-height: 1.45; color: rgba(10,10,10,.75); }
  .cs-dark .cs-desc { color: rgba(250,247,243,.75); }
  .cs-list { list-style: none; display: grid; gap: 10px; }
  .cs-list li { position: relative; padding-left: 28px; font-size: 16px; line-height: 1.45; }
  .cs-list li::before { content: '\2713'; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; background: rgba(167,19,34,.1); color: #A71322; }
  .cs-dark .cs-list li { color: rgba(250,247,243,.85); }
  .cs-dark .cs-list li::before { background: rgba(224,80,94,.2); color: #ff8a95; }
  .cs-phase { padding-top: 16px; border-top: 1px solid rgba(250,247,243,.12); display: grid; gap: 10px; }
  .cs-ph { font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #faf7f3; }
  .cs-btn { margin-top: 10px; align-self: flex-start; height: 50px; padding: 0 22px; border: 0; border-radius: var(--r-btn); background: #A71322; color: #faf7f3; cursor: pointer; font: 700 14px/1 'Inter', sans-serif; letter-spacing: .06em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 10px; transition: background .2s ease; }
  .cs-btn:hover { background: #0a0a0a; }
  .cs-dark .cs-btn { background: #faf7f3; color: #0a0a0a; }
  .cs-dark .cs-btn span { color: #A71322; }

  .cs-steps { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 0; margin-top: 52px; position: relative; }
  .cs-steps::before { content: ''; position: absolute; left: 0; right: 0; top: 21px; height: 2px; background: linear-gradient(90deg, #A71322, rgba(167,19,34,.15)); }
  .cs-steps li { position: relative; padding-right: 24px; }
  .cs-steps span { position: relative; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #faf7f3; border: 2px solid #A71322; color: #A71322; font-weight: 800; font-size: 14px; }
  .cs-steps h3 { margin: 18px 0 8px; font-size: 20px; font-weight: 800; letter-spacing: -.02em; color: #0a0a0a; }
  .cs-steps p { font-size: 15px; line-height: 1.5; color: rgba(10,10,10,.72); }

  .cs-why { background: #140c0e; color: #faf7f3; padding: 88px 32px 96px; }
  .cs-why-in { max-width: 1280px; margin: 0 auto; }
  .cs-why .tm-title { color: #faf7f3; margin-top: 22px; }
  .cs-why .how-light { color: rgba(250,247,243,.7); }
  .cs-why-grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0; margin-top: 48px; border-top: 1px solid rgba(250,247,243,.15); }
  .cs-why-grid li { padding: 28px 24px 0 0; }
  .cs-why-grid li + li { padding-left: 24px; border-left: 1px solid rgba(250,247,243,.15); }
  .cs-why-grid h3 { font-size: 19px; font-weight: 800; letter-spacing: -.02em; margin-bottom: 8px; }
  .cs-why-grid p { font-size: 15px; line-height: 1.5; color: rgba(250,247,243,.7); }

  @media (max-width: 900px) {
    .cs-svc, .cs-proc { padding: 56px 20px 72px; }
    .cs-grid { grid-template-columns: 1fr; margin-top: 28px; }
    .cs-card { padding: 24px; }
    .cs-steps { grid-template-columns: 1fr; gap: 24px; margin-top: 32px; }
    .cs-steps::before { left: 21px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; background: linear-gradient(180deg, #A71322, rgba(167,19,34,.15)); }
    .cs-steps li { padding: 0 0 0 64px; }
    .cs-steps span { position: absolute; left: 0; top: 0; }
    .cs-steps h3 { margin-top: 8px; }
    .cs-why { padding: 64px 20px 72px; }
    .cs-why-grid { grid-template-columns: 1fr 1fr; }
    .cs-why-grid li, .cs-why-grid li + li { padding: 22px 12px 18px 0; border-left: 0; }
  }
  @media (max-width: 540px) { .cs-why-grid { grid-template-columns: 1fr; } }

  /* ===== A/B testing page: icons, short copy ===== */
  .ab-page .ic { width: 22px; height: 22px; flex: none; }
  .ab-hero { padding: 40px 32px 64px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; border-bottom: 1px solid rgba(10,10,10,.85); }
  .ab-hero .rp-title { font-size: clamp(42px, 5vw, 76px); max-width: 12em; }
  .ab-proof { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }
  .ab-proof li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: #fff; border: 1px solid rgba(10,10,10,.1); font-size: 14px; color: rgba(10,10,10,.75); }
  .ab-proof .ic { width: 18px; height: 18px; color: #A71322; }
  .ab-proof b { color: #0a0a0a; }
  .ab-head2 { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
  .ab-page .rc.ab-calc { padding: 72px 32px 96px; }
  .ab-page .ab-calc .rc-card { max-width: none; margin-top: 40px; }
  .ab-ic { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: rgba(167,19,34,.08); color: #A71322; }
  .ab-ic .ic { width: 24px; height: 24px; }

  .ab-journey, .ab-offers { padding: 72px 32px 96px; border-bottom: 1px solid rgba(10,10,10,.85); }
  .ab-steps { list-style: none; display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 16px; margin-top: 44px; counter-reset: s; }
  .ab-steps li { position: relative; background: #fff; border: 1px solid rgba(10,10,10,.1); border-radius: var(--r-card); padding: 26px 22px; counter-increment: s; }
  .ab-steps li::after { content: '0' counter(s); position: absolute; top: 22px; right: 22px; font-size: 13px; font-weight: 700; color: rgba(10,10,10,.3); }
  .ab-steps li + li::before { content: ''; position: absolute; left: -17px; top: 50px; width: 16px; height: 2px; background: #A71322; }
  .ab-steps h3 { margin: 18px 0 6px; font-size: 22px; font-weight: 800; letter-spacing: -.03em; color: #0a0a0a; }
  .ab-steps p { font-size: 15px; line-height: 1.45; color: rgba(10,10,10,.7); }

  .ab-offer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 44px; }
  .ab-offer { background: #fff; border: 1px solid rgba(10,10,10,.1); border-radius: var(--r-card); padding: 32px; }
  .ab-offer h3 { margin-top: 20px; font-size: clamp(26px, 2.4vw, 34px); font-weight: 800; letter-spacing: -.04em; color: #0a0a0a; }
  .ab-for { margin-top: 4px; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #A71322; }
  .ab-offer ul { list-style: none; display: grid; gap: 12px; margin-top: 22px; padding-top: 22px; border-top: 1px solid rgba(10,10,10,.1); }
  .ab-offer li { display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 500; color: #0a0a0a; }
  .ic-chk { width: 22px; height: 22px; flex: none; padding: 4px; border-radius: 50%; background: #A71322; color: #fff; stroke-width: 3; }
  .ab-offer-dark { background: #140c0e; border: 0; background-image: radial-gradient(70% 80% at 100% 0%, rgba(167,19,34,.45), transparent 70%); }
  .ab-offer-dark h3, .ab-offer-dark li { color: #faf7f3; }
  .ab-offer-dark .ab-for { color: #ff8a95; }
  .ab-offer-dark ul { border-top-color: rgba(250,247,243,.15); }
  .ab-offer-dark .ab-ic { background: rgba(224,80,94,.18); color: #ff8a95; }
  .ab-offer-dark .ic-chk { background: #e0505e; }

  .ab-why { background: #140c0e; color: #faf7f3; padding: 88px 32px 96px; }
  .ab-why-in { max-width: 1280px; margin: 0 auto; }
  .ab-why .tm-title { color: #faf7f3; }
  .ab-why .how-light { color: rgba(250,247,243,.7); }
  .ab-why-grid { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 16px; margin-top: 44px; }
  .ab-why-grid li { padding: 26px; border-radius: var(--r-card); background: rgba(250,247,243,.05); border: 1px solid rgba(250,247,243,.12); }
  .ab-why-grid .ab-ic { background: rgba(224,80,94,.18); color: #ff8a95; }
  .ab-why-grid h3 { margin: 18px 0 6px; font-size: 19px; font-weight: 800; letter-spacing: -.02em; }
  .ab-why-grid p { font-size: 15px; line-height: 1.45; color: rgba(250,247,243,.7); }

  @media (max-width: 1100px) { .ab-steps { grid-template-columns: repeat(3, minmax(0,1fr)); } .ab-steps li + li::before { display: none; } .ab-why-grid { grid-template-columns: 1fr 1fr; } }
  @media (max-width: 900px) {
    .ab-hero { padding: 24px 20px 48px; }
    .ab-page .rc.ab-calc, .ab-journey, .ab-offers { padding: 56px 20px 72px; }
    .ab-page .ab-calc .rc-card { margin-top: 28px; }
    .ab-steps { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 28px; }
    .ab-steps li { padding: 20px 18px; }
    .ab-offer-grid { grid-template-columns: 1fr; margin-top: 28px; }
    .ab-offer { padding: 24px; }
    .ab-why { padding: 64px 20px 72px; }
  }
  @media (max-width: 540px) { .ab-steps, .ab-why-grid { grid-template-columns: 1fr; } }
  .ab-hero .rp-title { max-width: 15em; text-wrap: balance; } .ab-hero .rp-sub { text-wrap: balance; }

/* Testimonials: keep cards close to the source videos' size so they stay sharp */
@media (min-width: 900px) {
  .tm-v2 .tm-row { max-width: 1140px; margin-left: auto; margin-right: auto; }
}
