:root {
      --blue: #3B57E8;
      --blue-deep: #2E45C4;
      --blue-soft: #8FA3FF;
      --ink: #0F1013;
      --paper: #F7F8FB;
      --grey: #6B6F76;
      --line: rgba(15,16,19,.08);
      --white: #FFFFFF;
    }
    * { margin: 0; padding: 0; box-sizing: border-box; }
    html { scroll-behavior: smooth; }
    body {
      font-family: "Kanit", sans-serif;
      background: var(--paper);
      color: var(--ink);
    }
    ::selection { background: var(--blue); color: var(--white); }
    .mono { font-family: "Space Mono", monospace; }

    /* ---------- Hero ---------- */
    .hero {
      position: relative;
      /* Cap the height so tall screens don't open a void under the nav. */
      min-height: min(100svh, 760px);
      background: var(--blue);
      color: var(--white);
      display: flex;
      flex-direction: column;
      overflow: hidden;
    }
    .hero-inner {
      position: relative;
      z-index: 2;
      max-width: 1120px;
      width: 100%;
      margin: 0 auto;
      padding: 32px 32px 56px;
      display: flex;
      flex-direction: column;
      flex: 1;
    }
    .nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
    }
    .nav img { height: 64px; width: auto; }
    .nav-links {
      display: flex;
      align-items: center;
      gap: 26px;
      font-family: "Space Mono", monospace;
      font-size: 13px;
      letter-spacing: 1px;
    }
    .nav-links a { color: rgba(255,255,255,.8); text-decoration: none; }
    .nav-links a:hover, .nav-links a:focus-visible { color: var(--white); }
    .nav-links a.cta {
      color: var(--white);
      border: 2px solid rgba(255,255,255,.5);
      padding: 10px 18px;
      transition: background .2s, border-color .2s;
    }
    .nav-links a.cta:hover { background: rgba(255,255,255,.15); border-color: var(--white); }
    .lang { display: flex; align-items: center; gap: 7px; color: rgba(255,255,255,.45); }
    .lang button {
      appearance: none;
      background: none;
      border: 0;
      padding: 4px 2px;
      cursor: pointer;
      font: inherit;
      letter-spacing: 1px;
      color: rgba(255,255,255,.55);
      border-bottom: 2px solid transparent;
      transition: color .2s, border-color .2s;
    }
    .lang button:hover { color: var(--white); }
    .lang button[aria-pressed="true"] { color: var(--white); border-bottom-color: var(--white); }
    /* Hamburger: below 860px the links collapse into a panel under the bar. */
    .nav-toggle {
      display: none;
      appearance: none;
      background: none;
      border: 2px solid rgba(255,255,255,.5);
      cursor: pointer;
      width: 46px;
      height: 42px;
      position: relative;
      transition: background .2s, border-color .2s;
    }
    .nav-toggle:hover { background: rgba(255,255,255,.14); border-color: var(--white); }
    .nav-toggle-bars,
    .nav-toggle-bars::before,
    .nav-toggle-bars::after {
      position: absolute;
      left: 50%;
      width: 20px;
      height: 2px;
      background: var(--white);
      transform: translateX(-50%);
      transition: transform .25s, opacity .2s;
    }
    .nav-toggle-bars { top: 50%; margin-top: -1px; }
    .nav-toggle-bars::before { content: ""; top: -7px; }
    .nav-toggle-bars::after { content: ""; top: 7px; }
    .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
    .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { top: 0; transform: translateX(-50%) rotate(45deg); }
    .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { top: 0; transform: translateX(-50%) rotate(-45deg); }

    @media (max-width: 860px) {
      .nav { position: relative; }
      .nav-toggle { display: block; }
      .nav-links {
        display: none;
        position: absolute;
        top: calc(100% + 16px);
        left: 0;
        right: 0;
        z-index: 40;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px;
        background: var(--blue-deep);
        border: 1px solid rgba(255,255,255,.28);
        box-shadow: 0 24px 48px -20px rgba(0,0,0,.45);
      }
      .nav-links.open { display: flex; }
      .nav-links a {
        padding: 15px 12px;
        color: var(--white);
        border-bottom: 1px solid rgba(255,255,255,.12);
      }
      .nav-links a.cta {
        margin-top: 10px;
        border: 0;
        background: var(--white);
        color: var(--blue);
        text-align: center;
        font-weight: 700;
      }
      .nav-links a.cta:hover { background: var(--white); }
      .lang { justify-content: center; padding: 14px 0 4px; }
    }

    .hero-copy { margin: auto 0; padding-top: 40px; }
    .hero-copy h1 {
      font-size: clamp(40px, 7vw, 84px);
      font-weight: 700;
      line-height: 1.12;
      text-wrap: balance;
    }
    .hero-copy .en-line {
      font-family: "Space Mono", monospace;
      font-size: clamp(12px, 1.6vw, 17px);
      letter-spacing: 2px;
      opacity: .75;
      margin-top: 18px;
    }
    /* Space Mono has no Thai glyphs, so the mirrored Thai line uses Kanit. */
    .hero-copy .en-line .th-line {
      font-family: "Kanit", sans-serif;
      font-weight: 300;
      font-size: 1.25em;
      letter-spacing: 0;
    }
    .hero-copy .sub {
      max-width: 560px;
      font-weight: 300;
      font-size: 17px;
      line-height: 1.8;
      margin-top: 18px;
      color: rgba(255,255,255,.88);
    }
    .hero-cta {
      margin-top: 36px;
      display: flex;
      gap: 16px;
      flex-wrap: wrap;
      align-items: center;
    }
    .btn {
      display: inline-block;
      font-family: "Kanit", sans-serif;
      font-weight: 600;
      font-size: 18px;
      text-decoration: none;
      padding: 14px 30px;
      transition: transform .15s, background .2s, color .2s;
    }
    .btn-primary { background: var(--white); color: var(--blue); }
    .btn-primary:hover { transform: translateY(-2px); }
    .btn-ghost { color: var(--white); border: 2px solid rgba(255,255,255,.55); }
    .btn-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.12); }
    .hero-stats {
      display: flex;
      gap: 48px;
      flex-wrap: wrap;
      margin-top: 40px;
      padding-top: 22px;
      border-top: 1px solid rgba(255,255,255,.25);
    }
    .hero-stats .v { font-size: 28px; font-weight: 700; }
    .hero-stats .k {
      font-family: "Space Mono", monospace;
      font-size: 12px;
      letter-spacing: 2px;
      opacity: .65;
      margin-top: 4px;
    }
    .tilt { position: absolute; z-index: 1; pointer-events: none; }
    .tilt svg { display: block; width: 100%; height: 100%; }
    .tilt-1 { width: 340px; height: 340px; right: -70px; bottom: -70px; }
    .tilt-2 { width: 150px; height: 150px; right: 260px; bottom: 180px; opacity: .3; }
    .tilt-3 { width: 110px; height: 110px; right: -20px; top: 60px; opacity: .18; }
    /* On a phone the large marks drift over the buttons and stats, so shrink
       them and push them clear of the copy. */
    @media (max-width: 640px) {
      /* White marks sitting behind white stats erase them, and there is no
         clear corner left on a phone, so keep only the small top-right one. */
      .tilt-1, .tilt-2 { display: none; }
      .tilt-3 { width: 76px; height: 76px; right: -16px; top: 92px; opacity: .2; }
    }

    /* ---------- Funnel strip ---------- */
    .funnel {
      background: var(--ink);
      color: var(--white);
      text-align: center;
      padding: 22px 16px;
      font-family: "Space Mono", monospace;
      letter-spacing: 3px;
      font-size: clamp(11px, 1.8vw, 15px);
    }
    .funnel span { opacity: .55; margin: 0 10px; }

    /* ---------- Shared section bits ---------- */
    .section {
      max-width: 1120px;
      margin: 0 auto;
      padding: 76px 32px;
    }
    .eyebrow {
      font-family: "Space Mono", monospace;
      font-size: 14px;
      letter-spacing: 4px;
      color: var(--blue);
      margin-bottom: 14px;
    }
    h2 {
      font-size: clamp(30px, 4.5vw, 46px);
      font-weight: 700;
      line-height: 1.18;
      text-wrap: balance;
    }
    .section-note { color: var(--grey); font-weight: 300; margin-top: 12px; }

    /* ---------- Work / Immersive showcase ---------- */
    .showcase { background: var(--ink); color: var(--white); }
    .showcase h2 { color: var(--white); }
    .showcase .section-note { color: rgba(255,255,255,.6); }
    .reel { display: flex; flex-direction: column; gap: 30px; margin-top: 48px; }
    .reel-item {
      position: relative;
      isolation: isolate;
      overflow: hidden;
      background: #07080A;
    }
    /* The key art sits in its own 16:9 block with nothing laid over it, so the
       whole cover stays bright. The copy lives underneath instead. */
    @keyframes reel-sheen {
      from { transform: translateX(-130%) skewX(-14deg); }
      to   { transform: translateX(130%) skewX(-14deg); }
    }
    .reel-art {
      position: relative;
      width: 100%;
      aspect-ratio: 16 / 9;
      background-size: cover;
      background-position: center;
      filter: saturate(1.12) brightness(1.06);
      transform: scale(1);
      transition: transform 1s cubic-bezier(.2,.8,.2,1), filter .5s;
    }
    .reel-item:hover .reel-art { transform: scale(1.03); filter: saturate(1.25) brightness(1.14); }
    .reel-item.stone .reel-art { background-image: url("/assets/games/the-stone.jpg"); }
    .reel-item.godskin .reel-art { background-image: url("/assets/games/god-skin.jpg"); }
    .reel-art::after {
      content: "";
      position: absolute;
      top: 0;
      bottom: 0;
      left: 0;
      width: 34%;
      pointer-events: none;
      opacity: 0;
      background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent);
    }
    .reel-item:hover .reel-art::after { opacity: 1; animation: reel-sheen 1.1s ease-out; }
    .reel-scrim, .reel-glow { display: none; }
    .reel-meta {
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      padding: 18px clamp(24px,3.6vw,52px) 0;
      font-family: "Space Mono", monospace;
      font-size: 12px;
      letter-spacing: 2px;
      color: rgba(255,255,255,.5);
    }
    .reel-body {
      padding: 22px clamp(24px,3.6vw,52px) clamp(32px,3.6vw,44px);
      max-width: 860px;
    }
    .reel-badge {
      display: inline-block;
      border: 1px solid rgba(255,255,255,.28);
      background: rgba(255,255,255,.06);
      padding: 7px 16px;
      font-family: "Space Mono", monospace;
      font-size: 12px;
      letter-spacing: 1.6px;
      margin-bottom: 18px;
    }
    .reel-body h3 {
      font-size: clamp(36px, 5vw, 64px);
      font-weight: 800;
      line-height: 1.04;
      letter-spacing: -2px;
    }
    .reel-sub {
      font-size: clamp(19px, 2.2vw, 28px);
      font-weight: 300;
      line-height: 1.25;
      margin-top: 4px;
    }
    .reel-item.stone .reel-sub { color: #F0C97A; }
    .reel-item.godskin .reel-sub { color: #FF9E8A; }
    .reel-desc {
      font-weight: 300;
      font-size: 16px;
      line-height: 1.8;
      color: rgba(255,255,255,.72);
      max-width: 620px;
      margin-top: 16px;
    }
    .reel-stats {
      display: grid;
      grid-auto-flow: column;
      grid-template-rows: auto auto;
      justify-content: start;
      align-items: baseline;
      column-gap: 34px;
      row-gap: 5px;
      margin-top: 24px;
      padding-top: 20px;
      border-top: 1px solid rgba(255,255,255,.18);
    }
    .reel-stats > div { display: contents; }
    .reel-stats .v { font-size: 24px; font-weight: 700; line-height: 1.2; font-variant-numeric: tabular-nums; }
    .reel-stats .v.long { font-size: 17px; white-space: nowrap; }
    .reel-stats .k {
      font-family: "Space Mono", monospace;
      font-size: 11px;
      letter-spacing: 1.6px;
      color: rgba(255,255,255,.5);
    }
    .reel-cta {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      margin-top: 26px;
      background: var(--white);
      color: var(--ink);
      font-weight: 600;
      font-size: 16px;
      text-decoration: none;
      padding: 13px 26px;
      transition: transform .15s, background .2s, color .2s;
    }
    .reel-cta::after { content: "↗"; font-family: "Space Mono", monospace; }
    .reel-cta:hover { transform: translateY(-2px); background: var(--blue); color: var(--white); }
    /* Too narrow for four columns: fold into 2x2. Cells stretch to equal height
       and each label is pushed to the bottom, so labels still share a line. */
    @media (max-width: 860px) {
      .reel-stats {
        grid-auto-flow: row;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: none;
        align-items: stretch;
        row-gap: 20px;
      }
      .reel-stats > div { display: flex; flex-direction: column; }
      .reel-stats .k { margin-top: auto; padding-top: 5px; }
      .reel-stats .v.long { font-size: 20px; white-space: normal; }
    }
    @media (max-width: 720px) {
      .reel-stats { column-gap: 26px; }
    }
    /* Two columns get too cramped to hold a value like "Battlegrounds &
       Fighting" on one line, so stack the stats instead. */
    @media (max-width: 560px) {
      .reel-stats { grid-template-columns: 1fr; row-gap: 16px; }
      .reel-stats > div { display: block; }
      .reel-stats .k { margin-top: 0; padding-top: 3px; }
      .reel-stats .v.long { font-size: 22px; }
    }

    /* ---------- Clients ---------- */
    .clients { background: var(--paper); border-bottom: 1px solid var(--line); }
    .client-list { margin-top: 40px; }
    .client {
      display: grid;
      grid-template-columns: 180px 1fr;
      gap: 40px;
      align-items: center;
      background: var(--white);
      border: 1px solid var(--line);
      padding: 36px 40px;
      max-width: 780px;
    }
    .client img { width: 100%; height: auto; display: block; }
    .client h3 { font-size: 24px; font-weight: 700; }
    .client .kind {
      font-family: "Space Mono", monospace;
      font-size: 12px;
      letter-spacing: 2px;
      color: var(--blue);
      margin-top: 6px;
    }
    .client p { font-weight: 300; color: var(--grey); line-height: 1.75; margin-top: 12px; }
    @media (max-width: 620px) {
      .client { grid-template-columns: 1fr; gap: 24px; padding: 28px 24px; text-align: center; }
      .client img { max-width: 150px; margin: 0 auto; }
    }

    /* ---------- Services ---------- */
    .services { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
    .cards {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 24px;
      margin-top: 48px;
    }
    .card {
      background: var(--paper);
      border: 1px solid var(--line);
      padding: 36px 32px;
    }
    .card .num {
      font-family: "Space Mono", monospace;
      color: var(--blue);
      font-size: 14px;
      letter-spacing: 2px;
    }
    .card h3 { font-size: 24px; font-weight: 600; margin: 14px 0 10px; }
    .card p { font-weight: 300; color: var(--grey); line-height: 1.7; }

    /* ---------- Why (dark) ---------- */
    .why { background: var(--ink); color: var(--white); }
    .why h2 { color: var(--white); }
    .why-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 20px;
      margin-top: 48px;
    }
    .why-card {
      border: 1px solid rgba(255,255,255,.14);
      padding: 28px 26px;
    }
    .why-card .ico {
      font-family: "Space Mono", monospace;
      color: var(--blue-soft);
      font-size: 18px;
      margin-bottom: 14px;
    }
    .why-card h3 { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
    .why-card p { font-weight: 300; color: rgba(255,255,255,.62); font-size: 14.5px; line-height: 1.75; }

    /* ---------- Process ---------- */
    .steps {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 20px;
      margin-top: 48px;
    }
    .step {
      background: var(--white);
      border: 1px solid var(--line);
      padding: 30px 28px;
    }
    .step .no {
      font-family: "Space Mono", monospace;
      font-size: 30px;
      color: var(--blue);
      margin-bottom: 16px;
    }
    .step h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
    .step p { font-weight: 300; color: var(--grey); font-size: 14px; line-height: 1.7; }

    /* ---------- Pricing ---------- */
    .pricing { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
    .tiers {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 24px;
      margin-top: 48px;
      align-items: stretch;
    }
    .tier {
      position: relative;
      background: var(--paper);
      border: 1px solid var(--line);
      padding: 38px 32px;
      display: flex;
      flex-direction: column;
    }
    .tier.hot { border: 2px solid var(--blue); background: var(--white); }
    .tier .hot-chip {
      position: absolute;
      top: -13px; left: 50%;
      transform: translateX(-50%);
      background: var(--blue);
      color: var(--white);
      font-family: "Space Mono", monospace;
      font-size: 11px;
      letter-spacing: 2px;
      padding: 5px 16px;
    }
    .tier h3 { font-size: 22px; font-weight: 600; }
    .tier .for { color: var(--grey); font-weight: 300; font-size: 14px; margin: 4px 0 20px; }
    .tier .price { font-size: 20px; font-weight: 700; color: var(--grey); }
    .tier .price-note {
      font-family: "Space Mono", monospace;
      font-size: 12px;
      letter-spacing: 1px;
      color: var(--grey);
      margin: 4px 0 24px;
    }
    /* the spec rows carry the facts a client compares on: how long, how many
       revision rounds, how long bugs are covered */
    .tier-kind {
      font-weight: 300;
      font-size: 13.5px;
      line-height: 1.65;
      color: var(--grey);
      border-top: 1px solid var(--line);
      padding-top: 16px;
      margin-top: 4px;
    }
    .tier-spec { display: flex; flex-direction: column; gap: 9px; margin: 18px 0 20px; }
    .tier-spec div { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
    .tier-spec dt, .tier-spec .lab {
      font-family: "Space Mono", monospace;
      font-size: 11.5px;
      letter-spacing: 1.4px;
      color: var(--grey);
    }
    .tier-spec .val { font-weight: 600; font-size: 14.5px; text-align: right; }
    .tier ul { list-style: none; display: flex; flex-direction: column; gap: 11px; flex: 1; }
    .tier li { display: flex; gap: 10px; font-weight: 300; font-size: 14.5px; line-height: 1.55; }
    .tier li::before { content: "✓"; color: var(--blue); font-weight: 600; }
    .tier a {
      margin-top: 28px;
      text-align: center;
      text-decoration: none;
      font-weight: 600;
      font-size: 16px;
      padding: 13px;
      border: 2px solid var(--ink);
      color: var(--ink);
      transition: background .2s, color .2s;
    }
    .tier a:hover { background: var(--ink); color: var(--white); }
    .tier.hot a { background: var(--blue); border-color: var(--blue); color: var(--white); }
    .tier.hot a:hover { background: var(--blue-deep); border-color: var(--blue-deep); }

    /* ---------- FAQ ---------- */
    .faq-wrap { max-width: 780px; margin: 0 auto; padding: 76px 32px; }
    .faq-wrap h2 { text-align: center; }
    .faq-wrap .eyebrow { text-align: center; }
    .faq-list { margin-top: 44px; }
    details { border-bottom: 1px solid var(--line); }
    summary {
      list-style: none;
      cursor: pointer;
      display: flex;
      justify-content: space-between;
      align-items: center;
      gap: 16px;
      padding: 22px 4px;
      font-weight: 500;
      font-size: 17px;
    }
    summary::-webkit-details-marker { display: none; }
    summary::after { content: "+"; color: var(--blue); font-size: 22px; font-weight: 300; }
    details[open] summary::after { content: "−"; }
    details p {
      padding: 0 4px 24px;
      font-weight: 300;
      color: var(--grey);
      line-height: 1.8;
      font-size: 15px;
      max-width: 640px;
    }

    /* ---------- Team ---------- */
    .team { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
    .team-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
      gap: 28px;
      margin-top: 48px;
    }
    .member { display: flex; flex-direction: column; }
    .member .portrait {
      aspect-ratio: 1;
      width: 100%;
      object-fit: cover;
      display: block;
      background: var(--blue);
      transition: transform .35s cubic-bezier(.2,.8,.2,1);
    }
    .member { overflow: hidden; }
    /* the live PNG arrives on transparency with its own margins, so it is
       scaled and anchored to sit like the committed portrait */
    .member .portrait.is-live {
      object-fit: contain;
      object-position: center bottom;
      transform: scale(1.12);
      transform-origin: center bottom;
    }
    .member:hover .portrait.is-live { transform: scale(1.16); }
    .member:hover .portrait { transform: scale(1.04); }
    /* the in-game handle sits on the portrait like a player nameplate */
    .portrait-wrap { position: relative; overflow: hidden; }
    .rbx-tag {
      position: absolute;
      top: 14px;
      left: 14px;
      font-family: "Space Mono", monospace;
      font-size: 11.5px;
      letter-spacing: 1px;
      color: var(--white);
      text-decoration: none;
      background: rgba(7,8,10,.55);
      backdrop-filter: blur(6px);
      border: 1px solid rgba(255,255,255,.22);
      padding: 6px 11px;
      transition: background .2s, border-color .2s;
    }
    .rbx-tag:hover { background: rgba(7,8,10,.8); border-color: var(--white); }
    .member h3 { font-size: 22px; font-weight: 700; margin-top: 18px; }
    .member .role {
      font-family: "Space Mono", monospace;
      font-size: 13px;
      letter-spacing: 2px;
      color: var(--blue);
      margin-top: 6px;
    }
    .member p { font-weight: 300; color: var(--grey); font-size: 14.5px; line-height: 1.7; margin-top: 10px; }

    /* ---------- Contact form ---------- */
    .form { display: flex; flex-direction: column; gap: 16px; }
    .form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    @media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
    .field { display: flex; flex-direction: column; gap: 7px; }
    .field label {
      font-family: "Space Mono", monospace;
      font-size: 12px;
      letter-spacing: 2px;
      color: rgba(255,255,255,.65);
    }
    .field input, .field textarea {
      font-family: "Kanit", sans-serif;
      font-weight: 300;
      font-size: 16px;
      color: var(--white);
      background: rgba(255,255,255,.06);
      border: 1px solid rgba(255,255,255,.22);
      padding: 13px 15px;
      outline: none;
      transition: border-color .2s, background .2s;
    }
    .field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,.35); }
    .field input:focus, .field textarea:focus { border-color: var(--blue-soft); background: rgba(255,255,255,.1); }
    .field textarea { resize: vertical; min-height: 130px; line-height: 1.7; }
    .form .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
    .form button {
      appearance: none;
      border: 0;
      background: var(--white);
      color: var(--blue);
      font-family: "Kanit", sans-serif;
      font-weight: 700;
      font-size: 17px;
      padding: 15px;
      cursor: pointer;
      transition: transform .15s, background .2s, color .2s;
    }
    .form button:hover:not(:disabled) { transform: translateY(-2px); }
    .form button:disabled { opacity: .6; cursor: default; }
    .form-note { font-size: 14px; font-weight: 300; line-height: 1.7; min-height: 22px; }
    .form-note.ok { color: #7BE39B; }
    .form-note.err { color: #FF9E8A; }

    /* ---------- Contact ---------- */
    .contact { background: var(--ink); color: var(--white); }
    .contact h2 { color: var(--white); }
    .contact-grid {
      display: grid;
      grid-template-columns: 1.35fr 1fr;
      gap: 56px;
      margin-top: 48px;
      align-items: start;
    }
    @media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; gap: 36px; } }
    .person h3 { font-size: 26px; font-weight: 700; }
    .person .role {
      font-family: "Space Mono", monospace;
      font-size: 13px;
      letter-spacing: 2px;
      color: var(--blue-soft);
      margin: 6px 0 12px;
    }
    .person a { color: var(--white); text-decoration: none; font-size: 22px; font-weight: 500; }
    .person a:hover { text-decoration: underline; }
    .channels { display: flex; flex-direction: column; gap: 14px; }
    .channel {
      display: flex;
      align-items: center;
      gap: 16px;
      border: 1px solid rgba(255,255,255,.16);
      padding: 16px 20px;
      color: var(--white);
      text-decoration: none;
      transition: border-color .2s, background .2s;
    }
    .channel:hover { border-color: var(--blue-soft); background: rgba(255,255,255,.05); }
    .channel .ico {
      width: 40px; height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: var(--blue);
      font-weight: 700;
      font-size: 16px;
      flex: none;
    }
    .channel .label { font-weight: 500; font-size: 15px; }
    .channel .val { font-family: "Space Mono", monospace; font-size: 13px; color: rgba(255,255,255,.6); margin-top: 2px; }
    .contact .promise,
    .apply .promise {
      margin-top: 14px;
      font-weight: 300;
      color: rgba(255,255,255,.65);
      line-height: 1.8;
      max-width: 520px;
    }

    footer {
      background: var(--ink);
      color: rgba(255,255,255,.55);
      border-top: 1px solid rgba(255,255,255,.12);
      padding: 28px 32px;
      display: flex;
      justify-content: space-between;
      gap: 12px;
      flex-wrap: wrap;
      font-family: "Space Mono", monospace;
      font-size: 12px;
      letter-spacing: 1.5px;
    }
    footer a { color: var(--white); text-decoration: none; }
    .foot-links { display: flex; gap: 26px; flex-wrap: wrap; }
    .foot-links a:hover { text-decoration: underline; }
    footer .disclaimer { width: 100%; opacity: .55; letter-spacing: .5px; font-family: "Kanit", sans-serif; font-weight: 300; }
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      .btn, .nav-links a, .tier a, .channel, .reel-art, .reel-cta { transition: none; }
      .reel-item:hover .reel-art { transform: scale(1); }
      .reel-item:hover .reel-art::after { animation: none; opacity: 0; }
    }

/* ---------- Careers ---------- */
.careers-cta { background: var(--blue); color: var(--white); }
.careers-cta h2 { color: var(--white); }
.careers-cta .eyebrow { color: rgba(255,255,255,.7); }
.careers-cta p { font-weight: 300; line-height: 1.8; margin-top: 14px; max-width: 560px; color: rgba(255,255,255,.9); }
.careers-cta .btn { margin-top: 30px; }

/* careers page */
.page-head { background: var(--blue); color: var(--white); position: relative; overflow: hidden; }
.page-head .section { position: relative; z-index: 2; padding-top: 40px; padding-bottom: 76px; }
.page-nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 64px; }
.page-nav img { height: 60px; width: auto; }
.page-head h1 { font-size: clamp(36px, 6vw, 68px); font-weight: 700; line-height: 1.14; text-wrap: balance; }
.page-head .lead { font-weight: 300; font-size: 17px; line-height: 1.8; margin-top: 18px; max-width: 560px; color: rgba(255,255,255,.9); }
.back-link {
  font-family: "Space Mono", monospace;
  font-size: 13px;
  letter-spacing: 1px;
  color: rgba(255,255,255,.8);
  text-decoration: none;
  border: 2px solid rgba(255,255,255,.5);
  padding: 10px 18px;
  transition: background .2s, border-color .2s;
}
.back-link:hover { background: rgba(255,255,255,.15); border-color: var(--white); }
.roles { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.roles span {
  font-family: "Space Mono", monospace;
  font-size: 13px;
  letter-spacing: 1px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  padding: 9px 16px;
}
.apply { background: var(--ink); color: var(--white); }
.apply h2 { color: var(--white); }
.apply .section { max-width: 720px; }

/* Cloudflare renders the bot check at a fixed size, so it only needs spacing. */
.cf-turnstile { margin: 4px 0 18px; }
