
    :root {
      /* Brand palette */
      --bg-light: #fdffff;
      --text-dark: #0C0B0F;
      --strategy: #3A1772;
      --explain: #FF4B3E;
      --tutorial: #D81159;
      --experiment: #1128F7;
      --growth: #FF700A;

      /* Global tokens (used throughout) */
      --ink: #0C0B0F;
      --white: #fdffff;
      --dark: #07020d;
      --green: #10b981;
    }


    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      scroll-behavior: auto;
    }

    body {
      font-family: "Manrope", sans-serif;
      font-weight: 600;
      background: var(--white);
      color: var(--ink);
      -webkit-font-smoothing: antialiased;
      overflow-x: hidden;
    }

    /* Typography Base Overrides */
    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    .h2,
    .slider-title,
    .pillar-card h3,
    .acc-btn h3,
    .work-item h3,
    .faq-btn h3 {
      font-family: "Archivo", sans-serif;
      font-weight: 300;
    }

    p,
    .desc,
    .about,
    .slider-sub,
    blockquote,
    li {
      font-family: "Manrope", sans-serif;
      font-weight: 600;
    }

    #nav-logo,
    .foot-brand-name,
    .watermark h2 {
      font-family: "Bricolage Grotesque", sans-serif;
      font-weight: 800;
    }

    ::selection {
      background: var(--green);
      color: var(--ink);
    }

    a {
      text-decoration: none;
      color: inherit;
    }

    button {
      font-family: inherit;
      border: none;
      background: none;
      cursor: pointer;
    }

    .mono {
      font-family: "IBM Plex Mono", monospace;
    }

    .kicker {
      font-family: "IBM Plex Mono", monospace;
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: 0.35em;
      color: #059669;
      margin-bottom: 24px;
    }

    .h2 {
      font-family: "Archivo", sans-serif;
      font-size: clamp(2.25rem, 5vw, 3.75rem);
      font-weight: 300;
      letter-spacing: -0.02em;
      line-height: 1.02;
    }

    section {
      position: relative;
    }

    /* ============ Progress bar ============ */
    #progress-wrap {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 4px;
      z-index: 999;
      pointer-events: none;
    }

    #progress-bar {
      height: 100%;
      width: 100%;
      transform: scaleX(0);
      transform-origin: left;
      background: linear-gradient(90deg, #10b981, #0d9488);
    }

    /* ============ Navbar ============ */
    #navbar {
      position: fixed;
      top: 4px;
      left: 0;
      width: 100%;
      z-index: 900;
      transition: background-color .5s, border-color .5s, backdrop-filter .5s;
      border-bottom: 1px solid transparent;
    }

    #navbar .nav-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 20px 56px;
    }

    #nav-logo {
      font-size: 26px;
      font-weight: 700;
      letter-spacing: -0.02em;
      color: var(--white);
      transition: color .5s;
    }

    #nav-logo .dot {
      color: var(--green);
    }

    #lets-talk {
      display: inline-flex;
      align-items: center;
      border-radius: 999px;
      padding: 10px 24px;
      font-size: 14px;
      font-weight: 600;
      background: var(--white);
      color: var(--ink);
      transition: transform .3s, background-color .5s, color .5s;
    }

    #lets-talk:hover {
      transform: scale(1.05);
    }

    #hamburger {
      position: relative;
      width: 44px;
      height: 44px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 6px;
      border-radius: 999px;
      transition: transform .3s;
    }

    #hamburger:hover {
      transform: scale(1.1);
    }

    #hamburger span {
      display: block;
      width: 24px;
      height: 2px;
      background: var(--white);
      transition: transform .3s, opacity .3s, background-color .5s;
    }

    #navbar.scrolled {
      background: rgba(253, 255, 255, 0.85);
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      border-bottom-color: rgba(15, 15, 15, 0.06);
    }

    #navbar.scrolled #nav-logo {
      color: var(--ink);
    }

    #navbar.scrolled #lets-talk {
      background: var(--ink);
      color: var(--white);
    }

    #navbar.scrolled #hamburger span {
      background: var(--ink);
    }

    body.menu-open #hamburger span:nth-child(1) {
      transform: translateY(8px) rotate(45deg);
    }

    body.menu-open #hamburger span:nth-child(2) {
      opacity: 0;
    }

    body.menu-open #hamburger span:nth-child(3) {
      transform: translateY(-8px) rotate(-45deg);
    }

    /* ============ Drawer ============ */
    #drawer-backdrop {
      position: fixed;
      inset: 0;
      z-index: 940;
      background: rgba(7, 2, 13, 0.5);
      backdrop-filter: blur(4px);
      opacity: 0;
      pointer-events: none;
      transition: opacity .4s;
    }

    #drawer {
      position: fixed;
      top: 0;
      right: -100%;
      height: 100%;
      width: 440px;
      max-width: 100vw;
      z-index: 950;
      background: var(--ink);
      display: flex;
      flex-direction: column;
      transition: right .5s cubic-bezier(0.76, 0, 0.24, 1);
    }

    body.menu-open #drawer {
      right: 0;
    }

    body.menu-open #drawer-backdrop {
      opacity: 1;
      pointer-events: auto;
    }

    .drawer-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 32px 40px 16px;
      flex-shrink: 0;
    }

    .drawer-label {
      font-family: "IBM Plex Mono", monospace;
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: 0.3em;
      color: rgba(255, 255, 255, 0.4);
    }

    #drawer-close {
      width: 44px;
      height: 44px;
      border-radius: 999px;
      border: 1px solid rgba(255, 255, 255, 0.2);
      display: flex;
      align-items: center;
      justify-content: center;
      color: #fff;
      transition: background-color .3s, color .3s;
      font-size: 18px;
      line-height: 1;
    }

    #drawer-close:hover {
      background: #fff;
      color: #000;
    }

    .drawer-nav {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      padding: 8px 40px;
      gap: 2px;
      overflow-y: auto;
      -webkit-overflow-scrolling: touch;
      -ms-overflow-style: none;
      /* IE and Edge */
      scrollbar-width: none;
      /* Firefox */
    }

    .drawer-nav::-webkit-scrollbar {
      display: none;
      /* Chrome, Safari and Opera */
    }

    .drawer-link {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: clamp(2px, 0.8vh, 6px) 0;
      font-size: clamp(1.2rem, 3.2vh, 2.2rem);
      font-weight: 600;
      letter-spacing: -0.02em;
      line-height: 1.1;
      color: #fff;
      opacity: 0;
      transform: translateX(40px);
      transition: opacity .45s, transform .45s;
    }

    body.menu-open .drawer-link {
      opacity: 1;
      transform: translateX(0);
    }

    .drawer-link .num {
      font-family: "IBM Plex Mono", monospace;
      font-size: 12px;
      letter-spacing: 0.1em;
      color: var(--green);
    }

    .drawer-link .txt {
      transition: transform .3s;
    }

    .drawer-link:hover .txt {
      transform: translateX(8px);
    }

    .drawer-foot {
      padding: 24px 40px 40px;
      flex-shrink: 0;
    }

    .drawer-wa {
      display: flex;
      width: 100%;
      align-items: center;
      justify-content: center;
      border-radius: 999px;
      background: var(--white);
      color: #000;
      font-weight: 600;
      padding: 16px 32px;
      transition: transform .3s;
    }

    .drawer-wa:hover {
      transform: scale(1.03);
    }

    .drawer-mail {
      margin-top: 20px;
      color: rgba(255, 255, 255, 0.3);
      font-size: 11px;
      font-family: "IBM Plex Mono", monospace;
      text-transform: uppercase;
      letter-spacing: 0.25em;
    }

    /* ============ Contact Us ============ */
    #contact {
      padding: 144px 24px;
      color: #0C0B0F;
      position: relative;
      overflow: hidden;
      background: #fdffff;
    }

    .contact-bg-wrap {
      position: absolute;
      inset: 0;
      z-index: 0;
      overflow: hidden;
      pointer-events: none;
    }

.contact-bg {
    position: absolute;
    inset: 0;

    background-image: url("https://ezymantra.sirv.com/Ezymantra%20Contact/flate_white_color_background_change_202607171336.jpeg");
    background-size: cover;
    background-position: center;

    z-index: 0;

    border: 5px solid red;
}

    #contact .container {
      max-width: 800px;
      margin: 0 auto;
    }

    .contact-content {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      position: relative;
      z-index: 2;
    }

    .contact-content .kicker {
      color: #3A1772;
      font-weight: 700;
      font-family: "IBM Plex Mono", monospace;
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.25em;
    }

    .contact-content .h2 {
      margin-top: 16px;
      line-height: 1.15;
      font-size: clamp(2rem, 5vh, 3.2rem);
      color: #0C0B0F;
      max-width: 720px;
    }

    .contact-content .desc {
      margin-top: 24px;
      color: rgba(12, 11, 21, 0.75);
      font-size: 18px;
      line-height: 1.6;
      max-width: 600px;
    }

    .contact-action {
      margin-top: 40px;
    }

    .contact-action .wa-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      background: #fdffff;
      color: #0C0B0F;
      border: 1px solid rgba(12, 11, 21, 0.12);
      font-weight: 600;
      padding: 18px 40px;
      border-radius: 999px;
      font-size: 16px;
      text-decoration: none;
      box-shadow: 0 10px 30px rgba(12, 11, 15, 0.06);
      transition: transform 0.3s, background-color 0.3s, border-color 0.3s, box-shadow 0.3s;
    }

    .contact-action .wa-btn:hover {
      transform: translateY(-2px);
      background: #0C0B0F;
      color: #fdffff;
      border-color: #0C0B0F;
      box-shadow: 0 15px 35px rgba(12, 11, 15, 0.2);
    }

    @media (max-width: 768px) {
      #contact {
        padding: 32px 20px calc(32px + env(safe-area-inset-bottom)) 20px;
        background: #fdffff;
      }
      .contact-bg {
        display: none;
      }
      .contact-content .kicker {
        margin: 0;
      }
      .contact-content .h2 {
        font-family: 'Archivo', sans-serif;
        font-weight: 300;
        font-size: 34px;
        line-height: 1.1;
        letter-spacing: -0.03em;
        text-align: center;
        margin-top: 24px;
        margin-bottom: 0;
        color: #0C0B0F;
        max-width: 100%;
      }
      .contact-content .desc {
        font-family: 'Manrope', sans-serif;
        font-weight: 600;
        font-size: 16px;
        line-height: 1.7;
        max-width: 320px;
        margin-top: 24px;
        margin-bottom: 0;
        color: rgba(12, 11, 21, 0.75);
        text-align: center;
      }
      .contact-action {
        margin-top: 32px;
        display: flex;
        justify-content: center;
        width: 100%;
      }
      .contact-action .wa-btn {
        height: 56px;
        padding: 0 40px;
        border-radius: 28px;
        font-family: 'Manrope', sans-serif;
        font-weight: 700;
        font-size: 16px;
        color: #fdffff;
        background: #0C0B0F;
        border: none;
        box-shadow: none;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        transition: none;
        transform: none;
        animation: none;
      }
      .contact-action .wa-btn:hover,
      .contact-action .wa-btn:active {
        transform: none;
        background: #0C0B0F;
        color: #fdffff;
        box-shadow: none;
        border: none;
      }
      #contact::before {
        display: none;
      }
      #contact::after {
        display: none;
      }
    }

    @media (max-width: 429px) {
      .contact-content .h2 {
        font-size: 32px;
      }
    }

    @media (max-width: 349px) {
      .contact-content .h2 {
        font-size: 30px;
      }
    }

    /* ============ Scroll to top ============ */
    #scroll-top {
      position: fixed;
      bottom: 40px;
      right: 40px;
      z-index: 800;
      display: flex;
      align-items: center;
      gap: 8px;
      padding: 12px 20px;
      border-radius: 999px;
      background: #0C0B0F;
      color: #fdffff;
      font-size: 14px;
      font-weight: 500;
      box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
      opacity: 0;
      pointer-events: none;
      transition: opacity .5s, background-color .3s;
    }

    #scroll-top.visible {
      opacity: 1;
      pointer-events: auto;
    }

    #scroll-top:hover {
      background: #059669;
    }

    /* ============ Slider (hero + about) ============ */
    .slider-section {
      height: 100vh;
      width: 100%;
      overflow: hidden;
      background: var(--dark);
    }

    .slider-videos {
      position: absolute;
      top: -12vh;
      left: 0;
      width: 100%;
      height: 124vh;
    }

    .slider-videos video {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0;
      transition: opacity 1.5s;
    }

    .slider-videos video.active {
      opacity: 1;
    }

    .slider-overlay {
      position: absolute;
      inset: 0;
    }

    .slider-content {
      position: relative;
      z-index: 10;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: center;
      padding: 0 56px;
      max-width: 1024px;
    }

    .slider-kicker {
      font-family: "IBM Plex Mono", monospace;
      font-size: 13px;
      text-transform: uppercase;
      letter-spacing: 0.35em;
      color: #34d399;
      margin-bottom: 24px;
    }

    .slider-title {
      font-size: clamp(2.5rem, 5.5vw, 4rem);
      font-family: "Archivo", sans-serif;
      font-weight: 300;
      color: #fdffff;
      line-height: 1.02;
      letter-spacing: -0.02em;
      max-width: 720px;
    }

    .slider-title .line {
      display: block;
      overflow: hidden;
    }

    .slider-title .line>span {
      display: block;
      transform: translateY(110%);
    }

    .slider-sub {
      margin-top: 28px;
      font-size: 16px;
      color: rgba(255, 255, 255, 0.75);
      max-width: 560px;
      line-height: 1.6;
    }

    .slider-dots {
      margin-top: 40px;
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .slider-dots button {
      height: 3px;
      width: 20px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.3);
      transition: width .5s, background-color .5s;
    }

    .slider-dots button.active {
      width: 44px;
      background: var(--green);
    }

    .next-preview {
      position: absolute;
      bottom: 40px;
      right: 40px;
      z-index: 20;
      width: 220px;
      border-radius: 20px;
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.15);
      box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    }

    .next-preview .frame {
      position: relative;
      aspect-ratio: 16/9;
    }

    .next-preview video {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0;
      transition: opacity .8s;
    }

    .next-preview video.active {
      opacity: 1;
    }

    .next-preview .shade {
      position: absolute;
      inset: 0;
      background: rgba(0, 0, 0, 0.3);
    }

    .next-preview .meta {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      padding: 8px 12px;
      display: flex;
      justify-content: space-between;
      font-family: "IBM Plex Mono", monospace;
      font-size: 10px;
      text-transform: uppercase;
      letter-spacing: 0.25em;
    }

    .next-preview .meta .lbl {
      color: rgba(255, 255, 255, 0.8);
    }

    .next-preview .meta .idx {
      color: #34d399;
    }

    @keyframes fadeUp {
      from {
        opacity: 0;
        transform: translateY(24px);
      }

      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .fade-up {
      animation: fadeUp .9s cubic-bezier(0.22, 1, 0.36, 1) both;
    }

    /* ============ Pillars ============ */
    #pillars {
      height: 100vh;
      overflow: hidden;
      background: var(--white);
    }

    #pillars-track {
      display: flex;
      height: 100%;
      align-items: center;
      gap: 32px;
      padding: 0 56px;
      width: max-content;
    }

    .pillars-intro {
      width: 42vw;
      flex-shrink: 0;
      padding-right: 32px;
    }

    .pillars-intro p.desc {
      margin-top: 24px;
      color: rgba(15, 15, 15, 0.6);
      font-size: 16px;
      max-width: 420px;
      line-height: 1.6;
    }

    .pillar-card {
      position: relative;
      width: 420px;
      height: 68vh;
      flex-shrink: 0;
      border-radius: 30px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      padding: 36px;
    }

    .pillar-card h3 {
      font-size: 2.25rem;
      font-family: "Archivo", sans-serif;
      font-weight: 300;
      color: #fff;
      line-height: 1.15;
      letter-spacing: -0.02em;
    }

    .pillar-card p {
      margin-top: 24px;
      color: rgba(255, 255, 255, 0.8);
      font-size: 16px;
      line-height: 1.6;
    }

    .pillar-card .idx {
      font-size: 4.5rem;
      font-weight: 700;
      color: rgba(255, 255, 255, 0.25);
      line-height: 1;
      align-self: flex-end;
    }

    /* ============ Founder ============ */
    #founder {
      height: 100vh;
      overflow: hidden;
      background: var(--dark);
    }

    #founder-track {
      display: flex;
      height: 100%;
      align-items: center;
      gap: 32px;
      padding: 0 56px;
      width: max-content;
    }

    .founder-intro {
      width: 42vw;
      flex-shrink: 0;
      padding-right: 32px;
    }

    .founder-intro .h2 {
      color: var(--white);
    }

    .founder-intro .kicker {
      color: #34d399;
    }

    .founder-intro p.desc {
      margin-top: 24px;
      color: rgba(255, 255, 255, 0.6);
      font-size: 16px;
      max-width: 420px;
      line-height: 1.6;
    }

    .founder-card {
      position: relative;
      width: 440px;
      height: 72vh;
      flex-shrink: 0;
      border-radius: 30px;
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .founder-card img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .founder-card .shade {
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(7, 2, 13, 0.15) 30%, rgba(7, 2, 13, 0.92) 100%);
    }

    .founder-card .idx {
      position: absolute;
      top: 24px;
      right: 28px;
      font-size: 3rem;
      font-weight: 700;
      color: rgba(255, 255, 255, 0.25);
      line-height: 1;
    }

    .founder-card .content {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      padding: 32px;
    }

    .founder-card .tag {
      font-family: "IBM Plex Mono", monospace;
      font-size: 11px;
      text-transform: uppercase;
      letter-spacing: 0.3em;
      color: #34d399;
      margin-bottom: 12px;
    }

    .founder-card h3 {
      font-size: 1.75rem;
      font-family: "Archivo", sans-serif;
      font-weight: 300;
      color: #fff;
      line-height: 1.2;
      letter-spacing: -0.02em;
    }

    .founder-card p.txt {
      margin-top: 16px;
      color: rgba(255, 255, 255, 0.75);
      font-size: 14px;
      line-height: 1.6;
    }

    /* ============ Services ============ */
    #services {
      padding: 128px 56px;
      background: var(--white);
    }

    .container {
      max-width: 1152px;
      margin: 0 auto;
    }

    .services-head {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 32px;
      margin-bottom: 80px;
      flex-wrap: wrap;
    }

    #currency-switch {
      display: inline-flex;
      border-radius: 999px;
      border: 1px solid rgba(15, 15, 15, 0.15);
      padding: 4px;
    }

    #currency-switch button {
      border-radius: 999px;
      padding: 8px 20px;
      font-size: 14px;
      font-weight: 600;
      color: var(--ink);
      transition: background-color .3s, color .3s;
    }

    #currency-switch button.active {
      background: var(--ink);
      color: var(--white);
    }

    .acc-list {
      border-top: 1px solid rgba(15, 15, 15, 0.1);
    }

    .acc-item {
      border-bottom: 1px solid rgba(15, 15, 15, 0.1);
    }

    .acc-btn {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      padding: 36px 0;
      text-align: left;
    }

    .acc-btn .lead {
      display: flex;
      align-items: baseline;
      gap: 24px;
    }

    .acc-btn .num {
      font-family: "IBM Plex Mono", monospace;
      font-size: 12px;
      color: rgba(15, 15, 15, 0.35);
    }

    .acc-btn h3 {
      font-size: clamp(1.5rem, 2.5vw, 1.875rem);
      font-weight: 600;
      letter-spacing: -0.02em;
      transition: color .3s;
    }

    .acc-btn:hover h3 {
      color: #ea580c;
    }

    .acc-btn .desc {
      margin-top: 6px;
      font-size: 14px;
      color: rgba(15, 15, 15, 0.5);
    }

    .acc-icon {
      flex-shrink: 0;
      width: 44px;
      height: 44px;
      border-radius: 999px;
      border: 1px solid rgba(15, 15, 15, 0.15);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
      font-weight: 300;
      transition: transform .4s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .acc-item.open .acc-icon {
      transform: rotate(45deg);
    }

    .acc-panel {
      overflow: hidden;
      max-height: 0;
      opacity: 0;
      transition: max-height .5s cubic-bezier(0.22, 1, 0.36, 1), opacity .5s;
    }

    .acc-item.open .acc-panel {
      max-height: 1400px;
      opacity: 1;
    }

    .tiers {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      padding-bottom: 48px;
    }

    .tier {
      border-radius: 16px;
      padding: 28px;
      display: flex;
      flex-direction: column;
      border: 1px solid rgba(15, 15, 15, 0.12);
      background: var(--white);
    }

    .tier.recommended {
      border: 2px solid var(--growth);
      background: rgba(249, 115, 22, 0.04);
    }

    .tier .tier-head {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .tier .tname {
      font-family: "IBM Plex Mono", monospace;
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: 0.25em;
      color: rgba(15, 15, 15, 0.5);
    }

    .tier .badge {
      font-size: 10px;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      background: var(--growth);
      color: #fff;
      border-radius: 999px;
      padding: 4px 12px;
    }

    .tier .price {
      font-size: 1.875rem;
      font-weight: 700;
      margin-top: 16px;
      letter-spacing: -0.02em;
    }

    .tier ul {
      list-style: none;
      margin-top: 24px;
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .tier li {
      display: flex;
      align-items: flex-start;
      gap: 8px;
      font-size: 14px;
      color: rgba(15, 15, 15, 0.7);
    }

    .tier li::before {
      content: "✓";
      color: var(--growth);
      font-weight: 700;
      flex-shrink: 0;
    }

    .tier .cta {
      margin-top: 28px;
      display: flex;
      justify-content: center;
      border-radius: 999px;
      border: 1px solid var(--ink);
      padding: 10px 20px;
      font-size: 14px;
      font-weight: 600;
      transition: background-color .3s, color .3s;
    }

    .tier .cta:hover {
      background: var(--ink);
      color: #fff;
    }

    /* ============ Portfolio ============ */
    #work {
      padding: 128px 56px;
      background: var(--white);
    }

    .work-head {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 32px;
      margin-bottom: 64px;
      flex-wrap: wrap;
    }

    .tabs {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
    }

    .tabs button {
      border-radius: 999px;
      padding: 10px 20px;
      font-size: 14px;
      font-weight: 600;
      border: 1px solid rgba(15, 15, 15, 0.15);
      color: var(--ink);
      transition: background-color .3s, color .3s;
    }

    .tabs button.active {
      background: var(--ink);
      color: var(--white);
    }

    #portfolio-grid {
      columns: 3;
      column-gap: 20px;
    }

    .portfolio-item {
      position: relative;
      margin-bottom: 20px;
      break-inside: avoid;
      display: inline-block;
      width: 100%;
      overflow: hidden;
      border-radius: 24px;
      cursor: pointer;
      background: #111;
      border: 1px solid rgba(255, 255, 255, 0.08);
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
      transition: opacity .45s cubic-bezier(0.22, 1, 0.36, 1), transform .45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow .3s, border-color .3s;
    }

    .portfolio-item:hover {
      box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
      border-color: rgba(255, 255, 255, 0.2);
    }

    .portfolio-item.hiding {
      opacity: 0;
      transform: scale(0.95);
    }

    .portfolio-item.hidden {
      display: none !important;
    }

    /* Pinterest aspect ratios */
    .portfolio-item .media {
      position: relative;
      width: 100%;
      overflow: hidden;
    }

    .portfolio-item .media.aspect-video {
      aspect-ratio: 16 / 9;
    }

    .portfolio-item .media.aspect-\[9\/16\] {
      aspect-ratio: 9 / 16;
    }

    .portfolio-item .media.aspect-\[3\/4\] {
      aspect-ratio: 3 / 4;
    }

    .portfolio-item .media.aspect-square {
      aspect-ratio: 1 / 1;
    }

    .portfolio-item .media img,
    .portfolio-item .media iframe {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .portfolio-item:hover .media img {
      transform: scale(1.05);
    }

    .portfolio-item .info {
      position: absolute;
      inset: 0;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      padding: 24px;
      opacity: 0;
      transition: opacity .4s cubic-bezier(0.22, 1, 0.36, 1);
      background: linear-gradient(180deg, transparent 40%, rgba(7, 2, 13, 0.9) 100%);
      pointer-events: none;
    }

    .portfolio-item:hover .info {
      opacity: 1;
    }

    .portfolio-item .info-inner {
      transform: translateY(10px);
      transition: transform .4s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .portfolio-item:hover .info-inner {
      transform: translateY(0);
    }

    .portfolio-item .cat {
      font-family: "IBM Plex Mono", monospace;
      font-size: 10px;
      text-transform: uppercase;
      letter-spacing: 0.3em;
      color: #e8ff0b;
      display: inline-block;
      margin-bottom: 6px;
    }

    .portfolio-item h3 {
      font-size: 18px;
      font-weight: 600;
      color: #fff;
      margin: 0;
      line-height: 1.3;
      letter-spacing: -0.01em;
    }

    .portfolio-item .click-hint {
      font-size: 12px;
      color: rgba(255, 255, 255, 0.6);
      margin-top: 6px;
      opacity: 0;
      transition: opacity 0.4s;
    }

    .portfolio-item:hover .click-hint {
      opacity: 1;
    }

    @media (max-width: 768px) {
      .portfolio-item .info {
        opacity: 1;
        background: linear-gradient(180deg, transparent 20%, rgba(7, 2, 13, 0.95) 100%);
      }

      .portfolio-item .click-hint {
        opacity: 1;
      }

      .portfolio-item .info-inner {
        transform: translateY(0);
      }
    }

    /* ============ Legacy ============ */
    #legacy {
      padding: 144px 24px;
      text-align: center;
      background: var(--white);
    }

    #legacy .h2 {
      max-width: 768px;
      margin: 0 auto;
    }

    .stats {
      margin-top: 80px;
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 48px;
      max-width: 896px;
      margin-left: auto;
      margin-right: auto;
    }

    .stat-number {
      font-size: clamp(3.75rem, 6vw, 4.5rem);
      font-weight: 700;
      letter-spacing: -0.02em;
    }

    .stat-label {
      margin-top: 12px;
      font-family: "IBM Plex Mono", monospace;
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: 0.3em;
      color: rgba(15, 15, 15, 0.5);
    }

    /* ============ Testimonials ============ */
    #testimonials {
      padding: 128px 56px;
      background: var(--white);
    }

    .t-head {
      text-align: center;
      margin-bottom: 64px;
    }

    .t-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
      height: 640px;
      mask-image: linear-gradient(180deg, transparent 0%, black 12%, black 88%, transparent 100%);
      -webkit-mask-image: linear-gradient(180deg, transparent 0%, black 12%, black 88%, transparent 100%);
    }

    .t-col {
      overflow: hidden;
      height: 100%;
    }

    @keyframes marqueeUp {
      from {
        transform: translateY(0);
      }

      to {
        transform: translateY(-50%);
      }
    }

    .t-move {
      animation: marqueeUp linear infinite;
      will-change: transform;
    }

    .t-card {
      border-radius: 16px;
      border: 1px solid rgba(15, 15, 15, 0.1);
      background: #fff;
      padding: 24px;
      margin-bottom: 20px;
    }

    .t-card blockquote {
      font-size: 14px;
      color: rgba(15, 15, 15, 0.75);
      line-height: 1.6;
    }

    .t-card .t-name {
      margin-top: 16px;
      font-size: 14px;
      font-weight: 600;
    }

    .t-card .t-role {
      font-size: 12px;
      color: rgba(15, 15, 15, 0.45);
      margin-top: 2px;
    }

    /* ============ FAQ ============ */
    #faq {
      padding: 128px 24px;
      background: var(--white);
    }

    #faq .container {
      max-width: 768px;
    }

    .faq-head {
      text-align: center;
      margin-bottom: 64px;
    }

    .faq-item {
      border-bottom: 1px solid rgba(15, 15, 15, 0.1);
    }

    .faq-list {
      border-top: 1px solid rgba(15, 15, 15, 0.1);
    }

    .faq-btn {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      padding: 28px 0;
      text-align: left;
    }

    .faq-btn h3 {
      font-size: clamp(1.125rem, 2vw, 1.25rem);
      font-weight: 600;
      letter-spacing: -0.01em;
      transition: color .3s;
    }

    .faq-btn:hover h3 {
      color: #047857;
    }

    .faq-x {
      position: relative;
      width: 20px;
      height: 20px;
      flex-shrink: 0;
      transition: transform .4s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .faq-x::before,
    .faq-x::after {
      content: "";
      position: absolute;
      background: var(--ink);
    }

    .faq-x::before {
      top: 50%;
      left: 0;
      width: 100%;
      height: 1.5px;
      transform: translateY(-50%);
    }

    .faq-x::after {
      left: 50%;
      top: 0;
      height: 100%;
      width: 1.5px;
      transform: translateX(-50%);
    }

    .faq-item.open .faq-x {
      transform: rotate(45deg);
    }

    .faq-panel {
      overflow: hidden;
      max-height: 0;
      opacity: 0;
      transition: max-height .4s cubic-bezier(0.22, 1, 0.36, 1), opacity .4s;
    }

    .faq-item.open .faq-panel {
      max-height: 300px;
      opacity: 1;
    }

    .faq-panel p {
      padding-bottom: 32px;
      font-size: 15px;
      color: rgba(15, 15, 15, 0.6);
      line-height: 1.7;
      max-width: 640px;
    }

    /* ============ Footer ============ */
    footer {
      padding-top: 160px;
      background: var(--white);
      overflow: hidden;
    }

    .foot-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 56px;
      padding-bottom: 112px;
    }

    .foot-brand-name {
      font-size: 20px;
      font-weight: 700;
      letter-spacing: -0.02em;
    }

    .foot-brand p.about {
      margin-top: 20px;
      font-size: 14px;
      color: rgba(15, 15, 15, 0.5);
      line-height: 1.6;
      max-width: 280px;
    }

    .foot-cta {
      margin-top: 28px;
      display: inline-flex;
      border-radius: 999px;
      background: var(--ink);
      color: #fff;
      padding: 12px 24px;
      font-size: 14px;
      font-weight: 600;
      transition: transform .3s;
    }

    .foot-cta:hover {
      transform: scale(1.05);
    }

    .foot-col p.title {
      font-family: "IBM Plex Mono", monospace;
      font-size: 12px;
      text-transform: uppercase;
      letter-spacing: 0.3em;
      color: rgba(15, 15, 15, 0.4);
      margin-bottom: 24px;
    }

    .foot-col ul {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .foot-col a {
      font-size: 14px;
      color: rgba(15, 15, 15, 0.7);
      transition: color .3s;
    }

    .foot-col a:hover {
      color: var(--ink);
    }

    .foot-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding: 32px 0;
      border-top: 1px solid rgba(15, 15, 15, 0.1);
      flex-wrap: wrap;
    }

    .foot-bar p {
      font-size: 12px;
      color: rgba(15, 15, 15, 0.4);
    }

    .foot-policies {
      display: flex;
      gap: 20px;
    }

    .foot-policies a {
      font-size: 12px;
      color: rgba(15, 15, 15, 0.5);
      text-decoration: none;
      transition: color .3s;
    }

    .foot-policies a:hover {
      color: var(--ink);
    }

    .watermark {
      display: flex;
      align-items: flex-end;
      justify-content: center;
      padding: 0 8px 16px;
      user-select: none;
    }

    .watermark h2 {
      font-size: clamp(3rem, 12.5vw, 15rem);
      font-weight: 700;
      line-height: 1;
      letter-spacing: -0.04em;
      white-space: nowrap;
      text-align: center;
    }

    /* Watermark per-letter brand color animation */
    @keyframes brandColorCycle {
      0% {
        color: #3A1772;
      }

      /* strategy - purple */
      20% {
        color: #FF4B3E;
      }

      /* explain  - red    */
      40% {
        color: #D81159;
      }

      /* tutorial - pink   */
      60% {
        color: #1128F7;
      }

      /* experiment- blue  */
      80% {
        color: #FF700A;
      }

      /* growth   - orange */
      100% {
        color: #3A1772;
      }

      /* loop back         */
    }

    .wm-letter {
      display: inline-block;
      animation: brandColorCycle 5s ease-in-out infinite;
    }

    .pulse-node {
      position: relative;
      width: 16px;
      height: 16px;
      margin: 0 0 2vw 12px;
      flex-shrink: 0;
    }

    .pulse-node::before,
    .pulse-node::after {
      content: "";
      position: absolute;
      inset: 0;
      border-radius: 999px;
      background: var(--green);
    }

    .pulse-node::before {
      opacity: 0.6;
      animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
    }

    @keyframes ping {

      75%,
      100% {
        transform: scale(2.2);
        opacity: 0;
      }
    }

    /* ============ Responsive ============ */
    @media (max-width: 1024px) {
      #portfolio-grid {
        columns: 2;
      }

      .foot-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .t-grid {
        grid-template-columns: repeat(2, 1fr);
      }

      .t-col:nth-child(3) {
        display: none;
      }
    }

    @media (max-width: 640px) {
      #navbar .nav-inner {
        padding: 20px 24px;
      }

      #lets-talk {
        display: none;
      }

      .slider-content {
        padding: 0 24px;
      }

      .next-preview {
        display: none;
      }

      .pillars-intro {
        width: 82vw;
      }

      .pillar-card {
        width: 78vw;
      }

      .founder-intro {
        width: 82vw;
      }

      .founder-card {
        width: 78vw;
      }

      #founder-track {
        padding: 0 24px;
      }

      #pillars-track {
        padding: 0 24px;
      }

      #services,
      #work,
      #testimonials {
        padding-left: 24px;
        padding-right: 24px;
      }

      .tiers {
        grid-template-columns: 1fr;
      }

      .acc-item.open .acc-panel {
        max-height: 3000px;
      }

      #portfolio-grid {
        columns: 2;
        column-gap: 12px;
      }

      .stats {
        grid-template-columns: 1fr;
      }

      .t-grid {
        grid-template-columns: 1fr;
      }

      .t-col:nth-child(2) {
        display: none;
      }

      .foot-grid {
        grid-template-columns: 1fr;
      }

      #scroll-top {
        bottom: calc(140px + env(safe-area-inset-bottom));
        right: calc(20px + env(safe-area-inset-right));
        width: 48px;
        height: 48px;
        padding: 0;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
        z-index: 999;
        animation: none;
        transition: none;
        transform: none;
      }

      #scroll-top .lbl {
        display: none;
      }

      .acc-btn .lead {
        gap: 12px;
      }
    }

    /* ============ Portfolio Modal ============ */
    #portfolio-modal {
      position: fixed;
      inset: 0;
      z-index: 99999;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 16px;
      background: rgba(7, 2, 13, 0.92);
      backdrop-filter: blur(14px);
      -webkit-backdrop-filter: blur(14px);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.3s ease;
    }

    #portfolio-modal.is-open {
      opacity: 1;
      pointer-events: auto;
    }

    /* Outer wrapper: stacks close-btn above the frame */
    .modal-outer {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
      width: 100%;
      max-width: 1200px;
      /* leave vertical room for the button above */
      max-height: calc(100vh - 32px);
    }

    /* ✕ button lives ABOVE and right of the frame */
    #modal-close-btn {
      flex-shrink: 0;
      width: 44px;
      height: 44px;
      margin-bottom: 10px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.12);
      border: 1px solid rgba(255, 255, 255, 0.28);
      color: #fff;
      font-size: 20px;
      line-height: 1;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      backdrop-filter: blur(6px);
      -webkit-backdrop-filter: blur(6px);
      box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
      transition: background 0.2s, color 0.2s, transform 0.2s;
    }

    #modal-close-btn:hover {
      background: #e8ff0b;
      color: #000;
      border-color: #e8ff0b;
      transform: scale(1.1) rotate(90deg);
    }

    /* The frame box itself */
    .modal-frame-container {
      width: 100%;
      /* leave room: viewport minus top/bottom padding minus button+gap */
      height: min(80vh, calc(100vh - 32px - 54px));
      background: #1c1c1e;
      border-radius: 20px;
      overflow: hidden;
      border: 1px solid rgba(255, 255, 255, 0.1);
      box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
      /* KEY: flex-column so browser-bar + slot stack vertically */
      display: flex;
      flex-direction: column;
    }

    /* Embed slot is the direct flex child that fills remaining height */
    #modal-embed-slot {
      flex: 1;
      min-height: 0;
      /* MUST be flex-column so injected browser-bar + iframe-area work */
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }

    /* Browser chrome bar (web preview only) */
    .modal-browser-bar {
      flex-shrink: 0;
      display: flex;
      align-items: center;
      gap: 12px;
      height: 48px;
      padding: 0 16px;
      background: #2c2c2e;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .modal-browser-dots {
      display: flex;
      gap: 6px;
      flex-shrink: 0;
    }

    .modal-browser-dots span {
      width: 11px;
      height: 11px;
      border-radius: 50%;
    }

    .modal-browser-dots span:nth-child(1) {
      background: #ff5f56;
    }

    .modal-browser-dots span:nth-child(2) {
      background: #ffbd2e;
    }

    .modal-browser-dots span:nth-child(3) {
      background: #27c93f;
    }

    .modal-address-bar {
      flex: 1;
      min-width: 0;
      text-align: center;
      background: #1c1c1e;
      border: 1px solid rgba(255, 255, 255, 0.06);
      border-radius: 8px;
      padding: 5px 12px;
      font-family: "IBM Plex Mono", monospace;
      font-size: 11px;
      color: rgba(255, 255, 255, 0.45);
      overflow: hidden;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .modal-live-badge {
      display: flex;
      align-items: center;
      gap: 6px;
      flex-shrink: 0;
    }

    .modal-live-badge .dot {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: #27c93f;
      animation: pulse-green 1.5s ease infinite;
    }

    @keyframes pulse-green {

      0%,
      100% {
        opacity: 1;
      }

      50% {
        opacity: 0.35;
      }
    }

    .modal-live-badge .lbl {
      font-family: "IBM Plex Mono", monospace;
      font-size: 10px;
      text-transform: uppercase;
      letter-spacing: 0.2em;
      color: rgba(255, 255, 255, 0.35);
    }

    /* iframe area — fills flex remainder below browser bar */
    .modal-iframe-area {
      flex: 1;
      position: relative;
      min-height: 0;
      background: #fff;
    }

    .modal-iframe-area iframe,
    #modal-embed-slot>iframe {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      border: none;
      display: block;
      background: #000;
    }

    /* Responsive tweaks */
    @media (max-width: 768px) {
      .modal-frame-container {
        border-radius: 14px;
        height: min(75vh, calc(100vh - 32px - 54px));
      }

      .modal-live-badge .lbl {
        display: none;
      }

      #modal-close-btn {
        width: 40px;
        height: 40px;
        font-size: 17px;
      }
    }

    @media (max-width: 480px) {
      #portfolio-modal {
        padding: 8px;
      }

      .modal-frame-container {
        border-radius: 10px;
        height: min(72vh, calc(100vh - 16px - 50px));
      }

      .modal-browser-dots {
        display: none;
      }
    }

  


    /* ===== Policy Modal ===== */
    #policy-modal-overlay {
      position: fixed;
      inset: 0;
      background: rgba(10, 10, 10, 0.72);
      backdrop-filter: blur(6px);
      -webkit-backdrop-filter: blur(6px);
      z-index: 9999;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 20px;
      animation: pm-fadein 0.25s ease;
    }

    @keyframes pm-fadein {
      from {
        opacity: 0;
      }

      to {
        opacity: 1;
      }
    }

    #policy-modal-box {
      position: relative;
      background: #fdffff;
      border-radius: 20px;
      width: 100%;
      max-width: 780px;
      max-height: 82vh;
      overflow-y: auto;
      padding: 52px 48px 48px;
      box-shadow: 0 32px 80px rgba(0, 0, 0, 0.28), 0 0 0 1px rgba(15, 15, 15, 0.06);
      animation: pm-slidein 0.3s cubic-bezier(0.22, 1, 0.36, 1);
      scrollbar-width: thin;
      scrollbar-color: rgba(15, 15, 15, 0.18) transparent;
    }

    #policy-modal-box::-webkit-scrollbar {
      width: 5px;
    }

    #policy-modal-box::-webkit-scrollbar-track {
      background: transparent;
    }

    #policy-modal-box::-webkit-scrollbar-thumb {
      background: rgba(15, 15, 15, 0.18);
      border-radius: 99px;
    }

    @keyframes pm-slidein {
      from {
        opacity: 0;
        transform: translateY(28px) scale(0.97);
      }

      to {
        opacity: 1;
        transform: translateY(0) scale(1);
      }
    }

    #policy-modal-close {
      position: sticky;
      top: 0;
      float: right;
      margin: -8px -8px 16px 16px;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      border: 1px solid rgba(15, 15, 15, 0.12);
      background: #fff;
      color: #0f0f0f;
      font-size: 22px;
      line-height: 1;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.2s, transform 0.2s;
      z-index: 10;
      box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
    }

    #policy-modal-close:hover {
      background: #f0f0f0;
      transform: rotate(90deg);
    }

    /* ---- Typography inside modal ---- */
    #policy-modal-body .pm-date {
      font-family: "IBM Plex Mono", monospace;
      font-size: 11px;
      color: rgba(15, 15, 15, 0.55);
      text-transform: uppercase;
      letter-spacing: 0.18em;
      display: block;
      margin-bottom: 12px;
    }

    #policy-modal-body h1 {
      font-family: "Archivo", sans-serif;
      font-size: clamp(1.8rem, 5vw, 2.8rem);
      font-weight: 300;
      letter-spacing: -0.03em;
      line-height: 1.15;
      color: #0f0f0f;
      margin-bottom: 16px;
    }

    #policy-modal-body .pm-lead {
      font-family: "Manrope", sans-serif;
      font-size: 1rem;
      color: rgba(15, 15, 15, 0.65);
      margin-bottom: 40px;
      line-height: 1.7;
    }

    #policy-modal-body .pm-section {
      margin-bottom: 40px;
    }

    #policy-modal-body .pm-section-num {
      font-family: "IBM Plex Mono", monospace;
      font-size: 11px;
      color: rgba(15, 15, 15, 0.45);
      text-transform: uppercase;
      letter-spacing: 0.16em;
      display: block;
      margin-bottom: 8px;
    }

    #policy-modal-body h2 {
      font-family: "Archivo", sans-serif;
      font-size: 1.3rem;
      font-weight: 400;
      color: #0f0f0f;
      margin-bottom: 12px;
      letter-spacing: -0.02em;
    }

    #policy-modal-body p {
      font-family: "Manrope", sans-serif;
      font-size: 0.94rem;
      color: rgba(15, 15, 15, 0.68);
      line-height: 1.75;
      margin-bottom: 10px;
    }

    #policy-modal-body strong {
      color: #0f0f0f;
      font-weight: 700;
    }

    #policy-modal-body .pm-card {
      background: rgba(15, 15, 15, 0.025);
      border: 1px solid rgba(15, 15, 15, 0.08);
      border-radius: 14px;
      padding: 24px 28px;
      margin-top: 16px;
    }

    #policy-modal-body .pm-card p:last-child {
      margin-bottom: 0;
    }

    #policy-modal-body hr.pm-divider {
      border: none;
      border-top: 1px solid rgba(15, 15, 15, 0.07);
      margin: 32px 0;
    }

    @media (max-width: 600px) {
      #policy-modal-box {
        padding: 40px 24px 32px;
        max-height: 88vh;
      }
    }
  