    /* ══════════════════════════════════════════
       CODEHOUSE · co.th — REDESIGN 2025
       Hero & layout: redesign  |  Content: original
    ══════════════════════════════════════════ */
    :root {
      --black: #07090e;
      --surface: #0d0f15;
      --card: #111318;
      --white: #f4f2ee;
      --muted: #6b7280;
      --accent: #00e5a0;
      --border: rgba(244, 242, 238, .1);
      --glass: rgba(244, 242, 238, .04);
      --r: 10px;
      --th: 'IBM Plex Sans Thai', sans-serif;
      --en: 'Syne', sans-serif;
      --mono: 'DM Mono', monospace;
    }

    *,
    *::before,
    *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      scroll-behavior: smooth;
      height: -webkit-fill-available;
      /* Fix for iOS */
    }

    body {
      background: var(--black);
      color: var(--white);
      font-family: 'Syne', 'IBM Plex Sans Thai', sans-serif !important;
      font-weight: 300;
      overflow-x: hidden;
      line-height: 1.7;
      cursor: none;
    }

    /* Grid bg */
    body::after {
      content: '';
      position: fixed;
      inset: 0;
      background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
      background-size: 72px 72px;
      pointer-events: none;
      z-index: 0;
    }

    /* Noise */
    body::before {
      content: '';
      position: fixed;
      inset: 0;
      background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
      opacity: .02;
      pointer-events: none;
      z-index: 1000;
    }

    /* Cursor */
    #cur {
      position: fixed;
      width: 10px;
      height: 10px;
      background: var(--accent);
      border-radius: 50%;
      pointer-events: none;
      z-index: 9999;
      transform: translate(-50%, -50%);
      transition: width .2s, height .2s;
    }

    #ring {
      position: fixed;
      width: 36px;
      height: 36px;
      border: 1.5px solid rgba(0, 229, 160, .35);
      border-radius: 50%;
      pointer-events: none;
      z-index: 9998;
      transform: translate(-50%, -50%);
      transition: width .2s, height .2s, border-color .2s;
    }

    body.hov #cur {
      width: 16px;
      height: 16px;
    }

    body.hov #ring {
      width: 52px;
      height: 52px;
      border-color: rgba(0, 229, 160, .55);
    }

    @media (hover: none) and (pointer: coarse) {

      #cur,
      #ring {
        display: none !important;
      }
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 48px;
    }

    /* ─── NAVBAR ─── */
    .navbar {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      z-index: 500;
      padding: 22px 52px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-bottom: 1px solid transparent;
      transition: background .3s, border-color .3s;
    }

    .navbar.scrolled {
      background: rgba(7, 9, 14, .9);
      backdrop-filter: blur(22px);
      border-color: var(--border);
    }

    .navbar-logo {
      display: flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
      color: var(--white);
      cursor: none;
    }

    .navbar-logo img {
      width: 32px;
      height: 32px;
      object-fit: contain;
      border-radius: 6px;
    }

    .navbar-logo-name {
      font-family: var(--en), var(--th);
      font-size: 18px;
      font-weight: 800;
      letter-spacing: -.3px;
    }

    .navbar-menu {
      display: flex;
      align-items: center;
      gap: 36px;
    }

    .navbar-menu a {
      font-family: var(--mono);
      font-size: 11.5px;
      letter-spacing: .09em;
      text-transform: uppercase;
      color: var(--muted);
      text-decoration: none;
      transition: color .2s;
      cursor: none;
    }

    .navbar-menu a:hover {
      color: var(--white);
    }

    .navbar-actions {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .lang-toggle {
      background: transparent;
      border: 1px solid var(--border);
      border-radius: 4px;
      padding: 7px 14px;
      font-family: var(--mono);
      font-size: 11px;
      letter-spacing: .06em;
      color: var(--muted);
      cursor: none;
      transition: all .2s;
      display: flex;
      align-items: center;
      gap: 4px;
    }

    .lang-toggle:hover {
      border-color: rgba(244, 242, 238, .3);
      color: var(--white);
    }

    .lang-option.active {
      color: var(--accent);
    }

    .lang-separator {
      opacity: .3;
    }

    .navbar-toggle {
      display: none;
      flex-direction: column;
      gap: 5px;
      background: transparent;
      border: none;
      cursor: none;
      padding: 4px;
    }

    .navbar-toggle span {
      display: block;
      width: 22px;
      height: 1.5px;
      background: var(--white);
      transition: all .3s;
    }

    .navbar-lang-mobile {
      display: none;
    }

    /* ─── HERO (redesign style, co.th content) ─── */
    .hero {
      position: relative;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      padding: 120px 52px 88px;
      overflow: hidden;
      z-index: 1;
    }

    /* Orbs */
    .orb {
      position: absolute;
      border-radius: 50%;
      filter: blur(130px);
      pointer-events: none;
      animation: drift 10s ease-in-out infinite;
    }

    .o1 {
      width: 700px;
      height: 700px;
      background: rgba(0, 229, 160, .1);
      top: -150px;
      right: -80px;
    }

    .o2 {
      width: 480px;
      height: 480px;
      background: rgba(0, 120, 255, .07);
      bottom: -60px;
      left: 10%;
      animation-duration: 14s;
      animation-direction: reverse;
    }

    .o3 {
      width: 320px;
      height: 320px;
      background: rgba(0, 229, 160, .05);
      top: 35%;
      left: -80px;
      animation-duration: 18s;
    }

    @keyframes drift {

      0%,
      100% {
        transform: translateY(0) scale(1)
      }

      50% {
        transform: translateY(-48px) scale(1.05)
      }
    }

    /* Hero bg: animated dots SVG from original */
    .hero-bg {
      position: absolute;
      inset: 0;
      z-index: -1;
    }

    .hero-bg object {
      width: 100%;
      height: 100%;
      opacity: .3;
    }

    .hero-bg-grad {
      position: absolute;
      inset: 0;
      background:
        radial-gradient(ellipse 55% 60% at 75% 25%, rgba(0, 229, 160, .13) 0%, transparent 65%),
        linear-gradient(to bottom, transparent 55%, var(--black) 100%);
    }

    /* eyebrow */
    .hero-eyebrow {
      font-family: var(--mono);
      font-size: 11px;
      letter-spacing: .2em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 28px;
      display: flex;
      align-items: center;
      gap: 10px;
      opacity: 0;
      animation: fadeUp .7s .1s forwards;
    }

    .hero-eyebrow::before {
      content: '';
      width: 26px;
      height: 1px;
      background: var(--accent);
    }

    /* BIG title — matches screenshot: large outlined last word */
    .hero-title {
      font-family: var(--en), var(--th);
      font-weight: 800;
      font-size: clamp(64px, 10vw, 148px);
      line-height: .88;
      letter-spacing: -4px;
      margin-bottom: 48px;
      opacity: 0;
      animation: fadeUp .8s .25s forwards;
    }

    .hero-title .solid {
      display: block;
      color: var(--white);
    }

    .hero-title .outline {
      display: block;
      color: transparent;
      -webkit-text-stroke: 1.5px rgba(244, 242, 238, .22);
    }

    /* bottom row */
    .hero-bottom {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 40px;
      opacity: 0;
      animation: fadeUp .8s .45s forwards;
    }

    .hero-desc {
      font-size: 16px;
      line-height: 1.82;
      color: var(--muted);
      max-width: 420px;
    }

    .hero-desc strong {
      color: var(--white);
      font-weight: 400;
    }

    .hero-btns {
      display: flex;
      gap: 14px;
      flex-shrink: 0;
    }

    .btn {
      font-family: var(--en), var(--th);
      font-size: 14px;
      font-weight: 700;
      padding: 17px 36px;
      border-radius: 5px;
      text-decoration: none;
      cursor: none;
      transition: all .2s;
      border: none;
      display: inline-block;
      letter-spacing: .01em;
    }

    .btn-primary {
      background: var(--accent);
      color: var(--black);
    }

    .btn-primary:hover {
      background: #00f5b0;
      transform: translateY(-2px);
    }

    .btn-secondary {
      background: transparent;
      color: var(--white);
      border: 1px solid var(--border);
    }

    .btn-secondary:hover {
      border-color: rgba(244, 242, 238, .35);
    }

    /* scroll indicator */
    .hero-scroll {
      position: absolute;
      bottom: 44px;
      right: 52px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 6px;
      opacity: 0;
      animation: fadeUp .8s 1s forwards;
    }

    .scroll-line {
      width: 1px;
      height: 56px;
      background: linear-gradient(to bottom, var(--accent), transparent);
      animation: pulse 2s infinite;
    }

    @keyframes pulse {

      0%,
      100% {
        opacity: .3
      }

      50% {
        opacity: 1
      }
    }

    .scroll-label {
      font-family: var(--mono);
      font-size: 9px;
      letter-spacing: .15em;
      text-transform: uppercase;
      color: var(--muted);
      writing-mode: vertical-rl;
    }

    @keyframes fadeUp {
      from {
        opacity: 0;
        transform: translateY(26px)
      }

      to {
        opacity: 1;
        transform: translateY(0)
      }
    }

    /* ─── TICKER ─── */
    .ticker {
      border-top: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      padding: 14px 0;
      overflow: hidden;
      position: relative;
      z-index: 1;
    }

    .ticker-track {
      display: flex;
      gap: 48px;
      animation: tick 26s linear infinite;
      width: max-content;
    }

    .t-item {
      display: flex;
      align-items: center;
      gap: 10px;
      white-space: nowrap;
      font-family: var(--mono);
      font-size: 11.5px;
      color: var(--muted);
      letter-spacing: .06em;
    }

    .t-dot {
      width: 5px;
      height: 5px;
      border-radius: 50%;
      background: var(--accent);
      flex-shrink: 0;
    }

    @keyframes tick {
      from {
        transform: translateX(0)
      }

      to {
        transform: translateX(-50%)
      }
    }

    /* ─── SHARED SECTION ─── */
    section {
      position: relative;
      z-index: 1;
    }

    .section-pad {
      padding: 120px 0;
    }

    .s-label {
      font-family: var(--mono);
      font-size: 11px;
      letter-spacing: .18em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 18px;
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .s-label::before {
      content: '';
      width: 26px;
      height: 1px;
      background: var(--accent);
    }

    .s-title {
      font-family: var(--en), var(--th);
      font-weight: 800;
      font-size: clamp(32px, 4.5vw, 56px);
      letter-spacing: -1.5px;
      line-height: 1.04;
    }

    .gradient-text {
      background: linear-gradient(135deg, var(--accent) 0%, #00c788 60%, #00a870 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .s-sub {
      font-size: 16px;
      color: var(--muted);
      margin-top: 16px;
      max-width: 600px;
      line-height: 1.82;
    }

    .s-header {
      margin-bottom: 60px;
    }

    /* Reveal */
    .rv {
      opacity: 0;
      transform: translateY(32px);
      transition: opacity .8s ease, transform .8s ease;
    }

    .rv.on {
      opacity: 1;
      transform: none;
    }

    .d1 {
      transition-delay: .1s
    }

    .d2 {
      transition-delay: .2s
    }

    .d3 {
      transition-delay: .3s
    }

    /* ─── ABOUT ─── */
    .about-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: center;
    }

    .about-text p {
      font-size: 16.5px;
      line-height: 1.88;
      color: rgba(244, 242, 238, .75);
    }

    .stats-box {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 2px;
      border: 1px solid var(--border);
    }

    .stat-cell {
      padding: 36px 30px;
      background: var(--card);
      border-right: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
    }

    .stat-cell:nth-child(2n) {
      border-right: none;
    }

    .stat-cell:nth-child(3),
    .stat-cell:nth-child(4) {
      border-bottom: none;
    }

    .stat-n {
      font-family: var(--en);
      font-size: 48px;
      font-weight: 800;
      letter-spacing: -2px;
      line-height: 1;
      background: linear-gradient(145deg, var(--white), rgba(244, 242, 238, .4));
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
      margin-bottom: 6px;
    }

    .stat-l {
      font-family: var(--mono);
      font-size: 10.5px;
      color: var(--muted);
      letter-spacing: .1em;
      text-transform: uppercase;
    }

    /* ─── SERVICES (What We Do → Our Services) ─── */
    .svc-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      border: 1px solid var(--border);
    }

    .svc-card {
      padding: 48px 40px 60px;
      border-right: 1px solid var(--border);
      border-bottom: 1px solid var(--border);
      position: relative;
      overflow: hidden;
      transition: background .3s;
      cursor: none;
    }

    .svc-card:nth-child(2n) {
      border-right: none;
    }

    .svc-card:nth-child(3),
    .svc-card:nth-child(4) {
      border-bottom: none;
    }

    .svc-card::before {
      content: '';
      position: absolute;
      inset: 0;
      background: linear-gradient(140deg, rgba(0, 229, 160, .07), transparent 60%);
      opacity: 0;
      transition: opacity .3s;
    }

    .svc-card:hover::before {
      opacity: 1;
    }

    .svc-card:hover {
      background: var(--glass);
    }

    .svc-num {
      font-family: var(--mono);
      font-size: 11px;
      color: var(--accent);
      letter-spacing: .1em;
      margin-bottom: 32px;
    }

    .svc-icon {
      font-size: 30px;
      margin-bottom: 20px;
      display: block;
      color: var(--accent);
    }

    .svc-icon svg {
      stroke: var(--accent);
    }

    .svc-name {
      font-family: var(--en), var(--th);
      font-size: 22px;
      font-weight: 800;
      letter-spacing: -.3px;
      margin-bottom: 6px;
    }

    .svc-sub-th {
      font-family: var(--mono);
      font-size: 11px;
      color: var(--accent);
      letter-spacing: .08em;
      margin-bottom: 18px;
    }

    .svc-desc {
      font-size: 13.5px;
      line-height: 1.85;
      color: var(--muted);
    }

    /* Service bullets */
    .svc-bullets {
      list-style: none;
      margin: 12px 0 0;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .svc-bullets li {
      font-size: 12px;
      color: var(--muted);
      display: flex;
      align-items: center;
      gap: 8px;
      line-height: 1.5;
    }

    .svc-bullets li::before {
      content: '';
      width: 4px;
      height: 4px;
      border-radius: 50%;
      background: var(--accent);
      flex-shrink: 0;
    }

    /* Line OA button */
    .line-oa-btn {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      margin-top: 24px;
      padding: 12px 20px;
      background: #00B900;
      border-radius: 8px;
      color: #fff;
      font-family: var(--en), var(--th);
      font-size: 13px;
      font-weight: 600;
      text-decoration: none;
      transition: background .2s, transform .2s;
      cursor: none;
    }

    .line-oa-btn:hover {
      background: #009900;
      transform: translateY(-2px);
    }

    .svc-arrow {
      position: absolute;
      bottom: 28px;
      right: 28px;
      width: 30px;
      height: 30px;
      border: 1px solid var(--border);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 14px;
      opacity: 0;
      transform: translateX(-6px);
      transition: all .3s;
    }

    .svc-card:hover .svc-arrow {
      opacity: 1;
      transform: translateX(0);
    }

    /* ─── WORKS ─── */
    .works-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 20px;
    }

    .work-card {
      border: 1px solid var(--border);
      border-radius: var(--r);
      overflow: hidden;
      cursor: none;
      transition: border-color .3s, transform .4s;
      display: flex;
      flex-direction: column;
    }

    .work-card:hover {
      border-color: rgba(0, 229, 160, .3);
      transform: translateY(-4px);
    }

    .work-image {
      width: 100%;
      aspect-ratio: 4/3;
      object-fit: cover;
      display: block;
      transition: transform .6s;
    }

    .work-card:hover .work-image {
      transform: scale(1.04);
    }

    .work-info {
      padding: 22px 24px;
      background: var(--card);
      flex: 1;
      /* stretch to match tallest card */
    }

    .work-title-en {
      font-family: var(--en), var(--th);
      font-size: 18px;
      font-weight: 800;
      letter-spacing: -.3px;
      margin-bottom: 4px;
    }

    .work-tag {
      font-family: var(--mono);
      font-size: 11px;
      color: var(--accent);
      letter-spacing: .08em;
    }

    /* ─── CONTACT ─── */
    .contact-wrap {
      display: grid;
      grid-template-columns: 1fr 1.6fr;
      gap: 64px;
      align-items: start;
    }

    .contact-info-col h3 {
      font-family: var(--en);
      font-size: 22px;
      font-weight: 700;
      letter-spacing: -.3px;
      margin-bottom: 36px;
    }

    .c-item {
      display: flex;
      gap: 16px;
      align-items: flex-start;
      padding-bottom: 26px;
      margin-bottom: 26px;
      border-bottom: 1px solid var(--border);
    }

    .c-item:last-child {
      border-bottom: none;
    }

    .c-icon {
      width: 44px;
      height: 44px;
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 19px;
      flex-shrink: 0;
    }

    .c-detail h4 {
      font-family: var(--mono);
      font-size: 11px;
      letter-spacing: .1em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 4px;
    }

    .c-detail p,
    .c-detail a {
      font-size: 15px;
      color: rgba(244, 242, 238, .75);
      text-decoration: none;
      transition: color .2s;
    }

    .c-detail a:hover {
      color: var(--accent);
    }

    .contact-form {
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: var(--r);
      padding: 44px;
    }

    .form-group {
      margin-bottom: 24px;
    }

    .form-group label {
      display: block;
      font-family: var(--mono);
      font-size: 11px;
      letter-spacing: .1em;
      text-transform: uppercase;
      color: var(--muted);
      margin-bottom: 8px;
    }

    .form-group input,
    .form-group textarea {
      width: 100%;
      padding: 13px 16px;
      background: rgba(244, 242, 238, .04);
      border: 1px solid var(--border);
      border-radius: 6px;
      color: var(--white);
      font-family: var(--th);
      font-size: 15px;
      transition: border-color .2s;
      outline: none;
      cursor: none;
    }

    .form-group input:focus,
    .form-group textarea:focus {
      border-color: rgba(0, 229, 160, .4);
      background: rgba(0, 229, 160, .03);
    }

    .form-group textarea {
      min-height: 140px;
      resize: vertical;
    }

    .contact-form .btn {
      width: 100%;
      text-align: center;
      margin-top: 8px;
    }

    /* ─── FOOTER ─── */
    .footer {
      border-top: 1px solid var(--border);
      padding: 40px 52px;
      position: relative;
      z-index: 1;
    }

    .footer-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }

    .footer-logo img {
      height: 34px;
      object-fit: contain;
      filter: brightness(0) invert(1);
      opacity: .7;
    }

    .footer-copy {
      font-family: var(--mono);
      font-size: 11px;
      color: var(--muted);
      letter-spacing: .06em;
    }

    .footer-links {
      display: flex;
      gap: 20px;
      list-style: none;
    }

    .footer-links a {
      font-family: var(--mono);
      font-size: 11px;
      color: var(--muted);
      text-decoration: none;
      letter-spacing: .06em;
      transition: color .2s;
      cursor: none;
    }

    .footer-links a:hover {
      color: var(--white);
    }

    /* ─── LIGHTBOX ─── */
    .lightbox {
      display: none;
      position: fixed;
      inset: 0;
      z-index: 800;
      align-items: center;
      justify-content: center;
    }

    .lightbox.active {
      display: flex;
    }

    body.lb-open {
      overflow: hidden !important;
    }

    .lightbox-backdrop {
      position: absolute;
      inset: 0;
      background: rgba(7, 9, 14, .92);
      backdrop-filter: blur(16px);
    }

    .lightbox-content {
      position: relative;
      z-index: 1;
      width: 90vw;
      max-width: 820px;
      max-height: 88vh;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 14px;
      overflow-y: auto;
      overflow-x: hidden;
      scrollbar-width: thin;
      scrollbar-color: rgba(244, 242, 238, .15) transparent;
    }

    .lightbox-content::-webkit-scrollbar {
      width: 4px;
    }

    .lightbox-content::-webkit-scrollbar-track {
      background: transparent;
    }

    .lightbox-content::-webkit-scrollbar-thumb {
      background: rgba(244, 242, 238, .15);
      border-radius: 2px;
    }

    .lightbox-hero {
      width: 100%;
      height: 300px;
      overflow: hidden;
      background: var(--card);
      /* fallback while image loads */
    }

    .lightbox-hero img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .lightbox-body {
      padding: 36px 40px 44px;
    }

    .lightbox-close {
      position: absolute;
      top: 16px;
      right: 16px;
      z-index: 10;
      width: 36px;
      height: 36px;
      border-radius: 50%;
      background: rgba(7, 9, 14, .8);
      border: 1px solid var(--border);
      color: var(--white);
      font-size: 14px;
      cursor: none;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background .2s, border-color .2s;
    }

    .lightbox-close:hover {
      background: var(--accent);
      border-color: var(--accent);
      color: var(--black);
    }

    .lightbox-title {
      font-family: var(--en), var(--th);
      font-size: 24px;
      font-weight: 800;
      letter-spacing: -.5px;
      margin-bottom: 4px;
    }

    .lightbox-subtitle {
      font-family: var(--mono);
      font-size: 11px;
      color: var(--accent);
      letter-spacing: .1em;
      text-transform: uppercase;
      margin-bottom: 28px;
    }

    .lightbox-section {
      margin-bottom: 24px;
    }

    .lightbox-section h4 {
      font-family: var(--mono);
      font-size: 11px;
      letter-spacing: .12em;
      text-transform: uppercase;
      color: var(--accent);
      margin-bottom: 10px;
    }

    .lightbox-section p {
      font-size: 15px;
      line-height: 1.8;
      color: rgba(244, 242, 238, .75);
    }

    .lightbox-tech {
      display: flex;
      gap: 8px;
      flex-wrap: wrap;
      align-items: center;
      margin-top: 8px;
    }

    .lightbox-tech span,
    .tech-tag {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 5px 10px;
      border-radius: 4px;
      background: var(--glass);
      border: 1px solid var(--border);
      font-family: var(--mono);
      font-size: 11px;
      color: var(--muted);
      letter-spacing: .06em;
      white-space: nowrap;
      height: 28px;
      /* fixed height so all badges are the same size */
    }

    .tech-icon {
      width: 16px;
      height: 16px;
      object-fit: contain;
      flex-shrink: 0;
      display: block;
    }

    .lightbox-actions {
      margin-top: 28px;
      display: flex;
      gap: 12px;
      flex-wrap: wrap;
    }

    /* ─── ALERT ─── */
    .custom-alert {
      display: none;
      position: fixed;
      inset: 0;
      z-index: 900;
      align-items: center;
      justify-content: center;
    }

    .custom-alert.show {
      display: flex;
    }

    .custom-alert-backdrop {
      position: absolute;
      inset: 0;
      background: rgba(7, 9, 14, .85);
      backdrop-filter: blur(16px);
    }

    .custom-alert-content {
      position: relative;
      z-index: 1;
      text-align: center;
      background: var(--surface);
      border: 1px solid var(--border);
      border-radius: 14px;
      padding: 48px 44px;
      max-width: 420px;
      width: 90%;
    }

    .custom-alert-icon {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      background: rgba(0, 229, 160, .15);
      border: 1px solid rgba(0, 229, 160, .3);
      font-size: 24px;
      color: var(--accent);
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto 20px;
    }

    .custom-alert-title {
      font-family: var(--en), var(--th);
      font-size: 22px;
      font-weight: 800;
      letter-spacing: -.5px;
      margin-bottom: 12px;
    }

    .custom-alert-message {
      font-size: 15px;
      color: var(--muted);
      line-height: 1.7;
      margin-bottom: 28px;
    }

    .custom-alert-content button {
      padding: 13px 32px;
      background: var(--accent);
      border: none;
      border-radius: 6px;
      color: var(--black);
      font-family: var(--en), var(--th);
      font-size: 14px;
      font-weight: 700;
      cursor: none;
      transition: background .2s;
    }

    .custom-alert-content button:hover {
      background: #00f5b0;
    }

    /* ─── PROCESS ─── */
    .process-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 80px;
      align-items: start;
    }

    .process-steps {
      display: flex;
      flex-direction: column;
    }

    .p-step {
      padding: 32px 0;
      border-bottom: 1px solid var(--border);
      display: grid;
      grid-template-columns: 44px 1fr;
      gap: 20px;
      cursor: none;
      transition: padding-left .25s;
    }

    @media (hover: hover) {
      .p-step:hover {
        padding-left: 10px;
      }
    }

    .p-step:last-child {
      border-bottom: none;
    }

    .p-num {
      font-family: var(--mono);
      font-size: 11px;
      color: var(--accent);
      letter-spacing: .1em;
      padding-top: 4px;
    }

    .p-title {
      font-family: var(--en), var(--th);
      font-size: 20px;
      font-weight: 700;
      letter-spacing: -.3px;
      margin-bottom: 10px;
    }

    .p-desc {
      font-size: 13.5px;
      line-height: 1.85;
      color: var(--muted);
    }

    .process-visual {
      position: sticky;
      top: 120px;
    }

    .p-card {
      border: 1px solid var(--border);
      border-radius: 12px;
      background: rgba(244, 242, 238, .03);
      backdrop-filter: blur(12px);
      padding: 36px;
    }

    .p-terminal {
      background: #0b0d12;
      border-radius: 8px;
      padding: 22px;
      font-family: var(--mono);
      font-size: 12.5px;
      line-height: 2.1;
      margin: 18px 0;
      border: 1px solid var(--border);
    }

    .t-bar {
      display: flex;
      gap: 7px;
      margin-bottom: 16px;
    }

    .td {
      width: 10px;
      height: 10px;
      border-radius: 50%;
    }

    .t-blink {
      display: inline-block;
      width: 7px;
      height: 2px;
      background: var(--accent);
      animation: blink 1.1s infinite;
      vertical-align: middle;
    }

    @keyframes blink {

      0%,
      100% {
        opacity: 1
      }

      50% {
        opacity: 0
      }
    }

    .p-kpis {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 12px;
    }

    .p-kpi {
      padding: 14px 16px;
      border: 1px solid var(--border);
      border-radius: 6px;
    }

    .p-kpi-v {
      font-family: var(--en), var(--th);
      font-size: 22px;
      font-weight: 800;
      color: var(--accent);
    }

    .p-kpi-l {
      font-family: var(--mono);
      font-size: 10px;
      color: var(--muted);
      letter-spacing: .08em;
      text-transform: uppercase;
      margin-top: 2px;
    }

    /* ─── PREVENT OVERFLOW GLOBALLY ─── */
    html,
    body {
      max-width: 100%;
      overflow-x: hidden;
    }

    /* ─── TABLET (max 900px) ─── */
    @media (max-width: 900px) {
      .container {
        padding: 0 20px;
        width: 100%;
        max-width: 100%;
      }

      .section-pad {
        padding: 80px 0;
      }

      /* ── Navbar ── */
      .navbar {
        padding: 0 20px;
      }

      .navbar-menu {
        display: none;
        position: fixed;
        inset: 0;
        top: 64px;
        background: rgba(7, 9, 14, .97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 36px;
        z-index: 400;
      }

      .navbar-menu.active {
        display: flex;
      }

      .navbar-menu a {
        font-size: 20px;
      }

      .navbar-toggle {
        display: flex;
        z-index: 500;
      }

      .navbar-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
      }

      .navbar-toggle.active span:nth-child(2) {
        opacity: 0;
      }

      .navbar-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
      }

      .navbar-lang-mobile {
        display: block;
      }

      #langToggle {
        display: none;
      }

      /* ── Hero ── */
      .hero {
        padding: 110px 20px 60px;
        min-height: 100svh;
        height: auto;
        justify-content: center;
      }

      .hero-eyebrow {
        font-size: clamp(8px, 2vw, 11px);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
      }

      .hero-title {
        font-size: clamp(36px, 9vw, 72px);
        line-height: 1.0;
        letter-spacing: -1px;
        margin-bottom: 28px;
      }

      .hero-desc {
        font-size: clamp(14px, 3.5vw, 16px);
        line-height: 1.7;
      }

      .hero-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
        width: 100%;
      }

      .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
      }

      .hero-btns .btn {
        width: 100%;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 16px 24px;
      }

      .hero-scroll {
        right: 20px;
        bottom: 24px;
      }

      /* ── About ── */
      .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
      }

      .stats-box {
        grid-template-columns: repeat(2, 1fr);
      }

      /* ── Services ── */
      .svc-grid {
        grid-template-columns: 1fr;
      }

      .svc-card {
        border-right: none !important;
        padding: 28px 20px;
      }

      .svc-card:nth-child(3) {
        border-bottom: 1px solid var(--border) !important;
      }

      /* ── Works ── */
      .works-grid {
        grid-template-columns: 1fr;
        gap: 20px;
      }

      /* ── Process ── */
      .process-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        width: 100%;
      }

      .p-step {
        grid-template-columns: 28px 1fr;
        gap: 12px;
        padding: 24px 0;
      }

      .p-title {
        font-size: 17px;
      }

      .p-desc {
        font-size: 13px;
        overflow-wrap: break-word;
        word-break: break-word;
      }

      .p-card {
        padding: 24px 20px;
      }

      .p-terminal {
        font-size: 11px;
        padding: 16px;
      }

      .p-kpis {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
      }

      .p-kpi {
        padding: 10px 8px;
      }

      .p-kpi-v {
        font-size: 18px;
      }

      .process-visual {
        position: static;
      }

      /* ── Contact ── */
      .contact-wrap {
        grid-template-columns: 1fr;
        gap: 40px;
      }

      .contact-form input,
      .contact-form textarea {
        font-size: 16px;
        /* prevents iOS zoom on focus */
      }

      /* ── Footer ── */
      .footer-inner {
        flex-direction: column;
        gap: 16px;
        text-align: center;
      }

      /* ── Section headers ── */
      .s-title {
        font-size: clamp(28px, 7vw, 48px);
        letter-spacing: -0.5px;
      }

      .s-sub {
        font-size: 14px;
      }
    }

    /* ─── SMALL PHONES (max 480px) ─── */
    @media (max-width: 480px) {
      .container {
        padding: 0 16px;
      }

      /* Navbar */
      .navbar {
        padding: 0 16px;
      }

      /* Hero */
      .hero {
        padding: 100px 16px 50px;
      }

      .hero-eyebrow {
        font-size: 8px;
        letter-spacing: .12em;
      }

      .hero-title {
        font-size: clamp(32px, 10vw, 48px);
        margin-bottom: 20px;
      }

      .hero-desc {
        font-size: 14px;
      }

      .hero-btns .btn {
        padding: 14px 20px;
        font-size: 13px;
      }

      /* Stats */
      .stats-box {
        grid-template-columns: repeat(2, 1fr);
        gap: 1px;
      }

      .stat-n {
        font-size: 32px;
      }

      /* Services */
      .svc-name {
        font-size: 18px;
      }

      .svc-card {
        padding: 24px 16px;
      }

      /* Process */
      .p-step {
        grid-template-columns: 24px 1fr;
        gap: 10px;
      }

      .p-kpis {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
      }

      .p-kpi {
        padding: 8px 6px;
      }

      .p-kpi-v {
        font-size: 15px;
      }

      .p-kpi-l {
        font-size: 8px;
      }

      .p-card {
        padding: 20px 16px;
      }

      .p-terminal {
        font-size: 10px;
        padding: 12px;
        line-height: 1.8;
      }

      /* Contact */
      .contact-wrap {
        gap: 32px;
      }

      /* works */
      .work-image {
        height: 200px;
      }

      /* Lightbox */
      .lightbox-content {
        width: 95vw;
        max-height: 92vh;
      }

      .lightbox-body {
        padding: 24px 20px 32px;
      }

      .lightbox-title {
        font-size: 20px;
      }
    }

    /* ─── VERY SMALL (max 360px) ─── */
    @media (max-width: 360px) {
      .hero-title {
        font-size: 28px;
        letter-spacing: -0.5px;
      }

      .hero-eyebrow {
        font-size: 7px;
      }

      .hero-btns .btn {
        font-size: 12px;
        padding: 12px 16px;
      }

      .stats-box {
        grid-template-columns: 1fr 1fr;
      }

      .stat-n {
        font-size: 28px;
      }
    }